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
657 ENABLE_DARWIN_AT_RPATH_FALSE
658 ENABLE_DARWIN_AT_RPATH_TRUE
684 LIBGOMP_CHECKED_REAL_KINDS
685 LIBGOMP_CHECKED_INT_KINDS
686 LIBGFOR_MINIMAL_FALSE
688 LIBGFOR_USE_SYMVER_SUN_FALSE
689 LIBGFOR_USE_SYMVER_SUN_TRUE
690 LIBGFOR_USE_SYMVER_GNU_FALSE
691 LIBGFOR_USE_SYMVER_GNU_TRUE
692 LIBGFOR_USE_SYMVER_FALSE
693 LIBGFOR_USE_SYMVER_TRUE
722 MAINTAINER_MODE_FALSE
736 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
810 enable_version_specific_runtime_libs
812 enable_maintainer_mode
814 enable_dependency_tracking
824 enable_darwin_at_rpath
826 enable_libquadmath_support
827 with_gcc_major_version_only
829 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error $?
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error $?
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error $?
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $?
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1303 test "$silent" = yes && exec 6>/dev
/null
1306 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di
=`ls -di .` &&
1308 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $?
"working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $?
"pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted
=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir
=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted
=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1350 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var
in $ac_precious_vars; do
1367 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1369 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1443 --build=BUILD configure
for building on BUILD
[guessed
]
1444 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1445 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1449 if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1456 --disable-option-checking ignore unrecognized
--enable/--with options
1457 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1458 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1459 --enable-version-specific-runtime-libs
1460 specify that runtime libraries should be installed
1461 in a compiler-specific directory
1462 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1463 --disable-silent-rules verbose build output
(undo
: "make V=0")
1464 --enable-maintainer-mode
1465 enable make rules and dependencies not useful
(and
1466 sometimes confusing
) to the casual installer
1467 --enable-multilib build many library versions
(default
)
1468 --enable-dependency-tracking
1469 do not reject slow dependency extractors
1470 --disable-dependency-tracking
1471 speeds up one-time build
1472 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1473 --disable-symvers disable symbol versioning
for libgfortran
1474 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1475 --enable-static[=PKGS
] build static libraries
[default
=yes]
1476 --enable-fast-install[=PKGS
]
1477 optimize
for fast installation
[default
=yes]
1478 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1479 --enable-darwin-at-rpath
1480 install libraries with @rpath
/library-name
, requires
1481 rpaths to be added to executables
1482 --disable-largefile omit support
for large files
1483 --disable-libquadmath-support
1484 disable libquadmath support
for Fortran
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1490 --with-toolexeclibdir=DIR
1491 install libraries built with a cross compiler within
1493 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1494 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1496 --with-gcc-major-version-only
1497 use only GCC major number
in filesystem paths
1499 Some influential environment variables
:
1500 CC C compiler
command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1503 nonstandard directory
<lib dir
>
1504 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1505 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1506 you have headers
in a nonstandard directory
<include dir
>
1508 FC Fortran compiler
command
1509 FCFLAGS Fortran compiler flags
1511 Use these variables to override the choices made by
`configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to the package provider.
1515 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1516 General help using GNU software: <http://www.gnu.org/gethelp/>.
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1546 .) # We are building in place.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1579 GNU Fortran Runtime Library configure 0.3
1580 generated by GNU Autoconf 2.69
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest.
$ac_objext; then :
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status
$ac_retval
1629 } # ac_fn_c_try_compile
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1637 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1669 # -------------------------------------------------------
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1671 # the include files in INCLUDES and setting the cache variable VAR
1673 ac_fn_c_check_header_mongrel ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if eval \${$3+:} false; then :
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 # Is the header compilable?
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1688 $as_echo_n "checking $2 usability... " >&6; }
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1697 ac_header_compiler=no
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1701 $as_echo "$ac_header_compiler" >&6; }
1703 # Is the header present?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1705 $as_echo_n "checking $2 presence... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1710 if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1713 ac_header_preproc=no
1715 rm -f conftest.err conftest.i conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1717 $as_echo "$ac_header_preproc" >&6; }
1719 # So? What about this header?
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1745 eval "$3=\$ac_header_compiler"
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_header_mongrel
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1765 *) ac_try_echo
=$ac_try;;
1767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1838 *) ac_try_echo
=$ac_try;;
1840 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1844 if test -s conftest.err
; then
1845 grep -v '^ *+' conftest.err
>conftest.er1
1846 cat conftest.er1
>&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest
$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 test -x conftest
$ac_exeext
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.
$ac_ext >&5
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status
$ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func
()
1879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \
${$3+:} false
; then :
1883 $as_echo_n "(cached) " >&6
1885 if test x
$gcc_no_link = xyes
; then
1886 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1892 #define $2 innocuous_$2
1894 /* System header to define __stub macros and hopefully few prototypes,
1895 which can conflict with char $2 (); below.
1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897 <limits.h> exists even on freestanding compilers. */
1900 # include <limits.h>
1902 # include <assert.h>
1907 /* Override any GCC internal prototype to avoid an error.
1908 Use char because int might match the return type of a GCC
1909 builtin and then its argument prototype would still apply. */
1914 /* The GNU C library defines this for functions which it implements
1915 to always fail with ENOSYS. Some functions are actually named
1916 something starting with __ and the normal name is an alias. */
1917 #if defined __stub_$2 || defined __stub___$2
1929 if ac_fn_c_try_link
"$LINENO"; then :
1934 rm -f core conftest.err conftest.
$ac_objext \
1935 conftest
$ac_exeext conftest.
$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_func
1944 # ac_fn_fc_try_compile LINENO
1945 # ---------------------------
1946 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_fc_try_compile
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 rm -f conftest.
$ac_objext
1951 if { { ac_try
="$ac_compile"
1953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_compile") 2>conftest.err
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && {
1967 test -z "$ac_fc_werror_flag" ||
1968 test ! -s conftest.err
1969 } && test -s conftest.$ac_objext; then :
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1980 } # ac_fn_fc_try_compile
1982 # ac_fn_fc_try_link LINENO
1983 # ------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_fc_try_link ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 rm -f conftest.$ac_objext conftest$ac_exeext
1989 if { { ac_try="$ac_link"
1991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1992 *) ac_try_echo
=$ac_try;;
1994 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>conftest.err
1998 if test -s conftest.err
; then
1999 grep -v '^ *+' conftest.err
>conftest.er1
2000 cat conftest.er1
>&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } && {
2005 test -z "$ac_fc_werror_flag" ||
2006 test ! -s conftest.err
2007 } && test -s conftest
$ac_exeext && {
2008 test "$cross_compiling" = yes ||
2009 test -x conftest
$ac_exeext
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.
$ac_ext >&5
2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020 # interfere with the next link command; also delete a directory that is
2021 # left behind by Apple's compiler. We do this before executing the actions.
2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status
$ac_retval
2026 } # ac_fn_fc_try_link
2028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2029 # -------------------------------------------
2030 # Tests whether TYPE exists after having included INCLUDES, setting cache
2031 # variable VAR accordingly.
2032 ac_fn_c_check_type
()
2034 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \
${$3+:} false
; then :
2038 $as_echo_n "(cached) " >&6
2041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2053 if ac_fn_c_try_compile
"$LINENO"; then :
2054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2066 if ac_fn_c_try_compile
"$LINENO"; then :
2071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_type
2082 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2083 # --------------------------------------------
2084 # Tries to find the compile-time value of EXPR in a program that includes
2085 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2087 ac_fn_c_compute_int
()
2089 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2090 if test "$cross_compiling" = yes; then
2091 # Depending upon the size, compute the lo and hi bounds.
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2098 static int test_array [1 - 2 * !(($2) >= 0)];
2100 return test_array [0];
2106 if ac_fn_c_try_compile
"$LINENO"; then :
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2117 return test_array [0];
2123 if ac_fn_c_try_compile
"$LINENO"; then :
2124 ac_hi
=$ac_mid; break
2126 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2127 if test $ac_lo -le $ac_mid; then
2131 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2142 static int test_array [1 - 2 * !(($2) < 0)];
2144 return test_array [0];
2150 if ac_fn_c_try_compile
"$LINENO"; then :
2153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2159 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2161 return test_array [0];
2167 if ac_fn_c_try_compile
"$LINENO"; then :
2168 ac_lo
=$ac_mid; break
2170 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2171 if test $ac_mid -le $ac_hi; then
2175 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2185 # Binary search between lo and hi bounds.
2186 while test "x$ac_lo" != "x$ac_hi"; do
2187 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2194 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2196 return test_array [0];
2202 if ac_fn_c_try_compile
"$LINENO"; then :
2205 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2210 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2217 static long int longval () { return $2; }
2218 static unsigned long int ulongval () { return $2; }
2225 FILE *f = fopen ("conftest.val", "w");
2230 long int i = longval ();
2233 fprintf (f, "%ld", i);
2237 unsigned long int i = ulongval ();
2240 fprintf (f, "%lu", i);
2242 /* Do not output a trailing newline, as this causes \r\n confusion
2243 on some platforms. */
2244 return ferror (f) || fclose (f) != 0;
2250 if ac_fn_c_try_run
"$LINENO"; then :
2251 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2255 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2256 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 as_fn_set_status
$ac_retval
2263 } # ac_fn_c_compute_int
2265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2266 # ----------------------------------------------------
2267 # Tries to find if the field MEMBER exists in type AGGR, after including
2268 # INCLUDES, setting cache variable VAR accordingly.
2269 ac_fn_c_check_member
()
2271 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2273 $as_echo_n "checking for $2.$3... " >&6; }
2274 if eval \
${$4+:} false
; then :
2275 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2290 if ac_fn_c_try_compile
"$LINENO"; then :
2293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2300 if (sizeof ac_aggr.$3)
2306 if ac_fn_c_try_compile
"$LINENO"; then :
2311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_c_check_member
2321 cat >config.log
<<_ACEOF
2322 This file contains any messages produced by compilers while
2323 running configure, to aid debugging if configure makes a mistake.
2325 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2326 generated by GNU Autoconf 2.69. Invocation command line was
2338 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2339 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2340 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2341 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2342 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2344 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2345 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2347 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2348 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2349 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2350 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2351 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2352 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2353 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir
=.
2362 $as_echo "PATH: $as_dir"
2378 # Keep a trace of the command line.
2379 # Strip out --no-create and --no-recursion so they do not pile up.
2380 # Strip out --silent because we don't want to record it for future runs.
2381 # Also quote any args containing shell meta-characters.
2382 # Make two passes to allow for proper duplicate-argument suppression.
2386 ac_must_keep_next
=false
2392 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2393 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2394 |
-silent |
--silent |
--silen |
--sile |
--sil)
2397 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2402 as_fn_append ac_configure_args1
" '$ac_arg'"
2403 if test $ac_must_keep_next = true
; then
2404 ac_must_keep_next
=false
# Got value, back to normal.
2407 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2408 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2409 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2410 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2411 case "$ac_configure_args0 " in
2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2415 -* ) ac_must_keep_next
=true
;;
2418 as_fn_append ac_configure_args
" '$ac_arg'"
2423 { ac_configure_args0
=; unset ac_configure_args0
;}
2424 { ac_configure_args1
=; unset ac_configure_args1
;}
2426 # When interrupted or exit'd, cleanup temporary files, and complete
2427 # config.log. We remove comments because anyway the quotes in there
2428 # would cause problems or look ugly.
2429 # WARNING: Use '\'' to represent an apostrophe within the trap.
2430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2431 trap 'exit_status=$?
2432 # Save into config.log some information that might help in debugging.
2436 $as_echo "## ---------------- ##
2437 ## Cache variables. ##
2438 ## ---------------- ##"
2440 # The following way of writing the cache mishandles newlines in values,
2442 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2443 eval ac_val=\$$ac_var
2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2451 _ | IFS | as_nl) ;; #(
2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2453 *) { eval $ac_var=; unset $ac_var;} ;;
2458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2459 *${as_nl}ac_space=\ *)
2461 "s/'\''/'\''\\\\'\'''\''/g;
2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2472 $as_echo "## ----------------- ##
2473 ## Output variables. ##
2474 ## ----------------- ##"
2476 for ac_var in $ac_subst_vars
2478 eval ac_val=\$$ac_var
2480 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2482 $as_echo "$ac_var='\''$ac_val'\''"
2486 if test -n "$ac_subst_files"; then
2487 $as_echo "## ------------------- ##
2488 ## File substitutions. ##
2489 ## ------------------- ##"
2491 for ac_var
in $ac_subst_files
2493 eval ac_val
=\$
$ac_var
2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2497 $as_echo "$ac_var='\''$ac_val'\''"
2502 if test -s confdefs.h; then
2503 $as_echo "## ----------- ##
2510 test "$ac_signal" != 0 &&
2511 $as_echo "$as_me: caught signal $ac_signal"
2512 $as_echo "$as_me: exit $exit_status"
2514 rm -f core *.core core.conftest.* &&
2515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2518 for ac_signal
in 1 2 13 15; do
2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2524 rm -f -r conftest
* confdefs.h
2526 $as_echo "/* confdefs.h */" > confdefs.h
2528 # Predefined preprocessor variables.
2530 cat >>confdefs.h
<<_ACEOF
2531 #define PACKAGE_NAME "$PACKAGE_NAME"
2534 cat >>confdefs.h
<<_ACEOF
2535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2538 cat >>confdefs.h
<<_ACEOF
2539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2542 cat >>confdefs.h
<<_ACEOF
2543 #define PACKAGE_STRING "$PACKAGE_STRING"
2546 cat >>confdefs.h
<<_ACEOF
2547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2550 cat >>confdefs.h
<<_ACEOF
2551 #define PACKAGE_URL "$PACKAGE_URL"
2555 # Let the site file select an alternate cache file if it wants to.
2556 # Prefer an explicitly selected file to automatically selected ones.
2559 if test -n "$CONFIG_SITE"; then
2560 # We do not want a PATH search for config.site.
2561 case $CONFIG_SITE in #((
2562 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2563 */*) ac_site_file1
=$CONFIG_SITE;;
2564 *) ac_site_file1
=.
/$CONFIG_SITE;;
2566 elif test "x$prefix" != xNONE
; then
2567 ac_site_file1
=$prefix/share
/config.site
2568 ac_site_file2
=$prefix/etc
/config.site
2570 ac_site_file1
=$ac_default_prefix/share
/config.site
2571 ac_site_file2
=$ac_default_prefix/etc
/config.site
2573 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2575 test "x$ac_site_file" = xNONE
&& continue
2576 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2578 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2579 sed 's/^/| /' "$ac_site_file" >&5
2581 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error $?
"failed to load site script $ac_site_file
2584 See \`config.log' for more details" "$LINENO" 5; }
2588 if test -r "$cache_file"; then
2589 # Some versions of bash will fail to source /dev/null (special files
2590 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2591 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2593 $as_echo "$as_me: loading cache $cache_file" >&6;}
2595 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2596 *) .
"./$cache_file";;
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2601 $as_echo "$as_me: creating cache $cache_file" >&6;}
2605 as_fn_append ac_header_list
" unistd.h"
2606 as_fn_append ac_header_list
" sys/random.h"
2607 as_fn_append ac_header_list
" sys/time.h"
2608 as_fn_append ac_header_list
" sys/times.h"
2609 as_fn_append ac_header_list
" sys/resource.h"
2610 as_fn_append ac_header_list
" sys/types.h"
2611 as_fn_append ac_header_list
" sys/stat.h"
2612 as_fn_append ac_header_list
" sys/uio.h"
2613 as_fn_append ac_header_list
" sys/wait.h"
2614 as_fn_append ac_header_list
" floatingpoint.h"
2615 as_fn_append ac_header_list
" ieeefp.h"
2616 as_fn_append ac_header_list
" fenv.h"
2617 as_fn_append ac_header_list
" fptrap.h"
2618 as_fn_append ac_header_list
" fpxcp.h"
2619 as_fn_append ac_header_list
" pwd.h"
2620 as_fn_append ac_header_list
" complex.h"
2621 as_fn_append ac_header_list
" xlocale.h"
2622 as_fn_append ac_func_list
" getrusage"
2623 as_fn_append ac_func_list
" times"
2624 as_fn_append ac_func_list
" mkstemp"
2625 as_fn_append ac_func_list
" strtof"
2626 as_fn_append ac_func_list
" strtold"
2627 as_fn_append ac_func_list
" snprintf"
2628 as_fn_append ac_func_list
" ftruncate"
2629 as_fn_append ac_func_list
" chsize"
2630 as_fn_append ac_func_list
" chdir"
2631 as_fn_append ac_func_list
" getentropy"
2632 as_fn_append ac_func_list
" getlogin"
2633 as_fn_append ac_func_list
" gethostname"
2634 as_fn_append ac_func_list
" kill"
2635 as_fn_append ac_func_list
" link"
2636 as_fn_append ac_func_list
" symlink"
2637 as_fn_append ac_func_list
" sleep"
2638 as_fn_append ac_func_list
" ttyname"
2639 as_fn_append ac_func_list
" sigaction"
2640 as_fn_append ac_func_list
" waitpid"
2641 as_fn_append ac_func_list
" alarm"
2642 as_fn_append ac_func_list
" access"
2643 as_fn_append ac_func_list
" fork"
2644 as_fn_append ac_func_list
" posix_spawn"
2645 as_fn_append ac_func_list
" setmode"
2646 as_fn_append ac_func_list
" fcntl"
2647 as_fn_append ac_func_list
" writev"
2648 as_fn_append ac_func_list
" gettimeofday"
2649 as_fn_append ac_func_list
" stat"
2650 as_fn_append ac_func_list
" fstat"
2651 as_fn_append ac_func_list
" lstat"
2652 as_fn_append ac_func_list
" getpwuid"
2653 as_fn_append ac_func_list
" vsnprintf"
2654 as_fn_append ac_func_list
" dup"
2655 as_fn_append ac_func_list
" getcwd"
2656 as_fn_append ac_func_list
" localtime_r"
2657 as_fn_append ac_func_list
" gmtime_r"
2658 as_fn_append ac_func_list
" getpwuid_r"
2659 as_fn_append ac_func_list
" ttyname_r"
2660 as_fn_append ac_func_list
" clock_gettime"
2661 as_fn_append ac_func_list
" getgid"
2662 as_fn_append ac_func_list
" getpid"
2663 as_fn_append ac_func_list
" getuid"
2664 as_fn_append ac_func_list
" geteuid"
2665 as_fn_append ac_func_list
" umask"
2666 as_fn_append ac_func_list
" getegid"
2667 as_fn_append ac_func_list
" secure_getenv"
2668 as_fn_append ac_func_list
" __secure_getenv"
2669 as_fn_append ac_func_list
" mkostemp"
2670 as_fn_append ac_func_list
" strnlen"
2671 as_fn_append ac_func_list
" strndup"
2672 as_fn_append ac_func_list
" newlocale"
2673 as_fn_append ac_func_list
" freelocale"
2674 as_fn_append ac_func_list
" uselocale"
2675 as_fn_append ac_func_list
" strerror_l"
2676 as_fn_append ac_func_list
" strtof128"
2677 as_fn_append ac_func_list
" strfromf128"
2678 as_fn_append ac_header_list
" math.h"
2679 # Check that the precious variables saved in the cache have kept the same
2681 ac_cache_corrupted
=false
2682 for ac_var
in $ac_precious_vars; do
2683 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2684 eval ac_new_set
=\
$ac_env_${ac_var}_set
2685 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2686 eval ac_new_val
=\
$ac_env_${ac_var}_value
2687 case $ac_old_set,$ac_new_set in
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2690 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2691 ac_cache_corrupted
=: ;;
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2694 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2695 ac_cache_corrupted
=: ;;
2698 if test "x$ac_old_val" != "x$ac_new_val"; then
2699 # differences in whitespace do not lead to failure.
2700 ac_old_val_w
=`echo x $ac_old_val`
2701 ac_new_val_w
=`echo x $ac_new_val`
2702 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2704 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2705 ac_cache_corrupted
=:
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2708 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2709 eval $ac_var=\
$ac_old_val
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2712 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2714 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2717 # Pass precious variables to config.status.
2718 if test "$ac_new_set" = set; then
2720 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2721 *) ac_arg
=$ac_var=$ac_new_val ;;
2723 case " $ac_configure_args " in
2724 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2725 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2729 if $ac_cache_corrupted; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2733 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2734 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2736 ## -------------------- ##
2737 ## Main body of script. ##
2738 ## -------------------- ##
2741 ac_cpp
='$CPP $CPPFLAGS'
2742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2750 ac_config_headers
="$ac_config_headers config.h"
2753 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2754 if test -f "$ac_dir/install-sh"; then
2756 ac_install_sh
="$ac_aux_dir/install-sh -c"
2758 elif test -f "$ac_dir/install.sh"; then
2760 ac_install_sh
="$ac_aux_dir/install.sh -c"
2762 elif test -f "$ac_dir/shtool"; then
2764 ac_install_sh
="$ac_aux_dir/shtool install -c"
2768 if test -z "$ac_aux_dir"; then
2769 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2772 # These three variables are undocumented and unsupported,
2773 # and are intended to be withdrawn in a future Autoconf release.
2774 # They can cause serious problems if a builder's source tree is in a directory
2775 # whose full name contains unusual characters.
2776 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2777 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2778 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2781 # Make sure we can run config.sub.
2782 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2783 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2786 $as_echo_n "checking build system type... " >&6; }
2787 if ${ac_cv_build+:} false
; then :
2788 $as_echo_n "(cached) " >&6
2790 ac_build_alias
=$build_alias
2791 test "x$ac_build_alias" = x
&&
2792 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2793 test "x$ac_build_alias" = x
&&
2794 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2795 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2796 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2800 $as_echo "$ac_cv_build" >&6; }
2801 case $ac_cv_build in
2803 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2806 ac_save_IFS
=$IFS; IFS
='-'
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2816 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2819 case ${build_alias} in
2820 "") build_noncanonical
=${build} ;;
2821 *) build_noncanonical
=${build_alias} ;;
2824 case ${host_alias} in
2825 "") host_noncanonical
=${build_noncanonical} ;;
2826 *) host_noncanonical
=${host_alias} ;;
2829 case ${target_alias} in
2830 "") target_noncanonical
=${host_noncanonical} ;;
2831 *) target_noncanonical
=${target_alias} ;;
2835 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2836 # have matching libraries, they should use host libraries: Makefile.tpl
2837 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2838 # However, they still use the build modules, because the corresponding
2839 # host modules (e.g. bison) are only built for the host when bootstrap
2841 # - build_subdir is where we find build modules, and never changes.
2842 # - build_libsubdir is where we find build libraries, and can be overridden.
2844 # Prefix 'build-' so this never conflicts with target_subdir.
2845 build_subdir
="build-${build_noncanonical}"
2847 # Check whether --with-build-libsubdir was given.
2848 if test "${with_build_libsubdir+set}" = set; then :
2849 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2851 build_libsubdir
="$build_subdir"
2854 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2855 if ( test $srcdir = .
&& test -d gcc
) \
2856 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2857 host_subdir
="host-${host_noncanonical}"
2862 target_subdir
=${target_noncanonical}
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2870 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2871 # Check whether --enable-version-specific-runtime-libs was given.
2872 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2873 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2874 yes) version_specific_libs
=yes ;;
2875 no
) version_specific_libs
=no
;;
2876 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2879 version_specific_libs
=no
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2883 $as_echo "$version_specific_libs" >&6; }
2885 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2887 # You will slowly go insane if you do not grok the following fact: when
2888 # building this library, the top-level /target/ becomes the library's /host/.
2890 # configure then causes --target to default to --host, exactly like any
2891 # other package using autoconf. Therefore, 'target' and 'host' will
2892 # always be the same. This makes sense both for native and cross compilers
2893 # just think about it for a little while. :-)
2895 # Also, if this library is being configured as part of a cross compiler, the
2896 # top-level configure script will pass the "real" host as $with_cross_host.
2898 # Do not delete or change the following two lines. For why, see
2899 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2901 $as_echo_n "checking host system type... " >&6; }
2902 if ${ac_cv_host+:} false
; then :
2903 $as_echo_n "(cached) " >&6
2905 if test "x$host_alias" = x
; then
2906 ac_cv_host
=$ac_cv_build
2908 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2909 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2914 $as_echo "$ac_cv_host" >&6; }
2917 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2920 ac_save_IFS
=$IFS; IFS
='-'
2926 # Remember, the first character of IFS is used to create $*,
2927 # except with old shells:
2930 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2934 $as_echo_n "checking target system type... " >&6; }
2935 if ${ac_cv_target+:} false
; then :
2936 $as_echo_n "(cached) " >&6
2938 if test "x$target_alias" = x
; then
2939 ac_cv_target
=$ac_cv_host
2941 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2942 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2947 $as_echo "$ac_cv_target" >&6; }
2948 case $ac_cv_target in
2950 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2952 target
=$ac_cv_target
2953 ac_save_IFS
=$IFS; IFS
='-'
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2963 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2966 # The aliases save the names the user supplied, while $host etc.
2967 # will get canonicalized.
2968 test -n "$target_alias" &&
2969 test "$program_prefix$program_suffix$program_transform_name" = \
2971 program_prefix
=${target_alias}-
2976 target_alias
=${target_alias-$host_alias}
2979 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2980 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2981 # 1.9.6: minimum required version
2982 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2983 # of other PACKAGE_* variables will, however, and there's nothing
2984 # we can do about that; they come from AC_INIT).
2985 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2986 # file in the top srcdir, etc, etc), so stop complaining.
2987 # no-dist: we don't want 'dist' and related rules.
2988 # -Wall: turns on all automake warnings...
2989 # -Wno-portability: ...except this one, since GNU make is required.
2990 am__api_version
='1.15'
2992 # Find a good install program. We prefer a C program (faster),
2993 # so one script is as good as another. But avoid the broken or
2994 # incompatible versions:
2995 # SysV /etc/install, /usr/sbin/install
2996 # SunOS /usr/etc/install
2997 # IRIX /sbin/install
2999 # AmigaOS /C/install, which installs bootblocks on floppy discs
3000 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3001 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3002 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3003 # OS/2's system install, which has a completely different semantic
3004 # ./install, which can be erroneously created by make from ./install.sh.
3005 # Reject install programs that cannot install multiple files.
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3007 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3008 if test -z "$INSTALL"; then
3009 if ${ac_cv_path_install+:} false
; then :
3010 $as_echo_n "(cached) " >&6
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 # Account for people who put trailing slashes in PATH elements.
3018 case $as_dir/ in #((
3019 .
/ | .
// |
/[cC
]/* | \
3020 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3021 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3024 # OSF1 and SCO ODT 3.0 have their own names for install.
3025 # Don't use installbsd from OSF since it installs stuff as root
3027 for ac_prog
in ginstall scoinst
install; do
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3030 if test $ac_prog = install &&
3031 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3032 # AIX install. It has an incompatible calling convention.
3034 elif test $ac_prog = install &&
3035 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3036 # program-specific install script used by HP pwplus--don't use.
3039 rm -rf conftest.one conftest.two conftest.dir
3040 echo one
> conftest.one
3041 echo two
> conftest.two
3043 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3044 test -s conftest.one
&& test -s conftest.two
&&
3045 test -s conftest.dir
/conftest.one
&&
3046 test -s conftest.dir
/conftest.two
3048 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3061 rm -rf conftest.one conftest.two conftest.dir
3064 if test "${ac_cv_path_install+set}" = set; then
3065 INSTALL
=$ac_cv_path_install
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for INSTALL within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 INSTALL
=$ac_install_sh
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3075 $as_echo "$INSTALL" >&6; }
3077 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3078 # It thinks the first close brace ends the variable substitution.
3079 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3081 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3083 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3086 $as_echo_n "checking whether build environment is sane... " >&6; }
3087 # Reject unsafe characters in $srcdir or the absolute working directory
3088 # name. Accept space and tab only in the latter.
3092 *[\\\"\
#\$\&\'\`$am_lf]*)
3093 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3096 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3097 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3100 # Do 'set' in a subshell so we don't clobber the current shell's
3101 # arguments. Must try -L first in case configure is actually a
3102 # symlink; some systems play weird games with the mod time of symlinks
3103 # (eg FreeBSD returns the mod time of the symlink's containing
3107 for am_try
in 1 2; do
3108 echo "timestamp, slept: $am_has_slept" > conftest.
file
3109 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3110 if test "$*" = "X"; then
3112 set X
`ls -t "$srcdir/configure" conftest.file`
3114 if test "$*" != "X $srcdir/configure conftest.file" \
3115 && test "$*" != "X conftest.file $srcdir/configure"; then
3117 # If neither matched, then we have a broken ls. This can happen
3118 # if, for instance, CONFIG_SHELL is bash and it inherits a
3119 # broken ls alias from the environment. This has actually
3120 # happened. Such a system could not be considered "sane".
3121 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3122 alias in your environment" "$LINENO" 5
3124 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3131 test "$2" = conftest.
file
3137 as_fn_error $?
"newly created file is older than distributed files!
3138 Check your system clock" "$LINENO" 5
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3142 # If we didn't sleep, we still need to ensure time stamps of config.status and
3143 # generated files are strictly newer.
3145 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3152 test "$program_prefix" != NONE
&&
3153 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3154 # Use a double $ so make ignores it.
3155 test "$program_suffix" != NONE
&&
3156 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3157 # Double any \ or $.
3158 # By default was `s,x,x', remove it if useless.
3159 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3160 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3162 # Expand $ac_aux_dir to an absolute path.
3163 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3165 if test x
"${MISSING+set}" != xset
; then
3168 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3170 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3173 # Use eval to expand $SHELL
3174 if eval "$MISSING --is-lightweight"; then
3175 am_missing_run
="$MISSING "
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3179 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3182 if test x
"${install_sh+set}" != xset
; then
3185 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3187 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3191 # Installed binaries are usually stripped using 'strip' when the user
3192 # run "make install-strip". However 'strip' might not be the right
3193 # tool to use in cross-compilation environments, therefore Automake
3194 # will honor the 'STRIP' environment variable to overrule this program.
3195 if test "$cross_compiling" != no
; then
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3198 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_STRIP+:} false
; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$STRIP"; then
3205 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir
=.
3212 for ac_exec_ext
in '' $ac_executable_extensions; do
3213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 STRIP
=$ac_cv_prog_STRIP
3225 if test -n "$STRIP"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3227 $as_echo "$STRIP" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3235 if test -z "$ac_cv_prog_STRIP"; then
3237 # Extract the first word of "strip", so it can be a program name with args.
3238 set dummy strip
; ac_word
=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$ac_ct_STRIP"; then
3245 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_STRIP
="strip"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3265 if test -n "$ac_ct_STRIP"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3267 $as_echo "$ac_ct_STRIP" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3273 if test "x$ac_ct_STRIP" = x
; then
3276 case $cross_compiling:$ac_tool_warned in
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3280 ac_tool_warned
=yes ;;
3285 STRIP
="$ac_cv_prog_STRIP"
3289 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3292 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3293 if test -z "$MKDIR_P"; then
3294 if ${ac_cv_path_mkdir+:} false
; then :
3295 $as_echo_n "(cached) " >&6
3297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3301 test -z "$as_dir" && as_dir
=.
3302 for ac_prog
in mkdir gmkdir
; do
3303 for ac_exec_ext
in '' $ac_executable_extensions; do
3304 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3305 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3306 'mkdir (GNU coreutils) '* | \
3307 'mkdir (coreutils) '* | \
3308 'mkdir (fileutils) '4.1*)
3309 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3319 test -d .
/--version && rmdir .
/--version
3320 if test "${ac_cv_path_mkdir+set}" = set; then
3321 MKDIR_P
="$ac_cv_path_mkdir -p"
3323 # As a last resort, use the slow shell script. Don't cache a
3324 # value for MKDIR_P within a source directory, because that will
3325 # break other packages using the cache if that directory is
3326 # removed, or if the value is a relative name.
3327 MKDIR_P
="$ac_install_sh -d"
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3331 $as_echo "$MKDIR_P" >&6; }
3333 for ac_prog
in gawk mawk nawk
awk
3335 # Extract the first word of "$ac_prog", so it can be a program name with args.
3336 set dummy
$ac_prog; ac_word
=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_AWK+:} false
; then :
3340 $as_echo_n "(cached) " >&6
3342 if test -n "$AWK"; then
3343 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir
=.
3350 for ac_exec_ext
in '' $ac_executable_extensions; do
3351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_AWK
="$ac_prog"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 if test -n "$AWK"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3365 $as_echo "$AWK" >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3372 test -n "$AWK" && break
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3376 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3378 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3379 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3380 $as_echo_n "(cached) " >&6
3382 cat >conftest.
make <<\_ACEOF
3385 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3387 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3388 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3390 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3392 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3396 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398 $as_echo "yes" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 SET_MAKE
="MAKE=${MAKE-make}"
3406 rm -rf .tst
2>/dev
/null
3407 mkdir .tst
2>/dev
/null
3408 if test -d .tst
; then
3413 rmdir .tst
2>/dev
/null
3415 # Check whether --enable-silent-rules was given.
3416 if test "${enable_silent_rules+set}" = set; then :
3417 enableval
=$enable_silent_rules;
3420 case $enable_silent_rules in # (((
3421 yes) AM_DEFAULT_VERBOSITY
=0;;
3422 no
) AM_DEFAULT_VERBOSITY
=1;;
3423 *) AM_DEFAULT_VERBOSITY
=1;;
3425 am_make
=${MAKE-make}
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3427 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3428 if ${am_cv_make_support_nested_variables+:} false
; then :
3429 $as_echo_n "(cached) " >&6
3431 if $as_echo 'TRUE=$(BAR$(V))
3437 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3438 am_cv_make_support_nested_variables
=yes
3440 am_cv_make_support_nested_variables
=no
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3444 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3445 if test $am_cv_make_support_nested_variables = yes; then
3447 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3449 AM_V
=$AM_DEFAULT_VERBOSITY
3450 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3454 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3455 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3456 # is not polluted with repeated "-I."
3457 am__isrc
=' -I$(srcdir)'
3458 # test to see if srcdir already configured
3459 if test -f $srcdir/config.status
; then
3460 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3464 # test whether we have cygpath
3465 if test -z "$CYGPATH_W"; then
3466 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3467 CYGPATH_W
='cygpath -w'
3474 # Define the identity of the package.
3475 PACKAGE
='libgfortran'
3479 # Some tools Automake needs.
3481 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3484 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3487 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3490 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3493 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3495 # For better backward compatibility. To be removed once Automake 1.9.x
3496 # dies out for good. For more background, see:
3497 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3499 mkdir_p
='$(MKDIR_P)'
3501 # We need awk for the "check" target (and possibly the TAP driver). The
3502 # system "awk" is bad on some platforms.
3503 # Always define AMTAR for backward compatibility. Yes, it's still used
3504 # in the wild :-( We should find a proper way to deprecate it ...
3508 # We'll loop over all known methods to create a tar archive until one works.
3509 _am_tools
='gnutar pax cpio none'
3511 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3518 # POSIX will say in a future version that running "rm -f" with no argument
3519 # is OK; and we want to be able to make that assumption in our Makefile
3520 # recipes. So use an aggressive probe to check that the usage we want is
3521 # actually supported "in the wild" to an acceptable degree.
3522 # See automake bug#10828.
3523 # To make any issue more visible, cause the running configure to be aborted
3524 # by default if the 'rm' program in use doesn't match our expectations; the
3525 # user can still override this though.
3526 if rm -f && rm -fr && rm -rf; then : OK
; else
3530 Your 'rm' program seems unable to run without file operands specified
3531 on the command line, even when the '-f' option is present. This is contrary
3532 to the behaviour of most rm programs out there, and not conforming with
3533 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3535 Please tell bug-automake@gnu.org about your system, including the value
3536 of your $PATH and any error possibly output before this message. This
3537 can help us improve future automake versions.
3540 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3541 echo 'Configuration will proceed anyway, since you have set the' >&2
3542 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3546 Aborting the configuration process, to ensure you take notice of the issue.
3548 You can download and install GNU coreutils to get an 'rm' implementation
3549 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3551 If you want to complete the configuration process using your problematic
3552 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3553 to "yes", and re-run configure.
3556 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3563 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3564 # Check whether --enable-maintainer-mode was given.
3565 if test "${enable_maintainer_mode+set}" = set; then :
3566 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3568 USE_MAINTAINER_MODE
=no
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3572 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3573 if test $USE_MAINTAINER_MODE = yes; then
3574 MAINTAINER_MODE_TRUE
=
3575 MAINTAINER_MODE_FALSE
='#'
3577 MAINTAINER_MODE_TRUE
='#'
3578 MAINTAINER_MODE_FALSE
=
3581 MAINT
=$MAINTAINER_MODE_TRUE
3584 # Default to --enable-multilib
3585 # Check whether --enable-multilib was given.
3586 if test "${enable_multilib+set}" = set; then :
3587 enableval
=$enable_multilib; case "$enableval" in
3588 yes) multilib
=yes ;;
3590 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3597 # We may get other options which we leave undocumented:
3598 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3599 # See config-ml.in if you want the gory details.
3601 if test "$srcdir" = "."; then
3602 if test "$with_target_subdir" != "."; then
3603 multi_basedir
="$srcdir/$with_multisrctop../.."
3605 multi_basedir
="$srcdir/$with_multisrctop.."
3608 multi_basedir
="$srcdir/.."
3612 # Even if the default multilib is not a cross compilation,
3613 # it may be that some of the other multilibs are.
3614 if test $cross_compiling = no
&& test $multilib = yes \
3615 && test "x${with_multisubdir}" != x
; then
3616 cross_compiling
=maybe
3619 ac_config_commands
="$ac_config_commands default-1"
3622 # Handy for debugging:
3623 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3625 # Are we being configured with some form of cross compiler?
3626 # NB: We don't actually need to know this just now, but when, say, a test
3627 # suite is included, we'll have to know.
3628 if test "$build" != "$host"; then
3629 LIBGFOR_IS_NATIVE
=false
3632 LIBGFOR_IS_NATIVE
=true
3635 DEPDIR
="${am__leading_dot}deps"
3637 ac_config_commands
="$ac_config_commands depfiles"
3640 am_make
=${MAKE-make}
3641 cat > confinc
<< 'END'
3643 @
echo this is the am__doit target
3646 # If we don't find an include directive, just comment out the code.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3648 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3652 # First try GNU make style include.
3653 echo "include confinc" > confmf
3654 # Ignore all kinds of additional output from 'make'.
3655 case `$am_make -s -f confmf 2> /dev/null` in #(
3656 *the\ am__doit\ target
*)
3662 # Now try BSD make style include.
3663 if test "$am__include" = "#"; then
3664 echo '.include "confinc"' > confmf
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target
*)
3667 am__include
=.include
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3676 $as_echo "$_am_result" >&6; }
3677 rm -f confinc confmf
3679 # Check whether --enable-dependency-tracking was given.
3680 if test "${enable_dependency_tracking+set}" = set; then :
3681 enableval
=$enable_dependency_tracking;
3684 if test "x$enable_dependency_tracking" != xno
; then
3685 am_depcomp
="$ac_aux_dir/depcomp"
3689 if test "x$enable_dependency_tracking" != xno; then
3699 ac_cpp
='$CPP $CPPFLAGS'
3700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3703 if test -n "$ac_tool_prefix"; then
3704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3705 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false
; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC
="$CC" # Let the user override the test.
3714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir
=.
3719 for ac_exec_ext
in '' $ac_executable_extensions; do
3720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3742 if test -z "$ac_cv_prog_CC"; then
3744 # Extract the first word of "gcc", so it can be a program name with args.
3745 set dummy gcc
; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC
="gcc"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3780 if test "x$ac_ct_CC" = x
; then
3783 case $cross_compiling:$ac_tool_warned in
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787 ac_tool_warned
=yes ;;
3795 if test -z "$CC"; then
3796 if test -n "$ac_tool_prefix"; then
3797 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3798 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_CC+:} false
; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC
="$CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827 $as_echo "$CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3836 if test -z "$CC"; then
3837 # Extract the first word of "cc", so it can be a program name with args.
3838 set dummy cc
; ac_word
=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_CC+:} false
; then :
3842 $as_echo_n "(cached) " >&6
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC
="$CC" # Let the user override the test.
3848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir
=.
3853 for ac_exec_ext
in '' $ac_executable_extensions; do
3854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3855 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3856 ac_prog_rejected
=yes
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 if test $ac_prog_rejected = yes; then
3868 # We found a bogon in the path, so make sure we never use it.
3869 set dummy
$ac_cv_prog_CC
3871 if test $# != 0; then
3872 # We chose a different compiler from the bogus one.
3873 # However, it has the same basename, so the bogon will be chosen
3874 # first if we set CC to just the basename; use the full file name.
3876 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3882 if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884 $as_echo "$CC" >&6; }
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3892 if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 for ac_prog
in cl.exe
3896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false
; then :
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC
="$CC" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3933 test -n "$CC" && break
3936 if test -z "$CC"; then
3938 for ac_prog
in cl.exe
3940 # Extract the first word of "$ac_prog", so it can be a program name with args.
3941 set dummy
$ac_prog; ac_word
=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3945 $as_echo_n "(cached) " >&6
3947 if test -n "$ac_ct_CC"; then
3948 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_CC
="$ac_prog"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3968 if test -n "$ac_ct_CC"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3970 $as_echo "$ac_ct_CC" >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973 $as_echo "no" >&6; }
3977 test -n "$ac_ct_CC" && break
3980 if test "x$ac_ct_CC" = x
; then
3983 case $cross_compiling:$ac_tool_warned in
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned
=yes ;;
3996 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998 as_fn_error $?
"no acceptable C compiler found in \$PATH
3999 See \`config.log' for more details" "$LINENO" 5; }
4001 # Provide some information about the compiler.
4002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4005 for ac_option
in --version -v -V -qversion; do
4006 { { ac_try
="$ac_compiler $ac_option >&5"
4008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4015 if test -s conftest.err; then
4017 ... rest of stderr output deleted ...
4018 10q' conftest.err >conftest.er1
4019 cat conftest.er1 >&5
4021 rm -f conftest.er1 conftest.err
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4032 printf ("hello world\n");
4038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4039 (eval $ac_link) 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4047 if test x$gcc_no_link = xyes; then
4048 # Setting cross_compile will disable run tests; it will
4049 # also disable AC_CHECK_FILE but that's generally
4050 # correct if we can't link.
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4065 ac_clean_files_save=$ac_clean_files
4066 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4067 # Try to create an executable without -o first, disregard a.out.
4068 # It will help us diagnose broken compilers, and finding out an intuition
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4071 $as_echo_n "checking whether the C compiler works... " >&6; }
4072 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4074 # The possible output files:
4075 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4078 for ac_file in $ac_files
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4082 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4087 if { { ac_try="$ac_link_default"
4089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4090 *) ac_try_echo
=$ac_try;;
4092 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_link_default") 2>&5
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4099 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4100 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4101 # so that the user can short-circuit this test for compilers unknown to
4103 for ac_file
in $ac_files ''
4105 test -f "$ac_file" ||
continue
4107 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4110 # We found the default executable, but exeext='' is most
4114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4116 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4118 # We set ac_cv_exeext here because the later test for it is not
4119 # safe: cross compilers may not add the suffix if given an `-o'
4120 # argument, so we may need to know it at that point already.
4121 # Even if this section looks crufty: it has the advantage of
4128 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4133 if test -z "$ac_file"; then :
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.
$ac_ext >&5
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error
77 "C compiler cannot create executables
4142 See \`config.log' for more details" "$LINENO" 5; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4145 $as_echo "yes" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4148 $as_echo_n "checking for C compiler default output file name... " >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4150 $as_echo "$ac_file" >&6; }
4151 ac_exeext
=$ac_cv_exeext
4153 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4154 ac_clean_files
=$ac_clean_files_save
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4156 $as_echo_n "checking for suffix of executables... " >&6; }
4157 if { { ac_try
="$ac_link"
4159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_link") 2>&5
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; then :
4168 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4169 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4170 # work properly (i.e., refer to `conftest.exe'), while it won't with
4172 for ac_file
in conftest.exe conftest conftest.
*; do
4173 test -f "$ac_file" ||
continue
4175 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4176 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4185 See \`config.log' for more details" "$LINENO" 5; }
4187 rm -f conftest conftest
$ac_cv_exeext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4189 $as_echo "$ac_cv_exeext" >&6; }
4191 rm -f conftest.
$ac_ext
4192 EXEEXT
=$ac_cv_exeext
4194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4200 FILE *f = fopen ("conftest.out", "w");
4201 return ferror (f) || fclose (f) != 0;
4207 ac_clean_files
="$ac_clean_files conftest.out"
4208 # Check that the compiler produces executables we can run. If not, either
4209 # the compiler is broken, or we cross compile.
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4211 $as_echo_n "checking whether we are cross compiling... " >&6; }
4212 if test "$cross_compiling" != yes; then
4213 { { ac_try
="$ac_link"
4215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_link") 2>&5
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4224 if { ac_try='./conftest$ac_cv_exeext'
4225 { { case "(($ac_try" in
4226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4227 *) ac_try_echo
=$ac_try;;
4229 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_try") 2>&5
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }; }; then
4237 if test "$cross_compiling" = maybe
; then
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $?
"cannot run C compiled programs.
4243 If you meant to cross compile, use \`--host'.
4244 See \`config.log' for more details" "$LINENO" 5; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4249 $as_echo "$cross_compiling" >&6; }
4251 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4252 ac_clean_files
=$ac_clean_files_save
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4255 $as_echo_n "checking for suffix of object files... " >&6; }
4256 if ${ac_cv_objext+:} false
; then :
4257 $as_echo_n "(cached) " >&6
4259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4270 rm -f conftest.o conftest.obj
4271 if { { ac_try
="$ac_compile"
4273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_compile") 2>&5
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 for ac_file in conftest.o conftest.obj conftest.*; do
4283 test -f "$ac_file" || continue;
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4291 $as_echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4297 See \
`config.log' for more details" "$LINENO" 5; }
4299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4302 $as_echo "$ac_cv_objext" >&6; }
4303 OBJEXT=$ac_cv_objext
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4306 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4307 if ${ac_cv_c_compiler_gnu+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4324 if ac_fn_c_try_compile "$LINENO"; then :
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4334 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4335 if test $ac_compiler_gnu = yes; then
4340 ac_test_CFLAGS=${CFLAGS+set}
4341 ac_save_CFLAGS=$CFLAGS
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4343 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4344 if ${ac_cv_prog_cc_g+:} false; then :
4345 $as_echo_n "(cached) " >&6
4347 ac_save_c_werror_flag=$ac_c_werror_flag
4348 ac_c_werror_flag=yes
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4362 if ac_fn_c_try_compile "$LINENO"; then :
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4377 if ac_fn_c_try_compile "$LINENO"; then :
4380 ac_c_werror_flag=$ac_save_c_werror_flag
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4393 if ac_fn_c_try_compile "$LINENO"; then :
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 ac_c_werror_flag=$ac_save_c_werror_flag
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4404 $as_echo "$ac_cv_prog_cc_g" >&6; }
4405 if test "$ac_test_CFLAGS" = set; then
4406 CFLAGS=$ac_save_CFLAGS
4407 elif test $ac_cv_prog_cc_g = yes; then
4408 if test "$GCC" = yes; then
4414 if test "$GCC" = yes; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4421 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4422 if ${ac_cv_prog_cc_c89+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 ac_cv_prog_cc_c89=no
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4433 struct buf { int x; };
4434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435 static char *e (p, i)
4441 static char *f (char * (*g) (char **, int), char **p, ...)
4446 s = g (p, va_arg (v,int));
4451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4452 function prototypes and stuff, but not '\xHH' hex character constants.
4453 These don't provoke an error unfortunately, instead are silently treated
4454 as 'x'. The following induces an error, until -std is added to get
4455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4456 array size at least. It's necessary to write '\x00'==0 to get something
4457 that's true only with -std. */
4458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461 inside strings and character constants. */
4463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4465 int test (int i, double x);
4466 struct s1 {int (*f) (int a);};
4467 struct s2 {int (*f) (double a);};
4468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4482 CC="$ac_save_CC $ac_arg"
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_c89=$ac_arg
4486 rm -f core conftest.err conftest.$ac_objext
4487 test "x$ac_cv_prog_cc_c89" != "xno" && break
4489 rm -f conftest.$ac_ext
4494 case "x$ac_cv_prog_cc_c89" in
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4497 $as_echo "none needed" >&6; } ;;
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4500 $as_echo "unsupported" >&6; } ;;
4502 CC="$CC $ac_cv_prog_cc_c89"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4506 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
4517 ac_cpp='$CPP $CPPFLAGS'
4518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4522 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4523 if ${am_cv_prog_cc_c_o+:} false; then :
4524 $as_echo_n "(cached) " >&6
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4537 # Make sure it works both with $CC and with simple cc.
4538 # Following AC_PROG_CC_C_O, we do the test twice because some
4539 # compilers refuse to overwrite an existing .o file with -o,
4540 # though they will create one.
4541 am_cv_prog_cc_c_o=yes
4543 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4544 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } \
4548 && test -f conftest2.$ac_objext; then
4551 am_cv_prog_cc_c_o=no
4555 rm -f core conftest*
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4559 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4560 if test "$am_cv_prog_cc_c_o" != yes; then
4561 # Losing compiler, so override with the script.
4562 # FIXME: It is wrong to rewrite CC.
4563 # But if we don't then we get into trouble of one sort or another.
4564 # A longer-term fix would be to have automake use am__CC in this case,
4565 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4566 CC="$am_aux_dir/compile $CC"
4569 ac_cpp='$CPP $CPPFLAGS'
4570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575 depcc="$CC" am_compiler_list=
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4578 $as_echo_n "checking dependency style of $depcc... " >&6; }
4579 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4583 # We make a subdir and do the tests there. Otherwise we can end up
4584 # making bogus files that we don't know about and never remove. For
4585 # instance it was reported that on HP-UX the gcc test will end up
4586 # making a dummy file named 'D' -- because '-MD' means "put the output
4590 # Copy depcomp to subdir because otherwise we won't find it if we're
4591 # using a relative directory.
4592 cp "$am_depcomp" conftest.dir
4594 # We will build objects and dependencies in a subdirectory because
4595 # it helps to detect inapplicable dependency modes. For instance
4596 # both Tru64's cc and ICC support -MD to output dependencies as a
4597 # side effect of compilation, but ICC will put the dependencies in
4598 # the current directory while Tru64 will put them in the object
4602 am_cv_CC_dependencies_compiler_type=none
4603 if test "$am_compiler_list" = ""; then
4604 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4607 case " $depcc " in #(
4608 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4611 for depmode in $am_compiler_list; do
4612 # Setup a source with many dependencies, because some compilers
4613 # like to wrap large dependency lists on column 80 (with \), and
4614 # we should not choose a depcomp mode which is confused by this.
4616 # We need to recreate these files for each test, as the compiler may
4617 # overwrite some of them when testing with obscure command lines.
4618 # This happens at least with the AIX C compiler.
4620 for i in 1 2 3 4 5 6; do
4621 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4622 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4623 # Solaris 10 /bin/sh.
4624 echo '/* dummy */' > sub/conftst$i.h
4626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4628 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4629 # mode. It turns out that the SunPro C++ compiler does not properly
4630 # handle '-M -o', and we need to detect this. Also, some Intel
4631 # versions had trouble with output in subdirs.
4632 am__obj=sub/conftest.${OBJEXT-o}
4633 am__minus_obj="-o $am__obj"
4636 # This depmode causes a compiler race in universal mode.
4637 test "$am__universal" = false || continue
4640 # After this tag, mechanisms are not by side-effect, so they'll
4641 # only be used when explicitly requested.
4642 if test "x$enable_dependency_tracking" = xyes; then
4648 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4649 # This compiler won't grok '-c -o', but also, the minuso test has
4650 # not run yet. These depmodes are late enough in the game, and
4651 # so weak that their functioning should not be impacted.
4652 am__obj=conftest.${OBJEXT-o}
4657 if depmode=$depmode \
4658 source=sub/conftest.c object=$am__obj \
4659 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4660 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4661 >/dev/null 2>conftest.err &&
4662 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4663 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4664 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4665 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4666 # icc doesn't choke on unknown options, it will just issue warnings
4667 # or remarks (even with -Werror). So we grep stderr for any message
4668 # that says an option was ignored or not supported.
4669 # When given -MP, icc 7.0 and 7.1 complain thusly:
4670 # icc: Command line warning: ignoring option '-M'; no argument required
4671 # The diagnosis changed in icc 8.0:
4672 # icc: Command line remark: option '-MP' not supported
4673 if (grep 'ignoring option' conftest.err ||
4674 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4675 am_cv_CC_dependencies_compiler_type=$depmode
4684 am_cv_CC_dependencies_compiler_type=none
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4689 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4690 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4693 test "x$enable_dependency_tracking" != xno \
4694 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4696 am__fastdepCC_FALSE='#'
4698 am__fastdepCC_TRUE='#'
4699 am__fastdepCC_FALSE=
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4710 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4711 # On Suns, sometimes $CPP names a directory.
4712 if test -n "$CPP" && test -d "$CPP"; then
4715 if test -z "$CPP"; then
4716 if ${ac_cv_prog_CPP+:} false; then :
4717 $as_echo_n "(cached) " >&6
4719 # Double quotes because CPP needs to be expanded
4720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4723 for ac_c_preproc_warn_flag in '' yes
4725 # Use a header file that comes with gcc, so configuring glibc
4726 # with a fresh cross-compiler works.
4727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 # <limits.h> exists even on freestanding compilers.
4729 # On the NeXT, cc -E runs the code through the compiler's parser,
4730 # not just through cpp. "Syntax error" is here to catch this case.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4734 # include <limits.h>
4736 # include <assert.h>
4740 if ac_fn_c_try_cpp "$LINENO"; then :
4743 # Broken: fails on valid input.
4746 rm -f conftest.err conftest.i conftest.$ac_ext
4748 # OK, works on sane cases. Now check whether nonexistent headers
4749 # can be detected and how.
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4752 #include <ac_nonexistent.h>
4754 if ac_fn_c_try_cpp "$LINENO"; then :
4755 # Broken: success on invalid input.
4758 # Passes both tests.
4762 rm -f conftest.err conftest.i conftest.$ac_ext
4765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4766 rm -f conftest.i conftest.err conftest.
$ac_ext
4767 if $ac_preproc_ok; then :
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4780 $as_echo "$CPP" >&6; }
4782 for ac_c_preproc_warn_flag
in '' yes
4784 # Use a header file that comes with gcc, so configuring glibc
4785 # with a fresh cross-compiler works.
4786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4787 # <limits.h> exists even on freestanding compilers.
4788 # On the NeXT, cc -E runs the code through the compiler's parser,
4789 # not just through cpp. "Syntax error" is here to catch this case.
4790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4793 # include <limits.h>
4795 # include <assert.h>
4799 if ac_fn_c_try_cpp
"$LINENO"; then :
4802 # Broken: fails on valid input.
4805 rm -f conftest.err conftest.i conftest.
$ac_ext
4807 # OK, works on sane cases. Now check whether nonexistent headers
4808 # can be detected and how.
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 #include <ac_nonexistent.h>
4813 if ac_fn_c_try_cpp
"$LINENO"; then :
4814 # Broken: success on invalid input.
4817 # Passes both tests.
4821 rm -f conftest.err conftest.i conftest.
$ac_ext
4824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4825 rm -f conftest.i conftest.err conftest.
$ac_ext
4826 if $ac_preproc_ok; then :
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4832 See \`config.log' for more details" "$LINENO" 5; }
4836 ac_cpp
='$CPP $CPPFLAGS'
4837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4843 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4844 if ${ac_cv_path_GREP+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -z "$GREP"; then
4848 ac_path_GREP_found
=false
4849 # Loop through the user's path and test for each of PROGNAME-LIST
4850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4851 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4854 test -z "$as_dir" && as_dir
=.
4855 for ac_prog
in grep ggrep
; do
4856 for ac_exec_ext
in '' $ac_executable_extensions; do
4857 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4858 as_fn_executable_p
"$ac_path_GREP" ||
continue
4859 # Check for GNU ac_path_GREP and select it if it is found.
4860 # Check for GNU $ac_path_GREP
4861 case `"$ac_path_GREP" --version 2>&1` in
4863 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4866 $as_echo_n 0123456789 >"conftest.in"
4869 cat "conftest.in" "conftest.in" >"conftest.tmp"
4870 mv "conftest.tmp" "conftest.in"
4871 cp "conftest.in" "conftest.nl"
4872 $as_echo 'GREP' >> "conftest.nl"
4873 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4874 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4875 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4876 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4877 # Best one so far, save it but keep looking for a better one
4878 ac_cv_path_GREP
="$ac_path_GREP"
4879 ac_path_GREP_max
=$ac_count
4881 # 10*(2^10) chars as input seems more than enough
4882 test $ac_count -gt 10 && break
4884 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4887 $ac_path_GREP_found && break 3
4892 if test -z "$ac_cv_path_GREP"; then
4893 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4896 ac_cv_path_GREP
=$GREP
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4901 $as_echo "$ac_cv_path_GREP" >&6; }
4902 GREP
="$ac_cv_path_GREP"
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4906 $as_echo_n "checking for egrep... " >&6; }
4907 if ${ac_cv_path_EGREP+:} false
; then :
4908 $as_echo_n "(cached) " >&6
4910 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4911 then ac_cv_path_EGREP
="$GREP -E"
4913 if test -z "$EGREP"; then
4914 ac_path_EGREP_found
=false
4915 # Loop through the user's path and test for each of PROGNAME-LIST
4916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4920 test -z "$as_dir" && as_dir
=.
4921 for ac_prog
in egrep; do
4922 for ac_exec_ext
in '' $ac_executable_extensions; do
4923 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4924 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4925 # Check for GNU ac_path_EGREP and select it if it is found.
4926 # Check for GNU $ac_path_EGREP
4927 case `"$ac_path_EGREP" --version 2>&1` in
4929 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4932 $as_echo_n 0123456789 >"conftest.in"
4935 cat "conftest.in" "conftest.in" >"conftest.tmp"
4936 mv "conftest.tmp" "conftest.in"
4937 cp "conftest.in" "conftest.nl"
4938 $as_echo 'EGREP' >> "conftest.nl"
4939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4940 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4941 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4943 # Best one so far, save it but keep looking for a better one
4944 ac_cv_path_EGREP
="$ac_path_EGREP"
4945 ac_path_EGREP_max
=$ac_count
4947 # 10*(2^10) chars as input seems more than enough
4948 test $ac_count -gt 10 && break
4950 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4953 $ac_path_EGREP_found && break 3
4958 if test -z "$ac_cv_path_EGREP"; then
4959 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4962 ac_cv_path_EGREP
=$EGREP
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4968 $as_echo "$ac_cv_path_EGREP" >&6; }
4969 EGREP
="$ac_cv_path_EGREP"
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4973 $as_echo_n "checking for ANSI C header files... " >&6; }
4974 if ${ac_cv_header_stdc+:} false
; then :
4975 $as_echo_n "(cached) " >&6
4977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4992 if ac_fn_c_try_compile
"$LINENO"; then :
4993 ac_cv_header_stdc
=yes
4995 ac_cv_header_stdc
=no
4997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4999 if test $ac_cv_header_stdc = yes; then
5000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5007 $EGREP "memchr" >/dev
/null
2>&1; then :
5010 ac_cv_header_stdc
=no
5016 if test $ac_cv_header_stdc = yes; then
5017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5024 $EGREP "free" >/dev
/null
2>&1; then :
5027 ac_cv_header_stdc
=no
5033 if test $ac_cv_header_stdc = yes; then
5034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5035 if test "$cross_compiling" = yes; then :
5038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5042 #if ((' ' & 0x0FF) == 0x020)
5043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5046 # define ISLOWER(c) \
5047 (('a' <= (c) && (c) <= 'i') \
5048 || ('j' <= (c) && (c) <= 'r') \
5049 || ('s' <= (c) && (c) <= 'z'))
5050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5058 for (i = 0; i < 256; i++)
5059 if (XOR (islower (i), ISLOWER (i))
5060 || toupper (i) != TOUPPER (i))
5065 if ac_fn_c_try_run
"$LINENO"; then :
5068 ac_cv_header_stdc
=no
5070 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5071 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5077 $as_echo "$ac_cv_header_stdc" >&6; }
5078 if test $ac_cv_header_stdc = yes; then
5080 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5085 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5086 inttypes.h stdint.h unistd.h
5088 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5089 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5091 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5092 cat >>confdefs.h
<<_ACEOF
5093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5102 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5103 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5110 if test "$MINIX" = yes; then
5112 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5115 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5118 $as_echo "#define _MINIX 1" >>confdefs.h
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5124 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5125 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5126 $as_echo_n "(cached) " >&6
5128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5131 # define __EXTENSIONS__ 1
5132 $ac_includes_default
5141 if ac_fn_c_try_compile
"$LINENO"; then :
5142 ac_cv_safe_to_define___extensions__
=yes
5144 ac_cv_safe_to_define___extensions__
=no
5146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5149 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5150 test $ac_cv_safe_to_define___extensions__ = yes &&
5151 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5153 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5155 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5157 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5159 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5164 # Check whether --with-toolexeclibdir was given.
5165 if test "${with_toolexeclibdir+set}" = set; then :
5166 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5170 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5174 with_toolexeclibdir
=no
5179 # Calculate toolexeclibdir
5180 # Also toolexecdir, though it's only used in toolexeclibdir
5181 case ${version_specific_libs} in
5183 # Need the gcc compiler version to know where to install libraries
5184 # and header files if --enable-version-specific-runtime-libs option
5186 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5187 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5190 if test -n "$with_cross_host" &&
5191 test x
"$with_cross_host" != x
"no"; then
5192 # Install a library built with a cross compiler in tooldir, not libdir.
5193 toolexecdir
='$(exec_prefix)/$(target_alias)'
5194 case ${with_toolexeclibdir} in
5196 toolexeclibdir
='$(toolexecdir)/lib'
5199 toolexeclibdir
=${with_toolexeclibdir}
5203 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5204 toolexeclibdir
='$(libdir)'
5206 multi_os_directory
=`$CC -print-multi-os-directory`
5207 case $multi_os_directory in
5208 .
) ;; # Avoid trailing /.
5209 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5216 # Create a spec file, so that compile/link tests don't fail
5217 test -f libgfortran.spec ||
touch libgfortran.spec
5220 ac_cpp
='$CPP $CPPFLAGS'
5221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5225 # Check the compiler.
5226 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5227 # We must force CC to /not/ be precious variables; otherwise
5228 # the wrong, non-multilib-adjusted value will be used in multilibs.
5229 # As a side effect, we have to subst CFLAGS ourselves.
5234 ac_cpp
='$CPP $CPPFLAGS'
5235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5240 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_CC+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test -n "$CC"; then
5247 ac_cv_prog_CC
="$CC" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 if test -n "$CC"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5269 $as_echo "$CC" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5277 if test -z "$ac_cv_prog_CC"; then
5279 # Extract the first word of "gcc", so it can be a program name with args.
5280 set dummy gcc
; ac_word
=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5284 $as_echo_n "(cached) " >&6
5286 if test -n "$ac_ct_CC"; then
5287 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_ac_ct_CC
="gcc"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5307 if test -n "$ac_ct_CC"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5309 $as_echo "$ac_ct_CC" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5315 if test "x$ac_ct_CC" = x
; then
5318 case $cross_compiling:$ac_tool_warned in
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322 ac_tool_warned
=yes ;;
5330 if test -z "$CC"; then
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5333 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_CC+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$CC"; then
5340 ac_cv_prog_CC
="$CC" # Let the user override the test.
5342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir
=.
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 if test -n "$CC"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5362 $as_echo "$CC" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5371 if test -z "$CC"; then
5372 # Extract the first word of "cc", so it can be a program name with args.
5373 set dummy cc
; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_CC+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$CC"; then
5380 ac_cv_prog_CC
="$CC" # Let the user override the test.
5383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5387 test -z "$as_dir" && as_dir
=.
5388 for ac_exec_ext
in '' $ac_executable_extensions; do
5389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5391 ac_prog_rejected
=yes
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 if test $ac_prog_rejected = yes; then
5403 # We found a bogon in the path, so make sure we never use it.
5404 set dummy
$ac_cv_prog_CC
5406 if test $# != 0; then
5407 # We chose a different compiler from the bogus one.
5408 # However, it has the same basename, so the bogon will be chosen
5409 # first if we set CC to just the basename; use the full file name.
5411 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5417 if test -n "$CC"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5419 $as_echo "$CC" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 if test -z "$CC"; then
5428 if test -n "$ac_tool_prefix"; then
5429 for ac_prog
in cl.exe
5431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5432 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_CC+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5438 if test -n "$CC"; then
5439 ac_cv_prog_CC
="$CC" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 if test -n "$CC"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5461 $as_echo "$CC" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5468 test -n "$CC" && break
5471 if test -z "$CC"; then
5473 for ac_prog
in cl.exe
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy
$ac_prog; ac_word
=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5480 $as_echo_n "(cached) " >&6
5482 if test -n "$ac_ct_CC"; then
5483 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir
=.
5490 for ac_exec_ext
in '' $ac_executable_extensions; do
5491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_CC
="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5503 if test -n "$ac_ct_CC"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5505 $as_echo "$ac_ct_CC" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$ac_ct_CC" && break
5515 if test "x$ac_ct_CC" = x
; then
5518 case $cross_compiling:$ac_tool_warned in
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5522 ac_tool_warned
=yes ;;
5531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5533 as_fn_error $?
"no acceptable C compiler found in \$PATH
5534 See \`config.log' for more details" "$LINENO" 5; }
5536 # Provide some information about the compiler.
5537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5540 for ac_option
in --version -v -V -qversion; do
5541 { { ac_try
="$ac_compiler $ac_option >&5"
5543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5547 $as_echo "$ac_try_echo"; } >&5
5548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5550 if test -s conftest.err; then
5552 ... rest of stderr output deleted ...
5553 10q' conftest.err >conftest.er1
5554 cat conftest.er1 >&5
5556 rm -f conftest.er1 conftest.err
5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5558 test $ac_status = 0; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5562 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5563 if ${ac_cv_c_compiler_gnu+:} false; then :
5564 $as_echo_n "(cached) " >&6
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5580 if ac_fn_c_try_compile "$LINENO"; then :
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5590 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5591 if test $ac_compiler_gnu = yes; then
5596 ac_test_CFLAGS=${CFLAGS+set}
5597 ac_save_CFLAGS=$CFLAGS
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5599 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5600 if ${ac_cv_prog_cc_g+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 ac_save_c_werror_flag=$ac_c_werror_flag
5604 ac_c_werror_flag=yes
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5618 if ac_fn_c_try_compile "$LINENO"; then :
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5633 if ac_fn_c_try_compile "$LINENO"; then :
5636 ac_c_werror_flag=$ac_save_c_werror_flag
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5649 if ac_fn_c_try_compile "$LINENO"; then :
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 ac_c_werror_flag=$ac_save_c_werror_flag
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5660 $as_echo "$ac_cv_prog_cc_g" >&6; }
5661 if test "$ac_test_CFLAGS" = set; then
5662 CFLAGS=$ac_save_CFLAGS
5663 elif test $ac_cv_prog_cc_g = yes; then
5664 if test "$GCC" = yes; then
5670 if test "$GCC" = yes; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5677 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5678 if ${ac_cv_prog_cc_c89+:} false; then :
5679 $as_echo_n "(cached) " >&6
5681 ac_cv_prog_cc_c89=no
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5689 struct buf { int x; };
5690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5691 static char *e (p, i)
5697 static char *f (char * (*g) (char **, int), char **p, ...)
5702 s = g (p, va_arg (v,int));
5707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5708 function prototypes and stuff, but not '\xHH' hex character constants.
5709 These don't provoke an error unfortunately, instead are silently treated
5710 as 'x'. The following induces an error, until -std is added to get
5711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5712 array size at least. It's necessary to write '\x00'==0 to get something
5713 that's true only with -std. */
5714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5717 inside strings and character constants. */
5719 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5721 int test (int i, double x);
5722 struct s1 {int (*f) (int a);};
5723 struct s2 {int (*f) (double a);};
5724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5735 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5738 CC="$ac_save_CC $ac_arg"
5739 if ac_fn_c_try_compile "$LINENO"; then :
5740 ac_cv_prog_cc_c89=$ac_arg
5742 rm -f core conftest.err conftest.$ac_objext
5743 test "x$ac_cv_prog_cc_c89" != "xno" && break
5745 rm -f conftest.$ac_ext
5750 case "x$ac_cv_prog_cc_c89" in
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5753 $as_echo "none needed" >&6; } ;;
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5756 $as_echo "unsupported" >&6; } ;;
5758 CC="$CC $ac_cv_prog_cc_c89"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5760 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5762 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
5773 ac_cpp='$CPP $CPPFLAGS'
5774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5778 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5779 if ${am_cv_prog_cc_c_o+:} false; then :
5780 $as_echo_n "(cached) " >&6
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5793 # Make sure it works both with $CC and with simple cc.
5794 # Following AC_PROG_CC_C_O, we do the test twice because some
5795 # compilers refuse to overwrite an existing .o file with -o,
5796 # though they will create one.
5797 am_cv_prog_cc_c_o=yes
5799 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5800 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } \
5804 && test -f conftest2.$ac_objext; then
5807 am_cv_prog_cc_c_o=no
5811 rm -f core conftest*
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5815 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5816 if test "$am_cv_prog_cc_c_o" != yes; then
5817 # Losing compiler, so override with the script.
5818 # FIXME: It is wrong to rewrite CC.
5819 # But if we don't then we get into trouble of one sort or another.
5820 # A longer-term fix would be to have automake use am__CC in this case,
5821 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5822 CC="$am_aux_dir/compile $CC"
5825 ac_cpp='$CPP $CPPFLAGS'
5826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5831 depcc="$CC" am_compiler_list=
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5834 $as_echo_n "checking dependency style of $depcc... " >&6; }
5835 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5839 # We make a subdir and do the tests there. Otherwise we can end up
5840 # making bogus files that we don't know about and never remove. For
5841 # instance it was reported that on HP-UX the gcc test will end up
5842 # making a dummy file named 'D' -- because '-MD' means "put the output
5846 # Copy depcomp to subdir because otherwise we won't find it if we're
5847 # using a relative directory.
5848 cp "$am_depcomp" conftest.dir
5850 # We will build objects and dependencies in a subdirectory because
5851 # it helps to detect inapplicable dependency modes. For instance
5852 # both Tru64's cc and ICC support -MD to output dependencies as a
5853 # side effect of compilation, but ICC will put the dependencies in
5854 # the current directory while Tru64 will put them in the object
5858 am_cv_CC_dependencies_compiler_type=none
5859 if test "$am_compiler_list" = ""; then
5860 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5863 case " $depcc " in #(
5864 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5867 for depmode in $am_compiler_list; do
5868 # Setup a source with many dependencies, because some compilers
5869 # like to wrap large dependency lists on column 80 (with \), and
5870 # we should not choose a depcomp mode which is confused by this.
5872 # We need to recreate these files for each test, as the compiler may
5873 # overwrite some of them when testing with obscure command lines.
5874 # This happens at least with the AIX C compiler.
5876 for i in 1 2 3 4 5 6; do
5877 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5878 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5879 # Solaris 10 /bin/sh.
5880 echo '/* dummy */' > sub/conftst$i.h
5882 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5884 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5885 # mode. It turns out that the SunPro C++ compiler does not properly
5886 # handle '-M -o', and we need to detect this. Also, some Intel
5887 # versions had trouble with output in subdirs.
5888 am__obj=sub/conftest.${OBJEXT-o}
5889 am__minus_obj="-o $am__obj"
5892 # This depmode causes a compiler race in universal mode.
5893 test "$am__universal" = false || continue
5896 # After this tag, mechanisms are not by side-effect, so they'll
5897 # only be used when explicitly requested.
5898 if test "x$enable_dependency_tracking" = xyes; then
5904 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5905 # This compiler won't grok '-c -o', but also, the minuso test has
5906 # not run yet. These depmodes are late enough in the game, and
5907 # so weak that their functioning should not be impacted.
5908 am__obj=conftest.${OBJEXT-o}
5913 if depmode=$depmode \
5914 source=sub/conftest.c object=$am__obj \
5915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5916 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5917 >/dev/null 2>conftest.err &&
5918 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5919 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5920 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5921 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5922 # icc doesn't choke on unknown options, it will just issue warnings
5923 # or remarks (even with -Werror). So we grep stderr for any message
5924 # that says an option was ignored or not supported.
5925 # When given -MP, icc 7.0 and 7.1 complain thusly:
5926 # icc: Command line warning: ignoring option '-M'; no argument required
5927 # The diagnosis changed in icc 8.0:
5928 # icc: Command line remark: option '-MP' not supported
5929 if (grep 'ignoring option' conftest.err ||
5930 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5931 am_cv_CC_dependencies_compiler_type=$depmode
5940 am_cv_CC_dependencies_compiler_type=none
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5945 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5946 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5949 test "x$enable_dependency_tracking" != xno \
5950 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5952 am__fastdepCC_FALSE='#'
5954 am__fastdepCC_TRUE='#'
5955 am__fastdepCC_FALSE=
5965 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5967 if test "x$GCC" = "xyes"; then
5968 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5969 ## We like to use C11 and C99 routines when available. This makes
5971 ## __STDC_VERSION__ is set such that libc includes make them available.
5972 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5973 ## Compile the following tests with the same system header contents
5974 ## that we'll encounter when compiling our own source files.
5975 CFLAGS="-std=gnu11 $CFLAGS"
5978 xpowerpc64le*-linux*)
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 #if __SIZEOF_LONG_DOUBLE__ != 16
5982 #error long double is double
5992 if ac_fn_c_try_cpp "$LINENO"; then :
5993 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5994 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5995 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5998 rm -f conftest.err conftest.i conftest.$ac_ext
6004 if test "x$have_real_17" != xno; then
6006 HAVE_REAL_17_FALSE='#'
6008 HAVE_REAL_17_TRUE='#'
6013 # Add CET specific flags if CET is enabled
6014 # Check whether --enable-cet was given.
6015 if test "${enable_cet+set}" = set; then :
6016 enableval=$enable_cet;
6017 case "$enableval" in
6019 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6028 $as_echo_n "checking for CET support... " >&6; }
6030 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6032 i[34567]86-*-linux* | x86_64-*-linux*)
6033 case "$enable_cet" in
6035 # Check if target supports multi-byte NOPs
6036 # and if compiler and assembler support CET insn.
6037 cet_save_CFLAGS="$CFLAGS"
6038 CFLAGS="$CFLAGS -fcf-protection"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6046 #if !defined(__SSE2__)
6047 #error target does not support multi-byte NOPs
6056 if ac_fn_c_try_compile "$LINENO"; then :
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 CFLAGS="$cet_save_CFLAGS"
6065 # Check if assembler supports CET.
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6077 if ac_fn_c_try_compile "$LINENO"; then :
6080 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6090 if test x$enable_cet = xyes; then
6091 CET_FLAGS="-fcf-protection -mshstk"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6093 $as_echo "yes" >&6; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6099 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6100 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6101 CFLAGS="$CFLAGS $CET_FLAGS"
6107 # Check for symbol versioning (copied from libssp).
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6109 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6110 # Check whether --enable-symvers was given.
6111 if test "${enable_symvers+set}" = set; then :
6112 enableval=$enable_symvers; gfortran_use_symver=$enableval
6114 gfortran_use_symver=yes
6117 if test "x$gfortran_use_symver" != xno; then
6118 save_LDFLAGS="$LDFLAGS"
6119 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6120 cat > conftest.map <<EOF
6122 global: *foo*; bar; local: *;
6125 if test x$gcc_no_link = xyes; then
6126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6139 if ac_fn_c_try_link "$LINENO"; then :
6140 gfortran_use_symver=gnu
6142 gfortran_use_symver=no
6144 rm -f core conftest.err conftest.$ac_objext \
6145 conftest$ac_exeext conftest.$ac_ext
6146 if test x$gfortran_use_symver = xno; then
6147 case "$target_os" in
6149 LDFLAGS="$save_LDFLAGS"
6150 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6151 # Sun ld cannot handle wildcards and treats all entries as undefined.
6152 cat > conftest.map <<EOF
6154 global: foo; local: *;
6157 if test x$gcc_no_link = xyes; then
6158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h. */
6171 if ac_fn_c_try_link "$LINENO"; then :
6172 gfortran_use_symver=sun
6174 gfortran_use_symver=no
6176 rm -f core conftest.err conftest.$ac_objext \
6177 conftest$ac_exeext conftest.$ac_ext
6181 LDFLAGS="$save_LDFLAGS"
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6184 $as_echo "$gfortran_use_symver" >&6; }
6185 if test "x$gfortran_use_symver" != xno; then
6186 LIBGFOR_USE_SYMVER_TRUE=
6187 LIBGFOR_USE_SYMVER_FALSE='#'
6189 LIBGFOR_USE_SYMVER_TRUE='#'
6190 LIBGFOR_USE_SYMVER_FALSE=
6193 if test "x$gfortran_use_symver" = xgnu; then
6194 LIBGFOR_USE_SYMVER_GNU_TRUE=
6195 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6197 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6198 LIBGFOR_USE_SYMVER_GNU_FALSE=
6201 if test "x$gfortran_use_symver" = xsun; then
6202 LIBGFOR_USE_SYMVER_SUN_TRUE=
6203 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6205 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6206 LIBGFOR_USE_SYMVER_SUN_FALSE=
6210 # For GPU offloading, not everything in libfortran can be supported.
6211 # Currently, the only target that has this problem is nvptx. The
6212 # following is a (partial) list of features that are unsupportable on
6213 # this particular target:
6216 # * C library support for I/O, with printf as the one notable exception
6217 # * C library support for other features such as signal, environment
6218 # variables, time functions
6220 if test "x${target_cpu}" = xnvptx; then
6221 LIBGFOR_MINIMAL_TRUE=
6222 LIBGFOR_MINIMAL_FALSE='#'
6224 LIBGFOR_MINIMAL_TRUE='#'
6225 LIBGFOR_MINIMAL_FALSE=
6229 # Some compiler target support may have limited support for integer
6230 # or floating point numbers – or may want to reduce the libgfortran size
6231 # although they do have the support.
6232 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6233 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6238 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6239 # similarly to how libstdc++ does it
6240 ac_test_CFLAGS="${CFLAGS+set}"
6241 ac_save_CFLAGS="$CFLAGS"
6243 # Check for -ffunction-sections -fdata-sections
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6245 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6246 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6258 if ac_fn_c_try_compile "$LINENO"; then :
6263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 if test "$ac_test_CFLAGS" = set; then
6265 CFLAGS="$ac_save_CFLAGS"
6267 # this is the suspicious part
6270 if test x"$ac_fdsections" = x"yes"; then
6271 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6274 $as_echo "$ac_fdsections" >&6; }
6277 # Check linker hardware capability support.
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6279 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6280 if ${ac_cv_path_SED+:} false; then :
6281 $as_echo_n "(cached) " >&6
6283 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6284 for ac_i in 1 2 3 4 5 6 7; do
6285 ac_script="$ac_script$as_nl$ac_script"
6287 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6288 { ac_script=; unset ac_script;}
6289 if test -z "$SED"; then
6290 ac_path_SED_found=false
6291 # Loop through the user's path and test for each of PROGNAME-LIST
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 test -z "$as_dir" && as_dir=.
6297 for ac_prog in sed gsed; do
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6300 as_fn_executable_p "$ac_path_SED" || continue
6301 # Check for GNU ac_path_SED and select it if it is found.
6302 # Check for GNU $ac_path_SED
6303 case `"$ac_path_SED" --version 2>&1` in
6305 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6308 $as_echo_n 0123456789 >"conftest.in"
6311 cat "conftest.in" "conftest.in" >"conftest.tmp"
6312 mv "conftest.tmp" "conftest.in"
6313 cp "conftest.in" "conftest.nl"
6314 $as_echo '' >> "conftest.nl"
6315 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6317 as_fn_arith $ac_count + 1 && ac_count=$as_val
6318 if test $ac_count -gt ${ac_path_SED_max-0}; then
6319 # Best one so far, save it but keep looking for a better one
6320 ac_cv_path_SED="$ac_path_SED"
6321 ac_path_SED_max=$ac_count
6323 # 10*(2^10) chars as input seems more than enough
6324 test $ac_count -gt 10 && break
6326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6329 $ac_path_SED_found && break 3
6334 if test -z "$ac_cv_path_SED"; then
6335 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6343 $as_echo "$ac_cv_path_SED" >&6; }
6344 SED="$ac_cv_path_SED"
6347 test -z "$SED" && SED=sed
6348 Xsed="$SED -e 1s/^X//"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6361 $as_echo_n "checking for fgrep... " >&6; }
6362 if ${ac_cv_path_FGREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6365 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6366 then ac_cv_path_FGREP="$GREP -F"
6368 if test -z "$FGREP"; then
6369 ac_path_FGREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in fgrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_FGREP" || continue
6380 # Check for GNU ac_path_FGREP and select it if it is found.
6381 # Check for GNU $ac_path_FGREP
6382 case `"$ac_path_FGREP" --version 2>&1` in
6384 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6387 $as_echo_n 0123456789 >"conftest.in"
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'FGREP' >> "conftest.nl"
6394 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_FGREP="$ac_path_FGREP"
6400 ac_path_FGREP_max=$ac_count
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6408 $ac_path_FGREP_found && break 3
6413 if test -z "$ac_cv_path_FGREP"; then
6414 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6417 ac_cv_path_FGREP=$FGREP
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6423 $as_echo "$ac_cv_path_FGREP" >&6; }
6424 FGREP="$ac_cv_path_FGREP"
6427 test -z "$GREP" && GREP=grep
6445 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6446 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6447 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6450 $as_echo_n "checking how to print strings... " >&6; }
6451 # Test print first, because it will be a builtin if present.
6452 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6453 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6455 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6458 # Use this function as a fallback that always works.
6459 func_fallback_echo ()
6461 eval 'cat <<_LTECHO_EOF
6465 ECHO='func_fallback_echo'
6468 # func_echo_all arg...
6469 # Invoke $ECHO with all args, space-separated.
6476 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6477 $as_echo "printf" >&6; } ;;
6478 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6479 $as_echo "print -r" >&6; } ;;
6480 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6481 $as_echo "cat" >&6; } ;;
6499 # Check whether --with-gnu-ld was given.
6500 if test "${with_gnu_ld+set}" = set; then :
6501 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6507 if test "$GCC" = yes; then
6508 # Check if gcc -print-prog-name=ld gives a path.
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6510 $as_echo_n "checking for ld used by $CC... " >&6; }
6513 # gcc leaves a trailing carriage return which upsets mingw
6514 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6516 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6519 # Accept absolute paths.
6521 re_direlt='/[^/][^/]*/\.\./'
6522 # Canonicalize the pathname of ld
6523 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6524 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6525 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6527 test -z "$LD" && LD="$ac_prog"
6530 # If it fails, then pretend we aren't using GCC.
6534 # If it is relative, then search for the first ld in PATH.
6538 elif test "$with_gnu_ld" = yes; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6540 $as_echo_n "checking for GNU ld... " >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6543 $as_echo_n "checking for non-GNU ld... " >&6; }
6545 if ${lt_cv_path_LD+:} false; then :
6546 $as_echo_n "(cached) " >&6
6548 if test -z "$LD"; then
6549 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6550 for ac_dir in $PATH; do
6552 test -z "$ac_dir" && ac_dir=.
6553 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6554 lt_cv_path_LD="$ac_dir/$ac_prog"
6555 # Check to see if the program is GNU ld. I'd rather use --version,
6556 # but apparently some variants of GNU ld only accept -v.
6557 # Break only if it was the GNU/non-GNU ld that we prefer.
6558 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6559 *GNU* | *'with BFD'*)
6560 test "$with_gnu_ld" != no && break
6563 test "$with_gnu_ld" != yes && break
6570 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6575 if test -n "$LD"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6577 $as_echo "$LD" >&6; }
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6582 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6584 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6585 if ${lt_cv_prog_gnu_ld+:} false; then :
6586 $as_echo_n "(cached) " >&6
6588 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6589 case `$LD -v 2>&1 </dev
/null
` in
6590 *GNU* | *'with BFD'*)
6591 lt_cv_prog_gnu_ld=yes
6594 lt_cv_prog_gnu_ld=no
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6599 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6600 with_gnu_ld=$lt_cv_prog_gnu_ld
6611 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6614 ac_save_LDFLAGS="$LDFLAGS"
6615 LDFLAGS="$LFLAGS -mclear-hwcap"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6618 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6619 if test x$gcc_no_link = xyes; then
6620 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6633 if ac_fn_c_try_link "$LINENO"; then :
6634 ac_hwcap_ldflags=yes
6638 rm -f core conftest.err conftest.$ac_objext \
6639 conftest$ac_exeext conftest.$ac_ext
6640 if test "$ac_hwcap_ldflags" = "yes"; then
6641 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6644 $as_echo "$ac_hwcap_ldflags" >&6; }
6646 LDFLAGS="$ac_save_LDFLAGS"
6650 if test $ac_hwcap_ldflags != no; then
6652 HAVE_HWCAP_FALSE='#'
6660 # Find other programs we need.
6661 if test -n "$ac_tool_prefix"; then
6662 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6663 set dummy ${ac_tool_prefix}as; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_AS+:} false; then :
6667 $as_echo_n "(cached) " >&6
6669 if test -n "$AS"; then
6670 ac_cv_prog_AS="$AS" # Let the user override the test.
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_AS="${ac_tool_prefix}as"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 if test -n "$AS"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6692 $as_echo "$AS" >&6; }
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6700 if test -z "$ac_cv_prog_AS"; then
6702 # Extract the first word of "as", so it can be a program name with args.
6703 set dummy as; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6707 $as_echo_n "(cached) " >&6
6709 if test -n "$ac_ct_AS"; then
6710 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_prog_ac_ct_AS="as"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6730 if test -n "$ac_ct_AS"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6732 $as_echo "$ac_ct_AS" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6738 if test "x$ac_ct_AS" = x; then
6741 case $cross_compiling:$ac_tool_warned in
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6745 ac_tool_warned=yes ;;
6753 if test -n "$ac_tool_prefix"; then
6754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6755 set dummy ${ac_tool_prefix}ar; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if ${ac_cv_prog_AR+:} false; then :
6759 $as_echo_n "(cached) " >&6
6761 if test -n "$AR"; then
6762 ac_cv_prog_AR="$AR" # Let the user override the test.
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_AR="${ac_tool_prefix}ar"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 if test -n "$AR"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6784 $as_echo "$AR" >&6; }
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6792 if test -z "$ac_cv_prog_AR"; then
6794 # Extract the first word of "ar", so it can be a program name with args.
6795 set dummy ar; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6799 $as_echo_n "(cached) " >&6
6801 if test -n "$ac_ct_AR"; then
6802 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_ac_ct_AR="ar"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6822 if test -n "$ac_ct_AR"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6824 $as_echo "$ac_ct_AR" >&6; }
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
6830 if test "x$ac_ct_AR" = x; then
6833 case $cross_compiling:$ac_tool_warned in
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6837 ac_tool_warned=yes ;;
6845 if test -n "$ac_tool_prefix"; then
6846 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6847 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if ${ac_cv_prog_RANLIB+:} false; then :
6851 $as_echo_n "(cached) " >&6
6853 if test -n "$RANLIB"; then
6854 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 RANLIB=$ac_cv_prog_RANLIB
6874 if test -n "$RANLIB"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6876 $as_echo "$RANLIB" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6884 if test -z "$ac_cv_prog_RANLIB"; then
6885 ac_ct_RANLIB=$RANLIB
6886 # Extract the first word of "ranlib", so it can be a program name with args.
6887 set dummy ranlib; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6891 $as_echo_n "(cached) " >&6
6893 if test -n "$ac_ct_RANLIB"; then
6894 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_ac_ct_RANLIB="ranlib"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6914 if test -n "$ac_ct_RANLIB"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6916 $as_echo "$ac_ct_RANLIB" >&6; }
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6922 if test "x$ac_ct_RANLIB" = x; then
6923 RANLIB="ranlib-not-found-in-path-error"
6925 case $cross_compiling:$ac_tool_warned in
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6931 RANLIB=$ac_ct_RANLIB
6934 RANLIB="$ac_cv_prog_RANLIB"
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6938 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6940 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6941 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6942 $as_echo_n "(cached) " >&6
6944 cat >conftest.make <<\_ACEOF
6947 @echo '@@@%%%=$(MAKE)=@@@%%%'
6949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6950 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6952 eval ac_cv_prog_make_${ac_make}_set=yes;;
6954 eval ac_cv_prog_make_${ac_make}_set=no;;
6958 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6960 $as_echo "yes" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 SET_MAKE="MAKE=${MAKE-make}"
6971 #AC_MSG_NOTICE([====== Starting libtool configuration])
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6979 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6984 macro_version='2.2.7a'
6985 macro_revision='1.3134'
6999 ltmain="$ac_aux_dir/ltmain.sh"
7001 # Backslashify metacharacters that are still active within
7002 # double-quoted strings.
7003 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
7005 # Same as above, but do not quote variable references.
7006 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7008 # Sed substitution to delay expansion of an escaped shell variable in a
7009 # double_quote_subst'ed string.
7010 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7012 # Sed substitution to delay expansion of an escaped single quote.
7013 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7015 # Sed substitution to avoid accidental globbing in evaled expressions
7016 no_glob_subst='s/\*/\\\*/g'
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7019 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7020 if ${lt_cv_path_NM+:} false; then :
7021 $as_echo_n "(cached
) " >&6
7023 if test -n "$NM"; then
7024 # Let the user override the nm to test.
7025 lt_nm_to_check="$NM"
7027 lt_nm_to_check="${ac_tool_prefix}nm
"
7028 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7029 lt_nm_to_check="$lt_nm_to_check nm
"
7032 for lt_tmp_nm in "$lt_nm_to_check"; do
7033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7034 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7036 test -z "$ac_dir" && ac_dir=.
7037 # Strip out any user-provided options from the nm to test twice,
7038 # the first time to test to see if nm (rather than its options) has
7039 # an explicit path, the second time to yield a file which can be
7041 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7042 case "$tmp_nm_path" in
7043 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7044 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7046 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7047 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7048 # Check to see if the nm accepts a BSD-compat flag.
7049 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7050 # nm: unknown option "B
" ignored
7051 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7052 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7056 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7058 lt_cv_path_NM="$tmp_nm -p"
7062 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7063 continue # so that we can try to find one that supports BSD flags
7072 : ${lt_cv_path_NM=no}
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7075 $as_echo "$lt_cv_path_NM" >&6; }
7076 if test "$lt_cv_path_NM" != "no
"; then
7079 # Didn't find any BSD compatible name lister, look for dumpbin.
7080 if test -n "$DUMPBIN"; then :
7081 # Let the user override the test.
7083 if test -n "$ac_tool_prefix"; then
7084 for ac_prog in dumpbin "link
-dump"
7086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7089 $as_echo_n "checking
for $ac_word...
" >&6; }
7090 if ${ac_cv_prog_DUMPBIN+:} false; then :
7091 $as_echo_n "(cached
) " >&6
7093 if test -n "$DUMPBIN"; then
7094 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7113 DUMPBIN=$ac_cv_prog_DUMPBIN
7114 if test -n "$DUMPBIN"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7116 $as_echo "$DUMPBIN" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7119 $as_echo "no
" >&6; }
7123 test -n "$DUMPBIN" && break
7126 if test -z "$DUMPBIN"; then
7127 ac_ct_DUMPBIN=$DUMPBIN
7128 for ac_prog in dumpbin "link
-dump"
7130 # Extract the first word of "$ac_prog", so it can be a program name with args.
7131 set dummy $ac_prog; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7133 $as_echo_n "checking
for $ac_word...
" >&6; }
7134 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7135 $as_echo_n "(cached
) " >&6
7137 if test -n "$ac_ct_DUMPBIN"; then
7138 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7157 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7158 if test -n "$ac_ct_DUMPBIN"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7160 $as_echo "$ac_ct_DUMPBIN" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7163 $as_echo "no
" >&6; }
7167 test -n "$ac_ct_DUMPBIN" && break
7170 if test "x
$ac_ct_DUMPBIN" = x; then
7173 case $cross_compiling:$ac_tool_warned in
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7176 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7177 ac_tool_warned=yes ;;
7179 DUMPBIN=$ac_ct_DUMPBIN
7183 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7185 DUMPBIN="$DUMPBIN -symbols"
7193 if test "$DUMPBIN" != ":"; then
7197 test -z "$NM" && NM=nm
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7205 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7206 if ${lt_cv_nm_interface+:} false; then :
7207 $as_echo_n "(cached
) " >&6
7209 lt_cv_nm_interface="BSD nm
"
7210 echo "int some_variable
= 0;" > conftest.$ac_ext
7211 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7212 (eval "$ac_compile" 2>conftest.err)
7213 cat conftest.err >&5
7214 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7215 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7216 cat conftest.err >&5
7217 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7218 cat conftest.out >&5
7219 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7220 lt_cv_nm_interface="MS dumpbin
"
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7225 $as_echo "$lt_cv_nm_interface" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7228 $as_echo_n "checking whether
ln -s works...
" >&6; }
7230 if test "$LN_S" = "ln -s"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7232 $as_echo "yes" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7235 $as_echo "no
, using
$LN_S" >&6; }
7238 # find the maximum length of command line arguments
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7240 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7241 if ${lt_cv_sys_max_cmd_len+:} false; then :
7242 $as_echo_n "(cached
) " >&6
7249 # On DJGPP, this test can blow up pretty badly due to problems in libc
7250 # (any single argument exceeding 2000 bytes causes a buffer overrun
7251 # during glob expansion). Even if it were fixed, the result of this
7252 # check would be larger than it should be.
7253 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7257 # Under GNU Hurd, this test is not required because there is
7258 # no limit to the length of command line arguments.
7259 # Libtool will interpret -1 as no limit whatsoever
7260 lt_cv_sys_max_cmd_len=-1;
7263 cygwin* | mingw* | cegcc*)
7264 # On Win9x/ME, this test blows up -- it succeeds, but takes
7265 # about 5 minutes as the teststring grows exponentially.
7266 # Worse, since 9x/ME are not pre-emptively multitasking,
7267 # you end up with a "frozen
" computer, even though with patience
7268 # the test eventually succeeds (with a max line length of 256k).
7269 # Instead, let's just punt: use the minimum linelength reported by
7270 # all of the supported platforms: 8192 (on NT/2K/XP).
7271 lt_cv_sys_max_cmd_len=8192;
7275 # On MiNT this can take a long time and run out of memory.
7276 lt_cv_sys_max_cmd_len=8192;
7280 # On AmigaOS with pdksh, this test takes hours, literally.
7281 # So we just punt and use a minimum line length of 8192.
7282 lt_cv_sys_max_cmd_len=8192;
7285 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7286 # This has been around since 386BSD, at least. Likely further.
7287 if test -x /sbin/sysctl; then
7288 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7289 elif test -x /usr/sbin/sysctl; then
7290 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7292 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7294 # And add a safety zone
7295 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7296 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7300 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7301 lt_cv_sys_max_cmd_len=196608
7305 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7306 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7307 # nice to cause kernel panics so lets avoid the loop below.
7308 # First set a reasonable default.
7309 lt_cv_sys_max_cmd_len=16384
7311 if test -x /sbin/sysconfig; then
7312 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7313 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7318 lt_cv_sys_max_cmd_len=102400
7320 sysv5* | sco5v6* | sysv4.2uw2*)
7321 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7322 if test -n "$kargmax"; then
7323 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7325 lt_cv_sys_max_cmd_len=32768
7329 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7330 if test -n "$lt_cv_sys_max_cmd_len"; then
7331 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7334 # Make teststring a little bigger before we do anything with it.
7335 # a 1K string should be a reasonable start.
7336 for i in 1 2 3 4 5 6 7 8 ; do
7337 teststring=$teststring$teststring
7339 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7340 # If test is not a shell built-in, we'll probably end up computing a
7341 # maximum length that is only half of the actual maximum length, but
7343 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7344 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7345 test $i != 17 # 1/2 MB should be enough
7348 teststring=$teststring$teststring
7350 # Only check the string length outside the loop.
7351 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7353 # Add a significant safety factor because C++ compilers can tack on
7354 # massive amounts of additional arguments before passing them to the
7355 # linker. It appears as though 1/2 is a usable value.
7356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7363 if test -n $lt_cv_sys_max_cmd_len ; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7365 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7368 $as_echo "none
" >&6; }
7370 max_cmd_len=$lt_cv_sys_max_cmd_len
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7382 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7383 # Try some XSI features
7386 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7388 && eval 'test $(( 1 + 1 )) -eq 2 \
7389 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7392 $as_echo "$xsi_shell" >&6; }
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7396 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7398 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7400 && lt_shell_append
=yes
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7402 $as_echo "$lt_shell_append" >&6; }
7405 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7415 # test EBCDIC or ASCII
7416 case `echo X|tr X '\101'` in
7417 A
) # ASCII based system
7418 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7419 lt_SP2NL
='tr \040 \012'
7420 lt_NL2SP
='tr \015\012 \040\040'
7422 *) # EBCDIC based system
7423 lt_SP2NL
='tr \100 \n'
7424 lt_NL2SP
='tr \r\n \100\100'
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7437 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7438 if ${lt_cv_ld_reload_flag+:} false
; then :
7439 $as_echo_n "(cached) " >&6
7441 lt_cv_ld_reload_flag
='-r'
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7444 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7445 reload_flag
=$lt_cv_ld_reload_flag
7446 case $reload_flag in
7448 *) reload_flag
=" $reload_flag" ;;
7450 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7453 if test "$GCC" = yes; then
7454 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7456 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7469 if test -n "$ac_tool_prefix"; then
7470 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7471 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7475 $as_echo_n "(cached) " >&6
7477 if test -n "$OBJDUMP"; then
7478 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7484 test -z "$as_dir" && as_dir
=.
7485 for ac_exec_ext
in '' $ac_executable_extensions; do
7486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 OBJDUMP
=$ac_cv_prog_OBJDUMP
7498 if test -n "$OBJDUMP"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7500 $as_echo "$OBJDUMP" >&6; }
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7508 if test -z "$ac_cv_prog_OBJDUMP"; then
7509 ac_ct_OBJDUMP
=$OBJDUMP
7510 # Extract the first word of "objdump", so it can be a program name with args.
7511 set dummy objdump
; ac_word
=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7515 $as_echo_n "(cached) " >&6
7517 if test -n "$ac_ct_OBJDUMP"; then
7518 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7524 test -z "$as_dir" && as_dir
=.
7525 for ac_exec_ext
in '' $ac_executable_extensions; do
7526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7538 if test -n "$ac_ct_OBJDUMP"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7540 $as_echo "$ac_ct_OBJDUMP" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7546 if test "x$ac_ct_OBJDUMP" = x
; then
7549 case $cross_compiling:$ac_tool_warned in
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553 ac_tool_warned
=yes ;;
7555 OBJDUMP
=$ac_ct_OBJDUMP
7558 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7561 test -z "$OBJDUMP" && OBJDUMP
=objdump
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7572 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7573 if ${lt_cv_deplibs_check_method+:} false
; then :
7574 $as_echo_n "(cached) " >&6
7576 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7577 lt_cv_file_magic_test_file
=
7578 lt_cv_deplibs_check_method
='unknown'
7579 # Need to set the preceding variable on all platforms that support
7580 # interlibrary dependencies.
7581 # 'none' -- dependencies not supported.
7582 # `unknown' -- same as none, but documents that we really don't know.
7583 # 'pass_all' -- all dependencies passed with no checks.
7584 # 'test_compile' -- check by making test program.
7585 # 'file_magic [[regex]]' -- check by looking for files in library path
7586 # which responds to the $file_magic_cmd with a given extended regex.
7587 # If you have `file' or equivalent on your system and you're not sure
7588 # whether `pass_all' will *always* work, you probably want this one.
7592 lt_cv_deplibs_check_method
=pass_all
7596 lt_cv_deplibs_check_method
=pass_all
7600 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7601 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7602 lt_cv_file_magic_test_file
=/shlib
/libc.so
7606 # func_win32_libid is a shell function defined in ltmain.sh
7607 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7608 lt_cv_file_magic_cmd
='func_win32_libid'
7612 # Base MSYS/MinGW do not provide the 'file' command needed by
7613 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7614 # unless we find 'file', for example because we are cross-compiling.
7615 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7616 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7617 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7618 lt_cv_file_magic_cmd
='func_win32_libid'
7620 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7621 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7626 # use the weaker test based on 'objdump'. See mingw*.
7627 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7628 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7631 darwin
* | rhapsody
*)
7632 lt_cv_deplibs_check_method
=pass_all
7635 freebsd
* | dragonfly
*)
7636 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7639 # Not sure whether the presence of OpenBSD here was a mistake.
7640 # Let's accept both of them until this is cleared up.
7641 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7642 lt_cv_file_magic_cmd
=/usr
/bin
/file
7643 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7647 lt_cv_deplibs_check_method
=pass_all
7652 lt_cv_deplibs_check_method
=pass_all
7656 lt_cv_deplibs_check_method
=pass_all
7659 hpux10.20
* | hpux11
*)
7660 lt_cv_file_magic_cmd
=/usr
/bin
/file
7663 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7664 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7667 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]'
7668 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7671 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7672 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7678 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7679 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7682 irix5
* | irix6
* | nonstopux
*)
7684 *-32|
*"-32 ") libmagic
=32-bit;;
7685 *-n32|
*"-n32 ") libmagic
=N32
;;
7686 *-64|
*"-64 ") libmagic
=64-bit;;
7687 *) libmagic
=never-match
;;
7689 lt_cv_deplibs_check_method
=pass_all
7692 # This must be Linux ELF.
7693 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7694 lt_cv_deplibs_check_method
=pass_all
7698 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7699 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7701 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7706 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7707 lt_cv_file_magic_cmd
=/usr
/bin
/file
7708 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7712 lt_cv_deplibs_check_method
=pass_all
7716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7717 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7719 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7723 osf3
* | osf4
* | osf5
*)
7724 lt_cv_deplibs_check_method
=pass_all
7728 lt_cv_deplibs_check_method
=pass_all
7732 lt_cv_deplibs_check_method
=pass_all
7735 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7736 lt_cv_deplibs_check_method
=pass_all
7740 case $host_vendor in
7742 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]'
7743 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7746 lt_cv_deplibs_check_method
=pass_all
7749 lt_cv_file_magic_cmd
='/bin/file'
7750 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7753 lt_cv_file_magic_cmd
='/bin/file'
7754 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7755 lt_cv_file_magic_test_file
=/lib
/libc.so
7758 lt_cv_deplibs_check_method
=pass_all
7761 lt_cv_deplibs_check_method
=pass_all
7767 lt_cv_deplibs_check_method
=pass_all
7770 # Assume VxWorks cross toolchains are built on Linux, possibly
7771 # as canadian for Windows hosts.
7772 lt_cv_deplibs_check_method
=pass_all
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7778 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7779 file_magic_cmd
=$lt_cv_file_magic_cmd
7780 deplibs_check_method
=$lt_cv_deplibs_check_method
7781 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7795 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7796 for plugin
in $plugin_names; do
7797 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
7798 if test x
$plugin_so = x
$plugin; then
7799 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
7801 if test x
$plugin_so != x
$plugin; then
7802 plugin_option
="--plugin $plugin_so"
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7809 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_prog_AR+:} false
; then :
7813 $as_echo_n "(cached) " >&6
7815 if test -n "$AR"; then
7816 ac_cv_prog_AR
="$AR" # Let the user override the test.
7818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7822 test -z "$as_dir" && as_dir
=.
7823 for ac_exec_ext
in '' $ac_executable_extensions; do
7824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 if test -n "$AR"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7838 $as_echo "$AR" >&6; }
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7846 if test -z "$ac_cv_prog_AR"; then
7848 # Extract the first word of "ar", so it can be a program name with args.
7849 set dummy
ar; ac_word
=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851 $as_echo_n "checking for $ac_word... " >&6; }
7852 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7853 $as_echo_n "(cached) " >&6
7855 if test -n "$ac_ct_AR"; then
7856 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir
=.
7863 for ac_exec_ext
in '' $ac_executable_extensions; do
7864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_ac_ct_AR
="ar"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7876 if test -n "$ac_ct_AR"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7878 $as_echo "$ac_ct_AR" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7884 if test "x$ac_ct_AR" = x
; then
7887 case $cross_compiling:$ac_tool_warned in
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891 ac_tool_warned
=yes ;;
7899 test -z "$AR" && AR
=ar
7900 if test -n "$plugin_option"; then
7901 if $AR --help 2>&1 |
grep -q "\--plugin"; then
7903 $AR $plugin_option rc conftest.a conftest.c
7904 if test "$?" != 0; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7906 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7908 AR
="$AR $plugin_option"
7913 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7927 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_STRIP+:} false
; then :
7931 $as_echo_n "(cached) " >&6
7933 if test -n "$STRIP"; then
7934 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7940 test -z "$as_dir" && as_dir
=.
7941 for ac_exec_ext
in '' $ac_executable_extensions; do
7942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 STRIP
=$ac_cv_prog_STRIP
7954 if test -n "$STRIP"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7956 $as_echo "$STRIP" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_STRIP"; then
7966 # Extract the first word of "strip", so it can be a program name with args.
7967 set dummy strip
; ac_word
=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7971 $as_echo_n "(cached) " >&6
7973 if test -n "$ac_ct_STRIP"; then
7974 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7980 test -z "$as_dir" && as_dir
=.
7981 for ac_exec_ext
in '' $ac_executable_extensions; do
7982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_STRIP
="strip"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7994 if test -n "$ac_ct_STRIP"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7996 $as_echo "$ac_ct_STRIP" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_STRIP" = x
; then
8005 case $cross_compiling:$ac_tool_warned in
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned
=yes ;;
8014 STRIP
="$ac_cv_prog_STRIP"
8017 test -z "$STRIP" && STRIP
=:
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8026 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_RANLIB+:} false
; then :
8030 $as_echo_n "(cached) " >&6
8032 if test -n "$RANLIB"; then
8033 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir
=.
8040 for ac_exec_ext
in '' $ac_executable_extensions; do
8041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 RANLIB
=$ac_cv_prog_RANLIB
8053 if test -n "$RANLIB"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8055 $as_echo "$RANLIB" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8063 if test -z "$ac_cv_prog_RANLIB"; then
8064 ac_ct_RANLIB
=$RANLIB
8065 # Extract the first word of "ranlib", so it can be a program name with args.
8066 set dummy ranlib
; ac_word
=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8070 $as_echo_n "(cached) " >&6
8072 if test -n "$ac_ct_RANLIB"; then
8073 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir
=.
8080 for ac_exec_ext
in '' $ac_executable_extensions; do
8081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8093 if test -n "$ac_ct_RANLIB"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8095 $as_echo "$ac_ct_RANLIB" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8101 if test "x$ac_ct_RANLIB" = x
; then
8104 case $cross_compiling:$ac_tool_warned in
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8108 ac_tool_warned
=yes ;;
8110 RANLIB
=$ac_ct_RANLIB
8113 RANLIB
="$ac_cv_prog_RANLIB"
8116 test -z "$RANLIB" && RANLIB
=:
8117 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8118 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
8119 RANLIB
="$RANLIB $plugin_option"
8128 # Determine commands to create old-style static archives.
8129 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8130 old_postinstall_cmds
='chmod 644 $oldlib'
8131 old_postuninstall_cmds
=
8133 if test -n "$RANLIB"; then
8136 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8139 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8142 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8147 lock_old_archive_extraction
=yes ;;
8149 lock_old_archive_extraction
=no
;;
8190 # If no C compiler was specified, use CC.
8193 # If no C compiler flags were specified, use CFLAGS.
8194 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8196 # Allow CC to be a program name with arguments.
8200 # Check for command to grab the raw symbol name followed by C symbol from nm.
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8202 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8203 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8204 $as_echo_n "(cached) " >&6
8207 # These are sane defaults that work on at least a few old systems.
8208 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8210 # Character class describing NM global symbol codes.
8211 symcode
='[BCDEGRST]'
8213 # Regexp to match symbols that can be accessed directly from C.
8214 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8216 # Define system-specific variables.
8221 cygwin
* | mingw
* | pw32
* | cegcc
*)
8222 symcode
='[ABCDGISTW]'
8225 if test "$host_cpu" = ia64
; then
8226 symcode
='[ABCDEGRST]'
8230 symcode
='[BCDEGRST]'
8233 symcode
='[BCDEGQRST]'
8244 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8252 # If we're using GNU nm, then use its standard symbol codes.
8253 case `$NM -V 2>&1` in
8254 *GNU
* |
*'with BFD'*)
8255 symcode
='[ABCDGIRSTW]' ;;
8258 # Transform an extracted symbol line into a proper C declaration.
8259 # Some systems (esp. on ia64) link data and code symbols differently,
8260 # so use this general approach.
8261 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8263 # Transform an extracted symbol line into symbol name and symbol address
8264 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8265 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'"
8267 # Handle CRLF in mingw tool chain
8271 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8275 # Try without a prefix underscore, then with it.
8276 for ac_symprfx
in "" "_"; do
8278 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8279 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8281 # Write the raw and C identifiers.
8282 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8283 # Fake it for dumpbin and say T for any non-static function
8284 # and D for any global variable.
8285 # Also find C++ and __fastcall symbols from MSVC++,
8286 # which start with @ or ?.
8287 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8288 " {last_section=section; section=\$ 3};"\
8289 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8290 " \$ 0!~/External *\|/{next};"\
8291 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8292 " {if(hide[section]) next};"\
8293 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8294 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8295 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8296 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8297 " ' prfx=^$ac_symprfx"
8299 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8302 # Check to see that the pipe works correctly.
8306 cat > conftest.
$ac_ext <<_LT_EOF
8311 void nm_test_func(void);
8312 void nm_test_func(void){}
8316 int main(){nm_test_var='a';nm_test_func();return(0);}
8319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8320 (eval $ac_compile) 2>&5
8322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8323 test $ac_status = 0; }; then
8324 # Now try to grab the symbols.
8326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8327 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330 test $ac_status = 0; } && test -s "$nlist"; then
8331 # Try sorting and uniquifying the output.
8332 if sort "$nlist" |
uniq > "$nlist"T
; then
8333 mv -f "$nlist"T
"$nlist"
8338 # Make sure that we snagged all the symbols we need.
8339 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8340 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8341 cat <<_LT_EOF > conftest.$ac_ext
8347 # Now generate the symbol file.
8348 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8350 cat <<_LT_EOF >> conftest.$ac_ext
8352 /* The mapping between symbol names and symbols. */
8357 lt__PROGRAM__LTX_preloaded_symbols[] =
8359 { "@PROGRAM@", (void *) 0 },
8361 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8362 cat <<\_LT_EOF
>> conftest.
$ac_ext
8366 /* This works around a problem
in FreeBSD linker
*/
8367 #ifdef FREEBSD_WORKAROUND
8368 static const void
*lt_preloaded_setup
() {
8369 return lt__PROGRAM__LTX_preloaded_symbols
;
8377 # Now try linking the two files.
8378 mv conftest.
$ac_objext conftstm.
$ac_objext
8379 lt_save_LIBS
="$LIBS"
8380 lt_save_CFLAGS
="$CFLAGS"
8381 LIBS
="conftstm.$ac_objext"
8382 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8384 (eval $ac_link) 2>&5
8386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8387 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8390 LIBS
="$lt_save_LIBS"
8391 CFLAGS
="$lt_save_CFLAGS"
8393 echo "cannot find nm_test_func in $nlist" >&5
8396 echo "cannot find nm_test_var in $nlist" >&5
8399 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8402 echo "$progname: failed program was:" >&5
8403 cat conftest.
$ac_ext >&5
8405 rm -rf conftest
* conftst
*
8407 # Do not use the global_symbol_pipe unless it works.
8408 if test "$pipe_works" = yes; then
8411 lt_cv_sys_global_symbol_pipe
=
8417 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8418 lt_cv_sys_global_symbol_to_cdecl
=
8420 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8422 $as_echo "failed" >&6; }
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8425 $as_echo "ok" >&6; }
8449 # Check whether --enable-libtool-lock was given.
8450 if test "${enable_libtool_lock+set}" = set; then :
8451 enableval
=$enable_libtool_lock;
8454 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8456 # Some flags need to be propagated to the compiler or linker for good
8460 # Find out which ABI we are using.
8461 echo 'int i;' > conftest.
$ac_ext
8462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8463 (eval $ac_compile) 2>&5
8465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8466 test $ac_status = 0; }; then
8467 case `/usr/bin/file conftest.$ac_objext` in
8479 # Find out which ABI we are using.
8480 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8482 (eval $ac_compile) 2>&5
8484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8485 test $ac_status = 0; }; then
8486 if test "$lt_cv_prog_gnu_ld" = yes; then
8487 case `/usr/bin/file conftest.$ac_objext` in
8489 LD
="${LD-ld} -melf32bsmip"
8492 LD
="${LD-ld} -melf32bmipn32"
8495 LD
="${LD-ld} -melf64bmip"
8499 case `/usr/bin/file conftest.$ac_objext` in
8515 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8516 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8517 # Find out which ABI we are using.
8518 echo 'int i;' > conftest.
$ac_ext
8519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8520 (eval $ac_compile) 2>&5
8522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8523 test $ac_status = 0; }; then
8524 case `/usr/bin/file conftest.o` in
8527 x86_64-
*kfreebsd
*-gnu)
8528 LD
="${LD-ld} -m elf_i386_fbsd"
8531 case `/usr/bin/file conftest.o` in
8533 LD
="${LD-ld} -m elf32_x86_64"
8536 LD
="${LD-ld} -m elf_i386"
8540 powerpc64le-
*linux
*)
8541 LD
="${LD-ld} -m elf32lppclinux"
8544 LD
="${LD-ld} -m elf32ppclinux"
8547 LD
="${LD-ld} -m elf_s390"
8550 LD
="${LD-ld} -m elf32_sparc"
8556 x86_64-
*kfreebsd
*-gnu)
8557 LD
="${LD-ld} -m elf_x86_64_fbsd"
8560 LD
="${LD-ld} -m elf_x86_64"
8563 LD
="${LD-ld} -m elf64lppc"
8566 LD
="${LD-ld} -m elf64ppc"
8568 s390
*-*linux
*|s390
*-*tpf
*)
8569 LD
="${LD-ld} -m elf64_s390"
8572 LD
="${LD-ld} -m elf64_sparc"
8582 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8583 SAVE_CFLAGS
="$CFLAGS"
8584 CFLAGS
="$CFLAGS -belf"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8586 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8587 if ${lt_cv_cc_needs_belf+:} false
; then :
8588 $as_echo_n "(cached) " >&6
8591 ac_cpp
='$CPP $CPPFLAGS'
8592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8596 if test x
$gcc_no_link = xyes
; then
8597 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8610 if ac_fn_c_try_link
"$LINENO"; then :
8611 lt_cv_cc_needs_belf
=yes
8613 lt_cv_cc_needs_belf
=no
8615 rm -f core conftest.err conftest.
$ac_objext \
8616 conftest
$ac_exeext conftest.
$ac_ext
8618 ac_cpp
='$CPP $CPPFLAGS'
8619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8625 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8626 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8627 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8628 CFLAGS
="$SAVE_CFLAGS"
8632 # Find out which ABI we are using.
8633 echo 'int i;' > conftest.
$ac_ext
8634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8635 (eval $ac_compile) 2>&5
8637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8638 test $ac_status = 0; }; then
8639 case `/usr/bin/file conftest.o` in
8641 case $lt_cv_prog_gnu_ld in
8642 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8644 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8656 need_locks
="$enable_libtool_lock"
8660 rhapsody
* | darwin
*)
8661 if test -n "$ac_tool_prefix"; then
8662 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8663 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8667 $as_echo_n "(cached) " >&6
8669 if test -n "$DSYMUTIL"; then
8670 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8676 test -z "$as_dir" && as_dir
=.
8677 for ac_exec_ext
in '' $ac_executable_extensions; do
8678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8679 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8690 if test -n "$DSYMUTIL"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8692 $as_echo "$DSYMUTIL" >&6; }
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8700 if test -z "$ac_cv_prog_DSYMUTIL"; then
8701 ac_ct_DSYMUTIL
=$DSYMUTIL
8702 # Extract the first word of "dsymutil", so it can be a program name with args.
8703 set dummy dsymutil
; ac_word
=$2
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8705 $as_echo_n "checking for $ac_word... " >&6; }
8706 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8707 $as_echo_n "(cached) " >&6
8709 if test -n "$ac_ct_DSYMUTIL"; then
8710 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8716 test -z "$as_dir" && as_dir
=.
8717 for ac_exec_ext
in '' $ac_executable_extensions; do
8718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8719 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8729 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8730 if test -n "$ac_ct_DSYMUTIL"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8732 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8738 if test "x$ac_ct_DSYMUTIL" = x
; then
8741 case $cross_compiling:$ac_tool_warned in
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8745 ac_tool_warned
=yes ;;
8747 DSYMUTIL
=$ac_ct_DSYMUTIL
8750 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8753 if test -n "$ac_tool_prefix"; then
8754 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8755 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8757 $as_echo_n "checking for $ac_word... " >&6; }
8758 if ${ac_cv_prog_NMEDIT+:} false
; then :
8759 $as_echo_n "(cached) " >&6
8761 if test -n "$NMEDIT"; then
8762 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir
=.
8769 for ac_exec_ext
in '' $ac_executable_extensions; do
8770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8781 NMEDIT
=$ac_cv_prog_NMEDIT
8782 if test -n "$NMEDIT"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8784 $as_echo "$NMEDIT" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8787 $as_echo "no" >&6; }
8792 if test -z "$ac_cv_prog_NMEDIT"; then
8793 ac_ct_NMEDIT
=$NMEDIT
8794 # Extract the first word of "nmedit", so it can be a program name with args.
8795 set dummy nmedit
; ac_word
=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8797 $as_echo_n "checking for $ac_word... " >&6; }
8798 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8799 $as_echo_n "(cached) " >&6
8801 if test -n "$ac_ct_NMEDIT"; then
8802 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir
=.
8809 for ac_exec_ext
in '' $ac_executable_extensions; do
8810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8811 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8821 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8822 if test -n "$ac_ct_NMEDIT"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8824 $as_echo "$ac_ct_NMEDIT" >&6; }
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 $as_echo "no" >&6; }
8830 if test "x$ac_ct_NMEDIT" = x
; then
8833 case $cross_compiling:$ac_tool_warned in
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8837 ac_tool_warned
=yes ;;
8839 NMEDIT
=$ac_ct_NMEDIT
8842 NMEDIT
="$ac_cv_prog_NMEDIT"
8845 if test -n "$ac_tool_prefix"; then
8846 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8847 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8849 $as_echo_n "checking for $ac_word... " >&6; }
8850 if ${ac_cv_prog_LIPO+:} false
; then :
8851 $as_echo_n "(cached) " >&6
8853 if test -n "$LIPO"; then
8854 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir
=.
8861 for ac_exec_ext
in '' $ac_executable_extensions; do
8862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8873 LIPO
=$ac_cv_prog_LIPO
8874 if test -n "$LIPO"; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8876 $as_echo "$LIPO" >&6; }
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8884 if test -z "$ac_cv_prog_LIPO"; then
8886 # Extract the first word of "lipo", so it can be a program name with args.
8887 set dummy lipo
; ac_word
=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8891 $as_echo_n "(cached) " >&6
8893 if test -n "$ac_ct_LIPO"; then
8894 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8900 test -z "$as_dir" && as_dir
=.
8901 for ac_exec_ext
in '' $ac_executable_extensions; do
8902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8903 ac_cv_prog_ac_ct_LIPO
="lipo"
8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8913 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8914 if test -n "$ac_ct_LIPO"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8916 $as_echo "$ac_ct_LIPO" >&6; }
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8922 if test "x$ac_ct_LIPO" = x
; then
8925 case $cross_compiling:$ac_tool_warned in
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8929 ac_tool_warned
=yes ;;
8934 LIPO
="$ac_cv_prog_LIPO"
8937 if test -n "$ac_tool_prefix"; then
8938 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8939 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8941 $as_echo_n "checking for $ac_word... " >&6; }
8942 if ${ac_cv_prog_OTOOL+:} false
; then :
8943 $as_echo_n "(cached) " >&6
8945 if test -n "$OTOOL"; then
8946 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8952 test -z "$as_dir" && as_dir
=.
8953 for ac_exec_ext
in '' $ac_executable_extensions; do
8954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8955 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8965 OTOOL
=$ac_cv_prog_OTOOL
8966 if test -n "$OTOOL"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8968 $as_echo "$OTOOL" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8976 if test -z "$ac_cv_prog_OTOOL"; then
8978 # Extract the first word of "otool", so it can be a program name with args.
8979 set dummy otool
; ac_word
=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8983 $as_echo_n "(cached) " >&6
8985 if test -n "$ac_ct_OTOOL"; then
8986 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8992 test -z "$as_dir" && as_dir
=.
8993 for ac_exec_ext
in '' $ac_executable_extensions; do
8994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8995 ac_cv_prog_ac_ct_OTOOL
="otool"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9005 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9006 if test -n "$ac_ct_OTOOL"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9008 $as_echo "$ac_ct_OTOOL" >&6; }
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9014 if test "x$ac_ct_OTOOL" = x
; then
9017 case $cross_compiling:$ac_tool_warned in
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9021 ac_tool_warned
=yes ;;
9026 OTOOL
="$ac_cv_prog_OTOOL"
9029 if test -n "$ac_tool_prefix"; then
9030 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9031 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9033 $as_echo_n "checking for $ac_word... " >&6; }
9034 if ${ac_cv_prog_OTOOL64+:} false
; then :
9035 $as_echo_n "(cached) " >&6
9037 if test -n "$OTOOL64"; then
9038 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9044 test -z "$as_dir" && as_dir
=.
9045 for ac_exec_ext
in '' $ac_executable_extensions; do
9046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9047 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9057 OTOOL64
=$ac_cv_prog_OTOOL64
9058 if test -n "$OTOOL64"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9060 $as_echo "$OTOOL64" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9068 if test -z "$ac_cv_prog_OTOOL64"; then
9069 ac_ct_OTOOL64
=$OTOOL64
9070 # Extract the first word of "otool64", so it can be a program name with args.
9071 set dummy otool64
; ac_word
=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 if test -n "$ac_ct_OTOOL64"; then
9078 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir
=.
9085 for ac_exec_ext
in '' $ac_executable_extensions; do
9086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9087 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9097 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9098 if test -n "$ac_ct_OTOOL64"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9100 $as_echo "$ac_ct_OTOOL64" >&6; }
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9106 if test "x$ac_ct_OTOOL64" = x
; then
9109 case $cross_compiling:$ac_tool_warned in
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9113 ac_tool_warned
=yes ;;
9115 OTOOL64
=$ac_ct_OTOOL64
9118 OTOOL64
="$ac_cv_prog_OTOOL64"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9148 $as_echo_n "checking for -single_module linker flag... " >&6; }
9149 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9150 $as_echo_n "(cached) " >&6
9152 lt_cv_apple_cc_single_mod
=no
9153 if test -z "${LT_MULTI_MODULE}"; then
9154 # By default we will add the -single_module flag. You can override
9155 # by either setting the environment variable LT_MULTI_MODULE
9156 # non-empty at configure time, or by adding -multi_module to the
9158 rm -rf libconftest.dylib
*
9159 echo "int foo(void){return 1;}" > conftest.c
9160 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9161 -dynamiclib -Wl,-single_module conftest.c" >&5
9162 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9163 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9165 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9166 lt_cv_apple_cc_single_mod
=yes
9168 cat conftest.err
>&5
9170 rm -rf libconftest.dylib
*
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9175 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9177 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9178 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9179 $as_echo_n "(cached) " >&6
9181 lt_cv_ld_exported_symbols_list
=no
9182 save_LDFLAGS
=$LDFLAGS
9183 echo "_main" > conftest.sym
9184 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9185 if test x
$gcc_no_link = xyes
; then
9186 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9199 if ac_fn_c_try_link
"$LINENO"; then :
9200 lt_cv_ld_exported_symbols_list
=yes
9202 lt_cv_ld_exported_symbols_list
=no
9204 rm -f core conftest.err conftest.
$ac_objext \
9205 conftest
$ac_exeext conftest.
$ac_ext
9206 LDFLAGS
="$save_LDFLAGS"
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9212 $as_echo_n "checking for -force_load linker flag... " >&6; }
9213 if ${lt_cv_ld_force_load+:} false
; then :
9214 $as_echo_n "(cached) " >&6
9216 lt_cv_ld_force_load
=no
9217 cat > conftest.c
<< _LT_EOF
9218 int forced_loaded() { return 2;}
9220 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9221 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9222 echo "$AR cru libconftest.a conftest.o" >&5
9223 $AR cru libconftest.a conftest.o
2>&5
9224 cat > conftest.c
<< _LT_EOF
9225 int main() { return 0;}
9227 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9228 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9230 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9231 lt_cv_ld_force_load
=yes
9233 cat conftest.err
>&5
9235 rm -f conftest.err libconftest.a conftest conftest.c
9236 rm -rf conftest.dSYM
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9240 $as_echo "$lt_cv_ld_force_load" >&6; }
9241 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9242 # build without first building modern cctools / linker.
9243 case $host_cpu-$host_os in
9244 *-rhapsody* |
*-darwin1.
[012])
9245 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9247 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9249 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9250 # deployment target is forced to an earlier version.
9251 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9252 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0-9]*)
9255 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9262 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9263 _lt_dar_single_mod
='$single_module'
9265 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9266 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9268 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9270 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9271 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9278 for ac_header
in dlfcn.h
9280 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9282 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9283 cat >>confdefs.h
<<_ACEOF
9284 #define HAVE_DLFCN_H 1
9303 # Check whether --enable-shared was given.
9304 if test "${enable_shared+set}" = set; then :
9305 enableval
=$enable_shared; p
=${PACKAGE-default}
9307 yes) enable_shared
=yes ;;
9308 no
) enable_shared
=no
;;
9311 # Look at the argument we got. We use all the common list separators.
9312 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9313 for pkg
in $enableval; do
9315 if test "X$pkg" = "X$p"; then
9334 # Check whether --enable-static was given.
9335 if test "${enable_static+set}" = set; then :
9336 enableval
=$enable_static; p
=${PACKAGE-default}
9338 yes) enable_static
=yes ;;
9339 no
) enable_static
=no
;;
9342 # Look at the argument we got. We use all the common list separators.
9343 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9344 for pkg
in $enableval; do
9346 if test "X$pkg" = "X$p"; then
9366 # Check whether --with-pic was given.
9367 if test "${with_pic+set}" = set; then :
9368 withval
=$with_pic; pic_mode
="$withval"
9374 test -z "$pic_mode" && pic_mode
=default
9382 # Check whether --enable-fast-install was given.
9383 if test "${enable_fast_install+set}" = set; then :
9384 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9386 yes) enable_fast_install
=yes ;;
9387 no
) enable_fast_install
=no
;;
9389 enable_fast_install
=no
9390 # Look at the argument we got. We use all the common list separators.
9391 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9392 for pkg
in $enableval; do
9394 if test "X$pkg" = "X$p"; then
9395 enable_fast_install
=yes
9402 enable_fast_install
=yes
9415 # This can be used to rebuild libtool when needed
9416 LIBTOOL_DEPS
="$ltmain"
9418 # Always use our own libtool.
9419 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9446 test -z "$LN_S" && LN_S
="ln -s"
9461 if test -n "${ZSH_VERSION+set}" ; then
9462 setopt NO_GLOB_SUBST
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9466 $as_echo_n "checking for objdir... " >&6; }
9467 if ${lt_cv_objdir+:} false
; then :
9468 $as_echo_n "(cached) " >&6
9470 rm -f .libs
2>/dev
/null
9471 mkdir .libs
2>/dev
/null
9472 if test -d .libs
; then
9475 # MS-DOS does not allow filenames that begin with a dot.
9478 rmdir .libs
2>/dev
/null
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9481 $as_echo "$lt_cv_objdir" >&6; }
9482 objdir
=$lt_cv_objdir
9488 cat >>confdefs.h
<<_ACEOF
9489 #define LT_OBJDIR "$lt_cv_objdir/"
9497 # AIX sometimes has problems with the GCC collect2 program. For some
9498 # reason, if we set the COLLECT_NAMES environment variable, the problems
9499 # vanish in a puff of smoke.
9500 if test "X${COLLECT_NAMES+set}" != Xset
; then
9502 export COLLECT_NAMES
9509 can_build_shared
=yes
9511 # All known linkers require a `.a' archive for static linking (except MSVC,
9512 # which needs '.lib').
9515 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9518 old_CFLAGS
="$CFLAGS"
9520 # Set sane defaults for various variables
9521 test -z "$CC" && CC
=cc
9522 test -z "$LTCC" && LTCC
=$CC
9523 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9524 test -z "$LD" && LD
=ld
9525 test -z "$ac_objext" && ac_objext
=o
9527 for cc_temp
in $compiler""; do
9529 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9530 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9535 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9538 # Only perform the check for file, if the check method requires it
9539 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9540 case $deplibs_check_method in
9542 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9544 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9545 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9550 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9553 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9554 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9555 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9556 for ac_dir
in $ac_dummy; do
9558 test -z "$ac_dir" && ac_dir
=.
9559 if test -f $ac_dir/${ac_tool_prefix}file; then
9560 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9561 if test -n "$file_magic_test_file"; then
9562 case $deplibs_check_method in
9564 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9565 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9566 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9567 $EGREP "$file_magic_regex" > /dev
/null
; then
9572 *** Warning: the command libtool uses to detect shared libraries,
9573 *** $file_magic_cmd, produces output that libtool cannot recognize.
9574 *** The result is that libtool may fail to recognize shared libraries
9575 *** as such. This will affect the creation of libtool libraries that
9576 *** depend on shared libraries, but programs linked with such libtool
9577 *** libraries will work regardless of this problem. Nevertheless, you
9578 *** may want to report the problem to your system manager and/or to
9579 *** bug-libtool@gnu.org
9589 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9594 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9595 if test -n "$MAGIC_CMD"; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9597 $as_echo "$MAGIC_CMD" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9600 $as_echo "no" >&6; }
9607 if test -z "$lt_cv_path_MAGIC_CMD"; then
9608 if test -n "$ac_tool_prefix"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9610 $as_echo_n "checking for file... " >&6; }
9611 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9616 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9619 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9620 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9621 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9622 for ac_dir
in $ac_dummy; do
9624 test -z "$ac_dir" && ac_dir
=.
9625 if test -f $ac_dir/file; then
9626 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9627 if test -n "$file_magic_test_file"; then
9628 case $deplibs_check_method in
9630 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9631 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9632 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9633 $EGREP "$file_magic_regex" > /dev
/null
; then
9638 *** Warning: the command libtool uses to detect shared libraries,
9639 *** $file_magic_cmd, produces output that libtool cannot recognize.
9640 *** The result is that libtool may fail to recognize shared libraries
9641 *** as such. This will affect the creation of libtool libraries that
9642 *** depend on shared libraries, but programs linked with such libtool
9643 *** libraries will work regardless of this problem. Nevertheless, you
9644 *** may want to report the problem to your system manager and/or to
9645 *** bug-libtool@gnu.org
9655 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9660 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9661 if test -n "$MAGIC_CMD"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9663 $as_echo "$MAGIC_CMD" >&6; }
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 $as_echo "no" >&6; }
9679 # Use C for the default configuration in the libtool script
9683 ac_cpp
='$CPP $CPPFLAGS'
9684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9689 # Source file extension for C test sources.
9692 # Object file extension for compiled C test sources.
9696 # Code to be used in simple compile tests
9697 lt_simple_compile_test_code
="int some_variable = 0;"
9699 # Code to be used in simple link tests
9700 lt_simple_link_test_code
='int main(){return(0);}'
9708 # If no C compiler was specified, use CC.
9711 # If no C compiler flags were specified, use CFLAGS.
9712 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9714 # Allow CC to be a program name with arguments.
9717 # Save the default compiler, since it gets overwritten when the other
9718 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9719 compiler_DEFAULT
=$CC
9721 # save warnings/boilerplate of simple test code
9722 ac_outfile
=conftest.
$ac_objext
9723 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9724 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9725 _lt_compiler_boilerplate
=`cat conftest.err`
9728 ac_outfile
=conftest.
$ac_objext
9729 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9730 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9731 _lt_linker_boilerplate
=`cat conftest.err`
9736 ## There is no encapsulation within the following macros, do not change
9737 ## the running order or otherwise move them around unless you know exactly
9738 ## what you are doing...
9739 if test -n "$compiler"; then
9741 lt_prog_compiler_no_builtin_flag
=
9743 if test "$GCC" = yes; then
9744 case $cc_basename in
9746 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9748 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9752 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9753 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9754 $as_echo_n "(cached) " >&6
9756 lt_cv_prog_compiler_rtti_exceptions
=no
9757 ac_outfile
=conftest.
$ac_objext
9758 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9759 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9760 # Insert the option either (1) after the last *FLAGS variable, or
9761 # (2) before a word containing "conftest.", or (3) at the end.
9762 # Note that $ac_compile itself does not contain backslashes and begins
9763 # with a dollar sign (not a hyphen), so the echo should work correctly.
9764 # The option is referenced via a variable to avoid confusing sed.
9765 lt_compile
=`echo "$ac_compile" | $SED \
9766 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9767 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9768 -e 's:$: $lt_compiler_flag:'`
9769 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9770 (eval "$lt_compile" 2>conftest.err
)
9772 cat conftest.err
>&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 if (exit $ac_status) && test -s "$ac_outfile"; then
9775 # The compiler can only warn and ignore the option if not recognized
9776 # So say no if there are warnings other than the usual output.
9777 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9778 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9779 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9780 lt_cv_prog_compiler_rtti_exceptions
=yes
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9787 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9789 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9790 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9802 lt_prog_compiler_wl
=
9803 lt_prog_compiler_pic
=
9804 lt_prog_compiler_static
=
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9807 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9809 if test "$GCC" = yes; then
9810 lt_prog_compiler_wl
='-Wl,'
9811 lt_prog_compiler_static
='-static'
9815 # All AIX code is PIC.
9816 if test "$host_cpu" = ia64
; then
9817 # AIX 5 now supports IA64 processor
9818 lt_prog_compiler_static
='-Bstatic'
9820 lt_prog_compiler_pic
='-fPIC'
9826 # see comment about AmigaOS4 .so support
9827 lt_prog_compiler_pic
='-fPIC'
9830 # FIXME: we need at least 68020 code to build shared libraries, but
9831 # adding the `-m68020' flag to GCC prevents building anything better,
9833 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9838 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9839 # PIC is the default for these OSes.
9842 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9843 # This hack is so that the source file can tell whether it is being
9844 # built for inclusion in a dll (and should export symbols for example).
9845 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9846 # (--disable-auto-import) libraries
9847 lt_prog_compiler_pic
='-DDLL_EXPORT'
9850 darwin
* | rhapsody
*)
9851 # PIC is the default on this platform
9852 # Common symbols not allowed in MH_DYLIB files
9853 lt_prog_compiler_pic
='-fno-common'
9857 # PIC is the default for Haiku.
9858 # The "-static" flag exists, but is broken.
9859 lt_prog_compiler_static
=
9863 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9864 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9865 # sets the default TLS model and affects inlining.
9871 lt_prog_compiler_pic
='-fPIC'
9877 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9878 # Instead, we relocate shared libraries at runtime.
9882 # Just because we use GCC doesn't mean we suddenly get shared libraries
9883 # on systems that don't support them.
9884 lt_prog_compiler_can_build_shared
=no
9889 # QNX uses GNU C++, but need to define -shared option too, otherwise
9891 lt_prog_compiler_pic
='-fPIC -shared'
9895 if test -d /usr
/nec
; then
9896 lt_prog_compiler_pic
=-Kconform_pic
9901 lt_prog_compiler_pic
='-fPIC'
9905 case $cc_basename in
9906 nvcc
*) # Cuda Compiler Driver 2.2
9907 lt_prog_compiler_wl
='-Xlinker '
9908 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9912 # PORTME Check for flag to pass linker flags through the system compiler.
9915 lt_prog_compiler_wl
='-Wl,'
9916 if test "$host_cpu" = ia64
; then
9917 # AIX 5 now supports IA64 processor
9918 lt_prog_compiler_static
='-Bstatic'
9920 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9924 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9925 # This hack is so that the source file can tell whether it is being
9926 # built for inclusion in a dll (and should export symbols for example).
9927 lt_prog_compiler_pic
='-DDLL_EXPORT'
9930 hpux9
* | hpux10
* | hpux11
*)
9931 lt_prog_compiler_wl
='-Wl,'
9932 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9939 lt_prog_compiler_pic
='+Z'
9942 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9943 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9946 irix5
* | irix6
* | nonstopux
*)
9947 lt_prog_compiler_wl
='-Wl,'
9948 # PIC (with -KPIC) is the default.
9949 lt_prog_compiler_static
='-non_shared'
9952 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9953 case $cc_basename in
9954 # old Intel for x86_64 which still supported -KPIC.
9956 lt_prog_compiler_wl
='-Wl,'
9957 lt_prog_compiler_pic
='-KPIC'
9958 lt_prog_compiler_static
='-static'
9960 # icc used to be incompatible with GCC.
9961 # ICC 10 doesn't accept -KPIC any more.
9963 lt_prog_compiler_wl
='-Wl,'
9964 lt_prog_compiler_pic
='-fPIC'
9965 lt_prog_compiler_static
='-static'
9967 # Lahey Fortran 8.1.
9969 lt_prog_compiler_wl
='-Wl,'
9970 lt_prog_compiler_pic
='--shared'
9971 lt_prog_compiler_static
='--static'
9973 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9974 # Portland Group compilers (*not* the Pentium gcc compiler,
9975 # which looks to be a dead project)
9976 lt_prog_compiler_wl
='-Wl,'
9977 lt_prog_compiler_pic
='-fpic'
9978 lt_prog_compiler_static
='-Bstatic'
9981 lt_prog_compiler_wl
='-Wl,'
9982 # All Alpha code is PIC.
9983 lt_prog_compiler_static
='-non_shared'
9985 xl
* | bgxl
* | bgf
* | mpixl
*)
9986 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9987 lt_prog_compiler_wl
='-Wl,'
9988 lt_prog_compiler_pic
='-qpic'
9989 lt_prog_compiler_static
='-qstaticlink'
9992 case `$CC -V 2>&1 | sed 5q` in
9993 *Sun\ F
* |
*Sun
*Fortran
*)
9994 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9995 lt_prog_compiler_pic
='-KPIC'
9996 lt_prog_compiler_static
='-Bstatic'
9997 lt_prog_compiler_wl
=''
10001 lt_prog_compiler_pic
='-KPIC'
10002 lt_prog_compiler_static
='-Bstatic'
10003 lt_prog_compiler_wl
='-Wl,'
10011 lt_prog_compiler_pic
='-KPIC'
10012 lt_prog_compiler_static
='-Bstatic'
10016 # QNX uses GNU C++, but need to define -shared option too, otherwise
10017 # it will coredump.
10018 lt_prog_compiler_pic
='-fPIC -shared'
10021 osf3
* | osf4
* | osf5
*)
10022 lt_prog_compiler_wl
='-Wl,'
10023 # All OSF/1 code is PIC.
10024 lt_prog_compiler_static
='-non_shared'
10028 lt_prog_compiler_static
='-non_shared'
10032 lt_prog_compiler_pic
='-KPIC'
10033 lt_prog_compiler_static
='-Bstatic'
10034 case $cc_basename in
10035 f77
* | f90
* | f95
*)
10036 lt_prog_compiler_wl
='-Qoption ld ';;
10038 lt_prog_compiler_wl
='-Wl,';;
10043 lt_prog_compiler_wl
='-Qoption ld '
10044 lt_prog_compiler_pic
='-PIC'
10045 lt_prog_compiler_static
='-Bstatic'
10048 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10049 lt_prog_compiler_wl
='-Wl,'
10050 lt_prog_compiler_pic
='-KPIC'
10051 lt_prog_compiler_static
='-Bstatic'
10055 if test -d /usr
/nec
;then
10056 lt_prog_compiler_pic
='-Kconform_pic'
10057 lt_prog_compiler_static
='-Bstatic'
10061 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10062 lt_prog_compiler_wl
='-Wl,'
10063 lt_prog_compiler_pic
='-KPIC'
10064 lt_prog_compiler_static
='-Bstatic'
10068 lt_prog_compiler_wl
='-Wl,'
10069 lt_prog_compiler_can_build_shared
=no
10073 lt_prog_compiler_pic
='-pic'
10074 lt_prog_compiler_static
='-Bstatic'
10078 lt_prog_compiler_can_build_shared
=no
10084 # For platforms which do not support PIC, -DPIC is meaningless:
10086 lt_prog_compiler_pic
=
10089 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10093 $as_echo "$lt_prog_compiler_pic" >&6; }
10101 # Check to make sure the PIC flag actually works.
10103 if test -n "$lt_prog_compiler_pic"; then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10105 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10106 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 lt_cv_prog_compiler_pic_works
=no
10110 ac_outfile
=conftest.
$ac_objext
10111 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10112 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10113 # Insert the option either (1) after the last *FLAGS variable, or
10114 # (2) before a word containing "conftest.", or (3) at the end.
10115 # Note that $ac_compile itself does not contain backslashes and begins
10116 # with a dollar sign (not a hyphen), so the echo should work correctly.
10117 # The option is referenced via a variable to avoid confusing sed.
10118 lt_compile
=`echo "$ac_compile" | $SED \
10119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10121 -e 's:$: $lt_compiler_flag:'`
10122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10123 (eval "$lt_compile" 2>conftest.err
)
10125 cat conftest.err
>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 if (exit $ac_status) && test -s "$ac_outfile"; then
10128 # The compiler can only warn and ignore the option if not recognized
10129 # So say no if there are warnings other than the usual output.
10130 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10131 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10132 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10133 lt_cv_prog_compiler_pic_works
=yes
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10140 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10142 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10143 case $lt_prog_compiler_pic in
10145 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10148 lt_prog_compiler_pic
=
10149 lt_prog_compiler_can_build_shared
=no
10160 # Check to make sure the static flag actually works.
10162 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10164 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10165 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10166 $as_echo_n "(cached) " >&6
10168 lt_cv_prog_compiler_static_works
=no
10169 save_LDFLAGS
="$LDFLAGS"
10170 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10171 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10172 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10173 # The linker can only warn and ignore the option if not recognized
10174 # So say no if there are warnings
10175 if test -s conftest.err
; then
10176 # Append any errors to the config.log.
10177 cat conftest.err
1>&5
10178 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10179 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10180 if diff conftest.exp conftest.er2
>/dev
/null
; then
10181 lt_cv_prog_compiler_static_works
=yes
10184 lt_cv_prog_compiler_static_works
=yes
10188 LDFLAGS
="$save_LDFLAGS"
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10192 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10194 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10197 lt_prog_compiler_static
=
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10207 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10208 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10209 $as_echo_n "(cached) " >&6
10211 lt_cv_prog_compiler_c_o
=no
10212 $RM -r conftest
2>/dev
/null
10216 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10218 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10219 # Insert the option either (1) after the last *FLAGS variable, or
10220 # (2) before a word containing "conftest.", or (3) at the end.
10221 # Note that $ac_compile itself does not contain backslashes and begins
10222 # with a dollar sign (not a hyphen), so the echo should work correctly.
10223 lt_compile
=`echo "$ac_compile" | $SED \
10224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10226 -e 's:$: $lt_compiler_flag:'`
10227 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10228 (eval "$lt_compile" 2>out
/conftest.err
)
10230 cat out
/conftest.err
>&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10234 # The compiler can only warn and ignore the option if not recognized
10235 # So say no if there are warnings
10236 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10237 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10238 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10239 lt_cv_prog_compiler_c_o
=yes
10244 # SGI C++ compiler will create directory out/ii_files/ for
10245 # template instantiation
10246 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10247 $RM out
/* && rmdir out
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10254 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10262 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10263 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10264 $as_echo_n "(cached) " >&6
10266 lt_cv_prog_compiler_c_o
=no
10267 $RM -r conftest
2>/dev
/null
10271 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10273 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10274 # Insert the option either (1) after the last *FLAGS variable, or
10275 # (2) before a word containing "conftest.", or (3) at the end.
10276 # Note that $ac_compile itself does not contain backslashes and begins
10277 # with a dollar sign (not a hyphen), so the echo should work correctly.
10278 lt_compile
=`echo "$ac_compile" | $SED \
10279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10281 -e 's:$: $lt_compiler_flag:'`
10282 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10283 (eval "$lt_compile" 2>out
/conftest.err
)
10285 cat out
/conftest.err
>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10289 # The compiler can only warn and ignore the option if not recognized
10290 # So say no if there are warnings
10291 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10292 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10293 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10294 lt_cv_prog_compiler_c_o
=yes
10299 # SGI C++ compiler will create directory out/ii_files/ for
10300 # template instantiation
10301 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10302 $RM out
/* && rmdir out
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10309 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10314 hard_links
="nottested"
10315 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10316 # do not overwrite the value of need_locks provided by the user
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10318 $as_echo_n "checking if we can lock with hard links... " >&6; }
10321 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10323 ln conftest.a conftest.b
2>&5 || hard_links
=no
10324 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10326 $as_echo "$hard_links" >&6; }
10327 if test "$hard_links" = no
; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10329 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10342 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10345 allow_undefined_flag
=
10346 always_export_symbols
=no
10348 archive_expsym_cmds
=
10349 compiler_needs_object
=no
10350 enable_shared_with_static_runtimes
=no
10351 export_dynamic_flag_spec
=
10352 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10353 hardcode_automatic
=no
10355 hardcode_direct_absolute
=no
10356 hardcode_libdir_flag_spec
=
10357 hardcode_libdir_flag_spec_ld
=
10358 hardcode_libdir_separator
=
10359 hardcode_minus_L
=no
10360 hardcode_shlibpath_var
=unsupported
10362 link_all_deplibs
=unknown
10364 module_expsym_cmds
=
10365 old_archive_from_new_cmds
=
10366 old_archive_from_expsyms_cmds
=
10367 thread_safe_flag_spec
=
10368 whole_archive_flag_spec
=
10369 # include_expsyms should be a list of space-separated symbols to be *always*
10370 # included in the symbol list
10372 # exclude_expsyms can be an extended regexp of symbols to exclude
10373 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10374 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10375 # as well as any symbol that contains `d'.
10376 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10377 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10378 # platforms (ab)use it in PIC code, but their linkers get confused if
10379 # the symbol is explicitly referenced. Since portable code cannot
10380 # rely on this symbol name, it's probably fine to never include it in
10381 # preloaded symbol tables.
10382 # Exclude shared library initialization/finalization symbols.
10383 extract_expsyms_cmds
=
10386 cygwin
* | mingw
* | pw32
* | cegcc
*)
10387 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10388 # When not using gcc, we currently assume that we are using
10389 # Microsoft Visual C++.
10390 if test "$GCC" != yes; then
10395 # we just hope/assume this is gcc and not c89 (= MSVC++)
10405 # On some targets, GNU ld is compatible enough with the native linker
10406 # that we're better off using the native interface for both.
10407 lt_use_gnu_ld_interface
=no
10408 if test "$with_gnu_ld" = yes; then
10411 # The AIX port of GNU ld has always aspired to compatibility
10412 # with the native linker. However, as the warning in the GNU ld
10413 # block says, versions before 2.19.5* couldn't really create working
10414 # shared libraries, regardless of the interface used.
10415 case `$LD -v 2>&1` in
10416 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10417 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10418 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10420 lt_use_gnu_ld_interface
=yes
10425 lt_use_gnu_ld_interface
=yes
10430 if test "$lt_use_gnu_ld_interface" = yes; then
10431 # If archive_cmds runs LD, not CC, wlarc should be empty
10434 # Set some defaults for GNU ld with shared library support. These
10435 # are reset later if shared libraries are not supported. Putting them
10436 # here allows them to be overridden if necessary.
10437 runpath_var
=LD_RUN_PATH
10438 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10439 export_dynamic_flag_spec
='${wl}--export-dynamic'
10440 # ancient GNU ld didn't support --whole-archive et. al.
10441 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10442 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10444 whole_archive_flag_spec
=
10446 supports_anon_versioning
=no
10447 case `$LD -v 2>&1` in
10448 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10449 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10450 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10451 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10452 *\
2.11.
*) ;; # other 2.11 versions
10453 *) supports_anon_versioning
=yes ;;
10456 # See if GNU ld supports shared libraries.
10459 # On AIX/PPC, the GNU linker is very broken
10460 if test "$host_cpu" != ia64
; then
10464 *** Warning: the GNU linker, at least up to release 2.19, is reported
10465 *** to be unable to reliably create shared libraries on AIX.
10466 *** Therefore, libtool is disabling shared libraries support. If you
10467 *** really care for shared libraries, you may want to install binutils
10468 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10469 *** You will then need to restart the configuration process.
10478 # see comment about AmigaOS4 .so support
10479 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10480 archive_expsym_cmds
=''
10483 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)'
10484 hardcode_libdir_flag_spec
='-L$libdir'
10485 hardcode_minus_L
=yes
10491 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10492 allow_undefined_flag
=unsupported
10493 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10494 # support --undefined. This deserves some investigation. FIXME
10495 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10501 cygwin
* | mingw
* | pw32
* | cegcc
*)
10502 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10503 # as there is no search path for DLLs.
10504 hardcode_libdir_flag_spec
='-L$libdir'
10505 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10506 allow_undefined_flag
=unsupported
10507 always_export_symbols
=no
10508 enable_shared_with_static_runtimes
=yes
10509 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10511 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10513 # If the export-symbols file already is a .def file (1st line
10514 # is EXPORTS), use it as is; otherwise, prepend...
10515 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10516 cp $export_symbols $output_objdir/$soname.def;
10518 echo EXPORTS > $output_objdir/$soname.def;
10519 cat $export_symbols >> $output_objdir/$soname.def;
10521 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10528 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10529 link_all_deplibs
=yes
10534 hardcode_shlibpath_var
=no
10535 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10536 export_dynamic_flag_spec
='${wl}-E'
10537 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10538 # Instead, shared libraries are loaded at an image base (0x10000000 by
10539 # default) and relocated if they conflict, which is a slow very memory
10540 # consuming and fragmenting process. To avoid this, we pick a random,
10541 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10542 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10543 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10544 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'
10547 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10549 if test "$host_os" = linux-dietlibc
; then
10550 case $cc_basename in
10551 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10554 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10555 && test "$tmp_diet" = no
10557 tmp_addflag
=' $pic_flag'
10558 tmp_sharedflag
='-shared'
10559 case $cc_basename,$host_cpu in
10560 pgcc
*) # Portland Group C compiler
10561 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'
10562 tmp_addflag
=' $pic_flag'
10564 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10565 # Portland Group f77 and f90 compilers
10566 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'
10567 tmp_addflag
=' $pic_flag -Mnomain' ;;
10568 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10569 tmp_addflag
=' -i_dynamic' ;;
10570 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10571 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10572 ifc
* | ifort
*) # Intel Fortran compiler
10573 tmp_addflag
=' -nofor_main' ;;
10574 lf95
*) # Lahey Fortran 8.1
10575 whole_archive_flag_spec
=
10576 tmp_sharedflag
='--shared' ;;
10577 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10578 tmp_sharedflag
='-qmkshrobj'
10580 nvcc
*) # Cuda Compiler Driver 2.2
10581 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'
10582 compiler_needs_object
=yes
10585 case `$CC -V 2>&1 | sed 5q` in
10586 *Sun\ C
*) # Sun C 5.9
10587 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'
10588 compiler_needs_object
=yes
10589 tmp_sharedflag
='-G' ;;
10590 *Sun\ F
*) # Sun Fortran 8.3
10591 tmp_sharedflag
='-G' ;;
10593 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10595 if test "x$supports_anon_versioning" = xyes
; then
10596 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10597 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10598 echo "local: *; };" >> $output_objdir/$libname.ver~
10599 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10602 case $cc_basename in
10603 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10604 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10605 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10606 hardcode_libdir_flag_spec
=
10607 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10608 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10609 if test "x$supports_anon_versioning" = xyes
; then
10610 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10611 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10612 echo "local: *; };" >> $output_objdir/$libname.ver~
10613 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10623 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10624 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10627 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10628 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10633 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10637 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10638 *** create shared libraries on Solaris systems. Therefore, libtool
10639 *** is disabling shared libraries support. We urge you to upgrade GNU
10640 *** binutils to release 2.9.1 or newer. Another option is to modify
10641 *** your PATH or compiler configuration so that the native linker is
10642 *** used, and then restart.
10645 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10646 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10647 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10653 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10654 case `$LD -v 2>&1` in
10655 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10659 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10660 *** reliably create shared libraries on SCO systems. Therefore, libtool
10661 *** is disabling shared libraries support. We urge you to upgrade GNU
10662 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10663 *** your PATH or compiler configuration so that the native linker is
10664 *** used, and then restart.
10669 # For security reasons, it is highly recommended that you always
10670 # use absolute paths for naming shared libraries, and exclude the
10671 # DT_RUNPATH tag from executables and libraries. But doing so
10672 # requires that you compile everything twice, which is a pain.
10673 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10674 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10675 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10676 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10685 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10687 hardcode_direct
=yes
10688 hardcode_shlibpath_var
=no
10692 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10693 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10694 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10701 if test "$ld_shlibs" = no
; then
10703 hardcode_libdir_flag_spec
=
10704 export_dynamic_flag_spec
=
10705 whole_archive_flag_spec
=
10708 # PORTME fill in a description of your system's linker (not GNU ld)
10711 allow_undefined_flag
=unsupported
10712 always_export_symbols
=yes
10713 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'
10714 # Note: this linker hardcodes the directories in LIBPATH if there
10715 # are no directories specified by -L.
10716 hardcode_minus_L
=yes
10717 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10718 # Neither direct hardcoding nor static linking is supported with a
10720 hardcode_direct
=unsupported
10725 if test "$host_cpu" = ia64
; then
10726 # On IA64, the linker does run time linking by default, so we don't
10727 # have to do anything special.
10728 aix_use_runtimelinking
=no
10729 exp_sym_flag
='-Bexport'
10732 # If we're using GNU nm, then we don't want the "-C" option.
10733 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10734 # Also, AIX nm treats weak defined symbols like other global
10735 # defined symbols, whereas GNU nm marks them as "W".
10736 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10737 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'
10739 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'
10741 aix_use_runtimelinking
=no
10743 # Test if we are trying to use run time linking or normal
10744 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10745 # need to do runtime linking.
10746 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10747 for ld_flag
in $LDFLAGS; do
10748 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10749 aix_use_runtimelinking
=yes
10756 exp_sym_flag
='-bexport'
10757 no_entry_flag
='-bnoentry'
10760 # When large executables or shared objects are built, AIX ld can
10761 # have problems creating the table of contents. If linking a library
10762 # or program results in "error TOC overflow" add -mminimal-toc to
10763 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10764 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10767 hardcode_direct
=yes
10768 hardcode_direct_absolute
=yes
10769 hardcode_libdir_separator
=':'
10770 link_all_deplibs
=yes
10771 file_list_spec
='${wl}-f,'
10773 if test "$GCC" = yes; then
10774 case $host_os in aix4.
[012]|aix4.
[012].
*)
10775 # We only want to do this on AIX 4.2 and lower, the check
10776 # below for broken collect2 doesn't work under 4.3+
10777 collect2name
=`${CC} -print-prog-name=collect2`
10778 if test -f "$collect2name" &&
10779 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10781 # We have reworked collect2
10784 # We have old collect2
10785 hardcode_direct
=unsupported
10786 # It fails to find uninstalled libraries when the uninstalled
10787 # path is not listed in the libpath. Setting hardcode_minus_L
10788 # to unsupported forces relinking
10789 hardcode_minus_L
=yes
10790 hardcode_libdir_flag_spec
='-L$libdir'
10791 hardcode_libdir_separator
=
10795 shared_flag
='-shared'
10796 if test "$aix_use_runtimelinking" = yes; then
10797 shared_flag
="$shared_flag "'${wl}-G'
10801 if test "$host_cpu" = ia64
; then
10802 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10803 # chokes on -Wl,-G. The following line is correct:
10806 if test "$aix_use_runtimelinking" = yes; then
10807 shared_flag
='${wl}-G'
10809 shared_flag
='${wl}-bM:SRE'
10814 export_dynamic_flag_spec
='${wl}-bexpall'
10815 # It seems that -bexpall does not export symbols beginning with
10816 # underscore (_), so it is better to generate a list of symbols to export.
10817 always_export_symbols
=yes
10818 if test "$aix_use_runtimelinking" = yes; then
10819 # Warning - without using the other runtime loading flags (-brtl),
10820 # -berok will link without error, but may produce a broken library.
10821 allow_undefined_flag
='-berok'
10822 # Determine the default libpath from the value encoded in an
10823 # empty executable.
10824 if test x
$gcc_no_link = xyes
; then
10825 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10838 if ac_fn_c_try_link
"$LINENO"; then :
10840 lt_aix_libpath_sed
='
10841 /Import File Strings/,/^$/ {
10847 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10848 # Check for a 64-bit object if we didn't find anything.
10849 if test -z "$aix_libpath"; then
10850 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10853 rm -f core conftest.err conftest.
$ac_objext \
10854 conftest
$ac_exeext conftest.
$ac_ext
10855 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10857 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10858 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"
10860 if test "$host_cpu" = ia64
; then
10861 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10862 allow_undefined_flag
="-z nodefs"
10863 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"
10865 # Determine the default libpath from the value encoded in an
10866 # empty executable.
10867 if test x
$gcc_no_link = xyes
; then
10868 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10881 if ac_fn_c_try_link
"$LINENO"; then :
10883 lt_aix_libpath_sed
='
10884 /Import File Strings/,/^$/ {
10890 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10891 # Check for a 64-bit object if we didn't find anything.
10892 if test -z "$aix_libpath"; then
10893 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10900 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10901 # Warning - without using the other run time loading flags,
10902 # -berok will link without error, but may produce a broken library.
10903 no_undefined_flag
=' ${wl}-bernotok'
10904 allow_undefined_flag
=' ${wl}-berok'
10905 if test "$with_gnu_ld" = yes; then
10906 # We only use this code for GNU lds that support --whole-archive.
10907 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10909 # Exported symbols can be pulled into shared objects from archives
10910 whole_archive_flag_spec
='$convenience'
10912 archive_cmds_need_lc
=yes
10913 # This is similar to how AIX traditionally builds its shared libraries.
10914 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'
10922 # see comment about AmigaOS4 .so support
10923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10924 archive_expsym_cmds
=''
10927 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)'
10928 hardcode_libdir_flag_spec
='-L$libdir'
10929 hardcode_minus_L
=yes
10935 export_dynamic_flag_spec
=-rdynamic
10938 cygwin
* | mingw
* | pw32
* | cegcc
*)
10939 # When not using gcc, we currently assume that we are using
10940 # Microsoft Visual C++.
10941 # hardcode_libdir_flag_spec is actually meaningless, as there is
10942 # no search path for DLLs.
10943 hardcode_libdir_flag_spec
=' '
10944 allow_undefined_flag
=unsupported
10945 # Tell ltmain to make .lib files, not .a files.
10947 # Tell ltmain to make .dll files, not .so files.
10949 # FIXME: Setting linknames here is a bad hack.
10950 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10951 # The linker will automatically build a .lib file if we build a DLL.
10952 old_archive_from_new_cmds
='true'
10953 # FIXME: Should let the user specify the lib program.
10954 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10955 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10956 enable_shared_with_static_runtimes
=yes
10959 darwin
* | rhapsody
*)
10963 # Publish an arg to allow the user to select that Darwin host (and target)
10964 # libraries should be given install-names like @rpath/libfoo.dylib. This
10965 # requires that the user of the library then adds an 'rpath' to the DSO that
10967 # NOTE: there are defaults below, for systems that support rpaths. The person
10968 # configuring can override the defaults for any system version that supports
10969 # them - they are, however, forced off for system versions without support.
10970 # Check whether --enable-darwin-at-rpath was given.
10971 if test "${enable_darwin_at_rpath+set}" = set; then :
10972 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10973 # This is not supported before macOS 10.5 / Darwin9.
10974 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10975 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10977 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10978 enable_darwin_at_rpath
=no
10983 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10984 # As above, before 10.5 / Darwin9 this does not work.
10985 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10986 enable_darwin_at_rpath
=no
10989 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10990 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10991 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10992 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10994 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10995 enable_darwin_at_rpath
=yes
10997 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10998 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
11005 archive_cmds_need_lc
=no
11007 hardcode_automatic
=yes
11008 hardcode_shlibpath_var
=unsupported
11009 if test "$lt_cv_ld_force_load" = "yes"; then
11010 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\"`'
11012 whole_archive_flag_spec
=''
11014 link_all_deplibs
=yes
11015 allow_undefined_flag
="$_lt_dar_allow_undefined"
11016 case $cc_basename in
11017 ifort
*) _lt_dar_can_shared
=yes ;;
11018 *) _lt_dar_can_shared
=$GCC ;;
11020 if test "$_lt_dar_can_shared" = "yes"; then
11021 output_verbose_link_cmd
=func_echo_all
11022 _lt_install_name
='\$rpath/\$soname'
11023 if test "x$enable_darwin_at_rpath" = "xyes"; then
11024 _lt_install_name
='@rpath/\$soname'
11026 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
11027 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11028 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
11029 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}"
11038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039 hardcode_libdir_flag_spec
='-L$libdir'
11040 hardcode_shlibpath_var
=no
11043 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11044 # support. Future versions do this automatically, but an explicit c++rt0.o
11045 # does not break anything, and helps significantly (at the cost of a little
11048 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11049 hardcode_libdir_flag_spec
='-R$libdir'
11050 hardcode_direct
=yes
11051 hardcode_shlibpath_var
=no
11054 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11056 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11057 hardcode_direct
=yes
11058 hardcode_minus_L
=yes
11059 hardcode_shlibpath_var
=no
11062 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11063 freebsd
* | dragonfly
*)
11064 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11065 hardcode_libdir_flag_spec
='-R$libdir'
11066 hardcode_direct
=yes
11067 hardcode_shlibpath_var
=no
11071 if test "$GCC" = yes; then
11072 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'
11074 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'
11076 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11077 hardcode_libdir_separator
=:
11078 hardcode_direct
=yes
11080 # hardcode_minus_L: Not really in the search PATH,
11081 # but as the default location of the library.
11082 hardcode_minus_L
=yes
11083 export_dynamic_flag_spec
='${wl}-E'
11087 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11088 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11090 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11092 if test "$with_gnu_ld" = no
; then
11093 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11094 hardcode_libdir_flag_spec_ld
='+b $libdir'
11095 hardcode_libdir_separator
=:
11096 hardcode_direct
=yes
11097 hardcode_direct_absolute
=yes
11098 export_dynamic_flag_spec
='${wl}-E'
11099 # hardcode_minus_L: Not really in the search PATH,
11100 # but as the default location of the library.
11101 hardcode_minus_L
=yes
11106 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11109 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11112 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11115 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11121 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11124 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11128 # Older versions of the 11.00 compiler do not understand -b yet
11129 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11131 $as_echo_n "checking if $CC understands -b... " >&6; }
11132 if ${lt_cv_prog_compiler__b+:} false
; then :
11133 $as_echo_n "(cached) " >&6
11135 lt_cv_prog_compiler__b
=no
11136 save_LDFLAGS
="$LDFLAGS"
11137 LDFLAGS
="$LDFLAGS -b"
11138 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11139 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11140 # The linker can only warn and ignore the option if not recognized
11141 # So say no if there are warnings
11142 if test -s conftest.err
; then
11143 # Append any errors to the config.log.
11144 cat conftest.err
1>&5
11145 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11146 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11147 if diff conftest.exp conftest.er2
>/dev
/null
; then
11148 lt_cv_prog_compiler__b
=yes
11151 lt_cv_prog_compiler__b
=yes
11155 LDFLAGS
="$save_LDFLAGS"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11159 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11161 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11162 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11170 if test "$with_gnu_ld" = no
; then
11171 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11172 hardcode_libdir_separator
=:
11177 hardcode_shlibpath_var
=no
11180 hardcode_direct
=yes
11181 hardcode_direct_absolute
=yes
11182 export_dynamic_flag_spec
='${wl}-E'
11184 # hardcode_minus_L: Not really in the search PATH,
11185 # but as the default location of the library.
11186 hardcode_minus_L
=yes
11192 irix5
* | irix6
* | nonstopux
*)
11193 if test "$GCC" = yes; then
11194 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'
11195 # Try to use the -exported_symbol ld option, if it does not
11196 # work, assume that -exports_file does not work either and
11197 # implicitly export all symbols.
11198 save_LDFLAGS
="$LDFLAGS"
11199 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11200 if test x
$gcc_no_link = xyes
; then
11201 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11207 if ac_fn_c_try_link
"$LINENO"; then :
11208 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'
11211 rm -f core conftest.err conftest.
$ac_objext \
11212 conftest
$ac_exeext conftest.
$ac_ext
11213 LDFLAGS
="$save_LDFLAGS"
11215 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'
11216 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'
11218 archive_cmds_need_lc
='no'
11219 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11220 hardcode_libdir_separator
=:
11222 link_all_deplibs
=yes
11226 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11227 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11229 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11231 hardcode_libdir_flag_spec
='-R$libdir'
11232 hardcode_direct
=yes
11233 hardcode_shlibpath_var
=no
11237 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11238 hardcode_direct
=yes
11239 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11240 hardcode_libdir_separator
=:
11241 hardcode_shlibpath_var
=no
11248 if test -f /usr
/libexec
/ld.so
; then
11249 hardcode_direct
=yes
11250 hardcode_shlibpath_var
=no
11251 hardcode_direct_absolute
=yes
11252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11253 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11254 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11255 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11256 export_dynamic_flag_spec
='${wl}-E'
11259 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11260 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11261 hardcode_libdir_flag_spec
='-R$libdir'
11264 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11265 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11275 hardcode_libdir_flag_spec
='-L$libdir'
11276 hardcode_minus_L
=yes
11277 allow_undefined_flag
=unsupported
11278 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'
11279 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11283 if test "$GCC" = yes; then
11284 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11285 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'
11287 allow_undefined_flag
=' -expect_unresolved \*'
11288 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'
11290 archive_cmds_need_lc
='no'
11291 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11292 hardcode_libdir_separator
=:
11295 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11296 if test "$GCC" = yes; then
11297 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11298 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'
11299 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11301 allow_undefined_flag
=' -expect_unresolved \*'
11302 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'
11303 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~
11304 $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'
11306 # Both c and cxx compiler support -rpath directly
11307 hardcode_libdir_flag_spec
='-rpath $libdir'
11309 archive_cmds_need_lc
='no'
11310 hardcode_libdir_separator
=:
11314 no_undefined_flag
=' -z defs'
11315 if test "$GCC" = yes; then
11317 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11318 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11319 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11321 case `$CC -V 2>&1` in
11324 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11326 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11330 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11332 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11336 hardcode_libdir_flag_spec
='-R$libdir'
11337 hardcode_shlibpath_var
=no
11339 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11341 # The compiler driver will combine and reorder linker options,
11342 # but understands `-z linker_flag'. GCC discards it without `$wl',
11343 # but is careful enough not to reorder.
11344 # Supported since Solaris 2.6 (maybe 2.5.1?)
11345 if test "$GCC" = yes; then
11346 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11348 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11352 link_all_deplibs
=yes
11356 if test "x$host_vendor" = xsequent
; then
11357 # Use $CC to link under sequent, because it throws in some extra .o
11358 # files that make .init and .fini sections work.
11359 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11361 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11363 hardcode_libdir_flag_spec
='-L$libdir'
11364 hardcode_direct
=yes
11365 hardcode_minus_L
=yes
11366 hardcode_shlibpath_var
=no
11370 case $host_vendor in
11372 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11373 hardcode_direct
=yes # is this really true???
11376 ## LD is ld it makes a PLAMLIB
11377 ## CC just makes a GrossModule.
11378 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11379 reload_cmds
='$CC -r -o $output$reload_objs'
11383 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11387 runpath_var
='LD_RUN_PATH'
11388 hardcode_shlibpath_var
=no
11392 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11393 hardcode_shlibpath_var
=no
11394 export_dynamic_flag_spec
='-Bexport'
11398 if test -d /usr
/nec
; then
11399 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11400 hardcode_shlibpath_var
=no
11401 runpath_var
=LD_RUN_PATH
11402 hardcode_runpath_var
=yes
11407 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11408 no_undefined_flag
='${wl}-z,text'
11409 archive_cmds_need_lc
=no
11410 hardcode_shlibpath_var
=no
11411 runpath_var
='LD_RUN_PATH'
11413 if test "$GCC" = yes; then
11414 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11415 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11417 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11418 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11422 sysv5
* | sco3.2v5
* | sco5v6
*)
11423 # Note: We can NOT use -z defs as we might desire, because we do not
11424 # link with -lc, and that would cause any symbols used from libc to
11425 # always be unresolved, which means just about no library would
11426 # ever link correctly. If we're not using GNU ld we use -z text
11427 # though, which does catch some bad symbols but isn't as heavy-handed
11429 no_undefined_flag
='${wl}-z,text'
11430 allow_undefined_flag
='${wl}-z,nodefs'
11431 archive_cmds_need_lc
=no
11432 hardcode_shlibpath_var
=no
11433 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11434 hardcode_libdir_separator
=':'
11435 link_all_deplibs
=yes
11436 export_dynamic_flag_spec
='${wl}-Bexport'
11437 runpath_var
='LD_RUN_PATH'
11439 if test "$GCC" = yes; then
11440 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11441 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11443 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11444 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11449 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11450 hardcode_libdir_flag_spec
='-L$libdir'
11451 hardcode_shlibpath_var
=no
11459 if test x
$host_vendor = xsni
; then
11461 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11462 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11469 $as_echo "$ld_shlibs" >&6; }
11470 test "$ld_shlibs" = no
&& can_build_shared
=no
11472 with_gnu_ld
=$with_gnu_ld
11489 # Do we need to explicitly link libc?
11491 case "x$archive_cmds_need_lc" in
11493 # Assume -lc should be added
11494 archive_cmds_need_lc
=yes
11496 if test "$enable_shared" = yes && test "$GCC" = yes; then
11497 case $archive_cmds in
11499 # FIXME: we may have to deal with multi-command sequences.
11502 # Test whether the compiler implicitly links with -lc since on some
11503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11504 # to ld, don't add -lc before -lgcc.
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11506 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11507 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11508 $as_echo_n "(cached) " >&6
11511 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11514 (eval $ac_compile) 2>&5
11516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11517 test $ac_status = 0; } 2>conftest.err
; then
11520 libobjs
=conftest.
$ac_objext
11522 wl
=$lt_prog_compiler_wl
11523 pic_flag
=$lt_prog_compiler_pic
11529 lt_save_allow_undefined_flag
=$allow_undefined_flag
11530 allow_undefined_flag
=
11531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11532 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11535 test $ac_status = 0; }
11537 lt_cv_archive_cmds_need_lc
=no
11539 lt_cv_archive_cmds_need_lc
=yes
11541 allow_undefined_flag
=$lt_save_allow_undefined_flag
11543 cat conftest.err
1>&5
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11549 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11550 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11714 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11716 if test "$GCC" = yes; then
11718 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11719 *) lt_awk_arg
="/^libraries:/" ;;
11722 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11723 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11725 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11726 case $lt_search_path_spec in
11728 # if the path contains ";" then we assume it to be the separator
11729 # otherwise default to the standard path separator (i.e. ":") - it is
11730 # assumed that no part of a normal pathname contains ";" but that should
11731 # okay in the real world where ";" in dirpaths is itself problematic.
11732 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11735 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11738 # Ok, now we have the path, separated by spaces, we can step through it
11739 # and add multilib dir if necessary.
11740 lt_tmp_lt_search_path_spec
=
11741 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11742 for lt_sys_path
in $lt_search_path_spec; do
11743 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11744 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11746 test -d "$lt_sys_path" && \
11747 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11750 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11751 BEGIN {RS=" "; FS="/|\n";} {
11754 for (lt_i = NF; lt_i > 0; lt_i--) {
11755 if ($lt_i != "" && $lt_i != ".") {
11756 if ($lt_i == "..") {
11759 if (lt_count == 0) {
11760 lt_foo="/" $lt_i lt_foo;
11767 if (lt_foo != "") { lt_freq[lt_foo]++; }
11768 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11770 # AWK program above erroneously prepends '/' to C:/dos/paths
11773 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11774 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11776 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11778 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11780 library_names_spec
=
11781 libname_spec
='lib$name'
11785 postuninstall_cmds
=
11789 shlibpath_overrides_runpath
=unknown
11791 dynamic_linker
="$host_os ld.so"
11792 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11793 need_lib_prefix
=unknown
11794 hardcode_into_libs
=no
11796 # when you set need_version to no, make sure it does not cause -set_version
11797 # flags to be left without arguments
11798 need_version
=unknown
11803 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11804 shlibpath_var
=LIBPATH
11806 # AIX 3 has no versioning support, so we append a major version to the name.
11807 soname_spec
='${libname}${release}${shared_ext}$major'
11814 hardcode_into_libs
=yes
11815 if test "$host_cpu" = ia64
; then
11816 # AIX 5 supports IA64
11817 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11818 shlibpath_var
=LD_LIBRARY_PATH
11820 # With GCC up to 2.95.x, collect2 would create an import file
11821 # for dependence libraries. The import file would start with
11822 # the line `#! .'. This would cause the generated library to
11823 # depend on `.', always an invalid library. This was fixed in
11824 # development snapshots of GCC prior to 3.0.
11826 aix4 | aix4.
[01] | aix4.
[01].
*)
11827 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11829 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11832 can_build_shared
=no
11836 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11837 # soname into executable. Probably we can add versioning support to
11838 # collect2, so additional links can be useful in future.
11839 if test "$aix_use_runtimelinking" = yes; then
11840 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11841 # instead of lib<name>.a to let people know that these are not
11842 # typical AIX shared libraries.
11843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11845 # We preserve .a as extension for shared libraries through AIX4.2
11846 # and later when we are not doing run time linking.
11847 library_names_spec
='${libname}${release}.a $libname.a'
11848 soname_spec
='${libname}${release}${shared_ext}$major'
11850 shlibpath_var
=LIBPATH
11857 # Since July 2007 AmigaOS4 officially supports .so libraries.
11858 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11862 library_names_spec
='$libname.ixlibrary $libname.a'
11863 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11864 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'
11870 library_names_spec
='${libname}${shared_ext}'
11871 dynamic_linker
="$host_os ld.so"
11872 shlibpath_var
=LIBRARY_PATH
11878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 soname_spec
='${libname}${release}${shared_ext}$major'
11880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11881 shlibpath_var
=LD_LIBRARY_PATH
11882 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11883 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11884 # the default ld.so.conf also contains /usr/contrib/lib and
11885 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11886 # libtool to hard-code these into programs
11889 cygwin
* | mingw
* | pw32
* | cegcc
*)
11890 version_type
=windows
11895 case $GCC,$host_os in
11896 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11897 library_names_spec
='$libname.dll.a'
11898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11899 postinstall_cmds
='base_file=`basename \${file}`~
11900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11901 dldir=$destdir/`dirname \$dlpath`~
11902 test -d \$dldir || mkdir -p \$dldir~
11903 $install_prog $dir/$dlname \$dldir/$dlname~
11904 chmod a+x \$dldir/$dlname~
11905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11908 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11909 dlpath=$dir/\$dldll~
11911 shlibpath_overrides_runpath
=yes
11915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11916 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11921 # MinGW DLLs use traditional 'lib' prefix
11922 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11925 # pw32 DLLs use 'pw' prefix rather than 'lib'
11926 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11932 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11935 dynamic_linker
='Win32 ld.exe'
11936 # FIXME: first we should search . and the directory the executable is in
11940 darwin
* | rhapsody
*)
11941 dynamic_linker
="$host_os dyld"
11942 version_type
=darwin
11945 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11946 soname_spec
='${libname}${release}${major}$shared_ext'
11947 shlibpath_overrides_runpath
=yes
11948 shlibpath_var
=DYLD_LIBRARY_PATH
11949 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11951 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11952 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11960 soname_spec
='${libname}${release}${shared_ext}$major'
11961 shlibpath_var
=LD_LIBRARY_PATH
11964 freebsd
* | dragonfly
*)
11965 # DragonFly does not have aout. When/if they implement a new
11966 # versioning mechanism, adjust this.
11967 if test -x /usr
/bin
/objformat
; then
11968 objformat
=`/usr/bin/objformat`
11971 freebsd
[23].
*) objformat
=aout
;;
11972 *) objformat
=elf
;;
11975 version_type
=freebsd-
$objformat
11976 case $version_type in
11978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11983 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11987 shlibpath_var
=LD_LIBRARY_PATH
11990 shlibpath_overrides_runpath
=yes
11992 freebsd3.
[01]* | freebsdelf3.
[01]*)
11993 shlibpath_overrides_runpath
=yes
11994 hardcode_into_libs
=yes
11996 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11997 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11998 shlibpath_overrides_runpath
=no
11999 hardcode_into_libs
=yes
12001 *) # from 4.6 on, and DragonFly
12002 shlibpath_overrides_runpath
=yes
12003 hardcode_into_libs
=yes
12012 dynamic_linker
="$host_os runtime_loader"
12013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12014 soname_spec
='${libname}${release}${shared_ext}$major'
12015 shlibpath_var
=LIBRARY_PATH
12016 shlibpath_overrides_runpath
=yes
12017 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12018 hardcode_into_libs
=yes
12021 hpux9
* | hpux10
* | hpux11
*)
12022 # Give a soname corresponding to the major version so that dld.sl refuses to
12023 # link against other versions.
12030 hardcode_into_libs
=yes
12031 dynamic_linker
="$host_os dld.so"
12032 shlibpath_var
=LD_LIBRARY_PATH
12033 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12035 soname_spec
='${libname}${release}${shared_ext}$major'
12036 if test "X$HPUX_IA64_MODE" = X32
; then
12037 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12039 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12041 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12045 hardcode_into_libs
=yes
12046 dynamic_linker
="$host_os dld.sl"
12047 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12048 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12050 soname_spec
='${libname}${release}${shared_ext}$major'
12051 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12052 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12056 dynamic_linker
="$host_os dld.sl"
12057 shlibpath_var
=SHLIB_PATH
12058 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12060 soname_spec
='${libname}${release}${shared_ext}$major'
12063 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12064 postinstall_cmds
='chmod 555 $lib'
12065 # or fails outright, so override atomically:
12066 install_override_mode
=555
12073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12074 soname_spec
='${libname}${release}${shared_ext}$major'
12075 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12076 shlibpath_var
=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath
=no
12078 hardcode_into_libs
=yes
12081 irix5
* | irix6
* | nonstopux
*)
12083 nonstopux
*) version_type
=nonstopux
;;
12085 if test "$lt_cv_prog_gnu_ld" = yes; then
12093 soname_spec
='${libname}${release}${shared_ext}$major'
12094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12096 irix5
* | nonstopux
*)
12097 libsuff
= shlibsuff
=
12100 case $LD in # libtool.m4 will add one of these switches to LD
12101 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12102 libsuff
= shlibsuff
= libmagic
=32-bit;;
12103 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12104 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12105 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12106 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12107 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12111 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12112 shlibpath_overrides_runpath
=no
12113 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12114 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12115 hardcode_into_libs
=yes
12118 # No shared lib support for Linux oldld, aout, or coff.
12119 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12123 # This must be Linux ELF.
12125 # uclinux* changes (here and below) have been submitted to the libtool
12126 # project, but have not yet been accepted: they are GCC-local changes
12127 # for the time being. (See
12128 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12129 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12134 soname_spec
='${libname}${release}${shared_ext}$major'
12135 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12136 shlibpath_var
=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath
=no
12139 # Some binutils ld are patched to set DT_RUNPATH
12140 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12141 $as_echo_n "(cached) " >&6
12143 lt_cv_shlibpath_overrides_runpath
=no
12144 save_LDFLAGS
=$LDFLAGS
12145 save_libdir
=$libdir
12146 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12147 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12148 if test x
$gcc_no_link = xyes
; then
12149 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12162 if ac_fn_c_try_link
"$LINENO"; then :
12163 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12164 lt_cv_shlibpath_overrides_runpath
=yes
12167 rm -f core conftest.err conftest.
$ac_objext \
12168 conftest
$ac_exeext conftest.
$ac_ext
12169 LDFLAGS
=$save_LDFLAGS
12170 libdir
=$save_libdir
12174 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12176 # This implies no fast_install, which is unacceptable.
12177 # Some rework will be needed to allow for fast_install
12178 # before this can be enabled.
12179 hardcode_into_libs
=yes
12181 # Append ld.so.conf contents to the search path
12182 if test -f /etc
/ld.so.conf
; then
12183 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' ' '`
12184 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12187 # We used to test for /lib/ld.so.1 and disable shared libraries on
12188 # powerpc, because MkLinux only supported shared libraries with the
12189 # GNU dynamic linker. Since this was broken with cross compilers,
12190 # most powerpc-linux boxes support dynamic linking these days and
12191 # people can always --disable-shared, the test was removed, and we
12192 # assume the GNU/Linux dynamic linker is in use.
12193 dynamic_linker
='GNU/Linux ld.so'
12200 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12202 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12203 dynamic_linker
='NetBSD (a.out) ld.so'
12205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12206 soname_spec
='${libname}${release}${shared_ext}$major'
12207 dynamic_linker
='NetBSD ld.elf_so'
12209 shlibpath_var
=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath
=yes
12211 hardcode_into_libs
=yes
12216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217 shlibpath_var
=LD_LIBRARY_PATH
12218 shlibpath_overrides_runpath
=yes
12225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226 soname_spec
='${libname}${release}${shared_ext}$major'
12227 shlibpath_var
=LD_LIBRARY_PATH
12228 shlibpath_overrides_runpath
=no
12229 hardcode_into_libs
=yes
12230 dynamic_linker
='ldqnx.so'
12235 sys_lib_dlsearch_path_spec
="/usr/lib"
12237 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12239 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12240 *) need_version
=no
;;
12242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12243 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12244 shlibpath_var
=LD_LIBRARY_PATH
12245 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12247 openbsd2.
[89] | openbsd2.
[89].
*)
12248 shlibpath_overrides_runpath
=no
12251 shlibpath_overrides_runpath
=yes
12255 shlibpath_overrides_runpath
=yes
12260 libname_spec
='$name'
12263 library_names_spec
='$libname${shared_ext} $libname.a'
12264 dynamic_linker
='OS/2 ld.exe'
12265 shlibpath_var
=LIBPATH
12268 osf3
* | osf4
* | osf5
*)
12272 soname_spec
='${libname}${release}${shared_ext}$major'
12273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274 shlibpath_var
=LD_LIBRARY_PATH
12275 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12276 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12288 soname_spec
='${libname}${release}${shared_ext}$major'
12289 shlibpath_var
=LD_LIBRARY_PATH
12290 shlibpath_overrides_runpath
=yes
12291 hardcode_into_libs
=yes
12292 # ldd complains unless libraries are executable
12293 postinstall_cmds
='chmod +x $lib'
12298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12299 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12300 shlibpath_var
=LD_LIBRARY_PATH
12301 shlibpath_overrides_runpath
=yes
12302 if test "$with_gnu_ld" = yes; then
12310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12311 soname_spec
='${libname}${release}${shared_ext}$major'
12312 shlibpath_var
=LD_LIBRARY_PATH
12313 case $host_vendor in
12315 shlibpath_overrides_runpath
=no
12317 runpath_var
=LD_RUN_PATH
12325 shlibpath_overrides_runpath
=no
12326 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12332 if test -d /usr
/nec
;then
12334 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12335 soname_spec
='$libname${shared_ext}.$major'
12336 shlibpath_var
=LD_LIBRARY_PATH
12340 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12341 version_type
=freebsd-elf
12344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12345 soname_spec
='${libname}${release}${shared_ext}$major'
12346 shlibpath_var
=LD_LIBRARY_PATH
12347 shlibpath_overrides_runpath
=yes
12348 hardcode_into_libs
=yes
12349 if test "$with_gnu_ld" = yes; then
12350 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12352 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12355 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12359 sys_lib_dlsearch_path_spec
='/usr/lib'
12363 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368 shlibpath_var
=LD_LIBRARY_PATH
12369 shlibpath_overrides_runpath
=no
12370 hardcode_into_libs
=yes
12375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12376 soname_spec
='${libname}${release}${shared_ext}$major'
12377 shlibpath_var
=LD_LIBRARY_PATH
12380 # Shared libraries for VwWorks, >= 7 only at this stage
12381 # and (fpic) still incompatible with "large" code models
12382 # in a few configurations. Only for RTP mode in any case,
12383 # and upon explicit request at configure time.
12386 case ${with_multisubdir}-${enable_shared} in
12393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12394 soname_spec
='${libname}${release}${shared_ext}$major'
12395 dynamic_linker
="$host_os module_loader"
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12404 $as_echo "$dynamic_linker" >&6; }
12405 test "$dynamic_linker" = no
&& can_build_shared
=no
12407 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12408 if test "$GCC" = yes; then
12409 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12412 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12413 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12415 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12416 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12511 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12513 if test -n "$hardcode_libdir_flag_spec" ||
12514 test -n "$runpath_var" ||
12515 test "X$hardcode_automatic" = "Xyes" ; then
12517 # We can hardcode non-existent directories.
12518 if test "$hardcode_direct" != no
&&
12519 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12520 # have to relink, otherwise we might link with an installed library
12521 # when we should be linking with a yet-to-be-installed one
12522 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12523 test "$hardcode_minus_L" != no
; then
12524 # Linking always hardcodes the temporary library directory.
12525 hardcode_action
=relink
12527 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12528 hardcode_action
=immediate
12531 # We cannot hardcode anything, or else we can only hardcode existing
12533 hardcode_action
=unsupported
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12536 $as_echo "$hardcode_action" >&6; }
12538 if test "$hardcode_action" = relink ||
12539 test "$inherit_rpath" = yes; then
12540 # Fast installation is not supported
12541 enable_fast_install
=no
12542 elif test "$shlibpath_overrides_runpath" = yes ||
12543 test "$enable_shared" = no
; then
12544 # Fast installation is not necessary
12545 enable_fast_install
=needless
12553 if test "x$enable_dlopen" != xyes
; then
12554 enable_dlopen
=unknown
12555 enable_dlopen_self
=unknown
12556 enable_dlopen_self_static
=unknown
12563 lt_cv_dlopen
="load_add_on"
12565 lt_cv_dlopen_self
=yes
12568 mingw
* | pw32
* | cegcc
*)
12569 lt_cv_dlopen
="LoadLibrary"
12574 lt_cv_dlopen
="dlopen"
12579 # if libdl is installed we need to link against it
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12581 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12582 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12583 $as_echo_n "(cached) " >&6
12585 ac_check_lib_save_LIBS
=$LIBS
12587 if test x
$gcc_no_link = xyes
; then
12588 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12608 if ac_fn_c_try_link
"$LINENO"; then :
12609 ac_cv_lib_dl_dlopen
=yes
12611 ac_cv_lib_dl_dlopen
=no
12613 rm -f core conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12615 LIBS
=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12618 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12619 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12620 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12623 lt_cv_dlopen
="dyld"
12625 lt_cv_dlopen_self
=yes
12632 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12633 if test "x$ac_cv_func_shl_load" = xyes
; then :
12634 lt_cv_dlopen
="shl_load"
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12637 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12638 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12641 ac_check_lib_save_LIBS
=$LIBS
12643 if test x
$gcc_no_link = xyes
; then
12644 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12659 return shl_load ();
12664 if ac_fn_c_try_link
"$LINENO"; then :
12665 ac_cv_lib_dld_shl_load
=yes
12667 ac_cv_lib_dld_shl_load
=no
12669 rm -f core conftest.err conftest.
$ac_objext \
12670 conftest
$ac_exeext conftest.
$ac_ext
12671 LIBS
=$ac_check_lib_save_LIBS
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12674 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12675 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12676 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12678 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12679 if test "x$ac_cv_func_dlopen" = xyes
; then :
12680 lt_cv_dlopen
="dlopen"
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12683 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12684 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12685 $as_echo_n "(cached) " >&6
12687 ac_check_lib_save_LIBS
=$LIBS
12689 if test x
$gcc_no_link = xyes
; then
12690 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12695 /* Override any GCC internal prototype to avoid an error.
12696 Use char because int might match the return type of a GCC
12697 builtin and then its argument prototype would still apply. */
12710 if ac_fn_c_try_link
"$LINENO"; then :
12711 ac_cv_lib_dl_dlopen
=yes
12713 ac_cv_lib_dl_dlopen
=no
12715 rm -f core conftest.err conftest.
$ac_objext \
12716 conftest
$ac_exeext conftest.
$ac_ext
12717 LIBS
=$ac_check_lib_save_LIBS
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12720 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12721 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12722 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12725 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12726 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12727 $as_echo_n "(cached) " >&6
12729 ac_check_lib_save_LIBS
=$LIBS
12730 LIBS
="-lsvld $LIBS"
12731 if test x
$gcc_no_link = xyes
; then
12732 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12752 if ac_fn_c_try_link
"$LINENO"; then :
12753 ac_cv_lib_svld_dlopen
=yes
12755 ac_cv_lib_svld_dlopen
=no
12757 rm -f core conftest.err conftest.
$ac_objext \
12758 conftest
$ac_exeext conftest.
$ac_ext
12759 LIBS
=$ac_check_lib_save_LIBS
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12762 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12763 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12764 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12767 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12768 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12769 $as_echo_n "(cached) " >&6
12771 ac_check_lib_save_LIBS
=$LIBS
12773 if test x
$gcc_no_link = xyes
; then
12774 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12789 return dld_link ();
12794 if ac_fn_c_try_link
"$LINENO"; then :
12795 ac_cv_lib_dld_dld_link
=yes
12797 ac_cv_lib_dld_dld_link
=no
12799 rm -f core conftest.err conftest.
$ac_objext \
12800 conftest
$ac_exeext conftest.
$ac_ext
12801 LIBS
=$ac_check_lib_save_LIBS
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12804 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12805 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12806 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12827 if test "x$lt_cv_dlopen" != xno
; then
12833 case $lt_cv_dlopen in
12835 save_CPPFLAGS
="$CPPFLAGS"
12836 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12838 save_LDFLAGS
="$LDFLAGS"
12839 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12842 LIBS
="$lt_cv_dlopen_libs $LIBS"
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12845 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12846 if ${lt_cv_dlopen_self+:} false
; then :
12847 $as_echo_n "(cached) " >&6
12849 if test "$cross_compiling" = yes; then :
12850 lt_cv_dlopen_self
=cross
12852 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12853 lt_status
=$lt_dlunknown
12854 cat > conftest.
$ac_ext <<_LT_EOF
12855 #line 12855 "configure"
12856 #include "confdefs.h"
12865 # define LT_DLGLOBAL RTLD_GLOBAL
12868 # define LT_DLGLOBAL DL_GLOBAL
12870 # define LT_DLGLOBAL 0
12874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12875 find out it does not work in some platform. */
12876 #ifndef LT_DLLAZY_OR_NOW
12878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12881 # define LT_DLLAZY_OR_NOW DL_LAZY
12884 # define LT_DLLAZY_OR_NOW RTLD_NOW
12887 # define LT_DLLAZY_OR_NOW DL_NOW
12889 # define LT_DLLAZY_OR_NOW 0
12896 /* When -fvisbility=hidden is used, assume the code has been annotated
12897 correspondingly for the symbols needed. */
12898 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12899 void fnord () __attribute__((visibility("default")));
12902 void fnord () { int i=42; }
12905 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12906 int status = $lt_dlunknown;
12910 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12913 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12914 else puts (dlerror ());
12916 /* dlclose (self); */
12924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12925 (eval $ac_link) 2>&5
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12929 (.
/conftest
; exit; ) >&5 2>/dev
/null
12931 case x
$lt_status in
12932 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12933 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12934 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12937 # compilation failed
12938 lt_cv_dlopen_self
=no
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12946 $as_echo "$lt_cv_dlopen_self" >&6; }
12948 if test "x$lt_cv_dlopen_self" = xyes
; then
12949 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12951 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12952 if ${lt_cv_dlopen_self_static+:} false
; then :
12953 $as_echo_n "(cached) " >&6
12955 if test "$cross_compiling" = yes; then :
12956 lt_cv_dlopen_self_static
=cross
12958 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12959 lt_status
=$lt_dlunknown
12960 cat > conftest.
$ac_ext <<_LT_EOF
12961 #line 12961 "configure"
12962 #include "confdefs.h"
12971 # define LT_DLGLOBAL RTLD_GLOBAL
12974 # define LT_DLGLOBAL DL_GLOBAL
12976 # define LT_DLGLOBAL 0
12980 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12981 find out it does not work in some platform. */
12982 #ifndef LT_DLLAZY_OR_NOW
12984 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12987 # define LT_DLLAZY_OR_NOW DL_LAZY
12990 # define LT_DLLAZY_OR_NOW RTLD_NOW
12993 # define LT_DLLAZY_OR_NOW DL_NOW
12995 # define LT_DLLAZY_OR_NOW 0
13002 /* When -fvisbility=hidden is used, assume the code has been annotated
13003 correspondingly for the symbols needed. */
13004 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13005 void fnord () __attribute__((visibility("default")));
13008 void fnord () { int i=42; }
13011 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13012 int status = $lt_dlunknown;
13016 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13019 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13020 else puts (dlerror ());
13022 /* dlclose (self); */
13030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13031 (eval $ac_link) 2>&5
13033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13034 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13035 (.
/conftest
; exit; ) >&5 2>/dev
/null
13037 case x
$lt_status in
13038 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13039 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13040 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13043 # compilation failed
13044 lt_cv_dlopen_self_static
=no
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13052 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13055 CPPFLAGS
="$save_CPPFLAGS"
13056 LDFLAGS
="$save_LDFLAGS"
13061 case $lt_cv_dlopen_self in
13062 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13063 *) enable_dlopen_self
=unknown
;;
13066 case $lt_cv_dlopen_self_static in
13067 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13068 *) enable_dlopen_self_static
=unknown
;;
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13091 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13092 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13093 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13094 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13096 $as_echo "yes" >&6; }
13098 # FIXME - insert some real tests, host_os isn't really good enough
13101 if test -n "$STRIP" ; then
13102 striplib
="$STRIP -x"
13103 old_striplib
="$STRIP -S"
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13105 $as_echo "yes" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13129 # Report which library types will actually be built
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13131 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13133 $as_echo "$can_build_shared" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13136 $as_echo_n "checking whether to build shared libraries... " >&6; }
13137 test "$can_build_shared" = "no" && enable_shared
=no
13139 # On AIX, shared libraries and static libraries use the same namespace, and
13140 # are all built from PIC.
13143 test "$enable_shared" = yes && enable_static
=no
13144 if test -n "$RANLIB"; then
13145 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13146 postinstall_cmds
='$RANLIB $lib'
13151 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13152 test "$enable_shared" = yes && enable_static
=no
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13157 $as_echo "$enable_shared" >&6; }
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13160 $as_echo_n "checking whether to build static libraries... " >&6; }
13161 # Make sure either enable_shared or enable_static is yes.
13162 test "$enable_shared" = yes || enable_static
=yes
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13164 $as_echo "$enable_static" >&6; }
13171 ac_cpp
='$CPP $CPPFLAGS'
13172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13190 ac_config_commands
="$ac_config_commands libtool"
13195 # Only expand once:
13200 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13201 # These system don't have libm, or don't need it
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13205 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13206 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13207 $as_echo_n "(cached) " >&6
13209 ac_check_lib_save_LIBS
=$LIBS
13211 if test x
$gcc_no_link = xyes
; then
13212 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13223 char _mwvalidcheckl ();
13227 return _mwvalidcheckl ();
13232 if ac_fn_c_try_link
"$LINENO"; then :
13233 ac_cv_lib_mw__mwvalidcheckl
=yes
13235 ac_cv_lib_mw__mwvalidcheckl
=no
13237 rm -f core conftest.err conftest.
$ac_objext \
13238 conftest
$ac_exeext conftest.
$ac_ext
13239 LIBS
=$ac_check_lib_save_LIBS
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13242 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13243 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13248 $as_echo_n "checking for cos in -lm... " >&6; }
13249 if ${ac_cv_lib_m_cos+:} false
; then :
13250 $as_echo_n "(cached) " >&6
13252 ac_check_lib_save_LIBS
=$LIBS
13254 if test x
$gcc_no_link = xyes
; then
13255 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13275 if ac_fn_c_try_link
"$LINENO"; then :
13276 ac_cv_lib_m_cos
=yes
13280 rm -f core conftest.err conftest.
$ac_objext \
13281 conftest
$ac_exeext conftest.
$ac_ext
13282 LIBS
=$ac_check_lib_save_LIBS
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13285 $as_echo "$ac_cv_lib_m_cos" >&6; }
13286 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13293 $as_echo_n "checking for cos in -lm... " >&6; }
13294 if ${ac_cv_lib_m_cos+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 ac_check_lib_save_LIBS
=$LIBS
13299 if test x
$gcc_no_link = xyes
; then
13300 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13320 if ac_fn_c_try_link
"$LINENO"; then :
13321 ac_cv_lib_m_cos
=yes
13325 rm -f core conftest.err conftest.
$ac_objext \
13326 conftest
$ac_exeext conftest.
$ac_ext
13327 LIBS
=$ac_check_lib_save_LIBS
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13330 $as_echo "$ac_cv_lib_m_cos" >&6; }
13331 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13343 *-cygwin* |
*-mingw*)
13344 # 'host' will be top-level target in the case of a target lib,
13345 # we must compare to with_cross_host to decide if this is a native
13346 # or cross-compiler and select where to install dlls appropriately.
13347 if test -n "$with_cross_host" &&
13348 test x
"$with_cross_host" != x
"no"; then
13349 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13351 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13363 if test x
$enable_darwin_at_rpath = xyes
; then
13364 ENABLE_DARWIN_AT_RPATH_TRUE
=
13365 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
13367 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
13368 ENABLE_DARWIN_AT_RPATH_FALSE
=
13371 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13373 # We need gfortran to compile parts of the library
13374 #AC_PROG_FC(gfortran)
13376 ac_ext
=${ac_fc_srcext-f}
13377 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13378 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13380 if test -n "$ac_tool_prefix"; then
13381 for ac_prog
in gfortran
13383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_prog_FC+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 if test -n "$FC"; then
13391 ac_cv_prog_FC
="$FC" # Let the user override the test.
13393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13394 for as_dir
in $PATH
13397 test -z "$as_dir" && as_dir
=.
13398 for ac_exec_ext
in '' $ac_executable_extensions; do
13399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13411 if test -n "$FC"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13413 $as_echo "$FC" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13420 test -n "$FC" && break
13423 if test -z "$FC"; then
13425 for ac_prog
in gfortran
13427 # Extract the first word of "$ac_prog", so it can be a program name with args.
13428 set dummy
$ac_prog; ac_word
=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13430 $as_echo_n "checking for $ac_word... " >&6; }
13431 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13432 $as_echo_n "(cached) " >&6
13434 if test -n "$ac_ct_FC"; then
13435 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13438 for as_dir
in $PATH
13441 test -z "$as_dir" && as_dir
=.
13442 for ac_exec_ext
in '' $ac_executable_extensions; do
13443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13444 ac_cv_prog_ac_ct_FC
="$ac_prog"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13454 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13455 if test -n "$ac_ct_FC"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13457 $as_echo "$ac_ct_FC" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13464 test -n "$ac_ct_FC" && break
13467 if test "x$ac_ct_FC" = x
; then
13470 case $cross_compiling:$ac_tool_warned in
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13474 ac_tool_warned
=yes ;;
13481 # Provide some information about the compiler.
13482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13485 for ac_option
in --version -v -V -qversion; do
13486 { { ac_try
="$ac_compiler $ac_option >&5"
13487 case "(($ac_try" in
13488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13489 *) ac_try_echo=$ac_try;;
13491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13492 $as_echo "$ac_try_echo"; } >&5
13493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13495 if test -s conftest.err; then
13497 ... rest of stderr output deleted ...
13498 10q' conftest.err >conftest.er1
13499 cat conftest.er1 >&5
13501 rm -f conftest.er1 conftest.err
13502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13503 test $ac_status = 0; }
13507 # If we don't use `.F
' as extension, the preprocessor is not run on the
13508 # input file. (Note that this only needs to work for GNU compilers.)
13509 ac_save_ext=$ac_ext
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13512 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13513 if ${ac_cv_fc_compiler_gnu+:} false; then :
13514 $as_echo_n "(cached) " >&6
13516 cat > conftest.$ac_ext <<_ACEOF
13524 if ac_fn_fc_try_compile "$LINENO"; then :
13525 ac_compiler_gnu=yes
13529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13530 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13534 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13535 ac_ext=$ac_save_ext
13536 ac_test_FCFLAGS=${FCFLAGS+set}
13537 ac_save_FCFLAGS=$FCFLAGS
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13540 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13541 if ${ac_cv_prog_fc_g+:} false; then :
13542 $as_echo_n "(cached) " >&6
13545 cat > conftest.$ac_ext <<_ACEOF
13550 if ac_fn_fc_try_compile "$LINENO"; then :
13551 ac_cv_prog_fc_g=yes
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13559 $as_echo "$ac_cv_prog_fc_g" >&6; }
13560 if test "$ac_test_FCFLAGS" = set; then
13561 FCFLAGS=$ac_save_FCFLAGS
13562 elif test $ac_cv_prog_fc_g = yes; then
13563 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13569 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13576 if test $ac_compiler_gnu = yes; then
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13584 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13587 ac_ext=${ac_fc_srcext-f}
13588 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13589 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13590 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13593 if test -z "$FC" || test "X$FC" = "Xno"; then
13597 archive_cmds_need_lc_FC=no
13598 allow_undefined_flag_FC=
13599 always_export_symbols_FC=no
13600 archive_expsym_cmds_FC=
13601 export_dynamic_flag_spec_FC=
13602 hardcode_direct_FC=no
13603 hardcode_direct_absolute_FC=no
13604 hardcode_libdir_flag_spec_FC=
13605 hardcode_libdir_flag_spec_ld_FC=
13606 hardcode_libdir_separator_FC=
13607 hardcode_minus_L_FC=no
13608 hardcode_automatic_FC=no
13609 inherit_rpath_FC=no
13611 module_expsym_cmds_FC=
13612 link_all_deplibs_FC=unknown
13613 old_archive_cmds_FC=$old_archive_cmds
13614 reload_flag_FC=$reload_flag
13615 reload_cmds_FC=$reload_cmds
13616 no_undefined_flag_FC=
13617 whole_archive_flag_spec_FC=
13618 enable_shared_with_static_runtimes_FC=no
13620 # Source file extension for fc test sources.
13621 ac_ext=${ac_fc_srcext-f}
13623 # Object file extension for compiled fc test sources.
13627 # No sense in running all these tests if we already determined that
13628 # the FC compiler isn't working. Some variables
(like enable_shared
)
13629 # are currently assumed to apply to all compilers on this platform,
13630 # and will be corrupted by setting them based on a non-working compiler.
13631 if test "$_lt_disable_FC" != yes; then
13632 # Code to be used in simple compile tests
13633 lt_simple_compile_test_code
="\
13639 # Code to be used in simple link tests
13640 lt_simple_link_test_code
="\
13645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13652 # If no C compiler was specified, use CC.
13655 # If no C compiler flags were specified, use CFLAGS.
13656 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13658 # Allow CC to be a program name with arguments.
13662 # save warnings/boilerplate of simple test code
13663 ac_outfile
=conftest.
$ac_objext
13664 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13665 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13666 _lt_compiler_boilerplate
=`cat conftest.err`
13669 ac_outfile
=conftest.
$ac_objext
13670 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13671 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13672 _lt_linker_boilerplate
=`cat conftest.err`
13676 # Allow CC to be a program name with arguments.
13681 GCC
=$ac_cv_fc_compiler_gnu
13684 for cc_temp
in $compiler""; do
13686 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13687 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13692 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13695 if test -n "$compiler"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13697 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13699 $as_echo "$can_build_shared" >&6; }
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13702 $as_echo_n "checking whether to build shared libraries... " >&6; }
13703 test "$can_build_shared" = "no" && enable_shared
=no
13705 # On AIX, shared libraries and static libraries use the same namespace, and
13706 # are all built from PIC.
13709 test "$enable_shared" = yes && enable_static
=no
13710 if test -n "$RANLIB"; then
13711 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13712 postinstall_cmds
='$RANLIB $lib'
13716 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13717 test "$enable_shared" = yes && enable_static
=no
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13722 $as_echo "$enable_shared" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13725 $as_echo_n "checking whether to build static libraries... " >&6; }
13726 # Make sure either enable_shared or enable_static is yes.
13727 test "$enable_shared" = yes || enable_static
=yes
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13729 $as_echo "$enable_static" >&6; }
13731 GCC_FC
="$ac_cv_fc_compiler_gnu"
13735 ## There is no encapsulation within the following macros, do not change
13736 ## the running order or otherwise move them around unless you know exactly
13737 ## what you are doing...
13738 # Dependencies to place before and after the object being linked:
13740 postdep_objects_FC
=
13743 compiler_lib_search_path_FC
=
13745 cat > conftest.
$ac_ext <<_LT_EOF
13754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13755 (eval $ac_compile) 2>&5
13757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758 test $ac_status = 0; }; then
13759 # Parse the compiler output and extract the necessary
13760 # objects, libraries and library flags.
13762 # Sentinel used to keep track of whether or not we are before
13763 # the conftest object file.
13764 pre_test_object_deps_done
=no
13766 for p
in `eval "$output_verbose_link_cmd"`; do
13770 # Some compilers place space between "-{L,R}" and the path.
13771 # Remove the space.
13772 if test $p = "-L" ||
13773 test $p = "-R"; then
13780 if test "$pre_test_object_deps_done" = no
; then
13783 # Internal compiler library paths should come after those
13784 # provided the user. The postdeps already come after the
13785 # user supplied libs so there is no need to process them.
13786 if test -z "$compiler_lib_search_path_FC"; then
13787 compiler_lib_search_path_FC
="${prev}${p}"
13789 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13792 # The "-l" case would never come before the object being
13793 # linked, so don't bother handling this case.
13796 if test -z "$postdeps_FC"; then
13797 postdeps_FC
="${prev}${p}"
13799 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13805 # This assumes that the test object file only shows up
13806 # once in the compiler output.
13807 if test "$p" = "conftest.$objext"; then
13808 pre_test_object_deps_done
=yes
13812 if test "$pre_test_object_deps_done" = no
; then
13813 if test -z "$predep_objects_FC"; then
13814 predep_objects_FC
="$p"
13816 predep_objects_FC
="$predep_objects_FC $p"
13819 if test -z "$postdep_objects_FC"; then
13820 postdep_objects_FC
="$p"
13822 postdep_objects_FC
="$postdep_objects_FC $p"
13827 *) ;; # Ignore the rest.
13835 echo "libtool.m4: error: problem compiling FC test program"
13838 $RM -f confest.
$objext
13840 # PORTME: override above test on systems where it is broken
13843 case " $postdeps_FC " in
13844 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13846 compiler_lib_search_dirs_FC
=
13847 if test -n "${compiler_lib_search_path_FC}"; then
13848 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13881 lt_prog_compiler_wl_FC
=
13882 lt_prog_compiler_pic_FC
=
13883 lt_prog_compiler_static_FC
=
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13886 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13888 if test "$GCC" = yes; then
13889 lt_prog_compiler_wl_FC
='-Wl,'
13890 lt_prog_compiler_static_FC
='-static'
13894 # All AIX code is PIC.
13895 if test "$host_cpu" = ia64
; then
13896 # AIX 5 now supports IA64 processor
13897 lt_prog_compiler_static_FC
='-Bstatic'
13899 lt_prog_compiler_pic_FC
='-fPIC'
13905 # see comment about AmigaOS4 .so support
13906 lt_prog_compiler_pic_FC
='-fPIC'
13909 # FIXME: we need at least 68020 code to build shared libraries, but
13910 # adding the `-m68020' flag to GCC prevents building anything better,
13912 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13917 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13918 # PIC is the default for these OSes.
13921 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13922 # This hack is so that the source file can tell whether it is being
13923 # built for inclusion in a dll (and should export symbols for example).
13924 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13925 # (--disable-auto-import) libraries
13926 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13929 darwin
* | rhapsody
*)
13930 # PIC is the default on this platform
13931 # Common symbols not allowed in MH_DYLIB files
13932 lt_prog_compiler_pic_FC
='-fno-common'
13936 # PIC is the default for Haiku.
13937 # The "-static" flag exists, but is broken.
13938 lt_prog_compiler_static_FC
=
13942 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13943 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13944 # sets the default TLS model and affects inlining.
13950 lt_prog_compiler_pic_FC
='-fPIC'
13956 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13957 # Instead, we relocate shared libraries at runtime.
13961 # Just because we use GCC doesn't mean we suddenly get shared libraries
13962 # on systems that don't support them.
13963 lt_prog_compiler_can_build_shared_FC
=no
13968 # QNX uses GNU C++, but need to define -shared option too, otherwise
13969 # it will coredump.
13970 lt_prog_compiler_pic_FC
='-fPIC -shared'
13974 if test -d /usr
/nec
; then
13975 lt_prog_compiler_pic_FC
=-Kconform_pic
13980 lt_prog_compiler_pic_FC
='-fPIC'
13984 case $cc_basename in
13985 nvcc
*) # Cuda Compiler Driver 2.2
13986 lt_prog_compiler_wl_FC
='-Xlinker '
13987 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13991 # PORTME Check for flag to pass linker flags through the system compiler.
13994 lt_prog_compiler_wl_FC
='-Wl,'
13995 if test "$host_cpu" = ia64
; then
13996 # AIX 5 now supports IA64 processor
13997 lt_prog_compiler_static_FC
='-Bstatic'
13999 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
14003 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
14004 # This hack is so that the source file can tell whether it is being
14005 # built for inclusion in a dll (and should export symbols for example).
14006 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
14009 hpux9
* | hpux10
* | hpux11
*)
14010 lt_prog_compiler_wl_FC
='-Wl,'
14011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14012 # not for PA HP-UX.
14018 lt_prog_compiler_pic_FC
='+Z'
14021 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14022 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
14025 irix5
* | irix6
* | nonstopux
*)
14026 lt_prog_compiler_wl_FC
='-Wl,'
14027 # PIC (with -KPIC) is the default.
14028 lt_prog_compiler_static_FC
='-non_shared'
14031 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14032 case $cc_basename in
14033 # old Intel for x86_64 which still supported -KPIC.
14035 lt_prog_compiler_wl_FC
='-Wl,'
14036 lt_prog_compiler_pic_FC
='-KPIC'
14037 lt_prog_compiler_static_FC
='-static'
14039 # icc used to be incompatible with GCC.
14040 # ICC 10 doesn't accept -KPIC any more.
14042 lt_prog_compiler_wl_FC
='-Wl,'
14043 lt_prog_compiler_pic_FC
='-fPIC'
14044 lt_prog_compiler_static_FC
='-static'
14046 # Lahey Fortran 8.1.
14048 lt_prog_compiler_wl_FC
='-Wl,'
14049 lt_prog_compiler_pic_FC
='--shared'
14050 lt_prog_compiler_static_FC
='--static'
14052 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14053 # Portland Group compilers (*not* the Pentium gcc compiler,
14054 # which looks to be a dead project)
14055 lt_prog_compiler_wl_FC
='-Wl,'
14056 lt_prog_compiler_pic_FC
='-fpic'
14057 lt_prog_compiler_static_FC
='-Bstatic'
14060 lt_prog_compiler_wl_FC
='-Wl,'
14061 # All Alpha code is PIC.
14062 lt_prog_compiler_static_FC
='-non_shared'
14064 xl
* | bgxl
* | bgf
* | mpixl
*)
14065 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14066 lt_prog_compiler_wl_FC
='-Wl,'
14067 lt_prog_compiler_pic_FC
='-qpic'
14068 lt_prog_compiler_static_FC
='-qstaticlink'
14071 case `$CC -V 2>&1 | sed 5q` in
14072 *Sun\ F
* |
*Sun
*Fortran
*)
14073 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14074 lt_prog_compiler_pic_FC
='-KPIC'
14075 lt_prog_compiler_static_FC
='-Bstatic'
14076 lt_prog_compiler_wl_FC
=''
14080 lt_prog_compiler_pic_FC
='-KPIC'
14081 lt_prog_compiler_static_FC
='-Bstatic'
14082 lt_prog_compiler_wl_FC
='-Wl,'
14090 lt_prog_compiler_pic_FC
='-KPIC'
14091 lt_prog_compiler_static_FC
='-Bstatic'
14095 # QNX uses GNU C++, but need to define -shared option too, otherwise
14096 # it will coredump.
14097 lt_prog_compiler_pic_FC
='-fPIC -shared'
14100 osf3
* | osf4
* | osf5
*)
14101 lt_prog_compiler_wl_FC
='-Wl,'
14102 # All OSF/1 code is PIC.
14103 lt_prog_compiler_static_FC
='-non_shared'
14107 lt_prog_compiler_static_FC
='-non_shared'
14111 lt_prog_compiler_pic_FC
='-KPIC'
14112 lt_prog_compiler_static_FC
='-Bstatic'
14113 case $cc_basename in
14114 f77
* | f90
* | f95
*)
14115 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14117 lt_prog_compiler_wl_FC
='-Wl,';;
14122 lt_prog_compiler_wl_FC
='-Qoption ld '
14123 lt_prog_compiler_pic_FC
='-PIC'
14124 lt_prog_compiler_static_FC
='-Bstatic'
14127 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14128 lt_prog_compiler_wl_FC
='-Wl,'
14129 lt_prog_compiler_pic_FC
='-KPIC'
14130 lt_prog_compiler_static_FC
='-Bstatic'
14134 if test -d /usr
/nec
;then
14135 lt_prog_compiler_pic_FC
='-Kconform_pic'
14136 lt_prog_compiler_static_FC
='-Bstatic'
14140 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14141 lt_prog_compiler_wl_FC
='-Wl,'
14142 lt_prog_compiler_pic_FC
='-KPIC'
14143 lt_prog_compiler_static_FC
='-Bstatic'
14147 lt_prog_compiler_wl_FC
='-Wl,'
14148 lt_prog_compiler_can_build_shared_FC
=no
14152 lt_prog_compiler_pic_FC
='-pic'
14153 lt_prog_compiler_static_FC
='-Bstatic'
14157 lt_prog_compiler_can_build_shared_FC
=no
14163 # For platforms which do not support PIC, -DPIC is meaningless:
14165 lt_prog_compiler_pic_FC
=
14168 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14172 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14177 # Check to make sure the PIC flag actually works.
14179 if test -n "$lt_prog_compiler_pic_FC"; then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14181 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14182 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14183 $as_echo_n "(cached) " >&6
14185 lt_cv_prog_compiler_pic_works_FC
=no
14186 ac_outfile
=conftest.
$ac_objext
14187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14188 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14189 # Insert the option either (1) after the last *FLAGS variable, or
14190 # (2) before a word containing "conftest.", or (3) at the end.
14191 # Note that $ac_compile itself does not contain backslashes and begins
14192 # with a dollar sign (not a hyphen), so the echo should work correctly.
14193 # The option is referenced via a variable to avoid confusing sed.
14194 lt_compile
=`echo "$ac_compile" | $SED \
14195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14197 -e 's:$: $lt_compiler_flag:'`
14198 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14199 (eval "$lt_compile" 2>conftest.err
)
14201 cat conftest.err
>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 if (exit $ac_status) && test -s "$ac_outfile"; then
14204 # The compiler can only warn and ignore the option if not recognized
14205 # So say no if there are warnings other than the usual output.
14206 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14207 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14208 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14209 lt_cv_prog_compiler_pic_works_FC
=yes
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14216 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14218 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14219 case $lt_prog_compiler_pic_FC in
14221 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14224 lt_prog_compiler_pic_FC
=
14225 lt_prog_compiler_can_build_shared_FC
=no
14233 # Check to make sure the static flag actually works.
14235 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14237 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14238 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14239 $as_echo_n "(cached) " >&6
14241 lt_cv_prog_compiler_static_works_FC
=no
14242 save_LDFLAGS
="$LDFLAGS"
14243 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14244 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14245 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14246 # The linker can only warn and ignore the option if not recognized
14247 # So say no if there are warnings
14248 if test -s conftest.err
; then
14249 # Append any errors to the config.log.
14250 cat conftest.err
1>&5
14251 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14252 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14253 if diff conftest.exp conftest.er2
>/dev
/null
; then
14254 lt_cv_prog_compiler_static_works_FC
=yes
14257 lt_cv_prog_compiler_static_works_FC
=yes
14261 LDFLAGS
="$save_LDFLAGS"
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14265 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14267 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14270 lt_prog_compiler_static_FC
=
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14278 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14279 $as_echo_n "(cached) " >&6
14281 lt_cv_prog_compiler_c_o_FC
=no
14282 $RM -r conftest
2>/dev
/null
14286 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14288 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14289 # Insert the option either (1) after the last *FLAGS variable, or
14290 # (2) before a word containing "conftest.", or (3) at the end.
14291 # Note that $ac_compile itself does not contain backslashes and begins
14292 # with a dollar sign (not a hyphen), so the echo should work correctly.
14293 lt_compile
=`echo "$ac_compile" | $SED \
14294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14296 -e 's:$: $lt_compiler_flag:'`
14297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14298 (eval "$lt_compile" 2>out
/conftest.err
)
14300 cat out
/conftest.err
>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14304 # The compiler can only warn and ignore the option if not recognized
14305 # So say no if there are warnings
14306 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14307 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14308 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14309 lt_cv_prog_compiler_c_o_FC
=yes
14314 # SGI C++ compiler will create directory out/ii_files/ for
14315 # template instantiation
14316 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14317 $RM out
/* && rmdir out
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14324 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14329 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14330 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14331 $as_echo_n "(cached) " >&6
14333 lt_cv_prog_compiler_c_o_FC
=no
14334 $RM -r conftest
2>/dev
/null
14338 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14340 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14341 # Insert the option either (1) after the last *FLAGS variable, or
14342 # (2) before a word containing "conftest.", or (3) at the end.
14343 # Note that $ac_compile itself does not contain backslashes and begins
14344 # with a dollar sign (not a hyphen), so the echo should work correctly.
14345 lt_compile
=`echo "$ac_compile" | $SED \
14346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14348 -e 's:$: $lt_compiler_flag:'`
14349 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14350 (eval "$lt_compile" 2>out
/conftest.err
)
14352 cat out
/conftest.err
>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14356 # The compiler can only warn and ignore the option if not recognized
14357 # So say no if there are warnings
14358 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14359 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14360 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14361 lt_cv_prog_compiler_c_o_FC
=yes
14366 # SGI C++ compiler will create directory out/ii_files/ for
14367 # template instantiation
14368 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14369 $RM out
/* && rmdir out
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14376 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14381 hard_links
="nottested"
14382 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14383 # do not overwrite the value of need_locks provided by the user
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14385 $as_echo_n "checking if we can lock with hard links... " >&6; }
14388 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14390 ln conftest.a conftest.b
2>&5 || hard_links
=no
14391 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14393 $as_echo "$hard_links" >&6; }
14394 if test "$hard_links" = no
; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14396 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14406 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14409 allow_undefined_flag_FC
=
14410 always_export_symbols_FC
=no
14412 archive_expsym_cmds_FC
=
14413 compiler_needs_object_FC
=no
14414 enable_shared_with_static_runtimes_FC
=no
14415 export_dynamic_flag_spec_FC
=
14416 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14417 hardcode_automatic_FC
=no
14418 hardcode_direct_FC
=no
14419 hardcode_direct_absolute_FC
=no
14420 hardcode_libdir_flag_spec_FC
=
14421 hardcode_libdir_flag_spec_ld_FC
=
14422 hardcode_libdir_separator_FC
=
14423 hardcode_minus_L_FC
=no
14424 hardcode_shlibpath_var_FC
=unsupported
14425 inherit_rpath_FC
=no
14426 link_all_deplibs_FC
=unknown
14428 module_expsym_cmds_FC
=
14429 old_archive_from_new_cmds_FC
=
14430 old_archive_from_expsyms_cmds_FC
=
14431 thread_safe_flag_spec_FC
=
14432 whole_archive_flag_spec_FC
=
14433 # include_expsyms should be a list of space-separated symbols to be *always*
14434 # included in the symbol list
14435 include_expsyms_FC
=
14436 # exclude_expsyms can be an extended regexp of symbols to exclude
14437 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14438 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14439 # as well as any symbol that contains `d'.
14440 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14441 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14442 # platforms (ab)use it in PIC code, but their linkers get confused if
14443 # the symbol is explicitly referenced. Since portable code cannot
14444 # rely on this symbol name, it's probably fine to never include it in
14445 # preloaded symbol tables.
14446 # Exclude shared library initialization/finalization symbols.
14447 extract_expsyms_cmds
=
14450 cygwin
* | mingw
* | pw32
* | cegcc
*)
14451 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14452 # When not using gcc, we currently assume that we are using
14453 # Microsoft Visual C++.
14454 if test "$GCC" != yes; then
14459 # we just hope/assume this is gcc and not c89 (= MSVC++)
14469 # On some targets, GNU ld is compatible enough with the native linker
14470 # that we're better off using the native interface for both.
14471 lt_use_gnu_ld_interface
=no
14472 if test "$with_gnu_ld" = yes; then
14475 # The AIX port of GNU ld has always aspired to compatibility
14476 # with the native linker. However, as the warning in the GNU ld
14477 # block says, versions before 2.19.5* couldn't really create working
14478 # shared libraries, regardless of the interface used.
14479 case `$LD -v 2>&1` in
14480 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14481 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14482 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14484 lt_use_gnu_ld_interface
=yes
14489 lt_use_gnu_ld_interface
=yes
14494 if test "$lt_use_gnu_ld_interface" = yes; then
14495 # If archive_cmds runs LD, not CC, wlarc should be empty
14498 # Set some defaults for GNU ld with shared library support. These
14499 # are reset later if shared libraries are not supported. Putting them
14500 # here allows them to be overridden if necessary.
14501 runpath_var
=LD_RUN_PATH
14502 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14503 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14504 # ancient GNU ld didn't support --whole-archive et. al.
14505 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14506 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14508 whole_archive_flag_spec_FC
=
14510 supports_anon_versioning
=no
14511 case `$LD -v 2>&1` in
14512 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14513 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14514 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14515 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14516 *\
2.11.
*) ;; # other 2.11 versions
14517 *) supports_anon_versioning
=yes ;;
14520 # See if GNU ld supports shared libraries.
14523 # On AIX/PPC, the GNU linker is very broken
14524 if test "$host_cpu" != ia64
; then
14528 *** Warning: the GNU linker, at least up to release 2.19, is reported
14529 *** to be unable to reliably create shared libraries on AIX.
14530 *** Therefore, libtool is disabling shared libraries support. If you
14531 *** really care for shared libraries, you may want to install binutils
14532 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14533 *** You will then need to restart the configuration process.
14542 # see comment about AmigaOS4 .so support
14543 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14544 archive_expsym_cmds_FC
=''
14547 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)'
14548 hardcode_libdir_flag_spec_FC
='-L$libdir'
14549 hardcode_minus_L_FC
=yes
14555 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14556 allow_undefined_flag_FC
=unsupported
14557 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14558 # support --undefined. This deserves some investigation. FIXME
14559 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 cygwin
* | mingw
* | pw32
* | cegcc
*)
14566 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14567 # as there is no search path for DLLs.
14568 hardcode_libdir_flag_spec_FC
='-L$libdir'
14569 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14570 allow_undefined_flag_FC
=unsupported
14571 always_export_symbols_FC
=no
14572 enable_shared_with_static_runtimes_FC
=yes
14573 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14575 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14576 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14577 # If the export-symbols file already is a .def file (1st line
14578 # is EXPORTS), use it as is; otherwise, prepend...
14579 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14580 cp $export_symbols $output_objdir/$soname.def;
14582 echo EXPORTS > $output_objdir/$soname.def;
14583 cat $export_symbols >> $output_objdir/$soname.def;
14585 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14592 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14593 link_all_deplibs_FC
=yes
14597 hardcode_direct_FC
=no
14598 hardcode_shlibpath_var_FC
=no
14599 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14600 export_dynamic_flag_spec_FC
='${wl}-E'
14601 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14602 # Instead, shared libraries are loaded at an image base (0x10000000 by
14603 # default) and relocated if they conflict, which is a slow very memory
14604 # consuming and fragmenting process. To avoid this, we pick a random,
14605 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14606 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14607 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'
14608 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'
14611 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14613 if test "$host_os" = linux-dietlibc
; then
14614 case $cc_basename in
14615 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14618 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14619 && test "$tmp_diet" = no
14621 tmp_addflag
=' $pic_flag'
14622 tmp_sharedflag
='-shared'
14623 case $cc_basename,$host_cpu in
14624 pgcc
*) # Portland Group C compiler
14625 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'
14626 tmp_addflag
=' $pic_flag'
14628 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14629 # Portland Group f77 and f90 compilers
14630 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'
14631 tmp_addflag
=' $pic_flag -Mnomain' ;;
14632 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14633 tmp_addflag
=' -i_dynamic' ;;
14634 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14635 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14636 ifc
* | ifort
*) # Intel Fortran compiler
14637 tmp_addflag
=' -nofor_main' ;;
14638 lf95
*) # Lahey Fortran 8.1
14639 whole_archive_flag_spec_FC
=
14640 tmp_sharedflag
='--shared' ;;
14641 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14642 tmp_sharedflag
='-qmkshrobj'
14644 nvcc
*) # Cuda Compiler Driver 2.2
14645 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'
14646 compiler_needs_object_FC
=yes
14649 case `$CC -V 2>&1 | sed 5q` in
14650 *Sun\ C
*) # Sun C 5.9
14651 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'
14652 compiler_needs_object_FC
=yes
14653 tmp_sharedflag
='-G' ;;
14654 *Sun\ F
*) # Sun Fortran 8.3
14655 tmp_sharedflag
='-G' ;;
14657 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14659 if test "x$supports_anon_versioning" = xyes
; then
14660 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14661 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14662 echo "local: *; };" >> $output_objdir/$libname.ver~
14663 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14666 case $cc_basename in
14667 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14668 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14669 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14670 hardcode_libdir_flag_spec_FC
=
14671 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14672 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14673 if test "x$supports_anon_versioning" = xyes
; then
14674 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14675 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14676 echo "local: *; };" >> $output_objdir/$libname.ver~
14677 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14687 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14688 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14691 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14692 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14697 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14701 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14702 *** create shared libraries on Solaris systems. Therefore, libtool
14703 *** is disabling shared libraries support. We urge you to upgrade GNU
14704 *** binutils to release 2.9.1 or newer. Another option is to modify
14705 *** your PATH or compiler configuration so that the native linker is
14706 *** used, and then restart.
14709 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14710 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14711 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14717 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14718 case `$LD -v 2>&1` in
14719 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14723 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14724 *** reliably create shared libraries on SCO systems. Therefore, libtool
14725 *** is disabling shared libraries support. We urge you to upgrade GNU
14726 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14727 *** your PATH or compiler configuration so that the native linker is
14728 *** used, and then restart.
14733 # For security reasons, it is highly recommended that you always
14734 # use absolute paths for naming shared libraries, and exclude the
14735 # DT_RUNPATH tag from executables and libraries. But doing so
14736 # requires that you compile everything twice, which is a pain.
14737 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14738 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14739 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14740 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14749 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14751 hardcode_direct_FC
=yes
14752 hardcode_shlibpath_var_FC
=no
14756 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14757 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14758 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14765 if test "$ld_shlibs_FC" = no
; then
14767 hardcode_libdir_flag_spec_FC
=
14768 export_dynamic_flag_spec_FC
=
14769 whole_archive_flag_spec_FC
=
14772 # PORTME fill in a description of your system's linker (not GNU ld)
14775 allow_undefined_flag_FC
=unsupported
14776 always_export_symbols_FC
=yes
14777 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'
14778 # Note: this linker hardcodes the directories in LIBPATH if there
14779 # are no directories specified by -L.
14780 hardcode_minus_L_FC
=yes
14781 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14782 # Neither direct hardcoding nor static linking is supported with a
14784 hardcode_direct_FC
=unsupported
14789 if test "$host_cpu" = ia64
; then
14790 # On IA64, the linker does run time linking by default, so we don't
14791 # have to do anything special.
14792 aix_use_runtimelinking
=no
14793 exp_sym_flag
='-Bexport'
14796 # If we're using GNU nm, then we don't want the "-C" option.
14797 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14798 # Also, AIX nm treats weak defined symbols like other global
14799 # defined symbols, whereas GNU nm marks them as "W".
14800 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14801 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'
14803 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'
14805 aix_use_runtimelinking
=no
14807 # Test if we are trying to use run time linking or normal
14808 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14809 # need to do runtime linking.
14810 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14811 for ld_flag
in $LDFLAGS; do
14812 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14813 aix_use_runtimelinking
=yes
14820 exp_sym_flag
='-bexport'
14821 no_entry_flag
='-bnoentry'
14824 # When large executables or shared objects are built, AIX ld can
14825 # have problems creating the table of contents. If linking a library
14826 # or program results in "error TOC overflow" add -mminimal-toc to
14827 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14828 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14831 hardcode_direct_FC
=yes
14832 hardcode_direct_absolute_FC
=yes
14833 hardcode_libdir_separator_FC
=':'
14834 link_all_deplibs_FC
=yes
14835 file_list_spec_FC
='${wl}-f,'
14837 if test "$GCC" = yes; then
14838 case $host_os in aix4.
[012]|aix4.
[012].
*)
14839 # We only want to do this on AIX 4.2 and lower, the check
14840 # below for broken collect2 doesn't work under 4.3+
14841 collect2name
=`${CC} -print-prog-name=collect2`
14842 if test -f "$collect2name" &&
14843 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14845 # We have reworked collect2
14848 # We have old collect2
14849 hardcode_direct_FC
=unsupported
14850 # It fails to find uninstalled libraries when the uninstalled
14851 # path is not listed in the libpath. Setting hardcode_minus_L
14852 # to unsupported forces relinking
14853 hardcode_minus_L_FC
=yes
14854 hardcode_libdir_flag_spec_FC
='-L$libdir'
14855 hardcode_libdir_separator_FC
=
14859 shared_flag
='-shared'
14860 if test "$aix_use_runtimelinking" = yes; then
14861 shared_flag
="$shared_flag "'${wl}-G'
14865 if test "$host_cpu" = ia64
; then
14866 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14867 # chokes on -Wl,-G. The following line is correct:
14870 if test "$aix_use_runtimelinking" = yes; then
14871 shared_flag
='${wl}-G'
14873 shared_flag
='${wl}-bM:SRE'
14878 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14879 # It seems that -bexpall does not export symbols beginning with
14880 # underscore (_), so it is better to generate a list of symbols to export.
14881 always_export_symbols_FC
=yes
14882 if test "$aix_use_runtimelinking" = yes; then
14883 # Warning - without using the other runtime loading flags (-brtl),
14884 # -berok will link without error, but may produce a broken library.
14885 allow_undefined_flag_FC
='-berok'
14886 # Determine the default libpath from the value encoded in an
14887 # empty executable.
14888 if test x
$gcc_no_link = xyes
; then
14889 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14891 cat > conftest.
$ac_ext <<_ACEOF
14896 if ac_fn_fc_try_link
"$LINENO"; then :
14898 lt_aix_libpath_sed
='
14899 /Import File Strings/,/^$/ {
14905 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14906 # Check for a 64-bit object if we didn't find anything.
14907 if test -z "$aix_libpath"; then
14908 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14911 rm -f core conftest.err conftest.
$ac_objext \
14912 conftest
$ac_exeext conftest.
$ac_ext
14913 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14915 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14916 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"
14918 if test "$host_cpu" = ia64
; then
14919 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14920 allow_undefined_flag_FC
="-z nodefs"
14921 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"
14923 # Determine the default libpath from the value encoded in an
14924 # empty executable.
14925 if test x
$gcc_no_link = xyes
; then
14926 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14928 cat > conftest.
$ac_ext <<_ACEOF
14933 if ac_fn_fc_try_link
"$LINENO"; then :
14935 lt_aix_libpath_sed
='
14936 /Import File Strings/,/^$/ {
14942 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14943 # Check for a 64-bit object if we didn't find anything.
14944 if test -z "$aix_libpath"; then
14945 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14948 rm -f core conftest.err conftest.
$ac_objext \
14949 conftest
$ac_exeext conftest.
$ac_ext
14950 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14952 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14953 # Warning - without using the other run time loading flags,
14954 # -berok will link without error, but may produce a broken library.
14955 no_undefined_flag_FC
=' ${wl}-bernotok'
14956 allow_undefined_flag_FC
=' ${wl}-berok'
14957 if test "$with_gnu_ld" = yes; then
14958 # We only use this code for GNU lds that support --whole-archive.
14959 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14961 # Exported symbols can be pulled into shared objects from archives
14962 whole_archive_flag_spec_FC
='$convenience'
14964 archive_cmds_need_lc_FC
=yes
14965 # This is similar to how AIX traditionally builds its shared libraries.
14966 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'
14974 # see comment about AmigaOS4 .so support
14975 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14976 archive_expsym_cmds_FC
=''
14979 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)'
14980 hardcode_libdir_flag_spec_FC
='-L$libdir'
14981 hardcode_minus_L_FC
=yes
14987 export_dynamic_flag_spec_FC
=-rdynamic
14990 cygwin
* | mingw
* | pw32
* | cegcc
*)
14991 # When not using gcc, we currently assume that we are using
14992 # Microsoft Visual C++.
14993 # hardcode_libdir_flag_spec is actually meaningless, as there is
14994 # no search path for DLLs.
14995 hardcode_libdir_flag_spec_FC
=' '
14996 allow_undefined_flag_FC
=unsupported
14997 # Tell ltmain to make .lib files, not .a files.
14999 # Tell ltmain to make .dll files, not .so files.
15001 # FIXME: Setting linknames here is a bad hack.
15002 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15003 # The linker will automatically build a .lib file if we build a DLL.
15004 old_archive_from_new_cmds_FC
='true'
15005 # FIXME: Should let the user specify the lib program.
15006 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15007 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
15008 enable_shared_with_static_runtimes_FC
=yes
15011 darwin
* | rhapsody
*)
15015 # Publish an arg to allow the user to select that Darwin host (and target)
15016 # libraries should be given install-names like @rpath/libfoo.dylib. This
15017 # requires that the user of the library then adds an 'rpath' to the DSO that
15019 # NOTE: there are defaults below, for systems that support rpaths. The person
15020 # configuring can override the defaults for any system version that supports
15021 # them - they are, however, forced off for system versions without support.
15022 # Check whether --enable-darwin-at-rpath was given.
15023 if test "${enable_darwin_at_rpath+set}" = set; then :
15024 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15025 # This is not supported before macOS 10.5 / Darwin9.
15026 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15027 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15029 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15030 enable_darwin_at_rpath
=no
15035 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15036 # As above, before 10.5 / Darwin9 this does not work.
15037 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15038 enable_darwin_at_rpath
=no
15041 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15042 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15043 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15044 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15046 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15047 enable_darwin_at_rpath
=yes
15049 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15050 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15057 archive_cmds_need_lc_FC
=no
15058 hardcode_direct_FC
=no
15059 hardcode_automatic_FC
=yes
15060 hardcode_shlibpath_var_FC
=unsupported
15061 if test "$lt_cv_ld_force_load" = "yes"; then
15062 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\"`'
15064 whole_archive_flag_spec_FC
=''
15066 link_all_deplibs_FC
=yes
15067 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
15068 case $cc_basename in
15069 ifort
*) _lt_dar_can_shared
=yes ;;
15070 *) _lt_dar_can_shared
=$GCC ;;
15072 if test "$_lt_dar_can_shared" = "yes"; then
15073 output_verbose_link_cmd
=func_echo_all
15074 _lt_install_name
='\$rpath/\$soname'
15075 if test "x$enable_darwin_at_rpath" = "xyes"; then
15076 _lt_install_name
='@rpath/\$soname'
15078 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15079 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15080 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
15081 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}"
15090 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15091 hardcode_libdir_flag_spec_FC
='-L$libdir'
15092 hardcode_shlibpath_var_FC
=no
15095 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15096 # support. Future versions do this automatically, but an explicit c++rt0.o
15097 # does not break anything, and helps significantly (at the cost of a little
15100 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15101 hardcode_libdir_flag_spec_FC
='-R$libdir'
15102 hardcode_direct_FC
=yes
15103 hardcode_shlibpath_var_FC
=no
15106 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15108 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_FC
=yes
15110 hardcode_minus_L_FC
=yes
15111 hardcode_shlibpath_var_FC
=no
15114 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15115 freebsd
* | dragonfly
*)
15116 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15117 hardcode_libdir_flag_spec_FC
='-R$libdir'
15118 hardcode_direct_FC
=yes
15119 hardcode_shlibpath_var_FC
=no
15123 if test "$GCC" = yes; then
15124 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'
15126 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'
15128 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15129 hardcode_libdir_separator_FC
=:
15130 hardcode_direct_FC
=yes
15132 # hardcode_minus_L: Not really in the search PATH,
15133 # but as the default location of the library.
15134 hardcode_minus_L_FC
=yes
15135 export_dynamic_flag_spec_FC
='${wl}-E'
15139 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15140 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15142 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15144 if test "$with_gnu_ld" = no
; then
15145 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15146 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15147 hardcode_libdir_separator_FC
=:
15148 hardcode_direct_FC
=yes
15149 hardcode_direct_absolute_FC
=yes
15150 export_dynamic_flag_spec_FC
='${wl}-E'
15151 # hardcode_minus_L: Not really in the search PATH,
15152 # but as the default location of the library.
15153 hardcode_minus_L_FC
=yes
15158 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15161 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15164 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15173 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15176 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15179 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15183 if test "$with_gnu_ld" = no
; then
15184 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15185 hardcode_libdir_separator_FC
=:
15189 hardcode_direct_FC
=no
15190 hardcode_shlibpath_var_FC
=no
15193 hardcode_direct_FC
=yes
15194 hardcode_direct_absolute_FC
=yes
15195 export_dynamic_flag_spec_FC
='${wl}-E'
15197 # hardcode_minus_L: Not really in the search PATH,
15198 # but as the default location of the library.
15199 hardcode_minus_L_FC
=yes
15205 irix5
* | irix6
* | nonstopux
*)
15206 if test "$GCC" = yes; then
15207 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'
15208 # Try to use the -exported_symbol ld option, if it does not
15209 # work, assume that -exports_file does not work either and
15210 # implicitly export all symbols.
15211 save_LDFLAGS
="$LDFLAGS"
15212 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15213 if test x
$gcc_no_link = xyes
; then
15214 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 cat > conftest.
$ac_ext <<_ACEOF
15219 if ac_fn_fc_try_link
"$LINENO"; then :
15220 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'
15223 rm -f core conftest.err conftest.
$ac_objext \
15224 conftest
$ac_exeext conftest.
$ac_ext
15225 LDFLAGS
="$save_LDFLAGS"
15227 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'
15228 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'
15230 archive_cmds_need_lc_FC
='no'
15231 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15232 hardcode_libdir_separator_FC
=:
15233 inherit_rpath_FC
=yes
15234 link_all_deplibs_FC
=yes
15238 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15239 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15241 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15243 hardcode_libdir_flag_spec_FC
='-R$libdir'
15244 hardcode_direct_FC
=yes
15245 hardcode_shlibpath_var_FC
=no
15249 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15250 hardcode_direct_FC
=yes
15251 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15252 hardcode_libdir_separator_FC
=:
15253 hardcode_shlibpath_var_FC
=no
15260 if test -f /usr
/libexec
/ld.so
; then
15261 hardcode_direct_FC
=yes
15262 hardcode_shlibpath_var_FC
=no
15263 hardcode_direct_absolute_FC
=yes
15264 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15265 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15266 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15267 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15268 export_dynamic_flag_spec_FC
='${wl}-E'
15271 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15272 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15273 hardcode_libdir_flag_spec_FC
='-R$libdir'
15276 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15277 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15287 hardcode_libdir_flag_spec_FC
='-L$libdir'
15288 hardcode_minus_L_FC
=yes
15289 allow_undefined_flag_FC
=unsupported
15290 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'
15291 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15295 if test "$GCC" = yes; then
15296 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15297 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'
15299 allow_undefined_flag_FC
=' -expect_unresolved \*'
15300 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'
15302 archive_cmds_need_lc_FC
='no'
15303 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15304 hardcode_libdir_separator_FC
=:
15307 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15308 if test "$GCC" = yes; then
15309 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15310 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'
15311 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15313 allow_undefined_flag_FC
=' -expect_unresolved \*'
15314 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'
15315 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~
15316 $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'
15318 # Both c and cxx compiler support -rpath directly
15319 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15321 archive_cmds_need_lc_FC
='no'
15322 hardcode_libdir_separator_FC
=:
15326 no_undefined_flag_FC
=' -z defs'
15327 if test "$GCC" = yes; then
15329 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15330 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15331 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15333 case `$CC -V 2>&1` in
15336 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15337 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15338 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15342 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15343 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15344 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15348 hardcode_libdir_flag_spec_FC
='-R$libdir'
15349 hardcode_shlibpath_var_FC
=no
15351 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15353 # The compiler driver will combine and reorder linker options,
15354 # but understands `-z linker_flag'. GCC discards it without `$wl',
15355 # but is careful enough not to reorder.
15356 # Supported since Solaris 2.6 (maybe 2.5.1?)
15357 if test "$GCC" = yes; then
15358 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15360 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15364 link_all_deplibs_FC
=yes
15368 if test "x$host_vendor" = xsequent
; then
15369 # Use $CC to link under sequent, because it throws in some extra .o
15370 # files that make .init and .fini sections work.
15371 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15373 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15375 hardcode_libdir_flag_spec_FC
='-L$libdir'
15376 hardcode_direct_FC
=yes
15377 hardcode_minus_L_FC
=yes
15378 hardcode_shlibpath_var_FC
=no
15382 case $host_vendor in
15384 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15385 hardcode_direct_FC
=yes # is this really true???
15388 ## LD is ld it makes a PLAMLIB
15389 ## CC just makes a GrossModule.
15390 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15391 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15392 hardcode_direct_FC
=no
15395 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15396 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15399 runpath_var
='LD_RUN_PATH'
15400 hardcode_shlibpath_var_FC
=no
15404 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15405 hardcode_shlibpath_var_FC
=no
15406 export_dynamic_flag_spec_FC
='-Bexport'
15410 if test -d /usr
/nec
; then
15411 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15412 hardcode_shlibpath_var_FC
=no
15413 runpath_var
=LD_RUN_PATH
15414 hardcode_runpath_var
=yes
15419 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15420 no_undefined_flag_FC
='${wl}-z,text'
15421 archive_cmds_need_lc_FC
=no
15422 hardcode_shlibpath_var_FC
=no
15423 runpath_var
='LD_RUN_PATH'
15425 if test "$GCC" = yes; then
15426 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15427 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15429 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15430 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15434 sysv5
* | sco3.2v5
* | sco5v6
*)
15435 # Note: We can NOT use -z defs as we might desire, because we do not
15436 # link with -lc, and that would cause any symbols used from libc to
15437 # always be unresolved, which means just about no library would
15438 # ever link correctly. If we're not using GNU ld we use -z text
15439 # though, which does catch some bad symbols but isn't as heavy-handed
15441 no_undefined_flag_FC
='${wl}-z,text'
15442 allow_undefined_flag_FC
='${wl}-z,nodefs'
15443 archive_cmds_need_lc_FC
=no
15444 hardcode_shlibpath_var_FC
=no
15445 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15446 hardcode_libdir_separator_FC
=':'
15447 link_all_deplibs_FC
=yes
15448 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15449 runpath_var
='LD_RUN_PATH'
15451 if test "$GCC" = yes; then
15452 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15453 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15455 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15461 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15462 hardcode_libdir_flag_spec_FC
='-L$libdir'
15463 hardcode_shlibpath_var_FC
=no
15471 if test x
$host_vendor = xsni
; then
15473 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15474 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15481 $as_echo "$ld_shlibs_FC" >&6; }
15482 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15484 with_gnu_ld_FC
=$with_gnu_ld
15492 # Do we need to explicitly link libc?
15494 case "x$archive_cmds_need_lc_FC" in
15496 # Assume -lc should be added
15497 archive_cmds_need_lc_FC
=yes
15499 if test "$enable_shared" = yes && test "$GCC" = yes; then
15500 case $archive_cmds_FC in
15502 # FIXME: we may have to deal with multi-command sequences.
15505 # Test whether the compiler implicitly links with -lc since on some
15506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15507 # to ld, don't add -lc before -lgcc.
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15509 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15510 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15511 $as_echo_n "(cached) " >&6
15514 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; } 2>conftest.err
; then
15523 libobjs
=conftest.
$ac_objext
15525 wl
=$lt_prog_compiler_wl_FC
15526 pic_flag
=$lt_prog_compiler_pic_FC
15532 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15533 allow_undefined_flag_FC
=
15534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15535 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538 test $ac_status = 0; }
15540 lt_cv_archive_cmds_need_lc_FC
=no
15542 lt_cv_archive_cmds_need_lc_FC
=yes
15544 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15546 cat conftest.err
1>&5
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15552 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15553 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15626 library_names_spec
=
15627 libname_spec
='lib$name'
15631 postuninstall_cmds
=
15635 shlibpath_overrides_runpath
=unknown
15637 dynamic_linker
="$host_os ld.so"
15638 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15639 need_lib_prefix
=unknown
15640 hardcode_into_libs
=no
15642 # when you set need_version to no, make sure it does not cause -set_version
15643 # flags to be left without arguments
15644 need_version
=unknown
15649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15650 shlibpath_var
=LIBPATH
15652 # AIX 3 has no versioning support, so we append a major version to the name.
15653 soname_spec
='${libname}${release}${shared_ext}$major'
15660 hardcode_into_libs
=yes
15661 if test "$host_cpu" = ia64
; then
15662 # AIX 5 supports IA64
15663 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15664 shlibpath_var
=LD_LIBRARY_PATH
15666 # With GCC up to 2.95.x, collect2 would create an import file
15667 # for dependence libraries. The import file would start with
15668 # the line `#! .'. This would cause the generated library to
15669 # depend on `.', always an invalid library. This was fixed in
15670 # development snapshots of GCC prior to 3.0.
15672 aix4 | aix4.
[01] | aix4.
[01].
*)
15673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15675 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15678 can_build_shared
=no
15682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15683 # soname into executable. Probably we can add versioning support to
15684 # collect2, so additional links can be useful in future.
15685 if test "$aix_use_runtimelinking" = yes; then
15686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15687 # instead of lib<name>.a to let people know that these are not
15688 # typical AIX shared libraries.
15689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15691 # We preserve .a as extension for shared libraries through AIX4.2
15692 # and later when we are not doing run time linking.
15693 library_names_spec
='${libname}${release}.a $libname.a'
15694 soname_spec
='${libname}${release}${shared_ext}$major'
15696 shlibpath_var
=LIBPATH
15703 # Since July 2007 AmigaOS4 officially supports .so libraries.
15704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15708 library_names_spec
='$libname.ixlibrary $libname.a'
15709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15710 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'
15716 library_names_spec
='${libname}${shared_ext}'
15717 dynamic_linker
="$host_os ld.so"
15718 shlibpath_var
=LIBRARY_PATH
15724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725 soname_spec
='${libname}${release}${shared_ext}$major'
15726 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15727 shlibpath_var
=LD_LIBRARY_PATH
15728 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15729 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15730 # the default ld.so.conf also contains /usr/contrib/lib and
15731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15732 # libtool to hard-code these into programs
15735 cygwin
* | mingw
* | pw32
* | cegcc
*)
15736 version_type
=windows
15741 case $GCC,$host_os in
15742 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15743 library_names_spec
='$libname.dll.a'
15744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15745 postinstall_cmds
='base_file=`basename \${file}`~
15746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15747 dldir=$destdir/`dirname \$dlpath`~
15748 test -d \$dldir || mkdir -p \$dldir~
15749 $install_prog $dir/$dlname \$dldir/$dlname~
15750 chmod a+x \$dldir/$dlname~
15751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15754 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15755 dlpath=$dir/\$dldll~
15757 shlibpath_overrides_runpath
=yes
15761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15762 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15766 # MinGW DLLs use traditional 'lib' prefix
15767 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15770 # pw32 DLLs use 'pw' prefix rather than 'lib'
15771 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15777 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15780 dynamic_linker
='Win32 ld.exe'
15781 # FIXME: first we should search . and the directory the executable is in
15785 darwin
* | rhapsody
*)
15786 dynamic_linker
="$host_os dyld"
15787 version_type
=darwin
15790 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15791 soname_spec
='${libname}${release}${major}$shared_ext'
15792 shlibpath_overrides_runpath
=yes
15793 shlibpath_var
=DYLD_LIBRARY_PATH
15794 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15796 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15804 soname_spec
='${libname}${release}${shared_ext}$major'
15805 shlibpath_var
=LD_LIBRARY_PATH
15808 freebsd
* | dragonfly
*)
15809 # DragonFly does not have aout. When/if they implement a new
15810 # versioning mechanism, adjust this.
15811 if test -x /usr
/bin
/objformat
; then
15812 objformat
=`/usr/bin/objformat`
15815 freebsd
[23].
*) objformat
=aout
;;
15816 *) objformat
=elf
;;
15819 version_type
=freebsd-
$objformat
15820 case $version_type in
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15827 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15831 shlibpath_var
=LD_LIBRARY_PATH
15834 shlibpath_overrides_runpath
=yes
15836 freebsd3.
[01]* | freebsdelf3.
[01]*)
15837 shlibpath_overrides_runpath
=yes
15838 hardcode_into_libs
=yes
15840 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15841 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15842 shlibpath_overrides_runpath
=no
15843 hardcode_into_libs
=yes
15845 *) # from 4.6 on, and DragonFly
15846 shlibpath_overrides_runpath
=yes
15847 hardcode_into_libs
=yes
15856 dynamic_linker
="$host_os runtime_loader"
15857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15858 soname_spec
='${libname}${release}${shared_ext}$major'
15859 shlibpath_var
=LIBRARY_PATH
15860 shlibpath_overrides_runpath
=yes
15861 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15862 hardcode_into_libs
=yes
15865 hpux9
* | hpux10
* | hpux11
*)
15866 # Give a soname corresponding to the major version so that dld.sl refuses to
15867 # link against other versions.
15874 hardcode_into_libs
=yes
15875 dynamic_linker
="$host_os dld.so"
15876 shlibpath_var
=LD_LIBRARY_PATH
15877 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15879 soname_spec
='${libname}${release}${shared_ext}$major'
15880 if test "X$HPUX_IA64_MODE" = X32
; then
15881 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15883 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15885 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15889 hardcode_into_libs
=yes
15890 dynamic_linker
="$host_os dld.sl"
15891 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15892 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15894 soname_spec
='${libname}${release}${shared_ext}$major'
15895 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15896 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15900 dynamic_linker
="$host_os dld.sl"
15901 shlibpath_var
=SHLIB_PATH
15902 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15904 soname_spec
='${libname}${release}${shared_ext}$major'
15907 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15908 postinstall_cmds
='chmod 555 $lib'
15909 # or fails outright, so override atomically:
15910 install_override_mode
=555
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15918 soname_spec
='${libname}${release}${shared_ext}$major'
15919 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15920 shlibpath_var
=LD_LIBRARY_PATH
15921 shlibpath_overrides_runpath
=no
15922 hardcode_into_libs
=yes
15925 irix5
* | irix6
* | nonstopux
*)
15927 nonstopux
*) version_type
=nonstopux
;;
15929 if test "$lt_cv_prog_gnu_ld" = yes; then
15937 soname_spec
='${libname}${release}${shared_ext}$major'
15938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15940 irix5
* | nonstopux
*)
15941 libsuff
= shlibsuff
=
15944 case $LD in # libtool.m4 will add one of these switches to LD
15945 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15946 libsuff
= shlibsuff
= libmagic
=32-bit;;
15947 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15948 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15949 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15950 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15951 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15955 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15956 shlibpath_overrides_runpath
=no
15957 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15958 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15959 hardcode_into_libs
=yes
15962 # No shared lib support for Linux oldld, aout, or coff.
15963 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15967 # This must be Linux ELF.
15969 # uclinux* changes (here and below) have been submitted to the libtool
15970 # project, but have not yet been accepted: they are GCC-local changes
15971 # for the time being. (See
15972 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15973 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15978 soname_spec
='${libname}${release}${shared_ext}$major'
15979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15980 shlibpath_var
=LD_LIBRARY_PATH
15981 shlibpath_overrides_runpath
=no
15983 # Some binutils ld are patched to set DT_RUNPATH
15984 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15985 $as_echo_n "(cached) " >&6
15987 lt_cv_shlibpath_overrides_runpath
=no
15988 save_LDFLAGS
=$LDFLAGS
15989 save_libdir
=$libdir
15990 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15991 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15992 if test x
$gcc_no_link = xyes
; then
15993 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15995 cat > conftest.
$ac_ext <<_ACEOF
16000 if ac_fn_fc_try_link
"$LINENO"; then :
16001 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16002 lt_cv_shlibpath_overrides_runpath
=yes
16005 rm -f core conftest.err conftest.
$ac_objext \
16006 conftest
$ac_exeext conftest.
$ac_ext
16007 LDFLAGS
=$save_LDFLAGS
16008 libdir
=$save_libdir
16012 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16014 # This implies no fast_install, which is unacceptable.
16015 # Some rework will be needed to allow for fast_install
16016 # before this can be enabled.
16017 hardcode_into_libs
=yes
16019 # Append ld.so.conf contents to the search path
16020 if test -f /etc
/ld.so.conf
; then
16021 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' ' '`
16022 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16025 # We used to test for /lib/ld.so.1 and disable shared libraries on
16026 # powerpc, because MkLinux only supported shared libraries with the
16027 # GNU dynamic linker. Since this was broken with cross compilers,
16028 # most powerpc-linux boxes support dynamic linking these days and
16029 # people can always --disable-shared, the test was removed, and we
16030 # assume the GNU/Linux dynamic linker is in use.
16031 dynamic_linker
='GNU/Linux ld.so'
16038 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16040 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16041 dynamic_linker
='NetBSD (a.out) ld.so'
16043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16044 soname_spec
='${libname}${release}${shared_ext}$major'
16045 dynamic_linker
='NetBSD ld.elf_so'
16047 shlibpath_var
=LD_LIBRARY_PATH
16048 shlibpath_overrides_runpath
=yes
16049 hardcode_into_libs
=yes
16054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16055 shlibpath_var
=LD_LIBRARY_PATH
16056 shlibpath_overrides_runpath
=yes
16063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16064 soname_spec
='${libname}${release}${shared_ext}$major'
16065 shlibpath_var
=LD_LIBRARY_PATH
16066 shlibpath_overrides_runpath
=no
16067 hardcode_into_libs
=yes
16068 dynamic_linker
='ldqnx.so'
16073 sys_lib_dlsearch_path_spec
="/usr/lib"
16075 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16077 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16078 *) need_version
=no
;;
16080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16081 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16082 shlibpath_var
=LD_LIBRARY_PATH
16083 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16085 openbsd2.
[89] | openbsd2.
[89].
*)
16086 shlibpath_overrides_runpath
=no
16089 shlibpath_overrides_runpath
=yes
16093 shlibpath_overrides_runpath
=yes
16098 libname_spec
='$name'
16101 library_names_spec
='$libname${shared_ext} $libname.a'
16102 dynamic_linker
='OS/2 ld.exe'
16103 shlibpath_var
=LIBPATH
16106 osf3
* | osf4
* | osf5
*)
16110 soname_spec
='${libname}${release}${shared_ext}$major'
16111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16112 shlibpath_var
=LD_LIBRARY_PATH
16113 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16114 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16126 soname_spec
='${libname}${release}${shared_ext}$major'
16127 shlibpath_var
=LD_LIBRARY_PATH
16128 shlibpath_overrides_runpath
=yes
16129 hardcode_into_libs
=yes
16130 # ldd complains unless libraries are executable
16131 postinstall_cmds
='chmod +x $lib'
16136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16137 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16138 shlibpath_var
=LD_LIBRARY_PATH
16139 shlibpath_overrides_runpath
=yes
16140 if test "$with_gnu_ld" = yes; then
16148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16149 soname_spec
='${libname}${release}${shared_ext}$major'
16150 shlibpath_var
=LD_LIBRARY_PATH
16151 case $host_vendor in
16153 shlibpath_overrides_runpath
=no
16155 runpath_var
=LD_RUN_PATH
16163 shlibpath_overrides_runpath
=no
16164 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16170 if test -d /usr
/nec
;then
16172 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16173 soname_spec
='$libname${shared_ext}.$major'
16174 shlibpath_var
=LD_LIBRARY_PATH
16178 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16179 version_type
=freebsd-elf
16182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16183 soname_spec
='${libname}${release}${shared_ext}$major'
16184 shlibpath_var
=LD_LIBRARY_PATH
16185 shlibpath_overrides_runpath
=yes
16186 hardcode_into_libs
=yes
16187 if test "$with_gnu_ld" = yes; then
16188 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16190 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16193 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16197 sys_lib_dlsearch_path_spec
='/usr/lib'
16201 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16206 shlibpath_var
=LD_LIBRARY_PATH
16207 shlibpath_overrides_runpath
=no
16208 hardcode_into_libs
=yes
16213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16214 soname_spec
='${libname}${release}${shared_ext}$major'
16215 shlibpath_var
=LD_LIBRARY_PATH
16218 # Shared libraries for VwWorks, >= 7 only at this stage
16219 # and (fpic) still incompatible with "large" code models
16220 # in a few configurations. Only for RTP mode in any case,
16221 # and upon explicit request at configure time.
16224 case ${with_multisubdir}-${enable_shared} in
16231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16232 soname_spec
='${libname}${release}${shared_ext}$major'
16233 dynamic_linker
="$host_os module_loader"
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16242 $as_echo "$dynamic_linker" >&6; }
16243 test "$dynamic_linker" = no
&& can_build_shared
=no
16245 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16246 if test "$GCC" = yes; then
16247 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16250 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16251 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16253 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16254 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16295 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16296 hardcode_action_FC
=
16297 if test -n "$hardcode_libdir_flag_spec_FC" ||
16298 test -n "$runpath_var_FC" ||
16299 test "X$hardcode_automatic_FC" = "Xyes" ; then
16301 # We can hardcode non-existent directories.
16302 if test "$hardcode_direct_FC" != no
&&
16303 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16304 # have to relink, otherwise we might link with an installed library
16305 # when we should be linking with a yet-to-be-installed one
16306 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16307 test "$hardcode_minus_L_FC" != no
; then
16308 # Linking always hardcodes the temporary library directory.
16309 hardcode_action_FC
=relink
16311 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16312 hardcode_action_FC
=immediate
16315 # We cannot hardcode anything, or else we can only hardcode existing
16317 hardcode_action_FC
=unsupported
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16320 $as_echo "$hardcode_action_FC" >&6; }
16322 if test "$hardcode_action_FC" = relink ||
16323 test "$inherit_rpath_FC" = yes; then
16324 # Fast installation is not supported
16325 enable_fast_install
=no
16326 elif test "$shlibpath_overrides_runpath" = yes ||
16327 test "$enable_shared" = no
; then
16328 # Fast installation is not necessary
16329 enable_fast_install
=needless
16338 fi # test -n "$compiler"
16342 fi # test "$_lt_disable_FC" != yes
16345 ac_cpp
='$CPP $CPPFLAGS'
16346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16352 # extra LD Flags which are required for targets
16353 extra_ldflags_libgfortran
=
16356 # Earlier Darwin needs -single_module when linking libgfortran
16357 extra_ldflags_libgfortran
=-Wl,-single_module
16362 # We need a working compiler at that point, otherwise give a clear
16363 # error message and bail out.
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16366 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16367 ac_ext
=${ac_fc_srcext-f}
16368 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16369 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16370 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16372 cat > conftest.
$ac_ext <<_ACEOF
16375 real, parameter :: bar = sin (12.34 / 2.5)
16378 if ac_fn_fc_try_compile
"$LINENO"; then :
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16380 $as_echo "yes" >&6; }
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16383 $as_echo "no" >&6; }
16384 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16389 ac_cpp
='$CPP $CPPFLAGS'
16390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16396 # Check whether --enable-largefile was given.
16397 if test "${enable_largefile+set}" = set; then :
16398 enableval
=$enable_largefile;
16401 if test "$enable_largefile" != no
; then
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16404 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16405 if ${ac_cv_sys_largefile_CC+:} false
; then :
16406 $as_echo_n "(cached) " >&6
16408 ac_cv_sys_largefile_CC
=no
16409 if test "$GCC" != yes; then
16412 # IRIX 6.2 and later do not support large files by default,
16413 # so use the C compiler's -n32 option if that helps.
16414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #include <sys/types.h>
16417 /* Check that off_t can represent 2**63 - 1 correctly.
16418 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16419 since some C++ compilers masquerading as C compilers
16420 incorrectly reject 9223372036854775807. */
16421 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16422 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16423 && LARGE_OFF_T % 2147483647 == 1)
16433 if ac_fn_c_try_compile
"$LINENO"; then :
16436 rm -f core conftest.err conftest.
$ac_objext
16438 if ac_fn_c_try_compile
"$LINENO"; then :
16439 ac_cv_sys_largefile_CC
=' -n32'; break
16441 rm -f core conftest.err conftest.
$ac_objext
16445 rm -f conftest.
$ac_ext
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16449 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16450 if test "$ac_cv_sys_largefile_CC" != no
; then
16451 CC
=$CC$ac_cv_sys_largefile_CC
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16455 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16456 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16457 $as_echo_n "(cached) " >&6
16460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #include <sys/types.h>
16463 /* Check that off_t can represent 2**63 - 1 correctly.
16464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16465 since some C++ compilers masquerading as C compilers
16466 incorrectly reject 9223372036854775807. */
16467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16469 && LARGE_OFF_T % 2147483647 == 1)
16479 if ac_fn_c_try_compile
"$LINENO"; then :
16480 ac_cv_sys_file_offset_bits
=no
; break
16482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #define _FILE_OFFSET_BITS 64
16486 #include <sys/types.h>
16487 /* Check that off_t can represent 2**63 - 1 correctly.
16488 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16489 since some C++ compilers masquerading as C compilers
16490 incorrectly reject 9223372036854775807. */
16491 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16492 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16493 && LARGE_OFF_T % 2147483647 == 1)
16503 if ac_fn_c_try_compile
"$LINENO"; then :
16504 ac_cv_sys_file_offset_bits
=64; break
16506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16507 ac_cv_sys_file_offset_bits
=unknown
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16512 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16513 case $ac_cv_sys_file_offset_bits in #(
16516 cat >>confdefs.h
<<_ACEOF
16517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16522 if test $ac_cv_sys_file_offset_bits = unknown
; then
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16524 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16525 if ${ac_cv_sys_large_files+:} false
; then :
16526 $as_echo_n "(cached) " >&6
16529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #include <sys/types.h>
16532 /* Check that off_t can represent 2**63 - 1 correctly.
16533 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16534 since some C++ compilers masquerading as C compilers
16535 incorrectly reject 9223372036854775807. */
16536 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16537 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16538 && LARGE_OFF_T % 2147483647 == 1)
16548 if ac_fn_c_try_compile
"$LINENO"; then :
16549 ac_cv_sys_large_files
=no
; break
16551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16554 #define _LARGE_FILES 1
16555 #include <sys/types.h>
16556 /* Check that off_t can represent 2**63 - 1 correctly.
16557 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16558 since some C++ compilers masquerading as C compilers
16559 incorrectly reject 9223372036854775807. */
16560 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16561 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16562 && LARGE_OFF_T % 2147483647 == 1)
16572 if ac_fn_c_try_compile
"$LINENO"; then :
16573 ac_cv_sys_large_files
=1; break
16575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16576 ac_cv_sys_large_files
=unknown
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16581 $as_echo "$ac_cv_sys_large_files" >&6; }
16582 case $ac_cv_sys_large_files in #(
16585 cat >>confdefs.h
<<_ACEOF
16586 #define _LARGE_FILES $ac_cv_sys_large_files
16598 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16599 if test "x$ac_cv_type_off_t" = xyes
; then :
16603 cat >>confdefs.h
<<_ACEOF
16604 #define off_t long int
16610 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16611 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16613 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16616 for ac_type
in 'int' 'long int' 'long long int'; do
16617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 $ac_includes_default
16623 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16624 test_array [0] = 0;
16625 return test_array [0];
16631 if ac_fn_c_try_compile
"$LINENO"; then :
16633 cat >>confdefs.h
<<_ACEOF
16634 #define intptr_t $ac_type
16639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 test -z "$ac_type" && break
16646 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16647 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16649 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16652 for ac_type
in 'unsigned int' 'unsigned long int' \
16653 'unsigned long long int'; do
16654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 $ac_includes_default
16660 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16661 test_array [0] = 0;
16662 return test_array [0];
16668 if ac_fn_c_try_compile
"$LINENO"; then :
16670 cat >>confdefs.h
<<_ACEOF
16671 #define uintptr_t $ac_type
16676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16677 test -z "$ac_type" && break
16682 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16683 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16685 cat >>confdefs.h
<<_ACEOF
16686 #define HAVE_PTRDIFF_T 1
16693 # check header files (we assume C89 is available, so don't check for that)
16697 for ac_header
in $ac_header_list
16699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16700 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16702 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16703 cat >>confdefs.h
<<_ACEOF
16704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16749 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16751 acx_cv_header_stdint
=stddef.h
16752 acx_cv_header_stdint_kind
="(already complete)"
16753 for i
in stdint.h
$inttype_headers; do
16754 unset ac_cv_type_uintptr_t
16755 unset ac_cv_type_uintmax_t
16756 unset ac_cv_type_int_least32_t
16757 unset ac_cv_type_int_fast32_t
16758 unset ac_cv_type_uint64_t
16759 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16760 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16763 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16764 acx_cv_header_stdint
=$i
16769 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16772 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16775 acx_cv_header_stdint_kind
="(mostly complete)"
16778 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16781 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16784 acx_cv_header_stdint_kind
="(mostly complete)"
16787 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16790 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16793 acx_cv_header_stdint_kind
="(mostly complete)"
16796 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16799 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16802 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16807 if test "$acx_cv_header_stdint" = stddef.h
; then
16808 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16809 for i
in stdint.h
$inttype_headers; do
16810 unset ac_cv_type_uintptr_t
16811 unset ac_cv_type_uint32_t
16812 unset ac_cv_type_uint64_t
16813 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16814 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16817 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16818 acx_cv_header_stdint
=$i
16823 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16826 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16830 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16833 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16840 if test "$acx_cv_header_stdint" = stddef.h
; then
16841 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16842 for i
in sys
/types.h
$inttype_headers; do
16843 unset ac_cv_type_u_int32_t
16844 unset ac_cv_type_u_int64_t
16845 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16846 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16849 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16850 acx_cv_header_stdint
=$i
16855 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16858 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16865 if test "$acx_cv_header_stdint" = stddef.h
; then
16866 acx_cv_header_stdint_kind
="(using manual detection)"
16869 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16870 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16871 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16872 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16873 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16875 # ----------------- Summarize what we found so far
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16878 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16880 case `$as_basename -- gstdint.h ||
16881 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16882 Xgstdint.h : 'X\(//\)$' \| \
16883 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16884 $as_echo X/gstdint.h |
16885 sed '/^.*\/\([^/][^/]*\)\/*$/{
16898 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16899 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16900 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16901 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16906 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16908 # ----------------- done included file, check C basic types --------
16910 # Lacking an uintptr_t? Test size of void *
16911 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16912 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16915 # This bug is HP SR number 8606223364.
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16917 $as_echo_n "checking size of void *... " >&6; }
16918 if ${ac_cv_sizeof_void_p+:} false
; then :
16919 $as_echo_n "(cached) " >&6
16921 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16924 if test "$ac_cv_type_void_p" = yes; then
16925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16927 as_fn_error
77 "cannot compute sizeof (void *)
16928 See \`config.log' for more details" "$LINENO" 5; }
16930 ac_cv_sizeof_void_p
=0
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16936 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16940 cat >>confdefs.h
<<_ACEOF
16941 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16947 # Lacking an uint64_t? Test size of long
16948 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16949 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16952 # This bug is HP SR number 8606223364.
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16954 $as_echo_n "checking size of long... " >&6; }
16955 if ${ac_cv_sizeof_long+:} false
; then :
16956 $as_echo_n "(cached) " >&6
16958 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16961 if test "$ac_cv_type_long" = yes; then
16962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16964 as_fn_error
77 "cannot compute sizeof (long)
16965 See \`config.log' for more details" "$LINENO" 5; }
16967 ac_cv_sizeof_long
=0
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16973 $as_echo "$ac_cv_sizeof_long" >&6; }
16977 cat >>confdefs.h
<<_ACEOF
16978 #define SIZEOF_LONG $ac_cv_sizeof_long
16984 if test $acx_cv_header_stdint = stddef.h
; then
16985 # Lacking a good header? Test size of everything and deduce all types.
16986 # The cast to long int works around a bug in the HP C Compiler
16987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16989 # This bug is HP SR number 8606223364.
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16991 $as_echo_n "checking size of int... " >&6; }
16992 if ${ac_cv_sizeof_int+:} false
; then :
16993 $as_echo_n "(cached) " >&6
16995 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16998 if test "$ac_cv_type_int" = yes; then
16999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17001 as_fn_error
77 "cannot compute sizeof (int)
17002 See \`config.log' for more details" "$LINENO" 5; }
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17010 $as_echo "$ac_cv_sizeof_int" >&6; }
17014 cat >>confdefs.h
<<_ACEOF
17015 #define SIZEOF_INT $ac_cv_sizeof_int
17019 # The cast to long int works around a bug in the HP C Compiler
17020 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17021 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17022 # This bug is HP SR number 8606223364.
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17024 $as_echo_n "checking size of short... " >&6; }
17025 if ${ac_cv_sizeof_short+:} false
; then :
17026 $as_echo_n "(cached) " >&6
17028 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
17031 if test "$ac_cv_type_short" = yes; then
17032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17034 as_fn_error
77 "cannot compute sizeof (short)
17035 See \`config.log' for more details" "$LINENO" 5; }
17037 ac_cv_sizeof_short
=0
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17043 $as_echo "$ac_cv_sizeof_short" >&6; }
17047 cat >>confdefs.h
<<_ACEOF
17048 #define SIZEOF_SHORT $ac_cv_sizeof_short
17052 # The cast to long int works around a bug in the HP C Compiler
17053 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17054 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17055 # This bug is HP SR number 8606223364.
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17057 $as_echo_n "checking size of char... " >&6; }
17058 if ${ac_cv_sizeof_char+:} false
; then :
17059 $as_echo_n "(cached) " >&6
17061 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
17064 if test "$ac_cv_type_char" = yes; then
17065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17067 as_fn_error
77 "cannot compute sizeof (char)
17068 See \`config.log' for more details" "$LINENO" 5; }
17070 ac_cv_sizeof_char
=0
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17076 $as_echo "$ac_cv_sizeof_char" >&6; }
17080 cat >>confdefs.h
<<_ACEOF
17081 #define SIZEOF_CHAR $ac_cv_sizeof_char
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
17087 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
17088 case "$ac_cv_sizeof_char" in
17089 1) acx_cv_type_int8_t
=char
;;
17090 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
17093 $as_echo "$acx_cv_type_int8_t" >&6; }
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
17096 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
17097 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17098 2:*) acx_cv_type_int16_t
=int
;;
17099 *:2) acx_cv_type_int16_t
=short
;;
17100 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
17103 $as_echo "$acx_cv_type_int16_t" >&6; }
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
17106 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
17107 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17108 4:*) acx_cv_type_int32_t
=int
;;
17109 *:4) acx_cv_type_int32_t
=long
;;
17110 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17113 $as_echo "$acx_cv_type_int32_t" >&6; }
17116 # These tests are here to make the output prettier
17118 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17119 case "$ac_cv_sizeof_long" in
17120 8) acx_cv_type_int64_t
=long
;;
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17123 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17125 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17128 # Now we can use the above types
17130 if test "$ac_cv_type_uintptr_t" != yes; then
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17132 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17133 case $ac_cv_sizeof_void_p in
17134 2) acx_cv_type_intptr_t
=int16_t
;;
17135 4) acx_cv_type_intptr_t
=int32_t
;;
17136 8) acx_cv_type_intptr_t
=int64_t
;;
17137 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17140 $as_echo "$acx_cv_type_intptr_t" >&6; }
17143 # ----------------- done all checks, emit header -------------
17144 ac_config_commands
="$ac_config_commands gstdint.h"
17149 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17150 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
17152 cat >>confdefs.h
<<_ACEOF
17153 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17158 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17159 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17161 cat >>confdefs.h
<<_ACEOF
17162 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17167 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17168 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17170 cat >>confdefs.h
<<_ACEOF
17171 #define HAVE_STRUCT_STAT_ST_RDEV 1
17178 case "${host}--x${with_newlib}" in
17180 hardwire_newlib
=1;;
17182 hardwire_newlib
=1;;
17185 # Check for library functions.
17186 if test "${hardwire_newlib:-0}" -eq 1; then
17187 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17188 # may not work correctly, because the compiler may not be able to
17189 # link executables.
17191 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17194 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17197 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17200 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17203 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17206 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17209 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17212 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17215 # At some point, we should differentiate between architectures
17216 # like x86, which have long double versions, and alpha/powerpc/etc.,
17217 # which don't. For the time being, punt.
17218 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17220 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17227 for ac_func
in $ac_func_list
17229 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17230 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17231 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17232 cat >>confdefs.h
<<_ACEOF
17233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17354 # Check strerror_r, cannot be above as versions with two and three arguments exist
17356 ac_save_CFLAGS
="$CFLAGS"
17357 CFLAGS
="-Wimplicit-function-declaration -Werror"
17358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #define _GNU_SOURCE 1
17361 #include <string.h>
17362 #include <locale.h>
17366 char s[128]; strerror_r(5, s, 128);
17371 if ac_fn_c_try_compile
"$LINENO"; then :
17373 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17377 CFLAGS
="$ac_save_CFLAGS"
17379 ac_save_CFLAGS
="$CFLAGS"
17380 CFLAGS
="-Wimplicit-function-declaration -Werror"
17381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #define _GNU_SOURCE 1
17384 #include <string.h>
17385 #include <locale.h>
17389 char s[128]; strerror_r(5, s);
17394 if ac_fn_c_try_compile
"$LINENO"; then :
17396 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17400 CFLAGS
="$ac_save_CFLAGS"
17403 # Check for C99 (and other IEEE) math functions
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17405 $as_echo_n "checking for sin in -lm... " >&6; }
17406 if ${ac_cv_lib_m_sin+:} false
; then :
17407 $as_echo_n "(cached) " >&6
17409 ac_check_lib_save_LIBS
=$LIBS
17411 if test x
$gcc_no_link = xyes
; then
17412 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17432 if ac_fn_c_try_link
"$LINENO"; then :
17433 ac_cv_lib_m_sin
=yes
17437 rm -f core conftest.err conftest.
$ac_objext \
17438 conftest
$ac_exeext conftest.
$ac_ext
17439 LIBS
=$ac_check_lib_save_LIBS
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17442 $as_echo "$ac_cv_lib_m_sin" >&6; }
17443 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17444 cat >>confdefs.h
<<_ACEOF
17445 #define HAVE_LIBM 1
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17459 $as_echo_n "checking for acosf... " >&6; }
17460 if ${gcc_cv_math_func_acosf+:} false
; then :
17461 $as_echo_n "(cached) " >&6
17463 if test x
$gcc_no_link = xyes
; then
17464 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17469 #ifdef HAVE_COMPLEX_H
17470 #include <complex.h>
17476 int (*ptr)() = (int (*)())acosf;
17485 if ac_fn_c_try_link
"$LINENO"; then :
17486 gcc_cv_math_func_acosf
=yes
17488 gcc_cv_math_func_acosf
=no
17490 rm -f core conftest.err conftest.
$ac_objext \
17491 conftest
$ac_exeext conftest.
$ac_ext
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17494 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17495 if test $gcc_cv_math_func_acosf = yes; then
17497 cat >>confdefs.h
<<_ACEOF
17498 #define HAVE_ACOSF 1
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17507 $as_echo_n "checking for acos... " >&6; }
17508 if ${gcc_cv_math_func_acos+:} false
; then :
17509 $as_echo_n "(cached) " >&6
17511 if test x
$gcc_no_link = xyes
; then
17512 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17517 #ifdef HAVE_COMPLEX_H
17518 #include <complex.h>
17524 int (*ptr)() = (int (*)())acos;
17533 if ac_fn_c_try_link
"$LINENO"; then :
17534 gcc_cv_math_func_acos
=yes
17536 gcc_cv_math_func_acos
=no
17538 rm -f core conftest.err conftest.
$ac_objext \
17539 conftest
$ac_exeext conftest.
$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17542 $as_echo "$gcc_cv_math_func_acos" >&6; }
17543 if test $gcc_cv_math_func_acos = yes; then
17545 cat >>confdefs.h
<<_ACEOF
17546 #define HAVE_ACOS 1
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17555 $as_echo_n "checking for acosl... " >&6; }
17556 if ${gcc_cv_math_func_acosl+:} false
; then :
17557 $as_echo_n "(cached) " >&6
17559 if test x
$gcc_no_link = xyes
; then
17560 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17565 #ifdef HAVE_COMPLEX_H
17566 #include <complex.h>
17572 int (*ptr)() = (int (*)())acosl;
17581 if ac_fn_c_try_link
"$LINENO"; then :
17582 gcc_cv_math_func_acosl
=yes
17584 gcc_cv_math_func_acosl
=no
17586 rm -f core conftest.err conftest.
$ac_objext \
17587 conftest
$ac_exeext conftest.
$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17590 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17591 if test $gcc_cv_math_func_acosl = yes; then
17593 cat >>confdefs.h
<<_ACEOF
17594 #define HAVE_ACOSL 1
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17603 $as_echo_n "checking for acoshf... " >&6; }
17604 if ${gcc_cv_math_func_acoshf+:} false
; then :
17605 $as_echo_n "(cached) " >&6
17607 if test x
$gcc_no_link = xyes
; then
17608 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17613 #ifdef HAVE_COMPLEX_H
17614 #include <complex.h>
17620 int (*ptr)() = (int (*)())acoshf;
17629 if ac_fn_c_try_link
"$LINENO"; then :
17630 gcc_cv_math_func_acoshf
=yes
17632 gcc_cv_math_func_acoshf
=no
17634 rm -f core conftest.err conftest.
$ac_objext \
17635 conftest
$ac_exeext conftest.
$ac_ext
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17638 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17639 if test $gcc_cv_math_func_acoshf = yes; then
17641 cat >>confdefs.h
<<_ACEOF
17642 #define HAVE_ACOSHF 1
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17651 $as_echo_n "checking for acosh... " >&6; }
17652 if ${gcc_cv_math_func_acosh+:} false
; then :
17653 $as_echo_n "(cached) " >&6
17655 if test x
$gcc_no_link = xyes
; then
17656 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17661 #ifdef HAVE_COMPLEX_H
17662 #include <complex.h>
17668 int (*ptr)() = (int (*)())acosh;
17677 if ac_fn_c_try_link
"$LINENO"; then :
17678 gcc_cv_math_func_acosh
=yes
17680 gcc_cv_math_func_acosh
=no
17682 rm -f core conftest.err conftest.
$ac_objext \
17683 conftest
$ac_exeext conftest.
$ac_ext
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17686 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17687 if test $gcc_cv_math_func_acosh = yes; then
17689 cat >>confdefs.h
<<_ACEOF
17690 #define HAVE_ACOSH 1
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17699 $as_echo_n "checking for acoshl... " >&6; }
17700 if ${gcc_cv_math_func_acoshl+:} false
; then :
17701 $as_echo_n "(cached) " >&6
17703 if test x
$gcc_no_link = xyes
; then
17704 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17709 #ifdef HAVE_COMPLEX_H
17710 #include <complex.h>
17716 int (*ptr)() = (int (*)())acoshl;
17725 if ac_fn_c_try_link
"$LINENO"; then :
17726 gcc_cv_math_func_acoshl
=yes
17728 gcc_cv_math_func_acoshl
=no
17730 rm -f core conftest.err conftest.
$ac_objext \
17731 conftest
$ac_exeext conftest.
$ac_ext
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17734 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17735 if test $gcc_cv_math_func_acoshl = yes; then
17737 cat >>confdefs.h
<<_ACEOF
17738 #define HAVE_ACOSHL 1
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17747 $as_echo_n "checking for asinf... " >&6; }
17748 if ${gcc_cv_math_func_asinf+:} false
; then :
17749 $as_echo_n "(cached) " >&6
17751 if test x
$gcc_no_link = xyes
; then
17752 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17757 #ifdef HAVE_COMPLEX_H
17758 #include <complex.h>
17764 int (*ptr)() = (int (*)())asinf;
17773 if ac_fn_c_try_link
"$LINENO"; then :
17774 gcc_cv_math_func_asinf
=yes
17776 gcc_cv_math_func_asinf
=no
17778 rm -f core conftest.err conftest.
$ac_objext \
17779 conftest
$ac_exeext conftest.
$ac_ext
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17782 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17783 if test $gcc_cv_math_func_asinf = yes; then
17785 cat >>confdefs.h
<<_ACEOF
17786 #define HAVE_ASINF 1
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17795 $as_echo_n "checking for asin... " >&6; }
17796 if ${gcc_cv_math_func_asin+:} false
; then :
17797 $as_echo_n "(cached) " >&6
17799 if test x
$gcc_no_link = xyes
; then
17800 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 #ifdef HAVE_COMPLEX_H
17806 #include <complex.h>
17812 int (*ptr)() = (int (*)())asin;
17821 if ac_fn_c_try_link
"$LINENO"; then :
17822 gcc_cv_math_func_asin
=yes
17824 gcc_cv_math_func_asin
=no
17826 rm -f core conftest.err conftest.
$ac_objext \
17827 conftest
$ac_exeext conftest.
$ac_ext
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17830 $as_echo "$gcc_cv_math_func_asin" >&6; }
17831 if test $gcc_cv_math_func_asin = yes; then
17833 cat >>confdefs.h
<<_ACEOF
17834 #define HAVE_ASIN 1
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17843 $as_echo_n "checking for asinl... " >&6; }
17844 if ${gcc_cv_math_func_asinl+:} false
; then :
17845 $as_echo_n "(cached) " >&6
17847 if test x
$gcc_no_link = xyes
; then
17848 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17853 #ifdef HAVE_COMPLEX_H
17854 #include <complex.h>
17860 int (*ptr)() = (int (*)())asinl;
17869 if ac_fn_c_try_link
"$LINENO"; then :
17870 gcc_cv_math_func_asinl
=yes
17872 gcc_cv_math_func_asinl
=no
17874 rm -f core conftest.err conftest.
$ac_objext \
17875 conftest
$ac_exeext conftest.
$ac_ext
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17878 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17879 if test $gcc_cv_math_func_asinl = yes; then
17881 cat >>confdefs.h
<<_ACEOF
17882 #define HAVE_ASINL 1
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17891 $as_echo_n "checking for asinhf... " >&6; }
17892 if ${gcc_cv_math_func_asinhf+:} false
; then :
17893 $as_echo_n "(cached) " >&6
17895 if test x
$gcc_no_link = xyes
; then
17896 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17901 #ifdef HAVE_COMPLEX_H
17902 #include <complex.h>
17908 int (*ptr)() = (int (*)())asinhf;
17917 if ac_fn_c_try_link
"$LINENO"; then :
17918 gcc_cv_math_func_asinhf
=yes
17920 gcc_cv_math_func_asinhf
=no
17922 rm -f core conftest.err conftest.
$ac_objext \
17923 conftest
$ac_exeext conftest.
$ac_ext
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17926 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17927 if test $gcc_cv_math_func_asinhf = yes; then
17929 cat >>confdefs.h
<<_ACEOF
17930 #define HAVE_ASINHF 1
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17939 $as_echo_n "checking for asinh... " >&6; }
17940 if ${gcc_cv_math_func_asinh+:} false
; then :
17941 $as_echo_n "(cached) " >&6
17943 if test x
$gcc_no_link = xyes
; then
17944 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17949 #ifdef HAVE_COMPLEX_H
17950 #include <complex.h>
17956 int (*ptr)() = (int (*)())asinh;
17965 if ac_fn_c_try_link
"$LINENO"; then :
17966 gcc_cv_math_func_asinh
=yes
17968 gcc_cv_math_func_asinh
=no
17970 rm -f core conftest.err conftest.
$ac_objext \
17971 conftest
$ac_exeext conftest.
$ac_ext
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17974 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17975 if test $gcc_cv_math_func_asinh = yes; then
17977 cat >>confdefs.h
<<_ACEOF
17978 #define HAVE_ASINH 1
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17987 $as_echo_n "checking for asinhl... " >&6; }
17988 if ${gcc_cv_math_func_asinhl+:} false
; then :
17989 $as_echo_n "(cached) " >&6
17991 if test x
$gcc_no_link = xyes
; then
17992 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17997 #ifdef HAVE_COMPLEX_H
17998 #include <complex.h>
18004 int (*ptr)() = (int (*)())asinhl;
18013 if ac_fn_c_try_link
"$LINENO"; then :
18014 gcc_cv_math_func_asinhl
=yes
18016 gcc_cv_math_func_asinhl
=no
18018 rm -f core conftest.err conftest.
$ac_objext \
18019 conftest
$ac_exeext conftest.
$ac_ext
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
18022 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
18023 if test $gcc_cv_math_func_asinhl = yes; then
18025 cat >>confdefs.h
<<_ACEOF
18026 #define HAVE_ASINHL 1
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
18035 $as_echo_n "checking for atan2f... " >&6; }
18036 if ${gcc_cv_math_func_atan2f+:} false
; then :
18037 $as_echo_n "(cached) " >&6
18039 if test x
$gcc_no_link = xyes
; then
18040 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18045 #ifdef HAVE_COMPLEX_H
18046 #include <complex.h>
18052 int (*ptr)() = (int (*)())atan2f;
18061 if ac_fn_c_try_link
"$LINENO"; then :
18062 gcc_cv_math_func_atan2f
=yes
18064 gcc_cv_math_func_atan2f
=no
18066 rm -f core conftest.err conftest.
$ac_objext \
18067 conftest
$ac_exeext conftest.
$ac_ext
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
18070 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
18071 if test $gcc_cv_math_func_atan2f = yes; then
18073 cat >>confdefs.h
<<_ACEOF
18074 #define HAVE_ATAN2F 1
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
18083 $as_echo_n "checking for atan2... " >&6; }
18084 if ${gcc_cv_math_func_atan2+:} false
; then :
18085 $as_echo_n "(cached) " >&6
18087 if test x
$gcc_no_link = xyes
; then
18088 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 #ifdef HAVE_COMPLEX_H
18094 #include <complex.h>
18100 int (*ptr)() = (int (*)())atan2;
18109 if ac_fn_c_try_link
"$LINENO"; then :
18110 gcc_cv_math_func_atan2
=yes
18112 gcc_cv_math_func_atan2
=no
18114 rm -f core conftest.err conftest.
$ac_objext \
18115 conftest
$ac_exeext conftest.
$ac_ext
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18118 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18119 if test $gcc_cv_math_func_atan2 = yes; then
18121 cat >>confdefs.h
<<_ACEOF
18122 #define HAVE_ATAN2 1
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18131 $as_echo_n "checking for atan2l... " >&6; }
18132 if ${gcc_cv_math_func_atan2l+:} false
; then :
18133 $as_echo_n "(cached) " >&6
18135 if test x
$gcc_no_link = xyes
; then
18136 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18141 #ifdef HAVE_COMPLEX_H
18142 #include <complex.h>
18148 int (*ptr)() = (int (*)())atan2l;
18157 if ac_fn_c_try_link
"$LINENO"; then :
18158 gcc_cv_math_func_atan2l
=yes
18160 gcc_cv_math_func_atan2l
=no
18162 rm -f core conftest.err conftest.
$ac_objext \
18163 conftest
$ac_exeext conftest.
$ac_ext
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18166 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18167 if test $gcc_cv_math_func_atan2l = yes; then
18169 cat >>confdefs.h
<<_ACEOF
18170 #define HAVE_ATAN2L 1
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18179 $as_echo_n "checking for atanf... " >&6; }
18180 if ${gcc_cv_math_func_atanf+:} false
; then :
18181 $as_echo_n "(cached) " >&6
18183 if test x
$gcc_no_link = xyes
; then
18184 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18189 #ifdef HAVE_COMPLEX_H
18190 #include <complex.h>
18196 int (*ptr)() = (int (*)())atanf;
18205 if ac_fn_c_try_link
"$LINENO"; then :
18206 gcc_cv_math_func_atanf
=yes
18208 gcc_cv_math_func_atanf
=no
18210 rm -f core conftest.err conftest.
$ac_objext \
18211 conftest
$ac_exeext conftest.
$ac_ext
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18214 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18215 if test $gcc_cv_math_func_atanf = yes; then
18217 cat >>confdefs.h
<<_ACEOF
18218 #define HAVE_ATANF 1
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18227 $as_echo_n "checking for atan... " >&6; }
18228 if ${gcc_cv_math_func_atan+:} false
; then :
18229 $as_echo_n "(cached) " >&6
18231 if test x
$gcc_no_link = xyes
; then
18232 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18237 #ifdef HAVE_COMPLEX_H
18238 #include <complex.h>
18244 int (*ptr)() = (int (*)())atan;
18253 if ac_fn_c_try_link
"$LINENO"; then :
18254 gcc_cv_math_func_atan
=yes
18256 gcc_cv_math_func_atan
=no
18258 rm -f core conftest.err conftest.
$ac_objext \
18259 conftest
$ac_exeext conftest.
$ac_ext
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18262 $as_echo "$gcc_cv_math_func_atan" >&6; }
18263 if test $gcc_cv_math_func_atan = yes; then
18265 cat >>confdefs.h
<<_ACEOF
18266 #define HAVE_ATAN 1
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18275 $as_echo_n "checking for atanl... " >&6; }
18276 if ${gcc_cv_math_func_atanl+:} false
; then :
18277 $as_echo_n "(cached) " >&6
18279 if test x
$gcc_no_link = xyes
; then
18280 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18285 #ifdef HAVE_COMPLEX_H
18286 #include <complex.h>
18292 int (*ptr)() = (int (*)())atanl;
18301 if ac_fn_c_try_link
"$LINENO"; then :
18302 gcc_cv_math_func_atanl
=yes
18304 gcc_cv_math_func_atanl
=no
18306 rm -f core conftest.err conftest.
$ac_objext \
18307 conftest
$ac_exeext conftest.
$ac_ext
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18310 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18311 if test $gcc_cv_math_func_atanl = yes; then
18313 cat >>confdefs.h
<<_ACEOF
18314 #define HAVE_ATANL 1
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18323 $as_echo_n "checking for atanhf... " >&6; }
18324 if ${gcc_cv_math_func_atanhf+:} false
; then :
18325 $as_echo_n "(cached) " >&6
18327 if test x
$gcc_no_link = xyes
; then
18328 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18333 #ifdef HAVE_COMPLEX_H
18334 #include <complex.h>
18340 int (*ptr)() = (int (*)())atanhf;
18349 if ac_fn_c_try_link
"$LINENO"; then :
18350 gcc_cv_math_func_atanhf
=yes
18352 gcc_cv_math_func_atanhf
=no
18354 rm -f core conftest.err conftest.
$ac_objext \
18355 conftest
$ac_exeext conftest.
$ac_ext
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18358 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18359 if test $gcc_cv_math_func_atanhf = yes; then
18361 cat >>confdefs.h
<<_ACEOF
18362 #define HAVE_ATANHF 1
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18371 $as_echo_n "checking for atanh... " >&6; }
18372 if ${gcc_cv_math_func_atanh+:} false
; then :
18373 $as_echo_n "(cached) " >&6
18375 if test x
$gcc_no_link = xyes
; then
18376 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 #ifdef HAVE_COMPLEX_H
18382 #include <complex.h>
18388 int (*ptr)() = (int (*)())atanh;
18397 if ac_fn_c_try_link
"$LINENO"; then :
18398 gcc_cv_math_func_atanh
=yes
18400 gcc_cv_math_func_atanh
=no
18402 rm -f core conftest.err conftest.
$ac_objext \
18403 conftest
$ac_exeext conftest.
$ac_ext
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18406 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18407 if test $gcc_cv_math_func_atanh = yes; then
18409 cat >>confdefs.h
<<_ACEOF
18410 #define HAVE_ATANH 1
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18419 $as_echo_n "checking for atanhl... " >&6; }
18420 if ${gcc_cv_math_func_atanhl+:} false
; then :
18421 $as_echo_n "(cached) " >&6
18423 if test x
$gcc_no_link = xyes
; then
18424 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18429 #ifdef HAVE_COMPLEX_H
18430 #include <complex.h>
18436 int (*ptr)() = (int (*)())atanhl;
18445 if ac_fn_c_try_link
"$LINENO"; then :
18446 gcc_cv_math_func_atanhl
=yes
18448 gcc_cv_math_func_atanhl
=no
18450 rm -f core conftest.err conftest.
$ac_objext \
18451 conftest
$ac_exeext conftest.
$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18454 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18455 if test $gcc_cv_math_func_atanhl = yes; then
18457 cat >>confdefs.h
<<_ACEOF
18458 #define HAVE_ATANHL 1
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18467 $as_echo_n "checking for cargf... " >&6; }
18468 if ${gcc_cv_math_func_cargf+:} false
; then :
18469 $as_echo_n "(cached) " >&6
18471 if test x
$gcc_no_link = xyes
; then
18472 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18477 #ifdef HAVE_COMPLEX_H
18478 #include <complex.h>
18484 int (*ptr)() = (int (*)())cargf;
18493 if ac_fn_c_try_link
"$LINENO"; then :
18494 gcc_cv_math_func_cargf
=yes
18496 gcc_cv_math_func_cargf
=no
18498 rm -f core conftest.err conftest.
$ac_objext \
18499 conftest
$ac_exeext conftest.
$ac_ext
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18502 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18503 if test $gcc_cv_math_func_cargf = yes; then
18505 cat >>confdefs.h
<<_ACEOF
18506 #define HAVE_CARGF 1
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18515 $as_echo_n "checking for carg... " >&6; }
18516 if ${gcc_cv_math_func_carg+:} false
; then :
18517 $as_echo_n "(cached) " >&6
18519 if test x
$gcc_no_link = xyes
; then
18520 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18525 #ifdef HAVE_COMPLEX_H
18526 #include <complex.h>
18532 int (*ptr)() = (int (*)())carg;
18541 if ac_fn_c_try_link
"$LINENO"; then :
18542 gcc_cv_math_func_carg
=yes
18544 gcc_cv_math_func_carg
=no
18546 rm -f core conftest.err conftest.
$ac_objext \
18547 conftest
$ac_exeext conftest.
$ac_ext
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18550 $as_echo "$gcc_cv_math_func_carg" >&6; }
18551 if test $gcc_cv_math_func_carg = yes; then
18553 cat >>confdefs.h
<<_ACEOF
18554 #define HAVE_CARG 1
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18563 $as_echo_n "checking for cargl... " >&6; }
18564 if ${gcc_cv_math_func_cargl+:} false
; then :
18565 $as_echo_n "(cached) " >&6
18567 if test x
$gcc_no_link = xyes
; then
18568 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18573 #ifdef HAVE_COMPLEX_H
18574 #include <complex.h>
18580 int (*ptr)() = (int (*)())cargl;
18589 if ac_fn_c_try_link
"$LINENO"; then :
18590 gcc_cv_math_func_cargl
=yes
18592 gcc_cv_math_func_cargl
=no
18594 rm -f core conftest.err conftest.
$ac_objext \
18595 conftest
$ac_exeext conftest.
$ac_ext
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18598 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18599 if test $gcc_cv_math_func_cargl = yes; then
18601 cat >>confdefs.h
<<_ACEOF
18602 #define HAVE_CARGL 1
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18611 $as_echo_n "checking for ceilf... " >&6; }
18612 if ${gcc_cv_math_func_ceilf+:} false
; then :
18613 $as_echo_n "(cached) " >&6
18615 if test x
$gcc_no_link = xyes
; then
18616 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18621 #ifdef HAVE_COMPLEX_H
18622 #include <complex.h>
18628 int (*ptr)() = (int (*)())ceilf;
18637 if ac_fn_c_try_link
"$LINENO"; then :
18638 gcc_cv_math_func_ceilf
=yes
18640 gcc_cv_math_func_ceilf
=no
18642 rm -f core conftest.err conftest.
$ac_objext \
18643 conftest
$ac_exeext conftest.
$ac_ext
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18646 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18647 if test $gcc_cv_math_func_ceilf = yes; then
18649 cat >>confdefs.h
<<_ACEOF
18650 #define HAVE_CEILF 1
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18659 $as_echo_n "checking for ceil... " >&6; }
18660 if ${gcc_cv_math_func_ceil+:} false
; then :
18661 $as_echo_n "(cached) " >&6
18663 if test x
$gcc_no_link = xyes
; then
18664 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18669 #ifdef HAVE_COMPLEX_H
18670 #include <complex.h>
18676 int (*ptr)() = (int (*)())ceil;
18685 if ac_fn_c_try_link
"$LINENO"; then :
18686 gcc_cv_math_func_ceil
=yes
18688 gcc_cv_math_func_ceil
=no
18690 rm -f core conftest.err conftest.
$ac_objext \
18691 conftest
$ac_exeext conftest.
$ac_ext
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18694 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18695 if test $gcc_cv_math_func_ceil = yes; then
18697 cat >>confdefs.h
<<_ACEOF
18698 #define HAVE_CEIL 1
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18707 $as_echo_n "checking for ceill... " >&6; }
18708 if ${gcc_cv_math_func_ceill+:} false
; then :
18709 $as_echo_n "(cached) " >&6
18711 if test x
$gcc_no_link = xyes
; then
18712 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18717 #ifdef HAVE_COMPLEX_H
18718 #include <complex.h>
18724 int (*ptr)() = (int (*)())ceill;
18733 if ac_fn_c_try_link
"$LINENO"; then :
18734 gcc_cv_math_func_ceill
=yes
18736 gcc_cv_math_func_ceill
=no
18738 rm -f core conftest.err conftest.
$ac_objext \
18739 conftest
$ac_exeext conftest.
$ac_ext
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18742 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18743 if test $gcc_cv_math_func_ceill = yes; then
18745 cat >>confdefs.h
<<_ACEOF
18746 #define HAVE_CEILL 1
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18755 $as_echo_n "checking for copysignf... " >&6; }
18756 if ${gcc_cv_math_func_copysignf+:} false
; then :
18757 $as_echo_n "(cached) " >&6
18759 if test x
$gcc_no_link = xyes
; then
18760 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18765 #ifdef HAVE_COMPLEX_H
18766 #include <complex.h>
18772 int (*ptr)() = (int (*)())copysignf;
18781 if ac_fn_c_try_link
"$LINENO"; then :
18782 gcc_cv_math_func_copysignf
=yes
18784 gcc_cv_math_func_copysignf
=no
18786 rm -f core conftest.err conftest.
$ac_objext \
18787 conftest
$ac_exeext conftest.
$ac_ext
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18790 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18791 if test $gcc_cv_math_func_copysignf = yes; then
18793 cat >>confdefs.h
<<_ACEOF
18794 #define HAVE_COPYSIGNF 1
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18803 $as_echo_n "checking for copysign... " >&6; }
18804 if ${gcc_cv_math_func_copysign+:} false
; then :
18805 $as_echo_n "(cached) " >&6
18807 if test x
$gcc_no_link = xyes
; then
18808 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18813 #ifdef HAVE_COMPLEX_H
18814 #include <complex.h>
18820 int (*ptr)() = (int (*)())copysign;
18829 if ac_fn_c_try_link
"$LINENO"; then :
18830 gcc_cv_math_func_copysign
=yes
18832 gcc_cv_math_func_copysign
=no
18834 rm -f core conftest.err conftest.
$ac_objext \
18835 conftest
$ac_exeext conftest.
$ac_ext
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18838 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18839 if test $gcc_cv_math_func_copysign = yes; then
18841 cat >>confdefs.h
<<_ACEOF
18842 #define HAVE_COPYSIGN 1
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18851 $as_echo_n "checking for copysignl... " >&6; }
18852 if ${gcc_cv_math_func_copysignl+:} false
; then :
18853 $as_echo_n "(cached) " >&6
18855 if test x
$gcc_no_link = xyes
; then
18856 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18861 #ifdef HAVE_COMPLEX_H
18862 #include <complex.h>
18868 int (*ptr)() = (int (*)())copysignl;
18877 if ac_fn_c_try_link
"$LINENO"; then :
18878 gcc_cv_math_func_copysignl
=yes
18880 gcc_cv_math_func_copysignl
=no
18882 rm -f core conftest.err conftest.
$ac_objext \
18883 conftest
$ac_exeext conftest.
$ac_ext
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18886 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18887 if test $gcc_cv_math_func_copysignl = yes; then
18889 cat >>confdefs.h
<<_ACEOF
18890 #define HAVE_COPYSIGNL 1
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18899 $as_echo_n "checking for cosf... " >&6; }
18900 if ${gcc_cv_math_func_cosf+:} false
; then :
18901 $as_echo_n "(cached) " >&6
18903 if test x
$gcc_no_link = xyes
; then
18904 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18909 #ifdef HAVE_COMPLEX_H
18910 #include <complex.h>
18916 int (*ptr)() = (int (*)())cosf;
18925 if ac_fn_c_try_link
"$LINENO"; then :
18926 gcc_cv_math_func_cosf
=yes
18928 gcc_cv_math_func_cosf
=no
18930 rm -f core conftest.err conftest.
$ac_objext \
18931 conftest
$ac_exeext conftest.
$ac_ext
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18934 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18935 if test $gcc_cv_math_func_cosf = yes; then
18937 cat >>confdefs.h
<<_ACEOF
18938 #define HAVE_COSF 1
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18947 $as_echo_n "checking for cos... " >&6; }
18948 if ${gcc_cv_math_func_cos+:} false
; then :
18949 $as_echo_n "(cached) " >&6
18951 if test x
$gcc_no_link = xyes
; then
18952 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18957 #ifdef HAVE_COMPLEX_H
18958 #include <complex.h>
18964 int (*ptr)() = (int (*)())cos;
18973 if ac_fn_c_try_link
"$LINENO"; then :
18974 gcc_cv_math_func_cos
=yes
18976 gcc_cv_math_func_cos
=no
18978 rm -f core conftest.err conftest.
$ac_objext \
18979 conftest
$ac_exeext conftest.
$ac_ext
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18982 $as_echo "$gcc_cv_math_func_cos" >&6; }
18983 if test $gcc_cv_math_func_cos = yes; then
18985 cat >>confdefs.h
<<_ACEOF
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18995 $as_echo_n "checking for cosl... " >&6; }
18996 if ${gcc_cv_math_func_cosl+:} false
; then :
18997 $as_echo_n "(cached) " >&6
18999 if test x
$gcc_no_link = xyes
; then
19000 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19005 #ifdef HAVE_COMPLEX_H
19006 #include <complex.h>
19012 int (*ptr)() = (int (*)())cosl;
19021 if ac_fn_c_try_link
"$LINENO"; then :
19022 gcc_cv_math_func_cosl
=yes
19024 gcc_cv_math_func_cosl
=no
19026 rm -f core conftest.err conftest.
$ac_objext \
19027 conftest
$ac_exeext conftest.
$ac_ext
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
19030 $as_echo "$gcc_cv_math_func_cosl" >&6; }
19031 if test $gcc_cv_math_func_cosl = yes; then
19033 cat >>confdefs.h
<<_ACEOF
19034 #define HAVE_COSL 1
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
19043 $as_echo_n "checking for ccosf... " >&6; }
19044 if ${gcc_cv_math_func_ccosf+:} false
; then :
19045 $as_echo_n "(cached) " >&6
19047 if test x
$gcc_no_link = xyes
; then
19048 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19053 #ifdef HAVE_COMPLEX_H
19054 #include <complex.h>
19060 int (*ptr)() = (int (*)())ccosf;
19069 if ac_fn_c_try_link
"$LINENO"; then :
19070 gcc_cv_math_func_ccosf
=yes
19072 gcc_cv_math_func_ccosf
=no
19074 rm -f core conftest.err conftest.
$ac_objext \
19075 conftest
$ac_exeext conftest.
$ac_ext
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
19078 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
19079 if test $gcc_cv_math_func_ccosf = yes; then
19081 cat >>confdefs.h
<<_ACEOF
19082 #define HAVE_CCOSF 1
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
19091 $as_echo_n "checking for ccos... " >&6; }
19092 if ${gcc_cv_math_func_ccos+:} false
; then :
19093 $as_echo_n "(cached) " >&6
19095 if test x
$gcc_no_link = xyes
; then
19096 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19101 #ifdef HAVE_COMPLEX_H
19102 #include <complex.h>
19108 int (*ptr)() = (int (*)())ccos;
19117 if ac_fn_c_try_link
"$LINENO"; then :
19118 gcc_cv_math_func_ccos
=yes
19120 gcc_cv_math_func_ccos
=no
19122 rm -f core conftest.err conftest.
$ac_objext \
19123 conftest
$ac_exeext conftest.
$ac_ext
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19126 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19127 if test $gcc_cv_math_func_ccos = yes; then
19129 cat >>confdefs.h
<<_ACEOF
19130 #define HAVE_CCOS 1
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19139 $as_echo_n "checking for ccosl... " >&6; }
19140 if ${gcc_cv_math_func_ccosl+:} false
; then :
19141 $as_echo_n "(cached) " >&6
19143 if test x
$gcc_no_link = xyes
; then
19144 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19149 #ifdef HAVE_COMPLEX_H
19150 #include <complex.h>
19156 int (*ptr)() = (int (*)())ccosl;
19165 if ac_fn_c_try_link
"$LINENO"; then :
19166 gcc_cv_math_func_ccosl
=yes
19168 gcc_cv_math_func_ccosl
=no
19170 rm -f core conftest.err conftest.
$ac_objext \
19171 conftest
$ac_exeext conftest.
$ac_ext
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19174 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19175 if test $gcc_cv_math_func_ccosl = yes; then
19177 cat >>confdefs.h
<<_ACEOF
19178 #define HAVE_CCOSL 1
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19187 $as_echo_n "checking for coshf... " >&6; }
19188 if ${gcc_cv_math_func_coshf+:} false
; then :
19189 $as_echo_n "(cached) " >&6
19191 if test x
$gcc_no_link = xyes
; then
19192 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19197 #ifdef HAVE_COMPLEX_H
19198 #include <complex.h>
19204 int (*ptr)() = (int (*)())coshf;
19213 if ac_fn_c_try_link
"$LINENO"; then :
19214 gcc_cv_math_func_coshf
=yes
19216 gcc_cv_math_func_coshf
=no
19218 rm -f core conftest.err conftest.
$ac_objext \
19219 conftest
$ac_exeext conftest.
$ac_ext
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19222 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19223 if test $gcc_cv_math_func_coshf = yes; then
19225 cat >>confdefs.h
<<_ACEOF
19226 #define HAVE_COSHF 1
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19235 $as_echo_n "checking for cosh... " >&6; }
19236 if ${gcc_cv_math_func_cosh+:} false
; then :
19237 $as_echo_n "(cached) " >&6
19239 if test x
$gcc_no_link = xyes
; then
19240 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19245 #ifdef HAVE_COMPLEX_H
19246 #include <complex.h>
19252 int (*ptr)() = (int (*)())cosh;
19261 if ac_fn_c_try_link
"$LINENO"; then :
19262 gcc_cv_math_func_cosh
=yes
19264 gcc_cv_math_func_cosh
=no
19266 rm -f core conftest.err conftest.
$ac_objext \
19267 conftest
$ac_exeext conftest.
$ac_ext
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19270 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19271 if test $gcc_cv_math_func_cosh = yes; then
19273 cat >>confdefs.h
<<_ACEOF
19274 #define HAVE_COSH 1
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19283 $as_echo_n "checking for coshl... " >&6; }
19284 if ${gcc_cv_math_func_coshl+:} false
; then :
19285 $as_echo_n "(cached) " >&6
19287 if test x
$gcc_no_link = xyes
; then
19288 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19293 #ifdef HAVE_COMPLEX_H
19294 #include <complex.h>
19300 int (*ptr)() = (int (*)())coshl;
19309 if ac_fn_c_try_link
"$LINENO"; then :
19310 gcc_cv_math_func_coshl
=yes
19312 gcc_cv_math_func_coshl
=no
19314 rm -f core conftest.err conftest.
$ac_objext \
19315 conftest
$ac_exeext conftest.
$ac_ext
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19318 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19319 if test $gcc_cv_math_func_coshl = yes; then
19321 cat >>confdefs.h
<<_ACEOF
19322 #define HAVE_COSHL 1
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19331 $as_echo_n "checking for ccoshf... " >&6; }
19332 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19333 $as_echo_n "(cached) " >&6
19335 if test x
$gcc_no_link = xyes
; then
19336 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19341 #ifdef HAVE_COMPLEX_H
19342 #include <complex.h>
19348 int (*ptr)() = (int (*)())ccoshf;
19357 if ac_fn_c_try_link
"$LINENO"; then :
19358 gcc_cv_math_func_ccoshf
=yes
19360 gcc_cv_math_func_ccoshf
=no
19362 rm -f core conftest.err conftest.
$ac_objext \
19363 conftest
$ac_exeext conftest.
$ac_ext
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19366 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19367 if test $gcc_cv_math_func_ccoshf = yes; then
19369 cat >>confdefs.h
<<_ACEOF
19370 #define HAVE_CCOSHF 1
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19379 $as_echo_n "checking for ccosh... " >&6; }
19380 if ${gcc_cv_math_func_ccosh+:} false
; then :
19381 $as_echo_n "(cached) " >&6
19383 if test x
$gcc_no_link = xyes
; then
19384 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19389 #ifdef HAVE_COMPLEX_H
19390 #include <complex.h>
19396 int (*ptr)() = (int (*)())ccosh;
19405 if ac_fn_c_try_link
"$LINENO"; then :
19406 gcc_cv_math_func_ccosh
=yes
19408 gcc_cv_math_func_ccosh
=no
19410 rm -f core conftest.err conftest.
$ac_objext \
19411 conftest
$ac_exeext conftest.
$ac_ext
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19414 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19415 if test $gcc_cv_math_func_ccosh = yes; then
19417 cat >>confdefs.h
<<_ACEOF
19418 #define HAVE_CCOSH 1
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19427 $as_echo_n "checking for ccoshl... " >&6; }
19428 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19429 $as_echo_n "(cached) " >&6
19431 if test x
$gcc_no_link = xyes
; then
19432 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19437 #ifdef HAVE_COMPLEX_H
19438 #include <complex.h>
19444 int (*ptr)() = (int (*)())ccoshl;
19453 if ac_fn_c_try_link
"$LINENO"; then :
19454 gcc_cv_math_func_ccoshl
=yes
19456 gcc_cv_math_func_ccoshl
=no
19458 rm -f core conftest.err conftest.
$ac_objext \
19459 conftest
$ac_exeext conftest.
$ac_ext
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19462 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19463 if test $gcc_cv_math_func_ccoshl = yes; then
19465 cat >>confdefs.h
<<_ACEOF
19466 #define HAVE_CCOSHL 1
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19475 $as_echo_n "checking for expf... " >&6; }
19476 if ${gcc_cv_math_func_expf+:} false
; then :
19477 $as_echo_n "(cached) " >&6
19479 if test x
$gcc_no_link = xyes
; then
19480 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19485 #ifdef HAVE_COMPLEX_H
19486 #include <complex.h>
19492 int (*ptr)() = (int (*)())expf;
19501 if ac_fn_c_try_link
"$LINENO"; then :
19502 gcc_cv_math_func_expf
=yes
19504 gcc_cv_math_func_expf
=no
19506 rm -f core conftest.err conftest.
$ac_objext \
19507 conftest
$ac_exeext conftest.
$ac_ext
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19510 $as_echo "$gcc_cv_math_func_expf" >&6; }
19511 if test $gcc_cv_math_func_expf = yes; then
19513 cat >>confdefs.h
<<_ACEOF
19514 #define HAVE_EXPF 1
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19523 $as_echo_n "checking for exp... " >&6; }
19524 if ${gcc_cv_math_func_exp+:} false
; then :
19525 $as_echo_n "(cached) " >&6
19527 if test x
$gcc_no_link = xyes
; then
19528 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19533 #ifdef HAVE_COMPLEX_H
19534 #include <complex.h>
19540 int (*ptr)() = (int (*)())exp;
19549 if ac_fn_c_try_link
"$LINENO"; then :
19550 gcc_cv_math_func_exp
=yes
19552 gcc_cv_math_func_exp
=no
19554 rm -f core conftest.err conftest.
$ac_objext \
19555 conftest
$ac_exeext conftest.
$ac_ext
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19558 $as_echo "$gcc_cv_math_func_exp" >&6; }
19559 if test $gcc_cv_math_func_exp = yes; then
19561 cat >>confdefs.h
<<_ACEOF
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19571 $as_echo_n "checking for expl... " >&6; }
19572 if ${gcc_cv_math_func_expl+:} false
; then :
19573 $as_echo_n "(cached) " >&6
19575 if test x
$gcc_no_link = xyes
; then
19576 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19581 #ifdef HAVE_COMPLEX_H
19582 #include <complex.h>
19588 int (*ptr)() = (int (*)())expl;
19597 if ac_fn_c_try_link
"$LINENO"; then :
19598 gcc_cv_math_func_expl
=yes
19600 gcc_cv_math_func_expl
=no
19602 rm -f core conftest.err conftest.
$ac_objext \
19603 conftest
$ac_exeext conftest.
$ac_ext
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19606 $as_echo "$gcc_cv_math_func_expl" >&6; }
19607 if test $gcc_cv_math_func_expl = yes; then
19609 cat >>confdefs.h
<<_ACEOF
19610 #define HAVE_EXPL 1
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19619 $as_echo_n "checking for cexpf... " >&6; }
19620 if ${gcc_cv_math_func_cexpf+:} false
; then :
19621 $as_echo_n "(cached) " >&6
19623 if test x
$gcc_no_link = xyes
; then
19624 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19629 #ifdef HAVE_COMPLEX_H
19630 #include <complex.h>
19636 int (*ptr)() = (int (*)())cexpf;
19645 if ac_fn_c_try_link
"$LINENO"; then :
19646 gcc_cv_math_func_cexpf
=yes
19648 gcc_cv_math_func_cexpf
=no
19650 rm -f core conftest.err conftest.
$ac_objext \
19651 conftest
$ac_exeext conftest.
$ac_ext
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19654 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19655 if test $gcc_cv_math_func_cexpf = yes; then
19657 cat >>confdefs.h
<<_ACEOF
19658 #define HAVE_CEXPF 1
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19667 $as_echo_n "checking for cexp... " >&6; }
19668 if ${gcc_cv_math_func_cexp+:} false
; then :
19669 $as_echo_n "(cached) " >&6
19671 if test x
$gcc_no_link = xyes
; then
19672 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 #ifdef HAVE_COMPLEX_H
19678 #include <complex.h>
19684 int (*ptr)() = (int (*)())cexp;
19693 if ac_fn_c_try_link
"$LINENO"; then :
19694 gcc_cv_math_func_cexp
=yes
19696 gcc_cv_math_func_cexp
=no
19698 rm -f core conftest.err conftest.
$ac_objext \
19699 conftest
$ac_exeext conftest.
$ac_ext
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19702 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19703 if test $gcc_cv_math_func_cexp = yes; then
19705 cat >>confdefs.h
<<_ACEOF
19706 #define HAVE_CEXP 1
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19715 $as_echo_n "checking for cexpl... " >&6; }
19716 if ${gcc_cv_math_func_cexpl+:} false
; then :
19717 $as_echo_n "(cached) " >&6
19719 if test x
$gcc_no_link = xyes
; then
19720 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 #ifdef HAVE_COMPLEX_H
19726 #include <complex.h>
19732 int (*ptr)() = (int (*)())cexpl;
19741 if ac_fn_c_try_link
"$LINENO"; then :
19742 gcc_cv_math_func_cexpl
=yes
19744 gcc_cv_math_func_cexpl
=no
19746 rm -f core conftest.err conftest.
$ac_objext \
19747 conftest
$ac_exeext conftest.
$ac_ext
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19750 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19751 if test $gcc_cv_math_func_cexpl = yes; then
19753 cat >>confdefs.h
<<_ACEOF
19754 #define HAVE_CEXPL 1
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19763 $as_echo_n "checking for fabsf... " >&6; }
19764 if ${gcc_cv_math_func_fabsf+:} false
; then :
19765 $as_echo_n "(cached) " >&6
19767 if test x
$gcc_no_link = xyes
; then
19768 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19773 #ifdef HAVE_COMPLEX_H
19774 #include <complex.h>
19780 int (*ptr)() = (int (*)())fabsf;
19789 if ac_fn_c_try_link
"$LINENO"; then :
19790 gcc_cv_math_func_fabsf
=yes
19792 gcc_cv_math_func_fabsf
=no
19794 rm -f core conftest.err conftest.
$ac_objext \
19795 conftest
$ac_exeext conftest.
$ac_ext
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19798 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19799 if test $gcc_cv_math_func_fabsf = yes; then
19801 cat >>confdefs.h
<<_ACEOF
19802 #define HAVE_FABSF 1
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19811 $as_echo_n "checking for fabs... " >&6; }
19812 if ${gcc_cv_math_func_fabs+:} false
; then :
19813 $as_echo_n "(cached) " >&6
19815 if test x
$gcc_no_link = xyes
; then
19816 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19821 #ifdef HAVE_COMPLEX_H
19822 #include <complex.h>
19828 int (*ptr)() = (int (*)())fabs;
19837 if ac_fn_c_try_link
"$LINENO"; then :
19838 gcc_cv_math_func_fabs
=yes
19840 gcc_cv_math_func_fabs
=no
19842 rm -f core conftest.err conftest.
$ac_objext \
19843 conftest
$ac_exeext conftest.
$ac_ext
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19846 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19847 if test $gcc_cv_math_func_fabs = yes; then
19849 cat >>confdefs.h
<<_ACEOF
19850 #define HAVE_FABS 1
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19859 $as_echo_n "checking for fabsl... " >&6; }
19860 if ${gcc_cv_math_func_fabsl+:} false
; then :
19861 $as_echo_n "(cached) " >&6
19863 if test x
$gcc_no_link = xyes
; then
19864 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19869 #ifdef HAVE_COMPLEX_H
19870 #include <complex.h>
19876 int (*ptr)() = (int (*)())fabsl;
19885 if ac_fn_c_try_link
"$LINENO"; then :
19886 gcc_cv_math_func_fabsl
=yes
19888 gcc_cv_math_func_fabsl
=no
19890 rm -f core conftest.err conftest.
$ac_objext \
19891 conftest
$ac_exeext conftest.
$ac_ext
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19894 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19895 if test $gcc_cv_math_func_fabsl = yes; then
19897 cat >>confdefs.h
<<_ACEOF
19898 #define HAVE_FABSL 1
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19907 $as_echo_n "checking for cabsf... " >&6; }
19908 if ${gcc_cv_math_func_cabsf+:} false
; then :
19909 $as_echo_n "(cached) " >&6
19911 if test x
$gcc_no_link = xyes
; then
19912 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19917 #ifdef HAVE_COMPLEX_H
19918 #include <complex.h>
19924 int (*ptr)() = (int (*)())cabsf;
19933 if ac_fn_c_try_link
"$LINENO"; then :
19934 gcc_cv_math_func_cabsf
=yes
19936 gcc_cv_math_func_cabsf
=no
19938 rm -f core conftest.err conftest.
$ac_objext \
19939 conftest
$ac_exeext conftest.
$ac_ext
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19942 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19943 if test $gcc_cv_math_func_cabsf = yes; then
19945 cat >>confdefs.h
<<_ACEOF
19946 #define HAVE_CABSF 1
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19955 $as_echo_n "checking for cabs... " >&6; }
19956 if ${gcc_cv_math_func_cabs+:} false
; then :
19957 $as_echo_n "(cached) " >&6
19959 if test x
$gcc_no_link = xyes
; then
19960 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19965 #ifdef HAVE_COMPLEX_H
19966 #include <complex.h>
19972 int (*ptr)() = (int (*)())cabs;
19981 if ac_fn_c_try_link
"$LINENO"; then :
19982 gcc_cv_math_func_cabs
=yes
19984 gcc_cv_math_func_cabs
=no
19986 rm -f core conftest.err conftest.
$ac_objext \
19987 conftest
$ac_exeext conftest.
$ac_ext
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19990 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19991 if test $gcc_cv_math_func_cabs = yes; then
19993 cat >>confdefs.h
<<_ACEOF
19994 #define HAVE_CABS 1
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
20003 $as_echo_n "checking for cabsl... " >&6; }
20004 if ${gcc_cv_math_func_cabsl+:} false
; then :
20005 $as_echo_n "(cached) " >&6
20007 if test x
$gcc_no_link = xyes
; then
20008 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20013 #ifdef HAVE_COMPLEX_H
20014 #include <complex.h>
20020 int (*ptr)() = (int (*)())cabsl;
20029 if ac_fn_c_try_link
"$LINENO"; then :
20030 gcc_cv_math_func_cabsl
=yes
20032 gcc_cv_math_func_cabsl
=no
20034 rm -f core conftest.err conftest.
$ac_objext \
20035 conftest
$ac_exeext conftest.
$ac_ext
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
20038 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
20039 if test $gcc_cv_math_func_cabsl = yes; then
20041 cat >>confdefs.h
<<_ACEOF
20042 #define HAVE_CABSL 1
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
20051 $as_echo_n "checking for floorf... " >&6; }
20052 if ${gcc_cv_math_func_floorf+:} false
; then :
20053 $as_echo_n "(cached) " >&6
20055 if test x
$gcc_no_link = xyes
; then
20056 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20061 #ifdef HAVE_COMPLEX_H
20062 #include <complex.h>
20068 int (*ptr)() = (int (*)())floorf;
20077 if ac_fn_c_try_link
"$LINENO"; then :
20078 gcc_cv_math_func_floorf
=yes
20080 gcc_cv_math_func_floorf
=no
20082 rm -f core conftest.err conftest.
$ac_objext \
20083 conftest
$ac_exeext conftest.
$ac_ext
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
20086 $as_echo "$gcc_cv_math_func_floorf" >&6; }
20087 if test $gcc_cv_math_func_floorf = yes; then
20089 cat >>confdefs.h
<<_ACEOF
20090 #define HAVE_FLOORF 1
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
20099 $as_echo_n "checking for floor... " >&6; }
20100 if ${gcc_cv_math_func_floor+:} false
; then :
20101 $as_echo_n "(cached) " >&6
20103 if test x
$gcc_no_link = xyes
; then
20104 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20109 #ifdef HAVE_COMPLEX_H
20110 #include <complex.h>
20116 int (*ptr)() = (int (*)())floor;
20125 if ac_fn_c_try_link
"$LINENO"; then :
20126 gcc_cv_math_func_floor
=yes
20128 gcc_cv_math_func_floor
=no
20130 rm -f core conftest.err conftest.
$ac_objext \
20131 conftest
$ac_exeext conftest.
$ac_ext
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20134 $as_echo "$gcc_cv_math_func_floor" >&6; }
20135 if test $gcc_cv_math_func_floor = yes; then
20137 cat >>confdefs.h
<<_ACEOF
20138 #define HAVE_FLOOR 1
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20147 $as_echo_n "checking for floorl... " >&6; }
20148 if ${gcc_cv_math_func_floorl+:} false
; then :
20149 $as_echo_n "(cached) " >&6
20151 if test x
$gcc_no_link = xyes
; then
20152 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20155 /* end confdefs.h. */
20157 #ifdef HAVE_COMPLEX_H
20158 #include <complex.h>
20164 int (*ptr)() = (int (*)())floorl;
20173 if ac_fn_c_try_link
"$LINENO"; then :
20174 gcc_cv_math_func_floorl
=yes
20176 gcc_cv_math_func_floorl
=no
20178 rm -f core conftest.err conftest.
$ac_objext \
20179 conftest
$ac_exeext conftest.
$ac_ext
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20182 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20183 if test $gcc_cv_math_func_floorl = yes; then
20185 cat >>confdefs.h
<<_ACEOF
20186 #define HAVE_FLOORL 1
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20195 $as_echo_n "checking for fmaf... " >&6; }
20196 if ${gcc_cv_math_func_fmaf+:} false
; then :
20197 $as_echo_n "(cached) " >&6
20199 if test x
$gcc_no_link = xyes
; then
20200 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20203 /* end confdefs.h. */
20205 #ifdef HAVE_COMPLEX_H
20206 #include <complex.h>
20212 int (*ptr)() = (int (*)())fmaf;
20221 if ac_fn_c_try_link
"$LINENO"; then :
20222 gcc_cv_math_func_fmaf
=yes
20224 gcc_cv_math_func_fmaf
=no
20226 rm -f core conftest.err conftest.
$ac_objext \
20227 conftest
$ac_exeext conftest.
$ac_ext
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20230 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20231 if test $gcc_cv_math_func_fmaf = yes; then
20233 cat >>confdefs.h
<<_ACEOF
20234 #define HAVE_FMAF 1
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20243 $as_echo_n "checking for fma... " >&6; }
20244 if ${gcc_cv_math_func_fma+:} false
; then :
20245 $as_echo_n "(cached) " >&6
20247 if test x
$gcc_no_link = xyes
; then
20248 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20253 #ifdef HAVE_COMPLEX_H
20254 #include <complex.h>
20260 int (*ptr)() = (int (*)())fma;
20269 if ac_fn_c_try_link
"$LINENO"; then :
20270 gcc_cv_math_func_fma
=yes
20272 gcc_cv_math_func_fma
=no
20274 rm -f core conftest.err conftest.
$ac_objext \
20275 conftest
$ac_exeext conftest.
$ac_ext
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20278 $as_echo "$gcc_cv_math_func_fma" >&6; }
20279 if test $gcc_cv_math_func_fma = yes; then
20281 cat >>confdefs.h
<<_ACEOF
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20291 $as_echo_n "checking for fmal... " >&6; }
20292 if ${gcc_cv_math_func_fmal+:} false
; then :
20293 $as_echo_n "(cached) " >&6
20295 if test x
$gcc_no_link = xyes
; then
20296 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20301 #ifdef HAVE_COMPLEX_H
20302 #include <complex.h>
20308 int (*ptr)() = (int (*)())fmal;
20317 if ac_fn_c_try_link
"$LINENO"; then :
20318 gcc_cv_math_func_fmal
=yes
20320 gcc_cv_math_func_fmal
=no
20322 rm -f core conftest.err conftest.
$ac_objext \
20323 conftest
$ac_exeext conftest.
$ac_ext
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20326 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20327 if test $gcc_cv_math_func_fmal = yes; then
20329 cat >>confdefs.h
<<_ACEOF
20330 #define HAVE_FMAL 1
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20339 $as_echo_n "checking for fmodf... " >&6; }
20340 if ${gcc_cv_math_func_fmodf+:} false
; then :
20341 $as_echo_n "(cached) " >&6
20343 if test x
$gcc_no_link = xyes
; then
20344 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20347 /* end confdefs.h. */
20349 #ifdef HAVE_COMPLEX_H
20350 #include <complex.h>
20356 int (*ptr)() = (int (*)())fmodf;
20365 if ac_fn_c_try_link
"$LINENO"; then :
20366 gcc_cv_math_func_fmodf
=yes
20368 gcc_cv_math_func_fmodf
=no
20370 rm -f core conftest.err conftest.
$ac_objext \
20371 conftest
$ac_exeext conftest.
$ac_ext
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20374 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20375 if test $gcc_cv_math_func_fmodf = yes; then
20377 cat >>confdefs.h
<<_ACEOF
20378 #define HAVE_FMODF 1
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20387 $as_echo_n "checking for fmod... " >&6; }
20388 if ${gcc_cv_math_func_fmod+:} false
; then :
20389 $as_echo_n "(cached) " >&6
20391 if test x
$gcc_no_link = xyes
; then
20392 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20395 /* end confdefs.h. */
20397 #ifdef HAVE_COMPLEX_H
20398 #include <complex.h>
20404 int (*ptr)() = (int (*)())fmod;
20413 if ac_fn_c_try_link
"$LINENO"; then :
20414 gcc_cv_math_func_fmod
=yes
20416 gcc_cv_math_func_fmod
=no
20418 rm -f core conftest.err conftest.
$ac_objext \
20419 conftest
$ac_exeext conftest.
$ac_ext
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20422 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20423 if test $gcc_cv_math_func_fmod = yes; then
20425 cat >>confdefs.h
<<_ACEOF
20426 #define HAVE_FMOD 1
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20435 $as_echo_n "checking for fmodl... " >&6; }
20436 if ${gcc_cv_math_func_fmodl+:} false
; then :
20437 $as_echo_n "(cached) " >&6
20439 if test x
$gcc_no_link = xyes
; then
20440 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20445 #ifdef HAVE_COMPLEX_H
20446 #include <complex.h>
20452 int (*ptr)() = (int (*)())fmodl;
20461 if ac_fn_c_try_link
"$LINENO"; then :
20462 gcc_cv_math_func_fmodl
=yes
20464 gcc_cv_math_func_fmodl
=no
20466 rm -f core conftest.err conftest.
$ac_objext \
20467 conftest
$ac_exeext conftest.
$ac_ext
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20470 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20471 if test $gcc_cv_math_func_fmodl = yes; then
20473 cat >>confdefs.h
<<_ACEOF
20474 #define HAVE_FMODL 1
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20483 $as_echo_n "checking for frexpf... " >&6; }
20484 if ${gcc_cv_math_func_frexpf+:} false
; then :
20485 $as_echo_n "(cached) " >&6
20487 if test x
$gcc_no_link = xyes
; then
20488 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20493 #ifdef HAVE_COMPLEX_H
20494 #include <complex.h>
20500 int (*ptr)() = (int (*)())frexpf;
20509 if ac_fn_c_try_link
"$LINENO"; then :
20510 gcc_cv_math_func_frexpf
=yes
20512 gcc_cv_math_func_frexpf
=no
20514 rm -f core conftest.err conftest.
$ac_objext \
20515 conftest
$ac_exeext conftest.
$ac_ext
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20518 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20519 if test $gcc_cv_math_func_frexpf = yes; then
20521 cat >>confdefs.h
<<_ACEOF
20522 #define HAVE_FREXPF 1
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20531 $as_echo_n "checking for frexp... " >&6; }
20532 if ${gcc_cv_math_func_frexp+:} false
; then :
20533 $as_echo_n "(cached) " >&6
20535 if test x
$gcc_no_link = xyes
; then
20536 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20539 /* end confdefs.h. */
20541 #ifdef HAVE_COMPLEX_H
20542 #include <complex.h>
20548 int (*ptr)() = (int (*)())frexp;
20557 if ac_fn_c_try_link
"$LINENO"; then :
20558 gcc_cv_math_func_frexp
=yes
20560 gcc_cv_math_func_frexp
=no
20562 rm -f core conftest.err conftest.
$ac_objext \
20563 conftest
$ac_exeext conftest.
$ac_ext
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20566 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20567 if test $gcc_cv_math_func_frexp = yes; then
20569 cat >>confdefs.h
<<_ACEOF
20570 #define HAVE_FREXP 1
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20579 $as_echo_n "checking for frexpl... " >&6; }
20580 if ${gcc_cv_math_func_frexpl+:} false
; then :
20581 $as_echo_n "(cached) " >&6
20583 if test x
$gcc_no_link = xyes
; then
20584 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20587 /* end confdefs.h. */
20589 #ifdef HAVE_COMPLEX_H
20590 #include <complex.h>
20596 int (*ptr)() = (int (*)())frexpl;
20605 if ac_fn_c_try_link
"$LINENO"; then :
20606 gcc_cv_math_func_frexpl
=yes
20608 gcc_cv_math_func_frexpl
=no
20610 rm -f core conftest.err conftest.
$ac_objext \
20611 conftest
$ac_exeext conftest.
$ac_ext
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20614 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20615 if test $gcc_cv_math_func_frexpl = yes; then
20617 cat >>confdefs.h
<<_ACEOF
20618 #define HAVE_FREXPL 1
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20627 $as_echo_n "checking for hypotf... " >&6; }
20628 if ${gcc_cv_math_func_hypotf+:} false
; then :
20629 $as_echo_n "(cached) " >&6
20631 if test x
$gcc_no_link = xyes
; then
20632 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h. */
20637 #ifdef HAVE_COMPLEX_H
20638 #include <complex.h>
20644 int (*ptr)() = (int (*)())hypotf;
20653 if ac_fn_c_try_link
"$LINENO"; then :
20654 gcc_cv_math_func_hypotf
=yes
20656 gcc_cv_math_func_hypotf
=no
20658 rm -f core conftest.err conftest.
$ac_objext \
20659 conftest
$ac_exeext conftest.
$ac_ext
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20662 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20663 if test $gcc_cv_math_func_hypotf = yes; then
20665 cat >>confdefs.h
<<_ACEOF
20666 #define HAVE_HYPOTF 1
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20675 $as_echo_n "checking for hypot... " >&6; }
20676 if ${gcc_cv_math_func_hypot+:} false
; then :
20677 $as_echo_n "(cached) " >&6
20679 if test x
$gcc_no_link = xyes
; then
20680 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20685 #ifdef HAVE_COMPLEX_H
20686 #include <complex.h>
20692 int (*ptr)() = (int (*)())hypot;
20701 if ac_fn_c_try_link
"$LINENO"; then :
20702 gcc_cv_math_func_hypot
=yes
20704 gcc_cv_math_func_hypot
=no
20706 rm -f core conftest.err conftest.
$ac_objext \
20707 conftest
$ac_exeext conftest.
$ac_ext
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20710 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20711 if test $gcc_cv_math_func_hypot = yes; then
20713 cat >>confdefs.h
<<_ACEOF
20714 #define HAVE_HYPOT 1
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20723 $as_echo_n "checking for hypotl... " >&6; }
20724 if ${gcc_cv_math_func_hypotl+:} false
; then :
20725 $as_echo_n "(cached) " >&6
20727 if test x
$gcc_no_link = xyes
; then
20728 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20733 #ifdef HAVE_COMPLEX_H
20734 #include <complex.h>
20740 int (*ptr)() = (int (*)())hypotl;
20749 if ac_fn_c_try_link
"$LINENO"; then :
20750 gcc_cv_math_func_hypotl
=yes
20752 gcc_cv_math_func_hypotl
=no
20754 rm -f core conftest.err conftest.
$ac_objext \
20755 conftest
$ac_exeext conftest.
$ac_ext
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20758 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20759 if test $gcc_cv_math_func_hypotl = yes; then
20761 cat >>confdefs.h
<<_ACEOF
20762 #define HAVE_HYPOTL 1
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20771 $as_echo_n "checking for ldexpf... " >&6; }
20772 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20773 $as_echo_n "(cached) " >&6
20775 if test x
$gcc_no_link = xyes
; then
20776 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20781 #ifdef HAVE_COMPLEX_H
20782 #include <complex.h>
20788 int (*ptr)() = (int (*)())ldexpf;
20797 if ac_fn_c_try_link
"$LINENO"; then :
20798 gcc_cv_math_func_ldexpf
=yes
20800 gcc_cv_math_func_ldexpf
=no
20802 rm -f core conftest.err conftest.
$ac_objext \
20803 conftest
$ac_exeext conftest.
$ac_ext
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20806 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20807 if test $gcc_cv_math_func_ldexpf = yes; then
20809 cat >>confdefs.h
<<_ACEOF
20810 #define HAVE_LDEXPF 1
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20819 $as_echo_n "checking for ldexp... " >&6; }
20820 if ${gcc_cv_math_func_ldexp+:} false
; then :
20821 $as_echo_n "(cached) " >&6
20823 if test x
$gcc_no_link = xyes
; then
20824 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20829 #ifdef HAVE_COMPLEX_H
20830 #include <complex.h>
20836 int (*ptr)() = (int (*)())ldexp;
20845 if ac_fn_c_try_link
"$LINENO"; then :
20846 gcc_cv_math_func_ldexp
=yes
20848 gcc_cv_math_func_ldexp
=no
20850 rm -f core conftest.err conftest.
$ac_objext \
20851 conftest
$ac_exeext conftest.
$ac_ext
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20854 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20855 if test $gcc_cv_math_func_ldexp = yes; then
20857 cat >>confdefs.h
<<_ACEOF
20858 #define HAVE_LDEXP 1
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20867 $as_echo_n "checking for ldexpl... " >&6; }
20868 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20869 $as_echo_n "(cached) " >&6
20871 if test x
$gcc_no_link = xyes
; then
20872 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20877 #ifdef HAVE_COMPLEX_H
20878 #include <complex.h>
20884 int (*ptr)() = (int (*)())ldexpl;
20893 if ac_fn_c_try_link
"$LINENO"; then :
20894 gcc_cv_math_func_ldexpl
=yes
20896 gcc_cv_math_func_ldexpl
=no
20898 rm -f core conftest.err conftest.
$ac_objext \
20899 conftest
$ac_exeext conftest.
$ac_ext
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20902 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20903 if test $gcc_cv_math_func_ldexpl = yes; then
20905 cat >>confdefs.h
<<_ACEOF
20906 #define HAVE_LDEXPL 1
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20915 $as_echo_n "checking for logf... " >&6; }
20916 if ${gcc_cv_math_func_logf+:} false
; then :
20917 $as_echo_n "(cached) " >&6
20919 if test x
$gcc_no_link = xyes
; then
20920 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20925 #ifdef HAVE_COMPLEX_H
20926 #include <complex.h>
20932 int (*ptr)() = (int (*)())logf;
20941 if ac_fn_c_try_link
"$LINENO"; then :
20942 gcc_cv_math_func_logf
=yes
20944 gcc_cv_math_func_logf
=no
20946 rm -f core conftest.err conftest.
$ac_objext \
20947 conftest
$ac_exeext conftest.
$ac_ext
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20950 $as_echo "$gcc_cv_math_func_logf" >&6; }
20951 if test $gcc_cv_math_func_logf = yes; then
20953 cat >>confdefs.h
<<_ACEOF
20954 #define HAVE_LOGF 1
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20963 $as_echo_n "checking for log... " >&6; }
20964 if ${gcc_cv_math_func_log+:} false
; then :
20965 $as_echo_n "(cached) " >&6
20967 if test x
$gcc_no_link = xyes
; then
20968 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20973 #ifdef HAVE_COMPLEX_H
20974 #include <complex.h>
20980 int (*ptr)() = (int (*)())log;
20989 if ac_fn_c_try_link
"$LINENO"; then :
20990 gcc_cv_math_func_log
=yes
20992 gcc_cv_math_func_log
=no
20994 rm -f core conftest.err conftest.
$ac_objext \
20995 conftest
$ac_exeext conftest.
$ac_ext
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20998 $as_echo "$gcc_cv_math_func_log" >&6; }
20999 if test $gcc_cv_math_func_log = yes; then
21001 cat >>confdefs.h
<<_ACEOF
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
21011 $as_echo_n "checking for logl... " >&6; }
21012 if ${gcc_cv_math_func_logl+:} false
; then :
21013 $as_echo_n "(cached) " >&6
21015 if test x
$gcc_no_link = xyes
; then
21016 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21021 #ifdef HAVE_COMPLEX_H
21022 #include <complex.h>
21028 int (*ptr)() = (int (*)())logl;
21037 if ac_fn_c_try_link
"$LINENO"; then :
21038 gcc_cv_math_func_logl
=yes
21040 gcc_cv_math_func_logl
=no
21042 rm -f core conftest.err conftest.
$ac_objext \
21043 conftest
$ac_exeext conftest.
$ac_ext
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
21046 $as_echo "$gcc_cv_math_func_logl" >&6; }
21047 if test $gcc_cv_math_func_logl = yes; then
21049 cat >>confdefs.h
<<_ACEOF
21050 #define HAVE_LOGL 1
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
21059 $as_echo_n "checking for clogf... " >&6; }
21060 if ${gcc_cv_math_func_clogf+:} false
; then :
21061 $as_echo_n "(cached) " >&6
21063 if test x
$gcc_no_link = xyes
; then
21064 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21069 #ifdef HAVE_COMPLEX_H
21070 #include <complex.h>
21076 int (*ptr)() = (int (*)())clogf;
21085 if ac_fn_c_try_link
"$LINENO"; then :
21086 gcc_cv_math_func_clogf
=yes
21088 gcc_cv_math_func_clogf
=no
21090 rm -f core conftest.err conftest.
$ac_objext \
21091 conftest
$ac_exeext conftest.
$ac_ext
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
21094 $as_echo "$gcc_cv_math_func_clogf" >&6; }
21095 if test $gcc_cv_math_func_clogf = yes; then
21097 cat >>confdefs.h
<<_ACEOF
21098 #define HAVE_CLOGF 1
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
21107 $as_echo_n "checking for clog... " >&6; }
21108 if ${gcc_cv_math_func_clog+:} false
; then :
21109 $as_echo_n "(cached) " >&6
21111 if test x
$gcc_no_link = xyes
; then
21112 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21117 #ifdef HAVE_COMPLEX_H
21118 #include <complex.h>
21124 int (*ptr)() = (int (*)())clog;
21133 if ac_fn_c_try_link
"$LINENO"; then :
21134 gcc_cv_math_func_clog
=yes
21136 gcc_cv_math_func_clog
=no
21138 rm -f core conftest.err conftest.
$ac_objext \
21139 conftest
$ac_exeext conftest.
$ac_ext
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21142 $as_echo "$gcc_cv_math_func_clog" >&6; }
21143 if test $gcc_cv_math_func_clog = yes; then
21145 cat >>confdefs.h
<<_ACEOF
21146 #define HAVE_CLOG 1
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21155 $as_echo_n "checking for clogl... " >&6; }
21156 if ${gcc_cv_math_func_clogl+:} false
; then :
21157 $as_echo_n "(cached) " >&6
21159 if test x
$gcc_no_link = xyes
; then
21160 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21165 #ifdef HAVE_COMPLEX_H
21166 #include <complex.h>
21172 int (*ptr)() = (int (*)())clogl;
21181 if ac_fn_c_try_link
"$LINENO"; then :
21182 gcc_cv_math_func_clogl
=yes
21184 gcc_cv_math_func_clogl
=no
21186 rm -f core conftest.err conftest.
$ac_objext \
21187 conftest
$ac_exeext conftest.
$ac_ext
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21190 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21191 if test $gcc_cv_math_func_clogl = yes; then
21193 cat >>confdefs.h
<<_ACEOF
21194 #define HAVE_CLOGL 1
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21203 $as_echo_n "checking for log10f... " >&6; }
21204 if ${gcc_cv_math_func_log10f+:} false
; then :
21205 $as_echo_n "(cached) " >&6
21207 if test x
$gcc_no_link = xyes
; then
21208 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21213 #ifdef HAVE_COMPLEX_H
21214 #include <complex.h>
21220 int (*ptr)() = (int (*)())log10f;
21229 if ac_fn_c_try_link
"$LINENO"; then :
21230 gcc_cv_math_func_log10f
=yes
21232 gcc_cv_math_func_log10f
=no
21234 rm -f core conftest.err conftest.
$ac_objext \
21235 conftest
$ac_exeext conftest.
$ac_ext
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21238 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21239 if test $gcc_cv_math_func_log10f = yes; then
21241 cat >>confdefs.h
<<_ACEOF
21242 #define HAVE_LOG10F 1
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21251 $as_echo_n "checking for log10... " >&6; }
21252 if ${gcc_cv_math_func_log10+:} false
; then :
21253 $as_echo_n "(cached) " >&6
21255 if test x
$gcc_no_link = xyes
; then
21256 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21259 /* end confdefs.h. */
21261 #ifdef HAVE_COMPLEX_H
21262 #include <complex.h>
21268 int (*ptr)() = (int (*)())log10;
21277 if ac_fn_c_try_link
"$LINENO"; then :
21278 gcc_cv_math_func_log10
=yes
21280 gcc_cv_math_func_log10
=no
21282 rm -f core conftest.err conftest.
$ac_objext \
21283 conftest
$ac_exeext conftest.
$ac_ext
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21286 $as_echo "$gcc_cv_math_func_log10" >&6; }
21287 if test $gcc_cv_math_func_log10 = yes; then
21289 cat >>confdefs.h
<<_ACEOF
21290 #define HAVE_LOG10 1
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21299 $as_echo_n "checking for log10l... " >&6; }
21300 if ${gcc_cv_math_func_log10l+:} false
; then :
21301 $as_echo_n "(cached) " >&6
21303 if test x
$gcc_no_link = xyes
; then
21304 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21309 #ifdef HAVE_COMPLEX_H
21310 #include <complex.h>
21316 int (*ptr)() = (int (*)())log10l;
21325 if ac_fn_c_try_link
"$LINENO"; then :
21326 gcc_cv_math_func_log10l
=yes
21328 gcc_cv_math_func_log10l
=no
21330 rm -f core conftest.err conftest.
$ac_objext \
21331 conftest
$ac_exeext conftest.
$ac_ext
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21334 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21335 if test $gcc_cv_math_func_log10l = yes; then
21337 cat >>confdefs.h
<<_ACEOF
21338 #define HAVE_LOG10L 1
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21347 $as_echo_n "checking for clog10f... " >&6; }
21348 if ${gcc_cv_math_func_clog10f+:} false
; then :
21349 $as_echo_n "(cached) " >&6
21351 if test x
$gcc_no_link = xyes
; then
21352 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21357 #ifdef HAVE_COMPLEX_H
21358 #include <complex.h>
21364 int (*ptr)() = (int (*)())clog10f;
21373 if ac_fn_c_try_link
"$LINENO"; then :
21374 gcc_cv_math_func_clog10f
=yes
21376 gcc_cv_math_func_clog10f
=no
21378 rm -f core conftest.err conftest.
$ac_objext \
21379 conftest
$ac_exeext conftest.
$ac_ext
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21382 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21383 if test $gcc_cv_math_func_clog10f = yes; then
21385 cat >>confdefs.h
<<_ACEOF
21386 #define HAVE_CLOG10F 1
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21395 $as_echo_n "checking for clog10... " >&6; }
21396 if ${gcc_cv_math_func_clog10+:} false
; then :
21397 $as_echo_n "(cached) " >&6
21399 if test x
$gcc_no_link = xyes
; then
21400 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21405 #ifdef HAVE_COMPLEX_H
21406 #include <complex.h>
21412 int (*ptr)() = (int (*)())clog10;
21421 if ac_fn_c_try_link
"$LINENO"; then :
21422 gcc_cv_math_func_clog10
=yes
21424 gcc_cv_math_func_clog10
=no
21426 rm -f core conftest.err conftest.
$ac_objext \
21427 conftest
$ac_exeext conftest.
$ac_ext
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21430 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21431 if test $gcc_cv_math_func_clog10 = yes; then
21433 cat >>confdefs.h
<<_ACEOF
21434 #define HAVE_CLOG10 1
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21443 $as_echo_n "checking for clog10l... " >&6; }
21444 if ${gcc_cv_math_func_clog10l+:} false
; then :
21445 $as_echo_n "(cached) " >&6
21447 if test x
$gcc_no_link = xyes
; then
21448 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h. */
21453 #ifdef HAVE_COMPLEX_H
21454 #include <complex.h>
21460 int (*ptr)() = (int (*)())clog10l;
21469 if ac_fn_c_try_link
"$LINENO"; then :
21470 gcc_cv_math_func_clog10l
=yes
21472 gcc_cv_math_func_clog10l
=no
21474 rm -f core conftest.err conftest.
$ac_objext \
21475 conftest
$ac_exeext conftest.
$ac_ext
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21478 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21479 if test $gcc_cv_math_func_clog10l = yes; then
21481 cat >>confdefs.h
<<_ACEOF
21482 #define HAVE_CLOG10L 1
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21491 $as_echo_n "checking for nextafterf... " >&6; }
21492 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21493 $as_echo_n "(cached) " >&6
21495 if test x
$gcc_no_link = xyes
; then
21496 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21499 /* end confdefs.h. */
21501 #ifdef HAVE_COMPLEX_H
21502 #include <complex.h>
21508 int (*ptr)() = (int (*)())nextafterf;
21517 if ac_fn_c_try_link
"$LINENO"; then :
21518 gcc_cv_math_func_nextafterf
=yes
21520 gcc_cv_math_func_nextafterf
=no
21522 rm -f core conftest.err conftest.
$ac_objext \
21523 conftest
$ac_exeext conftest.
$ac_ext
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21526 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21527 if test $gcc_cv_math_func_nextafterf = yes; then
21529 cat >>confdefs.h
<<_ACEOF
21530 #define HAVE_NEXTAFTERF 1
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21539 $as_echo_n "checking for nextafter... " >&6; }
21540 if ${gcc_cv_math_func_nextafter+:} false
; then :
21541 $as_echo_n "(cached) " >&6
21543 if test x
$gcc_no_link = xyes
; then
21544 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h. */
21549 #ifdef HAVE_COMPLEX_H
21550 #include <complex.h>
21556 int (*ptr)() = (int (*)())nextafter;
21565 if ac_fn_c_try_link
"$LINENO"; then :
21566 gcc_cv_math_func_nextafter
=yes
21568 gcc_cv_math_func_nextafter
=no
21570 rm -f core conftest.err conftest.
$ac_objext \
21571 conftest
$ac_exeext conftest.
$ac_ext
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21574 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21575 if test $gcc_cv_math_func_nextafter = yes; then
21577 cat >>confdefs.h
<<_ACEOF
21578 #define HAVE_NEXTAFTER 1
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21587 $as_echo_n "checking for nextafterl... " >&6; }
21588 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21589 $as_echo_n "(cached) " >&6
21591 if test x
$gcc_no_link = xyes
; then
21592 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h. */
21597 #ifdef HAVE_COMPLEX_H
21598 #include <complex.h>
21604 int (*ptr)() = (int (*)())nextafterl;
21613 if ac_fn_c_try_link
"$LINENO"; then :
21614 gcc_cv_math_func_nextafterl
=yes
21616 gcc_cv_math_func_nextafterl
=no
21618 rm -f core conftest.err conftest.
$ac_objext \
21619 conftest
$ac_exeext conftest.
$ac_ext
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21622 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21623 if test $gcc_cv_math_func_nextafterl = yes; then
21625 cat >>confdefs.h
<<_ACEOF
21626 #define HAVE_NEXTAFTERL 1
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21635 $as_echo_n "checking for powf... " >&6; }
21636 if ${gcc_cv_math_func_powf+:} false
; then :
21637 $as_echo_n "(cached) " >&6
21639 if test x
$gcc_no_link = xyes
; then
21640 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21645 #ifdef HAVE_COMPLEX_H
21646 #include <complex.h>
21652 int (*ptr)() = (int (*)())powf;
21661 if ac_fn_c_try_link
"$LINENO"; then :
21662 gcc_cv_math_func_powf
=yes
21664 gcc_cv_math_func_powf
=no
21666 rm -f core conftest.err conftest.
$ac_objext \
21667 conftest
$ac_exeext conftest.
$ac_ext
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21670 $as_echo "$gcc_cv_math_func_powf" >&6; }
21671 if test $gcc_cv_math_func_powf = yes; then
21673 cat >>confdefs.h
<<_ACEOF
21674 #define HAVE_POWF 1
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21683 $as_echo_n "checking for pow... " >&6; }
21684 if ${gcc_cv_math_func_pow+:} false
; then :
21685 $as_echo_n "(cached) " >&6
21687 if test x
$gcc_no_link = xyes
; then
21688 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21691 /* end confdefs.h. */
21693 #ifdef HAVE_COMPLEX_H
21694 #include <complex.h>
21700 int (*ptr)() = (int (*)())pow;
21709 if ac_fn_c_try_link
"$LINENO"; then :
21710 gcc_cv_math_func_pow
=yes
21712 gcc_cv_math_func_pow
=no
21714 rm -f core conftest.err conftest.
$ac_objext \
21715 conftest
$ac_exeext conftest.
$ac_ext
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21718 $as_echo "$gcc_cv_math_func_pow" >&6; }
21719 if test $gcc_cv_math_func_pow = yes; then
21721 cat >>confdefs.h
<<_ACEOF
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21731 $as_echo_n "checking for cpowf... " >&6; }
21732 if ${gcc_cv_math_func_cpowf+:} false
; then :
21733 $as_echo_n "(cached) " >&6
21735 if test x
$gcc_no_link = xyes
; then
21736 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21739 /* end confdefs.h. */
21741 #ifdef HAVE_COMPLEX_H
21742 #include <complex.h>
21748 int (*ptr)() = (int (*)())cpowf;
21757 if ac_fn_c_try_link
"$LINENO"; then :
21758 gcc_cv_math_func_cpowf
=yes
21760 gcc_cv_math_func_cpowf
=no
21762 rm -f core conftest.err conftest.
$ac_objext \
21763 conftest
$ac_exeext conftest.
$ac_ext
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21766 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21767 if test $gcc_cv_math_func_cpowf = yes; then
21769 cat >>confdefs.h
<<_ACEOF
21770 #define HAVE_CPOWF 1
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21779 $as_echo_n "checking for cpow... " >&6; }
21780 if ${gcc_cv_math_func_cpow+:} false
; then :
21781 $as_echo_n "(cached) " >&6
21783 if test x
$gcc_no_link = xyes
; then
21784 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h. */
21789 #ifdef HAVE_COMPLEX_H
21790 #include <complex.h>
21796 int (*ptr)() = (int (*)())cpow;
21805 if ac_fn_c_try_link
"$LINENO"; then :
21806 gcc_cv_math_func_cpow
=yes
21808 gcc_cv_math_func_cpow
=no
21810 rm -f core conftest.err conftest.
$ac_objext \
21811 conftest
$ac_exeext conftest.
$ac_ext
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21814 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21815 if test $gcc_cv_math_func_cpow = yes; then
21817 cat >>confdefs.h
<<_ACEOF
21818 #define HAVE_CPOW 1
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21827 $as_echo_n "checking for cpowl... " >&6; }
21828 if ${gcc_cv_math_func_cpowl+:} false
; then :
21829 $as_echo_n "(cached) " >&6
21831 if test x
$gcc_no_link = xyes
; then
21832 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21837 #ifdef HAVE_COMPLEX_H
21838 #include <complex.h>
21844 int (*ptr)() = (int (*)())cpowl;
21853 if ac_fn_c_try_link
"$LINENO"; then :
21854 gcc_cv_math_func_cpowl
=yes
21856 gcc_cv_math_func_cpowl
=no
21858 rm -f core conftest.err conftest.
$ac_objext \
21859 conftest
$ac_exeext conftest.
$ac_ext
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21862 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21863 if test $gcc_cv_math_func_cpowl = yes; then
21865 cat >>confdefs.h
<<_ACEOF
21866 #define HAVE_CPOWL 1
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21875 $as_echo_n "checking for roundf... " >&6; }
21876 if ${gcc_cv_math_func_roundf+:} false
; then :
21877 $as_echo_n "(cached) " >&6
21879 if test x
$gcc_no_link = xyes
; then
21880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21883 /* end confdefs.h. */
21885 #ifdef HAVE_COMPLEX_H
21886 #include <complex.h>
21892 int (*ptr)() = (int (*)())roundf;
21901 if ac_fn_c_try_link
"$LINENO"; then :
21902 gcc_cv_math_func_roundf
=yes
21904 gcc_cv_math_func_roundf
=no
21906 rm -f core conftest.err conftest.
$ac_objext \
21907 conftest
$ac_exeext conftest.
$ac_ext
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21910 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21911 if test $gcc_cv_math_func_roundf = yes; then
21913 cat >>confdefs.h
<<_ACEOF
21914 #define HAVE_ROUNDF 1
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21923 $as_echo_n "checking for round... " >&6; }
21924 if ${gcc_cv_math_func_round+:} false
; then :
21925 $as_echo_n "(cached) " >&6
21927 if test x
$gcc_no_link = xyes
; then
21928 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21933 #ifdef HAVE_COMPLEX_H
21934 #include <complex.h>
21940 int (*ptr)() = (int (*)())round;
21949 if ac_fn_c_try_link
"$LINENO"; then :
21950 gcc_cv_math_func_round
=yes
21952 gcc_cv_math_func_round
=no
21954 rm -f core conftest.err conftest.
$ac_objext \
21955 conftest
$ac_exeext conftest.
$ac_ext
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21958 $as_echo "$gcc_cv_math_func_round" >&6; }
21959 if test $gcc_cv_math_func_round = yes; then
21961 cat >>confdefs.h
<<_ACEOF
21962 #define HAVE_ROUND 1
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21971 $as_echo_n "checking for roundl... " >&6; }
21972 if ${gcc_cv_math_func_roundl+:} false
; then :
21973 $as_echo_n "(cached) " >&6
21975 if test x
$gcc_no_link = xyes
; then
21976 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21979 /* end confdefs.h. */
21981 #ifdef HAVE_COMPLEX_H
21982 #include <complex.h>
21988 int (*ptr)() = (int (*)())roundl;
21997 if ac_fn_c_try_link
"$LINENO"; then :
21998 gcc_cv_math_func_roundl
=yes
22000 gcc_cv_math_func_roundl
=no
22002 rm -f core conftest.err conftest.
$ac_objext \
22003 conftest
$ac_exeext conftest.
$ac_ext
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
22006 $as_echo "$gcc_cv_math_func_roundl" >&6; }
22007 if test $gcc_cv_math_func_roundl = yes; then
22009 cat >>confdefs.h
<<_ACEOF
22010 #define HAVE_ROUNDL 1
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
22019 $as_echo_n "checking for lroundf... " >&6; }
22020 if ${gcc_cv_math_func_lroundf+:} false
; then :
22021 $as_echo_n "(cached) " >&6
22023 if test x
$gcc_no_link = xyes
; then
22024 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22027 /* end confdefs.h. */
22029 #ifdef HAVE_COMPLEX_H
22030 #include <complex.h>
22036 int (*ptr)() = (int (*)())lroundf;
22045 if ac_fn_c_try_link
"$LINENO"; then :
22046 gcc_cv_math_func_lroundf
=yes
22048 gcc_cv_math_func_lroundf
=no
22050 rm -f core conftest.err conftest.
$ac_objext \
22051 conftest
$ac_exeext conftest.
$ac_ext
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
22054 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
22055 if test $gcc_cv_math_func_lroundf = yes; then
22057 cat >>confdefs.h
<<_ACEOF
22058 #define HAVE_LROUNDF 1
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
22067 $as_echo_n "checking for lround... " >&6; }
22068 if ${gcc_cv_math_func_lround+:} false
; then :
22069 $as_echo_n "(cached) " >&6
22071 if test x
$gcc_no_link = xyes
; then
22072 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22075 /* end confdefs.h. */
22077 #ifdef HAVE_COMPLEX_H
22078 #include <complex.h>
22084 int (*ptr)() = (int (*)())lround;
22093 if ac_fn_c_try_link
"$LINENO"; then :
22094 gcc_cv_math_func_lround
=yes
22096 gcc_cv_math_func_lround
=no
22098 rm -f core conftest.err conftest.
$ac_objext \
22099 conftest
$ac_exeext conftest.
$ac_ext
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
22102 $as_echo "$gcc_cv_math_func_lround" >&6; }
22103 if test $gcc_cv_math_func_lround = yes; then
22105 cat >>confdefs.h
<<_ACEOF
22106 #define HAVE_LROUND 1
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22115 $as_echo_n "checking for lroundl... " >&6; }
22116 if ${gcc_cv_math_func_lroundl+:} false
; then :
22117 $as_echo_n "(cached) " >&6
22119 if test x
$gcc_no_link = xyes
; then
22120 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22125 #ifdef HAVE_COMPLEX_H
22126 #include <complex.h>
22132 int (*ptr)() = (int (*)())lroundl;
22141 if ac_fn_c_try_link
"$LINENO"; then :
22142 gcc_cv_math_func_lroundl
=yes
22144 gcc_cv_math_func_lroundl
=no
22146 rm -f core conftest.err conftest.
$ac_objext \
22147 conftest
$ac_exeext conftest.
$ac_ext
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22150 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22151 if test $gcc_cv_math_func_lroundl = yes; then
22153 cat >>confdefs.h
<<_ACEOF
22154 #define HAVE_LROUNDL 1
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22163 $as_echo_n "checking for llroundf... " >&6; }
22164 if ${gcc_cv_math_func_llroundf+:} false
; then :
22165 $as_echo_n "(cached) " >&6
22167 if test x
$gcc_no_link = xyes
; then
22168 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22171 /* end confdefs.h. */
22173 #ifdef HAVE_COMPLEX_H
22174 #include <complex.h>
22180 int (*ptr)() = (int (*)())llroundf;
22189 if ac_fn_c_try_link
"$LINENO"; then :
22190 gcc_cv_math_func_llroundf
=yes
22192 gcc_cv_math_func_llroundf
=no
22194 rm -f core conftest.err conftest.
$ac_objext \
22195 conftest
$ac_exeext conftest.
$ac_ext
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22198 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22199 if test $gcc_cv_math_func_llroundf = yes; then
22201 cat >>confdefs.h
<<_ACEOF
22202 #define HAVE_LLROUNDF 1
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22211 $as_echo_n "checking for llround... " >&6; }
22212 if ${gcc_cv_math_func_llround+:} false
; then :
22213 $as_echo_n "(cached) " >&6
22215 if test x
$gcc_no_link = xyes
; then
22216 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22219 /* end confdefs.h. */
22221 #ifdef HAVE_COMPLEX_H
22222 #include <complex.h>
22228 int (*ptr)() = (int (*)())llround;
22237 if ac_fn_c_try_link
"$LINENO"; then :
22238 gcc_cv_math_func_llround
=yes
22240 gcc_cv_math_func_llround
=no
22242 rm -f core conftest.err conftest.
$ac_objext \
22243 conftest
$ac_exeext conftest.
$ac_ext
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22246 $as_echo "$gcc_cv_math_func_llround" >&6; }
22247 if test $gcc_cv_math_func_llround = yes; then
22249 cat >>confdefs.h
<<_ACEOF
22250 #define HAVE_LLROUND 1
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22259 $as_echo_n "checking for llroundl... " >&6; }
22260 if ${gcc_cv_math_func_llroundl+:} false
; then :
22261 $as_echo_n "(cached) " >&6
22263 if test x
$gcc_no_link = xyes
; then
22264 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22269 #ifdef HAVE_COMPLEX_H
22270 #include <complex.h>
22276 int (*ptr)() = (int (*)())llroundl;
22285 if ac_fn_c_try_link
"$LINENO"; then :
22286 gcc_cv_math_func_llroundl
=yes
22288 gcc_cv_math_func_llroundl
=no
22290 rm -f core conftest.err conftest.
$ac_objext \
22291 conftest
$ac_exeext conftest.
$ac_ext
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22294 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22295 if test $gcc_cv_math_func_llroundl = yes; then
22297 cat >>confdefs.h
<<_ACEOF
22298 #define HAVE_LLROUNDL 1
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22307 $as_echo_n "checking for scalbnf... " >&6; }
22308 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22309 $as_echo_n "(cached) " >&6
22311 if test x
$gcc_no_link = xyes
; then
22312 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22315 /* end confdefs.h. */
22317 #ifdef HAVE_COMPLEX_H
22318 #include <complex.h>
22324 int (*ptr)() = (int (*)())scalbnf;
22333 if ac_fn_c_try_link
"$LINENO"; then :
22334 gcc_cv_math_func_scalbnf
=yes
22336 gcc_cv_math_func_scalbnf
=no
22338 rm -f core conftest.err conftest.
$ac_objext \
22339 conftest
$ac_exeext conftest.
$ac_ext
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22342 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22343 if test $gcc_cv_math_func_scalbnf = yes; then
22345 cat >>confdefs.h
<<_ACEOF
22346 #define HAVE_SCALBNF 1
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22355 $as_echo_n "checking for scalbn... " >&6; }
22356 if ${gcc_cv_math_func_scalbn+:} false
; then :
22357 $as_echo_n "(cached) " >&6
22359 if test x
$gcc_no_link = xyes
; then
22360 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h. */
22365 #ifdef HAVE_COMPLEX_H
22366 #include <complex.h>
22372 int (*ptr)() = (int (*)())scalbn;
22381 if ac_fn_c_try_link
"$LINENO"; then :
22382 gcc_cv_math_func_scalbn
=yes
22384 gcc_cv_math_func_scalbn
=no
22386 rm -f core conftest.err conftest.
$ac_objext \
22387 conftest
$ac_exeext conftest.
$ac_ext
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22390 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22391 if test $gcc_cv_math_func_scalbn = yes; then
22393 cat >>confdefs.h
<<_ACEOF
22394 #define HAVE_SCALBN 1
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22403 $as_echo_n "checking for scalbnl... " >&6; }
22404 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22405 $as_echo_n "(cached) " >&6
22407 if test x
$gcc_no_link = xyes
; then
22408 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22411 /* end confdefs.h. */
22413 #ifdef HAVE_COMPLEX_H
22414 #include <complex.h>
22420 int (*ptr)() = (int (*)())scalbnl;
22429 if ac_fn_c_try_link
"$LINENO"; then :
22430 gcc_cv_math_func_scalbnl
=yes
22432 gcc_cv_math_func_scalbnl
=no
22434 rm -f core conftest.err conftest.
$ac_objext \
22435 conftest
$ac_exeext conftest.
$ac_ext
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22438 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22439 if test $gcc_cv_math_func_scalbnl = yes; then
22441 cat >>confdefs.h
<<_ACEOF
22442 #define HAVE_SCALBNL 1
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22451 $as_echo_n "checking for sinf... " >&6; }
22452 if ${gcc_cv_math_func_sinf+:} false
; then :
22453 $as_echo_n "(cached) " >&6
22455 if test x
$gcc_no_link = xyes
; then
22456 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22459 /* end confdefs.h. */
22461 #ifdef HAVE_COMPLEX_H
22462 #include <complex.h>
22468 int (*ptr)() = (int (*)())sinf;
22477 if ac_fn_c_try_link
"$LINENO"; then :
22478 gcc_cv_math_func_sinf
=yes
22480 gcc_cv_math_func_sinf
=no
22482 rm -f core conftest.err conftest.
$ac_objext \
22483 conftest
$ac_exeext conftest.
$ac_ext
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22486 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22487 if test $gcc_cv_math_func_sinf = yes; then
22489 cat >>confdefs.h
<<_ACEOF
22490 #define HAVE_SINF 1
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22499 $as_echo_n "checking for sin... " >&6; }
22500 if ${gcc_cv_math_func_sin+:} false
; then :
22501 $as_echo_n "(cached) " >&6
22503 if test x
$gcc_no_link = xyes
; then
22504 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h. */
22509 #ifdef HAVE_COMPLEX_H
22510 #include <complex.h>
22516 int (*ptr)() = (int (*)())sin;
22525 if ac_fn_c_try_link
"$LINENO"; then :
22526 gcc_cv_math_func_sin
=yes
22528 gcc_cv_math_func_sin
=no
22530 rm -f core conftest.err conftest.
$ac_objext \
22531 conftest
$ac_exeext conftest.
$ac_ext
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22534 $as_echo "$gcc_cv_math_func_sin" >&6; }
22535 if test $gcc_cv_math_func_sin = yes; then
22537 cat >>confdefs.h
<<_ACEOF
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22547 $as_echo_n "checking for sinl... " >&6; }
22548 if ${gcc_cv_math_func_sinl+:} false
; then :
22549 $as_echo_n "(cached) " >&6
22551 if test x
$gcc_no_link = xyes
; then
22552 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22557 #ifdef HAVE_COMPLEX_H
22558 #include <complex.h>
22564 int (*ptr)() = (int (*)())sinl;
22573 if ac_fn_c_try_link
"$LINENO"; then :
22574 gcc_cv_math_func_sinl
=yes
22576 gcc_cv_math_func_sinl
=no
22578 rm -f core conftest.err conftest.
$ac_objext \
22579 conftest
$ac_exeext conftest.
$ac_ext
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22582 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22583 if test $gcc_cv_math_func_sinl = yes; then
22585 cat >>confdefs.h
<<_ACEOF
22586 #define HAVE_SINL 1
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22595 $as_echo_n "checking for csinf... " >&6; }
22596 if ${gcc_cv_math_func_csinf+:} false
; then :
22597 $as_echo_n "(cached) " >&6
22599 if test x
$gcc_no_link = xyes
; then
22600 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h. */
22605 #ifdef HAVE_COMPLEX_H
22606 #include <complex.h>
22612 int (*ptr)() = (int (*)())csinf;
22621 if ac_fn_c_try_link
"$LINENO"; then :
22622 gcc_cv_math_func_csinf
=yes
22624 gcc_cv_math_func_csinf
=no
22626 rm -f core conftest.err conftest.
$ac_objext \
22627 conftest
$ac_exeext conftest.
$ac_ext
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22630 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22631 if test $gcc_cv_math_func_csinf = yes; then
22633 cat >>confdefs.h
<<_ACEOF
22634 #define HAVE_CSINF 1
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22643 $as_echo_n "checking for csin... " >&6; }
22644 if ${gcc_cv_math_func_csin+:} false
; then :
22645 $as_echo_n "(cached) " >&6
22647 if test x
$gcc_no_link = xyes
; then
22648 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22653 #ifdef HAVE_COMPLEX_H
22654 #include <complex.h>
22660 int (*ptr)() = (int (*)())csin;
22669 if ac_fn_c_try_link
"$LINENO"; then :
22670 gcc_cv_math_func_csin
=yes
22672 gcc_cv_math_func_csin
=no
22674 rm -f core conftest.err conftest.
$ac_objext \
22675 conftest
$ac_exeext conftest.
$ac_ext
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22678 $as_echo "$gcc_cv_math_func_csin" >&6; }
22679 if test $gcc_cv_math_func_csin = yes; then
22681 cat >>confdefs.h
<<_ACEOF
22682 #define HAVE_CSIN 1
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22691 $as_echo_n "checking for csinl... " >&6; }
22692 if ${gcc_cv_math_func_csinl+:} false
; then :
22693 $as_echo_n "(cached) " >&6
22695 if test x
$gcc_no_link = xyes
; then
22696 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22701 #ifdef HAVE_COMPLEX_H
22702 #include <complex.h>
22708 int (*ptr)() = (int (*)())csinl;
22717 if ac_fn_c_try_link
"$LINENO"; then :
22718 gcc_cv_math_func_csinl
=yes
22720 gcc_cv_math_func_csinl
=no
22722 rm -f core conftest.err conftest.
$ac_objext \
22723 conftest
$ac_exeext conftest.
$ac_ext
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22726 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22727 if test $gcc_cv_math_func_csinl = yes; then
22729 cat >>confdefs.h
<<_ACEOF
22730 #define HAVE_CSINL 1
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22739 $as_echo_n "checking for sinhf... " >&6; }
22740 if ${gcc_cv_math_func_sinhf+:} false
; then :
22741 $as_echo_n "(cached) " >&6
22743 if test x
$gcc_no_link = xyes
; then
22744 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22747 /* end confdefs.h. */
22749 #ifdef HAVE_COMPLEX_H
22750 #include <complex.h>
22756 int (*ptr)() = (int (*)())sinhf;
22765 if ac_fn_c_try_link
"$LINENO"; then :
22766 gcc_cv_math_func_sinhf
=yes
22768 gcc_cv_math_func_sinhf
=no
22770 rm -f core conftest.err conftest.
$ac_objext \
22771 conftest
$ac_exeext conftest.
$ac_ext
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22774 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22775 if test $gcc_cv_math_func_sinhf = yes; then
22777 cat >>confdefs.h
<<_ACEOF
22778 #define HAVE_SINHF 1
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22787 $as_echo_n "checking for sinh... " >&6; }
22788 if ${gcc_cv_math_func_sinh+:} false
; then :
22789 $as_echo_n "(cached) " >&6
22791 if test x
$gcc_no_link = xyes
; then
22792 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22797 #ifdef HAVE_COMPLEX_H
22798 #include <complex.h>
22804 int (*ptr)() = (int (*)())sinh;
22813 if ac_fn_c_try_link
"$LINENO"; then :
22814 gcc_cv_math_func_sinh
=yes
22816 gcc_cv_math_func_sinh
=no
22818 rm -f core conftest.err conftest.
$ac_objext \
22819 conftest
$ac_exeext conftest.
$ac_ext
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22822 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22823 if test $gcc_cv_math_func_sinh = yes; then
22825 cat >>confdefs.h
<<_ACEOF
22826 #define HAVE_SINH 1
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22835 $as_echo_n "checking for sinhl... " >&6; }
22836 if ${gcc_cv_math_func_sinhl+:} false
; then :
22837 $as_echo_n "(cached) " >&6
22839 if test x
$gcc_no_link = xyes
; then
22840 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22845 #ifdef HAVE_COMPLEX_H
22846 #include <complex.h>
22852 int (*ptr)() = (int (*)())sinhl;
22861 if ac_fn_c_try_link
"$LINENO"; then :
22862 gcc_cv_math_func_sinhl
=yes
22864 gcc_cv_math_func_sinhl
=no
22866 rm -f core conftest.err conftest.
$ac_objext \
22867 conftest
$ac_exeext conftest.
$ac_ext
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22870 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22871 if test $gcc_cv_math_func_sinhl = yes; then
22873 cat >>confdefs.h
<<_ACEOF
22874 #define HAVE_SINHL 1
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22883 $as_echo_n "checking for csinhf... " >&6; }
22884 if ${gcc_cv_math_func_csinhf+:} false
; then :
22885 $as_echo_n "(cached) " >&6
22887 if test x
$gcc_no_link = xyes
; then
22888 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22893 #ifdef HAVE_COMPLEX_H
22894 #include <complex.h>
22900 int (*ptr)() = (int (*)())csinhf;
22909 if ac_fn_c_try_link
"$LINENO"; then :
22910 gcc_cv_math_func_csinhf
=yes
22912 gcc_cv_math_func_csinhf
=no
22914 rm -f core conftest.err conftest.
$ac_objext \
22915 conftest
$ac_exeext conftest.
$ac_ext
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22918 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22919 if test $gcc_cv_math_func_csinhf = yes; then
22921 cat >>confdefs.h
<<_ACEOF
22922 #define HAVE_CSINHF 1
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22931 $as_echo_n "checking for csinh... " >&6; }
22932 if ${gcc_cv_math_func_csinh+:} false
; then :
22933 $as_echo_n "(cached) " >&6
22935 if test x
$gcc_no_link = xyes
; then
22936 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22941 #ifdef HAVE_COMPLEX_H
22942 #include <complex.h>
22948 int (*ptr)() = (int (*)())csinh;
22957 if ac_fn_c_try_link
"$LINENO"; then :
22958 gcc_cv_math_func_csinh
=yes
22960 gcc_cv_math_func_csinh
=no
22962 rm -f core conftest.err conftest.
$ac_objext \
22963 conftest
$ac_exeext conftest.
$ac_ext
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22966 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22967 if test $gcc_cv_math_func_csinh = yes; then
22969 cat >>confdefs.h
<<_ACEOF
22970 #define HAVE_CSINH 1
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22979 $as_echo_n "checking for csinhl... " >&6; }
22980 if ${gcc_cv_math_func_csinhl+:} false
; then :
22981 $as_echo_n "(cached) " >&6
22983 if test x
$gcc_no_link = xyes
; then
22984 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22987 /* end confdefs.h. */
22989 #ifdef HAVE_COMPLEX_H
22990 #include <complex.h>
22996 int (*ptr)() = (int (*)())csinhl;
23005 if ac_fn_c_try_link
"$LINENO"; then :
23006 gcc_cv_math_func_csinhl
=yes
23008 gcc_cv_math_func_csinhl
=no
23010 rm -f core conftest.err conftest.
$ac_objext \
23011 conftest
$ac_exeext conftest.
$ac_ext
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
23014 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
23015 if test $gcc_cv_math_func_csinhl = yes; then
23017 cat >>confdefs.h
<<_ACEOF
23018 #define HAVE_CSINHL 1
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
23027 $as_echo_n "checking for sqrtf... " >&6; }
23028 if ${gcc_cv_math_func_sqrtf+:} false
; then :
23029 $as_echo_n "(cached) " >&6
23031 if test x
$gcc_no_link = xyes
; then
23032 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23037 #ifdef HAVE_COMPLEX_H
23038 #include <complex.h>
23044 int (*ptr)() = (int (*)())sqrtf;
23053 if ac_fn_c_try_link
"$LINENO"; then :
23054 gcc_cv_math_func_sqrtf
=yes
23056 gcc_cv_math_func_sqrtf
=no
23058 rm -f core conftest.err conftest.
$ac_objext \
23059 conftest
$ac_exeext conftest.
$ac_ext
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
23062 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
23063 if test $gcc_cv_math_func_sqrtf = yes; then
23065 cat >>confdefs.h
<<_ACEOF
23066 #define HAVE_SQRTF 1
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
23075 $as_echo_n "checking for sqrt... " >&6; }
23076 if ${gcc_cv_math_func_sqrt+:} false
; then :
23077 $as_echo_n "(cached) " >&6
23079 if test x
$gcc_no_link = xyes
; then
23080 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23083 /* end confdefs.h. */
23085 #ifdef HAVE_COMPLEX_H
23086 #include <complex.h>
23092 int (*ptr)() = (int (*)())sqrt;
23101 if ac_fn_c_try_link
"$LINENO"; then :
23102 gcc_cv_math_func_sqrt
=yes
23104 gcc_cv_math_func_sqrt
=no
23106 rm -f core conftest.err conftest.
$ac_objext \
23107 conftest
$ac_exeext conftest.
$ac_ext
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23110 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23111 if test $gcc_cv_math_func_sqrt = yes; then
23113 cat >>confdefs.h
<<_ACEOF
23114 #define HAVE_SQRT 1
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23123 $as_echo_n "checking for sqrtl... " >&6; }
23124 if ${gcc_cv_math_func_sqrtl+:} false
; then :
23125 $as_echo_n "(cached) " >&6
23127 if test x
$gcc_no_link = xyes
; then
23128 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23131 /* end confdefs.h. */
23133 #ifdef HAVE_COMPLEX_H
23134 #include <complex.h>
23140 int (*ptr)() = (int (*)())sqrtl;
23149 if ac_fn_c_try_link
"$LINENO"; then :
23150 gcc_cv_math_func_sqrtl
=yes
23152 gcc_cv_math_func_sqrtl
=no
23154 rm -f core conftest.err conftest.
$ac_objext \
23155 conftest
$ac_exeext conftest.
$ac_ext
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23158 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23159 if test $gcc_cv_math_func_sqrtl = yes; then
23161 cat >>confdefs.h
<<_ACEOF
23162 #define HAVE_SQRTL 1
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23171 $as_echo_n "checking for csqrtf... " >&6; }
23172 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23173 $as_echo_n "(cached) " >&6
23175 if test x
$gcc_no_link = xyes
; then
23176 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23179 /* end confdefs.h. */
23181 #ifdef HAVE_COMPLEX_H
23182 #include <complex.h>
23188 int (*ptr)() = (int (*)())csqrtf;
23197 if ac_fn_c_try_link
"$LINENO"; then :
23198 gcc_cv_math_func_csqrtf
=yes
23200 gcc_cv_math_func_csqrtf
=no
23202 rm -f core conftest.err conftest.
$ac_objext \
23203 conftest
$ac_exeext conftest.
$ac_ext
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23206 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23207 if test $gcc_cv_math_func_csqrtf = yes; then
23209 cat >>confdefs.h
<<_ACEOF
23210 #define HAVE_CSQRTF 1
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23219 $as_echo_n "checking for csqrt... " >&6; }
23220 if ${gcc_cv_math_func_csqrt+:} false
; then :
23221 $as_echo_n "(cached) " >&6
23223 if test x
$gcc_no_link = xyes
; then
23224 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23227 /* end confdefs.h. */
23229 #ifdef HAVE_COMPLEX_H
23230 #include <complex.h>
23236 int (*ptr)() = (int (*)())csqrt;
23245 if ac_fn_c_try_link
"$LINENO"; then :
23246 gcc_cv_math_func_csqrt
=yes
23248 gcc_cv_math_func_csqrt
=no
23250 rm -f core conftest.err conftest.
$ac_objext \
23251 conftest
$ac_exeext conftest.
$ac_ext
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23254 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23255 if test $gcc_cv_math_func_csqrt = yes; then
23257 cat >>confdefs.h
<<_ACEOF
23258 #define HAVE_CSQRT 1
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23267 $as_echo_n "checking for csqrtl... " >&6; }
23268 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23269 $as_echo_n "(cached) " >&6
23271 if test x
$gcc_no_link = xyes
; then
23272 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23275 /* end confdefs.h. */
23277 #ifdef HAVE_COMPLEX_H
23278 #include <complex.h>
23284 int (*ptr)() = (int (*)())csqrtl;
23293 if ac_fn_c_try_link
"$LINENO"; then :
23294 gcc_cv_math_func_csqrtl
=yes
23296 gcc_cv_math_func_csqrtl
=no
23298 rm -f core conftest.err conftest.
$ac_objext \
23299 conftest
$ac_exeext conftest.
$ac_ext
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23302 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23303 if test $gcc_cv_math_func_csqrtl = yes; then
23305 cat >>confdefs.h
<<_ACEOF
23306 #define HAVE_CSQRTL 1
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23315 $as_echo_n "checking for tanf... " >&6; }
23316 if ${gcc_cv_math_func_tanf+:} false
; then :
23317 $as_echo_n "(cached) " >&6
23319 if test x
$gcc_no_link = xyes
; then
23320 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23323 /* end confdefs.h. */
23325 #ifdef HAVE_COMPLEX_H
23326 #include <complex.h>
23332 int (*ptr)() = (int (*)())tanf;
23341 if ac_fn_c_try_link
"$LINENO"; then :
23342 gcc_cv_math_func_tanf
=yes
23344 gcc_cv_math_func_tanf
=no
23346 rm -f core conftest.err conftest.
$ac_objext \
23347 conftest
$ac_exeext conftest.
$ac_ext
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23350 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23351 if test $gcc_cv_math_func_tanf = yes; then
23353 cat >>confdefs.h
<<_ACEOF
23354 #define HAVE_TANF 1
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23363 $as_echo_n "checking for tan... " >&6; }
23364 if ${gcc_cv_math_func_tan+:} false
; then :
23365 $as_echo_n "(cached) " >&6
23367 if test x
$gcc_no_link = xyes
; then
23368 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23371 /* end confdefs.h. */
23373 #ifdef HAVE_COMPLEX_H
23374 #include <complex.h>
23380 int (*ptr)() = (int (*)())tan;
23389 if ac_fn_c_try_link
"$LINENO"; then :
23390 gcc_cv_math_func_tan
=yes
23392 gcc_cv_math_func_tan
=no
23394 rm -f core conftest.err conftest.
$ac_objext \
23395 conftest
$ac_exeext conftest.
$ac_ext
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23398 $as_echo "$gcc_cv_math_func_tan" >&6; }
23399 if test $gcc_cv_math_func_tan = yes; then
23401 cat >>confdefs.h
<<_ACEOF
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23411 $as_echo_n "checking for tanl... " >&6; }
23412 if ${gcc_cv_math_func_tanl+:} false
; then :
23413 $as_echo_n "(cached) " >&6
23415 if test x
$gcc_no_link = xyes
; then
23416 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23419 /* end confdefs.h. */
23421 #ifdef HAVE_COMPLEX_H
23422 #include <complex.h>
23428 int (*ptr)() = (int (*)())tanl;
23437 if ac_fn_c_try_link
"$LINENO"; then :
23438 gcc_cv_math_func_tanl
=yes
23440 gcc_cv_math_func_tanl
=no
23442 rm -f core conftest.err conftest.
$ac_objext \
23443 conftest
$ac_exeext conftest.
$ac_ext
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23446 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23447 if test $gcc_cv_math_func_tanl = yes; then
23449 cat >>confdefs.h
<<_ACEOF
23450 #define HAVE_TANL 1
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23459 $as_echo_n "checking for ctanf... " >&6; }
23460 if ${gcc_cv_math_func_ctanf+:} false
; then :
23461 $as_echo_n "(cached) " >&6
23463 if test x
$gcc_no_link = xyes
; then
23464 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23469 #ifdef HAVE_COMPLEX_H
23470 #include <complex.h>
23476 int (*ptr)() = (int (*)())ctanf;
23485 if ac_fn_c_try_link
"$LINENO"; then :
23486 gcc_cv_math_func_ctanf
=yes
23488 gcc_cv_math_func_ctanf
=no
23490 rm -f core conftest.err conftest.
$ac_objext \
23491 conftest
$ac_exeext conftest.
$ac_ext
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23494 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23495 if test $gcc_cv_math_func_ctanf = yes; then
23497 cat >>confdefs.h
<<_ACEOF
23498 #define HAVE_CTANF 1
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23507 $as_echo_n "checking for ctan... " >&6; }
23508 if ${gcc_cv_math_func_ctan+:} false
; then :
23509 $as_echo_n "(cached) " >&6
23511 if test x
$gcc_no_link = xyes
; then
23512 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23517 #ifdef HAVE_COMPLEX_H
23518 #include <complex.h>
23524 int (*ptr)() = (int (*)())ctan;
23533 if ac_fn_c_try_link
"$LINENO"; then :
23534 gcc_cv_math_func_ctan
=yes
23536 gcc_cv_math_func_ctan
=no
23538 rm -f core conftest.err conftest.
$ac_objext \
23539 conftest
$ac_exeext conftest.
$ac_ext
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23542 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23543 if test $gcc_cv_math_func_ctan = yes; then
23545 cat >>confdefs.h
<<_ACEOF
23546 #define HAVE_CTAN 1
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23555 $as_echo_n "checking for ctanl... " >&6; }
23556 if ${gcc_cv_math_func_ctanl+:} false
; then :
23557 $as_echo_n "(cached) " >&6
23559 if test x
$gcc_no_link = xyes
; then
23560 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23563 /* end confdefs.h. */
23565 #ifdef HAVE_COMPLEX_H
23566 #include <complex.h>
23572 int (*ptr)() = (int (*)())ctanl;
23581 if ac_fn_c_try_link
"$LINENO"; then :
23582 gcc_cv_math_func_ctanl
=yes
23584 gcc_cv_math_func_ctanl
=no
23586 rm -f core conftest.err conftest.
$ac_objext \
23587 conftest
$ac_exeext conftest.
$ac_ext
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23590 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23591 if test $gcc_cv_math_func_ctanl = yes; then
23593 cat >>confdefs.h
<<_ACEOF
23594 #define HAVE_CTANL 1
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23603 $as_echo_n "checking for tanhf... " >&6; }
23604 if ${gcc_cv_math_func_tanhf+:} false
; then :
23605 $as_echo_n "(cached) " >&6
23607 if test x
$gcc_no_link = xyes
; then
23608 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h. */
23613 #ifdef HAVE_COMPLEX_H
23614 #include <complex.h>
23620 int (*ptr)() = (int (*)())tanhf;
23629 if ac_fn_c_try_link
"$LINENO"; then :
23630 gcc_cv_math_func_tanhf
=yes
23632 gcc_cv_math_func_tanhf
=no
23634 rm -f core conftest.err conftest.
$ac_objext \
23635 conftest
$ac_exeext conftest.
$ac_ext
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23638 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23639 if test $gcc_cv_math_func_tanhf = yes; then
23641 cat >>confdefs.h
<<_ACEOF
23642 #define HAVE_TANHF 1
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23651 $as_echo_n "checking for tanh... " >&6; }
23652 if ${gcc_cv_math_func_tanh+:} false
; then :
23653 $as_echo_n "(cached) " >&6
23655 if test x
$gcc_no_link = xyes
; then
23656 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h. */
23661 #ifdef HAVE_COMPLEX_H
23662 #include <complex.h>
23668 int (*ptr)() = (int (*)())tanh;
23677 if ac_fn_c_try_link
"$LINENO"; then :
23678 gcc_cv_math_func_tanh
=yes
23680 gcc_cv_math_func_tanh
=no
23682 rm -f core conftest.err conftest.
$ac_objext \
23683 conftest
$ac_exeext conftest.
$ac_ext
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23686 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23687 if test $gcc_cv_math_func_tanh = yes; then
23689 cat >>confdefs.h
<<_ACEOF
23690 #define HAVE_TANH 1
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23699 $as_echo_n "checking for tanhl... " >&6; }
23700 if ${gcc_cv_math_func_tanhl+:} false
; then :
23701 $as_echo_n "(cached) " >&6
23703 if test x
$gcc_no_link = xyes
; then
23704 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23707 /* end confdefs.h. */
23709 #ifdef HAVE_COMPLEX_H
23710 #include <complex.h>
23716 int (*ptr)() = (int (*)())tanhl;
23725 if ac_fn_c_try_link
"$LINENO"; then :
23726 gcc_cv_math_func_tanhl
=yes
23728 gcc_cv_math_func_tanhl
=no
23730 rm -f core conftest.err conftest.
$ac_objext \
23731 conftest
$ac_exeext conftest.
$ac_ext
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23734 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23735 if test $gcc_cv_math_func_tanhl = yes; then
23737 cat >>confdefs.h
<<_ACEOF
23738 #define HAVE_TANHL 1
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23747 $as_echo_n "checking for ctanhf... " >&6; }
23748 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23749 $as_echo_n "(cached) " >&6
23751 if test x
$gcc_no_link = xyes
; then
23752 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23755 /* end confdefs.h. */
23757 #ifdef HAVE_COMPLEX_H
23758 #include <complex.h>
23764 int (*ptr)() = (int (*)())ctanhf;
23773 if ac_fn_c_try_link
"$LINENO"; then :
23774 gcc_cv_math_func_ctanhf
=yes
23776 gcc_cv_math_func_ctanhf
=no
23778 rm -f core conftest.err conftest.
$ac_objext \
23779 conftest
$ac_exeext conftest.
$ac_ext
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23782 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23783 if test $gcc_cv_math_func_ctanhf = yes; then
23785 cat >>confdefs.h
<<_ACEOF
23786 #define HAVE_CTANHF 1
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23795 $as_echo_n "checking for ctanh... " >&6; }
23796 if ${gcc_cv_math_func_ctanh+:} false
; then :
23797 $as_echo_n "(cached) " >&6
23799 if test x
$gcc_no_link = xyes
; then
23800 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23803 /* end confdefs.h. */
23805 #ifdef HAVE_COMPLEX_H
23806 #include <complex.h>
23812 int (*ptr)() = (int (*)())ctanh;
23821 if ac_fn_c_try_link
"$LINENO"; then :
23822 gcc_cv_math_func_ctanh
=yes
23824 gcc_cv_math_func_ctanh
=no
23826 rm -f core conftest.err conftest.
$ac_objext \
23827 conftest
$ac_exeext conftest.
$ac_ext
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23830 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23831 if test $gcc_cv_math_func_ctanh = yes; then
23833 cat >>confdefs.h
<<_ACEOF
23834 #define HAVE_CTANH 1
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23843 $as_echo_n "checking for ctanhl... " >&6; }
23844 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23845 $as_echo_n "(cached) " >&6
23847 if test x
$gcc_no_link = xyes
; then
23848 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23853 #ifdef HAVE_COMPLEX_H
23854 #include <complex.h>
23860 int (*ptr)() = (int (*)())ctanhl;
23869 if ac_fn_c_try_link
"$LINENO"; then :
23870 gcc_cv_math_func_ctanhl
=yes
23872 gcc_cv_math_func_ctanhl
=no
23874 rm -f core conftest.err conftest.
$ac_objext \
23875 conftest
$ac_exeext conftest.
$ac_ext
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23878 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23879 if test $gcc_cv_math_func_ctanhl = yes; then
23881 cat >>confdefs.h
<<_ACEOF
23882 #define HAVE_CTANHL 1
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23891 $as_echo_n "checking for truncf... " >&6; }
23892 if ${gcc_cv_math_func_truncf+:} false
; then :
23893 $as_echo_n "(cached) " >&6
23895 if test x
$gcc_no_link = xyes
; then
23896 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23899 /* end confdefs.h. */
23901 #ifdef HAVE_COMPLEX_H
23902 #include <complex.h>
23908 int (*ptr)() = (int (*)())truncf;
23917 if ac_fn_c_try_link
"$LINENO"; then :
23918 gcc_cv_math_func_truncf
=yes
23920 gcc_cv_math_func_truncf
=no
23922 rm -f core conftest.err conftest.
$ac_objext \
23923 conftest
$ac_exeext conftest.
$ac_ext
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23926 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23927 if test $gcc_cv_math_func_truncf = yes; then
23929 cat >>confdefs.h
<<_ACEOF
23930 #define HAVE_TRUNCF 1
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23939 $as_echo_n "checking for trunc... " >&6; }
23940 if ${gcc_cv_math_func_trunc+:} false
; then :
23941 $as_echo_n "(cached) " >&6
23943 if test x
$gcc_no_link = xyes
; then
23944 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23947 /* end confdefs.h. */
23949 #ifdef HAVE_COMPLEX_H
23950 #include <complex.h>
23956 int (*ptr)() = (int (*)())trunc;
23965 if ac_fn_c_try_link
"$LINENO"; then :
23966 gcc_cv_math_func_trunc
=yes
23968 gcc_cv_math_func_trunc
=no
23970 rm -f core conftest.err conftest.
$ac_objext \
23971 conftest
$ac_exeext conftest.
$ac_ext
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23974 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23975 if test $gcc_cv_math_func_trunc = yes; then
23977 cat >>confdefs.h
<<_ACEOF
23978 #define HAVE_TRUNC 1
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23987 $as_echo_n "checking for truncl... " >&6; }
23988 if ${gcc_cv_math_func_truncl+:} false
; then :
23989 $as_echo_n "(cached) " >&6
23991 if test x
$gcc_no_link = xyes
; then
23992 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23995 /* end confdefs.h. */
23997 #ifdef HAVE_COMPLEX_H
23998 #include <complex.h>
24004 int (*ptr)() = (int (*)())truncl;
24013 if ac_fn_c_try_link
"$LINENO"; then :
24014 gcc_cv_math_func_truncl
=yes
24016 gcc_cv_math_func_truncl
=no
24018 rm -f core conftest.err conftest.
$ac_objext \
24019 conftest
$ac_exeext conftest.
$ac_ext
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
24022 $as_echo "$gcc_cv_math_func_truncl" >&6; }
24023 if test $gcc_cv_math_func_truncl = yes; then
24025 cat >>confdefs.h
<<_ACEOF
24026 #define HAVE_TRUNCL 1
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
24035 $as_echo_n "checking for erff... " >&6; }
24036 if ${gcc_cv_math_func_erff+:} false
; then :
24037 $as_echo_n "(cached) " >&6
24039 if test x
$gcc_no_link = xyes
; then
24040 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24043 /* end confdefs.h. */
24045 #ifdef HAVE_COMPLEX_H
24046 #include <complex.h>
24052 int (*ptr)() = (int (*)())erff;
24061 if ac_fn_c_try_link
"$LINENO"; then :
24062 gcc_cv_math_func_erff
=yes
24064 gcc_cv_math_func_erff
=no
24066 rm -f core conftest.err conftest.
$ac_objext \
24067 conftest
$ac_exeext conftest.
$ac_ext
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
24070 $as_echo "$gcc_cv_math_func_erff" >&6; }
24071 if test $gcc_cv_math_func_erff = yes; then
24073 cat >>confdefs.h
<<_ACEOF
24074 #define HAVE_ERFF 1
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
24083 $as_echo_n "checking for erf... " >&6; }
24084 if ${gcc_cv_math_func_erf+:} false
; then :
24085 $as_echo_n "(cached) " >&6
24087 if test x
$gcc_no_link = xyes
; then
24088 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24091 /* end confdefs.h. */
24093 #ifdef HAVE_COMPLEX_H
24094 #include <complex.h>
24100 int (*ptr)() = (int (*)())erf;
24109 if ac_fn_c_try_link
"$LINENO"; then :
24110 gcc_cv_math_func_erf
=yes
24112 gcc_cv_math_func_erf
=no
24114 rm -f core conftest.err conftest.
$ac_objext \
24115 conftest
$ac_exeext conftest.
$ac_ext
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24118 $as_echo "$gcc_cv_math_func_erf" >&6; }
24119 if test $gcc_cv_math_func_erf = yes; then
24121 cat >>confdefs.h
<<_ACEOF
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24131 $as_echo_n "checking for erfcf... " >&6; }
24132 if ${gcc_cv_math_func_erfcf+:} false
; then :
24133 $as_echo_n "(cached) " >&6
24135 if test x
$gcc_no_link = xyes
; then
24136 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24141 #ifdef HAVE_COMPLEX_H
24142 #include <complex.h>
24148 int (*ptr)() = (int (*)())erfcf;
24157 if ac_fn_c_try_link
"$LINENO"; then :
24158 gcc_cv_math_func_erfcf
=yes
24160 gcc_cv_math_func_erfcf
=no
24162 rm -f core conftest.err conftest.
$ac_objext \
24163 conftest
$ac_exeext conftest.
$ac_ext
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24166 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24167 if test $gcc_cv_math_func_erfcf = yes; then
24169 cat >>confdefs.h
<<_ACEOF
24170 #define HAVE_ERFCF 1
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24179 $as_echo_n "checking for erfc... " >&6; }
24180 if ${gcc_cv_math_func_erfc+:} false
; then :
24181 $as_echo_n "(cached) " >&6
24183 if test x
$gcc_no_link = xyes
; then
24184 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24189 #ifdef HAVE_COMPLEX_H
24190 #include <complex.h>
24196 int (*ptr)() = (int (*)())erfc;
24205 if ac_fn_c_try_link
"$LINENO"; then :
24206 gcc_cv_math_func_erfc
=yes
24208 gcc_cv_math_func_erfc
=no
24210 rm -f core conftest.err conftest.
$ac_objext \
24211 conftest
$ac_exeext conftest.
$ac_ext
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24214 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24215 if test $gcc_cv_math_func_erfc = yes; then
24217 cat >>confdefs.h
<<_ACEOF
24218 #define HAVE_ERFC 1
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24227 $as_echo_n "checking for erfcl... " >&6; }
24228 if ${gcc_cv_math_func_erfcl+:} false
; then :
24229 $as_echo_n "(cached) " >&6
24231 if test x
$gcc_no_link = xyes
; then
24232 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24235 /* end confdefs.h. */
24237 #ifdef HAVE_COMPLEX_H
24238 #include <complex.h>
24244 int (*ptr)() = (int (*)())erfcl;
24253 if ac_fn_c_try_link
"$LINENO"; then :
24254 gcc_cv_math_func_erfcl
=yes
24256 gcc_cv_math_func_erfcl
=no
24258 rm -f core conftest.err conftest.
$ac_objext \
24259 conftest
$ac_exeext conftest.
$ac_ext
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24262 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24263 if test $gcc_cv_math_func_erfcl = yes; then
24265 cat >>confdefs.h
<<_ACEOF
24266 #define HAVE_ERFCL 1
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24275 $as_echo_n "checking for j0f... " >&6; }
24276 if ${gcc_cv_math_func_j0f+:} false
; then :
24277 $as_echo_n "(cached) " >&6
24279 if test x
$gcc_no_link = xyes
; then
24280 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24283 /* end confdefs.h. */
24285 #ifdef HAVE_COMPLEX_H
24286 #include <complex.h>
24292 int (*ptr)() = (int (*)())j0f;
24301 if ac_fn_c_try_link
"$LINENO"; then :
24302 gcc_cv_math_func_j0f
=yes
24304 gcc_cv_math_func_j0f
=no
24306 rm -f core conftest.err conftest.
$ac_objext \
24307 conftest
$ac_exeext conftest.
$ac_ext
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24310 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24311 if test $gcc_cv_math_func_j0f = yes; then
24313 cat >>confdefs.h
<<_ACEOF
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24323 $as_echo_n "checking for j0... " >&6; }
24324 if ${gcc_cv_math_func_j0+:} false
; then :
24325 $as_echo_n "(cached) " >&6
24327 if test x
$gcc_no_link = xyes
; then
24328 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24331 /* end confdefs.h. */
24333 #ifdef HAVE_COMPLEX_H
24334 #include <complex.h>
24340 int (*ptr)() = (int (*)())j0;
24349 if ac_fn_c_try_link
"$LINENO"; then :
24350 gcc_cv_math_func_j0
=yes
24352 gcc_cv_math_func_j0
=no
24354 rm -f core conftest.err conftest.
$ac_objext \
24355 conftest
$ac_exeext conftest.
$ac_ext
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24358 $as_echo "$gcc_cv_math_func_j0" >&6; }
24359 if test $gcc_cv_math_func_j0 = yes; then
24361 cat >>confdefs.h
<<_ACEOF
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24371 $as_echo_n "checking for j1f... " >&6; }
24372 if ${gcc_cv_math_func_j1f+:} false
; then :
24373 $as_echo_n "(cached) " >&6
24375 if test x
$gcc_no_link = xyes
; then
24376 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24381 #ifdef HAVE_COMPLEX_H
24382 #include <complex.h>
24388 int (*ptr)() = (int (*)())j1f;
24397 if ac_fn_c_try_link
"$LINENO"; then :
24398 gcc_cv_math_func_j1f
=yes
24400 gcc_cv_math_func_j1f
=no
24402 rm -f core conftest.err conftest.
$ac_objext \
24403 conftest
$ac_exeext conftest.
$ac_ext
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24406 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24407 if test $gcc_cv_math_func_j1f = yes; then
24409 cat >>confdefs.h
<<_ACEOF
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24419 $as_echo_n "checking for j1... " >&6; }
24420 if ${gcc_cv_math_func_j1+:} false
; then :
24421 $as_echo_n "(cached) " >&6
24423 if test x
$gcc_no_link = xyes
; then
24424 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24427 /* end confdefs.h. */
24429 #ifdef HAVE_COMPLEX_H
24430 #include <complex.h>
24436 int (*ptr)() = (int (*)())j1;
24445 if ac_fn_c_try_link
"$LINENO"; then :
24446 gcc_cv_math_func_j1
=yes
24448 gcc_cv_math_func_j1
=no
24450 rm -f core conftest.err conftest.
$ac_objext \
24451 conftest
$ac_exeext conftest.
$ac_ext
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24454 $as_echo "$gcc_cv_math_func_j1" >&6; }
24455 if test $gcc_cv_math_func_j1 = yes; then
24457 cat >>confdefs.h
<<_ACEOF
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24467 $as_echo_n "checking for jnf... " >&6; }
24468 if ${gcc_cv_math_func_jnf+:} false
; then :
24469 $as_echo_n "(cached) " >&6
24471 if test x
$gcc_no_link = xyes
; then
24472 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24475 /* end confdefs.h. */
24477 #ifdef HAVE_COMPLEX_H
24478 #include <complex.h>
24484 int (*ptr)() = (int (*)())jnf;
24493 if ac_fn_c_try_link
"$LINENO"; then :
24494 gcc_cv_math_func_jnf
=yes
24496 gcc_cv_math_func_jnf
=no
24498 rm -f core conftest.err conftest.
$ac_objext \
24499 conftest
$ac_exeext conftest.
$ac_ext
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24502 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24503 if test $gcc_cv_math_func_jnf = yes; then
24505 cat >>confdefs.h
<<_ACEOF
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24515 $as_echo_n "checking for jn... " >&6; }
24516 if ${gcc_cv_math_func_jn+:} false
; then :
24517 $as_echo_n "(cached) " >&6
24519 if test x
$gcc_no_link = xyes
; then
24520 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24525 #ifdef HAVE_COMPLEX_H
24526 #include <complex.h>
24532 int (*ptr)() = (int (*)())jn;
24541 if ac_fn_c_try_link
"$LINENO"; then :
24542 gcc_cv_math_func_jn
=yes
24544 gcc_cv_math_func_jn
=no
24546 rm -f core conftest.err conftest.
$ac_objext \
24547 conftest
$ac_exeext conftest.
$ac_ext
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24550 $as_echo "$gcc_cv_math_func_jn" >&6; }
24551 if test $gcc_cv_math_func_jn = yes; then
24553 cat >>confdefs.h
<<_ACEOF
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24563 $as_echo_n "checking for jnl... " >&6; }
24564 if ${gcc_cv_math_func_jnl+:} false
; then :
24565 $as_echo_n "(cached) " >&6
24567 if test x
$gcc_no_link = xyes
; then
24568 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24571 /* end confdefs.h. */
24573 #ifdef HAVE_COMPLEX_H
24574 #include <complex.h>
24580 int (*ptr)() = (int (*)())jnl;
24589 if ac_fn_c_try_link
"$LINENO"; then :
24590 gcc_cv_math_func_jnl
=yes
24592 gcc_cv_math_func_jnl
=no
24594 rm -f core conftest.err conftest.
$ac_objext \
24595 conftest
$ac_exeext conftest.
$ac_ext
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24598 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24599 if test $gcc_cv_math_func_jnl = yes; then
24601 cat >>confdefs.h
<<_ACEOF
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24611 $as_echo_n "checking for y0f... " >&6; }
24612 if ${gcc_cv_math_func_y0f+:} false
; then :
24613 $as_echo_n "(cached) " >&6
24615 if test x
$gcc_no_link = xyes
; then
24616 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24619 /* end confdefs.h. */
24621 #ifdef HAVE_COMPLEX_H
24622 #include <complex.h>
24628 int (*ptr)() = (int (*)())y0f;
24637 if ac_fn_c_try_link
"$LINENO"; then :
24638 gcc_cv_math_func_y0f
=yes
24640 gcc_cv_math_func_y0f
=no
24642 rm -f core conftest.err conftest.
$ac_objext \
24643 conftest
$ac_exeext conftest.
$ac_ext
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24646 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24647 if test $gcc_cv_math_func_y0f = yes; then
24649 cat >>confdefs.h
<<_ACEOF
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24659 $as_echo_n "checking for y0... " >&6; }
24660 if ${gcc_cv_math_func_y0+:} false
; then :
24661 $as_echo_n "(cached) " >&6
24663 if test x
$gcc_no_link = xyes
; then
24664 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24667 /* end confdefs.h. */
24669 #ifdef HAVE_COMPLEX_H
24670 #include <complex.h>
24676 int (*ptr)() = (int (*)())y0;
24685 if ac_fn_c_try_link
"$LINENO"; then :
24686 gcc_cv_math_func_y0
=yes
24688 gcc_cv_math_func_y0
=no
24690 rm -f core conftest.err conftest.
$ac_objext \
24691 conftest
$ac_exeext conftest.
$ac_ext
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24694 $as_echo "$gcc_cv_math_func_y0" >&6; }
24695 if test $gcc_cv_math_func_y0 = yes; then
24697 cat >>confdefs.h
<<_ACEOF
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24707 $as_echo_n "checking for y1f... " >&6; }
24708 if ${gcc_cv_math_func_y1f+:} false
; then :
24709 $as_echo_n "(cached) " >&6
24711 if test x
$gcc_no_link = xyes
; then
24712 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24717 #ifdef HAVE_COMPLEX_H
24718 #include <complex.h>
24724 int (*ptr)() = (int (*)())y1f;
24733 if ac_fn_c_try_link
"$LINENO"; then :
24734 gcc_cv_math_func_y1f
=yes
24736 gcc_cv_math_func_y1f
=no
24738 rm -f core conftest.err conftest.
$ac_objext \
24739 conftest
$ac_exeext conftest.
$ac_ext
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24742 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24743 if test $gcc_cv_math_func_y1f = yes; then
24745 cat >>confdefs.h
<<_ACEOF
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24755 $as_echo_n "checking for y1... " >&6; }
24756 if ${gcc_cv_math_func_y1+:} false
; then :
24757 $as_echo_n "(cached) " >&6
24759 if test x
$gcc_no_link = xyes
; then
24760 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24765 #ifdef HAVE_COMPLEX_H
24766 #include <complex.h>
24772 int (*ptr)() = (int (*)())y1;
24781 if ac_fn_c_try_link
"$LINENO"; then :
24782 gcc_cv_math_func_y1
=yes
24784 gcc_cv_math_func_y1
=no
24786 rm -f core conftest.err conftest.
$ac_objext \
24787 conftest
$ac_exeext conftest.
$ac_ext
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24790 $as_echo "$gcc_cv_math_func_y1" >&6; }
24791 if test $gcc_cv_math_func_y1 = yes; then
24793 cat >>confdefs.h
<<_ACEOF
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24803 $as_echo_n "checking for ynf... " >&6; }
24804 if ${gcc_cv_math_func_ynf+:} false
; then :
24805 $as_echo_n "(cached) " >&6
24807 if test x
$gcc_no_link = xyes
; then
24808 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24813 #ifdef HAVE_COMPLEX_H
24814 #include <complex.h>
24820 int (*ptr)() = (int (*)())ynf;
24829 if ac_fn_c_try_link
"$LINENO"; then :
24830 gcc_cv_math_func_ynf
=yes
24832 gcc_cv_math_func_ynf
=no
24834 rm -f core conftest.err conftest.
$ac_objext \
24835 conftest
$ac_exeext conftest.
$ac_ext
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24838 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24839 if test $gcc_cv_math_func_ynf = yes; then
24841 cat >>confdefs.h
<<_ACEOF
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24851 $as_echo_n "checking for yn... " >&6; }
24852 if ${gcc_cv_math_func_yn+:} false
; then :
24853 $as_echo_n "(cached) " >&6
24855 if test x
$gcc_no_link = xyes
; then
24856 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24859 /* end confdefs.h. */
24861 #ifdef HAVE_COMPLEX_H
24862 #include <complex.h>
24868 int (*ptr)() = (int (*)())yn;
24877 if ac_fn_c_try_link
"$LINENO"; then :
24878 gcc_cv_math_func_yn
=yes
24880 gcc_cv_math_func_yn
=no
24882 rm -f core conftest.err conftest.
$ac_objext \
24883 conftest
$ac_exeext conftest.
$ac_ext
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24886 $as_echo "$gcc_cv_math_func_yn" >&6; }
24887 if test $gcc_cv_math_func_yn = yes; then
24889 cat >>confdefs.h
<<_ACEOF
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24899 $as_echo_n "checking for ynl... " >&6; }
24900 if ${gcc_cv_math_func_ynl+:} false
; then :
24901 $as_echo_n "(cached) " >&6
24903 if test x
$gcc_no_link = xyes
; then
24904 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24909 #ifdef HAVE_COMPLEX_H
24910 #include <complex.h>
24916 int (*ptr)() = (int (*)())ynl;
24925 if ac_fn_c_try_link
"$LINENO"; then :
24926 gcc_cv_math_func_ynl
=yes
24928 gcc_cv_math_func_ynl
=no
24930 rm -f core conftest.err conftest.
$ac_objext \
24931 conftest
$ac_exeext conftest.
$ac_ext
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24934 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24935 if test $gcc_cv_math_func_ynl = yes; then
24937 cat >>confdefs.h
<<_ACEOF
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24947 $as_echo_n "checking for tgamma... " >&6; }
24948 if ${gcc_cv_math_func_tgamma+:} false
; then :
24949 $as_echo_n "(cached) " >&6
24951 if test x
$gcc_no_link = xyes
; then
24952 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24955 /* end confdefs.h. */
24957 #ifdef HAVE_COMPLEX_H
24958 #include <complex.h>
24964 int (*ptr)() = (int (*)())tgamma;
24973 if ac_fn_c_try_link
"$LINENO"; then :
24974 gcc_cv_math_func_tgamma
=yes
24976 gcc_cv_math_func_tgamma
=no
24978 rm -f core conftest.err conftest.
$ac_objext \
24979 conftest
$ac_exeext conftest.
$ac_ext
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24982 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24983 if test $gcc_cv_math_func_tgamma = yes; then
24985 cat >>confdefs.h
<<_ACEOF
24986 #define HAVE_TGAMMA 1
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24995 $as_echo_n "checking for tgammaf... " >&6; }
24996 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24997 $as_echo_n "(cached) " >&6
24999 if test x
$gcc_no_link = xyes
; then
25000 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h. */
25005 #ifdef HAVE_COMPLEX_H
25006 #include <complex.h>
25012 int (*ptr)() = (int (*)())tgammaf;
25021 if ac_fn_c_try_link
"$LINENO"; then :
25022 gcc_cv_math_func_tgammaf
=yes
25024 gcc_cv_math_func_tgammaf
=no
25026 rm -f core conftest.err conftest.
$ac_objext \
25027 conftest
$ac_exeext conftest.
$ac_ext
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
25030 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
25031 if test $gcc_cv_math_func_tgammaf = yes; then
25033 cat >>confdefs.h
<<_ACEOF
25034 #define HAVE_TGAMMAF 1
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
25043 $as_echo_n "checking for lgamma... " >&6; }
25044 if ${gcc_cv_math_func_lgamma+:} false
; then :
25045 $as_echo_n "(cached) " >&6
25047 if test x
$gcc_no_link = xyes
; then
25048 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25053 #ifdef HAVE_COMPLEX_H
25054 #include <complex.h>
25060 int (*ptr)() = (int (*)())lgamma;
25069 if ac_fn_c_try_link
"$LINENO"; then :
25070 gcc_cv_math_func_lgamma
=yes
25072 gcc_cv_math_func_lgamma
=no
25074 rm -f core conftest.err conftest.
$ac_objext \
25075 conftest
$ac_exeext conftest.
$ac_ext
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
25078 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
25079 if test $gcc_cv_math_func_lgamma = yes; then
25081 cat >>confdefs.h
<<_ACEOF
25082 #define HAVE_LGAMMA 1
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
25091 $as_echo_n "checking for lgammaf... " >&6; }
25092 if ${gcc_cv_math_func_lgammaf+:} false
; then :
25093 $as_echo_n "(cached) " >&6
25095 if test x
$gcc_no_link = xyes
; then
25096 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25101 #ifdef HAVE_COMPLEX_H
25102 #include <complex.h>
25108 int (*ptr)() = (int (*)())lgammaf;
25117 if ac_fn_c_try_link
"$LINENO"; then :
25118 gcc_cv_math_func_lgammaf
=yes
25120 gcc_cv_math_func_lgammaf
=no
25122 rm -f core conftest.err conftest.
$ac_objext \
25123 conftest
$ac_exeext conftest.
$ac_ext
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25126 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25127 if test $gcc_cv_math_func_lgammaf = yes; then
25129 cat >>confdefs.h
<<_ACEOF
25130 #define HAVE_LGAMMAF 1
25136 # Check for GFORTRAN_C99_1.1 funcs
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25141 $as_echo_n "checking for cacos... " >&6; }
25142 if ${gcc_cv_math_func_cacos+:} false
; then :
25143 $as_echo_n "(cached) " >&6
25145 if test x
$gcc_no_link = xyes
; then
25146 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25151 #ifdef HAVE_COMPLEX_H
25152 #include <complex.h>
25158 int (*ptr)() = (int (*)())cacos;
25167 if ac_fn_c_try_link
"$LINENO"; then :
25168 gcc_cv_math_func_cacos
=yes
25170 gcc_cv_math_func_cacos
=no
25172 rm -f core conftest.err conftest.
$ac_objext \
25173 conftest
$ac_exeext conftest.
$ac_ext
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25176 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25177 if test $gcc_cv_math_func_cacos = yes; then
25179 cat >>confdefs.h
<<_ACEOF
25180 #define HAVE_CACOS 1
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25189 $as_echo_n "checking for cacosf... " >&6; }
25190 if ${gcc_cv_math_func_cacosf+:} false
; then :
25191 $as_echo_n "(cached) " >&6
25193 if test x
$gcc_no_link = xyes
; then
25194 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25199 #ifdef HAVE_COMPLEX_H
25200 #include <complex.h>
25206 int (*ptr)() = (int (*)())cacosf;
25215 if ac_fn_c_try_link
"$LINENO"; then :
25216 gcc_cv_math_func_cacosf
=yes
25218 gcc_cv_math_func_cacosf
=no
25220 rm -f core conftest.err conftest.
$ac_objext \
25221 conftest
$ac_exeext conftest.
$ac_ext
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25224 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25225 if test $gcc_cv_math_func_cacosf = yes; then
25227 cat >>confdefs.h
<<_ACEOF
25228 #define HAVE_CACOSF 1
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25237 $as_echo_n "checking for cacosh... " >&6; }
25238 if ${gcc_cv_math_func_cacosh+:} false
; then :
25239 $as_echo_n "(cached) " >&6
25241 if test x
$gcc_no_link = xyes
; then
25242 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25247 #ifdef HAVE_COMPLEX_H
25248 #include <complex.h>
25254 int (*ptr)() = (int (*)())cacosh;
25263 if ac_fn_c_try_link
"$LINENO"; then :
25264 gcc_cv_math_func_cacosh
=yes
25266 gcc_cv_math_func_cacosh
=no
25268 rm -f core conftest.err conftest.
$ac_objext \
25269 conftest
$ac_exeext conftest.
$ac_ext
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25272 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25273 if test $gcc_cv_math_func_cacosh = yes; then
25275 cat >>confdefs.h
<<_ACEOF
25276 #define HAVE_CACOSH 1
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25285 $as_echo_n "checking for cacoshf... " >&6; }
25286 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25287 $as_echo_n "(cached) " >&6
25289 if test x
$gcc_no_link = xyes
; then
25290 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25295 #ifdef HAVE_COMPLEX_H
25296 #include <complex.h>
25302 int (*ptr)() = (int (*)())cacoshf;
25311 if ac_fn_c_try_link
"$LINENO"; then :
25312 gcc_cv_math_func_cacoshf
=yes
25314 gcc_cv_math_func_cacoshf
=no
25316 rm -f core conftest.err conftest.
$ac_objext \
25317 conftest
$ac_exeext conftest.
$ac_ext
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25320 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25321 if test $gcc_cv_math_func_cacoshf = yes; then
25323 cat >>confdefs.h
<<_ACEOF
25324 #define HAVE_CACOSHF 1
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25333 $as_echo_n "checking for cacoshl... " >&6; }
25334 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25335 $as_echo_n "(cached) " >&6
25337 if test x
$gcc_no_link = xyes
; then
25338 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25341 /* end confdefs.h. */
25343 #ifdef HAVE_COMPLEX_H
25344 #include <complex.h>
25350 int (*ptr)() = (int (*)())cacoshl;
25359 if ac_fn_c_try_link
"$LINENO"; then :
25360 gcc_cv_math_func_cacoshl
=yes
25362 gcc_cv_math_func_cacoshl
=no
25364 rm -f core conftest.err conftest.
$ac_objext \
25365 conftest
$ac_exeext conftest.
$ac_ext
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25368 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25369 if test $gcc_cv_math_func_cacoshl = yes; then
25371 cat >>confdefs.h
<<_ACEOF
25372 #define HAVE_CACOSHL 1
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25381 $as_echo_n "checking for cacosl... " >&6; }
25382 if ${gcc_cv_math_func_cacosl+:} false
; then :
25383 $as_echo_n "(cached) " >&6
25385 if test x
$gcc_no_link = xyes
; then
25386 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25391 #ifdef HAVE_COMPLEX_H
25392 #include <complex.h>
25398 int (*ptr)() = (int (*)())cacosl;
25407 if ac_fn_c_try_link
"$LINENO"; then :
25408 gcc_cv_math_func_cacosl
=yes
25410 gcc_cv_math_func_cacosl
=no
25412 rm -f core conftest.err conftest.
$ac_objext \
25413 conftest
$ac_exeext conftest.
$ac_ext
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25416 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25417 if test $gcc_cv_math_func_cacosl = yes; then
25419 cat >>confdefs.h
<<_ACEOF
25420 #define HAVE_CACOSL 1
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25429 $as_echo_n "checking for casin... " >&6; }
25430 if ${gcc_cv_math_func_casin+:} false
; then :
25431 $as_echo_n "(cached) " >&6
25433 if test x
$gcc_no_link = xyes
; then
25434 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25439 #ifdef HAVE_COMPLEX_H
25440 #include <complex.h>
25446 int (*ptr)() = (int (*)())casin;
25455 if ac_fn_c_try_link
"$LINENO"; then :
25456 gcc_cv_math_func_casin
=yes
25458 gcc_cv_math_func_casin
=no
25460 rm -f core conftest.err conftest.
$ac_objext \
25461 conftest
$ac_exeext conftest.
$ac_ext
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25464 $as_echo "$gcc_cv_math_func_casin" >&6; }
25465 if test $gcc_cv_math_func_casin = yes; then
25467 cat >>confdefs.h
<<_ACEOF
25468 #define HAVE_CASIN 1
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25477 $as_echo_n "checking for casinf... " >&6; }
25478 if ${gcc_cv_math_func_casinf+:} false
; then :
25479 $as_echo_n "(cached) " >&6
25481 if test x
$gcc_no_link = xyes
; then
25482 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25485 /* end confdefs.h. */
25487 #ifdef HAVE_COMPLEX_H
25488 #include <complex.h>
25494 int (*ptr)() = (int (*)())casinf;
25503 if ac_fn_c_try_link
"$LINENO"; then :
25504 gcc_cv_math_func_casinf
=yes
25506 gcc_cv_math_func_casinf
=no
25508 rm -f core conftest.err conftest.
$ac_objext \
25509 conftest
$ac_exeext conftest.
$ac_ext
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25512 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25513 if test $gcc_cv_math_func_casinf = yes; then
25515 cat >>confdefs.h
<<_ACEOF
25516 #define HAVE_CASINF 1
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25525 $as_echo_n "checking for casinh... " >&6; }
25526 if ${gcc_cv_math_func_casinh+:} false
; then :
25527 $as_echo_n "(cached) " >&6
25529 if test x
$gcc_no_link = xyes
; then
25530 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25533 /* end confdefs.h. */
25535 #ifdef HAVE_COMPLEX_H
25536 #include <complex.h>
25542 int (*ptr)() = (int (*)())casinh;
25551 if ac_fn_c_try_link
"$LINENO"; then :
25552 gcc_cv_math_func_casinh
=yes
25554 gcc_cv_math_func_casinh
=no
25556 rm -f core conftest.err conftest.
$ac_objext \
25557 conftest
$ac_exeext conftest.
$ac_ext
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25560 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25561 if test $gcc_cv_math_func_casinh = yes; then
25563 cat >>confdefs.h
<<_ACEOF
25564 #define HAVE_CASINH 1
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25573 $as_echo_n "checking for casinhf... " >&6; }
25574 if ${gcc_cv_math_func_casinhf+:} false
; then :
25575 $as_echo_n "(cached) " >&6
25577 if test x
$gcc_no_link = xyes
; then
25578 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25581 /* end confdefs.h. */
25583 #ifdef HAVE_COMPLEX_H
25584 #include <complex.h>
25590 int (*ptr)() = (int (*)())casinhf;
25599 if ac_fn_c_try_link
"$LINENO"; then :
25600 gcc_cv_math_func_casinhf
=yes
25602 gcc_cv_math_func_casinhf
=no
25604 rm -f core conftest.err conftest.
$ac_objext \
25605 conftest
$ac_exeext conftest.
$ac_ext
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25608 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25609 if test $gcc_cv_math_func_casinhf = yes; then
25611 cat >>confdefs.h
<<_ACEOF
25612 #define HAVE_CASINHF 1
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25621 $as_echo_n "checking for casinhl... " >&6; }
25622 if ${gcc_cv_math_func_casinhl+:} false
; then :
25623 $as_echo_n "(cached) " >&6
25625 if test x
$gcc_no_link = xyes
; then
25626 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25631 #ifdef HAVE_COMPLEX_H
25632 #include <complex.h>
25638 int (*ptr)() = (int (*)())casinhl;
25647 if ac_fn_c_try_link
"$LINENO"; then :
25648 gcc_cv_math_func_casinhl
=yes
25650 gcc_cv_math_func_casinhl
=no
25652 rm -f core conftest.err conftest.
$ac_objext \
25653 conftest
$ac_exeext conftest.
$ac_ext
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25656 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25657 if test $gcc_cv_math_func_casinhl = yes; then
25659 cat >>confdefs.h
<<_ACEOF
25660 #define HAVE_CASINHL 1
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25669 $as_echo_n "checking for casinl... " >&6; }
25670 if ${gcc_cv_math_func_casinl+:} false
; then :
25671 $as_echo_n "(cached) " >&6
25673 if test x
$gcc_no_link = xyes
; then
25674 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25677 /* end confdefs.h. */
25679 #ifdef HAVE_COMPLEX_H
25680 #include <complex.h>
25686 int (*ptr)() = (int (*)())casinl;
25695 if ac_fn_c_try_link
"$LINENO"; then :
25696 gcc_cv_math_func_casinl
=yes
25698 gcc_cv_math_func_casinl
=no
25700 rm -f core conftest.err conftest.
$ac_objext \
25701 conftest
$ac_exeext conftest.
$ac_ext
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25704 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25705 if test $gcc_cv_math_func_casinl = yes; then
25707 cat >>confdefs.h
<<_ACEOF
25708 #define HAVE_CASINL 1
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25717 $as_echo_n "checking for catan... " >&6; }
25718 if ${gcc_cv_math_func_catan+:} false
; then :
25719 $as_echo_n "(cached) " >&6
25721 if test x
$gcc_no_link = xyes
; then
25722 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25725 /* end confdefs.h. */
25727 #ifdef HAVE_COMPLEX_H
25728 #include <complex.h>
25734 int (*ptr)() = (int (*)())catan;
25743 if ac_fn_c_try_link
"$LINENO"; then :
25744 gcc_cv_math_func_catan
=yes
25746 gcc_cv_math_func_catan
=no
25748 rm -f core conftest.err conftest.
$ac_objext \
25749 conftest
$ac_exeext conftest.
$ac_ext
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25752 $as_echo "$gcc_cv_math_func_catan" >&6; }
25753 if test $gcc_cv_math_func_catan = yes; then
25755 cat >>confdefs.h
<<_ACEOF
25756 #define HAVE_CATAN 1
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25765 $as_echo_n "checking for catanf... " >&6; }
25766 if ${gcc_cv_math_func_catanf+:} false
; then :
25767 $as_echo_n "(cached) " >&6
25769 if test x
$gcc_no_link = xyes
; then
25770 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25775 #ifdef HAVE_COMPLEX_H
25776 #include <complex.h>
25782 int (*ptr)() = (int (*)())catanf;
25791 if ac_fn_c_try_link
"$LINENO"; then :
25792 gcc_cv_math_func_catanf
=yes
25794 gcc_cv_math_func_catanf
=no
25796 rm -f core conftest.err conftest.
$ac_objext \
25797 conftest
$ac_exeext conftest.
$ac_ext
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25800 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25801 if test $gcc_cv_math_func_catanf = yes; then
25803 cat >>confdefs.h
<<_ACEOF
25804 #define HAVE_CATANF 1
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25813 $as_echo_n "checking for catanh... " >&6; }
25814 if ${gcc_cv_math_func_catanh+:} false
; then :
25815 $as_echo_n "(cached) " >&6
25817 if test x
$gcc_no_link = xyes
; then
25818 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25823 #ifdef HAVE_COMPLEX_H
25824 #include <complex.h>
25830 int (*ptr)() = (int (*)())catanh;
25839 if ac_fn_c_try_link
"$LINENO"; then :
25840 gcc_cv_math_func_catanh
=yes
25842 gcc_cv_math_func_catanh
=no
25844 rm -f core conftest.err conftest.
$ac_objext \
25845 conftest
$ac_exeext conftest.
$ac_ext
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25848 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25849 if test $gcc_cv_math_func_catanh = yes; then
25851 cat >>confdefs.h
<<_ACEOF
25852 #define HAVE_CATANH 1
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25861 $as_echo_n "checking for catanhf... " >&6; }
25862 if ${gcc_cv_math_func_catanhf+:} false
; then :
25863 $as_echo_n "(cached) " >&6
25865 if test x
$gcc_no_link = xyes
; then
25866 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25871 #ifdef HAVE_COMPLEX_H
25872 #include <complex.h>
25878 int (*ptr)() = (int (*)())catanhf;
25887 if ac_fn_c_try_link
"$LINENO"; then :
25888 gcc_cv_math_func_catanhf
=yes
25890 gcc_cv_math_func_catanhf
=no
25892 rm -f core conftest.err conftest.
$ac_objext \
25893 conftest
$ac_exeext conftest.
$ac_ext
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25896 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25897 if test $gcc_cv_math_func_catanhf = yes; then
25899 cat >>confdefs.h
<<_ACEOF
25900 #define HAVE_CATANHF 1
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25909 $as_echo_n "checking for catanhl... " >&6; }
25910 if ${gcc_cv_math_func_catanhl+:} false
; then :
25911 $as_echo_n "(cached) " >&6
25913 if test x
$gcc_no_link = xyes
; then
25914 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25917 /* end confdefs.h. */
25919 #ifdef HAVE_COMPLEX_H
25920 #include <complex.h>
25926 int (*ptr)() = (int (*)())catanhl;
25935 if ac_fn_c_try_link
"$LINENO"; then :
25936 gcc_cv_math_func_catanhl
=yes
25938 gcc_cv_math_func_catanhl
=no
25940 rm -f core conftest.err conftest.
$ac_objext \
25941 conftest
$ac_exeext conftest.
$ac_ext
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25944 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25945 if test $gcc_cv_math_func_catanhl = yes; then
25947 cat >>confdefs.h
<<_ACEOF
25948 #define HAVE_CATANHL 1
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25957 $as_echo_n "checking for catanl... " >&6; }
25958 if ${gcc_cv_math_func_catanl+:} false
; then :
25959 $as_echo_n "(cached) " >&6
25961 if test x
$gcc_no_link = xyes
; then
25962 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25965 /* end confdefs.h. */
25967 #ifdef HAVE_COMPLEX_H
25968 #include <complex.h>
25974 int (*ptr)() = (int (*)())catanl;
25983 if ac_fn_c_try_link
"$LINENO"; then :
25984 gcc_cv_math_func_catanl
=yes
25986 gcc_cv_math_func_catanl
=no
25988 rm -f core conftest.err conftest.
$ac_objext \
25989 conftest
$ac_exeext conftest.
$ac_ext
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25992 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25993 if test $gcc_cv_math_func_catanl = yes; then
25995 cat >>confdefs.h
<<_ACEOF
25996 #define HAVE_CATANL 1
26002 # For POWER, check the ieee128 math functions
26004 if test "x$have_real_17" = "xyes"; then
26006 cat >>confdefs.h
<<_ACEOF
26007 #define HAVE_REAL_17 1
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
26015 $as_echo_n "checking for __acoshieee128... " >&6; }
26016 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
26017 $as_echo_n "(cached) " >&6
26019 if test x
$gcc_no_link = xyes
; then
26020 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26023 /* end confdefs.h. */
26025 _Float128 __acoshieee128 (_Float128);
26026 _Float128 (*ptr)(_Float128) = __acoshieee128;
26035 if ac_fn_c_try_link
"$LINENO"; then :
26036 gcc_cv_math_func___acoshieee128
=yes
26038 gcc_cv_math_func___acoshieee128
=no
26040 rm -f core conftest.err conftest.
$ac_objext \
26041 conftest
$ac_exeext conftest.
$ac_ext
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
26044 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
26045 if test $gcc_cv_math_func___acoshieee128 = yes; then
26047 cat >>confdefs.h
<<_ACEOF
26048 #define HAVE___ACOSHIEEE128 1
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
26057 $as_echo_n "checking for __acosieee128... " >&6; }
26058 if ${gcc_cv_math_func___acosieee128+:} false
; then :
26059 $as_echo_n "(cached) " >&6
26061 if test x
$gcc_no_link = xyes
; then
26062 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26065 /* end confdefs.h. */
26067 _Float128 __acosieee128 (_Float128);
26068 _Float128 (*ptr)(_Float128) = __acosieee128;
26077 if ac_fn_c_try_link
"$LINENO"; then :
26078 gcc_cv_math_func___acosieee128
=yes
26080 gcc_cv_math_func___acosieee128
=no
26082 rm -f core conftest.err conftest.
$ac_objext \
26083 conftest
$ac_exeext conftest.
$ac_ext
26085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
26086 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
26087 if test $gcc_cv_math_func___acosieee128 = yes; then
26089 cat >>confdefs.h
<<_ACEOF
26090 #define HAVE___ACOSIEEE128 1
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
26099 $as_echo_n "checking for __asinhieee128... " >&6; }
26100 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
26101 $as_echo_n "(cached) " >&6
26103 if test x
$gcc_no_link = xyes
; then
26104 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26109 _Float128 __asinhieee128 (_Float128);
26110 _Float128 (*ptr)(_Float128) = __asinhieee128;
26119 if ac_fn_c_try_link
"$LINENO"; then :
26120 gcc_cv_math_func___asinhieee128
=yes
26122 gcc_cv_math_func___asinhieee128
=no
26124 rm -f core conftest.err conftest.
$ac_objext \
26125 conftest
$ac_exeext conftest.
$ac_ext
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26128 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26129 if test $gcc_cv_math_func___asinhieee128 = yes; then
26131 cat >>confdefs.h
<<_ACEOF
26132 #define HAVE___ASINHIEEE128 1
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26141 $as_echo_n "checking for __asinieee128... " >&6; }
26142 if ${gcc_cv_math_func___asinieee128+:} false
; then :
26143 $as_echo_n "(cached) " >&6
26145 if test x
$gcc_no_link = xyes
; then
26146 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26149 /* end confdefs.h. */
26151 _Float128 __asinieee128 (_Float128);
26152 _Float128 (*ptr)(_Float128) = __asinieee128;
26161 if ac_fn_c_try_link
"$LINENO"; then :
26162 gcc_cv_math_func___asinieee128
=yes
26164 gcc_cv_math_func___asinieee128
=no
26166 rm -f core conftest.err conftest.
$ac_objext \
26167 conftest
$ac_exeext conftest.
$ac_ext
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26170 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26171 if test $gcc_cv_math_func___asinieee128 = yes; then
26173 cat >>confdefs.h
<<_ACEOF
26174 #define HAVE___ASINIEEE128 1
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26183 $as_echo_n "checking for __atan2ieee128... " >&6; }
26184 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26185 $as_echo_n "(cached) " >&6
26187 if test x
$gcc_no_link = xyes
; then
26188 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h. */
26193 _Float128 __atan2ieee128 (_Float128);
26194 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26203 if ac_fn_c_try_link
"$LINENO"; then :
26204 gcc_cv_math_func___atan2ieee128
=yes
26206 gcc_cv_math_func___atan2ieee128
=no
26208 rm -f core conftest.err conftest.
$ac_objext \
26209 conftest
$ac_exeext conftest.
$ac_ext
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26212 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26213 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26215 cat >>confdefs.h
<<_ACEOF
26216 #define HAVE___ATAN2IEEE128 1
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26225 $as_echo_n "checking for __atanhieee128... " >&6; }
26226 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26227 $as_echo_n "(cached) " >&6
26229 if test x
$gcc_no_link = xyes
; then
26230 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26235 _Float128 __atanhieee128 (_Float128);
26236 _Float128 (*ptr)(_Float128) = __atanhieee128;
26245 if ac_fn_c_try_link
"$LINENO"; then :
26246 gcc_cv_math_func___atanhieee128
=yes
26248 gcc_cv_math_func___atanhieee128
=no
26250 rm -f core conftest.err conftest.
$ac_objext \
26251 conftest
$ac_exeext conftest.
$ac_ext
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26254 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26255 if test $gcc_cv_math_func___atanhieee128 = yes; then
26257 cat >>confdefs.h
<<_ACEOF
26258 #define HAVE___ATANHIEEE128 1
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26267 $as_echo_n "checking for __atanieee128... " >&6; }
26268 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26269 $as_echo_n "(cached) " >&6
26271 if test x
$gcc_no_link = xyes
; then
26272 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26275 /* end confdefs.h. */
26277 _Float128 __atanieee128 (_Float128);
26278 _Float128 (*ptr)(_Float128) = __atanieee128;
26287 if ac_fn_c_try_link
"$LINENO"; then :
26288 gcc_cv_math_func___atanieee128
=yes
26290 gcc_cv_math_func___atanieee128
=no
26292 rm -f core conftest.err conftest.
$ac_objext \
26293 conftest
$ac_exeext conftest.
$ac_ext
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26296 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26297 if test $gcc_cv_math_func___atanieee128 = yes; then
26299 cat >>confdefs.h
<<_ACEOF
26300 #define HAVE___ATANIEEE128 1
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26309 $as_echo_n "checking for __coshieee128... " >&6; }
26310 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26311 $as_echo_n "(cached) " >&6
26313 if test x
$gcc_no_link = xyes
; then
26314 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26317 /* end confdefs.h. */
26319 _Float128 __coshieee128 (_Float128);
26320 _Float128 (*ptr)(_Float128) = __coshieee128;
26329 if ac_fn_c_try_link
"$LINENO"; then :
26330 gcc_cv_math_func___coshieee128
=yes
26332 gcc_cv_math_func___coshieee128
=no
26334 rm -f core conftest.err conftest.
$ac_objext \
26335 conftest
$ac_exeext conftest.
$ac_ext
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26338 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26339 if test $gcc_cv_math_func___coshieee128 = yes; then
26341 cat >>confdefs.h
<<_ACEOF
26342 #define HAVE___COSHIEEE128 1
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26351 $as_echo_n "checking for __cosieee128... " >&6; }
26352 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26353 $as_echo_n "(cached) " >&6
26355 if test x
$gcc_no_link = xyes
; then
26356 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26361 _Float128 __cosieee128 (_Float128);
26362 _Float128 (*ptr)(_Float128) = __cosieee128;
26371 if ac_fn_c_try_link
"$LINENO"; then :
26372 gcc_cv_math_func___cosieee128
=yes
26374 gcc_cv_math_func___cosieee128
=no
26376 rm -f core conftest.err conftest.
$ac_objext \
26377 conftest
$ac_exeext conftest.
$ac_ext
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26380 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26381 if test $gcc_cv_math_func___cosieee128 = yes; then
26383 cat >>confdefs.h
<<_ACEOF
26384 #define HAVE___COSIEEE128 1
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26393 $as_echo_n "checking for __erfieee128... " >&6; }
26394 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26395 $as_echo_n "(cached) " >&6
26397 if test x
$gcc_no_link = xyes
; then
26398 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26403 _Float128 __erfieee128 (_Float128);
26404 _Float128 (*ptr)(_Float128) = __erfieee128;
26413 if ac_fn_c_try_link
"$LINENO"; then :
26414 gcc_cv_math_func___erfieee128
=yes
26416 gcc_cv_math_func___erfieee128
=no
26418 rm -f core conftest.err conftest.
$ac_objext \
26419 conftest
$ac_exeext conftest.
$ac_ext
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26422 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26423 if test $gcc_cv_math_func___erfieee128 = yes; then
26425 cat >>confdefs.h
<<_ACEOF
26426 #define HAVE___ERFIEEE128 1
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26435 $as_echo_n "checking for __expieee128... " >&6; }
26436 if ${gcc_cv_math_func___expieee128+:} false
; then :
26437 $as_echo_n "(cached) " >&6
26439 if test x
$gcc_no_link = xyes
; then
26440 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26445 _Float128 __expieee128 (_Float128);
26446 _Float128 (*ptr)(_Float128) = __expieee128;
26455 if ac_fn_c_try_link
"$LINENO"; then :
26456 gcc_cv_math_func___expieee128
=yes
26458 gcc_cv_math_func___expieee128
=no
26460 rm -f core conftest.err conftest.
$ac_objext \
26461 conftest
$ac_exeext conftest.
$ac_ext
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26464 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26465 if test $gcc_cv_math_func___expieee128 = yes; then
26467 cat >>confdefs.h
<<_ACEOF
26468 #define HAVE___EXPIEEE128 1
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26477 $as_echo_n "checking for __fabsieee128... " >&6; }
26478 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26479 $as_echo_n "(cached) " >&6
26481 if test x
$gcc_no_link = xyes
; then
26482 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26485 /* end confdefs.h. */
26487 _Float128 __fabsieee128 (_Float128);
26488 _Float128 (*ptr)(_Float128) = __fabsieee128;
26497 if ac_fn_c_try_link
"$LINENO"; then :
26498 gcc_cv_math_func___fabsieee128
=yes
26500 gcc_cv_math_func___fabsieee128
=no
26502 rm -f core conftest.err conftest.
$ac_objext \
26503 conftest
$ac_exeext conftest.
$ac_ext
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26506 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26507 if test $gcc_cv_math_func___fabsieee128 = yes; then
26509 cat >>confdefs.h
<<_ACEOF
26510 #define HAVE___FABSIEEE128 1
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26519 $as_echo_n "checking for __jnieee128... " >&6; }
26520 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26521 $as_echo_n "(cached) " >&6
26523 if test x
$gcc_no_link = xyes
; then
26524 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26527 /* end confdefs.h. */
26529 _Float128 __jnieee128 (_Float128);
26530 _Float128 (*ptr)(_Float128) = __jnieee128;
26539 if ac_fn_c_try_link
"$LINENO"; then :
26540 gcc_cv_math_func___jnieee128
=yes
26542 gcc_cv_math_func___jnieee128
=no
26544 rm -f core conftest.err conftest.
$ac_objext \
26545 conftest
$ac_exeext conftest.
$ac_ext
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26548 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26549 if test $gcc_cv_math_func___jnieee128 = yes; then
26551 cat >>confdefs.h
<<_ACEOF
26552 #define HAVE___JNIEEE128 1
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26561 $as_echo_n "checking for __log10ieee128... " >&6; }
26562 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26563 $as_echo_n "(cached) " >&6
26565 if test x
$gcc_no_link = xyes
; then
26566 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26571 _Float128 __log10ieee128 (_Float128);
26572 _Float128 (*ptr)(_Float128) = __log10ieee128;
26581 if ac_fn_c_try_link
"$LINENO"; then :
26582 gcc_cv_math_func___log10ieee128
=yes
26584 gcc_cv_math_func___log10ieee128
=no
26586 rm -f core conftest.err conftest.
$ac_objext \
26587 conftest
$ac_exeext conftest.
$ac_ext
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26590 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26591 if test $gcc_cv_math_func___log10ieee128 = yes; then
26593 cat >>confdefs.h
<<_ACEOF
26594 #define HAVE___LOG10IEEE128 1
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26603 $as_echo_n "checking for __logieee128... " >&6; }
26604 if ${gcc_cv_math_func___logieee128+:} false
; then :
26605 $as_echo_n "(cached) " >&6
26607 if test x
$gcc_no_link = xyes
; then
26608 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26611 /* end confdefs.h. */
26613 _Float128 __logieee128 (_Float128);
26614 _Float128 (*ptr)(_Float128) = __logieee128;
26623 if ac_fn_c_try_link
"$LINENO"; then :
26624 gcc_cv_math_func___logieee128
=yes
26626 gcc_cv_math_func___logieee128
=no
26628 rm -f core conftest.err conftest.
$ac_objext \
26629 conftest
$ac_exeext conftest.
$ac_ext
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26632 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26633 if test $gcc_cv_math_func___logieee128 = yes; then
26635 cat >>confdefs.h
<<_ACEOF
26636 #define HAVE___LOGIEEE128 1
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26645 $as_echo_n "checking for __powieee128... " >&6; }
26646 if ${gcc_cv_math_func___powieee128+:} false
; then :
26647 $as_echo_n "(cached) " >&6
26649 if test x
$gcc_no_link = xyes
; then
26650 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26653 /* end confdefs.h. */
26655 _Float128 __powieee128 (_Float128);
26656 _Float128 (*ptr)(_Float128) = __powieee128;
26665 if ac_fn_c_try_link
"$LINENO"; then :
26666 gcc_cv_math_func___powieee128
=yes
26668 gcc_cv_math_func___powieee128
=no
26670 rm -f core conftest.err conftest.
$ac_objext \
26671 conftest
$ac_exeext conftest.
$ac_ext
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26674 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26675 if test $gcc_cv_math_func___powieee128 = yes; then
26677 cat >>confdefs.h
<<_ACEOF
26678 #define HAVE___POWIEEE128 1
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26687 $as_echo_n "checking for __sinhieee128... " >&6; }
26688 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26689 $as_echo_n "(cached) " >&6
26691 if test x
$gcc_no_link = xyes
; then
26692 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26697 _Float128 __sinhieee128 (_Float128);
26698 _Float128 (*ptr)(_Float128) = __sinhieee128;
26707 if ac_fn_c_try_link
"$LINENO"; then :
26708 gcc_cv_math_func___sinhieee128
=yes
26710 gcc_cv_math_func___sinhieee128
=no
26712 rm -f core conftest.err conftest.
$ac_objext \
26713 conftest
$ac_exeext conftest.
$ac_ext
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26716 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26717 if test $gcc_cv_math_func___sinhieee128 = yes; then
26719 cat >>confdefs.h
<<_ACEOF
26720 #define HAVE___SINHIEEE128 1
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26729 $as_echo_n "checking for __sinieee128... " >&6; }
26730 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26731 $as_echo_n "(cached) " >&6
26733 if test x
$gcc_no_link = xyes
; then
26734 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26737 /* end confdefs.h. */
26739 _Float128 __sinieee128 (_Float128);
26740 _Float128 (*ptr)(_Float128) = __sinieee128;
26749 if ac_fn_c_try_link
"$LINENO"; then :
26750 gcc_cv_math_func___sinieee128
=yes
26752 gcc_cv_math_func___sinieee128
=no
26754 rm -f core conftest.err conftest.
$ac_objext \
26755 conftest
$ac_exeext conftest.
$ac_ext
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26758 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26759 if test $gcc_cv_math_func___sinieee128 = yes; then
26761 cat >>confdefs.h
<<_ACEOF
26762 #define HAVE___SINIEEE128 1
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26771 $as_echo_n "checking for __sqrtieee128... " >&6; }
26772 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26773 $as_echo_n "(cached) " >&6
26775 if test x
$gcc_no_link = xyes
; then
26776 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26779 /* end confdefs.h. */
26781 _Float128 __sqrtieee128 (_Float128);
26782 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26791 if ac_fn_c_try_link
"$LINENO"; then :
26792 gcc_cv_math_func___sqrtieee128
=yes
26794 gcc_cv_math_func___sqrtieee128
=no
26796 rm -f core conftest.err conftest.
$ac_objext \
26797 conftest
$ac_exeext conftest.
$ac_ext
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26800 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26801 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26803 cat >>confdefs.h
<<_ACEOF
26804 #define HAVE___SQRTIEEE128 1
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26813 $as_echo_n "checking for __tanhieee128... " >&6; }
26814 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26815 $as_echo_n "(cached) " >&6
26817 if test x
$gcc_no_link = xyes
; then
26818 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26821 /* end confdefs.h. */
26823 _Float128 __tanhieee128 (_Float128);
26824 _Float128 (*ptr)(_Float128) = __tanhieee128;
26833 if ac_fn_c_try_link
"$LINENO"; then :
26834 gcc_cv_math_func___tanhieee128
=yes
26836 gcc_cv_math_func___tanhieee128
=no
26838 rm -f core conftest.err conftest.
$ac_objext \
26839 conftest
$ac_exeext conftest.
$ac_ext
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26842 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26843 if test $gcc_cv_math_func___tanhieee128 = yes; then
26845 cat >>confdefs.h
<<_ACEOF
26846 #define HAVE___TANHIEEE128 1
26854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26855 $as_echo_n "checking for __tanieee128... " >&6; }
26856 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26857 $as_echo_n "(cached) " >&6
26859 if test x
$gcc_no_link = xyes
; then
26860 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26863 /* end confdefs.h. */
26865 _Float128 __tanieee128 (_Float128);
26866 _Float128 (*ptr)(_Float128) = __tanieee128;
26875 if ac_fn_c_try_link
"$LINENO"; then :
26876 gcc_cv_math_func___tanieee128
=yes
26878 gcc_cv_math_func___tanieee128
=no
26880 rm -f core conftest.err conftest.
$ac_objext \
26881 conftest
$ac_exeext conftest.
$ac_ext
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26884 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26885 if test $gcc_cv_math_func___tanieee128 = yes; then
26887 cat >>confdefs.h
<<_ACEOF
26888 #define HAVE___TANIEEE128 1
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26897 $as_echo_n "checking for __ynieee128... " >&6; }
26898 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26899 $as_echo_n "(cached) " >&6
26901 if test x
$gcc_no_link = xyes
; then
26902 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h. */
26907 _Float128 __ynieee128 (_Float128);
26908 _Float128 (*ptr)(_Float128) = __ynieee128;
26917 if ac_fn_c_try_link
"$LINENO"; then :
26918 gcc_cv_math_func___ynieee128
=yes
26920 gcc_cv_math_func___ynieee128
=no
26922 rm -f core conftest.err conftest.
$ac_objext \
26923 conftest
$ac_exeext conftest.
$ac_ext
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26926 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26927 if test $gcc_cv_math_func___ynieee128 = yes; then
26929 cat >>confdefs.h
<<_ACEOF
26930 #define HAVE___YNIEEE128 1
26937 # On AIX, clog is present in libm as __clog
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26939 $as_echo_n "checking for __clog in -lm... " >&6; }
26940 if ${ac_cv_lib_m___clog+:} false
; then :
26941 $as_echo_n "(cached) " >&6
26943 ac_check_lib_save_LIBS
=$LIBS
26945 if test x
$gcc_no_link = xyes
; then
26946 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26949 /* end confdefs.h. */
26951 /* Override any GCC internal prototype to avoid an error.
26952 Use char because int might match the return type of a GCC
26953 builtin and then its argument prototype would still apply. */
26966 if ac_fn_c_try_link
"$LINENO"; then :
26967 ac_cv_lib_m___clog
=yes
26969 ac_cv_lib_m___clog
=no
26971 rm -f core conftest.err conftest.
$ac_objext \
26972 conftest
$ac_exeext conftest.
$ac_ext
26973 LIBS
=$ac_check_lib_save_LIBS
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26976 $as_echo "$ac_cv_lib_m___clog" >&6; }
26977 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26979 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26986 if test $gcc_cv_math_func_copysign = no
; then
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26988 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26989 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26990 $as_echo_n "(cached) " >&6
26992 if test x
$gcc_no_link = xyes
; then
26993 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26996 /* end confdefs.h. */
26999 copysign_fallback (double x, double y)
27001 return __builtin_copysign (x, y);
27011 if ac_fn_c_try_link
"$LINENO"; then :
27012 gcc_cv_math_inline_builtin_copysign
=yes
27014 gcc_cv_math_inline_builtin_copysign
=no
27016 rm -f core conftest.err conftest.
$ac_objext \
27017 conftest
$ac_exeext conftest.
$ac_ext
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
27020 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
27021 if test $gcc_cv_math_inline_builtin_copysign = yes; then
27023 cat >>confdefs.h
<<_ACEOF
27024 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
27031 if test $gcc_cv_math_func_copysignl = no
; then
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
27033 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
27034 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
27035 $as_echo_n "(cached) " >&6
27037 if test x
$gcc_no_link = xyes
; then
27038 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h. */
27044 copysignl_fallback (long double x, long double y)
27046 return __builtin_copysignl (x, y);
27056 if ac_fn_c_try_link
"$LINENO"; then :
27057 gcc_cv_math_inline_builtin_copysignl
=yes
27059 gcc_cv_math_inline_builtin_copysignl
=no
27061 rm -f core conftest.err conftest.
$ac_objext \
27062 conftest
$ac_exeext conftest.
$ac_ext
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
27065 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
27066 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
27068 cat >>confdefs.h
<<_ACEOF
27069 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
27076 if test $gcc_cv_math_func_fabs = no
; then
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
27078 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
27079 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
27080 $as_echo_n "(cached) " >&6
27082 if test x
$gcc_no_link = xyes
; then
27083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27086 /* end confdefs.h. */
27089 fabs_fallback (double x)
27091 return __builtin_fabs (x);
27101 if ac_fn_c_try_link
"$LINENO"; then :
27102 gcc_cv_math_inline_builtin_fabs
=yes
27104 gcc_cv_math_inline_builtin_fabs
=no
27106 rm -f core conftest.err conftest.
$ac_objext \
27107 conftest
$ac_exeext conftest.
$ac_ext
27109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27110 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27111 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27113 cat >>confdefs.h
<<_ACEOF
27114 #define HAVE_INLINE_BUILTIN_FABS 1
27121 if test $gcc_cv_math_func_fabsl = no
; then
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27123 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27124 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
27125 $as_echo_n "(cached) " >&6
27127 if test x
$gcc_no_link = xyes
; then
27128 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27131 /* end confdefs.h. */
27134 fabsl_fallback (long double x)
27136 return __builtin_fabsl (x);
27146 if ac_fn_c_try_link
"$LINENO"; then :
27147 gcc_cv_math_inline_builtin_fabsl
=yes
27149 gcc_cv_math_inline_builtin_fabsl
=no
27151 rm -f core conftest.err conftest.
$ac_objext \
27152 conftest
$ac_exeext conftest.
$ac_ext
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27155 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27156 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27158 cat >>confdefs.h
<<_ACEOF
27159 #define HAVE_INLINE_BUILTIN_FABSL 1
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27169 $as_echo_n "checking for acosf128... " >&6; }
27170 if ${gcc_cv_math_func_acosf128+:} false
; then :
27171 $as_echo_n "(cached) " >&6
27173 if test x
$gcc_no_link = xyes
; then
27174 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27177 /* end confdefs.h. */
27179 #ifdef HAVE_COMPLEX_H
27180 #include <complex.h>
27186 int (*ptr)() = (int (*)())acosf128;
27195 if ac_fn_c_try_link
"$LINENO"; then :
27196 gcc_cv_math_func_acosf128
=yes
27198 gcc_cv_math_func_acosf128
=no
27200 rm -f core conftest.err conftest.
$ac_objext \
27201 conftest
$ac_exeext conftest.
$ac_ext
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27204 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27205 if test $gcc_cv_math_func_acosf128 = yes; then
27207 cat >>confdefs.h
<<_ACEOF
27208 #define HAVE_ACOSF128 1
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27217 $as_echo_n "checking for acoshf128... " >&6; }
27218 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27219 $as_echo_n "(cached) " >&6
27221 if test x
$gcc_no_link = xyes
; then
27222 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27225 /* end confdefs.h. */
27227 #ifdef HAVE_COMPLEX_H
27228 #include <complex.h>
27234 int (*ptr)() = (int (*)())acoshf128;
27243 if ac_fn_c_try_link
"$LINENO"; then :
27244 gcc_cv_math_func_acoshf128
=yes
27246 gcc_cv_math_func_acoshf128
=no
27248 rm -f core conftest.err conftest.
$ac_objext \
27249 conftest
$ac_exeext conftest.
$ac_ext
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27252 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27253 if test $gcc_cv_math_func_acoshf128 = yes; then
27255 cat >>confdefs.h
<<_ACEOF
27256 #define HAVE_ACOSHF128 1
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27265 $as_echo_n "checking for asinf128... " >&6; }
27266 if ${gcc_cv_math_func_asinf128+:} false
; then :
27267 $as_echo_n "(cached) " >&6
27269 if test x
$gcc_no_link = xyes
; then
27270 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27273 /* end confdefs.h. */
27275 #ifdef HAVE_COMPLEX_H
27276 #include <complex.h>
27282 int (*ptr)() = (int (*)())asinf128;
27291 if ac_fn_c_try_link
"$LINENO"; then :
27292 gcc_cv_math_func_asinf128
=yes
27294 gcc_cv_math_func_asinf128
=no
27296 rm -f core conftest.err conftest.
$ac_objext \
27297 conftest
$ac_exeext conftest.
$ac_ext
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27300 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27301 if test $gcc_cv_math_func_asinf128 = yes; then
27303 cat >>confdefs.h
<<_ACEOF
27304 #define HAVE_ASINF128 1
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27313 $as_echo_n "checking for asinhf128... " >&6; }
27314 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27315 $as_echo_n "(cached) " >&6
27317 if test x
$gcc_no_link = xyes
; then
27318 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27321 /* end confdefs.h. */
27323 #ifdef HAVE_COMPLEX_H
27324 #include <complex.h>
27330 int (*ptr)() = (int (*)())asinhf128;
27339 if ac_fn_c_try_link
"$LINENO"; then :
27340 gcc_cv_math_func_asinhf128
=yes
27342 gcc_cv_math_func_asinhf128
=no
27344 rm -f core conftest.err conftest.
$ac_objext \
27345 conftest
$ac_exeext conftest.
$ac_ext
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27348 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27349 if test $gcc_cv_math_func_asinhf128 = yes; then
27351 cat >>confdefs.h
<<_ACEOF
27352 #define HAVE_ASINHF128 1
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27361 $as_echo_n "checking for atan2f128... " >&6; }
27362 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27363 $as_echo_n "(cached) " >&6
27365 if test x
$gcc_no_link = xyes
; then
27366 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27369 /* end confdefs.h. */
27371 #ifdef HAVE_COMPLEX_H
27372 #include <complex.h>
27378 int (*ptr)() = (int (*)())atan2f128;
27387 if ac_fn_c_try_link
"$LINENO"; then :
27388 gcc_cv_math_func_atan2f128
=yes
27390 gcc_cv_math_func_atan2f128
=no
27392 rm -f core conftest.err conftest.
$ac_objext \
27393 conftest
$ac_exeext conftest.
$ac_ext
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27396 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27397 if test $gcc_cv_math_func_atan2f128 = yes; then
27399 cat >>confdefs.h
<<_ACEOF
27400 #define HAVE_ATAN2F128 1
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27409 $as_echo_n "checking for atanf128... " >&6; }
27410 if ${gcc_cv_math_func_atanf128+:} false
; then :
27411 $as_echo_n "(cached) " >&6
27413 if test x
$gcc_no_link = xyes
; then
27414 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27417 /* end confdefs.h. */
27419 #ifdef HAVE_COMPLEX_H
27420 #include <complex.h>
27426 int (*ptr)() = (int (*)())atanf128;
27435 if ac_fn_c_try_link
"$LINENO"; then :
27436 gcc_cv_math_func_atanf128
=yes
27438 gcc_cv_math_func_atanf128
=no
27440 rm -f core conftest.err conftest.
$ac_objext \
27441 conftest
$ac_exeext conftest.
$ac_ext
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27444 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27445 if test $gcc_cv_math_func_atanf128 = yes; then
27447 cat >>confdefs.h
<<_ACEOF
27448 #define HAVE_ATANF128 1
27456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27457 $as_echo_n "checking for atanhf128... " >&6; }
27458 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27459 $as_echo_n "(cached) " >&6
27461 if test x
$gcc_no_link = xyes
; then
27462 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27467 #ifdef HAVE_COMPLEX_H
27468 #include <complex.h>
27474 int (*ptr)() = (int (*)())atanhf128;
27483 if ac_fn_c_try_link
"$LINENO"; then :
27484 gcc_cv_math_func_atanhf128
=yes
27486 gcc_cv_math_func_atanhf128
=no
27488 rm -f core conftest.err conftest.
$ac_objext \
27489 conftest
$ac_exeext conftest.
$ac_ext
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27492 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27493 if test $gcc_cv_math_func_atanhf128 = yes; then
27495 cat >>confdefs.h
<<_ACEOF
27496 #define HAVE_ATANHF128 1
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27505 $as_echo_n "checking for cargf128... " >&6; }
27506 if ${gcc_cv_math_func_cargf128+:} false
; then :
27507 $as_echo_n "(cached) " >&6
27509 if test x
$gcc_no_link = xyes
; then
27510 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27513 /* end confdefs.h. */
27515 #ifdef HAVE_COMPLEX_H
27516 #include <complex.h>
27522 int (*ptr)() = (int (*)())cargf128;
27531 if ac_fn_c_try_link
"$LINENO"; then :
27532 gcc_cv_math_func_cargf128
=yes
27534 gcc_cv_math_func_cargf128
=no
27536 rm -f core conftest.err conftest.
$ac_objext \
27537 conftest
$ac_exeext conftest.
$ac_ext
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27540 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27541 if test $gcc_cv_math_func_cargf128 = yes; then
27543 cat >>confdefs.h
<<_ACEOF
27544 #define HAVE_CARGF128 1
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27553 $as_echo_n "checking for ceilf128... " >&6; }
27554 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27555 $as_echo_n "(cached) " >&6
27557 if test x
$gcc_no_link = xyes
; then
27558 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27561 /* end confdefs.h. */
27563 #ifdef HAVE_COMPLEX_H
27564 #include <complex.h>
27570 int (*ptr)() = (int (*)())ceilf128;
27579 if ac_fn_c_try_link
"$LINENO"; then :
27580 gcc_cv_math_func_ceilf128
=yes
27582 gcc_cv_math_func_ceilf128
=no
27584 rm -f core conftest.err conftest.
$ac_objext \
27585 conftest
$ac_exeext conftest.
$ac_ext
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27588 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27589 if test $gcc_cv_math_func_ceilf128 = yes; then
27591 cat >>confdefs.h
<<_ACEOF
27592 #define HAVE_CEILF128 1
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27601 $as_echo_n "checking for copysignf128... " >&6; }
27602 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27603 $as_echo_n "(cached) " >&6
27605 if test x
$gcc_no_link = xyes
; then
27606 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27609 /* end confdefs.h. */
27611 #ifdef HAVE_COMPLEX_H
27612 #include <complex.h>
27618 int (*ptr)() = (int (*)())copysignf128;
27627 if ac_fn_c_try_link
"$LINENO"; then :
27628 gcc_cv_math_func_copysignf128
=yes
27630 gcc_cv_math_func_copysignf128
=no
27632 rm -f core conftest.err conftest.
$ac_objext \
27633 conftest
$ac_exeext conftest.
$ac_ext
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27636 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27637 if test $gcc_cv_math_func_copysignf128 = yes; then
27639 cat >>confdefs.h
<<_ACEOF
27640 #define HAVE_COPYSIGNF128 1
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27649 $as_echo_n "checking for cosf128... " >&6; }
27650 if ${gcc_cv_math_func_cosf128+:} false
; then :
27651 $as_echo_n "(cached) " >&6
27653 if test x
$gcc_no_link = xyes
; then
27654 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27657 /* end confdefs.h. */
27659 #ifdef HAVE_COMPLEX_H
27660 #include <complex.h>
27666 int (*ptr)() = (int (*)())cosf128;
27675 if ac_fn_c_try_link
"$LINENO"; then :
27676 gcc_cv_math_func_cosf128
=yes
27678 gcc_cv_math_func_cosf128
=no
27680 rm -f core conftest.err conftest.
$ac_objext \
27681 conftest
$ac_exeext conftest.
$ac_ext
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27684 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27685 if test $gcc_cv_math_func_cosf128 = yes; then
27687 cat >>confdefs.h
<<_ACEOF
27688 #define HAVE_COSF128 1
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27697 $as_echo_n "checking for ccosf128... " >&6; }
27698 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27699 $as_echo_n "(cached) " >&6
27701 if test x
$gcc_no_link = xyes
; then
27702 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h. */
27707 #ifdef HAVE_COMPLEX_H
27708 #include <complex.h>
27714 int (*ptr)() = (int (*)())ccosf128;
27723 if ac_fn_c_try_link
"$LINENO"; then :
27724 gcc_cv_math_func_ccosf128
=yes
27726 gcc_cv_math_func_ccosf128
=no
27728 rm -f core conftest.err conftest.
$ac_objext \
27729 conftest
$ac_exeext conftest.
$ac_ext
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27732 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27733 if test $gcc_cv_math_func_ccosf128 = yes; then
27735 cat >>confdefs.h
<<_ACEOF
27736 #define HAVE_CCOSF128 1
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27745 $as_echo_n "checking for coshf128... " >&6; }
27746 if ${gcc_cv_math_func_coshf128+:} false
; then :
27747 $as_echo_n "(cached) " >&6
27749 if test x
$gcc_no_link = xyes
; then
27750 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27753 /* end confdefs.h. */
27755 #ifdef HAVE_COMPLEX_H
27756 #include <complex.h>
27762 int (*ptr)() = (int (*)())coshf128;
27771 if ac_fn_c_try_link
"$LINENO"; then :
27772 gcc_cv_math_func_coshf128
=yes
27774 gcc_cv_math_func_coshf128
=no
27776 rm -f core conftest.err conftest.
$ac_objext \
27777 conftest
$ac_exeext conftest.
$ac_ext
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27780 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27781 if test $gcc_cv_math_func_coshf128 = yes; then
27783 cat >>confdefs.h
<<_ACEOF
27784 #define HAVE_COSHF128 1
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27793 $as_echo_n "checking for ccoshf128... " >&6; }
27794 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27795 $as_echo_n "(cached) " >&6
27797 if test x
$gcc_no_link = xyes
; then
27798 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27801 /* end confdefs.h. */
27803 #ifdef HAVE_COMPLEX_H
27804 #include <complex.h>
27810 int (*ptr)() = (int (*)())ccoshf128;
27819 if ac_fn_c_try_link
"$LINENO"; then :
27820 gcc_cv_math_func_ccoshf128
=yes
27822 gcc_cv_math_func_ccoshf128
=no
27824 rm -f core conftest.err conftest.
$ac_objext \
27825 conftest
$ac_exeext conftest.
$ac_ext
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27828 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27829 if test $gcc_cv_math_func_ccoshf128 = yes; then
27831 cat >>confdefs.h
<<_ACEOF
27832 #define HAVE_CCOSHF128 1
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27841 $as_echo_n "checking for expf128... " >&6; }
27842 if ${gcc_cv_math_func_expf128+:} false
; then :
27843 $as_echo_n "(cached) " >&6
27845 if test x
$gcc_no_link = xyes
; then
27846 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27849 /* end confdefs.h. */
27851 #ifdef HAVE_COMPLEX_H
27852 #include <complex.h>
27858 int (*ptr)() = (int (*)())expf128;
27867 if ac_fn_c_try_link
"$LINENO"; then :
27868 gcc_cv_math_func_expf128
=yes
27870 gcc_cv_math_func_expf128
=no
27872 rm -f core conftest.err conftest.
$ac_objext \
27873 conftest
$ac_exeext conftest.
$ac_ext
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27876 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27877 if test $gcc_cv_math_func_expf128 = yes; then
27879 cat >>confdefs.h
<<_ACEOF
27880 #define HAVE_EXPF128 1
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27889 $as_echo_n "checking for cexpf128... " >&6; }
27890 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27891 $as_echo_n "(cached) " >&6
27893 if test x
$gcc_no_link = xyes
; then
27894 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27897 /* end confdefs.h. */
27899 #ifdef HAVE_COMPLEX_H
27900 #include <complex.h>
27906 int (*ptr)() = (int (*)())cexpf128;
27915 if ac_fn_c_try_link
"$LINENO"; then :
27916 gcc_cv_math_func_cexpf128
=yes
27918 gcc_cv_math_func_cexpf128
=no
27920 rm -f core conftest.err conftest.
$ac_objext \
27921 conftest
$ac_exeext conftest.
$ac_ext
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27924 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27925 if test $gcc_cv_math_func_cexpf128 = yes; then
27927 cat >>confdefs.h
<<_ACEOF
27928 #define HAVE_CEXPF128 1
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27937 $as_echo_n "checking for fabsf128... " >&6; }
27938 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27939 $as_echo_n "(cached) " >&6
27941 if test x
$gcc_no_link = xyes
; then
27942 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27945 /* end confdefs.h. */
27947 #ifdef HAVE_COMPLEX_H
27948 #include <complex.h>
27954 int (*ptr)() = (int (*)())fabsf128;
27963 if ac_fn_c_try_link
"$LINENO"; then :
27964 gcc_cv_math_func_fabsf128
=yes
27966 gcc_cv_math_func_fabsf128
=no
27968 rm -f core conftest.err conftest.
$ac_objext \
27969 conftest
$ac_exeext conftest.
$ac_ext
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27972 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27973 if test $gcc_cv_math_func_fabsf128 = yes; then
27975 cat >>confdefs.h
<<_ACEOF
27976 #define HAVE_FABSF128 1
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27985 $as_echo_n "checking for cabsf128... " >&6; }
27986 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27987 $as_echo_n "(cached) " >&6
27989 if test x
$gcc_no_link = xyes
; then
27990 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27993 /* end confdefs.h. */
27995 #ifdef HAVE_COMPLEX_H
27996 #include <complex.h>
28002 int (*ptr)() = (int (*)())cabsf128;
28011 if ac_fn_c_try_link
"$LINENO"; then :
28012 gcc_cv_math_func_cabsf128
=yes
28014 gcc_cv_math_func_cabsf128
=no
28016 rm -f core conftest.err conftest.
$ac_objext \
28017 conftest
$ac_exeext conftest.
$ac_ext
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
28020 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
28021 if test $gcc_cv_math_func_cabsf128 = yes; then
28023 cat >>confdefs.h
<<_ACEOF
28024 #define HAVE_CABSF128 1
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
28033 $as_echo_n "checking for floorf128... " >&6; }
28034 if ${gcc_cv_math_func_floorf128+:} false
; then :
28035 $as_echo_n "(cached) " >&6
28037 if test x
$gcc_no_link = xyes
; then
28038 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28041 /* end confdefs.h. */
28043 #ifdef HAVE_COMPLEX_H
28044 #include <complex.h>
28050 int (*ptr)() = (int (*)())floorf128;
28059 if ac_fn_c_try_link
"$LINENO"; then :
28060 gcc_cv_math_func_floorf128
=yes
28062 gcc_cv_math_func_floorf128
=no
28064 rm -f core conftest.err conftest.
$ac_objext \
28065 conftest
$ac_exeext conftest.
$ac_ext
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
28068 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
28069 if test $gcc_cv_math_func_floorf128 = yes; then
28071 cat >>confdefs.h
<<_ACEOF
28072 #define HAVE_FLOORF128 1
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
28081 $as_echo_n "checking for fmaf128... " >&6; }
28082 if ${gcc_cv_math_func_fmaf128+:} false
; then :
28083 $as_echo_n "(cached) " >&6
28085 if test x
$gcc_no_link = xyes
; then
28086 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28089 /* end confdefs.h. */
28091 #ifdef HAVE_COMPLEX_H
28092 #include <complex.h>
28098 int (*ptr)() = (int (*)())fmaf128;
28107 if ac_fn_c_try_link
"$LINENO"; then :
28108 gcc_cv_math_func_fmaf128
=yes
28110 gcc_cv_math_func_fmaf128
=no
28112 rm -f core conftest.err conftest.
$ac_objext \
28113 conftest
$ac_exeext conftest.
$ac_ext
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28116 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28117 if test $gcc_cv_math_func_fmaf128 = yes; then
28119 cat >>confdefs.h
<<_ACEOF
28120 #define HAVE_FMAF128 1
28128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28129 $as_echo_n "checking for fmodf128... " >&6; }
28130 if ${gcc_cv_math_func_fmodf128+:} false
; then :
28131 $as_echo_n "(cached) " >&6
28133 if test x
$gcc_no_link = xyes
; then
28134 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28137 /* end confdefs.h. */
28139 #ifdef HAVE_COMPLEX_H
28140 #include <complex.h>
28146 int (*ptr)() = (int (*)())fmodf128;
28155 if ac_fn_c_try_link
"$LINENO"; then :
28156 gcc_cv_math_func_fmodf128
=yes
28158 gcc_cv_math_func_fmodf128
=no
28160 rm -f core conftest.err conftest.
$ac_objext \
28161 conftest
$ac_exeext conftest.
$ac_ext
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28164 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28165 if test $gcc_cv_math_func_fmodf128 = yes; then
28167 cat >>confdefs.h
<<_ACEOF
28168 #define HAVE_FMODF128 1
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28177 $as_echo_n "checking for frexpf128... " >&6; }
28178 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28179 $as_echo_n "(cached) " >&6
28181 if test x
$gcc_no_link = xyes
; then
28182 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28185 /* end confdefs.h. */
28187 #ifdef HAVE_COMPLEX_H
28188 #include <complex.h>
28194 int (*ptr)() = (int (*)())frexpf128;
28203 if ac_fn_c_try_link
"$LINENO"; then :
28204 gcc_cv_math_func_frexpf128
=yes
28206 gcc_cv_math_func_frexpf128
=no
28208 rm -f core conftest.err conftest.
$ac_objext \
28209 conftest
$ac_exeext conftest.
$ac_ext
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28212 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28213 if test $gcc_cv_math_func_frexpf128 = yes; then
28215 cat >>confdefs.h
<<_ACEOF
28216 #define HAVE_FREXPF128 1
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28225 $as_echo_n "checking for hypotf128... " >&6; }
28226 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28227 $as_echo_n "(cached) " >&6
28229 if test x
$gcc_no_link = xyes
; then
28230 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28233 /* end confdefs.h. */
28235 #ifdef HAVE_COMPLEX_H
28236 #include <complex.h>
28242 int (*ptr)() = (int (*)())hypotf128;
28251 if ac_fn_c_try_link
"$LINENO"; then :
28252 gcc_cv_math_func_hypotf128
=yes
28254 gcc_cv_math_func_hypotf128
=no
28256 rm -f core conftest.err conftest.
$ac_objext \
28257 conftest
$ac_exeext conftest.
$ac_ext
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28260 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28261 if test $gcc_cv_math_func_hypotf128 = yes; then
28263 cat >>confdefs.h
<<_ACEOF
28264 #define HAVE_HYPOTF128 1
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28273 $as_echo_n "checking for ldexpf128... " >&6; }
28274 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28275 $as_echo_n "(cached) " >&6
28277 if test x
$gcc_no_link = xyes
; then
28278 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28281 /* end confdefs.h. */
28283 #ifdef HAVE_COMPLEX_H
28284 #include <complex.h>
28290 int (*ptr)() = (int (*)())ldexpf128;
28299 if ac_fn_c_try_link
"$LINENO"; then :
28300 gcc_cv_math_func_ldexpf128
=yes
28302 gcc_cv_math_func_ldexpf128
=no
28304 rm -f core conftest.err conftest.
$ac_objext \
28305 conftest
$ac_exeext conftest.
$ac_ext
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28308 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28309 if test $gcc_cv_math_func_ldexpf128 = yes; then
28311 cat >>confdefs.h
<<_ACEOF
28312 #define HAVE_LDEXPF128 1
28320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28321 $as_echo_n "checking for logf128... " >&6; }
28322 if ${gcc_cv_math_func_logf128+:} false
; then :
28323 $as_echo_n "(cached) " >&6
28325 if test x
$gcc_no_link = xyes
; then
28326 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h. */
28331 #ifdef HAVE_COMPLEX_H
28332 #include <complex.h>
28338 int (*ptr)() = (int (*)())logf128;
28347 if ac_fn_c_try_link
"$LINENO"; then :
28348 gcc_cv_math_func_logf128
=yes
28350 gcc_cv_math_func_logf128
=no
28352 rm -f core conftest.err conftest.
$ac_objext \
28353 conftest
$ac_exeext conftest.
$ac_ext
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28356 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28357 if test $gcc_cv_math_func_logf128 = yes; then
28359 cat >>confdefs.h
<<_ACEOF
28360 #define HAVE_LOGF128 1
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28369 $as_echo_n "checking for clogf128... " >&6; }
28370 if ${gcc_cv_math_func_clogf128+:} false
; then :
28371 $as_echo_n "(cached) " >&6
28373 if test x
$gcc_no_link = xyes
; then
28374 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28377 /* end confdefs.h. */
28379 #ifdef HAVE_COMPLEX_H
28380 #include <complex.h>
28386 int (*ptr)() = (int (*)())clogf128;
28395 if ac_fn_c_try_link
"$LINENO"; then :
28396 gcc_cv_math_func_clogf128
=yes
28398 gcc_cv_math_func_clogf128
=no
28400 rm -f core conftest.err conftest.
$ac_objext \
28401 conftest
$ac_exeext conftest.
$ac_ext
28403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28404 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28405 if test $gcc_cv_math_func_clogf128 = yes; then
28407 cat >>confdefs.h
<<_ACEOF
28408 #define HAVE_CLOGF128 1
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28417 $as_echo_n "checking for log10f128... " >&6; }
28418 if ${gcc_cv_math_func_log10f128+:} false
; then :
28419 $as_echo_n "(cached) " >&6
28421 if test x
$gcc_no_link = xyes
; then
28422 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28425 /* end confdefs.h. */
28427 #ifdef HAVE_COMPLEX_H
28428 #include <complex.h>
28434 int (*ptr)() = (int (*)())log10f128;
28443 if ac_fn_c_try_link
"$LINENO"; then :
28444 gcc_cv_math_func_log10f128
=yes
28446 gcc_cv_math_func_log10f128
=no
28448 rm -f core conftest.err conftest.
$ac_objext \
28449 conftest
$ac_exeext conftest.
$ac_ext
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28452 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28453 if test $gcc_cv_math_func_log10f128 = yes; then
28455 cat >>confdefs.h
<<_ACEOF
28456 #define HAVE_LOG10F128 1
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28465 $as_echo_n "checking for clog10f128... " >&6; }
28466 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28467 $as_echo_n "(cached) " >&6
28469 if test x
$gcc_no_link = xyes
; then
28470 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28473 /* end confdefs.h. */
28475 #ifdef HAVE_COMPLEX_H
28476 #include <complex.h>
28482 int (*ptr)() = (int (*)())clog10f128;
28491 if ac_fn_c_try_link
"$LINENO"; then :
28492 gcc_cv_math_func_clog10f128
=yes
28494 gcc_cv_math_func_clog10f128
=no
28496 rm -f core conftest.err conftest.
$ac_objext \
28497 conftest
$ac_exeext conftest.
$ac_ext
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28500 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28501 if test $gcc_cv_math_func_clog10f128 = yes; then
28503 cat >>confdefs.h
<<_ACEOF
28504 #define HAVE_CLOG10F128 1
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28513 $as_echo_n "checking for nextafterf128... " >&6; }
28514 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28515 $as_echo_n "(cached) " >&6
28517 if test x
$gcc_no_link = xyes
; then
28518 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28523 #ifdef HAVE_COMPLEX_H
28524 #include <complex.h>
28530 int (*ptr)() = (int (*)())nextafterf128;
28539 if ac_fn_c_try_link
"$LINENO"; then :
28540 gcc_cv_math_func_nextafterf128
=yes
28542 gcc_cv_math_func_nextafterf128
=no
28544 rm -f core conftest.err conftest.
$ac_objext \
28545 conftest
$ac_exeext conftest.
$ac_ext
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28548 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28549 if test $gcc_cv_math_func_nextafterf128 = yes; then
28551 cat >>confdefs.h
<<_ACEOF
28552 #define HAVE_NEXTAFTERF128 1
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28561 $as_echo_n "checking for powf128... " >&6; }
28562 if ${gcc_cv_math_func_powf128+:} false
; then :
28563 $as_echo_n "(cached) " >&6
28565 if test x
$gcc_no_link = xyes
; then
28566 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h. */
28571 #ifdef HAVE_COMPLEX_H
28572 #include <complex.h>
28578 int (*ptr)() = (int (*)())powf128;
28587 if ac_fn_c_try_link
"$LINENO"; then :
28588 gcc_cv_math_func_powf128
=yes
28590 gcc_cv_math_func_powf128
=no
28592 rm -f core conftest.err conftest.
$ac_objext \
28593 conftest
$ac_exeext conftest.
$ac_ext
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28596 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28597 if test $gcc_cv_math_func_powf128 = yes; then
28599 cat >>confdefs.h
<<_ACEOF
28600 #define HAVE_POWF128 1
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28609 $as_echo_n "checking for cpowf128... " >&6; }
28610 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28611 $as_echo_n "(cached) " >&6
28613 if test x
$gcc_no_link = xyes
; then
28614 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28617 /* end confdefs.h. */
28619 #ifdef HAVE_COMPLEX_H
28620 #include <complex.h>
28626 int (*ptr)() = (int (*)())cpowf128;
28635 if ac_fn_c_try_link
"$LINENO"; then :
28636 gcc_cv_math_func_cpowf128
=yes
28638 gcc_cv_math_func_cpowf128
=no
28640 rm -f core conftest.err conftest.
$ac_objext \
28641 conftest
$ac_exeext conftest.
$ac_ext
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28644 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28645 if test $gcc_cv_math_func_cpowf128 = yes; then
28647 cat >>confdefs.h
<<_ACEOF
28648 #define HAVE_CPOWF128 1
28656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28657 $as_echo_n "checking for roundf128... " >&6; }
28658 if ${gcc_cv_math_func_roundf128+:} false
; then :
28659 $as_echo_n "(cached) " >&6
28661 if test x
$gcc_no_link = xyes
; then
28662 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28665 /* end confdefs.h. */
28667 #ifdef HAVE_COMPLEX_H
28668 #include <complex.h>
28674 int (*ptr)() = (int (*)())roundf128;
28683 if ac_fn_c_try_link
"$LINENO"; then :
28684 gcc_cv_math_func_roundf128
=yes
28686 gcc_cv_math_func_roundf128
=no
28688 rm -f core conftest.err conftest.
$ac_objext \
28689 conftest
$ac_exeext conftest.
$ac_ext
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28692 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28693 if test $gcc_cv_math_func_roundf128 = yes; then
28695 cat >>confdefs.h
<<_ACEOF
28696 #define HAVE_ROUNDF128 1
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28705 $as_echo_n "checking for lroundf128... " >&6; }
28706 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28707 $as_echo_n "(cached) " >&6
28709 if test x
$gcc_no_link = xyes
; then
28710 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28713 /* end confdefs.h. */
28715 #ifdef HAVE_COMPLEX_H
28716 #include <complex.h>
28722 int (*ptr)() = (int (*)())lroundf128;
28731 if ac_fn_c_try_link
"$LINENO"; then :
28732 gcc_cv_math_func_lroundf128
=yes
28734 gcc_cv_math_func_lroundf128
=no
28736 rm -f core conftest.err conftest.
$ac_objext \
28737 conftest
$ac_exeext conftest.
$ac_ext
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28740 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28741 if test $gcc_cv_math_func_lroundf128 = yes; then
28743 cat >>confdefs.h
<<_ACEOF
28744 #define HAVE_LROUNDF128 1
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28753 $as_echo_n "checking for llroundf128... " >&6; }
28754 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28755 $as_echo_n "(cached) " >&6
28757 if test x
$gcc_no_link = xyes
; then
28758 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28761 /* end confdefs.h. */
28763 #ifdef HAVE_COMPLEX_H
28764 #include <complex.h>
28770 int (*ptr)() = (int (*)())llroundf128;
28779 if ac_fn_c_try_link
"$LINENO"; then :
28780 gcc_cv_math_func_llroundf128
=yes
28782 gcc_cv_math_func_llroundf128
=no
28784 rm -f core conftest.err conftest.
$ac_objext \
28785 conftest
$ac_exeext conftest.
$ac_ext
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28788 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28789 if test $gcc_cv_math_func_llroundf128 = yes; then
28791 cat >>confdefs.h
<<_ACEOF
28792 #define HAVE_LLROUNDF128 1
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28801 $as_echo_n "checking for scalbnf128... " >&6; }
28802 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28803 $as_echo_n "(cached) " >&6
28805 if test x
$gcc_no_link = xyes
; then
28806 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28809 /* end confdefs.h. */
28811 #ifdef HAVE_COMPLEX_H
28812 #include <complex.h>
28818 int (*ptr)() = (int (*)())scalbnf128;
28827 if ac_fn_c_try_link
"$LINENO"; then :
28828 gcc_cv_math_func_scalbnf128
=yes
28830 gcc_cv_math_func_scalbnf128
=no
28832 rm -f core conftest.err conftest.
$ac_objext \
28833 conftest
$ac_exeext conftest.
$ac_ext
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28836 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28837 if test $gcc_cv_math_func_scalbnf128 = yes; then
28839 cat >>confdefs.h
<<_ACEOF
28840 #define HAVE_SCALBNF128 1
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28849 $as_echo_n "checking for sinf128... " >&6; }
28850 if ${gcc_cv_math_func_sinf128+:} false
; then :
28851 $as_echo_n "(cached) " >&6
28853 if test x
$gcc_no_link = xyes
; then
28854 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28857 /* end confdefs.h. */
28859 #ifdef HAVE_COMPLEX_H
28860 #include <complex.h>
28866 int (*ptr)() = (int (*)())sinf128;
28875 if ac_fn_c_try_link
"$LINENO"; then :
28876 gcc_cv_math_func_sinf128
=yes
28878 gcc_cv_math_func_sinf128
=no
28880 rm -f core conftest.err conftest.
$ac_objext \
28881 conftest
$ac_exeext conftest.
$ac_ext
28883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28884 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28885 if test $gcc_cv_math_func_sinf128 = yes; then
28887 cat >>confdefs.h
<<_ACEOF
28888 #define HAVE_SINF128 1
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28897 $as_echo_n "checking for csinf128... " >&6; }
28898 if ${gcc_cv_math_func_csinf128+:} false
; then :
28899 $as_echo_n "(cached) " >&6
28901 if test x
$gcc_no_link = xyes
; then
28902 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28907 #ifdef HAVE_COMPLEX_H
28908 #include <complex.h>
28914 int (*ptr)() = (int (*)())csinf128;
28923 if ac_fn_c_try_link
"$LINENO"; then :
28924 gcc_cv_math_func_csinf128
=yes
28926 gcc_cv_math_func_csinf128
=no
28928 rm -f core conftest.err conftest.
$ac_objext \
28929 conftest
$ac_exeext conftest.
$ac_ext
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28932 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28933 if test $gcc_cv_math_func_csinf128 = yes; then
28935 cat >>confdefs.h
<<_ACEOF
28936 #define HAVE_CSINF128 1
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28945 $as_echo_n "checking for sinhf128... " >&6; }
28946 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28947 $as_echo_n "(cached) " >&6
28949 if test x
$gcc_no_link = xyes
; then
28950 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h. */
28955 #ifdef HAVE_COMPLEX_H
28956 #include <complex.h>
28962 int (*ptr)() = (int (*)())sinhf128;
28971 if ac_fn_c_try_link
"$LINENO"; then :
28972 gcc_cv_math_func_sinhf128
=yes
28974 gcc_cv_math_func_sinhf128
=no
28976 rm -f core conftest.err conftest.
$ac_objext \
28977 conftest
$ac_exeext conftest.
$ac_ext
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28980 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28981 if test $gcc_cv_math_func_sinhf128 = yes; then
28983 cat >>confdefs.h
<<_ACEOF
28984 #define HAVE_SINHF128 1
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28993 $as_echo_n "checking for csinhf128... " >&6; }
28994 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28995 $as_echo_n "(cached) " >&6
28997 if test x
$gcc_no_link = xyes
; then
28998 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29001 /* end confdefs.h. */
29003 #ifdef HAVE_COMPLEX_H
29004 #include <complex.h>
29010 int (*ptr)() = (int (*)())csinhf128;
29019 if ac_fn_c_try_link
"$LINENO"; then :
29020 gcc_cv_math_func_csinhf128
=yes
29022 gcc_cv_math_func_csinhf128
=no
29024 rm -f core conftest.err conftest.
$ac_objext \
29025 conftest
$ac_exeext conftest.
$ac_ext
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
29028 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
29029 if test $gcc_cv_math_func_csinhf128 = yes; then
29031 cat >>confdefs.h
<<_ACEOF
29032 #define HAVE_CSINHF128 1
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
29041 $as_echo_n "checking for sqrtf128... " >&6; }
29042 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
29043 $as_echo_n "(cached) " >&6
29045 if test x
$gcc_no_link = xyes
; then
29046 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29049 /* end confdefs.h. */
29051 #ifdef HAVE_COMPLEX_H
29052 #include <complex.h>
29058 int (*ptr)() = (int (*)())sqrtf128;
29067 if ac_fn_c_try_link
"$LINENO"; then :
29068 gcc_cv_math_func_sqrtf128
=yes
29070 gcc_cv_math_func_sqrtf128
=no
29072 rm -f core conftest.err conftest.
$ac_objext \
29073 conftest
$ac_exeext conftest.
$ac_ext
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
29076 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
29077 if test $gcc_cv_math_func_sqrtf128 = yes; then
29079 cat >>confdefs.h
<<_ACEOF
29080 #define HAVE_SQRTF128 1
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
29089 $as_echo_n "checking for csqrtf128... " >&6; }
29090 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
29091 $as_echo_n "(cached) " >&6
29093 if test x
$gcc_no_link = xyes
; then
29094 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29097 /* end confdefs.h. */
29099 #ifdef HAVE_COMPLEX_H
29100 #include <complex.h>
29106 int (*ptr)() = (int (*)())csqrtf128;
29115 if ac_fn_c_try_link
"$LINENO"; then :
29116 gcc_cv_math_func_csqrtf128
=yes
29118 gcc_cv_math_func_csqrtf128
=no
29120 rm -f core conftest.err conftest.
$ac_objext \
29121 conftest
$ac_exeext conftest.
$ac_ext
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29124 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29125 if test $gcc_cv_math_func_csqrtf128 = yes; then
29127 cat >>confdefs.h
<<_ACEOF
29128 #define HAVE_CSQRTF128 1
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29137 $as_echo_n "checking for tanf128... " >&6; }
29138 if ${gcc_cv_math_func_tanf128+:} false
; then :
29139 $as_echo_n "(cached) " >&6
29141 if test x
$gcc_no_link = xyes
; then
29142 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29147 #ifdef HAVE_COMPLEX_H
29148 #include <complex.h>
29154 int (*ptr)() = (int (*)())tanf128;
29163 if ac_fn_c_try_link
"$LINENO"; then :
29164 gcc_cv_math_func_tanf128
=yes
29166 gcc_cv_math_func_tanf128
=no
29168 rm -f core conftest.err conftest.
$ac_objext \
29169 conftest
$ac_exeext conftest.
$ac_ext
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29172 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29173 if test $gcc_cv_math_func_tanf128 = yes; then
29175 cat >>confdefs.h
<<_ACEOF
29176 #define HAVE_TANF128 1
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29185 $as_echo_n "checking for ctanf128... " >&6; }
29186 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29187 $as_echo_n "(cached) " >&6
29189 if test x
$gcc_no_link = xyes
; then
29190 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29193 /* end confdefs.h. */
29195 #ifdef HAVE_COMPLEX_H
29196 #include <complex.h>
29202 int (*ptr)() = (int (*)())ctanf128;
29211 if ac_fn_c_try_link
"$LINENO"; then :
29212 gcc_cv_math_func_ctanf128
=yes
29214 gcc_cv_math_func_ctanf128
=no
29216 rm -f core conftest.err conftest.
$ac_objext \
29217 conftest
$ac_exeext conftest.
$ac_ext
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29220 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29221 if test $gcc_cv_math_func_ctanf128 = yes; then
29223 cat >>confdefs.h
<<_ACEOF
29224 #define HAVE_CTANF128 1
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29233 $as_echo_n "checking for tanhf128... " >&6; }
29234 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29235 $as_echo_n "(cached) " >&6
29237 if test x
$gcc_no_link = xyes
; then
29238 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29241 /* end confdefs.h. */
29243 #ifdef HAVE_COMPLEX_H
29244 #include <complex.h>
29250 int (*ptr)() = (int (*)())tanhf128;
29259 if ac_fn_c_try_link
"$LINENO"; then :
29260 gcc_cv_math_func_tanhf128
=yes
29262 gcc_cv_math_func_tanhf128
=no
29264 rm -f core conftest.err conftest.
$ac_objext \
29265 conftest
$ac_exeext conftest.
$ac_ext
29267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29268 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29269 if test $gcc_cv_math_func_tanhf128 = yes; then
29271 cat >>confdefs.h
<<_ACEOF
29272 #define HAVE_TANHF128 1
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29281 $as_echo_n "checking for ctanhf128... " >&6; }
29282 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29283 $as_echo_n "(cached) " >&6
29285 if test x
$gcc_no_link = xyes
; then
29286 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29291 #ifdef HAVE_COMPLEX_H
29292 #include <complex.h>
29298 int (*ptr)() = (int (*)())ctanhf128;
29307 if ac_fn_c_try_link
"$LINENO"; then :
29308 gcc_cv_math_func_ctanhf128
=yes
29310 gcc_cv_math_func_ctanhf128
=no
29312 rm -f core conftest.err conftest.
$ac_objext \
29313 conftest
$ac_exeext conftest.
$ac_ext
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29316 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29317 if test $gcc_cv_math_func_ctanhf128 = yes; then
29319 cat >>confdefs.h
<<_ACEOF
29320 #define HAVE_CTANHF128 1
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29329 $as_echo_n "checking for truncf128... " >&6; }
29330 if ${gcc_cv_math_func_truncf128+:} false
; then :
29331 $as_echo_n "(cached) " >&6
29333 if test x
$gcc_no_link = xyes
; then
29334 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29337 /* end confdefs.h. */
29339 #ifdef HAVE_COMPLEX_H
29340 #include <complex.h>
29346 int (*ptr)() = (int (*)())truncf128;
29355 if ac_fn_c_try_link
"$LINENO"; then :
29356 gcc_cv_math_func_truncf128
=yes
29358 gcc_cv_math_func_truncf128
=no
29360 rm -f core conftest.err conftest.
$ac_objext \
29361 conftest
$ac_exeext conftest.
$ac_ext
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29364 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29365 if test $gcc_cv_math_func_truncf128 = yes; then
29367 cat >>confdefs.h
<<_ACEOF
29368 #define HAVE_TRUNCF128 1
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29377 $as_echo_n "checking for erff128... " >&6; }
29378 if ${gcc_cv_math_func_erff128+:} false
; then :
29379 $as_echo_n "(cached) " >&6
29381 if test x
$gcc_no_link = xyes
; then
29382 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29387 #ifdef HAVE_COMPLEX_H
29388 #include <complex.h>
29394 int (*ptr)() = (int (*)())erff128;
29403 if ac_fn_c_try_link
"$LINENO"; then :
29404 gcc_cv_math_func_erff128
=yes
29406 gcc_cv_math_func_erff128
=no
29408 rm -f core conftest.err conftest.
$ac_objext \
29409 conftest
$ac_exeext conftest.
$ac_ext
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29412 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29413 if test $gcc_cv_math_func_erff128 = yes; then
29415 cat >>confdefs.h
<<_ACEOF
29416 #define HAVE_ERFF128 1
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29425 $as_echo_n "checking for erfcf128... " >&6; }
29426 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29427 $as_echo_n "(cached) " >&6
29429 if test x
$gcc_no_link = xyes
; then
29430 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29435 #ifdef HAVE_COMPLEX_H
29436 #include <complex.h>
29442 int (*ptr)() = (int (*)())erfcf128;
29451 if ac_fn_c_try_link
"$LINENO"; then :
29452 gcc_cv_math_func_erfcf128
=yes
29454 gcc_cv_math_func_erfcf128
=no
29456 rm -f core conftest.err conftest.
$ac_objext \
29457 conftest
$ac_exeext conftest.
$ac_ext
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29460 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29461 if test $gcc_cv_math_func_erfcf128 = yes; then
29463 cat >>confdefs.h
<<_ACEOF
29464 #define HAVE_ERFCF128 1
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29473 $as_echo_n "checking for j0f128... " >&6; }
29474 if ${gcc_cv_math_func_j0f128+:} false
; then :
29475 $as_echo_n "(cached) " >&6
29477 if test x
$gcc_no_link = xyes
; then
29478 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29483 #ifdef HAVE_COMPLEX_H
29484 #include <complex.h>
29490 int (*ptr)() = (int (*)())j0f128;
29499 if ac_fn_c_try_link
"$LINENO"; then :
29500 gcc_cv_math_func_j0f128
=yes
29502 gcc_cv_math_func_j0f128
=no
29504 rm -f core conftest.err conftest.
$ac_objext \
29505 conftest
$ac_exeext conftest.
$ac_ext
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29508 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29509 if test $gcc_cv_math_func_j0f128 = yes; then
29511 cat >>confdefs.h
<<_ACEOF
29512 #define HAVE_J0F128 1
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29521 $as_echo_n "checking for j1f128... " >&6; }
29522 if ${gcc_cv_math_func_j1f128+:} false
; then :
29523 $as_echo_n "(cached) " >&6
29525 if test x
$gcc_no_link = xyes
; then
29526 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29529 /* end confdefs.h. */
29531 #ifdef HAVE_COMPLEX_H
29532 #include <complex.h>
29538 int (*ptr)() = (int (*)())j1f128;
29547 if ac_fn_c_try_link
"$LINENO"; then :
29548 gcc_cv_math_func_j1f128
=yes
29550 gcc_cv_math_func_j1f128
=no
29552 rm -f core conftest.err conftest.
$ac_objext \
29553 conftest
$ac_exeext conftest.
$ac_ext
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29556 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29557 if test $gcc_cv_math_func_j1f128 = yes; then
29559 cat >>confdefs.h
<<_ACEOF
29560 #define HAVE_J1F128 1
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29569 $as_echo_n "checking for jnf128... " >&6; }
29570 if ${gcc_cv_math_func_jnf128+:} false
; then :
29571 $as_echo_n "(cached) " >&6
29573 if test x
$gcc_no_link = xyes
; then
29574 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29577 /* end confdefs.h. */
29579 #ifdef HAVE_COMPLEX_H
29580 #include <complex.h>
29586 int (*ptr)() = (int (*)())jnf128;
29595 if ac_fn_c_try_link
"$LINENO"; then :
29596 gcc_cv_math_func_jnf128
=yes
29598 gcc_cv_math_func_jnf128
=no
29600 rm -f core conftest.err conftest.
$ac_objext \
29601 conftest
$ac_exeext conftest.
$ac_ext
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29604 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29605 if test $gcc_cv_math_func_jnf128 = yes; then
29607 cat >>confdefs.h
<<_ACEOF
29608 #define HAVE_JNF128 1
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29617 $as_echo_n "checking for y0f128... " >&6; }
29618 if ${gcc_cv_math_func_y0f128+:} false
; then :
29619 $as_echo_n "(cached) " >&6
29621 if test x
$gcc_no_link = xyes
; then
29622 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h. */
29627 #ifdef HAVE_COMPLEX_H
29628 #include <complex.h>
29634 int (*ptr)() = (int (*)())y0f128;
29643 if ac_fn_c_try_link
"$LINENO"; then :
29644 gcc_cv_math_func_y0f128
=yes
29646 gcc_cv_math_func_y0f128
=no
29648 rm -f core conftest.err conftest.
$ac_objext \
29649 conftest
$ac_exeext conftest.
$ac_ext
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29652 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29653 if test $gcc_cv_math_func_y0f128 = yes; then
29655 cat >>confdefs.h
<<_ACEOF
29656 #define HAVE_Y0F128 1
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29665 $as_echo_n "checking for y1f128... " >&6; }
29666 if ${gcc_cv_math_func_y1f128+:} false
; then :
29667 $as_echo_n "(cached) " >&6
29669 if test x
$gcc_no_link = xyes
; then
29670 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29673 /* end confdefs.h. */
29675 #ifdef HAVE_COMPLEX_H
29676 #include <complex.h>
29682 int (*ptr)() = (int (*)())y1f128;
29691 if ac_fn_c_try_link
"$LINENO"; then :
29692 gcc_cv_math_func_y1f128
=yes
29694 gcc_cv_math_func_y1f128
=no
29696 rm -f core conftest.err conftest.
$ac_objext \
29697 conftest
$ac_exeext conftest.
$ac_ext
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29700 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29701 if test $gcc_cv_math_func_y1f128 = yes; then
29703 cat >>confdefs.h
<<_ACEOF
29704 #define HAVE_Y1F128 1
29712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29713 $as_echo_n "checking for ynf128... " >&6; }
29714 if ${gcc_cv_math_func_ynf128+:} false
; then :
29715 $as_echo_n "(cached) " >&6
29717 if test x
$gcc_no_link = xyes
; then
29718 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29721 /* end confdefs.h. */
29723 #ifdef HAVE_COMPLEX_H
29724 #include <complex.h>
29730 int (*ptr)() = (int (*)())ynf128;
29739 if ac_fn_c_try_link
"$LINENO"; then :
29740 gcc_cv_math_func_ynf128
=yes
29742 gcc_cv_math_func_ynf128
=no
29744 rm -f core conftest.err conftest.
$ac_objext \
29745 conftest
$ac_exeext conftest.
$ac_ext
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29748 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29749 if test $gcc_cv_math_func_ynf128 = yes; then
29751 cat >>confdefs.h
<<_ACEOF
29752 #define HAVE_YNF128 1
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29761 $as_echo_n "checking for tgammaf128... " >&6; }
29762 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29763 $as_echo_n "(cached) " >&6
29765 if test x
$gcc_no_link = xyes
; then
29766 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29769 /* end confdefs.h. */
29771 #ifdef HAVE_COMPLEX_H
29772 #include <complex.h>
29778 int (*ptr)() = (int (*)())tgammaf128;
29787 if ac_fn_c_try_link
"$LINENO"; then :
29788 gcc_cv_math_func_tgammaf128
=yes
29790 gcc_cv_math_func_tgammaf128
=no
29792 rm -f core conftest.err conftest.
$ac_objext \
29793 conftest
$ac_exeext conftest.
$ac_ext
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29796 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29797 if test $gcc_cv_math_func_tgammaf128 = yes; then
29799 cat >>confdefs.h
<<_ACEOF
29800 #define HAVE_TGAMMAF128 1
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29809 $as_echo_n "checking for lgammaf128... " >&6; }
29810 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29811 $as_echo_n "(cached) " >&6
29813 if test x
$gcc_no_link = xyes
; then
29814 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29817 /* end confdefs.h. */
29819 #ifdef HAVE_COMPLEX_H
29820 #include <complex.h>
29826 int (*ptr)() = (int (*)())lgammaf128;
29835 if ac_fn_c_try_link
"$LINENO"; then :
29836 gcc_cv_math_func_lgammaf128
=yes
29838 gcc_cv_math_func_lgammaf128
=no
29840 rm -f core conftest.err conftest.
$ac_objext \
29841 conftest
$ac_exeext conftest.
$ac_ext
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29844 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29845 if test $gcc_cv_math_func_lgammaf128 = yes; then
29847 cat >>confdefs.h
<<_ACEOF
29848 #define HAVE_LGAMMAF128 1
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29858 $as_echo_n "checking for cacosf128... " >&6; }
29859 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29860 $as_echo_n "(cached) " >&6
29862 if test x
$gcc_no_link = xyes
; then
29863 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29868 #ifdef HAVE_COMPLEX_H
29869 #include <complex.h>
29875 int (*ptr)() = (int (*)())cacosf128;
29884 if ac_fn_c_try_link
"$LINENO"; then :
29885 gcc_cv_math_func_cacosf128
=yes
29887 gcc_cv_math_func_cacosf128
=no
29889 rm -f core conftest.err conftest.
$ac_objext \
29890 conftest
$ac_exeext conftest.
$ac_ext
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29893 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29894 if test $gcc_cv_math_func_cacosf128 = yes; then
29896 cat >>confdefs.h
<<_ACEOF
29897 #define HAVE_CACOSF128 1
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29906 $as_echo_n "checking for cacoshf128... " >&6; }
29907 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29908 $as_echo_n "(cached) " >&6
29910 if test x
$gcc_no_link = xyes
; then
29911 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29916 #ifdef HAVE_COMPLEX_H
29917 #include <complex.h>
29923 int (*ptr)() = (int (*)())cacoshf128;
29932 if ac_fn_c_try_link
"$LINENO"; then :
29933 gcc_cv_math_func_cacoshf128
=yes
29935 gcc_cv_math_func_cacoshf128
=no
29937 rm -f core conftest.err conftest.
$ac_objext \
29938 conftest
$ac_exeext conftest.
$ac_ext
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29941 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29942 if test $gcc_cv_math_func_cacoshf128 = yes; then
29944 cat >>confdefs.h
<<_ACEOF
29945 #define HAVE_CACOSHF128 1
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29954 $as_echo_n "checking for casinf128... " >&6; }
29955 if ${gcc_cv_math_func_casinf128+:} false
; then :
29956 $as_echo_n "(cached) " >&6
29958 if test x
$gcc_no_link = xyes
; then
29959 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29962 /* end confdefs.h. */
29964 #ifdef HAVE_COMPLEX_H
29965 #include <complex.h>
29971 int (*ptr)() = (int (*)())casinf128;
29980 if ac_fn_c_try_link
"$LINENO"; then :
29981 gcc_cv_math_func_casinf128
=yes
29983 gcc_cv_math_func_casinf128
=no
29985 rm -f core conftest.err conftest.
$ac_objext \
29986 conftest
$ac_exeext conftest.
$ac_ext
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29989 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29990 if test $gcc_cv_math_func_casinf128 = yes; then
29992 cat >>confdefs.h
<<_ACEOF
29993 #define HAVE_CASINF128 1
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
30002 $as_echo_n "checking for casinhf128... " >&6; }
30003 if ${gcc_cv_math_func_casinhf128+:} false
; then :
30004 $as_echo_n "(cached) " >&6
30006 if test x
$gcc_no_link = xyes
; then
30007 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30010 /* end confdefs.h. */
30012 #ifdef HAVE_COMPLEX_H
30013 #include <complex.h>
30019 int (*ptr)() = (int (*)())casinhf128;
30028 if ac_fn_c_try_link
"$LINENO"; then :
30029 gcc_cv_math_func_casinhf128
=yes
30031 gcc_cv_math_func_casinhf128
=no
30033 rm -f core conftest.err conftest.
$ac_objext \
30034 conftest
$ac_exeext conftest.
$ac_ext
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
30037 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
30038 if test $gcc_cv_math_func_casinhf128 = yes; then
30040 cat >>confdefs.h
<<_ACEOF
30041 #define HAVE_CASINHF128 1
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
30050 $as_echo_n "checking for catanf128... " >&6; }
30051 if ${gcc_cv_math_func_catanf128+:} false
; then :
30052 $as_echo_n "(cached) " >&6
30054 if test x
$gcc_no_link = xyes
; then
30055 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30060 #ifdef HAVE_COMPLEX_H
30061 #include <complex.h>
30067 int (*ptr)() = (int (*)())catanf128;
30076 if ac_fn_c_try_link
"$LINENO"; then :
30077 gcc_cv_math_func_catanf128
=yes
30079 gcc_cv_math_func_catanf128
=no
30081 rm -f core conftest.err conftest.
$ac_objext \
30082 conftest
$ac_exeext conftest.
$ac_ext
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
30085 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
30086 if test $gcc_cv_math_func_catanf128 = yes; then
30088 cat >>confdefs.h
<<_ACEOF
30089 #define HAVE_CATANF128 1
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
30098 $as_echo_n "checking for catanhf128... " >&6; }
30099 if ${gcc_cv_math_func_catanhf128+:} false
; then :
30100 $as_echo_n "(cached) " >&6
30102 if test x
$gcc_no_link = xyes
; then
30103 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30106 /* end confdefs.h. */
30108 #ifdef HAVE_COMPLEX_H
30109 #include <complex.h>
30115 int (*ptr)() = (int (*)())catanhf128;
30124 if ac_fn_c_try_link
"$LINENO"; then :
30125 gcc_cv_math_func_catanhf128
=yes
30127 gcc_cv_math_func_catanhf128
=no
30129 rm -f core conftest.err conftest.
$ac_objext \
30130 conftest
$ac_exeext conftest.
$ac_ext
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30133 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30134 if test $gcc_cv_math_func_catanhf128 = yes; then
30136 cat >>confdefs.h
<<_ACEOF
30137 #define HAVE_CATANHF128 1
30143 # Check whether the system has a working stat()
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30146 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30147 if ${libgfor_cv_have_working_stat+:} false
; then :
30148 $as_echo_n "(cached) " >&6
30151 if test "$cross_compiling" = yes; then :
30153 case "${target}" in
30154 *mingw
*) libgfor_cv_have_working_stat
=no
;;
30155 *) libgfor_cv_have_working_stat
=yes;;
30158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30162 #include <sys/types.h>
30163 #include <sys/stat.h>
30164 #include <unistd.h>
30169 struct stat st1, st2;
30171 f = fopen ("foo", "w");
30172 g = fopen ("bar", "w");
30173 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30175 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30182 if ac_fn_c_try_run
"$LINENO"; then :
30183 libgfor_cv_have_working_stat
=yes
30185 libgfor_cv_have_working_stat
=no
30187 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30188 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30193 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30194 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30196 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30200 # Check whether __mingw_snprintf() is present
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30203 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30204 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30205 $as_echo_n "(cached) " >&6
30208 if test x
$gcc_no_link = xyes
; then
30209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30215 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30221 __mingw_snprintf (NULL, 0, "%d\n", 1);
30227 if ac_fn_c_try_link
"$LINENO"; then :
30228 eval "libgfor_cv_have_mingw_snprintf=yes"
30230 eval "libgfor_cv_have_mingw_snprintf=no"
30232 rm -f core conftest.err conftest.
$ac_objext \
30233 conftest
$ac_exeext conftest.
$ac_ext
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30237 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30238 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30240 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30245 have_iec_60559_libc_support
=no
30246 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30247 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30248 have_iec_60559_libc_support
=yes
30251 # Check whether libquadmath should be used
30252 # Check whether --enable-libquadmath-support was given.
30253 if test "${enable_libquadmath_support+set}" = set; then :
30254 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30256 if test "x$have_iec_60559_libc_support" = xyes
; then
30257 ENABLE_LIBQUADMATH_SUPPORT
=default
30259 ENABLE_LIBQUADMATH_SUPPORT
=yes
30263 enable_libquadmath_support
=
30264 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30265 enable_libquadmath_support
=no
30266 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30267 enable_libquadmath_support
=default
30270 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30271 # and have_iec_60559_libc_support.
30279 if test "x$enable_libquadmath_support" != xno
; then
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30282 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30283 if ${libgfor_cv_have_float128+:} false
; then :
30284 $as_echo_n "(cached) " >&6
30287 if test x
$gcc_no_link = xyes
; then
30288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30291 _Float128 foo (_Float128 x)
30293 _Complex _Float128 z1, z2;
30299 return (_Float128) z2;
30302 _Float128 bar (_Float128 x)
30304 return x * __builtin_huge_valf128 ();
30307 __float128 baz (__float128 x)
30309 return x * __builtin_huge_valf128 ();
30327 if ac_fn_c_try_compile
"$LINENO"; then :
30329 libgfor_cv_have_float128
=yes
30333 libgfor_cv_have_float128
=no
30336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30338 if test x
$gcc_no_link = xyes
; then
30339 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30344 _Float128 foo (_Float128 x)
30346 _Complex _Float128 z1, z2;
30352 return (_Float128) z2;
30355 _Float128 bar (_Float128 x)
30357 return x * __builtin_huge_valf128 ();
30360 __float128 baz (__float128 x)
30362 return x * __builtin_huge_valf128 ();
30380 if ac_fn_c_try_link
"$LINENO"; then :
30382 libgfor_cv_have_float128
=yes
30386 libgfor_cv_have_float128
=no
30389 rm -f core conftest.err conftest.
$ac_objext \
30390 conftest
$ac_exeext conftest.
$ac_ext
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30394 $as_echo "$libgfor_cv_have_float128" >&6; }
30396 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30401 if test "x$libgfor_cv_have_float128" = xyes
; then
30402 if test "x$USE_IEC_60559" = xyes
; then
30404 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30408 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30411 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30413 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30414 if ${libgfor_cv_have_as_needed+:} false
; then :
30415 $as_echo_n "(cached) " >&6
30418 # Test for native Solaris options first.
30419 # No whitespace after -z to pass it through -Wl.
30420 libgfor_cv_as_needed_option
="-zignore"
30421 libgfor_cv_no_as_needed_option
="-zrecord"
30422 save_LDFLAGS
="$LDFLAGS"
30423 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30424 libgfor_cv_have_as_needed
=no
30426 ac_c_werror_flag
=yes
30427 if test x
$gcc_no_link = xyes
; then
30428 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h. */
30441 if ac_fn_c_try_link
"$LINENO"; then :
30442 libgfor_cv_have_as_needed
=yes
30444 libgfor_cv_have_as_needed
=no
30446 rm -f core conftest.err conftest.
$ac_objext \
30447 conftest
$ac_exeext conftest.
$ac_ext
30448 LDFLAGS
="$save_LDFLAGS"
30449 if test "x$libgfor_cv_have_as_needed" = xno
; then
30450 libgfor_cv_as_needed_option
="--as-needed"
30451 libgfor_cv_no_as_needed_option
="--no-as-needed"
30452 save_LDFLAGS
="$LDFLAGS"
30453 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30454 libgfor_cv_have_as_needed
=no
30456 ac_c_werror_flag
=yes
30457 if test x
$gcc_no_link = xyes
; then
30458 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30471 if ac_fn_c_try_link
"$LINENO"; then :
30472 libgfor_cv_have_as_needed
=yes
30474 libgfor_cv_have_as_needed
=no
30476 rm -f core conftest.err conftest.
$ac_objext \
30477 conftest
$ac_exeext conftest.
$ac_ext
30478 LDFLAGS
="$save_LDFLAGS"
30480 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30484 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30486 touch conftest1.
$ac_objext conftest2.
$ac_objext
30487 LQUADMATH
=-lquadmath
30488 $FC -static-libgfortran -### -o conftest \
30489 conftest1.
$ac_objext -lgfortran conftest2.
$ac_objext 2>&1 >/dev
/null \
30490 |
grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30491 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30492 conftest.cmd
>/dev
/null
2>&1; then
30493 LQUADMATH
="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30494 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30495 conftest.cmd
>/dev
/null
2>&1; then
30496 LQUADMATH
="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30497 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30498 conftest.cmd
>/dev
/null
2>&1; then
30499 LQUADMATH
="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30500 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30501 conftest.cmd
>/dev
/null
2>&1; then
30502 LQUADMATH
="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30504 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest conftest.cmd
30506 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30507 if test "x$USE_IEC_60559" = xyes
; then
30508 LIBQUADSPEC
="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30510 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30513 LIBQUADSPEC
="$LQUADMATH"
30515 if test "x$USE_IEC_60559" != xyes
; then
30516 if test -f ..
/libquadmath
/libquadmath.la
; then
30517 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30518 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30519 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30521 LIBQUADLIB
="-lquadmath"
30536 # Check for GNU libc feenableexcept
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30538 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30539 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30540 $as_echo_n "(cached) " >&6
30542 ac_check_lib_save_LIBS
=$LIBS
30544 if test x
$gcc_no_link = xyes
; then
30545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30548 /* end confdefs.h. */
30550 /* Override any GCC internal prototype to avoid an error.
30551 Use char because int might match the return type of a GCC
30552 builtin and then its argument prototype would still apply. */
30556 char feenableexcept ();
30560 return feenableexcept ();
30565 if ac_fn_c_try_link
"$LINENO"; then :
30566 ac_cv_lib_m_feenableexcept
=yes
30568 ac_cv_lib_m_feenableexcept
=no
30570 rm -f core conftest.err conftest.
$ac_objext \
30571 conftest
$ac_exeext conftest.
$ac_ext
30572 LIBS
=$ac_check_lib_save_LIBS
30574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30575 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30576 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30577 have_feenableexcept
=yes
30578 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30583 # At least for glibc, clock_gettime is in librt. But don't
30584 # pull that in if it still doesn't give us the function we want. This
30585 # test is copied from libgomp, and modified to not link in -lrt as
30586 # libgfortran calls clock_gettime via a weak reference if it's found
30588 if test "$ac_cv_func_clock_gettime" = no
; then
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30590 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30591 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30592 $as_echo_n "(cached) " >&6
30594 ac_check_lib_save_LIBS
=$LIBS
30596 if test x
$gcc_no_link = xyes
; then
30597 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30600 /* end confdefs.h. */
30602 /* Override any GCC internal prototype to avoid an error.
30603 Use char because int might match the return type of a GCC
30604 builtin and then its argument prototype would still apply. */
30608 char clock_gettime ();
30612 return clock_gettime ();
30617 if ac_fn_c_try_link
"$LINENO"; then :
30618 ac_cv_lib_rt_clock_gettime
=yes
30620 ac_cv_lib_rt_clock_gettime
=no
30622 rm -f core conftest.err conftest.
$ac_objext \
30623 conftest
$ac_exeext conftest.
$ac_ext
30624 LIBS
=$ac_check_lib_save_LIBS
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30627 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30628 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30630 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30636 # Check for SysV fpsetmask
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30639 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30640 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30641 $as_echo_n "(cached) " >&6
30644 if test x
$gcc_no_link = xyes
; then
30645 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30648 /* end confdefs.h. */
30650 #if HAVE_FLOATINGPOINT_H
30651 # include <floatingpoint.h>
30652 #endif /* HAVE_FLOATINGPOINT_H */
30654 # include <ieeefp.h>
30655 #endif /* HAVE_IEEEFP_H */
30664 if ac_fn_c_try_link
"$LINENO"; then :
30665 eval "libgfor_cv_have_fpsetmask=yes"
30667 eval "libgfor_cv_have_fpsetmask=no"
30669 rm -f core conftest.err conftest.
$ac_objext \
30670 conftest
$ac_exeext conftest.
$ac_ext
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30674 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30675 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30678 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30682 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30683 #ifdef HAVE_IEEEFP_H
30684 #include <ieeefp.h>
30689 if test "x$ac_cv_type_fp_except" = xyes
; then :
30691 cat >>confdefs.h
<<_ACEOF
30692 #define HAVE_FP_EXCEPT 1
30697 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30698 #ifdef HAVE_IEEEFP_H
30699 #include <ieeefp.h>
30704 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30706 cat >>confdefs.h
<<_ACEOF
30707 #define HAVE_FP_EXCEPT_T 1
30713 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30714 #ifdef HAVE_IEEEFP_H
30715 #include <ieeefp.h>
30720 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30722 cat >>confdefs.h
<<_ACEOF
30723 #define HAVE_FP_RND 1
30728 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30729 #ifdef HAVE_IEEEFP_H
30730 #include <ieeefp.h>
30735 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30737 cat >>confdefs.h
<<_ACEOF
30738 #define HAVE_FP_RND_T 1
30745 # Check whether we have fpsetsticky or fpresetsticky
30746 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30747 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30748 have_fpsetsticky
=yes
30749 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30753 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30754 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30755 have_fpresetsticky
=yes
30756 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30761 # Check for AIX fp_trap and fp_enable
30762 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30763 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30765 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30769 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30770 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30772 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30777 # Check if _SOFT_FLOAT is defined
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30780 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30781 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30782 $as_echo_n "(cached) " >&6
30784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h. */
30801 if ac_fn_c_try_compile
"$LINENO"; then :
30802 ac_cv_defined__SOFT_FLOAT
=yes
30804 ac_cv_defined__SOFT_FLOAT
=no
30806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30809 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30810 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30811 have_soft_float
=yes
30814 # Runs configure.host to set up necessary host-dependent shell variables.
30815 # We then display a message about it, and propagate them through the
30817 .
${srcdir}/configure.
host
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30819 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30821 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30822 FPU_HOST_HEADER
=config
/${fpu_host}.h
30825 # Whether we will build the IEEE modules
30826 if test x
${ieee_support} = xyes
; then
30828 IEEE_SUPPORT_FALSE
='#'
30830 IEEE_SUPPORT_TRUE
='#'
30831 IEEE_SUPPORT_FALSE
=
30836 # Some targets require additional compiler options for IEEE compatibility.
30837 IEEE_FLAGS
="${ieee_flags}"
30840 # Conditionalize the makefile for this target machine.
30842 for f
in ${tmake_file}
30844 if test -f ${srcdir}/config
/$f
30846 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30849 tmake_file
="${tmake_file_}"
30853 # Check for POSIX getpwuid_r
30855 # There are two versions of getpwuid_r, the POSIX one with 5
30856 # arguments, and another one with 4 arguments used by at least HP-UX
30858 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30860 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30861 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30862 $as_echo_n "(cached) " >&6
30865 if test x
$gcc_no_link = xyes
; then
30866 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30872 #include <sys/types.h>
30878 getpwuid_r(0, NULL, NULL, 0, NULL);
30884 if ac_fn_c_try_link
"$LINENO"; then :
30885 libgfor_cv_posix_getpwuid_r
="yes"
30887 libgfor_cv_posix_getpwuid_r
="no"
30889 rm -f core conftest.err conftest.
$ac_objext \
30890 conftest
$ac_exeext conftest.
$ac_ext
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30893 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30895 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30897 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30902 # Check out attribute support.
30904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30905 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30906 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30907 $as_echo_n "(cached) " >&6
30910 save_CFLAGS
="$CFLAGS"
30911 CFLAGS
="$CFLAGS -Werror"
30912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914 void __attribute__((visibility("hidden"))) foo(void) { }
30923 if ac_fn_c_try_compile
"$LINENO"; then :
30924 libgfor_cv_have_attribute_visibility
=yes
30926 libgfor_cv_have_attribute_visibility
=no
30928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30929 CFLAGS
="$save_CFLAGS"
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30932 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30933 if test $libgfor_cv_have_attribute_visibility = yes; then
30935 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30940 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30941 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30942 $as_echo_n "(cached) " >&6
30945 if test x
$gcc_no_link = xyes
; then
30946 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30952 extern void bar(void) __attribute__((alias("foo")));
30961 if ac_fn_c_try_link
"$LINENO"; then :
30962 libgfor_cv_have_attribute_alias
=yes
30964 libgfor_cv_have_attribute_alias
=no
30966 rm -f core conftest.err conftest.
$ac_objext \
30967 conftest
$ac_exeext conftest.
$ac_ext
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30970 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30971 if test $libgfor_cv_have_attribute_alias = yes; then
30973 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30977 # Check out atomic builtins support.
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30980 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30981 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30982 $as_echo_n "(cached) " >&6
30985 if test x
$gcc_no_link = xyes
; then
30986 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30995 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30996 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
31001 if ac_fn_c_try_link
"$LINENO"; then :
31002 libgfor_cv_have_atomic_fetch_add
=yes
31004 libgfor_cv_have_atomic_fetch_add
=no
31006 rm -f core conftest.err conftest.
$ac_objext \
31007 conftest
$ac_exeext conftest.
$ac_ext
31009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
31010 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
31011 if test $libgfor_cv_have_atomic_fetch_add = yes; then
31013 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
31017 # Check out #pragma weak.
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
31020 $as_echo_n "checking whether pragma weak works... " >&6; }
31021 if ${libgfor_cv_have_pragma_weak+:} false
; then :
31022 $as_echo_n "(cached) " >&6
31025 gfor_save_CFLAGS
="$CFLAGS"
31026 CFLAGS
="$CFLAGS -Wunknown-pragmas"
31027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31028 /* end confdefs.h. */
31041 if ac_fn_c_try_compile
"$LINENO"; then :
31042 libgfor_cv_have_pragma_weak
=yes
31044 libgfor_cv_have_pragma_weak
=no
31046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
31049 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
31050 if test $libgfor_cv_have_pragma_weak = yes; then
31052 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
31056 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
31058 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
31063 # Check out weakref support.
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
31066 $as_echo_n "checking whether the target supports weakref... " >&6; }
31067 if ${libgfor_cv_have_weakref+:} false
; then :
31068 $as_echo_n "(cached) " >&6
31071 save_CFLAGS
="$CFLAGS"
31072 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
31073 if test x
$gcc_no_link = xyes
; then
31074 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31077 /* end confdefs.h. */
31079 static int mytoto (int) __attribute__((__weakref__("toto")));
31084 return (mytoto != 0);
31089 if ac_fn_c_try_link
"$LINENO"; then :
31090 libgfor_cv_have_weakref
=yes
31092 libgfor_cv_have_weakref
=no
31094 rm -f core conftest.err conftest.
$ac_objext \
31095 conftest
$ac_exeext conftest.
$ac_ext
31096 CFLAGS
="$save_CFLAGS"
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
31099 $as_echo "$libgfor_cv_have_weakref" >&6; }
31100 if test $libgfor_cv_have_weakref = yes; then
31102 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
31106 # Various other checks on target
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31109 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31110 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
31111 $as_echo_n "(cached) " >&6
31114 if test "$cross_compiling" = yes; then :
31116 case "${target}" in
31117 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
31118 *) libgfor_cv_have_unlink_open_file
=yes;;
31121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31126 #include <unistd.h>
31127 #include <sys/stat.h>
31133 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31136 if (unlink ("testfile") == -1)
31138 write (fd, "This is a test\n", 15);
31141 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31147 if ac_fn_c_try_run
"$LINENO"; then :
31148 libgfor_cv_have_unlink_open_file
=yes
31150 libgfor_cv_have_unlink_open_file
=no
31152 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31153 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31158 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31159 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
31161 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31165 # Check whether line terminator is LF or CRLF
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31168 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31169 if ${libgfor_cv_have_crlf+:} false
; then :
31170 $as_echo_n "(cached) " >&6
31173 if test "$cross_compiling" = yes; then :
31175 case "${target}" in
31176 *mingw
*) libgfor_cv_have_crlf
=yes ;;
31177 *) libgfor_cv_have_crlf
=no
;;
31180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31183 /* This test program should exit with status 0 if system uses a CRLF as
31184 line terminator, and status 1 otherwise.
31185 Since it is used to check for mingw systems, and should return 0 in any
31186 other case, in case of a failure we will not use CRLF. */
31187 #include <sys/stat.h>
31188 #include <stdlib.h>
31200 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31203 if (write (fd, "\n", 1) < 0)
31208 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31210 bytes = read (fd, buff, 5);
31211 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31218 if ac_fn_c_try_run
"$LINENO"; then :
31219 libgfor_cv_have_crlf
=yes
31221 libgfor_cv_have_crlf
=no
31223 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31224 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31229 $as_echo "$libgfor_cv_have_crlf" >&6; }
31230 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31232 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31236 # Check whether we support AVX extensions
31238 ac_save_CFLAGS
="$CFLAGS"
31240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h. */
31243 void _mm256_zeroall (void)
31245 __builtin_ia32_vzeroall ();
31255 if ac_fn_c_try_compile
"$LINENO"; then :
31257 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31261 CFLAGS
="$ac_save_CFLAGS"
31264 # Check whether we support AVX2 extensions
31266 ac_save_CFLAGS
="$CFLAGS"
31267 CFLAGS
="-O2 -mavx2"
31268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31269 /* end confdefs.h. */
31271 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31273 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31275 return __builtin_ia32_andnotsi256 (__X, __Y);
31285 if ac_fn_c_try_compile
"$LINENO"; then :
31287 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31291 CFLAGS
="$ac_save_CFLAGS"
31294 # Check whether we support AVX512f extensions
31296 ac_save_CFLAGS
="$CFLAGS"
31297 CFLAGS
="-O2 -mavx512f"
31298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31301 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31302 __m512d _mm512_add (__m512d a)
31304 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31305 /* For -m64/-mx32 also verify that code will work even if
31306 the target uses call saved zmm16+ and needs to emit
31307 unwind info for them (e.g. on mingw). See PR79127. */
31309 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31321 if ac_fn_c_try_compile
"$LINENO"; then :
31323 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31327 CFLAGS
="$ac_save_CFLAGS"
31330 # Check for FMA3 extensions
31332 ac_save_CFLAGS
="$CFLAGS"
31333 CFLAGS
="-O2 -mfma -mno-fma4"
31334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31335 /* end confdefs.h. */
31337 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31338 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31339 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31341 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31353 if ac_fn_c_try_compile
"$LINENO"; then :
31355 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31359 CFLAGS
="$ac_save_CFLAGS"
31362 # Check for FMA4 extensions
31364 ac_save_CFLAGS
="$CFLAGS"
31365 CFLAGS
="-O2 -mfma4 -mno-fma"
31366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31369 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31370 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31371 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31373 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31385 if ac_fn_c_try_compile
"$LINENO"; then :
31387 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31391 CFLAGS
="$ac_save_CFLAGS"
31394 # Check if AVX128 works
31396 ac_save_CFLAGS
="$CFLAGS"
31397 CFLAGS
="-O2 -mavx -mprefer-avx128"
31398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31412 if ac_fn_c_try_compile
"$LINENO"; then :
31414 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31418 HAVE_AVX128_FALSE
='#'
31420 HAVE_AVX128_TRUE
='#'
31427 HAVE_AVX128_FALSE
='#'
31429 HAVE_AVX128_TRUE
='#'
31434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31435 CFLAGS
="$ac_save_CFLAGS"
31438 # Determine what GCC version number to use in filesystem paths.
31440 get_gcc_base_ver
="cat"
31442 # Check whether --with-gcc-major-version-only was given.
31443 if test "${with_gcc_major_version_only+set}" = set; then :
31444 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31445 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31453 cat >confcache
<<\_ACEOF
31454 # This file is a shell script that caches the results of configure
31455 # tests run on this system so they can be shared between configure
31456 # scripts and configure runs, see configure's option --config-cache.
31457 # It is not useful on other systems. If it contains results you don't
31458 # want to keep, you may remove or edit it.
31460 # config.status only pays attention to the cache file if you give it
31461 # the --recheck option to rerun configure.
31463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31465 # following values.
31469 # The following way of writing the cache mishandles newlines in values,
31470 # but we know of no workaround that is simple, portable, and efficient.
31471 # So, we kill variables containing newlines.
31472 # Ultrix sh set writes to stderr and can't be redirected directly,
31473 # and sets the high bit in the cache file unless we assign to the vars.
31475 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31476 eval ac_val
=\$
$ac_var
31480 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31484 _ | IFS | as_nl
) ;; #(
31485 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31486 *) { eval $ac_var=; unset $ac_var;} ;;
31492 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31493 *${as_nl}ac_space
=\
*)
31494 # `set' does not quote correctly, so add quotes: double-quote
31495 # substitution turns \\\\ into \\, and sed turns \\ into \.
31498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31501 # `set' quotes correctly as required by POSIX, so do not add quotes.
31502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31511 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31513 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31515 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31516 if test -w "$cache_file"; then
31517 if test "x$cache_file" != "x/dev/null"; then
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31519 $as_echo "$as_me: updating cache $cache_file" >&6;}
31520 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31521 cat confcache
>"$cache_file"
31523 case $cache_file in #(
31525 mv -f confcache
"$cache_file"$$
&&
31526 mv -f "$cache_file"$$
"$cache_file" ;; #(
31528 mv -f confcache
"$cache_file" ;;
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31534 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31539 if test ${multilib} = yes; then
31540 multilib_arg
="--enable-multilib"
31545 # Write our Makefile and spec file.
31546 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31548 cat >confcache
<<\_ACEOF
31549 # This file is a shell script that caches the results of configure
31550 # tests run on this system so they can be shared between configure
31551 # scripts and configure runs, see configure's option --config-cache.
31552 # It is not useful on other systems. If it contains results you don't
31553 # want to keep, you may remove or edit it.
31555 # config.status only pays attention to the cache file if you give it
31556 # the --recheck option to rerun configure.
31558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31560 # following values.
31564 # The following way of writing the cache mishandles newlines in values,
31565 # but we know of no workaround that is simple, portable, and efficient.
31566 # So, we kill variables containing newlines.
31567 # Ultrix sh set writes to stderr and can't be redirected directly,
31568 # and sets the high bit in the cache file unless we assign to the vars.
31570 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31571 eval ac_val
=\$
$ac_var
31575 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31579 _ | IFS | as_nl
) ;; #(
31580 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31581 *) { eval $ac_var=; unset $ac_var;} ;;
31587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31588 *${as_nl}ac_space
=\
*)
31589 # `set' does not quote correctly, so add quotes: double-quote
31590 # substitution turns \\\\ into \\, and sed turns \\ into \.
31593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31596 # `set' quotes correctly as required by POSIX, so do not add quotes.
31597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31610 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31611 if test -w "$cache_file"; then
31612 if test "x$cache_file" != "x/dev/null"; then
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31614 $as_echo "$as_me: updating cache $cache_file" >&6;}
31615 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31616 cat confcache
>"$cache_file"
31618 case $cache_file in #(
31620 mv -f confcache
"$cache_file"$$
&&
31621 mv -f "$cache_file"$$
"$cache_file" ;; #(
31623 mv -f confcache
"$cache_file" ;;
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31634 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31635 # Let make expand exec_prefix.
31636 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31638 DEFS
=-DHAVE_CONFIG_H
31643 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31644 # 1. Remove the extension, and $U if already installed.
31645 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31646 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31648 # will be set to the directory where LIBOBJS objects are built.
31649 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31650 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31652 LIBOBJS
=$ac_libobjs
31654 LTLIBOBJS
=$ac_ltlibobjs
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31658 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31659 if test -n "$am_sleep_pid"; then
31660 # Hide warnings about reused PIDs.
31661 wait $am_sleep_pid 2>/dev
/null
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31664 $as_echo "done" >&6; }
31665 if test -n "$EXEEXT"; then
31667 am__EXEEXT_FALSE
='#'
31669 am__EXEEXT_TRUE
='#'
31673 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31674 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31677 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31678 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31682 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31685 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31686 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31689 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31690 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31693 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31694 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31697 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31698 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31701 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31702 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31705 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31706 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31709 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31710 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31713 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
31714 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
31715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31717 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31718 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31721 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31722 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31725 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31726 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31730 : "${CONFIG_STATUS=./config.status}"
31732 ac_clean_files_save
=$ac_clean_files
31733 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31739 # Generated by $as_me.
31740 # Run this file to recreate the current configuration.
31741 # Compiler output produced by configure, useful for debugging
31742 # configure, is in config.log if it exists.
31745 ac_cs_recheck=false
31748 SHELL=\${CONFIG_SHELL-$SHELL}
31751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31752 ## -------------------- ##
31753 ## M4sh Initialization. ##
31754 ## -------------------- ##
31756 # Be more Bourne compatible
31757 DUALCASE
=1; export DUALCASE
# for MKS sh
31758 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31762 # is contrary to our usage. Disable this feature.
31763 alias -g '${1+"$@"}'='"$@"'
31764 setopt NO_GLOB_SUBST
31766 case `(set -o) 2>/dev/null` in #(
31778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31779 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31782 # Prefer a ksh shell builtin over an external printf program on Solaris,
31783 # but without wasting forks for bash or zsh.
31784 if test -z "$BASH_VERSION$ZSH_VERSION" \
31785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31786 as_echo='print
-r --'
31787 as_echo_n='print
-rn --'
31788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31789 as_echo='printf %s
\n'
31790 as_echo_n='printf %s
'
31792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31793 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31794 as_echo_n='/usr
/ucb
/echo -n'
31796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31797 as_echo_n_body='eval
31801 expr "X$arg" : "X\\(.*\\)$as_nl";
31802 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31804 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31806 export as_echo_n_body
31807 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31809 export as_echo_body
31810 as_echo='sh
-c $as_echo_body as_echo
'
31813 # The user is always right.
31814 if test "${PATH_SEPARATOR+set}" != set; then
31816 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31817 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31824 # We need space, tab and new line, in precisely that order. Quoting is
31825 # there to prevent editors from complaining about space-tab.
31826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31827 # splitting by setting IFS to empty value.)
31830 # Find who we are. Look in the path if we contain no directory separator.
31833 *[\\/]* ) as_myself=$0 ;;
31834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31835 for as_dir in $PATH
31838 test -z "$as_dir" && as_dir=.
31839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31845 # We did not find ourselves, most probably we were run as `sh COMMAND'
31846 # in which case we are not to be found in the path.
31847 if test "x$as_myself" = x
; then
31850 if test ! -f "$as_myself"; then
31851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31855 # Unset variables that we do not need and which cause bugs (e.g. in
31856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31857 # suppresses any "Segmentation fault" message there. '((' could
31858 # trigger a bug in pdksh 5.2.14.
31859 for as_var
in BASH_ENV ENV MAIL MAILPATH
31860 do eval test x\
${$as_var+set} = xset \
31861 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31874 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31878 # ----------------------------------------
31879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31881 # script with STATUS, using 1 if that was 0.
31884 as_status
=$1; test $as_status -eq 0 && as_status
=1
31886 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31889 $as_echo "$as_me: error: $2" >&2
31890 as_fn_exit
$as_status
31894 # as_fn_set_status STATUS
31895 # -----------------------
31896 # Set $? to STATUS, without forking.
31897 as_fn_set_status
()
31900 } # as_fn_set_status
31902 # as_fn_exit STATUS
31903 # -----------------
31904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31908 as_fn_set_status
$1
31914 # Portably unset VAR.
31917 { eval $1=; unset $1;}
31919 as_unset
=as_fn_unset
31920 # as_fn_append VAR VALUE
31921 # ----------------------
31922 # Append the text in VALUE to the end of the definition contained in VAR. Take
31923 # advantage of any shell optimizations that allow amortized linear growth over
31924 # repeated appends, instead of the typical quadratic growth present in naive
31926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31927 eval 'as_fn_append ()
31938 # as_fn_arith ARG...
31939 # ------------------
31940 # Perform arithmetic evaluation on the ARGs, and store the result in the
31941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31942 # must be portable across $(()) and expr.
31943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31944 eval 'as_fn_arith ()
31951 as_val
=`expr "$@" || test $? -eq 1`
31956 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31957 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31963 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31964 as_basename
=basename
31969 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31975 as_me
=`$as_basename -- "$0" ||
31976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31977 X"$0" : 'X\(//\)$' \| \
31978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31980 sed '/^.*\/\([^/][^/]*\)\/*$/{
31994 # Avoid depending upon Character Ranges.
31995 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31996 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31997 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31998 as_cr_digits
='0123456789'
31999 as_cr_alnum
=$as_cr_Letters$as_cr_digits
32001 ECHO_C
= ECHO_N
= ECHO_T
=
32002 case `echo -n x` in #(((((
32004 case `echo 'xy\c'` in
32005 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
32007 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
32014 rm -f conf$$ conf$$.exe conf$$.
file
32015 if test -d conf$$.dir
; then
32016 rm -f conf$$.dir
/conf$$.
file
32019 mkdir conf$$.dir
2>/dev
/null
32021 if (echo >conf$$.
file) 2>/dev
/null
; then
32022 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
32024 # ... but there are two gotchas:
32025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32027 # In both cases, we have to default to `cp -pR'.
32028 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
32030 elif ln conf$$.
file conf$$
2>/dev
/null
; then
32038 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
32039 rmdir conf$$.dir
2>/dev
/null
32044 # Create "$as_dir" as a directory, including parents if necessary.
32049 -*) as_dir
=.
/$as_dir;;
32051 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
32055 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32056 *) as_qdir
=$as_dir;;
32058 as_dirs
="'$as_qdir' $as_dirs"
32059 as_dir
=`$as_dirname -- "$as_dir" ||
32060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32061 X"$as_dir" : 'X\(//\)[^/]' \| \
32062 X"$as_dir" : 'X\(//\)$' \| \
32063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32064 $as_echo X"$as_dir" |
32065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32069 /^X\(\/\/\)[^/].*/{
32082 test -d "$as_dir" && break
32084 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
32085 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
32089 if mkdir
-p .
2>/dev
/null
; then
32090 as_mkdir_p
='mkdir -p "$as_dir"'
32092 test -d .
/-p && rmdir .
/-p
32097 # as_fn_executable_p FILE
32098 # -----------------------
32099 # Test if FILE is an executable regular file.
32100 as_fn_executable_p
()
32102 test -f "$1" && test -x "$1"
32103 } # as_fn_executable_p
32104 as_test_x
='test -x'
32105 as_executable_p
=as_fn_executable_p
32107 # Sed expression to map a string onto a valid CPP name.
32108 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32110 # Sed expression to map a string onto a valid variable name.
32111 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32115 ## ----------------------------------- ##
32116 ## Main body of $CONFIG_STATUS script. ##
32117 ## ----------------------------------- ##
32119 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
32121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32122 # Save the log message, to keep $0 and so on meaningful, and to
32123 # report actual input values of CONFIG_FILES etc. instead of their
32124 # values after options handling.
32126 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32127 generated by GNU Autoconf 2.69. Invocation command line was
32129 CONFIG_FILES = $CONFIG_FILES
32130 CONFIG_HEADERS = $CONFIG_HEADERS
32131 CONFIG_LINKS = $CONFIG_LINKS
32132 CONFIG_COMMANDS = $CONFIG_COMMANDS
32135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32140 case $ac_config_files in *"
32141 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
32144 case $ac_config_headers in *"
32145 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
32149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32150 # Files that config.status was made for.
32151 config_files="$ac_config_files"
32152 config_headers="$ac_config_headers"
32153 config_commands="$ac_config_commands"
32157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32159 \`$as_me' instantiates files and other configuration actions
32160 from templates according to the current configuration. Unless the files
32161 and actions are specified as TAGs, all are instantiated by default.
32163 Usage: $0 [OPTION]... [TAG]...
32165 -h, --help print this help, then exit
32166 -V, --version print version number and configuration settings, then exit
32167 --config print configuration, then exit
32168 -q, --quiet, --silent
32169 do not print progress messages
32170 -d, --debug don't remove temporary files
32171 --recheck update $as_me by reconfiguring in the same conditions
32172 --file=FILE[:TEMPLATE]
32173 instantiate the configuration file FILE
32174 --header=FILE[:TEMPLATE]
32175 instantiate the configuration header FILE
32177 Configuration files:
32180 Configuration headers:
32183 Configuration commands:
32186 Report bugs to the package provider.
32187 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32188 General help using GNU software: <http://www.gnu.org/gethelp/>."
32191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32192 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32194 GNU Fortran Runtime Library config.status 0.3
32195 configured by $0, generated by GNU Autoconf 2.69,
32196 with options \\"\$ac_cs_config\\"
32198 Copyright (C) 2012 Free Software Foundation, Inc.
32199 This config.status script is free software; the Free Software Foundation
32200 gives unlimited permission to copy, distribute and modify it."
32207 test -n "\$AWK" || AWK=awk
32210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32211 # The default lists apply if the user does not specify any file.
32217 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32218 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32222 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32234 # Handling of the options.
32235 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32237 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32238 $as_echo "$ac_cs_version"; exit ;;
32239 --config |
--confi |
--conf |
--con |
--co |
--c )
32240 $as_echo "$ac_cs_config"; exit ;;
32241 --debug |
--debu |
--deb |
--de |
--d |
-d )
32243 --file |
--fil |
--fi |
--f )
32246 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32247 '') as_fn_error $?
"missing file argument" ;;
32249 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32250 ac_need_defaults
=false
;;
32251 --header |
--heade |
--head |
--hea )
32254 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32256 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32257 ac_need_defaults
=false
;;
32259 # Conflict between --help and --header
32260 as_fn_error $?
"ambiguous option: \`$1'
32261 Try \`$0 --help' for more information.";;
32262 --help |
--hel |
-h )
32263 $as_echo "$ac_cs_usage"; exit ;;
32264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32265 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32268 # This is an error.
32269 -*) as_fn_error $?
"unrecognized option: \`$1'
32270 Try \`$0 --help' for more information." ;;
32272 *) as_fn_append ac_config_targets
" $1"
32273 ac_need_defaults
=false
;;
32279 ac_configure_extra_args
=
32281 if $ac_cs_silent; then
32283 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32288 if \$ac_cs_recheck; then
32289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32292 CONFIG_SHELL='$SHELL'
32293 export CONFIG_SHELL
32298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32303 ## Running $as_me. ##
32309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32317 with_multisubdir="$with_multisubdir"
32318 with_multisrctop="$with_multisrctop"
32319 with_target_subdir="$with_target_subdir"
32320 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32321 multi_basedir="$multi_basedir"
32322 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32325 GFORTRAN="$GFORTRAN"
32327 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32330 # The HP-UX ksh and POSIX shell print the target directory to stdout
32331 # if CDPATH is set.
32332 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32334 sed_quote_subst='$sed_quote_subst'
32335 double_quote_subst='$double_quote_subst'
32336 delay_variable_subst='$delay_variable_subst'
32337 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32338 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32339 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32340 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32341 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32344 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32345 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32346 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32347 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32348 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32349 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32350 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32351 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32352 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32353 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32354 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32355 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32356 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32357 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32358 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32359 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32360 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32361 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32362 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32363 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32364 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32365 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32366 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32367 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32368 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32369 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32370 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32371 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32372 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32373 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32374 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32375 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32376 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32377 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32378 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32379 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32380 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32381 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32382 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32383 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32384 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32385 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"`'
32386 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32387 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32388 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32389 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32390 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32391 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32392 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32393 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32394 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32395 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32396 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32397 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32398 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32399 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32400 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32401 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32402 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32403 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32404 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32405 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32406 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32407 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32408 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32409 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32410 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32411 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32412 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32413 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32414 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32415 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32416 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32417 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32418 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32419 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32420 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32421 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32422 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32423 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32424 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32425 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32426 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32427 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32428 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32429 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32430 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32431 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32432 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32433 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32434 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32435 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32436 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32437 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32438 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32439 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32440 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32441 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32442 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32443 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32444 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32445 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32446 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32447 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32448 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32449 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32450 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32451 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32452 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32453 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32454 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32455 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32456 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32457 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32458 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32459 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32460 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32461 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32462 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32463 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32464 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32465 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32466 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32467 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32468 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32469 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32470 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32471 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32472 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32473 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32474 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32475 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32476 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32477 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32478 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32479 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32480 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32481 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32482 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32483 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32484 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32485 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32486 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32487 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32488 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32489 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32490 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32491 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32492 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32493 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32494 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32495 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32496 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32497 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32498 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32499 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32500 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32501 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32502 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32503 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32504 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32505 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32506 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32507 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32508 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32509 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32510 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32511 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32514 LTCFLAGS='$LTCFLAGS'
32515 compiler='$compiler_DEFAULT'
32517 # A function that is used when there is no print builtin or printf.
32518 func_fallback_echo ()
32520 eval 'cat <<_LTECHO_EOF
32525 # Quote evaled strings.
32539 deplibs_check_method \
32548 lt_cv_sys_global_symbol_pipe \
32549 lt_cv_sys_global_symbol_to_cdecl \
32550 lt_cv_sys_global_symbol_to_c_name_address \
32551 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32552 lt_prog_compiler_no_builtin_flag \
32553 lt_prog_compiler_wl \
32554 lt_prog_compiler_pic \
32555 lt_prog_compiler_static \
32556 lt_cv_prog_compiler_c_o \
32564 export_dynamic_flag_spec \
32565 whole_archive_flag_spec \
32566 compiler_needs_object \
32568 allow_undefined_flag \
32569 no_undefined_flag \
32570 hardcode_libdir_flag_spec \
32571 hardcode_libdir_flag_spec_ld \
32572 hardcode_libdir_separator \
32577 variables_saved_for_relink \
32579 library_names_spec \
32581 install_override_mode \
32585 compiler_lib_search_dirs \
32590 compiler_lib_search_path \
32594 lt_prog_compiler_no_builtin_flag_FC \
32595 lt_prog_compiler_wl_FC \
32596 lt_prog_compiler_pic_FC \
32597 lt_prog_compiler_static_FC \
32598 lt_cv_prog_compiler_c_o_FC \
32599 export_dynamic_flag_spec_FC \
32600 whole_archive_flag_spec_FC \
32601 compiler_needs_object_FC \
32603 allow_undefined_flag_FC \
32604 no_undefined_flag_FC \
32605 hardcode_libdir_flag_spec_FC \
32606 hardcode_libdir_flag_spec_ld_FC \
32607 hardcode_libdir_separator_FC \
32608 fix_srcfile_path_FC \
32609 exclude_expsyms_FC \
32610 include_expsyms_FC \
32611 file_list_spec_FC \
32612 compiler_lib_search_dirs_FC \
32613 predep_objects_FC \
32614 postdep_objects_FC \
32617 compiler_lib_search_path_FC; do
32618 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32619 *[\\\\\\\`\\"\\\$]*)
32620 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32623 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32628 # Double-quote double-evaled strings.
32629 for var in reload_cmds \
32630 old_postinstall_cmds \
32631 old_postuninstall_cmds \
32633 extract_expsyms_cmds \
32634 old_archive_from_new_cmds \
32635 old_archive_from_expsyms_cmds \
32637 archive_expsym_cmds \
32639 module_expsym_cmds \
32640 export_symbols_cmds \
32643 postuninstall_cmds \
32645 sys_lib_search_path_spec \
32646 sys_lib_dlsearch_path_spec \
32648 old_archive_cmds_FC \
32649 old_archive_from_new_cmds_FC \
32650 old_archive_from_expsyms_cmds_FC \
32652 archive_expsym_cmds_FC \
32654 module_expsym_cmds_FC \
32655 export_symbols_cmds_FC \
32656 prelink_cmds_FC; do
32657 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32658 *[\\\\\\\`\\"\\\$]*)
32659 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32662 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32667 ac_aux_dir='$ac_aux_dir'
32668 xsi_shell='$xsi_shell'
32669 lt_shell_append='$lt_shell_append'
32671 # See if we are running on zsh, and set the options which allow our
32672 # commands through without removal of \ escapes INIT.
32673 if test -n "\${ZSH_VERSION+set}" ; then
32674 setopt NO_GLOB_SUBST
32680 TIMESTAMP='$TIMESTAMP'
32691 acx_cv_header_stdint="$acx_cv_header_stdint"
32692 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32693 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32694 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32695 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32696 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32697 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32698 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32699 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32700 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32701 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32702 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32703 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32704 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32711 # Handling of arguments.
32712 for ac_config_target
in $ac_config_targets
32714 case $ac_config_target in
32715 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32716 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32717 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32718 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32719 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32720 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32721 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32723 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32728 # If the user did not use the arguments to specify the items to instantiate,
32729 # then the envvar interface is used. Set only those that are not.
32730 # We use the long form for the default assignment because of an extremely
32731 # bizarre bug on SunOS 4.1.3.
32732 if $ac_need_defaults; then
32733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32738 # Have a temporary directory for convenience. Make it in the build tree
32739 # simply because there is no reason against having it here, and in addition,
32740 # creating and moving files from /tmp can sometimes cause problems.
32741 # Hook for its removal unless debugging.
32742 # Note that there is a small window in which the directory will not be cleaned:
32743 # after its creation but before its name has been assigned to `$tmp'.
32747 trap 'exit_status=$?
32748 : "${ac_tmp:=$tmp}"
32749 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32751 trap 'as_fn_exit 1' 1 2 13 15
32753 # Create a (secure) tmp directory for tmp files.
32756 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32760 tmp
=.
/conf$$
-$RANDOM
32761 (umask 077 && mkdir
"$tmp")
32762 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32765 # Set up the scripts for CONFIG_FILES section.
32766 # No need to generate them if there are no CONFIG_FILES.
32767 # This happens for instance with `./config.status config.h'.
32768 if test -n "$CONFIG_FILES"; then
32771 ac_cr
=`echo X | tr X '\015'`
32772 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32773 # But we know of no other shell where ac_cr would be empty at this
32774 # point, so we can use a bashism as a fallback.
32775 if test "x$ac_cr" = x
; then
32776 eval ac_cr
=\$
\'\\r
\'
32778 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32779 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32782 ac_cs_awk_cr
=$ac_cr
32785 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32790 echo "cat >conf$$subs.awk <<_ACEOF" &&
32791 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32793 } >conf$$subs.sh ||
32794 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32795 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32797 for ac_last_try in false false false false false :; do
32798 . ./conf$$subs.sh ||
32799 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32801 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32802 if test $ac_delim_n = $ac_delim_num; then
32804 elif $ac_last_try; then
32805 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32807 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32810 rm -f conf$$subs.sh
32812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32813 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32817 s/^/S["/; s
/!.
*/"]=/
32827 s/\(.\{148\}\)..*/\1/
32829 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32834 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32841 s/\(.\{148\}\)..*/\1/
32843 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32847 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32852 ' <conf$$subs.awk | sed '
32857 ' >>$CONFIG_STATUS || ac_write_fail=1
32858 rm -f conf$$subs.awk
32859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32861 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32862 for (key in S) S_is_set[key] = 1
32868 nfields = split(line, field, "@
")
32870 len = length(field[1])
32871 for (i = 2; i < nfields; i++) {
32873 keylen = length(key)
32874 if (S_is_set[key]) {
32876 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32877 len += length(value) + length(field[++i])
32888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32889 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32890 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32893 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32894 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32897 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32898 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32899 # trailing colons and then remove the whole line if VPATH becomes empty
32900 # (actually we leave an empty line to preserve line numbers).
32901 if test "x
$srcdir" = x.; then
32902 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32921 fi # test -n "$CONFIG_FILES"
32923 # Set up the scripts for CONFIG_HEADERS section.
32924 # No need to generate them if there are no CONFIG_HEADERS.
32925 # This happens for instance with `./config.status Makefile'.
32926 if test -n "$CONFIG_HEADERS"; then
32927 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32931 # Transform confdefs.h into an awk script `defines.awk', embedded as
32932 # here-document in config.status, that substitutes the proper values into
32933 # config.h.in to produce config.h.
32935 # Create a delimiter string that does not exist in confdefs.h, to ease
32936 # handling of long lines.
32938 for ac_last_try in false false :; do
32939 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32940 if test -z "$ac_tt"; then
32942 elif $ac_last_try; then
32943 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32945 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32949 # For the awk script, D is an array of macro values keyed by name,
32950 # likewise P contains macro parameters if any. Preserve backslash
32951 # newline sequences.
32953 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32955 s/.\{148\}/&'"$ac_delim"'/g
32958 s/^[ ]*#[ ]*define[ ][ ]*/ /
32965 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32967 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32972 D["\
1"]=" \
3\\\\\\n
"\\/p
32974 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32979 s/.\{148\}/&'"$ac_delim"'/g
32984 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32987 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32989 ' <confdefs.h | sed '
32990 s/'"$ac_delim"'/"\\\
32991 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32994 for (key in D) D_is_set[key] = 1
32997 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32999 split(line, arg, " ")
33000 if (arg[1] == "#") {
33004 defundef
= substr
(arg
[1], 2)
33007 split(mac1
, mac2
, "(") #)
33009 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
33010 if (D_is_set
[macro
]) {
33011 # Preserve the white space surrounding the "#".
33012 print prefix
"define", macro P
[macro
] D
[macro
]
33015 # Replace #undef with comments. This is necessary, for example,
33016 # in the case of _POSIX_SOURCE, which is predefined and required
33017 # on some systems where configure will not decide to define it.
33018 if (defundef
== "undef") {
33019 print
"/*", prefix defundef
, macro
, "*/"
33027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33028 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
33029 fi # test -n "$CONFIG_HEADERS"
33032 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33037 :[FHLC
]) ac_mode
=$ac_tag; continue;;
33039 case $ac_mode$ac_tag in
33041 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
33042 :[FH
]-) ac_tag
=-:-;;
33043 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
33060 -) ac_f
="$ac_tmp/stdin";;
33061 *) # Look for the file first in the build tree, then in the source tree
33062 # (if the path is not absolute). The absolute path cannot be DOS-style,
33063 # because $ac_f cannot contain `:'.
33067 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
33069 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33071 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33072 as_fn_append ac_file_inputs
" '$ac_f'"
33075 # Let's still pretend it is `configure' which instantiates (i.e., don't
33076 # use $as_me), people would be surprised to read:
33077 # /* config.h. Generated by config.status. */
33078 configure_input
='Generated from '`
33079 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33081 if test x
"$ac_file" != x-
; then
33082 configure_input
="$ac_file. $configure_input"
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33084 $as_echo "$as_me: creating $ac_file" >&6;}
33086 # Neutralize special characters interpreted by sed in replacement strings.
33087 case $configure_input in #(
33088 *\
&* |
*\|
* |
*\\* )
33089 ac_sed_conf_input
=`$as_echo "$configure_input" |
33090 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33091 *) ac_sed_conf_input
=$configure_input;;
33095 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
33096 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
33101 ac_dir
=`$as_dirname -- "$ac_file" ||
33102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33103 X"$ac_file" : 'X\(//\)[^/]' \| \
33104 X"$ac_file" : 'X\(//\)$' \| \
33105 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33106 $as_echo X"$ac_file" |
33107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33111 /^X\(\/\/\)[^/].*/{
33124 as_dir
="$ac_dir"; as_fn_mkdir_p
33128 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33130 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33131 # A ".." for each directory in $ac_dir_suffix.
33132 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33133 case $ac_top_builddir_sub in
33134 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33135 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
33138 ac_abs_top_builddir
=$ac_pwd
33139 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
33140 # for backward compatibility:
33141 ac_top_builddir
=$ac_top_build_prefix
33144 .
) # We are building in place.
33146 ac_top_srcdir
=$ac_top_builddir_sub
33147 ac_abs_top_srcdir
=$ac_pwd ;;
33148 [\\/]* | ?
:[\\/]* ) # Absolute name.
33149 ac_srcdir
=$srcdir$ac_dir_suffix;
33150 ac_top_srcdir
=$srcdir
33151 ac_abs_top_srcdir
=$srcdir ;;
33152 *) # Relative name.
33153 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33154 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33155 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33157 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33167 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33168 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33170 ac_MKDIR_P
=$MKDIR_P
33172 [\\/$
]* | ?
:[\\/]* ) ;;
33173 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
33177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33178 # If the template does not know about datarootdir, expand it.
33179 # FIXME: This hack should be removed a few years after 2.60.
33180 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33191 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33192 *datarootdir
*) ac_datarootdir_seen
=yes;;
33193 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33195 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33198 ac_datarootdir_hack='
33199 s&@datadir@&$datadir&g
33200 s&@docdir@&$docdir&g
33201 s&@infodir@&$infodir&g
33202 s&@localedir@&$localedir&g
33203 s&@mandir@&$mandir&g
33204 s&\\\${datarootdir}&$datarootdir&g' ;;
33208 # Neutralize VPATH when `$srcdir' = `.'.
33209 # Shell code in configure.ac might set extrasub.
33210 # FIXME: do we really want to maintain this feature?
33211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33212 ac_sed_extra="$ac_vpsub
33215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33217 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33218 s|@configure_input@|
$ac_sed_conf_input|
;t t
33219 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33220 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33221 s
&@srcdir@
&$ac_srcdir&;t t
33222 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33223 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33224 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33225 s
&@builddir@
&$ac_builddir&;t t
33226 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33227 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33228 s
&@INSTALL@
&$ac_INSTALL&;t t
33229 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33230 $ac_datarootdir_hack
33232 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33233 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33235 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33236 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33237 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33238 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33240 which seems to be undefined. Please make sure it is defined" >&5
33241 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33242 which seems to be undefined. Please make sure it is defined" >&2;}
33244 rm -f "$ac_tmp/stdin"
33246 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33247 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33255 if test x"$ac_file" != x-; then
33257 $as_echo "/* $configure_input */" \
33258 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33259 } >"$ac_tmp/config.h" \
33260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33261 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33263 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33266 mv "$ac_tmp/config.h" "$ac_file" \
33267 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33270 $as_echo "/* $configure_input */" \
33271 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33272 || as_fn_error $? "could not create -" "$LINENO" 5
33274 # Compute "$ac_file"'s index
in $config_headers.
33277 for _am_header
in $config_headers :; do
33278 case $_am_header in
33279 $_am_arg |
$_am_arg:* )
33282 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33285 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33286 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33287 X"$_am_arg" : 'X\(//\)[^/]' \| \
33288 X"$_am_arg" : 'X\(//\)$' \| \
33289 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33290 $as_echo X"$_am_arg" |
33291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33295 /^X\(\/\/\)[^/].*/{
33307 s/.*/./; q'`/stamp-h
$_am_stamp_count
33310 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33311 $as_echo "$as_me: executing $ac_file commands" >&6;}
33316 case $ac_file$ac_mode in
33318 # Only add multilib support code if we just rebuilt the top-level
33320 case " $CONFIG_FILES " in
33322 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33325 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33326 # Older Autoconf quotes --file arguments for eval, but not when files
33327 # are listed without --file. Let's play safe and only enable the eval
33328 # if we detect the quoting.
33329 case $CONFIG_FILES in
33330 *\'*) eval set x
"$CONFIG_FILES" ;;
33331 *) set x
$CONFIG_FILES ;;
33336 # Strip MF so we end up with the name of the file.
33337 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33338 # Check whether this is an Automake generated Makefile or not.
33339 # We used to match only the files named 'Makefile.in', but
33340 # some people rename them; so instead we look at the file content.
33341 # Grep'ing the first line is not enough: some people post-process
33342 # each Makefile.in and add a new line on top of each file to say so.
33343 # Grep'ing the whole file is not good either: AIX grep has a line
33344 # limit of 2048, but all sed's we know have understand at least 4000.
33345 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33346 dirpart
=`$as_dirname -- "$mf" ||
33347 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33348 X"$mf" : 'X\(//\)[^/]' \| \
33349 X"$mf" : 'X\(//\)$' \| \
33350 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33356 /^X\(\/\/\)[^/].*/{
33372 # Extract the definition of DEPDIR, am__include, and am__quote
33373 # from the Makefile without running 'make'.
33374 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33375 test -z "$DEPDIR" && continue
33376 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33377 test -z "$am__include" && continue
33378 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33379 # Find all dependency output files, they are included files with
33380 # $(DEPDIR) in their names. We invoke sed twice because it is the
33381 # simplest approach to changing $(DEPDIR) to its actual value in the
33383 for file in `sed -n "
33384 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33385 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33386 # Make sure the directory exists.
33387 test -f "$dirpart/$file" && continue
33388 fdir
=`$as_dirname -- "$file" ||
33389 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33390 X"$file" : 'X\(//\)[^/]' \| \
33391 X"$file" : 'X\(//\)$' \| \
33392 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33393 $as_echo X"$file" |
33394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33398 /^X\(\/\/\)[^/].*/{
33411 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33412 # echo "creating $dirpart/$file"
33413 echo '# dummy' > "$dirpart/$file"
33420 # See if we are running on zsh, and set the options which allow our
33421 # commands through without removal of \ escapes.
33422 if test -n "${ZSH_VERSION+set}" ; then
33423 setopt NO_GLOB_SUBST
33426 cfgfile
="${ofile}T"
33427 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33430 cat <<_LT_EOF >> "$cfgfile"
33433 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33434 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33435 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33436 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33438 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33439 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33440 # Written by Gordon Matzigkeit, 1996
33442 # This file is part of GNU Libtool.
33444 # GNU Libtool is free software; you can redistribute it and/or
33445 # modify it under the terms of the GNU General Public License as
33446 # published by the Free Software Foundation; either version 2 of
33447 # the License, or (at your option) any later version.
33449 # As a special exception to the GNU General Public License,
33450 # if you distribute this file as part of a program or library that
33451 # is built using GNU Libtool, you may include this file under the
33452 # same distribution terms that you use for the rest of that program.
33454 # GNU Libtool is distributed in the hope that it will be useful,
33455 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33456 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33457 # GNU General Public License for more details.
33459 # You should have received a copy of the GNU General Public License
33460 # along with GNU Libtool; see the file COPYING. If not, a copy
33461 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33462 # obtained by writing to the Free Software Foundation, Inc.,
33463 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33466 # The names of the tagged configurations supported by this script.
33467 available_tags="FC "
33469 # ### BEGIN LIBTOOL CONFIG
33471 # A sed program that does not truncate output.
33474 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33475 Xsed="\$SED -e 1s/^X//"
33477 # A grep program that handles long lines.
33483 # A literal string matcher.
33486 # Shell to use when invoking shell scripts.
33489 # An echo program that protects backslashes.
33492 # Which release of libtool.m4 was used?
33493 macro_version=$macro_version
33494 macro_revision=$macro_revision
33496 # Whether or not to build shared libraries.
33497 build_libtool_libs=$enable_shared
33499 # Whether or not to build static libraries.
33500 build_old_libs=$enable_static
33502 # What type of objects to build.
33505 # Whether or not to optimize for fast installation.
33506 fast_install=$enable_fast_install
33509 host_alias=$host_alias
33513 # The build system.
33514 build_alias=$build_alias
33518 # A BSD- or MS-compatible name lister.
33521 # Whether we need soft or hard links.
33524 # What is the maximum length of a command?
33525 max_cmd_len=$max_cmd_len
33527 # Object file suffix (normally "o").
33530 # Executable file suffix (normally "").
33533 # whether the shell understands "unset".
33536 # turn spaces into newlines.
33539 # turn newlines into spaces.
33542 # An object symbol dumper.
33543 OBJDUMP=$lt_OBJDUMP
33545 # Method to check whether dependent libraries are shared objects.
33546 deplibs_check_method=$lt_deplibs_check_method
33548 # Command to use when deplibs_check_method == "file_magic".
33549 file_magic_cmd=$lt_file_magic_cmd
33553 AR_FLAGS=$lt_AR_FLAGS
33555 # A symbol stripping program.
33558 # Commands used to install an old-style archive.
33560 old_postinstall_cmds=$lt_old_postinstall_cmds
33561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33563 # Whether to use a lock for old archive extraction.
33564 lock_old_archive_extraction=$lock_old_archive_extraction
33569 # LTCC compiler flags.
33570 LTCFLAGS=$lt_CFLAGS
33572 # Take the output of nm and produce a listing of raw symbols and C names.
33573 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33575 # Transform the output of nm in a proper C declaration.
33576 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33578 # Transform the output of nm in a C name address pair.
33579 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33581 # Transform the output of nm in a C name address pair when lib prefix is needed.
33582 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33584 # The name of the directory that contains temporary libtool files.
33587 # Used to examine libraries when file_magic_cmd begins with "file".
33588 MAGIC_CMD=$MAGIC_CMD
33590 # Must we lock files when doing compilation?
33591 need_locks=$lt_need_locks
33593 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33594 DSYMUTIL=$lt_DSYMUTIL
33596 # Tool to change global to local symbols on Mac OS X.
33599 # Tool to manipulate fat objects and archives on Mac OS X.
33602 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33605 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33606 OTOOL64=$lt_OTOOL64
33608 # Old archive suffix (normally "a").
33611 # Shared library suffix (normally ".so").
33612 shrext_cmds=$lt_shrext_cmds
33614 # The commands to extract the exported symbol list from a shared archive.
33615 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33617 # Variables whose values should be saved in libtool wrapper scripts and
33618 # restored at link time.
33619 variables_saved_for_relink=$lt_variables_saved_for_relink
33621 # Do we need the "lib" prefix for modules?
33622 need_lib_prefix=$need_lib_prefix
33624 # Do we need a version for libraries?
33625 need_version=$need_version
33627 # Library versioning type.
33628 version_type=$version_type
33630 # Shared library runtime path variable.
33631 runpath_var=$runpath_var
33633 # Shared library path variable.
33634 shlibpath_var=$shlibpath_var
33636 # Is shlibpath searched before the hard-coded library search path?
33637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33639 # Format of library name prefix.
33640 libname_spec=$lt_libname_spec
33642 # List of archive names. First name is the real one, the rest are links.
33643 # The last name is the one that the linker finds with -lNAME
33644 library_names_spec=$lt_library_names_spec
33646 # The coded name of the library, if different from the real name.
33647 soname_spec=$lt_soname_spec
33649 # Permission mode override for installation of shared libraries.
33650 install_override_mode=$lt_install_override_mode
33652 # Command to use after installation of a shared archive.
33653 postinstall_cmds=$lt_postinstall_cmds
33655 # Command to use after uninstallation of a shared archive.
33656 postuninstall_cmds=$lt_postuninstall_cmds
33658 # Commands used to finish a libtool library installation in a directory.
33659 finish_cmds=$lt_finish_cmds
33661 # As "finish_cmds", except a single script fragment to be evaled but
33663 finish_eval=$lt_finish_eval
33665 # Whether we should hardcode library paths into libraries.
33666 hardcode_into_libs=$hardcode_into_libs
33668 # Compile-time system search path for libraries.
33669 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33671 # Run-time system search path for libraries.
33672 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33674 # Whether dlopen is supported.
33675 dlopen_support=$enable_dlopen
33677 # Whether dlopen of programs is supported.
33678 dlopen_self=$enable_dlopen_self
33680 # Whether dlopen of statically linked programs is supported.
33681 dlopen_self_static=$enable_dlopen_self_static
33683 # Commands to strip libraries.
33684 old_striplib=$lt_old_striplib
33685 striplib=$lt_striplib
33688 # The linker used to build libraries.
33691 # How to create reloadable object files.
33692 reload_flag=$lt_reload_flag
33693 reload_cmds=$lt_reload_cmds
33695 # Commands used to build an old-style archive.
33696 old_archive_cmds=$lt_old_archive_cmds
33698 # A language specific compiler.
33701 # Is the compiler the GNU compiler?
33704 # Compiler flag to turn off builtin functions.
33705 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33707 # How to pass a linker flag through the compiler.
33708 wl=$lt_lt_prog_compiler_wl
33710 # Additional compiler flags for building library objects.
33711 pic_flag=$lt_lt_prog_compiler_pic
33713 # Compiler flag to prevent dynamic linking.
33714 link_static_flag=$lt_lt_prog_compiler_static
33716 # Does compiler simultaneously support -c and -o options?
33717 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33719 # Whether or not to add -lc for building shared libraries.
33720 build_libtool_need_lc=$archive_cmds_need_lc
33722 # Whether or not to disallow shared libs when runtime libs are static.
33723 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33725 # Compiler flag to allow reflexive dlopens.
33726 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33728 # Compiler flag to generate shared objects directly from archives.
33729 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33731 # Whether the compiler copes with passing no objects directly.
33732 compiler_needs_object=$lt_compiler_needs_object
33734 # Create an old-style archive from a shared archive.
33735 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33737 # Create a temporary old-style archive to link instead of a shared archive.
33738 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33740 # Commands used to build a shared archive.
33741 archive_cmds=$lt_archive_cmds
33742 archive_expsym_cmds=$lt_archive_expsym_cmds
33744 # Commands used to build a loadable module if different from building
33745 # a shared archive.
33746 module_cmds=$lt_module_cmds
33747 module_expsym_cmds=$lt_module_expsym_cmds
33749 # Whether we are building with GNU ld or not.
33750 with_gnu_ld=$lt_with_gnu_ld
33752 # Flag that allows shared libraries with undefined symbols to be built.
33753 allow_undefined_flag=$lt_allow_undefined_flag
33755 # Flag that enforces no undefined symbols.
33756 no_undefined_flag=$lt_no_undefined_flag
33758 # Flag to hardcode \$libdir into a binary during linking.
33759 # This must work even if \$libdir does not exist
33760 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33762 # If ld is used when linking, flag to hardcode \$libdir into a binary
33763 # during linking. This must work even if \$libdir does not exist.
33764 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33766 # Whether we need a single "-rpath" flag with a separated argument.
33767 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33769 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33770 # DIR into the resulting binary.
33771 hardcode_direct=$hardcode_direct
33773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33774 # DIR into the resulting binary and the resulting library dependency is
33775 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33776 # library is relocated.
33777 hardcode_direct_absolute=$hardcode_direct_absolute
33779 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33780 # into the resulting binary.
33781 hardcode_minus_L=$hardcode_minus_L
33783 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33784 # into the resulting binary.
33785 hardcode_shlibpath_var=$hardcode_shlibpath_var
33787 # Set to "yes" if building a shared library automatically hardcodes DIR
33788 # into the library and all subsequent libraries and executables linked
33790 hardcode_automatic=$hardcode_automatic
33792 # Set to yes if linker adds runtime paths of dependent libraries
33793 # to runtime path list.
33794 inherit_rpath=$inherit_rpath
33796 # Whether libtool must link a program against all its dependency libraries.
33797 link_all_deplibs=$link_all_deplibs
33799 # Fix the shell variable \$srcfile for the compiler.
33800 fix_srcfile_path=$lt_fix_srcfile_path
33802 # Set to "yes" if exported symbols are required.
33803 always_export_symbols=$always_export_symbols
33805 # The commands to list exported symbols.
33806 export_symbols_cmds=$lt_export_symbols_cmds
33808 # Symbols that should not be listed in the preloaded symbols.
33809 exclude_expsyms=$lt_exclude_expsyms
33811 # Symbols that must always be exported.
33812 include_expsyms=$lt_include_expsyms
33814 # Commands necessary for linking programs (against libraries) with templates.
33815 prelink_cmds=$lt_prelink_cmds
33817 # Specify filename containing input files.
33818 file_list_spec=$lt_file_list_spec
33820 # How to hardcode a shared library path into an executable.
33821 hardcode_action=$hardcode_action
33823 # The directories searched by this compiler when creating a shared library.
33824 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33826 # Dependencies to place before and after the objects being linked to
33827 # create a shared library.
33828 predep_objects=$lt_predep_objects
33829 postdep_objects=$lt_postdep_objects
33830 predeps=$lt_predeps
33831 postdeps=$lt_postdeps
33833 # The library search path used internally by the compiler when linking
33834 # a shared library.
33835 compiler_lib_search_path=$lt_compiler_lib_search_path
33837 # ### END LIBTOOL CONFIG
33843 cat <<\_LT_EOF
>> "$cfgfile"
33844 # AIX sometimes has problems with the GCC collect2 program. For some
33845 # reason, if we set the COLLECT_NAMES environment variable, the problems
33846 # vanish in a puff of smoke.
33847 if test "X${COLLECT_NAMES+set}" != Xset
; then
33849 export COLLECT_NAMES
33856 ltmain
="$ac_aux_dir/ltmain.sh"
33859 # We use sed instead of cat because bash on DJGPP gets confused if
33860 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33861 # text mode, it properly converts lines to CR/LF. This bash problem
33862 # is reportedly fixed, but why not run on old versions too?
33863 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33864 ||
(rm -f "$cfgfile"; exit 1)
33868 cat << \_LT_EOF
>> "$cfgfile"
33870 # func_dirname file append nondir_replacement
33871 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33872 # otherwise set result to NONDIR_REPLACEMENT.
33876 */*) func_dirname_result
="${1%/*}${2}" ;;
33877 * ) func_dirname_result
="${3}" ;;
33881 # func_basename file
33884 func_basename_result
="${1##*/}"
33887 # func_dirname_and_basename file append nondir_replacement
33888 # perform func_basename and func_dirname in a single function
33890 # dirname: Compute the dirname of FILE. If nonempty,
33891 # add APPEND to the result, otherwise set result
33892 # to NONDIR_REPLACEMENT.
33893 # value returned in "$func_dirname_result"
33894 # basename: Compute filename of FILE.
33895 # value retuned in "$func_basename_result"
33896 # Implementation must be kept synchronized with func_dirname
33897 # and func_basename. For efficiency, we do not delegate to
33898 # those functions but instead duplicate the functionality here.
33899 func_dirname_and_basename
()
33902 */*) func_dirname_result
="${1%/*}${2}" ;;
33903 * ) func_dirname_result
="${3}" ;;
33905 func_basename_result
="${1##*/}"
33908 # func_stripname prefix suffix name
33909 # strip PREFIX and SUFFIX off of NAME.
33910 # PREFIX and SUFFIX must not contain globbing or regex special
33911 # characters, hashes, percent signs, but SUFFIX may contain a leading
33912 # dot (in which case that matches only a dot).
33915 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33916 # positional parameters, so assign one to ordinary parameter first.
33917 func_stripname_result
=${3}
33918 func_stripname_result
=${func_stripname_result#"${1}"}
33919 func_stripname_result
=${func_stripname_result%"${2}"}
33925 func_opt_split_opt
=${1%%=*}
33926 func_opt_split_arg
=${1#*=}
33933 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33934 *) func_lo2o_result
=${1} ;;
33938 # func_xform libobj-or-source
33941 func_xform_result
=${1%.*}.lo
33944 # func_arith arithmetic-term...
33947 func_arith_result
=$
(( $
* ))
33951 # STRING may not start with a hyphen.
33954 func_len_result
=${#1}
33959 *) # Bourne compatible functions.
33960 cat << \_LT_EOF
>> "$cfgfile"
33962 # func_dirname file append nondir_replacement
33963 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33964 # otherwise set result to NONDIR_REPLACEMENT.
33967 # Extract subdirectory from the argument.
33968 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33969 if test "X$func_dirname_result" = "X${1}"; then
33970 func_dirname_result
="${3}"
33972 func_dirname_result
="$func_dirname_result${2}"
33976 # func_basename file
33979 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33983 # func_stripname prefix suffix name
33984 # strip PREFIX and SUFFIX off of NAME.
33985 # PREFIX and SUFFIX must not contain globbing or regex special
33986 # characters, hashes, percent signs, but SUFFIX may contain a leading
33987 # dot (in which case that matches only a dot).
33988 # func_strip_suffix prefix name
33992 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33993 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33998 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33999 my_sed_long_arg
='1s/^-[^=]*=//'
34004 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34005 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34011 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
34014 # func_xform libobj-or-source
34017 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34020 # func_arith arithmetic-term...
34023 func_arith_result
=`expr "$@"`
34027 # STRING may not start with a hyphen.
34030 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34036 case $lt_shell_append in
34038 cat << \_LT_EOF
>> "$cfgfile"
34040 # func_append var value
34041 # Append VALUE to the end of shell variable VAR.
34049 cat << \_LT_EOF
>> "$cfgfile"
34051 # func_append var value
34052 # Append VALUE to the end of shell variable VAR.
34063 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34064 ||
(rm -f "$cfgfile"; exit 1)
34066 mv -f "$cfgfile" "$ofile" ||
34067 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34071 cat <<_LT_EOF >> "$ofile"
34073 # ### BEGIN LIBTOOL TAG CONFIG: FC
34075 # The linker used to build libraries.
34078 # How to create reloadable object files.
34079 reload_flag=$lt_reload_flag_FC
34080 reload_cmds=$lt_reload_cmds_FC
34082 # Commands used to build an old-style archive.
34083 old_archive_cmds=$lt_old_archive_cmds_FC
34085 # A language specific compiler.
34088 # Is the compiler the GNU compiler?
34091 # Compiler flag to turn off builtin functions.
34092 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34094 # How to pass a linker flag through the compiler.
34095 wl=$lt_lt_prog_compiler_wl_FC
34097 # Additional compiler flags for building library objects.
34098 pic_flag=$lt_lt_prog_compiler_pic_FC
34100 # Compiler flag to prevent dynamic linking.
34101 link_static_flag=$lt_lt_prog_compiler_static_FC
34103 # Does compiler simultaneously support -c and -o options?
34104 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34106 # Whether or not to add -lc for building shared libraries.
34107 build_libtool_need_lc=$archive_cmds_need_lc_FC
34109 # Whether or not to disallow shared libs when runtime libs are static.
34110 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34112 # Compiler flag to allow reflexive dlopens.
34113 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34115 # Compiler flag to generate shared objects directly from archives.
34116 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34118 # Whether the compiler copes with passing no objects directly.
34119 compiler_needs_object=$lt_compiler_needs_object_FC
34121 # Create an old-style archive from a shared archive.
34122 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34124 # Create a temporary old-style archive to link instead of a shared archive.
34125 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34127 # Commands used to build a shared archive.
34128 archive_cmds=$lt_archive_cmds_FC
34129 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34131 # Commands used to build a loadable module if different from building
34132 # a shared archive.
34133 module_cmds=$lt_module_cmds_FC
34134 module_expsym_cmds=$lt_module_expsym_cmds_FC
34136 # Whether we are building with GNU ld or not.
34137 with_gnu_ld=$lt_with_gnu_ld_FC
34139 # Flag that allows shared libraries with undefined symbols to be built.
34140 allow_undefined_flag=$lt_allow_undefined_flag_FC
34142 # Flag that enforces no undefined symbols.
34143 no_undefined_flag=$lt_no_undefined_flag_FC
34145 # Flag to hardcode \$libdir into a binary during linking.
34146 # This must work even if \$libdir does not exist
34147 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34149 # If ld is used when linking, flag to hardcode \$libdir into a binary
34150 # during linking. This must work even if \$libdir does not exist.
34151 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34153 # Whether we need a single "-rpath" flag with a separated argument.
34154 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34156 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34157 # DIR into the resulting binary.
34158 hardcode_direct=$hardcode_direct_FC
34160 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34161 # DIR into the resulting binary and the resulting library dependency is
34162 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34163 # library is relocated.
34164 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34166 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34167 # into the resulting binary.
34168 hardcode_minus_L=$hardcode_minus_L_FC
34170 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34171 # into the resulting binary.
34172 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34174 # Set to "yes" if building a shared library automatically hardcodes DIR
34175 # into the library and all subsequent libraries and executables linked
34177 hardcode_automatic=$hardcode_automatic_FC
34179 # Set to yes if linker adds runtime paths of dependent libraries
34180 # to runtime path list.
34181 inherit_rpath=$inherit_rpath_FC
34183 # Whether libtool must link a program against all its dependency libraries.
34184 link_all_deplibs=$link_all_deplibs_FC
34186 # Fix the shell variable \$srcfile for the compiler.
34187 fix_srcfile_path=$lt_fix_srcfile_path_FC
34189 # Set to "yes" if exported symbols are required.
34190 always_export_symbols=$always_export_symbols_FC
34192 # The commands to list exported symbols.
34193 export_symbols_cmds=$lt_export_symbols_cmds_FC
34195 # Symbols that should not be listed in the preloaded symbols.
34196 exclude_expsyms=$lt_exclude_expsyms_FC
34198 # Symbols that must always be exported.
34199 include_expsyms=$lt_include_expsyms_FC
34201 # Commands necessary for linking programs (against libraries) with templates.
34202 prelink_cmds=$lt_prelink_cmds_FC
34204 # Specify filename containing input files.
34205 file_list_spec=$lt_file_list_spec_FC
34207 # How to hardcode a shared library path into an executable.
34208 hardcode_action=$hardcode_action_FC
34210 # The directories searched by this compiler when creating a shared library.
34211 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34213 # Dependencies to place before and after the objects being linked to
34214 # create a shared library.
34215 predep_objects=$lt_predep_objects_FC
34216 postdep_objects=$lt_postdep_objects_FC
34217 predeps=$lt_predeps_FC
34218 postdeps=$lt_postdeps_FC
34220 # The library search path used internally by the compiler when linking
34221 # a shared library.
34222 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34224 # ### END LIBTOOL TAG CONFIG: FC
34229 if test "$GCC" = yes; then
34230 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34232 echo "/* generated for $CC */" > tmp-stdint.h
34235 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34237 #ifndef GCC_GENERATED_STDINT_H
34238 #define GCC_GENERATED_STDINT_H 1
34240 #include <sys/types.h>
34243 if test "$acx_cv_header_stdint" != stdint.h
; then
34244 echo "#include <stddef.h>" >> tmp-stdint.h
34246 if test "$acx_cv_header_stdint" != stddef.h
; then
34247 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34250 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34251 /* glibc uses these symbols as guards to prevent redefinitions. */
34252 #ifdef __int8_t_defined
34257 #ifdef __uint32_t_defined
34263 # ----------------- done header, emit basic int types -------------
34264 if test "$acx_cv_header_stdint" = stddef.h
; then
34265 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34269 #ifndef __uint8_t_defined
34270 #define __uint8_t_defined
34272 typedef unsigned $acx_cv_type_int8_t uint8_t;
34279 #ifndef __uint16_t_defined
34280 #define __uint16_t_defined
34282 typedef unsigned $acx_cv_type_int16_t uint16_t;
34289 #ifndef __uint32_t_defined
34290 #define __uint32_t_defined
34292 typedef unsigned $acx_cv_type_int32_t uint32_t;
34299 #ifndef __int8_t_defined
34300 #define __int8_t_defined
34302 typedef $acx_cv_type_int8_t int8_t;
34309 #ifndef __int16_t_defined
34310 #define __int16_t_defined
34312 typedef $acx_cv_type_int16_t int16_t;
34319 #ifndef __int32_t_defined
34320 #define __int32_t_defined
34322 typedef $acx_cv_type_int32_t int32_t;
34327 elif test "$ac_cv_type_u_int32_t" = yes; then
34328 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34330 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34343 #ifndef __uint8_t_defined
34344 #define __uint8_t_defined
34346 typedef u_int8_t uint8_t;
34353 #ifndef __uint16_t_defined
34354 #define __uint16_t_defined
34356 typedef u_int16_t uint16_t;
34363 #ifndef __uint32_t_defined
34364 #define __uint32_t_defined
34366 typedef u_int32_t uint32_t;
34372 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34374 /* Some systems have guard macros to prevent redefinitions, define them. */
34396 # ------------- done basic int types, emit int64_t types ------------
34397 if test "$ac_cv_type_uint64_t" = yes; then
34398 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34400 /* system headers have good uint64_t and int64_t */
34408 elif test "$ac_cv_type_u_int64_t" = yes; then
34409 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34411 /* system headers have an u_int64_t (and int64_t) */
34417 #ifndef __uint64_t_defined
34418 #define __uint64_t_defined
34420 typedef u_int64_t uint64_t;
34425 elif test -n "$acx_cv_type_int64_t"; then
34426 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34428 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34432 typedef $acx_cv_type_int64_t int64_t;
34437 #ifndef __uint64_t_defined
34438 #define __uint64_t_defined
34440 typedef unsigned $acx_cv_type_int64_t uint64_t;
34446 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34448 /* some common heuristics for int64_t, using compiler-specific tests */
34449 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34452 #ifndef __int64_t_defined
34454 typedef long long int64_t;
34461 typedef unsigned long long uint64_t;
34465 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34466 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34467 does not implement __extension__. But that compiler doesn't define
34469 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34470 # define __extension__
34476 __extension__ typedef long long int64_t;
34482 __extension__ typedef unsigned long long uint64_t;
34486 #elif !defined __STRICT_ANSI__
34487 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34492 typedef __int64 int64_t;
34498 typedef unsigned __int64 uint64_t;
34501 # endif /* compiler */
34503 #endif /* ANSI version */
34507 # ------------- done int64_t types, emit intptr types ------------
34508 if test "$ac_cv_type_uintptr_t" != yes; then
34509 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34511 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34512 #ifndef __uintptr_t_defined
34514 typedef u$acx_cv_type_intptr_t uintptr_t;
34517 #ifndef __intptr_t_defined
34519 typedef $acx_cv_type_intptr_t intptr_t;
34525 # ------------- done intptr types, emit int_least types ------------
34526 if test "$ac_cv_type_int_least32_t" != yes; then
34527 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34529 /* Define int_least types */
34530 typedef int8_t int_least8_t;
34531 typedef int16_t int_least16_t;
34532 typedef int32_t int_least32_t;
34534 typedef int64_t int_least64_t;
34537 typedef uint8_t uint_least8_t;
34538 typedef uint16_t uint_least16_t;
34539 typedef uint32_t uint_least32_t;
34541 typedef uint64_t uint_least64_t;
34546 # ------------- done intptr types, emit int_fast types ------------
34547 if test "$ac_cv_type_int_fast32_t" != yes; then
34548 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34550 /* Define int_fast types. short is often slow */
34551 typedef int8_t int_fast8_t;
34552 typedef int int_fast16_t;
34553 typedef int32_t int_fast32_t;
34555 typedef int64_t int_fast64_t;
34558 typedef uint8_t uint_fast8_t;
34559 typedef unsigned int uint_fast16_t;
34560 typedef uint32_t uint_fast32_t;
34562 typedef uint64_t uint_fast64_t;
34567 if test "$ac_cv_type_uintmax_t" != yes; then
34568 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34570 /* Define intmax based on what we found */
34573 typedef int64_t intmax_t;
34575 typedef long intmax_t;
34580 typedef uint64_t uintmax_t;
34582 typedef unsigned long uintmax_t;
34588 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34590 #endif /* GCC_GENERATED_STDINT_H */
34593 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34596 mv -f tmp-stdint.h gstdint.h
34607 ac_clean_files
=$ac_clean_files_save
34609 test $ac_write_fail = 0 ||
34610 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34613 # configure is writing to config.log, and then calls config.status.
34614 # config.status does its own redirection, appending to config.log.
34615 # Unfortunately, on DOS this fails, as config.log is still kept open
34616 # by configure, so config.status won't be able to write to it; its
34617 # output is simply discarded. So we exec the FD to /dev/null,
34618 # effectively closing config.log, so it can be properly (re)opened and
34619 # appended to by config.status. When coming back to configure, we
34620 # need to make the FD available again.
34621 if test "$no_create" != yes; then
34623 ac_config_status_args
=
34624 test "$silent" = yes &&
34625 ac_config_status_args
="$ac_config_status_args --quiet"
34627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34630 # would make configure fail if this is the last instruction.
34631 $ac_cs_success || as_fn_exit
1
34633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}