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 # "Minimal" mode is for targets that cannot (yet) support all features of
6211 # libgfortran. It avoids the need for working constructors, alloca, and C
6212 # library support for I/O, signals, environment variables, time functions, etc.
6213 # At present there are no targets that require this mode.
6216 LIBGFOR_MINIMAL_TRUE=
6217 LIBGFOR_MINIMAL_FALSE='#'
6219 LIBGFOR_MINIMAL_TRUE='#'
6220 LIBGFOR_MINIMAL_FALSE=
6224 # Some compiler target support may have limited support for integer
6225 # or floating point numbers – or may want to reduce the libgfortran size
6226 # although they do have the support.
6227 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6228 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6233 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6234 # similarly to how libstdc++ does it
6235 ac_test_CFLAGS="${CFLAGS+set}"
6236 ac_save_CFLAGS="$CFLAGS"
6238 # Check for -ffunction-sections -fdata-sections
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6240 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6241 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6253 if ac_fn_c_try_compile "$LINENO"; then :
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 if test "$ac_test_CFLAGS" = set; then
6260 CFLAGS="$ac_save_CFLAGS"
6262 # this is the suspicious part
6265 if test x"$ac_fdsections" = x"yes"; then
6266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6269 $as_echo "$ac_fdsections" >&6; }
6272 # Check linker hardware capability support.
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6274 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6275 if ${ac_cv_path_SED+:} false; then :
6276 $as_echo_n "(cached) " >&6
6278 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6279 for ac_i in 1 2 3 4 5 6 7; do
6280 ac_script="$ac_script$as_nl$ac_script"
6282 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6283 { ac_script=; unset ac_script;}
6284 if test -z "$SED"; then
6285 ac_path_SED_found=false
6286 # Loop through the user's path and test for each of PROGNAME-LIST
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_prog in sed gsed; do
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6295 as_fn_executable_p "$ac_path_SED" || continue
6296 # Check for GNU ac_path_SED and select it if it is found.
6297 # Check for GNU $ac_path_SED
6298 case `"$ac_path_SED" --version 2>&1` in
6300 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6303 $as_echo_n 0123456789 >"conftest.in"
6306 cat "conftest.in" "conftest.in" >"conftest.tmp"
6307 mv "conftest.tmp" "conftest.in"
6308 cp "conftest.in" "conftest.nl"
6309 $as_echo '' >> "conftest.nl"
6310 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6312 as_fn_arith $ac_count + 1 && ac_count=$as_val
6313 if test $ac_count -gt ${ac_path_SED_max-0}; then
6314 # Best one so far, save it but keep looking for a better one
6315 ac_cv_path_SED="$ac_path_SED"
6316 ac_path_SED_max=$ac_count
6318 # 10*(2^10) chars as input seems more than enough
6319 test $ac_count -gt 10 && break
6321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6324 $ac_path_SED_found && break 3
6329 if test -z "$ac_cv_path_SED"; then
6330 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6338 $as_echo "$ac_cv_path_SED" >&6; }
6339 SED="$ac_cv_path_SED"
6342 test -z "$SED" && SED=sed
6343 Xsed="$SED -e 1s/^X//"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6356 $as_echo_n "checking for fgrep... " >&6; }
6357 if ${ac_cv_path_FGREP+:} false; then :
6358 $as_echo_n "(cached) " >&6
6360 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6361 then ac_cv_path_FGREP="$GREP -F"
6363 if test -z "$FGREP"; then
6364 ac_path_FGREP_found=false
6365 # Loop through the user's path and test for each of PROGNAME-LIST
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6370 test -z "$as_dir" && as_dir=.
6371 for ac_prog in fgrep; do
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6374 as_fn_executable_p "$ac_path_FGREP" || continue
6375 # Check for GNU ac_path_FGREP and select it if it is found.
6376 # Check for GNU $ac_path_FGREP
6377 case `"$ac_path_FGREP" --version 2>&1` in
6379 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6382 $as_echo_n 0123456789 >"conftest.in"
6385 cat "conftest.in" "conftest.in" >"conftest.tmp"
6386 mv "conftest.tmp" "conftest.in"
6387 cp "conftest.in" "conftest.nl"
6388 $as_echo 'FGREP' >> "conftest.nl"
6389 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6391 as_fn_arith $ac_count + 1 && ac_count=$as_val
6392 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6393 # Best one so far, save it but keep looking for a better one
6394 ac_cv_path_FGREP="$ac_path_FGREP"
6395 ac_path_FGREP_max=$ac_count
6397 # 10*(2^10) chars as input seems more than enough
6398 test $ac_count -gt 10 && break
6400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6403 $ac_path_FGREP_found && break 3
6408 if test -z "$ac_cv_path_FGREP"; then
6409 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6412 ac_cv_path_FGREP=$FGREP
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6418 $as_echo "$ac_cv_path_FGREP" >&6; }
6419 FGREP="$ac_cv_path_FGREP"
6422 test -z "$GREP" && GREP=grep
6440 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6441 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6442 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6445 $as_echo_n "checking how to print strings... " >&6; }
6446 # Test print first, because it will be a builtin if present.
6447 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6448 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6450 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6453 # Use this function as a fallback that always works.
6454 func_fallback_echo ()
6456 eval 'cat <<_LTECHO_EOF
6460 ECHO='func_fallback_echo'
6463 # func_echo_all arg...
6464 # Invoke $ECHO with all args, space-separated.
6471 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6472 $as_echo "printf" >&6; } ;;
6473 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6474 $as_echo "print -r" >&6; } ;;
6475 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6476 $as_echo "cat" >&6; } ;;
6494 # Check whether --with-gnu-ld was given.
6495 if test "${with_gnu_ld+set}" = set; then :
6496 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6502 if test "$GCC" = yes; then
6503 # Check if gcc -print-prog-name=ld gives a path.
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6505 $as_echo_n "checking for ld used by $CC... " >&6; }
6508 # gcc leaves a trailing carriage return which upsets mingw
6509 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6511 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6514 # Accept absolute paths.
6516 re_direlt='/[^/][^/]*/\.\./'
6517 # Canonicalize the pathname of ld
6518 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6519 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6520 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6522 test -z "$LD" && LD="$ac_prog"
6525 # If it fails, then pretend we aren't using GCC.
6529 # If it is relative, then search for the first ld in PATH.
6533 elif test "$with_gnu_ld" = yes; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6535 $as_echo_n "checking for GNU ld... " >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6538 $as_echo_n "checking for non-GNU ld... " >&6; }
6540 if ${lt_cv_path_LD+:} false; then :
6541 $as_echo_n "(cached) " >&6
6543 if test -z "$LD"; then
6544 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6545 for ac_dir in $PATH; do
6547 test -z "$ac_dir" && ac_dir=.
6548 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6549 lt_cv_path_LD="$ac_dir/$ac_prog"
6550 # Check to see if the program is GNU ld. I'd rather use --version,
6551 # but apparently some variants of GNU ld only accept -v.
6552 # Break only if it was the GNU/non-GNU ld that we prefer.
6553 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6554 *GNU* | *'with BFD'*)
6555 test "$with_gnu_ld" != no && break
6558 test "$with_gnu_ld" != yes && break
6565 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6570 if test -n "$LD"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6572 $as_echo "$LD" >&6; }
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6577 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6579 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6580 if ${lt_cv_prog_gnu_ld+:} false; then :
6581 $as_echo_n "(cached) " >&6
6583 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6584 case `$LD -v 2>&1 </dev
/null
` in
6585 *GNU* | *'with BFD'*)
6586 lt_cv_prog_gnu_ld=yes
6589 lt_cv_prog_gnu_ld=no
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6594 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6595 with_gnu_ld=$lt_cv_prog_gnu_ld
6606 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6609 ac_save_LDFLAGS="$LDFLAGS"
6610 LDFLAGS="$LFLAGS -mclear-hwcap"
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6613 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6614 if test x$gcc_no_link = xyes; then
6615 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6628 if ac_fn_c_try_link "$LINENO"; then :
6629 ac_hwcap_ldflags=yes
6633 rm -f core conftest.err conftest.$ac_objext \
6634 conftest$ac_exeext conftest.$ac_ext
6635 if test "$ac_hwcap_ldflags" = "yes"; then
6636 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6639 $as_echo "$ac_hwcap_ldflags" >&6; }
6641 LDFLAGS="$ac_save_LDFLAGS"
6645 if test $ac_hwcap_ldflags != no; then
6647 HAVE_HWCAP_FALSE='#'
6655 # Find other programs we need.
6656 if test -n "$ac_tool_prefix"; then
6657 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6658 set dummy ${ac_tool_prefix}as; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_AS+:} false; then :
6662 $as_echo_n "(cached) " >&6
6664 if test -n "$AS"; then
6665 ac_cv_prog_AS="$AS" # Let the user override the test.
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_AS="${ac_tool_prefix}as"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 if test -n "$AS"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6687 $as_echo "$AS" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6695 if test -z "$ac_cv_prog_AS"; then
6697 # Extract the first word of "as", so it can be a program name with args.
6698 set dummy as; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6702 $as_echo_n "(cached) " >&6
6704 if test -n "$ac_ct_AS"; then
6705 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_ac_ct_AS="as"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6725 if test -n "$ac_ct_AS"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6727 $as_echo "$ac_ct_AS" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6733 if test "x$ac_ct_AS" = x; then
6736 case $cross_compiling:$ac_tool_warned in
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned=yes ;;
6748 if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}ar; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if ${ac_cv_prog_AR+:} false; then :
6754 $as_echo_n "(cached) " >&6
6756 if test -n "$AR"; then
6757 ac_cv_prog_AR="$AR" # Let the user override the test.
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766 ac_cv_prog_AR="${ac_tool_prefix}ar"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 if test -n "$AR"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6779 $as_echo "$AR" >&6; }
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6787 if test -z "$ac_cv_prog_AR"; then
6789 # Extract the first word of "ar", so it can be a program name with args.
6790 set dummy ar; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6794 $as_echo_n "(cached) " >&6
6796 if test -n "$ac_ct_AR"; then
6797 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_ac_ct_AR="ar"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6817 if test -n "$ac_ct_AR"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6819 $as_echo "$ac_ct_AR" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6825 if test "x$ac_ct_AR" = x; then
6828 case $cross_compiling:$ac_tool_warned in
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned=yes ;;
6840 if test -n "$ac_tool_prefix"; then
6841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6842 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if ${ac_cv_prog_RANLIB+:} false; then :
6846 $as_echo_n "(cached) " >&6
6848 if test -n "$RANLIB"; then
6849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 RANLIB=$ac_cv_prog_RANLIB
6869 if test -n "$RANLIB"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6871 $as_echo "$RANLIB" >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6879 if test -z "$ac_cv_prog_RANLIB"; then
6880 ac_ct_RANLIB=$RANLIB
6881 # Extract the first word of "ranlib", so it can be a program name with args.
6882 set dummy ranlib; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6886 $as_echo_n "(cached) " >&6
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB="ranlib"
6899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6909 if test -n "$ac_ct_RANLIB"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911 $as_echo "$ac_ct_RANLIB" >&6; }
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6917 if test "x$ac_ct_RANLIB" = x; then
6918 RANLIB="ranlib-not-found-in-path-error"
6920 case $cross_compiling:$ac_tool_warned in
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6926 RANLIB=$ac_ct_RANLIB
6929 RANLIB="$ac_cv_prog_RANLIB"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6933 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6935 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6936 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6937 $as_echo_n "(cached) " >&6
6939 cat >conftest.make <<\_ACEOF
6942 @echo '@@@%%%=$(MAKE)=@@@%%%'
6944 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6945 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6947 eval ac_cv_prog_make_${ac_make}_set=yes;;
6949 eval ac_cv_prog_make_${ac_make}_set=no;;
6953 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955 $as_echo "yes" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
6960 SET_MAKE="MAKE=${MAKE-make}"
6966 #AC_MSG_NOTICE([====== Starting libtool configuration])
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6974 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6979 macro_version='2.2.7a'
6980 macro_revision='1.3134'
6994 ltmain="$ac_aux_dir/ltmain.sh"
6996 # Backslashify metacharacters that are still active within
6997 # double-quoted strings.
6998 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
7000 # Same as above, but do not quote variable references.
7001 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7003 # Sed substitution to delay expansion of an escaped shell variable in a
7004 # double_quote_subst'ed string.
7005 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7007 # Sed substitution to delay expansion of an escaped single quote.
7008 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7010 # Sed substitution to avoid accidental globbing in evaled expressions
7011 no_glob_subst='s/\*/\\\*/g'
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7014 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7015 if ${lt_cv_path_NM+:} false; then :
7016 $as_echo_n "(cached
) " >&6
7018 if test -n "$NM"; then
7019 # Let the user override the nm to test.
7020 lt_nm_to_check="$NM"
7022 lt_nm_to_check="${ac_tool_prefix}nm
"
7023 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7024 lt_nm_to_check="$lt_nm_to_check nm
"
7027 for lt_tmp_nm in "$lt_nm_to_check"; do
7028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7029 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7031 test -z "$ac_dir" && ac_dir=.
7032 # Strip out any user-provided options from the nm to test twice,
7033 # the first time to test to see if nm (rather than its options) has
7034 # an explicit path, the second time to yield a file which can be
7036 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7037 case "$tmp_nm_path" in
7038 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7039 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7041 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7042 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7043 # Check to see if the nm accepts a BSD-compat flag.
7044 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7045 # nm: unknown option "B
" ignored
7046 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7047 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7051 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7053 lt_cv_path_NM="$tmp_nm -p"
7057 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7058 continue # so that we can try to find one that supports BSD flags
7067 : ${lt_cv_path_NM=no}
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7070 $as_echo "$lt_cv_path_NM" >&6; }
7071 if test "$lt_cv_path_NM" != "no
"; then
7074 # Didn't find any BSD compatible name lister, look for dumpbin.
7075 if test -n "$DUMPBIN"; then :
7076 # Let the user override the test.
7078 if test -n "$ac_tool_prefix"; then
7079 for ac_prog in dumpbin "link
-dump"
7081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7084 $as_echo_n "checking
for $ac_word...
" >&6; }
7085 if ${ac_cv_prog_DUMPBIN+:} false; then :
7086 $as_echo_n "(cached
) " >&6
7088 if test -n "$DUMPBIN"; then
7089 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7108 DUMPBIN=$ac_cv_prog_DUMPBIN
7109 if test -n "$DUMPBIN"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7111 $as_echo "$DUMPBIN" >&6; }
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7114 $as_echo "no
" >&6; }
7118 test -n "$DUMPBIN" && break
7121 if test -z "$DUMPBIN"; then
7122 ac_ct_DUMPBIN=$DUMPBIN
7123 for ac_prog in dumpbin "link
-dump"
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126 set dummy $ac_prog; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7128 $as_echo_n "checking
for $ac_word...
" >&6; }
7129 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7130 $as_echo_n "(cached
) " >&6
7132 if test -n "$ac_ct_DUMPBIN"; then
7133 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7152 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7153 if test -n "$ac_ct_DUMPBIN"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7155 $as_echo "$ac_ct_DUMPBIN" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7158 $as_echo "no
" >&6; }
7162 test -n "$ac_ct_DUMPBIN" && break
7165 if test "x
$ac_ct_DUMPBIN" = x; then
7168 case $cross_compiling:$ac_tool_warned in
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7171 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7172 ac_tool_warned=yes ;;
7174 DUMPBIN=$ac_ct_DUMPBIN
7178 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7180 DUMPBIN="$DUMPBIN -symbols"
7188 if test "$DUMPBIN" != ":"; then
7192 test -z "$NM" && NM=nm
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7200 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7201 if ${lt_cv_nm_interface+:} false; then :
7202 $as_echo_n "(cached
) " >&6
7204 lt_cv_nm_interface="BSD nm
"
7205 echo "int some_variable
= 0;" > conftest.$ac_ext
7206 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7207 (eval "$ac_compile" 2>conftest.err)
7208 cat conftest.err >&5
7209 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7210 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7211 cat conftest.err >&5
7212 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7213 cat conftest.out >&5
7214 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7215 lt_cv_nm_interface="MS dumpbin
"
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7220 $as_echo "$lt_cv_nm_interface" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7223 $as_echo_n "checking whether
ln -s works...
" >&6; }
7225 if test "$LN_S" = "ln -s"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7227 $as_echo "yes" >&6; }
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7230 $as_echo "no
, using
$LN_S" >&6; }
7233 # find the maximum length of command line arguments
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7235 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7236 if ${lt_cv_sys_max_cmd_len+:} false; then :
7237 $as_echo_n "(cached
) " >&6
7244 # On DJGPP, this test can blow up pretty badly due to problems in libc
7245 # (any single argument exceeding 2000 bytes causes a buffer overrun
7246 # during glob expansion). Even if it were fixed, the result of this
7247 # check would be larger than it should be.
7248 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7252 # Under GNU Hurd, this test is not required because there is
7253 # no limit to the length of command line arguments.
7254 # Libtool will interpret -1 as no limit whatsoever
7255 lt_cv_sys_max_cmd_len=-1;
7258 cygwin* | mingw* | cegcc*)
7259 # On Win9x/ME, this test blows up -- it succeeds, but takes
7260 # about 5 minutes as the teststring grows exponentially.
7261 # Worse, since 9x/ME are not pre-emptively multitasking,
7262 # you end up with a "frozen
" computer, even though with patience
7263 # the test eventually succeeds (with a max line length of 256k).
7264 # Instead, let's just punt: use the minimum linelength reported by
7265 # all of the supported platforms: 8192 (on NT/2K/XP).
7266 lt_cv_sys_max_cmd_len=8192;
7270 # On MiNT this can take a long time and run out of memory.
7271 lt_cv_sys_max_cmd_len=8192;
7275 # On AmigaOS with pdksh, this test takes hours, literally.
7276 # So we just punt and use a minimum line length of 8192.
7277 lt_cv_sys_max_cmd_len=8192;
7280 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7281 # This has been around since 386BSD, at least. Likely further.
7282 if test -x /sbin/sysctl; then
7283 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7284 elif test -x /usr/sbin/sysctl; then
7285 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7287 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7289 # And add a safety zone
7290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7291 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7295 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7296 lt_cv_sys_max_cmd_len=196608
7300 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7301 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7302 # nice to cause kernel panics so lets avoid the loop below.
7303 # First set a reasonable default.
7304 lt_cv_sys_max_cmd_len=16384
7306 if test -x /sbin/sysconfig; then
7307 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7308 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7313 lt_cv_sys_max_cmd_len=102400
7315 sysv5* | sco5v6* | sysv4.2uw2*)
7316 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7317 if test -n "$kargmax"; then
7318 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7320 lt_cv_sys_max_cmd_len=32768
7324 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7325 if test -n "$lt_cv_sys_max_cmd_len"; then
7326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7327 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7329 # Make teststring a little bigger before we do anything with it.
7330 # a 1K string should be a reasonable start.
7331 for i in 1 2 3 4 5 6 7 8 ; do
7332 teststring=$teststring$teststring
7334 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7335 # If test is not a shell built-in, we'll probably end up computing a
7336 # maximum length that is only half of the actual maximum length, but
7338 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7339 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7340 test $i != 17 # 1/2 MB should be enough
7343 teststring=$teststring$teststring
7345 # Only check the string length outside the loop.
7346 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7348 # Add a significant safety factor because C++ compilers can tack on
7349 # massive amounts of additional arguments before passing them to the
7350 # linker. It appears as though 1/2 is a usable value.
7351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7358 if test -n $lt_cv_sys_max_cmd_len ; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7360 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7363 $as_echo "none
" >&6; }
7365 max_cmd_len=$lt_cv_sys_max_cmd_len
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7377 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7378 # Try some XSI features
7381 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7383 && eval 'test $(( 1 + 1 )) -eq 2 \
7384 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7387 $as_echo "$xsi_shell" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7391 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7393 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7395 && lt_shell_append
=yes
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7397 $as_echo "$lt_shell_append" >&6; }
7400 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7410 # test EBCDIC or ASCII
7411 case `echo X|tr X '\101'` in
7412 A
) # ASCII based system
7413 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7414 lt_SP2NL
='tr \040 \012'
7415 lt_NL2SP
='tr \015\012 \040\040'
7417 *) # EBCDIC based system
7418 lt_SP2NL
='tr \100 \n'
7419 lt_NL2SP
='tr \r\n \100\100'
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7432 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7433 if ${lt_cv_ld_reload_flag+:} false
; then :
7434 $as_echo_n "(cached) " >&6
7436 lt_cv_ld_reload_flag
='-r'
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7439 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7440 reload_flag
=$lt_cv_ld_reload_flag
7441 case $reload_flag in
7443 *) reload_flag
=" $reload_flag" ;;
7445 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7448 if test "$GCC" = yes; then
7449 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7451 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7466 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$OBJDUMP"; then
7473 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir
=.
7480 for ac_exec_ext
in '' $ac_executable_extensions; do
7481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 OBJDUMP
=$ac_cv_prog_OBJDUMP
7493 if test -n "$OBJDUMP"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7495 $as_echo "$OBJDUMP" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_OBJDUMP"; then
7504 ac_ct_OBJDUMP
=$OBJDUMP
7505 # Extract the first word of "objdump", so it can be a program name with args.
7506 set dummy objdump
; ac_word
=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$ac_ct_OBJDUMP"; then
7513 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir
=.
7520 for ac_exec_ext
in '' $ac_executable_extensions; do
7521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7533 if test -n "$ac_ct_OBJDUMP"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7535 $as_echo "$ac_ct_OBJDUMP" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_OBJDUMP" = x
; then
7544 case $cross_compiling:$ac_tool_warned in
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned
=yes ;;
7550 OBJDUMP
=$ac_ct_OBJDUMP
7553 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7556 test -z "$OBJDUMP" && OBJDUMP
=objdump
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7567 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7568 if ${lt_cv_deplibs_check_method+:} false
; then :
7569 $as_echo_n "(cached) " >&6
7571 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7572 lt_cv_file_magic_test_file
=
7573 lt_cv_deplibs_check_method
='unknown'
7574 # Need to set the preceding variable on all platforms that support
7575 # interlibrary dependencies.
7576 # 'none' -- dependencies not supported.
7577 # `unknown' -- same as none, but documents that we really don't know.
7578 # 'pass_all' -- all dependencies passed with no checks.
7579 # 'test_compile' -- check by making test program.
7580 # 'file_magic [[regex]]' -- check by looking for files in library path
7581 # which responds to the $file_magic_cmd with a given extended regex.
7582 # If you have `file' or equivalent on your system and you're not sure
7583 # whether `pass_all' will *always* work, you probably want this one.
7587 lt_cv_deplibs_check_method
=pass_all
7591 lt_cv_deplibs_check_method
=pass_all
7595 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7596 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7597 lt_cv_file_magic_test_file
=/shlib
/libc.so
7601 # func_win32_libid is a shell function defined in ltmain.sh
7602 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7603 lt_cv_file_magic_cmd
='func_win32_libid'
7607 # Base MSYS/MinGW do not provide the 'file' command needed by
7608 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7609 # unless we find 'file', for example because we are cross-compiling.
7610 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7611 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7612 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7613 lt_cv_file_magic_cmd
='func_win32_libid'
7615 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7616 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7621 # use the weaker test based on 'objdump'. See mingw*.
7622 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7623 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7626 darwin
* | rhapsody
*)
7627 lt_cv_deplibs_check_method
=pass_all
7630 freebsd
* | dragonfly
*)
7631 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7634 # Not sure whether the presence of OpenBSD here was a mistake.
7635 # Let's accept both of them until this is cleared up.
7636 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7637 lt_cv_file_magic_cmd
=/usr
/bin
/file
7638 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7642 lt_cv_deplibs_check_method
=pass_all
7647 lt_cv_deplibs_check_method
=pass_all
7651 lt_cv_deplibs_check_method
=pass_all
7654 hpux10.20
* | hpux11
*)
7655 lt_cv_file_magic_cmd
=/usr
/bin
/file
7658 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7659 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7662 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]'
7663 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7666 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7667 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7673 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7674 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7677 irix5
* | irix6
* | nonstopux
*)
7679 *-32|
*"-32 ") libmagic
=32-bit;;
7680 *-n32|
*"-n32 ") libmagic
=N32
;;
7681 *-64|
*"-64 ") libmagic
=64-bit;;
7682 *) libmagic
=never-match
;;
7684 lt_cv_deplibs_check_method
=pass_all
7687 # This must be Linux ELF.
7688 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7689 lt_cv_deplibs_check_method
=pass_all
7693 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7694 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7696 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7701 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7702 lt_cv_file_magic_cmd
=/usr
/bin
/file
7703 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7707 lt_cv_deplibs_check_method
=pass_all
7711 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7712 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7714 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7718 osf3
* | osf4
* | osf5
*)
7719 lt_cv_deplibs_check_method
=pass_all
7723 lt_cv_deplibs_check_method
=pass_all
7727 lt_cv_deplibs_check_method
=pass_all
7730 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7731 lt_cv_deplibs_check_method
=pass_all
7735 case $host_vendor in
7737 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]'
7738 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7741 lt_cv_deplibs_check_method
=pass_all
7744 lt_cv_file_magic_cmd
='/bin/file'
7745 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7748 lt_cv_file_magic_cmd
='/bin/file'
7749 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7750 lt_cv_file_magic_test_file
=/lib
/libc.so
7753 lt_cv_deplibs_check_method
=pass_all
7756 lt_cv_deplibs_check_method
=pass_all
7762 lt_cv_deplibs_check_method
=pass_all
7765 # Assume VxWorks cross toolchains are built on Linux, possibly
7766 # as canadian for Windows hosts.
7767 lt_cv_deplibs_check_method
=pass_all
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7773 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7774 file_magic_cmd
=$lt_cv_file_magic_cmd
7775 deplibs_check_method
=$lt_cv_deplibs_check_method
7776 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7790 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7791 for plugin
in $plugin_names; do
7792 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
7793 if test x
$plugin_so = x
$plugin; then
7794 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
7796 if test x
$plugin_so != x
$plugin; then
7797 plugin_option
="--plugin $plugin_so"
7802 if test -n "$ac_tool_prefix"; then
7803 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7804 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806 $as_echo_n "checking for $ac_word... " >&6; }
7807 if ${ac_cv_prog_AR+:} false
; then :
7808 $as_echo_n "(cached) " >&6
7810 if test -n "$AR"; then
7811 ac_cv_prog_AR
="$AR" # Let the user override the test.
7813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir
=.
7818 for ac_exec_ext
in '' $ac_executable_extensions; do
7819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 if test -n "$AR"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7833 $as_echo "$AR" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 $as_echo "no" >&6; }
7841 if test -z "$ac_cv_prog_AR"; then
7843 # Extract the first word of "ar", so it can be a program name with args.
7844 set dummy
ar; ac_word
=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7848 $as_echo_n "(cached) " >&6
7850 if test -n "$ac_ct_AR"; then
7851 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir
=.
7858 for ac_exec_ext
in '' $ac_executable_extensions; do
7859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_ac_ct_AR
="ar"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7871 if test -n "$ac_ct_AR"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7873 $as_echo "$ac_ct_AR" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7879 if test "x$ac_ct_AR" = x
; then
7882 case $cross_compiling:$ac_tool_warned in
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7886 ac_tool_warned
=yes ;;
7894 test -z "$AR" && AR
=ar
7895 if test -n "$plugin_option"; then
7896 if $AR --help 2>&1 |
grep -q "\--plugin"; then
7898 $AR $plugin_option rc conftest.a conftest.c
7899 if test "$?" != 0; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7901 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7903 AR
="$AR $plugin_option"
7908 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7922 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_STRIP+:} false
; then :
7926 $as_echo_n "(cached) " >&6
7928 if test -n "$STRIP"; then
7929 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir
=.
7936 for ac_exec_ext
in '' $ac_executable_extensions; do
7937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 STRIP
=$ac_cv_prog_STRIP
7949 if test -n "$STRIP"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7951 $as_echo "$STRIP" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_STRIP"; then
7961 # Extract the first word of "strip", so it can be a program name with args.
7962 set dummy strip
; ac_word
=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 if test -n "$ac_ct_STRIP"; then
7969 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir
=.
7976 for ac_exec_ext
in '' $ac_executable_extensions; do
7977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_STRIP
="strip"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7989 if test -n "$ac_ct_STRIP"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7991 $as_echo "$ac_ct_STRIP" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_STRIP" = x
; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned
=yes ;;
8009 STRIP
="$ac_cv_prog_STRIP"
8012 test -z "$STRIP" && STRIP
=:
8019 if test -n "$ac_tool_prefix"; then
8020 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8021 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8023 $as_echo_n "checking for $ac_word... " >&6; }
8024 if ${ac_cv_prog_RANLIB+:} false
; then :
8025 $as_echo_n "(cached) " >&6
8027 if test -n "$RANLIB"; then
8028 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8034 test -z "$as_dir" && as_dir
=.
8035 for ac_exec_ext
in '' $ac_executable_extensions; do
8036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 RANLIB
=$ac_cv_prog_RANLIB
8048 if test -n "$RANLIB"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8050 $as_echo "$RANLIB" >&6; }
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053 $as_echo "no" >&6; }
8058 if test -z "$ac_cv_prog_RANLIB"; then
8059 ac_ct_RANLIB
=$RANLIB
8060 # Extract the first word of "ranlib", so it can be a program name with args.
8061 set dummy ranlib
; ac_word
=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8065 $as_echo_n "(cached) " >&6
8067 if test -n "$ac_ct_RANLIB"; then
8068 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8074 test -z "$as_dir" && as_dir
=.
8075 for ac_exec_ext
in '' $ac_executable_extensions; do
8076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8088 if test -n "$ac_ct_RANLIB"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8090 $as_echo "$ac_ct_RANLIB" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8096 if test "x$ac_ct_RANLIB" = x
; then
8099 case $cross_compiling:$ac_tool_warned in
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8103 ac_tool_warned
=yes ;;
8105 RANLIB
=$ac_ct_RANLIB
8108 RANLIB
="$ac_cv_prog_RANLIB"
8111 test -z "$RANLIB" && RANLIB
=:
8112 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8113 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
8114 RANLIB
="$RANLIB $plugin_option"
8123 # Determine commands to create old-style static archives.
8124 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8125 old_postinstall_cmds
='chmod 644 $oldlib'
8126 old_postuninstall_cmds
=
8128 if test -n "$RANLIB"; then
8131 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8134 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8137 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8142 lock_old_archive_extraction
=yes ;;
8144 lock_old_archive_extraction
=no
;;
8185 # If no C compiler was specified, use CC.
8188 # If no C compiler flags were specified, use CFLAGS.
8189 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8191 # Allow CC to be a program name with arguments.
8195 # Check for command to grab the raw symbol name followed by C symbol from nm.
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8197 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8198 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8202 # These are sane defaults that work on at least a few old systems.
8203 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8205 # Character class describing NM global symbol codes.
8206 symcode
='[BCDEGRST]'
8208 # Regexp to match symbols that can be accessed directly from C.
8209 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8211 # Define system-specific variables.
8216 cygwin
* | mingw
* | pw32
* | cegcc
*)
8217 symcode
='[ABCDGISTW]'
8220 if test "$host_cpu" = ia64
; then
8221 symcode
='[ABCDEGRST]'
8225 symcode
='[BCDEGRST]'
8228 symcode
='[BCDEGQRST]'
8239 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8247 # If we're using GNU nm, then use its standard symbol codes.
8248 case `$NM -V 2>&1` in
8249 *GNU
* |
*'with BFD'*)
8250 symcode
='[ABCDGIRSTW]' ;;
8253 # Transform an extracted symbol line into a proper C declaration.
8254 # Some systems (esp. on ia64) link data and code symbols differently,
8255 # so use this general approach.
8256 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8258 # Transform an extracted symbol line into symbol name and symbol address
8259 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8260 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'"
8262 # Handle CRLF in mingw tool chain
8266 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8270 # Try without a prefix underscore, then with it.
8271 for ac_symprfx
in "" "_"; do
8273 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8274 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8276 # Write the raw and C identifiers.
8277 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8278 # Fake it for dumpbin and say T for any non-static function
8279 # and D for any global variable.
8280 # Also find C++ and __fastcall symbols from MSVC++,
8281 # which start with @ or ?.
8282 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8283 " {last_section=section; section=\$ 3};"\
8284 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8285 " \$ 0!~/External *\|/{next};"\
8286 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8287 " {if(hide[section]) next};"\
8288 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8289 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8290 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8291 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8292 " ' prfx=^$ac_symprfx"
8294 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8297 # Check to see that the pipe works correctly.
8301 cat > conftest.
$ac_ext <<_LT_EOF
8306 void nm_test_func(void);
8307 void nm_test_func(void){}
8311 int main(){nm_test_var='a';nm_test_func();return(0);}
8314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8315 (eval $ac_compile) 2>&5
8317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8318 test $ac_status = 0; }; then
8319 # Now try to grab the symbols.
8321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8322 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8325 test $ac_status = 0; } && test -s "$nlist"; then
8326 # Try sorting and uniquifying the output.
8327 if sort "$nlist" |
uniq > "$nlist"T
; then
8328 mv -f "$nlist"T
"$nlist"
8333 # Make sure that we snagged all the symbols we need.
8334 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8335 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8336 cat <<_LT_EOF > conftest.$ac_ext
8342 # Now generate the symbol file.
8343 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8345 cat <<_LT_EOF >> conftest.$ac_ext
8347 /* The mapping between symbol names and symbols. */
8352 lt__PROGRAM__LTX_preloaded_symbols[] =
8354 { "@PROGRAM@", (void *) 0 },
8356 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8357 cat <<\_LT_EOF
>> conftest.
$ac_ext
8361 /* This works around a problem
in FreeBSD linker
*/
8362 #ifdef FREEBSD_WORKAROUND
8363 static const void
*lt_preloaded_setup
() {
8364 return lt__PROGRAM__LTX_preloaded_symbols
;
8372 # Now try linking the two files.
8373 mv conftest.
$ac_objext conftstm.
$ac_objext
8374 lt_save_LIBS
="$LIBS"
8375 lt_save_CFLAGS
="$CFLAGS"
8376 LIBS
="conftstm.$ac_objext"
8377 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8379 (eval $ac_link) 2>&5
8381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8382 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8385 LIBS
="$lt_save_LIBS"
8386 CFLAGS
="$lt_save_CFLAGS"
8388 echo "cannot find nm_test_func in $nlist" >&5
8391 echo "cannot find nm_test_var in $nlist" >&5
8394 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8397 echo "$progname: failed program was:" >&5
8398 cat conftest.
$ac_ext >&5
8400 rm -rf conftest
* conftst
*
8402 # Do not use the global_symbol_pipe unless it works.
8403 if test "$pipe_works" = yes; then
8406 lt_cv_sys_global_symbol_pipe
=
8412 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8413 lt_cv_sys_global_symbol_to_cdecl
=
8415 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8417 $as_echo "failed" >&6; }
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8420 $as_echo "ok" >&6; }
8444 # Check whether --enable-libtool-lock was given.
8445 if test "${enable_libtool_lock+set}" = set; then :
8446 enableval
=$enable_libtool_lock;
8449 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8451 # Some flags need to be propagated to the compiler or linker for good
8455 # Find out which ABI we are using.
8456 echo 'int i;' > conftest.
$ac_ext
8457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8458 (eval $ac_compile) 2>&5
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }; then
8462 case `/usr/bin/file conftest.$ac_objext` in
8474 # Find out which ABI we are using.
8475 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8477 (eval $ac_compile) 2>&5
8479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8480 test $ac_status = 0; }; then
8481 if test "$lt_cv_prog_gnu_ld" = yes; then
8482 case `/usr/bin/file conftest.$ac_objext` in
8484 LD
="${LD-ld} -melf32bsmip"
8487 LD
="${LD-ld} -melf32bmipn32"
8490 LD
="${LD-ld} -melf64bmip"
8494 case `/usr/bin/file conftest.$ac_objext` in
8510 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8511 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8512 # Find out which ABI we are using.
8513 echo 'int i;' > conftest.
$ac_ext
8514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8515 (eval $ac_compile) 2>&5
8517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8518 test $ac_status = 0; }; then
8519 case `/usr/bin/file conftest.o` in
8522 x86_64-
*kfreebsd
*-gnu)
8523 LD
="${LD-ld} -m elf_i386_fbsd"
8526 case `/usr/bin/file conftest.o` in
8528 LD
="${LD-ld} -m elf32_x86_64"
8531 LD
="${LD-ld} -m elf_i386"
8535 powerpc64le-
*linux
*)
8536 LD
="${LD-ld} -m elf32lppclinux"
8539 LD
="${LD-ld} -m elf32ppclinux"
8542 LD
="${LD-ld} -m elf_s390"
8545 LD
="${LD-ld} -m elf32_sparc"
8551 x86_64-
*kfreebsd
*-gnu)
8552 LD
="${LD-ld} -m elf_x86_64_fbsd"
8555 LD
="${LD-ld} -m elf_x86_64"
8558 LD
="${LD-ld} -m elf64lppc"
8561 LD
="${LD-ld} -m elf64ppc"
8563 s390
*-*linux
*|s390
*-*tpf
*)
8564 LD
="${LD-ld} -m elf64_s390"
8567 LD
="${LD-ld} -m elf64_sparc"
8577 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8578 SAVE_CFLAGS
="$CFLAGS"
8579 CFLAGS
="$CFLAGS -belf"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8581 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8582 if ${lt_cv_cc_needs_belf+:} false
; then :
8583 $as_echo_n "(cached) " >&6
8586 ac_cpp
='$CPP $CPPFLAGS'
8587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8591 if test x
$gcc_no_link = xyes
; then
8592 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8605 if ac_fn_c_try_link
"$LINENO"; then :
8606 lt_cv_cc_needs_belf
=yes
8608 lt_cv_cc_needs_belf
=no
8610 rm -f core conftest.err conftest.
$ac_objext \
8611 conftest
$ac_exeext conftest.
$ac_ext
8613 ac_cpp
='$CPP $CPPFLAGS'
8614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8620 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8621 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8622 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8623 CFLAGS
="$SAVE_CFLAGS"
8627 # Find out which ABI we are using.
8628 echo 'int i;' > conftest.
$ac_ext
8629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8630 (eval $ac_compile) 2>&5
8632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8633 test $ac_status = 0; }; then
8634 case `/usr/bin/file conftest.o` in
8636 case $lt_cv_prog_gnu_ld in
8637 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8639 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8651 need_locks
="$enable_libtool_lock"
8655 rhapsody
* | darwin
*)
8656 if test -n "$ac_tool_prefix"; then
8657 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8658 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8660 $as_echo_n "checking for $ac_word... " >&6; }
8661 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8662 $as_echo_n "(cached) " >&6
8664 if test -n "$DSYMUTIL"; then
8665 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8671 test -z "$as_dir" && as_dir
=.
8672 for ac_exec_ext
in '' $ac_executable_extensions; do
8673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8674 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8684 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8685 if test -n "$DSYMUTIL"; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8687 $as_echo "$DSYMUTIL" >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8690 $as_echo "no" >&6; }
8695 if test -z "$ac_cv_prog_DSYMUTIL"; then
8696 ac_ct_DSYMUTIL
=$DSYMUTIL
8697 # Extract the first word of "dsymutil", so it can be a program name with args.
8698 set dummy dsymutil
; ac_word
=$2
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8700 $as_echo_n "checking for $ac_word... " >&6; }
8701 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8702 $as_echo_n "(cached) " >&6
8704 if test -n "$ac_ct_DSYMUTIL"; then
8705 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8711 test -z "$as_dir" && as_dir
=.
8712 for ac_exec_ext
in '' $ac_executable_extensions; do
8713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8714 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8724 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8725 if test -n "$ac_ct_DSYMUTIL"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8727 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730 $as_echo "no" >&6; }
8733 if test "x$ac_ct_DSYMUTIL" = x
; then
8736 case $cross_compiling:$ac_tool_warned in
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8740 ac_tool_warned
=yes ;;
8742 DSYMUTIL
=$ac_ct_DSYMUTIL
8745 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8748 if test -n "$ac_tool_prefix"; then
8749 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8750 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752 $as_echo_n "checking for $ac_word... " >&6; }
8753 if ${ac_cv_prog_NMEDIT+:} false
; then :
8754 $as_echo_n "(cached) " >&6
8756 if test -n "$NMEDIT"; then
8757 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8763 test -z "$as_dir" && as_dir
=.
8764 for ac_exec_ext
in '' $ac_executable_extensions; do
8765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8776 NMEDIT
=$ac_cv_prog_NMEDIT
8777 if test -n "$NMEDIT"; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8779 $as_echo "$NMEDIT" >&6; }
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8782 $as_echo "no" >&6; }
8787 if test -z "$ac_cv_prog_NMEDIT"; then
8788 ac_ct_NMEDIT
=$NMEDIT
8789 # Extract the first word of "nmedit", so it can be a program name with args.
8790 set dummy nmedit
; ac_word
=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792 $as_echo_n "checking for $ac_word... " >&6; }
8793 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8794 $as_echo_n "(cached) " >&6
8796 if test -n "$ac_ct_NMEDIT"; then
8797 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8803 test -z "$as_dir" && as_dir
=.
8804 for ac_exec_ext
in '' $ac_executable_extensions; do
8805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8816 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8817 if test -n "$ac_ct_NMEDIT"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8819 $as_echo "$ac_ct_NMEDIT" >&6; }
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822 $as_echo "no" >&6; }
8825 if test "x$ac_ct_NMEDIT" = x
; then
8828 case $cross_compiling:$ac_tool_warned in
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8832 ac_tool_warned
=yes ;;
8834 NMEDIT
=$ac_ct_NMEDIT
8837 NMEDIT
="$ac_cv_prog_NMEDIT"
8840 if test -n "$ac_tool_prefix"; then
8841 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8842 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8844 $as_echo_n "checking for $ac_word... " >&6; }
8845 if ${ac_cv_prog_LIPO+:} false
; then :
8846 $as_echo_n "(cached) " >&6
8848 if test -n "$LIPO"; then
8849 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8855 test -z "$as_dir" && as_dir
=.
8856 for ac_exec_ext
in '' $ac_executable_extensions; do
8857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 LIPO
=$ac_cv_prog_LIPO
8869 if test -n "$LIPO"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8871 $as_echo "$LIPO" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8879 if test -z "$ac_cv_prog_LIPO"; then
8881 # Extract the first word of "lipo", so it can be a program name with args.
8882 set dummy lipo
; ac_word
=$2
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8884 $as_echo_n "checking for $ac_word... " >&6; }
8885 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8886 $as_echo_n "(cached) " >&6
8888 if test -n "$ac_ct_LIPO"; then
8889 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8895 test -z "$as_dir" && as_dir
=.
8896 for ac_exec_ext
in '' $ac_executable_extensions; do
8897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8898 ac_cv_prog_ac_ct_LIPO
="lipo"
8899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8909 if test -n "$ac_ct_LIPO"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8911 $as_echo "$ac_ct_LIPO" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8917 if test "x$ac_ct_LIPO" = x
; then
8920 case $cross_compiling:$ac_tool_warned in
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8924 ac_tool_warned
=yes ;;
8929 LIPO
="$ac_cv_prog_LIPO"
8932 if test -n "$ac_tool_prefix"; then
8933 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8934 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8936 $as_echo_n "checking for $ac_word... " >&6; }
8937 if ${ac_cv_prog_OTOOL+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8940 if test -n "$OTOOL"; then
8941 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir
=.
8948 for ac_exec_ext
in '' $ac_executable_extensions; do
8949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8950 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8960 OTOOL
=$ac_cv_prog_OTOOL
8961 if test -n "$OTOOL"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8963 $as_echo "$OTOOL" >&6; }
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966 $as_echo "no" >&6; }
8971 if test -z "$ac_cv_prog_OTOOL"; then
8973 # Extract the first word of "otool", so it can be a program name with args.
8974 set dummy otool
; ac_word
=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8976 $as_echo_n "checking for $ac_word... " >&6; }
8977 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8978 $as_echo_n "(cached) " >&6
8980 if test -n "$ac_ct_OTOOL"; then
8981 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8987 test -z "$as_dir" && as_dir
=.
8988 for ac_exec_ext
in '' $ac_executable_extensions; do
8989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8990 ac_cv_prog_ac_ct_OTOOL
="otool"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9000 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9001 if test -n "$ac_ct_OTOOL"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9003 $as_echo "$ac_ct_OTOOL" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9006 $as_echo "no" >&6; }
9009 if test "x$ac_ct_OTOOL" = x
; then
9012 case $cross_compiling:$ac_tool_warned in
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9016 ac_tool_warned
=yes ;;
9021 OTOOL
="$ac_cv_prog_OTOOL"
9024 if test -n "$ac_tool_prefix"; then
9025 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9026 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028 $as_echo_n "checking for $ac_word... " >&6; }
9029 if ${ac_cv_prog_OTOOL64+:} false
; then :
9030 $as_echo_n "(cached) " >&6
9032 if test -n "$OTOOL64"; then
9033 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9039 test -z "$as_dir" && as_dir
=.
9040 for ac_exec_ext
in '' $ac_executable_extensions; do
9041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9042 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9052 OTOOL64
=$ac_cv_prog_OTOOL64
9053 if test -n "$OTOOL64"; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9055 $as_echo "$OTOOL64" >&6; }
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9058 $as_echo "no" >&6; }
9063 if test -z "$ac_cv_prog_OTOOL64"; then
9064 ac_ct_OTOOL64
=$OTOOL64
9065 # Extract the first word of "otool64", so it can be a program name with args.
9066 set dummy otool64
; ac_word
=$2
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9068 $as_echo_n "checking for $ac_word... " >&6; }
9069 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9070 $as_echo_n "(cached) " >&6
9072 if test -n "$ac_ct_OTOOL64"; then
9073 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9079 test -z "$as_dir" && as_dir
=.
9080 for ac_exec_ext
in '' $ac_executable_extensions; do
9081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9082 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9092 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9093 if test -n "$ac_ct_OTOOL64"; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9095 $as_echo "$ac_ct_OTOOL64" >&6; }
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098 $as_echo "no" >&6; }
9101 if test "x$ac_ct_OTOOL64" = x
; then
9104 case $cross_compiling:$ac_tool_warned in
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9108 ac_tool_warned
=yes ;;
9110 OTOOL64
=$ac_ct_OTOOL64
9113 OTOOL64
="$ac_cv_prog_OTOOL64"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9143 $as_echo_n "checking for -single_module linker flag... " >&6; }
9144 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9145 $as_echo_n "(cached) " >&6
9147 lt_cv_apple_cc_single_mod
=no
9148 if test -z "${LT_MULTI_MODULE}"; then
9149 # By default we will add the -single_module flag. You can override
9150 # by either setting the environment variable LT_MULTI_MODULE
9151 # non-empty at configure time, or by adding -multi_module to the
9153 rm -rf libconftest.dylib
*
9154 echo "int foo(void){return 1;}" > conftest.c
9155 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9156 -dynamiclib -Wl,-single_module conftest.c" >&5
9157 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9158 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9160 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9161 lt_cv_apple_cc_single_mod
=yes
9163 cat conftest.err
>&5
9165 rm -rf libconftest.dylib
*
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9170 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9172 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9173 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9174 $as_echo_n "(cached) " >&6
9176 lt_cv_ld_exported_symbols_list
=no
9177 save_LDFLAGS
=$LDFLAGS
9178 echo "_main" > conftest.sym
9179 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9180 if test x
$gcc_no_link = xyes
; then
9181 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9194 if ac_fn_c_try_link
"$LINENO"; then :
9195 lt_cv_ld_exported_symbols_list
=yes
9197 lt_cv_ld_exported_symbols_list
=no
9199 rm -f core conftest.err conftest.
$ac_objext \
9200 conftest
$ac_exeext conftest.
$ac_ext
9201 LDFLAGS
="$save_LDFLAGS"
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9205 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9207 $as_echo_n "checking for -force_load linker flag... " >&6; }
9208 if ${lt_cv_ld_force_load+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 lt_cv_ld_force_load
=no
9212 cat > conftest.c
<< _LT_EOF
9213 int forced_loaded() { return 2;}
9215 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9216 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9217 echo "$AR cru libconftest.a conftest.o" >&5
9218 $AR cru libconftest.a conftest.o
2>&5
9219 cat > conftest.c
<< _LT_EOF
9220 int main() { return 0;}
9222 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9223 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9225 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9226 lt_cv_ld_force_load
=yes
9228 cat conftest.err
>&5
9230 rm -f conftest.err libconftest.a conftest conftest.c
9231 rm -rf conftest.dSYM
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9235 $as_echo "$lt_cv_ld_force_load" >&6; }
9236 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9237 # build without first building modern cctools / linker.
9238 case $host_cpu-$host_os in
9239 *-rhapsody* |
*-darwin1.
[012])
9240 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9242 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9244 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9245 # deployment target is forced to an earlier version.
9246 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9247 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0-9]*)
9250 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9258 _lt_dar_single_mod
='$single_module'
9260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9261 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9263 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9265 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9266 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9273 for ac_header
in dlfcn.h
9275 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9277 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9278 cat >>confdefs.h
<<_ACEOF
9279 #define HAVE_DLFCN_H 1
9298 # Check whether --enable-shared was given.
9299 if test "${enable_shared+set}" = set; then :
9300 enableval
=$enable_shared; p
=${PACKAGE-default}
9302 yes) enable_shared
=yes ;;
9303 no
) enable_shared
=no
;;
9306 # Look at the argument we got. We use all the common list separators.
9307 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9308 for pkg
in $enableval; do
9310 if test "X$pkg" = "X$p"; then
9329 # Check whether --enable-static was given.
9330 if test "${enable_static+set}" = set; then :
9331 enableval
=$enable_static; p
=${PACKAGE-default}
9333 yes) enable_static
=yes ;;
9334 no
) enable_static
=no
;;
9337 # Look at the argument we got. We use all the common list separators.
9338 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9339 for pkg
in $enableval; do
9341 if test "X$pkg" = "X$p"; then
9361 # Check whether --with-pic was given.
9362 if test "${with_pic+set}" = set; then :
9363 withval
=$with_pic; pic_mode
="$withval"
9369 test -z "$pic_mode" && pic_mode
=default
9377 # Check whether --enable-fast-install was given.
9378 if test "${enable_fast_install+set}" = set; then :
9379 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9381 yes) enable_fast_install
=yes ;;
9382 no
) enable_fast_install
=no
;;
9384 enable_fast_install
=no
9385 # Look at the argument we got. We use all the common list separators.
9386 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9387 for pkg
in $enableval; do
9389 if test "X$pkg" = "X$p"; then
9390 enable_fast_install
=yes
9397 enable_fast_install
=yes
9410 # This can be used to rebuild libtool when needed
9411 LIBTOOL_DEPS
="$ltmain"
9413 # Always use our own libtool.
9414 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9441 test -z "$LN_S" && LN_S
="ln -s"
9456 if test -n "${ZSH_VERSION+set}" ; then
9457 setopt NO_GLOB_SUBST
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9461 $as_echo_n "checking for objdir... " >&6; }
9462 if ${lt_cv_objdir+:} false
; then :
9463 $as_echo_n "(cached) " >&6
9465 rm -f .libs
2>/dev
/null
9466 mkdir .libs
2>/dev
/null
9467 if test -d .libs
; then
9470 # MS-DOS does not allow filenames that begin with a dot.
9473 rmdir .libs
2>/dev
/null
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9476 $as_echo "$lt_cv_objdir" >&6; }
9477 objdir
=$lt_cv_objdir
9483 cat >>confdefs.h
<<_ACEOF
9484 #define LT_OBJDIR "$lt_cv_objdir/"
9492 # AIX sometimes has problems with the GCC collect2 program. For some
9493 # reason, if we set the COLLECT_NAMES environment variable, the problems
9494 # vanish in a puff of smoke.
9495 if test "X${COLLECT_NAMES+set}" != Xset
; then
9497 export COLLECT_NAMES
9504 can_build_shared
=yes
9506 # All known linkers require a `.a' archive for static linking (except MSVC,
9507 # which needs '.lib').
9510 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9513 old_CFLAGS
="$CFLAGS"
9515 # Set sane defaults for various variables
9516 test -z "$CC" && CC
=cc
9517 test -z "$LTCC" && LTCC
=$CC
9518 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9519 test -z "$LD" && LD
=ld
9520 test -z "$ac_objext" && ac_objext
=o
9522 for cc_temp
in $compiler""; do
9524 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9525 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9530 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9533 # Only perform the check for file, if the check method requires it
9534 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9535 case $deplibs_check_method in
9537 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9539 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9540 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9541 $as_echo_n "(cached) " >&6
9545 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9548 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9549 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9550 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9551 for ac_dir
in $ac_dummy; do
9553 test -z "$ac_dir" && ac_dir
=.
9554 if test -f $ac_dir/${ac_tool_prefix}file; then
9555 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9556 if test -n "$file_magic_test_file"; then
9557 case $deplibs_check_method in
9559 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9560 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9561 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9562 $EGREP "$file_magic_regex" > /dev
/null
; then
9567 *** Warning: the command libtool uses to detect shared libraries,
9568 *** $file_magic_cmd, produces output that libtool cannot recognize.
9569 *** The result is that libtool may fail to recognize shared libraries
9570 *** as such. This will affect the creation of libtool libraries that
9571 *** depend on shared libraries, but programs linked with such libtool
9572 *** libraries will work regardless of this problem. Nevertheless, you
9573 *** may want to report the problem to your system manager and/or to
9574 *** bug-libtool@gnu.org
9584 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9589 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9590 if test -n "$MAGIC_CMD"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9592 $as_echo "$MAGIC_CMD" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9602 if test -z "$lt_cv_path_MAGIC_CMD"; then
9603 if test -n "$ac_tool_prefix"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9605 $as_echo_n "checking for file... " >&6; }
9606 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9607 $as_echo_n "(cached) " >&6
9611 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9614 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9615 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9616 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9617 for ac_dir
in $ac_dummy; do
9619 test -z "$ac_dir" && ac_dir
=.
9620 if test -f $ac_dir/file; then
9621 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9622 if test -n "$file_magic_test_file"; then
9623 case $deplibs_check_method in
9625 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9626 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9627 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9628 $EGREP "$file_magic_regex" > /dev
/null
; then
9633 *** Warning: the command libtool uses to detect shared libraries,
9634 *** $file_magic_cmd, produces output that libtool cannot recognize.
9635 *** The result is that libtool may fail to recognize shared libraries
9636 *** as such. This will affect the creation of libtool libraries that
9637 *** depend on shared libraries, but programs linked with such libtool
9638 *** libraries will work regardless of this problem. Nevertheless, you
9639 *** may want to report the problem to your system manager and/or to
9640 *** bug-libtool@gnu.org
9650 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9655 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9656 if test -n "$MAGIC_CMD"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9658 $as_echo "$MAGIC_CMD" >&6; }
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 $as_echo "no" >&6; }
9674 # Use C for the default configuration in the libtool script
9678 ac_cpp
='$CPP $CPPFLAGS'
9679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9684 # Source file extension for C test sources.
9687 # Object file extension for compiled C test sources.
9691 # Code to be used in simple compile tests
9692 lt_simple_compile_test_code
="int some_variable = 0;"
9694 # Code to be used in simple link tests
9695 lt_simple_link_test_code
='int main(){return(0);}'
9703 # If no C compiler was specified, use CC.
9706 # If no C compiler flags were specified, use CFLAGS.
9707 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9709 # Allow CC to be a program name with arguments.
9712 # Save the default compiler, since it gets overwritten when the other
9713 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9714 compiler_DEFAULT
=$CC
9716 # save warnings/boilerplate of simple test code
9717 ac_outfile
=conftest.
$ac_objext
9718 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9719 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9720 _lt_compiler_boilerplate
=`cat conftest.err`
9723 ac_outfile
=conftest.
$ac_objext
9724 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9725 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9726 _lt_linker_boilerplate
=`cat conftest.err`
9731 ## There is no encapsulation within the following macros, do not change
9732 ## the running order or otherwise move them around unless you know exactly
9733 ## what you are doing...
9734 if test -n "$compiler"; then
9736 lt_prog_compiler_no_builtin_flag
=
9738 if test "$GCC" = yes; then
9739 case $cc_basename in
9741 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9743 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9747 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9748 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9749 $as_echo_n "(cached) " >&6
9751 lt_cv_prog_compiler_rtti_exceptions
=no
9752 ac_outfile
=conftest.
$ac_objext
9753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9754 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9755 # Insert the option either (1) after the last *FLAGS variable, or
9756 # (2) before a word containing "conftest.", or (3) at the end.
9757 # Note that $ac_compile itself does not contain backslashes and begins
9758 # with a dollar sign (not a hyphen), so the echo should work correctly.
9759 # The option is referenced via a variable to avoid confusing sed.
9760 lt_compile
=`echo "$ac_compile" | $SED \
9761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9763 -e 's:$: $lt_compiler_flag:'`
9764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9765 (eval "$lt_compile" 2>conftest.err
)
9767 cat conftest.err
>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 if (exit $ac_status) && test -s "$ac_outfile"; then
9770 # The compiler can only warn and ignore the option if not recognized
9771 # So say no if there are warnings other than the usual output.
9772 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9773 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9774 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9775 lt_cv_prog_compiler_rtti_exceptions
=yes
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9782 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9784 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9785 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9797 lt_prog_compiler_wl
=
9798 lt_prog_compiler_pic
=
9799 lt_prog_compiler_static
=
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9802 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9804 if test "$GCC" = yes; then
9805 lt_prog_compiler_wl
='-Wl,'
9806 lt_prog_compiler_static
='-static'
9810 # All AIX code is PIC.
9811 if test "$host_cpu" = ia64
; then
9812 # AIX 5 now supports IA64 processor
9813 lt_prog_compiler_static
='-Bstatic'
9815 lt_prog_compiler_pic
='-fPIC'
9821 # see comment about AmigaOS4 .so support
9822 lt_prog_compiler_pic
='-fPIC'
9825 # FIXME: we need at least 68020 code to build shared libraries, but
9826 # adding the `-m68020' flag to GCC prevents building anything better,
9828 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9833 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9834 # PIC is the default for these OSes.
9837 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9838 # This hack is so that the source file can tell whether it is being
9839 # built for inclusion in a dll (and should export symbols for example).
9840 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9841 # (--disable-auto-import) libraries
9842 lt_prog_compiler_pic
='-DDLL_EXPORT'
9845 darwin
* | rhapsody
*)
9846 # PIC is the default on this platform
9847 # Common symbols not allowed in MH_DYLIB files
9848 lt_prog_compiler_pic
='-fno-common'
9852 # PIC is the default for Haiku.
9853 # The "-static" flag exists, but is broken.
9854 lt_prog_compiler_static
=
9858 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9859 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9860 # sets the default TLS model and affects inlining.
9866 lt_prog_compiler_pic
='-fPIC'
9872 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9873 # Instead, we relocate shared libraries at runtime.
9877 # Just because we use GCC doesn't mean we suddenly get shared libraries
9878 # on systems that don't support them.
9879 lt_prog_compiler_can_build_shared
=no
9884 # QNX uses GNU C++, but need to define -shared option too, otherwise
9886 lt_prog_compiler_pic
='-fPIC -shared'
9890 if test -d /usr
/nec
; then
9891 lt_prog_compiler_pic
=-Kconform_pic
9896 lt_prog_compiler_pic
='-fPIC'
9900 case $cc_basename in
9901 nvcc
*) # Cuda Compiler Driver 2.2
9902 lt_prog_compiler_wl
='-Xlinker '
9903 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9907 # PORTME Check for flag to pass linker flags through the system compiler.
9910 lt_prog_compiler_wl
='-Wl,'
9911 if test "$host_cpu" = ia64
; then
9912 # AIX 5 now supports IA64 processor
9913 lt_prog_compiler_static
='-Bstatic'
9915 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9919 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9920 # This hack is so that the source file can tell whether it is being
9921 # built for inclusion in a dll (and should export symbols for example).
9922 lt_prog_compiler_pic
='-DDLL_EXPORT'
9925 hpux9
* | hpux10
* | hpux11
*)
9926 lt_prog_compiler_wl
='-Wl,'
9927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9934 lt_prog_compiler_pic
='+Z'
9937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9938 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9941 irix5
* | irix6
* | nonstopux
*)
9942 lt_prog_compiler_wl
='-Wl,'
9943 # PIC (with -KPIC) is the default.
9944 lt_prog_compiler_static
='-non_shared'
9947 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9948 case $cc_basename in
9949 # old Intel for x86_64 which still supported -KPIC.
9951 lt_prog_compiler_wl
='-Wl,'
9952 lt_prog_compiler_pic
='-KPIC'
9953 lt_prog_compiler_static
='-static'
9955 # icc used to be incompatible with GCC.
9956 # ICC 10 doesn't accept -KPIC any more.
9958 lt_prog_compiler_wl
='-Wl,'
9959 lt_prog_compiler_pic
='-fPIC'
9960 lt_prog_compiler_static
='-static'
9962 # Lahey Fortran 8.1.
9964 lt_prog_compiler_wl
='-Wl,'
9965 lt_prog_compiler_pic
='--shared'
9966 lt_prog_compiler_static
='--static'
9968 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9969 # Portland Group compilers (*not* the Pentium gcc compiler,
9970 # which looks to be a dead project)
9971 lt_prog_compiler_wl
='-Wl,'
9972 lt_prog_compiler_pic
='-fpic'
9973 lt_prog_compiler_static
='-Bstatic'
9976 lt_prog_compiler_wl
='-Wl,'
9977 # All Alpha code is PIC.
9978 lt_prog_compiler_static
='-non_shared'
9980 xl
* | bgxl
* | bgf
* | mpixl
*)
9981 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9982 lt_prog_compiler_wl
='-Wl,'
9983 lt_prog_compiler_pic
='-qpic'
9984 lt_prog_compiler_static
='-qstaticlink'
9987 case `$CC -V 2>&1 | sed 5q` in
9988 *Sun\ F
* |
*Sun
*Fortran
*)
9989 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9990 lt_prog_compiler_pic
='-KPIC'
9991 lt_prog_compiler_static
='-Bstatic'
9992 lt_prog_compiler_wl
=''
9996 lt_prog_compiler_pic
='-KPIC'
9997 lt_prog_compiler_static
='-Bstatic'
9998 lt_prog_compiler_wl
='-Wl,'
10006 lt_prog_compiler_pic
='-KPIC'
10007 lt_prog_compiler_static
='-Bstatic'
10011 # QNX uses GNU C++, but need to define -shared option too, otherwise
10012 # it will coredump.
10013 lt_prog_compiler_pic
='-fPIC -shared'
10016 osf3
* | osf4
* | osf5
*)
10017 lt_prog_compiler_wl
='-Wl,'
10018 # All OSF/1 code is PIC.
10019 lt_prog_compiler_static
='-non_shared'
10023 lt_prog_compiler_static
='-non_shared'
10027 lt_prog_compiler_pic
='-KPIC'
10028 lt_prog_compiler_static
='-Bstatic'
10029 case $cc_basename in
10030 f77
* | f90
* | f95
*)
10031 lt_prog_compiler_wl
='-Qoption ld ';;
10033 lt_prog_compiler_wl
='-Wl,';;
10038 lt_prog_compiler_wl
='-Qoption ld '
10039 lt_prog_compiler_pic
='-PIC'
10040 lt_prog_compiler_static
='-Bstatic'
10043 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10044 lt_prog_compiler_wl
='-Wl,'
10045 lt_prog_compiler_pic
='-KPIC'
10046 lt_prog_compiler_static
='-Bstatic'
10050 if test -d /usr
/nec
;then
10051 lt_prog_compiler_pic
='-Kconform_pic'
10052 lt_prog_compiler_static
='-Bstatic'
10056 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10057 lt_prog_compiler_wl
='-Wl,'
10058 lt_prog_compiler_pic
='-KPIC'
10059 lt_prog_compiler_static
='-Bstatic'
10063 lt_prog_compiler_wl
='-Wl,'
10064 lt_prog_compiler_can_build_shared
=no
10068 lt_prog_compiler_pic
='-pic'
10069 lt_prog_compiler_static
='-Bstatic'
10073 lt_prog_compiler_can_build_shared
=no
10079 # For platforms which do not support PIC, -DPIC is meaningless:
10081 lt_prog_compiler_pic
=
10084 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10088 $as_echo "$lt_prog_compiler_pic" >&6; }
10096 # Check to make sure the PIC flag actually works.
10098 if test -n "$lt_prog_compiler_pic"; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10100 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10101 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 lt_cv_prog_compiler_pic_works
=no
10105 ac_outfile
=conftest.
$ac_objext
10106 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10107 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10108 # Insert the option either (1) after the last *FLAGS variable, or
10109 # (2) before a word containing "conftest.", or (3) at the end.
10110 # Note that $ac_compile itself does not contain backslashes and begins
10111 # with a dollar sign (not a hyphen), so the echo should work correctly.
10112 # The option is referenced via a variable to avoid confusing sed.
10113 lt_compile
=`echo "$ac_compile" | $SED \
10114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10116 -e 's:$: $lt_compiler_flag:'`
10117 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10118 (eval "$lt_compile" 2>conftest.err
)
10120 cat conftest.err
>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 if (exit $ac_status) && test -s "$ac_outfile"; then
10123 # The compiler can only warn and ignore the option if not recognized
10124 # So say no if there are warnings other than the usual output.
10125 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10126 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10127 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10128 lt_cv_prog_compiler_pic_works
=yes
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10135 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10137 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10138 case $lt_prog_compiler_pic in
10140 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10143 lt_prog_compiler_pic
=
10144 lt_prog_compiler_can_build_shared
=no
10155 # Check to make sure the static flag actually works.
10157 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10159 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10160 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10161 $as_echo_n "(cached) " >&6
10163 lt_cv_prog_compiler_static_works
=no
10164 save_LDFLAGS
="$LDFLAGS"
10165 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10166 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10167 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10168 # The linker can only warn and ignore the option if not recognized
10169 # So say no if there are warnings
10170 if test -s conftest.err
; then
10171 # Append any errors to the config.log.
10172 cat conftest.err
1>&5
10173 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10174 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10175 if diff conftest.exp conftest.er2
>/dev
/null
; then
10176 lt_cv_prog_compiler_static_works
=yes
10179 lt_cv_prog_compiler_static_works
=yes
10183 LDFLAGS
="$save_LDFLAGS"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10187 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10189 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10192 lt_prog_compiler_static
=
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10202 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10203 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10204 $as_echo_n "(cached) " >&6
10206 lt_cv_prog_compiler_c_o
=no
10207 $RM -r conftest
2>/dev
/null
10211 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10213 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10214 # Insert the option either (1) after the last *FLAGS variable, or
10215 # (2) before a word containing "conftest.", or (3) at the end.
10216 # Note that $ac_compile itself does not contain backslashes and begins
10217 # with a dollar sign (not a hyphen), so the echo should work correctly.
10218 lt_compile
=`echo "$ac_compile" | $SED \
10219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10221 -e 's:$: $lt_compiler_flag:'`
10222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10223 (eval "$lt_compile" 2>out
/conftest.err
)
10225 cat out
/conftest.err
>&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10229 # The compiler can only warn and ignore the option if not recognized
10230 # So say no if there are warnings
10231 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10232 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10233 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10234 lt_cv_prog_compiler_c_o
=yes
10239 # SGI C++ compiler will create directory out/ii_files/ for
10240 # template instantiation
10241 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10242 $RM out
/* && rmdir out
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10249 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10257 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10258 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10259 $as_echo_n "(cached) " >&6
10261 lt_cv_prog_compiler_c_o
=no
10262 $RM -r conftest
2>/dev
/null
10266 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10268 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10269 # Insert the option either (1) after the last *FLAGS variable, or
10270 # (2) before a word containing "conftest.", or (3) at the end.
10271 # Note that $ac_compile itself does not contain backslashes and begins
10272 # with a dollar sign (not a hyphen), so the echo should work correctly.
10273 lt_compile
=`echo "$ac_compile" | $SED \
10274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10276 -e 's:$: $lt_compiler_flag:'`
10277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10278 (eval "$lt_compile" 2>out
/conftest.err
)
10280 cat out
/conftest.err
>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10284 # The compiler can only warn and ignore the option if not recognized
10285 # So say no if there are warnings
10286 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10287 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10288 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10289 lt_cv_prog_compiler_c_o
=yes
10294 # SGI C++ compiler will create directory out/ii_files/ for
10295 # template instantiation
10296 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10297 $RM out
/* && rmdir out
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10304 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10309 hard_links
="nottested"
10310 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10311 # do not overwrite the value of need_locks provided by the user
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10313 $as_echo_n "checking if we can lock with hard links... " >&6; }
10316 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10318 ln conftest.a conftest.b
2>&5 || hard_links
=no
10319 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10321 $as_echo "$hard_links" >&6; }
10322 if test "$hard_links" = no
; then
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10324 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10337 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10340 allow_undefined_flag
=
10341 always_export_symbols
=no
10343 archive_expsym_cmds
=
10344 compiler_needs_object
=no
10345 enable_shared_with_static_runtimes
=no
10346 export_dynamic_flag_spec
=
10347 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10348 hardcode_automatic
=no
10350 hardcode_direct_absolute
=no
10351 hardcode_libdir_flag_spec
=
10352 hardcode_libdir_flag_spec_ld
=
10353 hardcode_libdir_separator
=
10354 hardcode_minus_L
=no
10355 hardcode_shlibpath_var
=unsupported
10357 link_all_deplibs
=unknown
10359 module_expsym_cmds
=
10360 old_archive_from_new_cmds
=
10361 old_archive_from_expsyms_cmds
=
10362 thread_safe_flag_spec
=
10363 whole_archive_flag_spec
=
10364 # include_expsyms should be a list of space-separated symbols to be *always*
10365 # included in the symbol list
10367 # exclude_expsyms can be an extended regexp of symbols to exclude
10368 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10369 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10370 # as well as any symbol that contains `d'.
10371 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10372 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10373 # platforms (ab)use it in PIC code, but their linkers get confused if
10374 # the symbol is explicitly referenced. Since portable code cannot
10375 # rely on this symbol name, it's probably fine to never include it in
10376 # preloaded symbol tables.
10377 # Exclude shared library initialization/finalization symbols.
10378 extract_expsyms_cmds
=
10381 cygwin
* | mingw
* | pw32
* | cegcc
*)
10382 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10383 # When not using gcc, we currently assume that we are using
10384 # Microsoft Visual C++.
10385 if test "$GCC" != yes; then
10390 # we just hope/assume this is gcc and not c89 (= MSVC++)
10400 # On some targets, GNU ld is compatible enough with the native linker
10401 # that we're better off using the native interface for both.
10402 lt_use_gnu_ld_interface
=no
10403 if test "$with_gnu_ld" = yes; then
10406 # The AIX port of GNU ld has always aspired to compatibility
10407 # with the native linker. However, as the warning in the GNU ld
10408 # block says, versions before 2.19.5* couldn't really create working
10409 # shared libraries, regardless of the interface used.
10410 case `$LD -v 2>&1` in
10411 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10412 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10413 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10415 lt_use_gnu_ld_interface
=yes
10420 lt_use_gnu_ld_interface
=yes
10425 if test "$lt_use_gnu_ld_interface" = yes; then
10426 # If archive_cmds runs LD, not CC, wlarc should be empty
10429 # Set some defaults for GNU ld with shared library support. These
10430 # are reset later if shared libraries are not supported. Putting them
10431 # here allows them to be overridden if necessary.
10432 runpath_var
=LD_RUN_PATH
10433 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10434 export_dynamic_flag_spec
='${wl}--export-dynamic'
10435 # ancient GNU ld didn't support --whole-archive et. al.
10436 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10437 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10439 whole_archive_flag_spec
=
10441 supports_anon_versioning
=no
10442 case `$LD -v 2>&1` in
10443 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10444 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10445 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10446 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10447 *\
2.11.
*) ;; # other 2.11 versions
10448 *) supports_anon_versioning
=yes ;;
10451 # See if GNU ld supports shared libraries.
10454 # On AIX/PPC, the GNU linker is very broken
10455 if test "$host_cpu" != ia64
; then
10459 *** Warning: the GNU linker, at least up to release 2.19, is reported
10460 *** to be unable to reliably create shared libraries on AIX.
10461 *** Therefore, libtool is disabling shared libraries support. If you
10462 *** really care for shared libraries, you may want to install binutils
10463 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10464 *** You will then need to restart the configuration process.
10473 # see comment about AmigaOS4 .so support
10474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10475 archive_expsym_cmds
=''
10478 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)'
10479 hardcode_libdir_flag_spec
='-L$libdir'
10480 hardcode_minus_L
=yes
10486 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10487 allow_undefined_flag
=unsupported
10488 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10489 # support --undefined. This deserves some investigation. FIXME
10490 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10496 cygwin
* | mingw
* | pw32
* | cegcc
*)
10497 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10498 # as there is no search path for DLLs.
10499 hardcode_libdir_flag_spec
='-L$libdir'
10500 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10501 allow_undefined_flag
=unsupported
10502 always_export_symbols
=no
10503 enable_shared_with_static_runtimes
=yes
10504 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10506 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10507 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10508 # If the export-symbols file already is a .def file (1st line
10509 # is EXPORTS), use it as is; otherwise, prepend...
10510 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10511 cp $export_symbols $output_objdir/$soname.def;
10513 echo EXPORTS > $output_objdir/$soname.def;
10514 cat $export_symbols >> $output_objdir/$soname.def;
10516 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10523 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10524 link_all_deplibs
=yes
10529 hardcode_shlibpath_var
=no
10530 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10531 export_dynamic_flag_spec
='${wl}-E'
10532 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10533 # Instead, shared libraries are loaded at an image base (0x10000000 by
10534 # default) and relocated if they conflict, which is a slow very memory
10535 # consuming and fragmenting process. To avoid this, we pick a random,
10536 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10537 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10538 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10539 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'
10542 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10544 if test "$host_os" = linux-dietlibc
; then
10545 case $cc_basename in
10546 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10549 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10550 && test "$tmp_diet" = no
10552 tmp_addflag
=' $pic_flag'
10553 tmp_sharedflag
='-shared'
10554 case $cc_basename,$host_cpu in
10555 pgcc
*) # Portland Group C compiler
10556 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'
10557 tmp_addflag
=' $pic_flag'
10559 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10560 # Portland Group f77 and f90 compilers
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 -Mnomain' ;;
10563 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10564 tmp_addflag
=' -i_dynamic' ;;
10565 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10566 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10567 ifc
* | ifort
*) # Intel Fortran compiler
10568 tmp_addflag
=' -nofor_main' ;;
10569 lf95
*) # Lahey Fortran 8.1
10570 whole_archive_flag_spec
=
10571 tmp_sharedflag
='--shared' ;;
10572 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10573 tmp_sharedflag
='-qmkshrobj'
10575 nvcc
*) # Cuda Compiler Driver 2.2
10576 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'
10577 compiler_needs_object
=yes
10580 case `$CC -V 2>&1 | sed 5q` in
10581 *Sun\ C
*) # Sun C 5.9
10582 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'
10583 compiler_needs_object
=yes
10584 tmp_sharedflag
='-G' ;;
10585 *Sun\ F
*) # Sun Fortran 8.3
10586 tmp_sharedflag
='-G' ;;
10588 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10590 if test "x$supports_anon_versioning" = xyes
; then
10591 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10592 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10593 echo "local: *; };" >> $output_objdir/$libname.ver~
10594 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10597 case $cc_basename in
10598 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10599 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10600 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10601 hardcode_libdir_flag_spec
=
10602 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10603 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10604 if test "x$supports_anon_versioning" = xyes
; then
10605 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10606 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10607 echo "local: *; };" >> $output_objdir/$libname.ver~
10608 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10618 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10619 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10622 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10623 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10628 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10632 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10633 *** create shared libraries on Solaris systems. Therefore, libtool
10634 *** is disabling shared libraries support. We urge you to upgrade GNU
10635 *** binutils to release 2.9.1 or newer. Another option is to modify
10636 *** your PATH or compiler configuration so that the native linker is
10637 *** used, and then restart.
10640 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10641 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10642 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10648 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10649 case `$LD -v 2>&1` in
10650 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10654 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10655 *** reliably create shared libraries on SCO systems. Therefore, libtool
10656 *** is disabling shared libraries support. We urge you to upgrade GNU
10657 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10658 *** your PATH or compiler configuration so that the native linker is
10659 *** used, and then restart.
10664 # For security reasons, it is highly recommended that you always
10665 # use absolute paths for naming shared libraries, and exclude the
10666 # DT_RUNPATH tag from executables and libraries. But doing so
10667 # requires that you compile everything twice, which is a pain.
10668 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10669 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10670 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10671 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10680 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10682 hardcode_direct
=yes
10683 hardcode_shlibpath_var
=no
10687 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10688 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10689 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10696 if test "$ld_shlibs" = no
; then
10698 hardcode_libdir_flag_spec
=
10699 export_dynamic_flag_spec
=
10700 whole_archive_flag_spec
=
10703 # PORTME fill in a description of your system's linker (not GNU ld)
10706 allow_undefined_flag
=unsupported
10707 always_export_symbols
=yes
10708 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'
10709 # Note: this linker hardcodes the directories in LIBPATH if there
10710 # are no directories specified by -L.
10711 hardcode_minus_L
=yes
10712 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10713 # Neither direct hardcoding nor static linking is supported with a
10715 hardcode_direct
=unsupported
10720 if test "$host_cpu" = ia64
; then
10721 # On IA64, the linker does run time linking by default, so we don't
10722 # have to do anything special.
10723 aix_use_runtimelinking
=no
10724 exp_sym_flag
='-Bexport'
10727 # If we're using GNU nm, then we don't want the "-C" option.
10728 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10729 # Also, AIX nm treats weak defined symbols like other global
10730 # defined symbols, whereas GNU nm marks them as "W".
10731 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10732 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'
10734 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'
10736 aix_use_runtimelinking
=no
10738 # Test if we are trying to use run time linking or normal
10739 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10740 # need to do runtime linking.
10741 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10742 for ld_flag
in $LDFLAGS; do
10743 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10744 aix_use_runtimelinking
=yes
10751 exp_sym_flag
='-bexport'
10752 no_entry_flag
='-bnoentry'
10755 # When large executables or shared objects are built, AIX ld can
10756 # have problems creating the table of contents. If linking a library
10757 # or program results in "error TOC overflow" add -mminimal-toc to
10758 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10759 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10762 hardcode_direct
=yes
10763 hardcode_direct_absolute
=yes
10764 hardcode_libdir_separator
=':'
10765 link_all_deplibs
=yes
10766 file_list_spec
='${wl}-f,'
10768 if test "$GCC" = yes; then
10769 case $host_os in aix4.
[012]|aix4.
[012].
*)
10770 # We only want to do this on AIX 4.2 and lower, the check
10771 # below for broken collect2 doesn't work under 4.3+
10772 collect2name
=`${CC} -print-prog-name=collect2`
10773 if test -f "$collect2name" &&
10774 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10776 # We have reworked collect2
10779 # We have old collect2
10780 hardcode_direct
=unsupported
10781 # It fails to find uninstalled libraries when the uninstalled
10782 # path is not listed in the libpath. Setting hardcode_minus_L
10783 # to unsupported forces relinking
10784 hardcode_minus_L
=yes
10785 hardcode_libdir_flag_spec
='-L$libdir'
10786 hardcode_libdir_separator
=
10790 shared_flag
='-shared'
10791 if test "$aix_use_runtimelinking" = yes; then
10792 shared_flag
="$shared_flag "'${wl}-G'
10796 if test "$host_cpu" = ia64
; then
10797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10798 # chokes on -Wl,-G. The following line is correct:
10801 if test "$aix_use_runtimelinking" = yes; then
10802 shared_flag
='${wl}-G'
10804 shared_flag
='${wl}-bM:SRE'
10809 export_dynamic_flag_spec
='${wl}-bexpall'
10810 # It seems that -bexpall does not export symbols beginning with
10811 # underscore (_), so it is better to generate a list of symbols to export.
10812 always_export_symbols
=yes
10813 if test "$aix_use_runtimelinking" = yes; then
10814 # Warning - without using the other runtime loading flags (-brtl),
10815 # -berok will link without error, but may produce a broken library.
10816 allow_undefined_flag
='-berok'
10817 # Determine the default libpath from the value encoded in an
10818 # empty executable.
10819 if test x
$gcc_no_link = xyes
; then
10820 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10833 if ac_fn_c_try_link
"$LINENO"; then :
10835 lt_aix_libpath_sed
='
10836 /Import File Strings/,/^$/ {
10842 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10843 # Check for a 64-bit object if we didn't find anything.
10844 if test -z "$aix_libpath"; then
10845 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10848 rm -f core conftest.err conftest.
$ac_objext \
10849 conftest
$ac_exeext conftest.
$ac_ext
10850 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10852 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10853 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"
10855 if test "$host_cpu" = ia64
; then
10856 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10857 allow_undefined_flag
="-z nodefs"
10858 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"
10860 # Determine the default libpath from the value encoded in an
10861 # empty executable.
10862 if test x
$gcc_no_link = xyes
; then
10863 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10876 if ac_fn_c_try_link
"$LINENO"; then :
10878 lt_aix_libpath_sed
='
10879 /Import File Strings/,/^$/ {
10885 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10886 # Check for a 64-bit object if we didn't find anything.
10887 if test -z "$aix_libpath"; then
10888 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10891 rm -f core conftest.err conftest.
$ac_objext \
10892 conftest
$ac_exeext conftest.
$ac_ext
10893 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10895 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10896 # Warning - without using the other run time loading flags,
10897 # -berok will link without error, but may produce a broken library.
10898 no_undefined_flag
=' ${wl}-bernotok'
10899 allow_undefined_flag
=' ${wl}-berok'
10900 if test "$with_gnu_ld" = yes; then
10901 # We only use this code for GNU lds that support --whole-archive.
10902 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10904 # Exported symbols can be pulled into shared objects from archives
10905 whole_archive_flag_spec
='$convenience'
10907 archive_cmds_need_lc
=yes
10908 # This is similar to how AIX traditionally builds its shared libraries.
10909 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'
10917 # see comment about AmigaOS4 .so support
10918 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10919 archive_expsym_cmds
=''
10922 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)'
10923 hardcode_libdir_flag_spec
='-L$libdir'
10924 hardcode_minus_L
=yes
10930 export_dynamic_flag_spec
=-rdynamic
10933 cygwin
* | mingw
* | pw32
* | cegcc
*)
10934 # When not using gcc, we currently assume that we are using
10935 # Microsoft Visual C++.
10936 # hardcode_libdir_flag_spec is actually meaningless, as there is
10937 # no search path for DLLs.
10938 hardcode_libdir_flag_spec
=' '
10939 allow_undefined_flag
=unsupported
10940 # Tell ltmain to make .lib files, not .a files.
10942 # Tell ltmain to make .dll files, not .so files.
10944 # FIXME: Setting linknames here is a bad hack.
10945 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10946 # The linker will automatically build a .lib file if we build a DLL.
10947 old_archive_from_new_cmds
='true'
10948 # FIXME: Should let the user specify the lib program.
10949 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10950 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10951 enable_shared_with_static_runtimes
=yes
10954 darwin
* | rhapsody
*)
10958 # Publish an arg to allow the user to select that Darwin host (and target)
10959 # libraries should be given install-names like @rpath/libfoo.dylib. This
10960 # requires that the user of the library then adds an 'rpath' to the DSO that
10962 # NOTE: there are defaults below, for systems that support rpaths. The person
10963 # configuring can override the defaults for any system version that supports
10964 # them - they are, however, forced off for system versions without support.
10965 # Check whether --enable-darwin-at-rpath was given.
10966 if test "${enable_darwin_at_rpath+set}" = set; then :
10967 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10968 # This is not supported before macOS 10.5 / Darwin9.
10969 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10970 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10972 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10973 enable_darwin_at_rpath
=no
10978 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10979 # As above, before 10.5 / Darwin9 this does not work.
10980 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10981 enable_darwin_at_rpath
=no
10984 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10985 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10986 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10987 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10989 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10990 enable_darwin_at_rpath
=yes
10992 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10993 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
11000 archive_cmds_need_lc
=no
11002 hardcode_automatic
=yes
11003 hardcode_shlibpath_var
=unsupported
11004 if test "$lt_cv_ld_force_load" = "yes"; then
11005 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\"`'
11007 whole_archive_flag_spec
=''
11009 link_all_deplibs
=yes
11010 allow_undefined_flag
="$_lt_dar_allow_undefined"
11011 case $cc_basename in
11012 ifort
*) _lt_dar_can_shared
=yes ;;
11013 *) _lt_dar_can_shared
=$GCC ;;
11015 if test "$_lt_dar_can_shared" = "yes"; then
11016 output_verbose_link_cmd
=func_echo_all
11017 _lt_install_name
='\$rpath/\$soname'
11018 if test "x$enable_darwin_at_rpath" = "xyes"; then
11019 _lt_install_name
='@rpath/\$soname'
11021 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
11022 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11023 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}"
11024 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}"
11033 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11034 hardcode_libdir_flag_spec
='-L$libdir'
11035 hardcode_shlibpath_var
=no
11038 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11039 # support. Future versions do this automatically, but an explicit c++rt0.o
11040 # does not break anything, and helps significantly (at the cost of a little
11043 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11044 hardcode_libdir_flag_spec
='-R$libdir'
11045 hardcode_direct
=yes
11046 hardcode_shlibpath_var
=no
11049 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11051 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11052 hardcode_direct
=yes
11053 hardcode_minus_L
=yes
11054 hardcode_shlibpath_var
=no
11057 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11058 freebsd
* | dragonfly
*)
11059 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11060 hardcode_libdir_flag_spec
='-R$libdir'
11061 hardcode_direct
=yes
11062 hardcode_shlibpath_var
=no
11066 if test "$GCC" = yes; then
11067 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'
11069 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'
11071 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11072 hardcode_libdir_separator
=:
11073 hardcode_direct
=yes
11075 # hardcode_minus_L: Not really in the search PATH,
11076 # but as the default location of the library.
11077 hardcode_minus_L
=yes
11078 export_dynamic_flag_spec
='${wl}-E'
11082 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11083 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11085 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11087 if test "$with_gnu_ld" = no
; then
11088 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11089 hardcode_libdir_flag_spec_ld
='+b $libdir'
11090 hardcode_libdir_separator
=:
11091 hardcode_direct
=yes
11092 hardcode_direct_absolute
=yes
11093 export_dynamic_flag_spec
='${wl}-E'
11094 # hardcode_minus_L: Not really in the search PATH,
11095 # but as the default location of the library.
11096 hardcode_minus_L
=yes
11101 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11104 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11107 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11110 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11116 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11119 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11123 # Older versions of the 11.00 compiler do not understand -b yet
11124 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11126 $as_echo_n "checking if $CC understands -b... " >&6; }
11127 if ${lt_cv_prog_compiler__b+:} false
; then :
11128 $as_echo_n "(cached) " >&6
11130 lt_cv_prog_compiler__b
=no
11131 save_LDFLAGS
="$LDFLAGS"
11132 LDFLAGS
="$LDFLAGS -b"
11133 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11134 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11135 # The linker can only warn and ignore the option if not recognized
11136 # So say no if there are warnings
11137 if test -s conftest.err
; then
11138 # Append any errors to the config.log.
11139 cat conftest.err
1>&5
11140 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11142 if diff conftest.exp conftest.er2
>/dev
/null
; then
11143 lt_cv_prog_compiler__b
=yes
11146 lt_cv_prog_compiler__b
=yes
11150 LDFLAGS
="$save_LDFLAGS"
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11154 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11156 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11157 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11159 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11165 if test "$with_gnu_ld" = no
; then
11166 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11167 hardcode_libdir_separator
=:
11172 hardcode_shlibpath_var
=no
11175 hardcode_direct
=yes
11176 hardcode_direct_absolute
=yes
11177 export_dynamic_flag_spec
='${wl}-E'
11179 # hardcode_minus_L: Not really in the search PATH,
11180 # but as the default location of the library.
11181 hardcode_minus_L
=yes
11187 irix5
* | irix6
* | nonstopux
*)
11188 if test "$GCC" = yes; then
11189 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'
11190 # Try to use the -exported_symbol ld option, if it does not
11191 # work, assume that -exports_file does not work either and
11192 # implicitly export all symbols.
11193 save_LDFLAGS
="$LDFLAGS"
11194 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11195 if test x
$gcc_no_link = xyes
; then
11196 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11202 if ac_fn_c_try_link
"$LINENO"; then :
11203 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'
11206 rm -f core conftest.err conftest.
$ac_objext \
11207 conftest
$ac_exeext conftest.
$ac_ext
11208 LDFLAGS
="$save_LDFLAGS"
11210 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'
11211 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'
11213 archive_cmds_need_lc
='no'
11214 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11215 hardcode_libdir_separator
=:
11217 link_all_deplibs
=yes
11221 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11222 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11224 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11226 hardcode_libdir_flag_spec
='-R$libdir'
11227 hardcode_direct
=yes
11228 hardcode_shlibpath_var
=no
11232 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11233 hardcode_direct
=yes
11234 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11235 hardcode_libdir_separator
=:
11236 hardcode_shlibpath_var
=no
11243 if test -f /usr
/libexec
/ld.so
; then
11244 hardcode_direct
=yes
11245 hardcode_shlibpath_var
=no
11246 hardcode_direct_absolute
=yes
11247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11248 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11250 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11251 export_dynamic_flag_spec
='${wl}-E'
11254 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11255 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11256 hardcode_libdir_flag_spec
='-R$libdir'
11259 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11260 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11270 hardcode_libdir_flag_spec
='-L$libdir'
11271 hardcode_minus_L
=yes
11272 allow_undefined_flag
=unsupported
11273 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'
11274 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11278 if test "$GCC" = yes; then
11279 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11280 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'
11282 allow_undefined_flag
=' -expect_unresolved \*'
11283 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'
11285 archive_cmds_need_lc
='no'
11286 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11287 hardcode_libdir_separator
=:
11290 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11291 if test "$GCC" = yes; then
11292 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11293 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'
11294 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11296 allow_undefined_flag
=' -expect_unresolved \*'
11297 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'
11298 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~
11299 $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'
11301 # Both c and cxx compiler support -rpath directly
11302 hardcode_libdir_flag_spec
='-rpath $libdir'
11304 archive_cmds_need_lc
='no'
11305 hardcode_libdir_separator
=:
11309 no_undefined_flag
=' -z defs'
11310 if test "$GCC" = yes; then
11312 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11313 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11314 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11316 case `$CC -V 2>&1` in
11319 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11320 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11321 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11325 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11326 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11327 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11331 hardcode_libdir_flag_spec
='-R$libdir'
11332 hardcode_shlibpath_var
=no
11334 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11336 # The compiler driver will combine and reorder linker options,
11337 # but understands `-z linker_flag'. GCC discards it without `$wl',
11338 # but is careful enough not to reorder.
11339 # Supported since Solaris 2.6 (maybe 2.5.1?)
11340 if test "$GCC" = yes; then
11341 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11343 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11347 link_all_deplibs
=yes
11351 if test "x$host_vendor" = xsequent
; then
11352 # Use $CC to link under sequent, because it throws in some extra .o
11353 # files that make .init and .fini sections work.
11354 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11356 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11358 hardcode_libdir_flag_spec
='-L$libdir'
11359 hardcode_direct
=yes
11360 hardcode_minus_L
=yes
11361 hardcode_shlibpath_var
=no
11365 case $host_vendor in
11367 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11368 hardcode_direct
=yes # is this really true???
11371 ## LD is ld it makes a PLAMLIB
11372 ## CC just makes a GrossModule.
11373 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11374 reload_cmds
='$CC -r -o $output$reload_objs'
11378 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11379 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11382 runpath_var
='LD_RUN_PATH'
11383 hardcode_shlibpath_var
=no
11387 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388 hardcode_shlibpath_var
=no
11389 export_dynamic_flag_spec
='-Bexport'
11393 if test -d /usr
/nec
; then
11394 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11395 hardcode_shlibpath_var
=no
11396 runpath_var
=LD_RUN_PATH
11397 hardcode_runpath_var
=yes
11402 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11403 no_undefined_flag
='${wl}-z,text'
11404 archive_cmds_need_lc
=no
11405 hardcode_shlibpath_var
=no
11406 runpath_var
='LD_RUN_PATH'
11408 if test "$GCC" = yes; then
11409 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11410 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11412 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11413 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11417 sysv5
* | sco3.2v5
* | sco5v6
*)
11418 # Note: We can NOT use -z defs as we might desire, because we do not
11419 # link with -lc, and that would cause any symbols used from libc to
11420 # always be unresolved, which means just about no library would
11421 # ever link correctly. If we're not using GNU ld we use -z text
11422 # though, which does catch some bad symbols but isn't as heavy-handed
11424 no_undefined_flag
='${wl}-z,text'
11425 allow_undefined_flag
='${wl}-z,nodefs'
11426 archive_cmds_need_lc
=no
11427 hardcode_shlibpath_var
=no
11428 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11429 hardcode_libdir_separator
=':'
11430 link_all_deplibs
=yes
11431 export_dynamic_flag_spec
='${wl}-Bexport'
11432 runpath_var
='LD_RUN_PATH'
11434 if test "$GCC" = yes; then
11435 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11436 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11438 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11439 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11444 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11445 hardcode_libdir_flag_spec
='-L$libdir'
11446 hardcode_shlibpath_var
=no
11454 if test x
$host_vendor = xsni
; then
11456 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11457 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11464 $as_echo "$ld_shlibs" >&6; }
11465 test "$ld_shlibs" = no
&& can_build_shared
=no
11467 with_gnu_ld
=$with_gnu_ld
11484 # Do we need to explicitly link libc?
11486 case "x$archive_cmds_need_lc" in
11488 # Assume -lc should be added
11489 archive_cmds_need_lc
=yes
11491 if test "$enable_shared" = yes && test "$GCC" = yes; then
11492 case $archive_cmds in
11494 # FIXME: we may have to deal with multi-command sequences.
11497 # Test whether the compiler implicitly links with -lc since on some
11498 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11499 # to ld, don't add -lc before -lgcc.
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11501 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11502 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11503 $as_echo_n "(cached) " >&6
11506 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11509 (eval $ac_compile) 2>&5
11511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11512 test $ac_status = 0; } 2>conftest.err
; then
11515 libobjs
=conftest.
$ac_objext
11517 wl
=$lt_prog_compiler_wl
11518 pic_flag
=$lt_prog_compiler_pic
11524 lt_save_allow_undefined_flag
=$allow_undefined_flag
11525 allow_undefined_flag
=
11526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11527 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11530 test $ac_status = 0; }
11532 lt_cv_archive_cmds_need_lc
=no
11534 lt_cv_archive_cmds_need_lc
=yes
11536 allow_undefined_flag
=$lt_save_allow_undefined_flag
11538 cat conftest.err
1>&5
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11544 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11545 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11709 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11711 if test "$GCC" = yes; then
11713 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11714 *) lt_awk_arg
="/^libraries:/" ;;
11717 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11718 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11720 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11721 case $lt_search_path_spec in
11723 # if the path contains ";" then we assume it to be the separator
11724 # otherwise default to the standard path separator (i.e. ":") - it is
11725 # assumed that no part of a normal pathname contains ";" but that should
11726 # okay in the real world where ";" in dirpaths is itself problematic.
11727 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11730 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11733 # Ok, now we have the path, separated by spaces, we can step through it
11734 # and add multilib dir if necessary.
11735 lt_tmp_lt_search_path_spec
=
11736 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11737 for lt_sys_path
in $lt_search_path_spec; do
11738 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11739 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11741 test -d "$lt_sys_path" && \
11742 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11745 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11746 BEGIN {RS=" "; FS="/|\n";} {
11749 for (lt_i = NF; lt_i > 0; lt_i--) {
11750 if ($lt_i != "" && $lt_i != ".") {
11751 if ($lt_i == "..") {
11754 if (lt_count == 0) {
11755 lt_foo="/" $lt_i lt_foo;
11762 if (lt_foo != "") { lt_freq[lt_foo]++; }
11763 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11765 # AWK program above erroneously prepends '/' to C:/dos/paths
11768 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11769 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11771 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11773 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11775 library_names_spec
=
11776 libname_spec
='lib$name'
11780 postuninstall_cmds
=
11784 shlibpath_overrides_runpath
=unknown
11786 dynamic_linker
="$host_os ld.so"
11787 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11788 need_lib_prefix
=unknown
11789 hardcode_into_libs
=no
11791 # when you set need_version to no, make sure it does not cause -set_version
11792 # flags to be left without arguments
11793 need_version
=unknown
11798 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11799 shlibpath_var
=LIBPATH
11801 # AIX 3 has no versioning support, so we append a major version to the name.
11802 soname_spec
='${libname}${release}${shared_ext}$major'
11809 hardcode_into_libs
=yes
11810 if test "$host_cpu" = ia64
; then
11811 # AIX 5 supports IA64
11812 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11813 shlibpath_var
=LD_LIBRARY_PATH
11815 # With GCC up to 2.95.x, collect2 would create an import file
11816 # for dependence libraries. The import file would start with
11817 # the line `#! .'. This would cause the generated library to
11818 # depend on `.', always an invalid library. This was fixed in
11819 # development snapshots of GCC prior to 3.0.
11821 aix4 | aix4.
[01] | aix4.
[01].
*)
11822 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11824 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11827 can_build_shared
=no
11831 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11832 # soname into executable. Probably we can add versioning support to
11833 # collect2, so additional links can be useful in future.
11834 if test "$aix_use_runtimelinking" = yes; then
11835 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11836 # instead of lib<name>.a to let people know that these are not
11837 # typical AIX shared libraries.
11838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11840 # We preserve .a as extension for shared libraries through AIX4.2
11841 # and later when we are not doing run time linking.
11842 library_names_spec
='${libname}${release}.a $libname.a'
11843 soname_spec
='${libname}${release}${shared_ext}$major'
11845 shlibpath_var
=LIBPATH
11852 # Since July 2007 AmigaOS4 officially supports .so libraries.
11853 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11857 library_names_spec
='$libname.ixlibrary $libname.a'
11858 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11859 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'
11865 library_names_spec
='${libname}${shared_ext}'
11866 dynamic_linker
="$host_os ld.so"
11867 shlibpath_var
=LIBRARY_PATH
11873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 soname_spec
='${libname}${release}${shared_ext}$major'
11875 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11876 shlibpath_var
=LD_LIBRARY_PATH
11877 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11878 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11879 # the default ld.so.conf also contains /usr/contrib/lib and
11880 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11881 # libtool to hard-code these into programs
11884 cygwin
* | mingw
* | pw32
* | cegcc
*)
11885 version_type
=windows
11890 case $GCC,$host_os in
11891 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11892 library_names_spec
='$libname.dll.a'
11893 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11894 postinstall_cmds
='base_file=`basename \${file}`~
11895 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11896 dldir=$destdir/`dirname \$dlpath`~
11897 test -d \$dldir || mkdir -p \$dldir~
11898 $install_prog $dir/$dlname \$dldir/$dlname~
11899 chmod a+x \$dldir/$dlname~
11900 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11901 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11903 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11904 dlpath=$dir/\$dldll~
11906 shlibpath_overrides_runpath
=yes
11910 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11911 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11913 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11916 # MinGW DLLs use traditional 'lib' prefix
11917 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11920 # pw32 DLLs use 'pw' prefix rather than 'lib'
11921 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11927 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11930 dynamic_linker
='Win32 ld.exe'
11931 # FIXME: first we should search . and the directory the executable is in
11935 darwin
* | rhapsody
*)
11936 dynamic_linker
="$host_os dyld"
11937 version_type
=darwin
11940 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11941 soname_spec
='${libname}${release}${major}$shared_ext'
11942 shlibpath_overrides_runpath
=yes
11943 shlibpath_var
=DYLD_LIBRARY_PATH
11944 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11946 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11947 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11955 soname_spec
='${libname}${release}${shared_ext}$major'
11956 shlibpath_var
=LD_LIBRARY_PATH
11959 freebsd
* | dragonfly
*)
11960 # DragonFly does not have aout. When/if they implement a new
11961 # versioning mechanism, adjust this.
11962 if test -x /usr
/bin
/objformat
; then
11963 objformat
=`/usr/bin/objformat`
11966 freebsd
[23].
*) objformat
=aout
;;
11967 *) objformat
=elf
;;
11970 version_type
=freebsd-
$objformat
11971 case $version_type in
11973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11978 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11982 shlibpath_var
=LD_LIBRARY_PATH
11985 shlibpath_overrides_runpath
=yes
11987 freebsd3.
[01]* | freebsdelf3.
[01]*)
11988 shlibpath_overrides_runpath
=yes
11989 hardcode_into_libs
=yes
11991 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11992 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11993 shlibpath_overrides_runpath
=no
11994 hardcode_into_libs
=yes
11996 *) # from 4.6 on, and DragonFly
11997 shlibpath_overrides_runpath
=yes
11998 hardcode_into_libs
=yes
12007 dynamic_linker
="$host_os runtime_loader"
12008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12009 soname_spec
='${libname}${release}${shared_ext}$major'
12010 shlibpath_var
=LIBRARY_PATH
12011 shlibpath_overrides_runpath
=yes
12012 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12013 hardcode_into_libs
=yes
12016 hpux9
* | hpux10
* | hpux11
*)
12017 # Give a soname corresponding to the major version so that dld.sl refuses to
12018 # link against other versions.
12025 hardcode_into_libs
=yes
12026 dynamic_linker
="$host_os dld.so"
12027 shlibpath_var
=LD_LIBRARY_PATH
12028 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12030 soname_spec
='${libname}${release}${shared_ext}$major'
12031 if test "X$HPUX_IA64_MODE" = X32
; then
12032 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12034 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12036 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12040 hardcode_into_libs
=yes
12041 dynamic_linker
="$host_os dld.sl"
12042 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12043 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12045 soname_spec
='${libname}${release}${shared_ext}$major'
12046 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12047 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12051 dynamic_linker
="$host_os dld.sl"
12052 shlibpath_var
=SHLIB_PATH
12053 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12055 soname_spec
='${libname}${release}${shared_ext}$major'
12058 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12059 postinstall_cmds
='chmod 555 $lib'
12060 # or fails outright, so override atomically:
12061 install_override_mode
=555
12068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12069 soname_spec
='${libname}${release}${shared_ext}$major'
12070 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12071 shlibpath_var
=LD_LIBRARY_PATH
12072 shlibpath_overrides_runpath
=no
12073 hardcode_into_libs
=yes
12076 irix5
* | irix6
* | nonstopux
*)
12078 nonstopux
*) version_type
=nonstopux
;;
12080 if test "$lt_cv_prog_gnu_ld" = yes; then
12088 soname_spec
='${libname}${release}${shared_ext}$major'
12089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12091 irix5
* | nonstopux
*)
12092 libsuff
= shlibsuff
=
12095 case $LD in # libtool.m4 will add one of these switches to LD
12096 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12097 libsuff
= shlibsuff
= libmagic
=32-bit;;
12098 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12099 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12100 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12101 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12102 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12106 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12107 shlibpath_overrides_runpath
=no
12108 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12109 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12110 hardcode_into_libs
=yes
12113 # No shared lib support for Linux oldld, aout, or coff.
12114 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12118 # This must be Linux ELF.
12120 # uclinux* changes (here and below) have been submitted to the libtool
12121 # project, but have not yet been accepted: they are GCC-local changes
12122 # for the time being. (See
12123 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12124 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12129 soname_spec
='${libname}${release}${shared_ext}$major'
12130 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12131 shlibpath_var
=LD_LIBRARY_PATH
12132 shlibpath_overrides_runpath
=no
12134 # Some binutils ld are patched to set DT_RUNPATH
12135 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12136 $as_echo_n "(cached) " >&6
12138 lt_cv_shlibpath_overrides_runpath
=no
12139 save_LDFLAGS
=$LDFLAGS
12140 save_libdir
=$libdir
12141 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12142 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12143 if test x
$gcc_no_link = xyes
; then
12144 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12157 if ac_fn_c_try_link
"$LINENO"; then :
12158 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12159 lt_cv_shlibpath_overrides_runpath
=yes
12162 rm -f core conftest.err conftest.
$ac_objext \
12163 conftest
$ac_exeext conftest.
$ac_ext
12164 LDFLAGS
=$save_LDFLAGS
12165 libdir
=$save_libdir
12169 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12171 # This implies no fast_install, which is unacceptable.
12172 # Some rework will be needed to allow for fast_install
12173 # before this can be enabled.
12174 hardcode_into_libs
=yes
12176 # Append ld.so.conf contents to the search path
12177 if test -f /etc
/ld.so.conf
; then
12178 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' ' '`
12179 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12182 # We used to test for /lib/ld.so.1 and disable shared libraries on
12183 # powerpc, because MkLinux only supported shared libraries with the
12184 # GNU dynamic linker. Since this was broken with cross compilers,
12185 # most powerpc-linux boxes support dynamic linking these days and
12186 # people can always --disable-shared, the test was removed, and we
12187 # assume the GNU/Linux dynamic linker is in use.
12188 dynamic_linker
='GNU/Linux ld.so'
12195 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12197 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12198 dynamic_linker
='NetBSD (a.out) ld.so'
12200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12201 soname_spec
='${libname}${release}${shared_ext}$major'
12202 dynamic_linker
='NetBSD ld.elf_so'
12204 shlibpath_var
=LD_LIBRARY_PATH
12205 shlibpath_overrides_runpath
=yes
12206 hardcode_into_libs
=yes
12211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12212 shlibpath_var
=LD_LIBRARY_PATH
12213 shlibpath_overrides_runpath
=yes
12220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 soname_spec
='${libname}${release}${shared_ext}$major'
12222 shlibpath_var
=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath
=no
12224 hardcode_into_libs
=yes
12225 dynamic_linker
='ldqnx.so'
12230 sys_lib_dlsearch_path_spec
="/usr/lib"
12232 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12234 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12235 *) need_version
=no
;;
12237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12238 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12239 shlibpath_var
=LD_LIBRARY_PATH
12240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12242 openbsd2.
[89] | openbsd2.
[89].
*)
12243 shlibpath_overrides_runpath
=no
12246 shlibpath_overrides_runpath
=yes
12250 shlibpath_overrides_runpath
=yes
12255 libname_spec
='$name'
12258 library_names_spec
='$libname${shared_ext} $libname.a'
12259 dynamic_linker
='OS/2 ld.exe'
12260 shlibpath_var
=LIBPATH
12263 osf3
* | osf4
* | osf5
*)
12267 soname_spec
='${libname}${release}${shared_ext}$major'
12268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12269 shlibpath_var
=LD_LIBRARY_PATH
12270 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12271 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12283 soname_spec
='${libname}${release}${shared_ext}$major'
12284 shlibpath_var
=LD_LIBRARY_PATH
12285 shlibpath_overrides_runpath
=yes
12286 hardcode_into_libs
=yes
12287 # ldd complains unless libraries are executable
12288 postinstall_cmds
='chmod +x $lib'
12293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12294 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12295 shlibpath_var
=LD_LIBRARY_PATH
12296 shlibpath_overrides_runpath
=yes
12297 if test "$with_gnu_ld" = yes; then
12305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12306 soname_spec
='${libname}${release}${shared_ext}$major'
12307 shlibpath_var
=LD_LIBRARY_PATH
12308 case $host_vendor in
12310 shlibpath_overrides_runpath
=no
12312 runpath_var
=LD_RUN_PATH
12320 shlibpath_overrides_runpath
=no
12321 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12327 if test -d /usr
/nec
;then
12329 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12330 soname_spec
='$libname${shared_ext}.$major'
12331 shlibpath_var
=LD_LIBRARY_PATH
12335 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12336 version_type
=freebsd-elf
12339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12340 soname_spec
='${libname}${release}${shared_ext}$major'
12341 shlibpath_var
=LD_LIBRARY_PATH
12342 shlibpath_overrides_runpath
=yes
12343 hardcode_into_libs
=yes
12344 if test "$with_gnu_ld" = yes; then
12345 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12347 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12350 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12354 sys_lib_dlsearch_path_spec
='/usr/lib'
12358 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12363 shlibpath_var
=LD_LIBRARY_PATH
12364 shlibpath_overrides_runpath
=no
12365 hardcode_into_libs
=yes
12370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12371 soname_spec
='${libname}${release}${shared_ext}$major'
12372 shlibpath_var
=LD_LIBRARY_PATH
12375 # Shared libraries for VwWorks, >= 7 only at this stage
12376 # and (fpic) still incompatible with "large" code models
12377 # in a few configurations. Only for RTP mode in any case,
12378 # and upon explicit request at configure time.
12381 case ${with_multisubdir}-${enable_shared} in
12388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12389 soname_spec
='${libname}${release}${shared_ext}$major'
12390 dynamic_linker
="$host_os module_loader"
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12399 $as_echo "$dynamic_linker" >&6; }
12400 test "$dynamic_linker" = no
&& can_build_shared
=no
12402 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12403 if test "$GCC" = yes; then
12404 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12407 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12408 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12410 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12411 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12506 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12508 if test -n "$hardcode_libdir_flag_spec" ||
12509 test -n "$runpath_var" ||
12510 test "X$hardcode_automatic" = "Xyes" ; then
12512 # We can hardcode non-existent directories.
12513 if test "$hardcode_direct" != no
&&
12514 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12515 # have to relink, otherwise we might link with an installed library
12516 # when we should be linking with a yet-to-be-installed one
12517 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12518 test "$hardcode_minus_L" != no
; then
12519 # Linking always hardcodes the temporary library directory.
12520 hardcode_action
=relink
12522 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12523 hardcode_action
=immediate
12526 # We cannot hardcode anything, or else we can only hardcode existing
12528 hardcode_action
=unsupported
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12531 $as_echo "$hardcode_action" >&6; }
12533 if test "$hardcode_action" = relink ||
12534 test "$inherit_rpath" = yes; then
12535 # Fast installation is not supported
12536 enable_fast_install
=no
12537 elif test "$shlibpath_overrides_runpath" = yes ||
12538 test "$enable_shared" = no
; then
12539 # Fast installation is not necessary
12540 enable_fast_install
=needless
12548 if test "x$enable_dlopen" != xyes
; then
12549 enable_dlopen
=unknown
12550 enable_dlopen_self
=unknown
12551 enable_dlopen_self_static
=unknown
12558 lt_cv_dlopen
="load_add_on"
12560 lt_cv_dlopen_self
=yes
12563 mingw
* | pw32
* | cegcc
*)
12564 lt_cv_dlopen
="LoadLibrary"
12569 lt_cv_dlopen
="dlopen"
12574 # if libdl is installed we need to link against it
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12576 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12577 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12578 $as_echo_n "(cached) " >&6
12580 ac_check_lib_save_LIBS
=$LIBS
12582 if test x
$gcc_no_link = xyes
; then
12583 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12603 if ac_fn_c_try_link
"$LINENO"; then :
12604 ac_cv_lib_dl_dlopen
=yes
12606 ac_cv_lib_dl_dlopen
=no
12608 rm -f core conftest.err conftest.
$ac_objext \
12609 conftest
$ac_exeext conftest.
$ac_ext
12610 LIBS
=$ac_check_lib_save_LIBS
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12613 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12614 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12615 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12618 lt_cv_dlopen
="dyld"
12620 lt_cv_dlopen_self
=yes
12627 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12628 if test "x$ac_cv_func_shl_load" = xyes
; then :
12629 lt_cv_dlopen
="shl_load"
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12632 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12633 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12634 $as_echo_n "(cached) " >&6
12636 ac_check_lib_save_LIBS
=$LIBS
12638 if test x
$gcc_no_link = xyes
; then
12639 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12654 return shl_load ();
12659 if ac_fn_c_try_link
"$LINENO"; then :
12660 ac_cv_lib_dld_shl_load
=yes
12662 ac_cv_lib_dld_shl_load
=no
12664 rm -f core conftest.err conftest.
$ac_objext \
12665 conftest
$ac_exeext conftest.
$ac_ext
12666 LIBS
=$ac_check_lib_save_LIBS
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12669 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12670 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12671 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12673 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12674 if test "x$ac_cv_func_dlopen" = xyes
; then :
12675 lt_cv_dlopen
="dlopen"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12678 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12679 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12680 $as_echo_n "(cached) " >&6
12682 ac_check_lib_save_LIBS
=$LIBS
12684 if test x
$gcc_no_link = xyes
; then
12685 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12705 if ac_fn_c_try_link
"$LINENO"; then :
12706 ac_cv_lib_dl_dlopen
=yes
12708 ac_cv_lib_dl_dlopen
=no
12710 rm -f core conftest.err conftest.
$ac_objext \
12711 conftest
$ac_exeext conftest.
$ac_ext
12712 LIBS
=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12715 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12716 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12717 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12720 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12721 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12722 $as_echo_n "(cached) " >&6
12724 ac_check_lib_save_LIBS
=$LIBS
12725 LIBS
="-lsvld $LIBS"
12726 if test x
$gcc_no_link = xyes
; then
12727 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12747 if ac_fn_c_try_link
"$LINENO"; then :
12748 ac_cv_lib_svld_dlopen
=yes
12750 ac_cv_lib_svld_dlopen
=no
12752 rm -f core conftest.err conftest.
$ac_objext \
12753 conftest
$ac_exeext conftest.
$ac_ext
12754 LIBS
=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12757 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12758 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12759 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12762 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12763 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12764 $as_echo_n "(cached) " >&6
12766 ac_check_lib_save_LIBS
=$LIBS
12768 if test x
$gcc_no_link = xyes
; then
12769 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12784 return dld_link ();
12789 if ac_fn_c_try_link
"$LINENO"; then :
12790 ac_cv_lib_dld_dld_link
=yes
12792 ac_cv_lib_dld_dld_link
=no
12794 rm -f core conftest.err conftest.
$ac_objext \
12795 conftest
$ac_exeext conftest.
$ac_ext
12796 LIBS
=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12799 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12800 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12801 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12822 if test "x$lt_cv_dlopen" != xno
; then
12828 case $lt_cv_dlopen in
12830 save_CPPFLAGS
="$CPPFLAGS"
12831 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12833 save_LDFLAGS
="$LDFLAGS"
12834 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12837 LIBS
="$lt_cv_dlopen_libs $LIBS"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12840 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12841 if ${lt_cv_dlopen_self+:} false
; then :
12842 $as_echo_n "(cached) " >&6
12844 if test "$cross_compiling" = yes; then :
12845 lt_cv_dlopen_self
=cross
12847 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12848 lt_status
=$lt_dlunknown
12849 cat > conftest.
$ac_ext <<_LT_EOF
12850 #line 12850 "configure"
12851 #include "confdefs.h"
12860 # define LT_DLGLOBAL RTLD_GLOBAL
12863 # define LT_DLGLOBAL DL_GLOBAL
12865 # define LT_DLGLOBAL 0
12869 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12870 find out it does not work in some platform. */
12871 #ifndef LT_DLLAZY_OR_NOW
12873 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12876 # define LT_DLLAZY_OR_NOW DL_LAZY
12879 # define LT_DLLAZY_OR_NOW RTLD_NOW
12882 # define LT_DLLAZY_OR_NOW DL_NOW
12884 # define LT_DLLAZY_OR_NOW 0
12891 /* When -fvisbility=hidden is used, assume the code has been annotated
12892 correspondingly for the symbols needed. */
12893 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12894 void fnord () __attribute__((visibility("default")));
12897 void fnord () { int i=42; }
12900 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12901 int status = $lt_dlunknown;
12905 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12908 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12909 else puts (dlerror ());
12911 /* dlclose (self); */
12919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12920 (eval $ac_link) 2>&5
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12924 (.
/conftest
; exit; ) >&5 2>/dev
/null
12926 case x
$lt_status in
12927 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12928 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12929 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12932 # compilation failed
12933 lt_cv_dlopen_self
=no
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12941 $as_echo "$lt_cv_dlopen_self" >&6; }
12943 if test "x$lt_cv_dlopen_self" = xyes
; then
12944 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12946 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12947 if ${lt_cv_dlopen_self_static+:} false
; then :
12948 $as_echo_n "(cached) " >&6
12950 if test "$cross_compiling" = yes; then :
12951 lt_cv_dlopen_self_static
=cross
12953 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12954 lt_status
=$lt_dlunknown
12955 cat > conftest.
$ac_ext <<_LT_EOF
12956 #line 12956 "configure"
12957 #include "confdefs.h"
12966 # define LT_DLGLOBAL RTLD_GLOBAL
12969 # define LT_DLGLOBAL DL_GLOBAL
12971 # define LT_DLGLOBAL 0
12975 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12976 find out it does not work in some platform. */
12977 #ifndef LT_DLLAZY_OR_NOW
12979 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12982 # define LT_DLLAZY_OR_NOW DL_LAZY
12985 # define LT_DLLAZY_OR_NOW RTLD_NOW
12988 # define LT_DLLAZY_OR_NOW DL_NOW
12990 # define LT_DLLAZY_OR_NOW 0
12997 /* When -fvisbility=hidden is used, assume the code has been annotated
12998 correspondingly for the symbols needed. */
12999 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13000 void fnord () __attribute__((visibility("default")));
13003 void fnord () { int i=42; }
13006 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13007 int status = $lt_dlunknown;
13011 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13014 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13015 else puts (dlerror ());
13017 /* dlclose (self); */
13025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13026 (eval $ac_link) 2>&5
13028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13029 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13030 (.
/conftest
; exit; ) >&5 2>/dev
/null
13032 case x
$lt_status in
13033 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13034 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13035 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13038 # compilation failed
13039 lt_cv_dlopen_self_static
=no
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13047 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13050 CPPFLAGS
="$save_CPPFLAGS"
13051 LDFLAGS
="$save_LDFLAGS"
13056 case $lt_cv_dlopen_self in
13057 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13058 *) enable_dlopen_self
=unknown
;;
13061 case $lt_cv_dlopen_self_static in
13062 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13063 *) enable_dlopen_self_static
=unknown
;;
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13086 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13087 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13088 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13089 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13091 $as_echo "yes" >&6; }
13093 # FIXME - insert some real tests, host_os isn't really good enough
13096 if test -n "$STRIP" ; then
13097 striplib
="$STRIP -x"
13098 old_striplib
="$STRIP -S"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13100 $as_echo "yes" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13124 # Report which library types will actually be built
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13126 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13128 $as_echo "$can_build_shared" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13131 $as_echo_n "checking whether to build shared libraries... " >&6; }
13132 test "$can_build_shared" = "no" && enable_shared
=no
13134 # On AIX, shared libraries and static libraries use the same namespace, and
13135 # are all built from PIC.
13138 test "$enable_shared" = yes && enable_static
=no
13139 if test -n "$RANLIB"; then
13140 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13141 postinstall_cmds
='$RANLIB $lib'
13146 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13147 test "$enable_shared" = yes && enable_static
=no
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13152 $as_echo "$enable_shared" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13155 $as_echo_n "checking whether to build static libraries... " >&6; }
13156 # Make sure either enable_shared or enable_static is yes.
13157 test "$enable_shared" = yes || enable_static
=yes
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13159 $as_echo "$enable_static" >&6; }
13166 ac_cpp
='$CPP $CPPFLAGS'
13167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13185 ac_config_commands
="$ac_config_commands libtool"
13190 # Only expand once:
13195 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13196 # These system don't have libm, or don't need it
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13200 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13201 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13202 $as_echo_n "(cached) " >&6
13204 ac_check_lib_save_LIBS
=$LIBS
13206 if test x
$gcc_no_link = xyes
; then
13207 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13218 char _mwvalidcheckl ();
13222 return _mwvalidcheckl ();
13227 if ac_fn_c_try_link
"$LINENO"; then :
13228 ac_cv_lib_mw__mwvalidcheckl
=yes
13230 ac_cv_lib_mw__mwvalidcheckl
=no
13232 rm -f core conftest.err conftest.
$ac_objext \
13233 conftest
$ac_exeext conftest.
$ac_ext
13234 LIBS
=$ac_check_lib_save_LIBS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13237 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13238 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13243 $as_echo_n "checking for cos in -lm... " >&6; }
13244 if ${ac_cv_lib_m_cos+:} false
; then :
13245 $as_echo_n "(cached) " >&6
13247 ac_check_lib_save_LIBS
=$LIBS
13249 if test x
$gcc_no_link = xyes
; then
13250 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13270 if ac_fn_c_try_link
"$LINENO"; then :
13271 ac_cv_lib_m_cos
=yes
13275 rm -f core conftest.err conftest.
$ac_objext \
13276 conftest
$ac_exeext conftest.
$ac_ext
13277 LIBS
=$ac_check_lib_save_LIBS
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13280 $as_echo "$ac_cv_lib_m_cos" >&6; }
13281 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13288 $as_echo_n "checking for cos in -lm... " >&6; }
13289 if ${ac_cv_lib_m_cos+:} false
; then :
13290 $as_echo_n "(cached) " >&6
13292 ac_check_lib_save_LIBS
=$LIBS
13294 if test x
$gcc_no_link = xyes
; then
13295 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13315 if ac_fn_c_try_link
"$LINENO"; then :
13316 ac_cv_lib_m_cos
=yes
13320 rm -f core conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13322 LIBS
=$ac_check_lib_save_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13325 $as_echo "$ac_cv_lib_m_cos" >&6; }
13326 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13338 *-cygwin* |
*-mingw*)
13339 # 'host' will be top-level target in the case of a target lib,
13340 # we must compare to with_cross_host to decide if this is a native
13341 # or cross-compiler and select where to install dlls appropriately.
13342 if test -n "$with_cross_host" &&
13343 test x
"$with_cross_host" != x
"no"; then
13344 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13346 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13358 if test x
$enable_darwin_at_rpath = xyes
; then
13359 ENABLE_DARWIN_AT_RPATH_TRUE
=
13360 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
13362 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
13363 ENABLE_DARWIN_AT_RPATH_FALSE
=
13366 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13368 # We need gfortran to compile parts of the library
13369 #AC_PROG_FC(gfortran)
13371 ac_ext
=${ac_fc_srcext-f}
13372 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13373 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13374 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13375 if test -n "$ac_tool_prefix"; then
13376 for ac_prog
in gfortran
13378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13379 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13381 $as_echo_n "checking for $ac_word... " >&6; }
13382 if ${ac_cv_prog_FC+:} false
; then :
13383 $as_echo_n "(cached) " >&6
13385 if test -n "$FC"; then
13386 ac_cv_prog_FC
="$FC" # Let the user override the test.
13388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13389 for as_dir
in $PATH
13392 test -z "$as_dir" && as_dir
=.
13393 for ac_exec_ext
in '' $ac_executable_extensions; do
13394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13395 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13406 if test -n "$FC"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13408 $as_echo "$FC" >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13411 $as_echo "no" >&6; }
13415 test -n "$FC" && break
13418 if test -z "$FC"; then
13420 for ac_prog
in gfortran
13422 # Extract the first word of "$ac_prog", so it can be a program name with args.
13423 set dummy
$ac_prog; ac_word
=$2
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13425 $as_echo_n "checking for $ac_word... " >&6; }
13426 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13427 $as_echo_n "(cached) " >&6
13429 if test -n "$ac_ct_FC"; then
13430 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13433 for as_dir
in $PATH
13436 test -z "$as_dir" && as_dir
=.
13437 for ac_exec_ext
in '' $ac_executable_extensions; do
13438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13439 ac_cv_prog_ac_ct_FC
="$ac_prog"
13440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13449 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13450 if test -n "$ac_ct_FC"; then
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13452 $as_echo "$ac_ct_FC" >&6; }
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455 $as_echo "no" >&6; }
13459 test -n "$ac_ct_FC" && break
13462 if test "x$ac_ct_FC" = x
; then
13465 case $cross_compiling:$ac_tool_warned in
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13469 ac_tool_warned
=yes ;;
13476 # Provide some information about the compiler.
13477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13480 for ac_option
in --version -v -V -qversion; do
13481 { { ac_try
="$ac_compiler $ac_option >&5"
13482 case "(($ac_try" in
13483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13487 $as_echo "$ac_try_echo"; } >&5
13488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13490 if test -s conftest.err; then
13492 ... rest of stderr output deleted ...
13493 10q' conftest.err >conftest.er1
13494 cat conftest.er1 >&5
13496 rm -f conftest.er1 conftest.err
13497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13498 test $ac_status = 0; }
13502 # If we don't use `.F
' as extension, the preprocessor is not run on the
13503 # input file. (Note that this only needs to work for GNU compilers.)
13504 ac_save_ext=$ac_ext
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13507 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13508 if ${ac_cv_fc_compiler_gnu+:} false; then :
13509 $as_echo_n "(cached) " >&6
13511 cat > conftest.$ac_ext <<_ACEOF
13519 if ac_fn_fc_try_compile "$LINENO"; then :
13520 ac_compiler_gnu=yes
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13529 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13530 ac_ext=$ac_save_ext
13531 ac_test_FCFLAGS=${FCFLAGS+set}
13532 ac_save_FCFLAGS=$FCFLAGS
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13535 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13536 if ${ac_cv_prog_fc_g+:} false; then :
13537 $as_echo_n "(cached) " >&6
13540 cat > conftest.$ac_ext <<_ACEOF
13545 if ac_fn_fc_try_compile "$LINENO"; then :
13546 ac_cv_prog_fc_g=yes
13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13554 $as_echo "$ac_cv_prog_fc_g" >&6; }
13555 if test "$ac_test_FCFLAGS" = set; then
13556 FCFLAGS=$ac_save_FCFLAGS
13557 elif test $ac_cv_prog_fc_g = yes; then
13558 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13564 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13571 if test $ac_compiler_gnu = yes; then
13577 ac_cpp='$CPP $CPPFLAGS'
13578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13579 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13582 ac_ext=${ac_fc_srcext-f}
13583 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13584 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13588 if test -z "$FC" || test "X$FC" = "Xno"; then
13592 archive_cmds_need_lc_FC=no
13593 allow_undefined_flag_FC=
13594 always_export_symbols_FC=no
13595 archive_expsym_cmds_FC=
13596 export_dynamic_flag_spec_FC=
13597 hardcode_direct_FC=no
13598 hardcode_direct_absolute_FC=no
13599 hardcode_libdir_flag_spec_FC=
13600 hardcode_libdir_flag_spec_ld_FC=
13601 hardcode_libdir_separator_FC=
13602 hardcode_minus_L_FC=no
13603 hardcode_automatic_FC=no
13604 inherit_rpath_FC=no
13606 module_expsym_cmds_FC=
13607 link_all_deplibs_FC=unknown
13608 old_archive_cmds_FC=$old_archive_cmds
13609 reload_flag_FC=$reload_flag
13610 reload_cmds_FC=$reload_cmds
13611 no_undefined_flag_FC=
13612 whole_archive_flag_spec_FC=
13613 enable_shared_with_static_runtimes_FC=no
13615 # Source file extension for fc test sources.
13616 ac_ext=${ac_fc_srcext-f}
13618 # Object file extension for compiled fc test sources.
13622 # No sense in running all these tests if we already determined that
13623 # the FC compiler isn't working. Some variables
(like enable_shared
)
13624 # are currently assumed to apply to all compilers on this platform,
13625 # and will be corrupted by setting them based on a non-working compiler.
13626 if test "$_lt_disable_FC" != yes; then
13627 # Code to be used in simple compile tests
13628 lt_simple_compile_test_code
="\
13634 # Code to be used in simple link tests
13635 lt_simple_link_test_code
="\
13640 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13647 # If no C compiler was specified, use CC.
13650 # If no C compiler flags were specified, use CFLAGS.
13651 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13653 # Allow CC to be a program name with arguments.
13657 # save warnings/boilerplate of simple test code
13658 ac_outfile
=conftest.
$ac_objext
13659 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13660 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13661 _lt_compiler_boilerplate
=`cat conftest.err`
13664 ac_outfile
=conftest.
$ac_objext
13665 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13666 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13667 _lt_linker_boilerplate
=`cat conftest.err`
13671 # Allow CC to be a program name with arguments.
13676 GCC
=$ac_cv_fc_compiler_gnu
13679 for cc_temp
in $compiler""; do
13681 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13682 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13687 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13690 if test -n "$compiler"; then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13692 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13694 $as_echo "$can_build_shared" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13697 $as_echo_n "checking whether to build shared libraries... " >&6; }
13698 test "$can_build_shared" = "no" && enable_shared
=no
13700 # On AIX, shared libraries and static libraries use the same namespace, and
13701 # are all built from PIC.
13704 test "$enable_shared" = yes && enable_static
=no
13705 if test -n "$RANLIB"; then
13706 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13707 postinstall_cmds
='$RANLIB $lib'
13711 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13712 test "$enable_shared" = yes && enable_static
=no
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13717 $as_echo "$enable_shared" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13720 $as_echo_n "checking whether to build static libraries... " >&6; }
13721 # Make sure either enable_shared or enable_static is yes.
13722 test "$enable_shared" = yes || enable_static
=yes
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13724 $as_echo "$enable_static" >&6; }
13726 GCC_FC
="$ac_cv_fc_compiler_gnu"
13730 ## There is no encapsulation within the following macros, do not change
13731 ## the running order or otherwise move them around unless you know exactly
13732 ## what you are doing...
13733 # Dependencies to place before and after the object being linked:
13735 postdep_objects_FC
=
13738 compiler_lib_search_path_FC
=
13740 cat > conftest.
$ac_ext <<_LT_EOF
13749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13750 (eval $ac_compile) 2>&5
13752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13753 test $ac_status = 0; }; then
13754 # Parse the compiler output and extract the necessary
13755 # objects, libraries and library flags.
13757 # Sentinel used to keep track of whether or not we are before
13758 # the conftest object file.
13759 pre_test_object_deps_done
=no
13761 for p
in `eval "$output_verbose_link_cmd"`; do
13765 # Some compilers place space between "-{L,R}" and the path.
13766 # Remove the space.
13767 if test $p = "-L" ||
13768 test $p = "-R"; then
13775 if test "$pre_test_object_deps_done" = no
; then
13778 # Internal compiler library paths should come after those
13779 # provided the user. The postdeps already come after the
13780 # user supplied libs so there is no need to process them.
13781 if test -z "$compiler_lib_search_path_FC"; then
13782 compiler_lib_search_path_FC
="${prev}${p}"
13784 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13787 # The "-l" case would never come before the object being
13788 # linked, so don't bother handling this case.
13791 if test -z "$postdeps_FC"; then
13792 postdeps_FC
="${prev}${p}"
13794 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13800 # This assumes that the test object file only shows up
13801 # once in the compiler output.
13802 if test "$p" = "conftest.$objext"; then
13803 pre_test_object_deps_done
=yes
13807 if test "$pre_test_object_deps_done" = no
; then
13808 if test -z "$predep_objects_FC"; then
13809 predep_objects_FC
="$p"
13811 predep_objects_FC
="$predep_objects_FC $p"
13814 if test -z "$postdep_objects_FC"; then
13815 postdep_objects_FC
="$p"
13817 postdep_objects_FC
="$postdep_objects_FC $p"
13822 *) ;; # Ignore the rest.
13830 echo "libtool.m4: error: problem compiling FC test program"
13833 $RM -f confest.
$objext
13835 # PORTME: override above test on systems where it is broken
13838 case " $postdeps_FC " in
13839 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13841 compiler_lib_search_dirs_FC
=
13842 if test -n "${compiler_lib_search_path_FC}"; then
13843 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13876 lt_prog_compiler_wl_FC
=
13877 lt_prog_compiler_pic_FC
=
13878 lt_prog_compiler_static_FC
=
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13881 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13883 if test "$GCC" = yes; then
13884 lt_prog_compiler_wl_FC
='-Wl,'
13885 lt_prog_compiler_static_FC
='-static'
13889 # All AIX code is PIC.
13890 if test "$host_cpu" = ia64
; then
13891 # AIX 5 now supports IA64 processor
13892 lt_prog_compiler_static_FC
='-Bstatic'
13894 lt_prog_compiler_pic_FC
='-fPIC'
13900 # see comment about AmigaOS4 .so support
13901 lt_prog_compiler_pic_FC
='-fPIC'
13904 # FIXME: we need at least 68020 code to build shared libraries, but
13905 # adding the `-m68020' flag to GCC prevents building anything better,
13907 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13912 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13913 # PIC is the default for these OSes.
13916 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13917 # This hack is so that the source file can tell whether it is being
13918 # built for inclusion in a dll (and should export symbols for example).
13919 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13920 # (--disable-auto-import) libraries
13921 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13924 darwin
* | rhapsody
*)
13925 # PIC is the default on this platform
13926 # Common symbols not allowed in MH_DYLIB files
13927 lt_prog_compiler_pic_FC
='-fno-common'
13931 # PIC is the default for Haiku.
13932 # The "-static" flag exists, but is broken.
13933 lt_prog_compiler_static_FC
=
13937 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13938 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13939 # sets the default TLS model and affects inlining.
13945 lt_prog_compiler_pic_FC
='-fPIC'
13951 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13952 # Instead, we relocate shared libraries at runtime.
13956 # Just because we use GCC doesn't mean we suddenly get shared libraries
13957 # on systems that don't support them.
13958 lt_prog_compiler_can_build_shared_FC
=no
13963 # QNX uses GNU C++, but need to define -shared option too, otherwise
13964 # it will coredump.
13965 lt_prog_compiler_pic_FC
='-fPIC -shared'
13969 if test -d /usr
/nec
; then
13970 lt_prog_compiler_pic_FC
=-Kconform_pic
13975 lt_prog_compiler_pic_FC
='-fPIC'
13979 case $cc_basename in
13980 nvcc
*) # Cuda Compiler Driver 2.2
13981 lt_prog_compiler_wl_FC
='-Xlinker '
13982 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13986 # PORTME Check for flag to pass linker flags through the system compiler.
13989 lt_prog_compiler_wl_FC
='-Wl,'
13990 if test "$host_cpu" = ia64
; then
13991 # AIX 5 now supports IA64 processor
13992 lt_prog_compiler_static_FC
='-Bstatic'
13994 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13998 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13999 # This hack is so that the source file can tell whether it is being
14000 # built for inclusion in a dll (and should export symbols for example).
14001 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
14004 hpux9
* | hpux10
* | hpux11
*)
14005 lt_prog_compiler_wl_FC
='-Wl,'
14006 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14007 # not for PA HP-UX.
14013 lt_prog_compiler_pic_FC
='+Z'
14016 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14017 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
14020 irix5
* | irix6
* | nonstopux
*)
14021 lt_prog_compiler_wl_FC
='-Wl,'
14022 # PIC (with -KPIC) is the default.
14023 lt_prog_compiler_static_FC
='-non_shared'
14026 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14027 case $cc_basename in
14028 # old Intel for x86_64 which still supported -KPIC.
14030 lt_prog_compiler_wl_FC
='-Wl,'
14031 lt_prog_compiler_pic_FC
='-KPIC'
14032 lt_prog_compiler_static_FC
='-static'
14034 # icc used to be incompatible with GCC.
14035 # ICC 10 doesn't accept -KPIC any more.
14037 lt_prog_compiler_wl_FC
='-Wl,'
14038 lt_prog_compiler_pic_FC
='-fPIC'
14039 lt_prog_compiler_static_FC
='-static'
14041 # Lahey Fortran 8.1.
14043 lt_prog_compiler_wl_FC
='-Wl,'
14044 lt_prog_compiler_pic_FC
='--shared'
14045 lt_prog_compiler_static_FC
='--static'
14047 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14048 # Portland Group compilers (*not* the Pentium gcc compiler,
14049 # which looks to be a dead project)
14050 lt_prog_compiler_wl_FC
='-Wl,'
14051 lt_prog_compiler_pic_FC
='-fpic'
14052 lt_prog_compiler_static_FC
='-Bstatic'
14055 lt_prog_compiler_wl_FC
='-Wl,'
14056 # All Alpha code is PIC.
14057 lt_prog_compiler_static_FC
='-non_shared'
14059 xl
* | bgxl
* | bgf
* | mpixl
*)
14060 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14061 lt_prog_compiler_wl_FC
='-Wl,'
14062 lt_prog_compiler_pic_FC
='-qpic'
14063 lt_prog_compiler_static_FC
='-qstaticlink'
14066 case `$CC -V 2>&1 | sed 5q` in
14067 *Sun\ F
* |
*Sun
*Fortran
*)
14068 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14069 lt_prog_compiler_pic_FC
='-KPIC'
14070 lt_prog_compiler_static_FC
='-Bstatic'
14071 lt_prog_compiler_wl_FC
=''
14075 lt_prog_compiler_pic_FC
='-KPIC'
14076 lt_prog_compiler_static_FC
='-Bstatic'
14077 lt_prog_compiler_wl_FC
='-Wl,'
14085 lt_prog_compiler_pic_FC
='-KPIC'
14086 lt_prog_compiler_static_FC
='-Bstatic'
14090 # QNX uses GNU C++, but need to define -shared option too, otherwise
14091 # it will coredump.
14092 lt_prog_compiler_pic_FC
='-fPIC -shared'
14095 osf3
* | osf4
* | osf5
*)
14096 lt_prog_compiler_wl_FC
='-Wl,'
14097 # All OSF/1 code is PIC.
14098 lt_prog_compiler_static_FC
='-non_shared'
14102 lt_prog_compiler_static_FC
='-non_shared'
14106 lt_prog_compiler_pic_FC
='-KPIC'
14107 lt_prog_compiler_static_FC
='-Bstatic'
14108 case $cc_basename in
14109 f77
* | f90
* | f95
*)
14110 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14112 lt_prog_compiler_wl_FC
='-Wl,';;
14117 lt_prog_compiler_wl_FC
='-Qoption ld '
14118 lt_prog_compiler_pic_FC
='-PIC'
14119 lt_prog_compiler_static_FC
='-Bstatic'
14122 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14123 lt_prog_compiler_wl_FC
='-Wl,'
14124 lt_prog_compiler_pic_FC
='-KPIC'
14125 lt_prog_compiler_static_FC
='-Bstatic'
14129 if test -d /usr
/nec
;then
14130 lt_prog_compiler_pic_FC
='-Kconform_pic'
14131 lt_prog_compiler_static_FC
='-Bstatic'
14135 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14136 lt_prog_compiler_wl_FC
='-Wl,'
14137 lt_prog_compiler_pic_FC
='-KPIC'
14138 lt_prog_compiler_static_FC
='-Bstatic'
14142 lt_prog_compiler_wl_FC
='-Wl,'
14143 lt_prog_compiler_can_build_shared_FC
=no
14147 lt_prog_compiler_pic_FC
='-pic'
14148 lt_prog_compiler_static_FC
='-Bstatic'
14152 lt_prog_compiler_can_build_shared_FC
=no
14158 # For platforms which do not support PIC, -DPIC is meaningless:
14160 lt_prog_compiler_pic_FC
=
14163 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14167 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14172 # Check to make sure the PIC flag actually works.
14174 if test -n "$lt_prog_compiler_pic_FC"; then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14176 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14177 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 lt_cv_prog_compiler_pic_works_FC
=no
14181 ac_outfile
=conftest.
$ac_objext
14182 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14183 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14184 # Insert the option either (1) after the last *FLAGS variable, or
14185 # (2) before a word containing "conftest.", or (3) at the end.
14186 # Note that $ac_compile itself does not contain backslashes and begins
14187 # with a dollar sign (not a hyphen), so the echo should work correctly.
14188 # The option is referenced via a variable to avoid confusing sed.
14189 lt_compile
=`echo "$ac_compile" | $SED \
14190 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14191 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14192 -e 's:$: $lt_compiler_flag:'`
14193 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14194 (eval "$lt_compile" 2>conftest.err
)
14196 cat conftest.err
>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 if (exit $ac_status) && test -s "$ac_outfile"; then
14199 # The compiler can only warn and ignore the option if not recognized
14200 # So say no if there are warnings other than the usual output.
14201 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14202 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14203 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14204 lt_cv_prog_compiler_pic_works_FC
=yes
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14211 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14213 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14214 case $lt_prog_compiler_pic_FC in
14216 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14219 lt_prog_compiler_pic_FC
=
14220 lt_prog_compiler_can_build_shared_FC
=no
14228 # Check to make sure the static flag actually works.
14230 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14232 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14233 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14234 $as_echo_n "(cached) " >&6
14236 lt_cv_prog_compiler_static_works_FC
=no
14237 save_LDFLAGS
="$LDFLAGS"
14238 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14239 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14240 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14241 # The linker can only warn and ignore the option if not recognized
14242 # So say no if there are warnings
14243 if test -s conftest.err
; then
14244 # Append any errors to the config.log.
14245 cat conftest.err
1>&5
14246 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14247 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14248 if diff conftest.exp conftest.er2
>/dev
/null
; then
14249 lt_cv_prog_compiler_static_works_FC
=yes
14252 lt_cv_prog_compiler_static_works_FC
=yes
14256 LDFLAGS
="$save_LDFLAGS"
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14260 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14262 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14265 lt_prog_compiler_static_FC
=
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14272 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14273 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14274 $as_echo_n "(cached) " >&6
14276 lt_cv_prog_compiler_c_o_FC
=no
14277 $RM -r conftest
2>/dev
/null
14281 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14283 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14284 # Insert the option either (1) after the last *FLAGS variable, or
14285 # (2) before a word containing "conftest.", or (3) at the end.
14286 # Note that $ac_compile itself does not contain backslashes and begins
14287 # with a dollar sign (not a hyphen), so the echo should work correctly.
14288 lt_compile
=`echo "$ac_compile" | $SED \
14289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14291 -e 's:$: $lt_compiler_flag:'`
14292 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14293 (eval "$lt_compile" 2>out
/conftest.err
)
14295 cat out
/conftest.err
>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14299 # The compiler can only warn and ignore the option if not recognized
14300 # So say no if there are warnings
14301 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14302 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14303 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14304 lt_cv_prog_compiler_c_o_FC
=yes
14309 # SGI C++ compiler will create directory out/ii_files/ for
14310 # template instantiation
14311 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14312 $RM out
/* && rmdir out
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14319 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14324 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14325 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14326 $as_echo_n "(cached) " >&6
14328 lt_cv_prog_compiler_c_o_FC
=no
14329 $RM -r conftest
2>/dev
/null
14333 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14335 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14336 # Insert the option either (1) after the last *FLAGS variable, or
14337 # (2) before a word containing "conftest.", or (3) at the end.
14338 # Note that $ac_compile itself does not contain backslashes and begins
14339 # with a dollar sign (not a hyphen), so the echo should work correctly.
14340 lt_compile
=`echo "$ac_compile" | $SED \
14341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14343 -e 's:$: $lt_compiler_flag:'`
14344 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14345 (eval "$lt_compile" 2>out
/conftest.err
)
14347 cat out
/conftest.err
>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14351 # The compiler can only warn and ignore the option if not recognized
14352 # So say no if there are warnings
14353 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14354 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14355 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14356 lt_cv_prog_compiler_c_o_FC
=yes
14361 # SGI C++ compiler will create directory out/ii_files/ for
14362 # template instantiation
14363 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14364 $RM out
/* && rmdir out
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14371 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14376 hard_links
="nottested"
14377 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14378 # do not overwrite the value of need_locks provided by the user
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14380 $as_echo_n "checking if we can lock with hard links... " >&6; }
14383 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14385 ln conftest.a conftest.b
2>&5 || hard_links
=no
14386 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14388 $as_echo "$hard_links" >&6; }
14389 if test "$hard_links" = no
; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14391 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14401 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14404 allow_undefined_flag_FC
=
14405 always_export_symbols_FC
=no
14407 archive_expsym_cmds_FC
=
14408 compiler_needs_object_FC
=no
14409 enable_shared_with_static_runtimes_FC
=no
14410 export_dynamic_flag_spec_FC
=
14411 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14412 hardcode_automatic_FC
=no
14413 hardcode_direct_FC
=no
14414 hardcode_direct_absolute_FC
=no
14415 hardcode_libdir_flag_spec_FC
=
14416 hardcode_libdir_flag_spec_ld_FC
=
14417 hardcode_libdir_separator_FC
=
14418 hardcode_minus_L_FC
=no
14419 hardcode_shlibpath_var_FC
=unsupported
14420 inherit_rpath_FC
=no
14421 link_all_deplibs_FC
=unknown
14423 module_expsym_cmds_FC
=
14424 old_archive_from_new_cmds_FC
=
14425 old_archive_from_expsyms_cmds_FC
=
14426 thread_safe_flag_spec_FC
=
14427 whole_archive_flag_spec_FC
=
14428 # include_expsyms should be a list of space-separated symbols to be *always*
14429 # included in the symbol list
14430 include_expsyms_FC
=
14431 # exclude_expsyms can be an extended regexp of symbols to exclude
14432 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14433 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14434 # as well as any symbol that contains `d'.
14435 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14436 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14437 # platforms (ab)use it in PIC code, but their linkers get confused if
14438 # the symbol is explicitly referenced. Since portable code cannot
14439 # rely on this symbol name, it's probably fine to never include it in
14440 # preloaded symbol tables.
14441 # Exclude shared library initialization/finalization symbols.
14442 extract_expsyms_cmds
=
14445 cygwin
* | mingw
* | pw32
* | cegcc
*)
14446 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14447 # When not using gcc, we currently assume that we are using
14448 # Microsoft Visual C++.
14449 if test "$GCC" != yes; then
14454 # we just hope/assume this is gcc and not c89 (= MSVC++)
14464 # On some targets, GNU ld is compatible enough with the native linker
14465 # that we're better off using the native interface for both.
14466 lt_use_gnu_ld_interface
=no
14467 if test "$with_gnu_ld" = yes; then
14470 # The AIX port of GNU ld has always aspired to compatibility
14471 # with the native linker. However, as the warning in the GNU ld
14472 # block says, versions before 2.19.5* couldn't really create working
14473 # shared libraries, regardless of the interface used.
14474 case `$LD -v 2>&1` in
14475 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14476 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14477 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14479 lt_use_gnu_ld_interface
=yes
14484 lt_use_gnu_ld_interface
=yes
14489 if test "$lt_use_gnu_ld_interface" = yes; then
14490 # If archive_cmds runs LD, not CC, wlarc should be empty
14493 # Set some defaults for GNU ld with shared library support. These
14494 # are reset later if shared libraries are not supported. Putting them
14495 # here allows them to be overridden if necessary.
14496 runpath_var
=LD_RUN_PATH
14497 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14498 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14499 # ancient GNU ld didn't support --whole-archive et. al.
14500 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14501 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14503 whole_archive_flag_spec_FC
=
14505 supports_anon_versioning
=no
14506 case `$LD -v 2>&1` in
14507 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14508 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14509 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14510 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14511 *\
2.11.
*) ;; # other 2.11 versions
14512 *) supports_anon_versioning
=yes ;;
14515 # See if GNU ld supports shared libraries.
14518 # On AIX/PPC, the GNU linker is very broken
14519 if test "$host_cpu" != ia64
; then
14523 *** Warning: the GNU linker, at least up to release 2.19, is reported
14524 *** to be unable to reliably create shared libraries on AIX.
14525 *** Therefore, libtool is disabling shared libraries support. If you
14526 *** really care for shared libraries, you may want to install binutils
14527 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14528 *** You will then need to restart the configuration process.
14537 # see comment about AmigaOS4 .so support
14538 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14539 archive_expsym_cmds_FC
=''
14542 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)'
14543 hardcode_libdir_flag_spec_FC
='-L$libdir'
14544 hardcode_minus_L_FC
=yes
14550 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14551 allow_undefined_flag_FC
=unsupported
14552 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14553 # support --undefined. This deserves some investigation. FIXME
14554 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14560 cygwin
* | mingw
* | pw32
* | cegcc
*)
14561 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14562 # as there is no search path for DLLs.
14563 hardcode_libdir_flag_spec_FC
='-L$libdir'
14564 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14565 allow_undefined_flag_FC
=unsupported
14566 always_export_symbols_FC
=no
14567 enable_shared_with_static_runtimes_FC
=yes
14568 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14570 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14571 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14572 # If the export-symbols file already is a .def file (1st line
14573 # is EXPORTS), use it as is; otherwise, prepend...
14574 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14575 cp $export_symbols $output_objdir/$soname.def;
14577 echo EXPORTS > $output_objdir/$soname.def;
14578 cat $export_symbols >> $output_objdir/$soname.def;
14580 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14587 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14588 link_all_deplibs_FC
=yes
14592 hardcode_direct_FC
=no
14593 hardcode_shlibpath_var_FC
=no
14594 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14595 export_dynamic_flag_spec_FC
='${wl}-E'
14596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14597 # Instead, shared libraries are loaded at an image base (0x10000000 by
14598 # default) and relocated if they conflict, which is a slow very memory
14599 # consuming and fragmenting process. To avoid this, we pick a random,
14600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14602 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'
14603 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'
14606 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14608 if test "$host_os" = linux-dietlibc
; then
14609 case $cc_basename in
14610 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14613 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14614 && test "$tmp_diet" = no
14616 tmp_addflag
=' $pic_flag'
14617 tmp_sharedflag
='-shared'
14618 case $cc_basename,$host_cpu in
14619 pgcc
*) # Portland Group C compiler
14620 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'
14621 tmp_addflag
=' $pic_flag'
14623 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14624 # Portland Group f77 and f90 compilers
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 -Mnomain' ;;
14627 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14628 tmp_addflag
=' -i_dynamic' ;;
14629 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14630 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14631 ifc
* | ifort
*) # Intel Fortran compiler
14632 tmp_addflag
=' -nofor_main' ;;
14633 lf95
*) # Lahey Fortran 8.1
14634 whole_archive_flag_spec_FC
=
14635 tmp_sharedflag
='--shared' ;;
14636 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14637 tmp_sharedflag
='-qmkshrobj'
14639 nvcc
*) # Cuda Compiler Driver 2.2
14640 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'
14641 compiler_needs_object_FC
=yes
14644 case `$CC -V 2>&1 | sed 5q` in
14645 *Sun\ C
*) # Sun C 5.9
14646 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'
14647 compiler_needs_object_FC
=yes
14648 tmp_sharedflag
='-G' ;;
14649 *Sun\ F
*) # Sun Fortran 8.3
14650 tmp_sharedflag
='-G' ;;
14652 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14654 if test "x$supports_anon_versioning" = xyes
; then
14655 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14656 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14657 echo "local: *; };" >> $output_objdir/$libname.ver~
14658 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14661 case $cc_basename in
14662 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14663 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14664 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14665 hardcode_libdir_flag_spec_FC
=
14666 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14667 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14668 if test "x$supports_anon_versioning" = xyes
; then
14669 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14671 echo "local: *; };" >> $output_objdir/$libname.ver~
14672 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14682 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14683 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14686 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14687 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14692 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14696 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14697 *** create shared libraries on Solaris systems. Therefore, libtool
14698 *** is disabling shared libraries support. We urge you to upgrade GNU
14699 *** binutils to release 2.9.1 or newer. Another option is to modify
14700 *** your PATH or compiler configuration so that the native linker is
14701 *** used, and then restart.
14704 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14705 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14706 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14712 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14713 case `$LD -v 2>&1` in
14714 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14718 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14719 *** reliably create shared libraries on SCO systems. Therefore, libtool
14720 *** is disabling shared libraries support. We urge you to upgrade GNU
14721 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14722 *** your PATH or compiler configuration so that the native linker is
14723 *** used, and then restart.
14728 # For security reasons, it is highly recommended that you always
14729 # use absolute paths for naming shared libraries, and exclude the
14730 # DT_RUNPATH tag from executables and libraries. But doing so
14731 # requires that you compile everything twice, which is a pain.
14732 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14733 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14734 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14735 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14744 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14746 hardcode_direct_FC
=yes
14747 hardcode_shlibpath_var_FC
=no
14751 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14752 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14753 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14760 if test "$ld_shlibs_FC" = no
; then
14762 hardcode_libdir_flag_spec_FC
=
14763 export_dynamic_flag_spec_FC
=
14764 whole_archive_flag_spec_FC
=
14767 # PORTME fill in a description of your system's linker (not GNU ld)
14770 allow_undefined_flag_FC
=unsupported
14771 always_export_symbols_FC
=yes
14772 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'
14773 # Note: this linker hardcodes the directories in LIBPATH if there
14774 # are no directories specified by -L.
14775 hardcode_minus_L_FC
=yes
14776 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14777 # Neither direct hardcoding nor static linking is supported with a
14779 hardcode_direct_FC
=unsupported
14784 if test "$host_cpu" = ia64
; then
14785 # On IA64, the linker does run time linking by default, so we don't
14786 # have to do anything special.
14787 aix_use_runtimelinking
=no
14788 exp_sym_flag
='-Bexport'
14791 # If we're using GNU nm, then we don't want the "-C" option.
14792 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14793 # Also, AIX nm treats weak defined symbols like other global
14794 # defined symbols, whereas GNU nm marks them as "W".
14795 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14796 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'
14798 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'
14800 aix_use_runtimelinking
=no
14802 # Test if we are trying to use run time linking or normal
14803 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14804 # need to do runtime linking.
14805 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14806 for ld_flag
in $LDFLAGS; do
14807 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14808 aix_use_runtimelinking
=yes
14815 exp_sym_flag
='-bexport'
14816 no_entry_flag
='-bnoentry'
14819 # When large executables or shared objects are built, AIX ld can
14820 # have problems creating the table of contents. If linking a library
14821 # or program results in "error TOC overflow" add -mminimal-toc to
14822 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14823 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14826 hardcode_direct_FC
=yes
14827 hardcode_direct_absolute_FC
=yes
14828 hardcode_libdir_separator_FC
=':'
14829 link_all_deplibs_FC
=yes
14830 file_list_spec_FC
='${wl}-f,'
14832 if test "$GCC" = yes; then
14833 case $host_os in aix4.
[012]|aix4.
[012].
*)
14834 # We only want to do this on AIX 4.2 and lower, the check
14835 # below for broken collect2 doesn't work under 4.3+
14836 collect2name
=`${CC} -print-prog-name=collect2`
14837 if test -f "$collect2name" &&
14838 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14840 # We have reworked collect2
14843 # We have old collect2
14844 hardcode_direct_FC
=unsupported
14845 # It fails to find uninstalled libraries when the uninstalled
14846 # path is not listed in the libpath. Setting hardcode_minus_L
14847 # to unsupported forces relinking
14848 hardcode_minus_L_FC
=yes
14849 hardcode_libdir_flag_spec_FC
='-L$libdir'
14850 hardcode_libdir_separator_FC
=
14854 shared_flag
='-shared'
14855 if test "$aix_use_runtimelinking" = yes; then
14856 shared_flag
="$shared_flag "'${wl}-G'
14860 if test "$host_cpu" = ia64
; then
14861 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14862 # chokes on -Wl,-G. The following line is correct:
14865 if test "$aix_use_runtimelinking" = yes; then
14866 shared_flag
='${wl}-G'
14868 shared_flag
='${wl}-bM:SRE'
14873 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14874 # It seems that -bexpall does not export symbols beginning with
14875 # underscore (_), so it is better to generate a list of symbols to export.
14876 always_export_symbols_FC
=yes
14877 if test "$aix_use_runtimelinking" = yes; then
14878 # Warning - without using the other runtime loading flags (-brtl),
14879 # -berok will link without error, but may produce a broken library.
14880 allow_undefined_flag_FC
='-berok'
14881 # Determine the default libpath from the value encoded in an
14882 # empty executable.
14883 if test x
$gcc_no_link = xyes
; then
14884 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14886 cat > conftest.
$ac_ext <<_ACEOF
14891 if ac_fn_fc_try_link
"$LINENO"; then :
14893 lt_aix_libpath_sed
='
14894 /Import File Strings/,/^$/ {
14900 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14901 # Check for a 64-bit object if we didn't find anything.
14902 if test -z "$aix_libpath"; then
14903 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14906 rm -f core conftest.err conftest.
$ac_objext \
14907 conftest
$ac_exeext conftest.
$ac_ext
14908 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14910 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14911 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"
14913 if test "$host_cpu" = ia64
; then
14914 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14915 allow_undefined_flag_FC
="-z nodefs"
14916 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"
14918 # Determine the default libpath from the value encoded in an
14919 # empty executable.
14920 if test x
$gcc_no_link = xyes
; then
14921 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14923 cat > conftest.
$ac_ext <<_ACEOF
14928 if ac_fn_fc_try_link
"$LINENO"; then :
14930 lt_aix_libpath_sed
='
14931 /Import File Strings/,/^$/ {
14937 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14938 # Check for a 64-bit object if we didn't find anything.
14939 if test -z "$aix_libpath"; then
14940 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14943 rm -f core conftest.err conftest.
$ac_objext \
14944 conftest
$ac_exeext conftest.
$ac_ext
14945 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14947 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14948 # Warning - without using the other run time loading flags,
14949 # -berok will link without error, but may produce a broken library.
14950 no_undefined_flag_FC
=' ${wl}-bernotok'
14951 allow_undefined_flag_FC
=' ${wl}-berok'
14952 if test "$with_gnu_ld" = yes; then
14953 # We only use this code for GNU lds that support --whole-archive.
14954 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14956 # Exported symbols can be pulled into shared objects from archives
14957 whole_archive_flag_spec_FC
='$convenience'
14959 archive_cmds_need_lc_FC
=yes
14960 # This is similar to how AIX traditionally builds its shared libraries.
14961 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'
14969 # see comment about AmigaOS4 .so support
14970 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14971 archive_expsym_cmds_FC
=''
14974 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)'
14975 hardcode_libdir_flag_spec_FC
='-L$libdir'
14976 hardcode_minus_L_FC
=yes
14982 export_dynamic_flag_spec_FC
=-rdynamic
14985 cygwin
* | mingw
* | pw32
* | cegcc
*)
14986 # When not using gcc, we currently assume that we are using
14987 # Microsoft Visual C++.
14988 # hardcode_libdir_flag_spec is actually meaningless, as there is
14989 # no search path for DLLs.
14990 hardcode_libdir_flag_spec_FC
=' '
14991 allow_undefined_flag_FC
=unsupported
14992 # Tell ltmain to make .lib files, not .a files.
14994 # Tell ltmain to make .dll files, not .so files.
14996 # FIXME: Setting linknames here is a bad hack.
14997 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14998 # The linker will automatically build a .lib file if we build a DLL.
14999 old_archive_from_new_cmds_FC
='true'
15000 # FIXME: Should let the user specify the lib program.
15001 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15002 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
15003 enable_shared_with_static_runtimes_FC
=yes
15006 darwin
* | rhapsody
*)
15010 # Publish an arg to allow the user to select that Darwin host (and target)
15011 # libraries should be given install-names like @rpath/libfoo.dylib. This
15012 # requires that the user of the library then adds an 'rpath' to the DSO that
15014 # NOTE: there are defaults below, for systems that support rpaths. The person
15015 # configuring can override the defaults for any system version that supports
15016 # them - they are, however, forced off for system versions without support.
15017 # Check whether --enable-darwin-at-rpath was given.
15018 if test "${enable_darwin_at_rpath+set}" = set; then :
15019 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15020 # This is not supported before macOS 10.5 / Darwin9.
15021 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15022 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15024 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15025 enable_darwin_at_rpath
=no
15030 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15031 # As above, before 10.5 / Darwin9 this does not work.
15032 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15033 enable_darwin_at_rpath
=no
15036 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15037 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15038 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15039 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15041 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15042 enable_darwin_at_rpath
=yes
15044 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15045 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15052 archive_cmds_need_lc_FC
=no
15053 hardcode_direct_FC
=no
15054 hardcode_automatic_FC
=yes
15055 hardcode_shlibpath_var_FC
=unsupported
15056 if test "$lt_cv_ld_force_load" = "yes"; then
15057 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\"`'
15059 whole_archive_flag_spec_FC
=''
15061 link_all_deplibs_FC
=yes
15062 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
15063 case $cc_basename in
15064 ifort
*) _lt_dar_can_shared
=yes ;;
15065 *) _lt_dar_can_shared
=$GCC ;;
15067 if test "$_lt_dar_can_shared" = "yes"; then
15068 output_verbose_link_cmd
=func_echo_all
15069 _lt_install_name
='\$rpath/\$soname'
15070 if test "x$enable_darwin_at_rpath" = "xyes"; then
15071 _lt_install_name
='@rpath/\$soname'
15073 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15074 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15075 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}"
15076 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}"
15085 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15086 hardcode_libdir_flag_spec_FC
='-L$libdir'
15087 hardcode_shlibpath_var_FC
=no
15090 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15091 # support. Future versions do this automatically, but an explicit c++rt0.o
15092 # does not break anything, and helps significantly (at the cost of a little
15095 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15096 hardcode_libdir_flag_spec_FC
='-R$libdir'
15097 hardcode_direct_FC
=yes
15098 hardcode_shlibpath_var_FC
=no
15101 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15103 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15104 hardcode_direct_FC
=yes
15105 hardcode_minus_L_FC
=yes
15106 hardcode_shlibpath_var_FC
=no
15109 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15110 freebsd
* | dragonfly
*)
15111 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15112 hardcode_libdir_flag_spec_FC
='-R$libdir'
15113 hardcode_direct_FC
=yes
15114 hardcode_shlibpath_var_FC
=no
15118 if test "$GCC" = yes; then
15119 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'
15121 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'
15123 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15124 hardcode_libdir_separator_FC
=:
15125 hardcode_direct_FC
=yes
15127 # hardcode_minus_L: Not really in the search PATH,
15128 # but as the default location of the library.
15129 hardcode_minus_L_FC
=yes
15130 export_dynamic_flag_spec_FC
='${wl}-E'
15134 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15135 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15137 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15139 if test "$with_gnu_ld" = no
; then
15140 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15141 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15142 hardcode_libdir_separator_FC
=:
15143 hardcode_direct_FC
=yes
15144 hardcode_direct_absolute_FC
=yes
15145 export_dynamic_flag_spec_FC
='${wl}-E'
15146 # hardcode_minus_L: Not really in the search PATH,
15147 # but as the default location of the library.
15148 hardcode_minus_L_FC
=yes
15153 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15156 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15159 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15162 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15168 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15171 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15174 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15178 if test "$with_gnu_ld" = no
; then
15179 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15180 hardcode_libdir_separator_FC
=:
15184 hardcode_direct_FC
=no
15185 hardcode_shlibpath_var_FC
=no
15188 hardcode_direct_FC
=yes
15189 hardcode_direct_absolute_FC
=yes
15190 export_dynamic_flag_spec_FC
='${wl}-E'
15192 # hardcode_minus_L: Not really in the search PATH,
15193 # but as the default location of the library.
15194 hardcode_minus_L_FC
=yes
15200 irix5
* | irix6
* | nonstopux
*)
15201 if test "$GCC" = yes; then
15202 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'
15203 # Try to use the -exported_symbol ld option, if it does not
15204 # work, assume that -exports_file does not work either and
15205 # implicitly export all symbols.
15206 save_LDFLAGS
="$LDFLAGS"
15207 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15208 if test x
$gcc_no_link = xyes
; then
15209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15211 cat > conftest.
$ac_ext <<_ACEOF
15214 if ac_fn_fc_try_link
"$LINENO"; then :
15215 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'
15218 rm -f core conftest.err conftest.
$ac_objext \
15219 conftest
$ac_exeext conftest.
$ac_ext
15220 LDFLAGS
="$save_LDFLAGS"
15222 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'
15223 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'
15225 archive_cmds_need_lc_FC
='no'
15226 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15227 hardcode_libdir_separator_FC
=:
15228 inherit_rpath_FC
=yes
15229 link_all_deplibs_FC
=yes
15233 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15234 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15236 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15238 hardcode_libdir_flag_spec_FC
='-R$libdir'
15239 hardcode_direct_FC
=yes
15240 hardcode_shlibpath_var_FC
=no
15244 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15245 hardcode_direct_FC
=yes
15246 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15247 hardcode_libdir_separator_FC
=:
15248 hardcode_shlibpath_var_FC
=no
15255 if test -f /usr
/libexec
/ld.so
; then
15256 hardcode_direct_FC
=yes
15257 hardcode_shlibpath_var_FC
=no
15258 hardcode_direct_absolute_FC
=yes
15259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15260 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15261 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15262 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15263 export_dynamic_flag_spec_FC
='${wl}-E'
15266 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15267 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15268 hardcode_libdir_flag_spec_FC
='-R$libdir'
15271 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15272 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15282 hardcode_libdir_flag_spec_FC
='-L$libdir'
15283 hardcode_minus_L_FC
=yes
15284 allow_undefined_flag_FC
=unsupported
15285 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'
15286 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15290 if test "$GCC" = yes; then
15291 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15292 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'
15294 allow_undefined_flag_FC
=' -expect_unresolved \*'
15295 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'
15297 archive_cmds_need_lc_FC
='no'
15298 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15299 hardcode_libdir_separator_FC
=:
15302 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15303 if test "$GCC" = yes; then
15304 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15305 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'
15306 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15308 allow_undefined_flag_FC
=' -expect_unresolved \*'
15309 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'
15310 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~
15311 $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'
15313 # Both c and cxx compiler support -rpath directly
15314 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15316 archive_cmds_need_lc_FC
='no'
15317 hardcode_libdir_separator_FC
=:
15321 no_undefined_flag_FC
=' -z defs'
15322 if test "$GCC" = yes; then
15324 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15325 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15326 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15328 case `$CC -V 2>&1` in
15331 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15332 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15337 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15338 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15339 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15343 hardcode_libdir_flag_spec_FC
='-R$libdir'
15344 hardcode_shlibpath_var_FC
=no
15346 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15348 # The compiler driver will combine and reorder linker options,
15349 # but understands `-z linker_flag'. GCC discards it without `$wl',
15350 # but is careful enough not to reorder.
15351 # Supported since Solaris 2.6 (maybe 2.5.1?)
15352 if test "$GCC" = yes; then
15353 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15355 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15359 link_all_deplibs_FC
=yes
15363 if test "x$host_vendor" = xsequent
; then
15364 # Use $CC to link under sequent, because it throws in some extra .o
15365 # files that make .init and .fini sections work.
15366 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15368 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15370 hardcode_libdir_flag_spec_FC
='-L$libdir'
15371 hardcode_direct_FC
=yes
15372 hardcode_minus_L_FC
=yes
15373 hardcode_shlibpath_var_FC
=no
15377 case $host_vendor in
15379 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15380 hardcode_direct_FC
=yes # is this really true???
15383 ## LD is ld it makes a PLAMLIB
15384 ## CC just makes a GrossModule.
15385 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15386 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15387 hardcode_direct_FC
=no
15390 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15391 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15394 runpath_var
='LD_RUN_PATH'
15395 hardcode_shlibpath_var_FC
=no
15399 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15400 hardcode_shlibpath_var_FC
=no
15401 export_dynamic_flag_spec_FC
='-Bexport'
15405 if test -d /usr
/nec
; then
15406 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15407 hardcode_shlibpath_var_FC
=no
15408 runpath_var
=LD_RUN_PATH
15409 hardcode_runpath_var
=yes
15414 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15415 no_undefined_flag_FC
='${wl}-z,text'
15416 archive_cmds_need_lc_FC
=no
15417 hardcode_shlibpath_var_FC
=no
15418 runpath_var
='LD_RUN_PATH'
15420 if test "$GCC" = yes; then
15421 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15422 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15424 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15425 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15429 sysv5
* | sco3.2v5
* | sco5v6
*)
15430 # Note: We can NOT use -z defs as we might desire, because we do not
15431 # link with -lc, and that would cause any symbols used from libc to
15432 # always be unresolved, which means just about no library would
15433 # ever link correctly. If we're not using GNU ld we use -z text
15434 # though, which does catch some bad symbols but isn't as heavy-handed
15436 no_undefined_flag_FC
='${wl}-z,text'
15437 allow_undefined_flag_FC
='${wl}-z,nodefs'
15438 archive_cmds_need_lc_FC
=no
15439 hardcode_shlibpath_var_FC
=no
15440 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15441 hardcode_libdir_separator_FC
=':'
15442 link_all_deplibs_FC
=yes
15443 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15444 runpath_var
='LD_RUN_PATH'
15446 if test "$GCC" = yes; then
15447 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15450 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15451 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15457 hardcode_libdir_flag_spec_FC
='-L$libdir'
15458 hardcode_shlibpath_var_FC
=no
15466 if test x
$host_vendor = xsni
; then
15468 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15469 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15476 $as_echo "$ld_shlibs_FC" >&6; }
15477 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15479 with_gnu_ld_FC
=$with_gnu_ld
15487 # Do we need to explicitly link libc?
15489 case "x$archive_cmds_need_lc_FC" in
15491 # Assume -lc should be added
15492 archive_cmds_need_lc_FC
=yes
15494 if test "$enable_shared" = yes && test "$GCC" = yes; then
15495 case $archive_cmds_FC in
15497 # FIXME: we may have to deal with multi-command sequences.
15500 # Test whether the compiler implicitly links with -lc since on some
15501 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15502 # to ld, don't add -lc before -lgcc.
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15504 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15505 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15506 $as_echo_n "(cached) " >&6
15509 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; } 2>conftest.err
; then
15518 libobjs
=conftest.
$ac_objext
15520 wl
=$lt_prog_compiler_wl_FC
15521 pic_flag
=$lt_prog_compiler_pic_FC
15527 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15528 allow_undefined_flag_FC
=
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15530 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }
15535 lt_cv_archive_cmds_need_lc_FC
=no
15537 lt_cv_archive_cmds_need_lc_FC
=yes
15539 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15541 cat conftest.err
1>&5
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15547 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15548 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15619 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15621 library_names_spec
=
15622 libname_spec
='lib$name'
15626 postuninstall_cmds
=
15630 shlibpath_overrides_runpath
=unknown
15632 dynamic_linker
="$host_os ld.so"
15633 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15634 need_lib_prefix
=unknown
15635 hardcode_into_libs
=no
15637 # when you set need_version to no, make sure it does not cause -set_version
15638 # flags to be left without arguments
15639 need_version
=unknown
15644 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15645 shlibpath_var
=LIBPATH
15647 # AIX 3 has no versioning support, so we append a major version to the name.
15648 soname_spec
='${libname}${release}${shared_ext}$major'
15655 hardcode_into_libs
=yes
15656 if test "$host_cpu" = ia64
; then
15657 # AIX 5 supports IA64
15658 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15659 shlibpath_var
=LD_LIBRARY_PATH
15661 # With GCC up to 2.95.x, collect2 would create an import file
15662 # for dependence libraries. The import file would start with
15663 # the line `#! .'. This would cause the generated library to
15664 # depend on `.', always an invalid library. This was fixed in
15665 # development snapshots of GCC prior to 3.0.
15667 aix4 | aix4.
[01] | aix4.
[01].
*)
15668 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15670 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15673 can_build_shared
=no
15677 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15678 # soname into executable. Probably we can add versioning support to
15679 # collect2, so additional links can be useful in future.
15680 if test "$aix_use_runtimelinking" = yes; then
15681 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15682 # instead of lib<name>.a to let people know that these are not
15683 # typical AIX shared libraries.
15684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15686 # We preserve .a as extension for shared libraries through AIX4.2
15687 # and later when we are not doing run time linking.
15688 library_names_spec
='${libname}${release}.a $libname.a'
15689 soname_spec
='${libname}${release}${shared_ext}$major'
15691 shlibpath_var
=LIBPATH
15698 # Since July 2007 AmigaOS4 officially supports .so libraries.
15699 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15703 library_names_spec
='$libname.ixlibrary $libname.a'
15704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15705 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'
15711 library_names_spec
='${libname}${shared_ext}'
15712 dynamic_linker
="$host_os ld.so"
15713 shlibpath_var
=LIBRARY_PATH
15719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15720 soname_spec
='${libname}${release}${shared_ext}$major'
15721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15722 shlibpath_var
=LD_LIBRARY_PATH
15723 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15724 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15725 # the default ld.so.conf also contains /usr/contrib/lib and
15726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15727 # libtool to hard-code these into programs
15730 cygwin
* | mingw
* | pw32
* | cegcc
*)
15731 version_type
=windows
15736 case $GCC,$host_os in
15737 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15738 library_names_spec
='$libname.dll.a'
15739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15740 postinstall_cmds
='base_file=`basename \${file}`~
15741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15742 dldir=$destdir/`dirname \$dlpath`~
15743 test -d \$dldir || mkdir -p \$dldir~
15744 $install_prog $dir/$dlname \$dldir/$dlname~
15745 chmod a+x \$dldir/$dlname~
15746 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15747 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15749 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15750 dlpath=$dir/\$dldll~
15752 shlibpath_overrides_runpath
=yes
15756 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15757 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15761 # MinGW DLLs use traditional 'lib' prefix
15762 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15765 # pw32 DLLs use 'pw' prefix rather than 'lib'
15766 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15772 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15775 dynamic_linker
='Win32 ld.exe'
15776 # FIXME: first we should search . and the directory the executable is in
15780 darwin
* | rhapsody
*)
15781 dynamic_linker
="$host_os dyld"
15782 version_type
=darwin
15785 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15786 soname_spec
='${libname}${release}${major}$shared_ext'
15787 shlibpath_overrides_runpath
=yes
15788 shlibpath_var
=DYLD_LIBRARY_PATH
15789 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15791 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15799 soname_spec
='${libname}${release}${shared_ext}$major'
15800 shlibpath_var
=LD_LIBRARY_PATH
15803 freebsd
* | dragonfly
*)
15804 # DragonFly does not have aout. When/if they implement a new
15805 # versioning mechanism, adjust this.
15806 if test -x /usr
/bin
/objformat
; then
15807 objformat
=`/usr/bin/objformat`
15810 freebsd
[23].
*) objformat
=aout
;;
15811 *) objformat
=elf
;;
15814 version_type
=freebsd-
$objformat
15815 case $version_type in
15817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15826 shlibpath_var
=LD_LIBRARY_PATH
15829 shlibpath_overrides_runpath
=yes
15831 freebsd3.
[01]* | freebsdelf3.
[01]*)
15832 shlibpath_overrides_runpath
=yes
15833 hardcode_into_libs
=yes
15835 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15836 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15837 shlibpath_overrides_runpath
=no
15838 hardcode_into_libs
=yes
15840 *) # from 4.6 on, and DragonFly
15841 shlibpath_overrides_runpath
=yes
15842 hardcode_into_libs
=yes
15851 dynamic_linker
="$host_os runtime_loader"
15852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15853 soname_spec
='${libname}${release}${shared_ext}$major'
15854 shlibpath_var
=LIBRARY_PATH
15855 shlibpath_overrides_runpath
=yes
15856 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15857 hardcode_into_libs
=yes
15860 hpux9
* | hpux10
* | hpux11
*)
15861 # Give a soname corresponding to the major version so that dld.sl refuses to
15862 # link against other versions.
15869 hardcode_into_libs
=yes
15870 dynamic_linker
="$host_os dld.so"
15871 shlibpath_var
=LD_LIBRARY_PATH
15872 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15874 soname_spec
='${libname}${release}${shared_ext}$major'
15875 if test "X$HPUX_IA64_MODE" = X32
; then
15876 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15878 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15880 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15884 hardcode_into_libs
=yes
15885 dynamic_linker
="$host_os dld.sl"
15886 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15887 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15889 soname_spec
='${libname}${release}${shared_ext}$major'
15890 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15891 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15895 dynamic_linker
="$host_os dld.sl"
15896 shlibpath_var
=SHLIB_PATH
15897 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899 soname_spec
='${libname}${release}${shared_ext}$major'
15902 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15903 postinstall_cmds
='chmod 555 $lib'
15904 # or fails outright, so override atomically:
15905 install_override_mode
=555
15912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15913 soname_spec
='${libname}${release}${shared_ext}$major'
15914 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15915 shlibpath_var
=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath
=no
15917 hardcode_into_libs
=yes
15920 irix5
* | irix6
* | nonstopux
*)
15922 nonstopux
*) version_type
=nonstopux
;;
15924 if test "$lt_cv_prog_gnu_ld" = yes; then
15932 soname_spec
='${libname}${release}${shared_ext}$major'
15933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15935 irix5
* | nonstopux
*)
15936 libsuff
= shlibsuff
=
15939 case $LD in # libtool.m4 will add one of these switches to LD
15940 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15941 libsuff
= shlibsuff
= libmagic
=32-bit;;
15942 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15943 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15944 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15945 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15946 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15950 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15951 shlibpath_overrides_runpath
=no
15952 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15953 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15954 hardcode_into_libs
=yes
15957 # No shared lib support for Linux oldld, aout, or coff.
15958 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15962 # This must be Linux ELF.
15964 # uclinux* changes (here and below) have been submitted to the libtool
15965 # project, but have not yet been accepted: they are GCC-local changes
15966 # for the time being. (See
15967 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15968 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15973 soname_spec
='${libname}${release}${shared_ext}$major'
15974 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15975 shlibpath_var
=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath
=no
15978 # Some binutils ld are patched to set DT_RUNPATH
15979 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15980 $as_echo_n "(cached) " >&6
15982 lt_cv_shlibpath_overrides_runpath
=no
15983 save_LDFLAGS
=$LDFLAGS
15984 save_libdir
=$libdir
15985 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15986 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15987 if test x
$gcc_no_link = xyes
; then
15988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15990 cat > conftest.
$ac_ext <<_ACEOF
15995 if ac_fn_fc_try_link
"$LINENO"; then :
15996 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15997 lt_cv_shlibpath_overrides_runpath
=yes
16000 rm -f core conftest.err conftest.
$ac_objext \
16001 conftest
$ac_exeext conftest.
$ac_ext
16002 LDFLAGS
=$save_LDFLAGS
16003 libdir
=$save_libdir
16007 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16009 # This implies no fast_install, which is unacceptable.
16010 # Some rework will be needed to allow for fast_install
16011 # before this can be enabled.
16012 hardcode_into_libs
=yes
16014 # Append ld.so.conf contents to the search path
16015 if test -f /etc
/ld.so.conf
; then
16016 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' ' '`
16017 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16020 # We used to test for /lib/ld.so.1 and disable shared libraries on
16021 # powerpc, because MkLinux only supported shared libraries with the
16022 # GNU dynamic linker. Since this was broken with cross compilers,
16023 # most powerpc-linux boxes support dynamic linking these days and
16024 # people can always --disable-shared, the test was removed, and we
16025 # assume the GNU/Linux dynamic linker is in use.
16026 dynamic_linker
='GNU/Linux ld.so'
16033 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16035 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16036 dynamic_linker
='NetBSD (a.out) ld.so'
16038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16039 soname_spec
='${libname}${release}${shared_ext}$major'
16040 dynamic_linker
='NetBSD ld.elf_so'
16042 shlibpath_var
=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath
=yes
16044 hardcode_into_libs
=yes
16049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 shlibpath_var
=LD_LIBRARY_PATH
16051 shlibpath_overrides_runpath
=yes
16058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 soname_spec
='${libname}${release}${shared_ext}$major'
16060 shlibpath_var
=LD_LIBRARY_PATH
16061 shlibpath_overrides_runpath
=no
16062 hardcode_into_libs
=yes
16063 dynamic_linker
='ldqnx.so'
16068 sys_lib_dlsearch_path_spec
="/usr/lib"
16070 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16072 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16073 *) need_version
=no
;;
16075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16077 shlibpath_var
=LD_LIBRARY_PATH
16078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16080 openbsd2.
[89] | openbsd2.
[89].
*)
16081 shlibpath_overrides_runpath
=no
16084 shlibpath_overrides_runpath
=yes
16088 shlibpath_overrides_runpath
=yes
16093 libname_spec
='$name'
16096 library_names_spec
='$libname${shared_ext} $libname.a'
16097 dynamic_linker
='OS/2 ld.exe'
16098 shlibpath_var
=LIBPATH
16101 osf3
* | osf4
* | osf5
*)
16105 soname_spec
='${libname}${release}${shared_ext}$major'
16106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16107 shlibpath_var
=LD_LIBRARY_PATH
16108 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16109 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16121 soname_spec
='${libname}${release}${shared_ext}$major'
16122 shlibpath_var
=LD_LIBRARY_PATH
16123 shlibpath_overrides_runpath
=yes
16124 hardcode_into_libs
=yes
16125 # ldd complains unless libraries are executable
16126 postinstall_cmds
='chmod +x $lib'
16131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16132 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16133 shlibpath_var
=LD_LIBRARY_PATH
16134 shlibpath_overrides_runpath
=yes
16135 if test "$with_gnu_ld" = yes; then
16143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16144 soname_spec
='${libname}${release}${shared_ext}$major'
16145 shlibpath_var
=LD_LIBRARY_PATH
16146 case $host_vendor in
16148 shlibpath_overrides_runpath
=no
16150 runpath_var
=LD_RUN_PATH
16158 shlibpath_overrides_runpath
=no
16159 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16165 if test -d /usr
/nec
;then
16167 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16168 soname_spec
='$libname${shared_ext}.$major'
16169 shlibpath_var
=LD_LIBRARY_PATH
16173 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16174 version_type
=freebsd-elf
16177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16178 soname_spec
='${libname}${release}${shared_ext}$major'
16179 shlibpath_var
=LD_LIBRARY_PATH
16180 shlibpath_overrides_runpath
=yes
16181 hardcode_into_libs
=yes
16182 if test "$with_gnu_ld" = yes; then
16183 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16185 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16188 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16192 sys_lib_dlsearch_path_spec
='/usr/lib'
16196 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16201 shlibpath_var
=LD_LIBRARY_PATH
16202 shlibpath_overrides_runpath
=no
16203 hardcode_into_libs
=yes
16208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16209 soname_spec
='${libname}${release}${shared_ext}$major'
16210 shlibpath_var
=LD_LIBRARY_PATH
16213 # Shared libraries for VwWorks, >= 7 only at this stage
16214 # and (fpic) still incompatible with "large" code models
16215 # in a few configurations. Only for RTP mode in any case,
16216 # and upon explicit request at configure time.
16219 case ${with_multisubdir}-${enable_shared} in
16226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16227 soname_spec
='${libname}${release}${shared_ext}$major'
16228 dynamic_linker
="$host_os module_loader"
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16237 $as_echo "$dynamic_linker" >&6; }
16238 test "$dynamic_linker" = no
&& can_build_shared
=no
16240 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16241 if test "$GCC" = yes; then
16242 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16245 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16246 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16248 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16249 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16290 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16291 hardcode_action_FC
=
16292 if test -n "$hardcode_libdir_flag_spec_FC" ||
16293 test -n "$runpath_var_FC" ||
16294 test "X$hardcode_automatic_FC" = "Xyes" ; then
16296 # We can hardcode non-existent directories.
16297 if test "$hardcode_direct_FC" != no
&&
16298 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16299 # have to relink, otherwise we might link with an installed library
16300 # when we should be linking with a yet-to-be-installed one
16301 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16302 test "$hardcode_minus_L_FC" != no
; then
16303 # Linking always hardcodes the temporary library directory.
16304 hardcode_action_FC
=relink
16306 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16307 hardcode_action_FC
=immediate
16310 # We cannot hardcode anything, or else we can only hardcode existing
16312 hardcode_action_FC
=unsupported
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16315 $as_echo "$hardcode_action_FC" >&6; }
16317 if test "$hardcode_action_FC" = relink ||
16318 test "$inherit_rpath_FC" = yes; then
16319 # Fast installation is not supported
16320 enable_fast_install
=no
16321 elif test "$shlibpath_overrides_runpath" = yes ||
16322 test "$enable_shared" = no
; then
16323 # Fast installation is not necessary
16324 enable_fast_install
=needless
16333 fi # test -n "$compiler"
16337 fi # test "$_lt_disable_FC" != yes
16340 ac_cpp
='$CPP $CPPFLAGS'
16341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16347 # extra LD Flags which are required for targets
16348 extra_ldflags_libgfortran
=
16351 # Earlier Darwin needs -single_module when linking libgfortran
16352 extra_ldflags_libgfortran
=-Wl,-single_module
16357 # We need a working compiler at that point, otherwise give a clear
16358 # error message and bail out.
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16361 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16362 ac_ext
=${ac_fc_srcext-f}
16363 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16364 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16365 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16367 cat > conftest.
$ac_ext <<_ACEOF
16370 real, parameter :: bar = sin (12.34 / 2.5)
16373 if ac_fn_fc_try_compile
"$LINENO"; then :
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16375 $as_echo "yes" >&6; }
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16378 $as_echo "no" >&6; }
16379 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16384 ac_cpp
='$CPP $CPPFLAGS'
16385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16391 # Check whether --enable-largefile was given.
16392 if test "${enable_largefile+set}" = set; then :
16393 enableval
=$enable_largefile;
16396 if test "$enable_largefile" != no
; then
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16399 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16400 if ${ac_cv_sys_largefile_CC+:} false
; then :
16401 $as_echo_n "(cached) " >&6
16403 ac_cv_sys_largefile_CC
=no
16404 if test "$GCC" != yes; then
16407 # IRIX 6.2 and later do not support large files by default,
16408 # so use the C compiler's -n32 option if that helps.
16409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 #include <sys/types.h>
16412 /* Check that off_t can represent 2**63 - 1 correctly.
16413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16414 since some C++ compilers masquerading as C compilers
16415 incorrectly reject 9223372036854775807. */
16416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16418 && LARGE_OFF_T % 2147483647 == 1)
16428 if ac_fn_c_try_compile
"$LINENO"; then :
16431 rm -f core conftest.err conftest.
$ac_objext
16433 if ac_fn_c_try_compile
"$LINENO"; then :
16434 ac_cv_sys_largefile_CC
=' -n32'; break
16436 rm -f core conftest.err conftest.
$ac_objext
16440 rm -f conftest.
$ac_ext
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16444 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16445 if test "$ac_cv_sys_largefile_CC" != no
; then
16446 CC
=$CC$ac_cv_sys_largefile_CC
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16450 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16451 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16452 $as_echo_n "(cached) " >&6
16455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #include <sys/types.h>
16458 /* Check that off_t can represent 2**63 - 1 correctly.
16459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16460 since some C++ compilers masquerading as C compilers
16461 incorrectly reject 9223372036854775807. */
16462 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16464 && LARGE_OFF_T % 2147483647 == 1)
16474 if ac_fn_c_try_compile
"$LINENO"; then :
16475 ac_cv_sys_file_offset_bits
=no
; break
16477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16480 #define _FILE_OFFSET_BITS 64
16481 #include <sys/types.h>
16482 /* Check that off_t can represent 2**63 - 1 correctly.
16483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16484 since some C++ compilers masquerading as C compilers
16485 incorrectly reject 9223372036854775807. */
16486 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16488 && LARGE_OFF_T % 2147483647 == 1)
16498 if ac_fn_c_try_compile
"$LINENO"; then :
16499 ac_cv_sys_file_offset_bits
=64; break
16501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16502 ac_cv_sys_file_offset_bits
=unknown
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16507 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16508 case $ac_cv_sys_file_offset_bits in #(
16511 cat >>confdefs.h
<<_ACEOF
16512 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16517 if test $ac_cv_sys_file_offset_bits = unknown
; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16519 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16520 if ${ac_cv_sys_large_files+:} false
; then :
16521 $as_echo_n "(cached) " >&6
16524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16526 #include <sys/types.h>
16527 /* Check that off_t can represent 2**63 - 1 correctly.
16528 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16529 since some C++ compilers masquerading as C compilers
16530 incorrectly reject 9223372036854775807. */
16531 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16532 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16533 && LARGE_OFF_T % 2147483647 == 1)
16543 if ac_fn_c_try_compile
"$LINENO"; then :
16544 ac_cv_sys_large_files
=no
; break
16546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 #define _LARGE_FILES 1
16550 #include <sys/types.h>
16551 /* Check that off_t can represent 2**63 - 1 correctly.
16552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16553 since some C++ compilers masquerading as C compilers
16554 incorrectly reject 9223372036854775807. */
16555 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16557 && LARGE_OFF_T % 2147483647 == 1)
16567 if ac_fn_c_try_compile
"$LINENO"; then :
16568 ac_cv_sys_large_files
=1; break
16570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16571 ac_cv_sys_large_files
=unknown
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16576 $as_echo "$ac_cv_sys_large_files" >&6; }
16577 case $ac_cv_sys_large_files in #(
16580 cat >>confdefs.h
<<_ACEOF
16581 #define _LARGE_FILES $ac_cv_sys_large_files
16593 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16594 if test "x$ac_cv_type_off_t" = xyes
; then :
16598 cat >>confdefs.h
<<_ACEOF
16599 #define off_t long int
16605 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16606 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16608 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16611 for ac_type
in 'int' 'long int' 'long long int'; do
16612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16614 $ac_includes_default
16618 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16619 test_array [0] = 0;
16620 return test_array [0];
16626 if ac_fn_c_try_compile
"$LINENO"; then :
16628 cat >>confdefs.h
<<_ACEOF
16629 #define intptr_t $ac_type
16634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16635 test -z "$ac_type" && break
16641 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16642 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16644 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16647 for ac_type
in 'unsigned int' 'unsigned long int' \
16648 'unsigned long long int'; do
16649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 $ac_includes_default
16655 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16656 test_array [0] = 0;
16657 return test_array [0];
16663 if ac_fn_c_try_compile
"$LINENO"; then :
16665 cat >>confdefs.h
<<_ACEOF
16666 #define uintptr_t $ac_type
16671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 test -z "$ac_type" && break
16677 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16678 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16680 cat >>confdefs.h
<<_ACEOF
16681 #define HAVE_PTRDIFF_T 1
16688 # check header files (we assume C89 is available, so don't check for that)
16692 for ac_header
in $ac_header_list
16694 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16695 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16697 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16698 cat >>confdefs.h
<<_ACEOF
16699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16744 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16746 acx_cv_header_stdint
=stddef.h
16747 acx_cv_header_stdint_kind
="(already complete)"
16748 for i
in stdint.h
$inttype_headers; do
16749 unset ac_cv_type_uintptr_t
16750 unset ac_cv_type_uintmax_t
16751 unset ac_cv_type_int_least32_t
16752 unset ac_cv_type_int_fast32_t
16753 unset ac_cv_type_uint64_t
16754 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16755 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16758 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16759 acx_cv_header_stdint
=$i
16764 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16767 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16770 acx_cv_header_stdint_kind
="(mostly complete)"
16773 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16776 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16779 acx_cv_header_stdint_kind
="(mostly complete)"
16782 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16785 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16788 acx_cv_header_stdint_kind
="(mostly complete)"
16791 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16794 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16797 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16802 if test "$acx_cv_header_stdint" = stddef.h
; then
16803 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16804 for i
in stdint.h
$inttype_headers; do
16805 unset ac_cv_type_uintptr_t
16806 unset ac_cv_type_uint32_t
16807 unset ac_cv_type_uint64_t
16808 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16809 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16812 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16813 acx_cv_header_stdint
=$i
16818 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16821 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16825 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16828 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16835 if test "$acx_cv_header_stdint" = stddef.h
; then
16836 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16837 for i
in sys
/types.h
$inttype_headers; do
16838 unset ac_cv_type_u_int32_t
16839 unset ac_cv_type_u_int64_t
16840 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16841 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16844 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16845 acx_cv_header_stdint
=$i
16850 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16853 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16860 if test "$acx_cv_header_stdint" = stddef.h
; then
16861 acx_cv_header_stdint_kind
="(using manual detection)"
16864 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16865 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16866 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16867 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16868 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16870 # ----------------- Summarize what we found so far
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16873 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16875 case `$as_basename -- gstdint.h ||
16876 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16877 Xgstdint.h : 'X\(//\)$' \| \
16878 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16879 $as_echo X/gstdint.h |
16880 sed '/^.*\/\([^/][^/]*\)\/*$/{
16893 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16894 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16895 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16896 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16901 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16903 # ----------------- done included file, check C basic types --------
16905 # Lacking an uintptr_t? Test size of void *
16906 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16907 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16910 # This bug is HP SR number 8606223364.
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16912 $as_echo_n "checking size of void *... " >&6; }
16913 if ${ac_cv_sizeof_void_p+:} false
; then :
16914 $as_echo_n "(cached) " >&6
16916 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16919 if test "$ac_cv_type_void_p" = yes; then
16920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16922 as_fn_error
77 "cannot compute sizeof (void *)
16923 See \`config.log' for more details" "$LINENO" 5; }
16925 ac_cv_sizeof_void_p
=0
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16931 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16935 cat >>confdefs.h
<<_ACEOF
16936 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16942 # Lacking an uint64_t? Test size of long
16943 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16944 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16947 # This bug is HP SR number 8606223364.
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16949 $as_echo_n "checking size of long... " >&6; }
16950 if ${ac_cv_sizeof_long+:} false
; then :
16951 $as_echo_n "(cached) " >&6
16953 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16956 if test "$ac_cv_type_long" = yes; then
16957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959 as_fn_error
77 "cannot compute sizeof (long)
16960 See \`config.log' for more details" "$LINENO" 5; }
16962 ac_cv_sizeof_long
=0
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16968 $as_echo "$ac_cv_sizeof_long" >&6; }
16972 cat >>confdefs.h
<<_ACEOF
16973 #define SIZEOF_LONG $ac_cv_sizeof_long
16979 if test $acx_cv_header_stdint = stddef.h
; then
16980 # Lacking a good header? Test size of everything and deduce all types.
16981 # The cast to long int works around a bug in the HP C Compiler
16982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16984 # This bug is HP SR number 8606223364.
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16986 $as_echo_n "checking size of int... " >&6; }
16987 if ${ac_cv_sizeof_int+:} false
; then :
16988 $as_echo_n "(cached) " >&6
16990 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16993 if test "$ac_cv_type_int" = yes; then
16994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16996 as_fn_error
77 "cannot compute sizeof (int)
16997 See \`config.log' for more details" "$LINENO" 5; }
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17005 $as_echo "$ac_cv_sizeof_int" >&6; }
17009 cat >>confdefs.h
<<_ACEOF
17010 #define SIZEOF_INT $ac_cv_sizeof_int
17014 # The cast to long int works around a bug in the HP C Compiler
17015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17017 # This bug is HP SR number 8606223364.
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17019 $as_echo_n "checking size of short... " >&6; }
17020 if ${ac_cv_sizeof_short+:} false
; then :
17021 $as_echo_n "(cached) " >&6
17023 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
17026 if test "$ac_cv_type_short" = yes; then
17027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17029 as_fn_error
77 "cannot compute sizeof (short)
17030 See \`config.log' for more details" "$LINENO" 5; }
17032 ac_cv_sizeof_short
=0
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17038 $as_echo "$ac_cv_sizeof_short" >&6; }
17042 cat >>confdefs.h
<<_ACEOF
17043 #define SIZEOF_SHORT $ac_cv_sizeof_short
17047 # The cast to long int works around a bug in the HP C Compiler
17048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17049 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17050 # This bug is HP SR number 8606223364.
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17052 $as_echo_n "checking size of char... " >&6; }
17053 if ${ac_cv_sizeof_char+:} false
; then :
17054 $as_echo_n "(cached) " >&6
17056 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
17059 if test "$ac_cv_type_char" = yes; then
17060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17062 as_fn_error
77 "cannot compute sizeof (char)
17063 See \`config.log' for more details" "$LINENO" 5; }
17065 ac_cv_sizeof_char
=0
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17071 $as_echo "$ac_cv_sizeof_char" >&6; }
17075 cat >>confdefs.h
<<_ACEOF
17076 #define SIZEOF_CHAR $ac_cv_sizeof_char
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
17082 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
17083 case "$ac_cv_sizeof_char" in
17084 1) acx_cv_type_int8_t
=char
;;
17085 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
17088 $as_echo "$acx_cv_type_int8_t" >&6; }
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
17091 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
17092 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17093 2:*) acx_cv_type_int16_t
=int
;;
17094 *:2) acx_cv_type_int16_t
=short
;;
17095 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
17098 $as_echo "$acx_cv_type_int16_t" >&6; }
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
17101 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
17102 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17103 4:*) acx_cv_type_int32_t
=int
;;
17104 *:4) acx_cv_type_int32_t
=long
;;
17105 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17108 $as_echo "$acx_cv_type_int32_t" >&6; }
17111 # These tests are here to make the output prettier
17113 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17114 case "$ac_cv_sizeof_long" in
17115 8) acx_cv_type_int64_t
=long
;;
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17118 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17120 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17123 # Now we can use the above types
17125 if test "$ac_cv_type_uintptr_t" != yes; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17127 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17128 case $ac_cv_sizeof_void_p in
17129 2) acx_cv_type_intptr_t
=int16_t
;;
17130 4) acx_cv_type_intptr_t
=int32_t
;;
17131 8) acx_cv_type_intptr_t
=int64_t
;;
17132 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17135 $as_echo "$acx_cv_type_intptr_t" >&6; }
17138 # ----------------- done all checks, emit header -------------
17139 ac_config_commands
="$ac_config_commands gstdint.h"
17144 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17145 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
17147 cat >>confdefs.h
<<_ACEOF
17148 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17153 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17154 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17156 cat >>confdefs.h
<<_ACEOF
17157 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17162 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17163 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17165 cat >>confdefs.h
<<_ACEOF
17166 #define HAVE_STRUCT_STAT_ST_RDEV 1
17173 case "${host}--x${with_newlib}" in
17175 hardwire_newlib
=1;;
17177 hardwire_newlib
=1;;
17180 # Check for library functions.
17181 if test "${hardwire_newlib:-0}" -eq 1; then
17182 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17183 # may not work correctly, because the compiler may not be able to
17184 # link executables.
17186 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17189 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17192 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17195 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17198 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17201 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17204 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17207 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17210 # At some point, we should differentiate between architectures
17211 # like x86, which have long double versions, and alpha/powerpc/etc.,
17212 # which don't. For the time being, punt.
17213 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17215 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17222 for ac_func
in $ac_func_list
17224 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17225 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17226 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17227 cat >>confdefs.h
<<_ACEOF
17228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17349 # Check strerror_r, cannot be above as versions with two and three arguments exist
17351 ac_save_CFLAGS
="$CFLAGS"
17352 CFLAGS
="-Wimplicit-function-declaration -Werror"
17353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #define _GNU_SOURCE 1
17356 #include <string.h>
17357 #include <locale.h>
17361 char s[128]; strerror_r(5, s, 128);
17366 if ac_fn_c_try_compile
"$LINENO"; then :
17368 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17372 CFLAGS
="$ac_save_CFLAGS"
17374 ac_save_CFLAGS
="$CFLAGS"
17375 CFLAGS
="-Wimplicit-function-declaration -Werror"
17376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #define _GNU_SOURCE 1
17379 #include <string.h>
17380 #include <locale.h>
17384 char s[128]; strerror_r(5, s);
17389 if ac_fn_c_try_compile
"$LINENO"; then :
17391 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17395 CFLAGS
="$ac_save_CFLAGS"
17398 # Check for C99 (and other IEEE) math functions
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17400 $as_echo_n "checking for sin in -lm... " >&6; }
17401 if ${ac_cv_lib_m_sin+:} false
; then :
17402 $as_echo_n "(cached) " >&6
17404 ac_check_lib_save_LIBS
=$LIBS
17406 if test x
$gcc_no_link = xyes
; then
17407 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17412 /* Override any GCC internal prototype to avoid an error.
17413 Use char because int might match the return type of a GCC
17414 builtin and then its argument prototype would still apply. */
17427 if ac_fn_c_try_link
"$LINENO"; then :
17428 ac_cv_lib_m_sin
=yes
17432 rm -f core conftest.err conftest.
$ac_objext \
17433 conftest
$ac_exeext conftest.
$ac_ext
17434 LIBS
=$ac_check_lib_save_LIBS
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17437 $as_echo "$ac_cv_lib_m_sin" >&6; }
17438 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17439 cat >>confdefs.h
<<_ACEOF
17440 #define HAVE_LIBM 1
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17454 $as_echo_n "checking for acosf... " >&6; }
17455 if ${gcc_cv_math_func_acosf+:} false
; then :
17456 $as_echo_n "(cached) " >&6
17458 if test x
$gcc_no_link = xyes
; then
17459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 #ifdef HAVE_COMPLEX_H
17465 #include <complex.h>
17471 int (*ptr)() = (int (*)())acosf;
17480 if ac_fn_c_try_link
"$LINENO"; then :
17481 gcc_cv_math_func_acosf
=yes
17483 gcc_cv_math_func_acosf
=no
17485 rm -f core conftest.err conftest.
$ac_objext \
17486 conftest
$ac_exeext conftest.
$ac_ext
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17489 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17490 if test $gcc_cv_math_func_acosf = yes; then
17492 cat >>confdefs.h
<<_ACEOF
17493 #define HAVE_ACOSF 1
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17502 $as_echo_n "checking for acos... " >&6; }
17503 if ${gcc_cv_math_func_acos+:} false
; then :
17504 $as_echo_n "(cached) " >&6
17506 if test x
$gcc_no_link = xyes
; then
17507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17512 #ifdef HAVE_COMPLEX_H
17513 #include <complex.h>
17519 int (*ptr)() = (int (*)())acos;
17528 if ac_fn_c_try_link
"$LINENO"; then :
17529 gcc_cv_math_func_acos
=yes
17531 gcc_cv_math_func_acos
=no
17533 rm -f core conftest.err conftest.
$ac_objext \
17534 conftest
$ac_exeext conftest.
$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17537 $as_echo "$gcc_cv_math_func_acos" >&6; }
17538 if test $gcc_cv_math_func_acos = yes; then
17540 cat >>confdefs.h
<<_ACEOF
17541 #define HAVE_ACOS 1
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17550 $as_echo_n "checking for acosl... " >&6; }
17551 if ${gcc_cv_math_func_acosl+:} false
; then :
17552 $as_echo_n "(cached) " >&6
17554 if test x
$gcc_no_link = xyes
; then
17555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17560 #ifdef HAVE_COMPLEX_H
17561 #include <complex.h>
17567 int (*ptr)() = (int (*)())acosl;
17576 if ac_fn_c_try_link
"$LINENO"; then :
17577 gcc_cv_math_func_acosl
=yes
17579 gcc_cv_math_func_acosl
=no
17581 rm -f core conftest.err conftest.
$ac_objext \
17582 conftest
$ac_exeext conftest.
$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17585 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17586 if test $gcc_cv_math_func_acosl = yes; then
17588 cat >>confdefs.h
<<_ACEOF
17589 #define HAVE_ACOSL 1
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17598 $as_echo_n "checking for acoshf... " >&6; }
17599 if ${gcc_cv_math_func_acoshf+:} false
; then :
17600 $as_echo_n "(cached) " >&6
17602 if test x
$gcc_no_link = xyes
; then
17603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17608 #ifdef HAVE_COMPLEX_H
17609 #include <complex.h>
17615 int (*ptr)() = (int (*)())acoshf;
17624 if ac_fn_c_try_link
"$LINENO"; then :
17625 gcc_cv_math_func_acoshf
=yes
17627 gcc_cv_math_func_acoshf
=no
17629 rm -f core conftest.err conftest.
$ac_objext \
17630 conftest
$ac_exeext conftest.
$ac_ext
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17633 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17634 if test $gcc_cv_math_func_acoshf = yes; then
17636 cat >>confdefs.h
<<_ACEOF
17637 #define HAVE_ACOSHF 1
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17646 $as_echo_n "checking for acosh... " >&6; }
17647 if ${gcc_cv_math_func_acosh+:} false
; then :
17648 $as_echo_n "(cached) " >&6
17650 if test x
$gcc_no_link = xyes
; then
17651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17656 #ifdef HAVE_COMPLEX_H
17657 #include <complex.h>
17663 int (*ptr)() = (int (*)())acosh;
17672 if ac_fn_c_try_link
"$LINENO"; then :
17673 gcc_cv_math_func_acosh
=yes
17675 gcc_cv_math_func_acosh
=no
17677 rm -f core conftest.err conftest.
$ac_objext \
17678 conftest
$ac_exeext conftest.
$ac_ext
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17681 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17682 if test $gcc_cv_math_func_acosh = yes; then
17684 cat >>confdefs.h
<<_ACEOF
17685 #define HAVE_ACOSH 1
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17694 $as_echo_n "checking for acoshl... " >&6; }
17695 if ${gcc_cv_math_func_acoshl+:} false
; then :
17696 $as_echo_n "(cached) " >&6
17698 if test x
$gcc_no_link = xyes
; then
17699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17704 #ifdef HAVE_COMPLEX_H
17705 #include <complex.h>
17711 int (*ptr)() = (int (*)())acoshl;
17720 if ac_fn_c_try_link
"$LINENO"; then :
17721 gcc_cv_math_func_acoshl
=yes
17723 gcc_cv_math_func_acoshl
=no
17725 rm -f core conftest.err conftest.
$ac_objext \
17726 conftest
$ac_exeext conftest.
$ac_ext
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17729 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17730 if test $gcc_cv_math_func_acoshl = yes; then
17732 cat >>confdefs.h
<<_ACEOF
17733 #define HAVE_ACOSHL 1
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17742 $as_echo_n "checking for asinf... " >&6; }
17743 if ${gcc_cv_math_func_asinf+:} false
; then :
17744 $as_echo_n "(cached) " >&6
17746 if test x
$gcc_no_link = xyes
; then
17747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17752 #ifdef HAVE_COMPLEX_H
17753 #include <complex.h>
17759 int (*ptr)() = (int (*)())asinf;
17768 if ac_fn_c_try_link
"$LINENO"; then :
17769 gcc_cv_math_func_asinf
=yes
17771 gcc_cv_math_func_asinf
=no
17773 rm -f core conftest.err conftest.
$ac_objext \
17774 conftest
$ac_exeext conftest.
$ac_ext
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17777 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17778 if test $gcc_cv_math_func_asinf = yes; then
17780 cat >>confdefs.h
<<_ACEOF
17781 #define HAVE_ASINF 1
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17790 $as_echo_n "checking for asin... " >&6; }
17791 if ${gcc_cv_math_func_asin+:} false
; then :
17792 $as_echo_n "(cached) " >&6
17794 if test x
$gcc_no_link = xyes
; then
17795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17800 #ifdef HAVE_COMPLEX_H
17801 #include <complex.h>
17807 int (*ptr)() = (int (*)())asin;
17816 if ac_fn_c_try_link
"$LINENO"; then :
17817 gcc_cv_math_func_asin
=yes
17819 gcc_cv_math_func_asin
=no
17821 rm -f core conftest.err conftest.
$ac_objext \
17822 conftest
$ac_exeext conftest.
$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17825 $as_echo "$gcc_cv_math_func_asin" >&6; }
17826 if test $gcc_cv_math_func_asin = yes; then
17828 cat >>confdefs.h
<<_ACEOF
17829 #define HAVE_ASIN 1
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17838 $as_echo_n "checking for asinl... " >&6; }
17839 if ${gcc_cv_math_func_asinl+:} false
; then :
17840 $as_echo_n "(cached) " >&6
17842 if test x
$gcc_no_link = xyes
; then
17843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17848 #ifdef HAVE_COMPLEX_H
17849 #include <complex.h>
17855 int (*ptr)() = (int (*)())asinl;
17864 if ac_fn_c_try_link
"$LINENO"; then :
17865 gcc_cv_math_func_asinl
=yes
17867 gcc_cv_math_func_asinl
=no
17869 rm -f core conftest.err conftest.
$ac_objext \
17870 conftest
$ac_exeext conftest.
$ac_ext
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17873 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17874 if test $gcc_cv_math_func_asinl = yes; then
17876 cat >>confdefs.h
<<_ACEOF
17877 #define HAVE_ASINL 1
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17886 $as_echo_n "checking for asinhf... " >&6; }
17887 if ${gcc_cv_math_func_asinhf+:} false
; then :
17888 $as_echo_n "(cached) " >&6
17890 if test x
$gcc_no_link = xyes
; then
17891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17896 #ifdef HAVE_COMPLEX_H
17897 #include <complex.h>
17903 int (*ptr)() = (int (*)())asinhf;
17912 if ac_fn_c_try_link
"$LINENO"; then :
17913 gcc_cv_math_func_asinhf
=yes
17915 gcc_cv_math_func_asinhf
=no
17917 rm -f core conftest.err conftest.
$ac_objext \
17918 conftest
$ac_exeext conftest.
$ac_ext
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17921 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17922 if test $gcc_cv_math_func_asinhf = yes; then
17924 cat >>confdefs.h
<<_ACEOF
17925 #define HAVE_ASINHF 1
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17934 $as_echo_n "checking for asinh... " >&6; }
17935 if ${gcc_cv_math_func_asinh+:} false
; then :
17936 $as_echo_n "(cached) " >&6
17938 if test x
$gcc_no_link = xyes
; then
17939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17944 #ifdef HAVE_COMPLEX_H
17945 #include <complex.h>
17951 int (*ptr)() = (int (*)())asinh;
17960 if ac_fn_c_try_link
"$LINENO"; then :
17961 gcc_cv_math_func_asinh
=yes
17963 gcc_cv_math_func_asinh
=no
17965 rm -f core conftest.err conftest.
$ac_objext \
17966 conftest
$ac_exeext conftest.
$ac_ext
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17969 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17970 if test $gcc_cv_math_func_asinh = yes; then
17972 cat >>confdefs.h
<<_ACEOF
17973 #define HAVE_ASINH 1
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17982 $as_echo_n "checking for asinhl... " >&6; }
17983 if ${gcc_cv_math_func_asinhl+:} false
; then :
17984 $as_echo_n "(cached) " >&6
17986 if test x
$gcc_no_link = xyes
; then
17987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 #ifdef HAVE_COMPLEX_H
17993 #include <complex.h>
17999 int (*ptr)() = (int (*)())asinhl;
18008 if ac_fn_c_try_link
"$LINENO"; then :
18009 gcc_cv_math_func_asinhl
=yes
18011 gcc_cv_math_func_asinhl
=no
18013 rm -f core conftest.err conftest.
$ac_objext \
18014 conftest
$ac_exeext conftest.
$ac_ext
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
18017 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
18018 if test $gcc_cv_math_func_asinhl = yes; then
18020 cat >>confdefs.h
<<_ACEOF
18021 #define HAVE_ASINHL 1
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
18030 $as_echo_n "checking for atan2f... " >&6; }
18031 if ${gcc_cv_math_func_atan2f+:} false
; then :
18032 $as_echo_n "(cached) " >&6
18034 if test x
$gcc_no_link = xyes
; then
18035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18040 #ifdef HAVE_COMPLEX_H
18041 #include <complex.h>
18047 int (*ptr)() = (int (*)())atan2f;
18056 if ac_fn_c_try_link
"$LINENO"; then :
18057 gcc_cv_math_func_atan2f
=yes
18059 gcc_cv_math_func_atan2f
=no
18061 rm -f core conftest.err conftest.
$ac_objext \
18062 conftest
$ac_exeext conftest.
$ac_ext
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
18065 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
18066 if test $gcc_cv_math_func_atan2f = yes; then
18068 cat >>confdefs.h
<<_ACEOF
18069 #define HAVE_ATAN2F 1
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
18078 $as_echo_n "checking for atan2... " >&6; }
18079 if ${gcc_cv_math_func_atan2+:} false
; then :
18080 $as_echo_n "(cached) " >&6
18082 if test x
$gcc_no_link = xyes
; then
18083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 #ifdef HAVE_COMPLEX_H
18089 #include <complex.h>
18095 int (*ptr)() = (int (*)())atan2;
18104 if ac_fn_c_try_link
"$LINENO"; then :
18105 gcc_cv_math_func_atan2
=yes
18107 gcc_cv_math_func_atan2
=no
18109 rm -f core conftest.err conftest.
$ac_objext \
18110 conftest
$ac_exeext conftest.
$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18113 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18114 if test $gcc_cv_math_func_atan2 = yes; then
18116 cat >>confdefs.h
<<_ACEOF
18117 #define HAVE_ATAN2 1
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18126 $as_echo_n "checking for atan2l... " >&6; }
18127 if ${gcc_cv_math_func_atan2l+:} false
; then :
18128 $as_echo_n "(cached) " >&6
18130 if test x
$gcc_no_link = xyes
; then
18131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 #ifdef HAVE_COMPLEX_H
18137 #include <complex.h>
18143 int (*ptr)() = (int (*)())atan2l;
18152 if ac_fn_c_try_link
"$LINENO"; then :
18153 gcc_cv_math_func_atan2l
=yes
18155 gcc_cv_math_func_atan2l
=no
18157 rm -f core conftest.err conftest.
$ac_objext \
18158 conftest
$ac_exeext conftest.
$ac_ext
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18161 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18162 if test $gcc_cv_math_func_atan2l = yes; then
18164 cat >>confdefs.h
<<_ACEOF
18165 #define HAVE_ATAN2L 1
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18174 $as_echo_n "checking for atanf... " >&6; }
18175 if ${gcc_cv_math_func_atanf+:} false
; then :
18176 $as_echo_n "(cached) " >&6
18178 if test x
$gcc_no_link = xyes
; then
18179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18184 #ifdef HAVE_COMPLEX_H
18185 #include <complex.h>
18191 int (*ptr)() = (int (*)())atanf;
18200 if ac_fn_c_try_link
"$LINENO"; then :
18201 gcc_cv_math_func_atanf
=yes
18203 gcc_cv_math_func_atanf
=no
18205 rm -f core conftest.err conftest.
$ac_objext \
18206 conftest
$ac_exeext conftest.
$ac_ext
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18209 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18210 if test $gcc_cv_math_func_atanf = yes; then
18212 cat >>confdefs.h
<<_ACEOF
18213 #define HAVE_ATANF 1
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18222 $as_echo_n "checking for atan... " >&6; }
18223 if ${gcc_cv_math_func_atan+:} false
; then :
18224 $as_echo_n "(cached) " >&6
18226 if test x
$gcc_no_link = xyes
; then
18227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18232 #ifdef HAVE_COMPLEX_H
18233 #include <complex.h>
18239 int (*ptr)() = (int (*)())atan;
18248 if ac_fn_c_try_link
"$LINENO"; then :
18249 gcc_cv_math_func_atan
=yes
18251 gcc_cv_math_func_atan
=no
18253 rm -f core conftest.err conftest.
$ac_objext \
18254 conftest
$ac_exeext conftest.
$ac_ext
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18257 $as_echo "$gcc_cv_math_func_atan" >&6; }
18258 if test $gcc_cv_math_func_atan = yes; then
18260 cat >>confdefs.h
<<_ACEOF
18261 #define HAVE_ATAN 1
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18270 $as_echo_n "checking for atanl... " >&6; }
18271 if ${gcc_cv_math_func_atanl+:} false
; then :
18272 $as_echo_n "(cached) " >&6
18274 if test x
$gcc_no_link = xyes
; then
18275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18280 #ifdef HAVE_COMPLEX_H
18281 #include <complex.h>
18287 int (*ptr)() = (int (*)())atanl;
18296 if ac_fn_c_try_link
"$LINENO"; then :
18297 gcc_cv_math_func_atanl
=yes
18299 gcc_cv_math_func_atanl
=no
18301 rm -f core conftest.err conftest.
$ac_objext \
18302 conftest
$ac_exeext conftest.
$ac_ext
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18305 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18306 if test $gcc_cv_math_func_atanl = yes; then
18308 cat >>confdefs.h
<<_ACEOF
18309 #define HAVE_ATANL 1
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18318 $as_echo_n "checking for atanhf... " >&6; }
18319 if ${gcc_cv_math_func_atanhf+:} false
; then :
18320 $as_echo_n "(cached) " >&6
18322 if test x
$gcc_no_link = xyes
; then
18323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 #ifdef HAVE_COMPLEX_H
18329 #include <complex.h>
18335 int (*ptr)() = (int (*)())atanhf;
18344 if ac_fn_c_try_link
"$LINENO"; then :
18345 gcc_cv_math_func_atanhf
=yes
18347 gcc_cv_math_func_atanhf
=no
18349 rm -f core conftest.err conftest.
$ac_objext \
18350 conftest
$ac_exeext conftest.
$ac_ext
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18353 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18354 if test $gcc_cv_math_func_atanhf = yes; then
18356 cat >>confdefs.h
<<_ACEOF
18357 #define HAVE_ATANHF 1
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18366 $as_echo_n "checking for atanh... " >&6; }
18367 if ${gcc_cv_math_func_atanh+:} false
; then :
18368 $as_echo_n "(cached) " >&6
18370 if test x
$gcc_no_link = xyes
; then
18371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18376 #ifdef HAVE_COMPLEX_H
18377 #include <complex.h>
18383 int (*ptr)() = (int (*)())atanh;
18392 if ac_fn_c_try_link
"$LINENO"; then :
18393 gcc_cv_math_func_atanh
=yes
18395 gcc_cv_math_func_atanh
=no
18397 rm -f core conftest.err conftest.
$ac_objext \
18398 conftest
$ac_exeext conftest.
$ac_ext
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18401 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18402 if test $gcc_cv_math_func_atanh = yes; then
18404 cat >>confdefs.h
<<_ACEOF
18405 #define HAVE_ATANH 1
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18414 $as_echo_n "checking for atanhl... " >&6; }
18415 if ${gcc_cv_math_func_atanhl+:} false
; then :
18416 $as_echo_n "(cached) " >&6
18418 if test x
$gcc_no_link = xyes
; then
18419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18424 #ifdef HAVE_COMPLEX_H
18425 #include <complex.h>
18431 int (*ptr)() = (int (*)())atanhl;
18440 if ac_fn_c_try_link
"$LINENO"; then :
18441 gcc_cv_math_func_atanhl
=yes
18443 gcc_cv_math_func_atanhl
=no
18445 rm -f core conftest.err conftest.
$ac_objext \
18446 conftest
$ac_exeext conftest.
$ac_ext
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18449 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18450 if test $gcc_cv_math_func_atanhl = yes; then
18452 cat >>confdefs.h
<<_ACEOF
18453 #define HAVE_ATANHL 1
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18462 $as_echo_n "checking for cargf... " >&6; }
18463 if ${gcc_cv_math_func_cargf+:} false
; then :
18464 $as_echo_n "(cached) " >&6
18466 if test x
$gcc_no_link = xyes
; then
18467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18472 #ifdef HAVE_COMPLEX_H
18473 #include <complex.h>
18479 int (*ptr)() = (int (*)())cargf;
18488 if ac_fn_c_try_link
"$LINENO"; then :
18489 gcc_cv_math_func_cargf
=yes
18491 gcc_cv_math_func_cargf
=no
18493 rm -f core conftest.err conftest.
$ac_objext \
18494 conftest
$ac_exeext conftest.
$ac_ext
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18497 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18498 if test $gcc_cv_math_func_cargf = yes; then
18500 cat >>confdefs.h
<<_ACEOF
18501 #define HAVE_CARGF 1
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18510 $as_echo_n "checking for carg... " >&6; }
18511 if ${gcc_cv_math_func_carg+:} false
; then :
18512 $as_echo_n "(cached) " >&6
18514 if test x
$gcc_no_link = xyes
; then
18515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18520 #ifdef HAVE_COMPLEX_H
18521 #include <complex.h>
18527 int (*ptr)() = (int (*)())carg;
18536 if ac_fn_c_try_link
"$LINENO"; then :
18537 gcc_cv_math_func_carg
=yes
18539 gcc_cv_math_func_carg
=no
18541 rm -f core conftest.err conftest.
$ac_objext \
18542 conftest
$ac_exeext conftest.
$ac_ext
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18545 $as_echo "$gcc_cv_math_func_carg" >&6; }
18546 if test $gcc_cv_math_func_carg = yes; then
18548 cat >>confdefs.h
<<_ACEOF
18549 #define HAVE_CARG 1
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18558 $as_echo_n "checking for cargl... " >&6; }
18559 if ${gcc_cv_math_func_cargl+:} false
; then :
18560 $as_echo_n "(cached) " >&6
18562 if test x
$gcc_no_link = xyes
; then
18563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 #ifdef HAVE_COMPLEX_H
18569 #include <complex.h>
18575 int (*ptr)() = (int (*)())cargl;
18584 if ac_fn_c_try_link
"$LINENO"; then :
18585 gcc_cv_math_func_cargl
=yes
18587 gcc_cv_math_func_cargl
=no
18589 rm -f core conftest.err conftest.
$ac_objext \
18590 conftest
$ac_exeext conftest.
$ac_ext
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18593 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18594 if test $gcc_cv_math_func_cargl = yes; then
18596 cat >>confdefs.h
<<_ACEOF
18597 #define HAVE_CARGL 1
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18606 $as_echo_n "checking for ceilf... " >&6; }
18607 if ${gcc_cv_math_func_ceilf+:} false
; then :
18608 $as_echo_n "(cached) " >&6
18610 if test x
$gcc_no_link = xyes
; then
18611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18616 #ifdef HAVE_COMPLEX_H
18617 #include <complex.h>
18623 int (*ptr)() = (int (*)())ceilf;
18632 if ac_fn_c_try_link
"$LINENO"; then :
18633 gcc_cv_math_func_ceilf
=yes
18635 gcc_cv_math_func_ceilf
=no
18637 rm -f core conftest.err conftest.
$ac_objext \
18638 conftest
$ac_exeext conftest.
$ac_ext
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18641 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18642 if test $gcc_cv_math_func_ceilf = yes; then
18644 cat >>confdefs.h
<<_ACEOF
18645 #define HAVE_CEILF 1
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18654 $as_echo_n "checking for ceil... " >&6; }
18655 if ${gcc_cv_math_func_ceil+:} false
; then :
18656 $as_echo_n "(cached) " >&6
18658 if test x
$gcc_no_link = xyes
; then
18659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 #ifdef HAVE_COMPLEX_H
18665 #include <complex.h>
18671 int (*ptr)() = (int (*)())ceil;
18680 if ac_fn_c_try_link
"$LINENO"; then :
18681 gcc_cv_math_func_ceil
=yes
18683 gcc_cv_math_func_ceil
=no
18685 rm -f core conftest.err conftest.
$ac_objext \
18686 conftest
$ac_exeext conftest.
$ac_ext
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18689 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18690 if test $gcc_cv_math_func_ceil = yes; then
18692 cat >>confdefs.h
<<_ACEOF
18693 #define HAVE_CEIL 1
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18702 $as_echo_n "checking for ceill... " >&6; }
18703 if ${gcc_cv_math_func_ceill+:} false
; then :
18704 $as_echo_n "(cached) " >&6
18706 if test x
$gcc_no_link = xyes
; then
18707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18712 #ifdef HAVE_COMPLEX_H
18713 #include <complex.h>
18719 int (*ptr)() = (int (*)())ceill;
18728 if ac_fn_c_try_link
"$LINENO"; then :
18729 gcc_cv_math_func_ceill
=yes
18731 gcc_cv_math_func_ceill
=no
18733 rm -f core conftest.err conftest.
$ac_objext \
18734 conftest
$ac_exeext conftest.
$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18737 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18738 if test $gcc_cv_math_func_ceill = yes; then
18740 cat >>confdefs.h
<<_ACEOF
18741 #define HAVE_CEILL 1
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18750 $as_echo_n "checking for copysignf... " >&6; }
18751 if ${gcc_cv_math_func_copysignf+:} false
; then :
18752 $as_echo_n "(cached) " >&6
18754 if test x
$gcc_no_link = xyes
; then
18755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18760 #ifdef HAVE_COMPLEX_H
18761 #include <complex.h>
18767 int (*ptr)() = (int (*)())copysignf;
18776 if ac_fn_c_try_link
"$LINENO"; then :
18777 gcc_cv_math_func_copysignf
=yes
18779 gcc_cv_math_func_copysignf
=no
18781 rm -f core conftest.err conftest.
$ac_objext \
18782 conftest
$ac_exeext conftest.
$ac_ext
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18785 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18786 if test $gcc_cv_math_func_copysignf = yes; then
18788 cat >>confdefs.h
<<_ACEOF
18789 #define HAVE_COPYSIGNF 1
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18798 $as_echo_n "checking for copysign... " >&6; }
18799 if ${gcc_cv_math_func_copysign+:} false
; then :
18800 $as_echo_n "(cached) " >&6
18802 if test x
$gcc_no_link = xyes
; then
18803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18808 #ifdef HAVE_COMPLEX_H
18809 #include <complex.h>
18815 int (*ptr)() = (int (*)())copysign;
18824 if ac_fn_c_try_link
"$LINENO"; then :
18825 gcc_cv_math_func_copysign
=yes
18827 gcc_cv_math_func_copysign
=no
18829 rm -f core conftest.err conftest.
$ac_objext \
18830 conftest
$ac_exeext conftest.
$ac_ext
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18833 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18834 if test $gcc_cv_math_func_copysign = yes; then
18836 cat >>confdefs.h
<<_ACEOF
18837 #define HAVE_COPYSIGN 1
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18846 $as_echo_n "checking for copysignl... " >&6; }
18847 if ${gcc_cv_math_func_copysignl+:} false
; then :
18848 $as_echo_n "(cached) " >&6
18850 if test x
$gcc_no_link = xyes
; then
18851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18856 #ifdef HAVE_COMPLEX_H
18857 #include <complex.h>
18863 int (*ptr)() = (int (*)())copysignl;
18872 if ac_fn_c_try_link
"$LINENO"; then :
18873 gcc_cv_math_func_copysignl
=yes
18875 gcc_cv_math_func_copysignl
=no
18877 rm -f core conftest.err conftest.
$ac_objext \
18878 conftest
$ac_exeext conftest.
$ac_ext
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18881 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18882 if test $gcc_cv_math_func_copysignl = yes; then
18884 cat >>confdefs.h
<<_ACEOF
18885 #define HAVE_COPYSIGNL 1
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18894 $as_echo_n "checking for cosf... " >&6; }
18895 if ${gcc_cv_math_func_cosf+:} false
; then :
18896 $as_echo_n "(cached) " >&6
18898 if test x
$gcc_no_link = xyes
; then
18899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18904 #ifdef HAVE_COMPLEX_H
18905 #include <complex.h>
18911 int (*ptr)() = (int (*)())cosf;
18920 if ac_fn_c_try_link
"$LINENO"; then :
18921 gcc_cv_math_func_cosf
=yes
18923 gcc_cv_math_func_cosf
=no
18925 rm -f core conftest.err conftest.
$ac_objext \
18926 conftest
$ac_exeext conftest.
$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18929 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18930 if test $gcc_cv_math_func_cosf = yes; then
18932 cat >>confdefs.h
<<_ACEOF
18933 #define HAVE_COSF 1
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18942 $as_echo_n "checking for cos... " >&6; }
18943 if ${gcc_cv_math_func_cos+:} false
; then :
18944 $as_echo_n "(cached) " >&6
18946 if test x
$gcc_no_link = xyes
; then
18947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18952 #ifdef HAVE_COMPLEX_H
18953 #include <complex.h>
18959 int (*ptr)() = (int (*)())cos;
18968 if ac_fn_c_try_link
"$LINENO"; then :
18969 gcc_cv_math_func_cos
=yes
18971 gcc_cv_math_func_cos
=no
18973 rm -f core conftest.err conftest.
$ac_objext \
18974 conftest
$ac_exeext conftest.
$ac_ext
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18977 $as_echo "$gcc_cv_math_func_cos" >&6; }
18978 if test $gcc_cv_math_func_cos = yes; then
18980 cat >>confdefs.h
<<_ACEOF
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18990 $as_echo_n "checking for cosl... " >&6; }
18991 if ${gcc_cv_math_func_cosl+:} false
; then :
18992 $as_echo_n "(cached) " >&6
18994 if test x
$gcc_no_link = xyes
; then
18995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
19000 #ifdef HAVE_COMPLEX_H
19001 #include <complex.h>
19007 int (*ptr)() = (int (*)())cosl;
19016 if ac_fn_c_try_link
"$LINENO"; then :
19017 gcc_cv_math_func_cosl
=yes
19019 gcc_cv_math_func_cosl
=no
19021 rm -f core conftest.err conftest.
$ac_objext \
19022 conftest
$ac_exeext conftest.
$ac_ext
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
19025 $as_echo "$gcc_cv_math_func_cosl" >&6; }
19026 if test $gcc_cv_math_func_cosl = yes; then
19028 cat >>confdefs.h
<<_ACEOF
19029 #define HAVE_COSL 1
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
19038 $as_echo_n "checking for ccosf... " >&6; }
19039 if ${gcc_cv_math_func_ccosf+:} false
; then :
19040 $as_echo_n "(cached) " >&6
19042 if test x
$gcc_no_link = xyes
; then
19043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19048 #ifdef HAVE_COMPLEX_H
19049 #include <complex.h>
19055 int (*ptr)() = (int (*)())ccosf;
19064 if ac_fn_c_try_link
"$LINENO"; then :
19065 gcc_cv_math_func_ccosf
=yes
19067 gcc_cv_math_func_ccosf
=no
19069 rm -f core conftest.err conftest.
$ac_objext \
19070 conftest
$ac_exeext conftest.
$ac_ext
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
19073 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
19074 if test $gcc_cv_math_func_ccosf = yes; then
19076 cat >>confdefs.h
<<_ACEOF
19077 #define HAVE_CCOSF 1
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
19086 $as_echo_n "checking for ccos... " >&6; }
19087 if ${gcc_cv_math_func_ccos+:} false
; then :
19088 $as_echo_n "(cached) " >&6
19090 if test x
$gcc_no_link = xyes
; then
19091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19096 #ifdef HAVE_COMPLEX_H
19097 #include <complex.h>
19103 int (*ptr)() = (int (*)())ccos;
19112 if ac_fn_c_try_link
"$LINENO"; then :
19113 gcc_cv_math_func_ccos
=yes
19115 gcc_cv_math_func_ccos
=no
19117 rm -f core conftest.err conftest.
$ac_objext \
19118 conftest
$ac_exeext conftest.
$ac_ext
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19121 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19122 if test $gcc_cv_math_func_ccos = yes; then
19124 cat >>confdefs.h
<<_ACEOF
19125 #define HAVE_CCOS 1
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19134 $as_echo_n "checking for ccosl... " >&6; }
19135 if ${gcc_cv_math_func_ccosl+:} false
; then :
19136 $as_echo_n "(cached) " >&6
19138 if test x
$gcc_no_link = xyes
; then
19139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19144 #ifdef HAVE_COMPLEX_H
19145 #include <complex.h>
19151 int (*ptr)() = (int (*)())ccosl;
19160 if ac_fn_c_try_link
"$LINENO"; then :
19161 gcc_cv_math_func_ccosl
=yes
19163 gcc_cv_math_func_ccosl
=no
19165 rm -f core conftest.err conftest.
$ac_objext \
19166 conftest
$ac_exeext conftest.
$ac_ext
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19169 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19170 if test $gcc_cv_math_func_ccosl = yes; then
19172 cat >>confdefs.h
<<_ACEOF
19173 #define HAVE_CCOSL 1
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19182 $as_echo_n "checking for coshf... " >&6; }
19183 if ${gcc_cv_math_func_coshf+:} false
; then :
19184 $as_echo_n "(cached) " >&6
19186 if test x
$gcc_no_link = xyes
; then
19187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19192 #ifdef HAVE_COMPLEX_H
19193 #include <complex.h>
19199 int (*ptr)() = (int (*)())coshf;
19208 if ac_fn_c_try_link
"$LINENO"; then :
19209 gcc_cv_math_func_coshf
=yes
19211 gcc_cv_math_func_coshf
=no
19213 rm -f core conftest.err conftest.
$ac_objext \
19214 conftest
$ac_exeext conftest.
$ac_ext
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19217 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19218 if test $gcc_cv_math_func_coshf = yes; then
19220 cat >>confdefs.h
<<_ACEOF
19221 #define HAVE_COSHF 1
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19230 $as_echo_n "checking for cosh... " >&6; }
19231 if ${gcc_cv_math_func_cosh+:} false
; then :
19232 $as_echo_n "(cached) " >&6
19234 if test x
$gcc_no_link = xyes
; then
19235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19240 #ifdef HAVE_COMPLEX_H
19241 #include <complex.h>
19247 int (*ptr)() = (int (*)())cosh;
19256 if ac_fn_c_try_link
"$LINENO"; then :
19257 gcc_cv_math_func_cosh
=yes
19259 gcc_cv_math_func_cosh
=no
19261 rm -f core conftest.err conftest.
$ac_objext \
19262 conftest
$ac_exeext conftest.
$ac_ext
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19265 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19266 if test $gcc_cv_math_func_cosh = yes; then
19268 cat >>confdefs.h
<<_ACEOF
19269 #define HAVE_COSH 1
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19278 $as_echo_n "checking for coshl... " >&6; }
19279 if ${gcc_cv_math_func_coshl+:} false
; then :
19280 $as_echo_n "(cached) " >&6
19282 if test x
$gcc_no_link = xyes
; then
19283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19288 #ifdef HAVE_COMPLEX_H
19289 #include <complex.h>
19295 int (*ptr)() = (int (*)())coshl;
19304 if ac_fn_c_try_link
"$LINENO"; then :
19305 gcc_cv_math_func_coshl
=yes
19307 gcc_cv_math_func_coshl
=no
19309 rm -f core conftest.err conftest.
$ac_objext \
19310 conftest
$ac_exeext conftest.
$ac_ext
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19313 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19314 if test $gcc_cv_math_func_coshl = yes; then
19316 cat >>confdefs.h
<<_ACEOF
19317 #define HAVE_COSHL 1
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19326 $as_echo_n "checking for ccoshf... " >&6; }
19327 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19328 $as_echo_n "(cached) " >&6
19330 if test x
$gcc_no_link = xyes
; then
19331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19336 #ifdef HAVE_COMPLEX_H
19337 #include <complex.h>
19343 int (*ptr)() = (int (*)())ccoshf;
19352 if ac_fn_c_try_link
"$LINENO"; then :
19353 gcc_cv_math_func_ccoshf
=yes
19355 gcc_cv_math_func_ccoshf
=no
19357 rm -f core conftest.err conftest.
$ac_objext \
19358 conftest
$ac_exeext conftest.
$ac_ext
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19361 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19362 if test $gcc_cv_math_func_ccoshf = yes; then
19364 cat >>confdefs.h
<<_ACEOF
19365 #define HAVE_CCOSHF 1
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19374 $as_echo_n "checking for ccosh... " >&6; }
19375 if ${gcc_cv_math_func_ccosh+:} false
; then :
19376 $as_echo_n "(cached) " >&6
19378 if test x
$gcc_no_link = xyes
; then
19379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 #ifdef HAVE_COMPLEX_H
19385 #include <complex.h>
19391 int (*ptr)() = (int (*)())ccosh;
19400 if ac_fn_c_try_link
"$LINENO"; then :
19401 gcc_cv_math_func_ccosh
=yes
19403 gcc_cv_math_func_ccosh
=no
19405 rm -f core conftest.err conftest.
$ac_objext \
19406 conftest
$ac_exeext conftest.
$ac_ext
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19409 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19410 if test $gcc_cv_math_func_ccosh = yes; then
19412 cat >>confdefs.h
<<_ACEOF
19413 #define HAVE_CCOSH 1
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19422 $as_echo_n "checking for ccoshl... " >&6; }
19423 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19424 $as_echo_n "(cached) " >&6
19426 if test x
$gcc_no_link = xyes
; then
19427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19432 #ifdef HAVE_COMPLEX_H
19433 #include <complex.h>
19439 int (*ptr)() = (int (*)())ccoshl;
19448 if ac_fn_c_try_link
"$LINENO"; then :
19449 gcc_cv_math_func_ccoshl
=yes
19451 gcc_cv_math_func_ccoshl
=no
19453 rm -f core conftest.err conftest.
$ac_objext \
19454 conftest
$ac_exeext conftest.
$ac_ext
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19457 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19458 if test $gcc_cv_math_func_ccoshl = yes; then
19460 cat >>confdefs.h
<<_ACEOF
19461 #define HAVE_CCOSHL 1
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19470 $as_echo_n "checking for expf... " >&6; }
19471 if ${gcc_cv_math_func_expf+:} false
; then :
19472 $as_echo_n "(cached) " >&6
19474 if test x
$gcc_no_link = xyes
; then
19475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19480 #ifdef HAVE_COMPLEX_H
19481 #include <complex.h>
19487 int (*ptr)() = (int (*)())expf;
19496 if ac_fn_c_try_link
"$LINENO"; then :
19497 gcc_cv_math_func_expf
=yes
19499 gcc_cv_math_func_expf
=no
19501 rm -f core conftest.err conftest.
$ac_objext \
19502 conftest
$ac_exeext conftest.
$ac_ext
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19505 $as_echo "$gcc_cv_math_func_expf" >&6; }
19506 if test $gcc_cv_math_func_expf = yes; then
19508 cat >>confdefs.h
<<_ACEOF
19509 #define HAVE_EXPF 1
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19518 $as_echo_n "checking for exp... " >&6; }
19519 if ${gcc_cv_math_func_exp+:} false
; then :
19520 $as_echo_n "(cached) " >&6
19522 if test x
$gcc_no_link = xyes
; then
19523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19528 #ifdef HAVE_COMPLEX_H
19529 #include <complex.h>
19535 int (*ptr)() = (int (*)())exp;
19544 if ac_fn_c_try_link
"$LINENO"; then :
19545 gcc_cv_math_func_exp
=yes
19547 gcc_cv_math_func_exp
=no
19549 rm -f core conftest.err conftest.
$ac_objext \
19550 conftest
$ac_exeext conftest.
$ac_ext
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19553 $as_echo "$gcc_cv_math_func_exp" >&6; }
19554 if test $gcc_cv_math_func_exp = yes; then
19556 cat >>confdefs.h
<<_ACEOF
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19566 $as_echo_n "checking for expl... " >&6; }
19567 if ${gcc_cv_math_func_expl+:} false
; then :
19568 $as_echo_n "(cached) " >&6
19570 if test x
$gcc_no_link = xyes
; then
19571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19576 #ifdef HAVE_COMPLEX_H
19577 #include <complex.h>
19583 int (*ptr)() = (int (*)())expl;
19592 if ac_fn_c_try_link
"$LINENO"; then :
19593 gcc_cv_math_func_expl
=yes
19595 gcc_cv_math_func_expl
=no
19597 rm -f core conftest.err conftest.
$ac_objext \
19598 conftest
$ac_exeext conftest.
$ac_ext
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19601 $as_echo "$gcc_cv_math_func_expl" >&6; }
19602 if test $gcc_cv_math_func_expl = yes; then
19604 cat >>confdefs.h
<<_ACEOF
19605 #define HAVE_EXPL 1
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19614 $as_echo_n "checking for cexpf... " >&6; }
19615 if ${gcc_cv_math_func_cexpf+:} false
; then :
19616 $as_echo_n "(cached) " >&6
19618 if test x
$gcc_no_link = xyes
; then
19619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19624 #ifdef HAVE_COMPLEX_H
19625 #include <complex.h>
19631 int (*ptr)() = (int (*)())cexpf;
19640 if ac_fn_c_try_link
"$LINENO"; then :
19641 gcc_cv_math_func_cexpf
=yes
19643 gcc_cv_math_func_cexpf
=no
19645 rm -f core conftest.err conftest.
$ac_objext \
19646 conftest
$ac_exeext conftest.
$ac_ext
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19649 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19650 if test $gcc_cv_math_func_cexpf = yes; then
19652 cat >>confdefs.h
<<_ACEOF
19653 #define HAVE_CEXPF 1
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19662 $as_echo_n "checking for cexp... " >&6; }
19663 if ${gcc_cv_math_func_cexp+:} false
; then :
19664 $as_echo_n "(cached) " >&6
19666 if test x
$gcc_no_link = xyes
; then
19667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 #ifdef HAVE_COMPLEX_H
19673 #include <complex.h>
19679 int (*ptr)() = (int (*)())cexp;
19688 if ac_fn_c_try_link
"$LINENO"; then :
19689 gcc_cv_math_func_cexp
=yes
19691 gcc_cv_math_func_cexp
=no
19693 rm -f core conftest.err conftest.
$ac_objext \
19694 conftest
$ac_exeext conftest.
$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19697 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19698 if test $gcc_cv_math_func_cexp = yes; then
19700 cat >>confdefs.h
<<_ACEOF
19701 #define HAVE_CEXP 1
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19710 $as_echo_n "checking for cexpl... " >&6; }
19711 if ${gcc_cv_math_func_cexpl+:} false
; then :
19712 $as_echo_n "(cached) " >&6
19714 if test x
$gcc_no_link = xyes
; then
19715 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19720 #ifdef HAVE_COMPLEX_H
19721 #include <complex.h>
19727 int (*ptr)() = (int (*)())cexpl;
19736 if ac_fn_c_try_link
"$LINENO"; then :
19737 gcc_cv_math_func_cexpl
=yes
19739 gcc_cv_math_func_cexpl
=no
19741 rm -f core conftest.err conftest.
$ac_objext \
19742 conftest
$ac_exeext conftest.
$ac_ext
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19745 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19746 if test $gcc_cv_math_func_cexpl = yes; then
19748 cat >>confdefs.h
<<_ACEOF
19749 #define HAVE_CEXPL 1
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19758 $as_echo_n "checking for fabsf... " >&6; }
19759 if ${gcc_cv_math_func_fabsf+:} false
; then :
19760 $as_echo_n "(cached) " >&6
19762 if test x
$gcc_no_link = xyes
; then
19763 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19768 #ifdef HAVE_COMPLEX_H
19769 #include <complex.h>
19775 int (*ptr)() = (int (*)())fabsf;
19784 if ac_fn_c_try_link
"$LINENO"; then :
19785 gcc_cv_math_func_fabsf
=yes
19787 gcc_cv_math_func_fabsf
=no
19789 rm -f core conftest.err conftest.
$ac_objext \
19790 conftest
$ac_exeext conftest.
$ac_ext
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19793 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19794 if test $gcc_cv_math_func_fabsf = yes; then
19796 cat >>confdefs.h
<<_ACEOF
19797 #define HAVE_FABSF 1
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19806 $as_echo_n "checking for fabs... " >&6; }
19807 if ${gcc_cv_math_func_fabs+:} false
; then :
19808 $as_echo_n "(cached) " >&6
19810 if test x
$gcc_no_link = xyes
; then
19811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19816 #ifdef HAVE_COMPLEX_H
19817 #include <complex.h>
19823 int (*ptr)() = (int (*)())fabs;
19832 if ac_fn_c_try_link
"$LINENO"; then :
19833 gcc_cv_math_func_fabs
=yes
19835 gcc_cv_math_func_fabs
=no
19837 rm -f core conftest.err conftest.
$ac_objext \
19838 conftest
$ac_exeext conftest.
$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19841 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19842 if test $gcc_cv_math_func_fabs = yes; then
19844 cat >>confdefs.h
<<_ACEOF
19845 #define HAVE_FABS 1
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19854 $as_echo_n "checking for fabsl... " >&6; }
19855 if ${gcc_cv_math_func_fabsl+:} false
; then :
19856 $as_echo_n "(cached) " >&6
19858 if test x
$gcc_no_link = xyes
; then
19859 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19864 #ifdef HAVE_COMPLEX_H
19865 #include <complex.h>
19871 int (*ptr)() = (int (*)())fabsl;
19880 if ac_fn_c_try_link
"$LINENO"; then :
19881 gcc_cv_math_func_fabsl
=yes
19883 gcc_cv_math_func_fabsl
=no
19885 rm -f core conftest.err conftest.
$ac_objext \
19886 conftest
$ac_exeext conftest.
$ac_ext
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19889 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19890 if test $gcc_cv_math_func_fabsl = yes; then
19892 cat >>confdefs.h
<<_ACEOF
19893 #define HAVE_FABSL 1
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19902 $as_echo_n "checking for cabsf... " >&6; }
19903 if ${gcc_cv_math_func_cabsf+:} false
; then :
19904 $as_echo_n "(cached) " >&6
19906 if test x
$gcc_no_link = xyes
; then
19907 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19912 #ifdef HAVE_COMPLEX_H
19913 #include <complex.h>
19919 int (*ptr)() = (int (*)())cabsf;
19928 if ac_fn_c_try_link
"$LINENO"; then :
19929 gcc_cv_math_func_cabsf
=yes
19931 gcc_cv_math_func_cabsf
=no
19933 rm -f core conftest.err conftest.
$ac_objext \
19934 conftest
$ac_exeext conftest.
$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19937 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19938 if test $gcc_cv_math_func_cabsf = yes; then
19940 cat >>confdefs.h
<<_ACEOF
19941 #define HAVE_CABSF 1
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19950 $as_echo_n "checking for cabs... " >&6; }
19951 if ${gcc_cv_math_func_cabs+:} false
; then :
19952 $as_echo_n "(cached) " >&6
19954 if test x
$gcc_no_link = xyes
; then
19955 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 #ifdef HAVE_COMPLEX_H
19961 #include <complex.h>
19967 int (*ptr)() = (int (*)())cabs;
19976 if ac_fn_c_try_link
"$LINENO"; then :
19977 gcc_cv_math_func_cabs
=yes
19979 gcc_cv_math_func_cabs
=no
19981 rm -f core conftest.err conftest.
$ac_objext \
19982 conftest
$ac_exeext conftest.
$ac_ext
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19985 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19986 if test $gcc_cv_math_func_cabs = yes; then
19988 cat >>confdefs.h
<<_ACEOF
19989 #define HAVE_CABS 1
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19998 $as_echo_n "checking for cabsl... " >&6; }
19999 if ${gcc_cv_math_func_cabsl+:} false
; then :
20000 $as_echo_n "(cached) " >&6
20002 if test x
$gcc_no_link = xyes
; then
20003 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20008 #ifdef HAVE_COMPLEX_H
20009 #include <complex.h>
20015 int (*ptr)() = (int (*)())cabsl;
20024 if ac_fn_c_try_link
"$LINENO"; then :
20025 gcc_cv_math_func_cabsl
=yes
20027 gcc_cv_math_func_cabsl
=no
20029 rm -f core conftest.err conftest.
$ac_objext \
20030 conftest
$ac_exeext conftest.
$ac_ext
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
20033 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
20034 if test $gcc_cv_math_func_cabsl = yes; then
20036 cat >>confdefs.h
<<_ACEOF
20037 #define HAVE_CABSL 1
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
20046 $as_echo_n "checking for floorf... " >&6; }
20047 if ${gcc_cv_math_func_floorf+:} false
; then :
20048 $as_echo_n "(cached) " >&6
20050 if test x
$gcc_no_link = xyes
; then
20051 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20056 #ifdef HAVE_COMPLEX_H
20057 #include <complex.h>
20063 int (*ptr)() = (int (*)())floorf;
20072 if ac_fn_c_try_link
"$LINENO"; then :
20073 gcc_cv_math_func_floorf
=yes
20075 gcc_cv_math_func_floorf
=no
20077 rm -f core conftest.err conftest.
$ac_objext \
20078 conftest
$ac_exeext conftest.
$ac_ext
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
20081 $as_echo "$gcc_cv_math_func_floorf" >&6; }
20082 if test $gcc_cv_math_func_floorf = yes; then
20084 cat >>confdefs.h
<<_ACEOF
20085 #define HAVE_FLOORF 1
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
20094 $as_echo_n "checking for floor... " >&6; }
20095 if ${gcc_cv_math_func_floor+:} false
; then :
20096 $as_echo_n "(cached) " >&6
20098 if test x
$gcc_no_link = xyes
; then
20099 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20104 #ifdef HAVE_COMPLEX_H
20105 #include <complex.h>
20111 int (*ptr)() = (int (*)())floor;
20120 if ac_fn_c_try_link
"$LINENO"; then :
20121 gcc_cv_math_func_floor
=yes
20123 gcc_cv_math_func_floor
=no
20125 rm -f core conftest.err conftest.
$ac_objext \
20126 conftest
$ac_exeext conftest.
$ac_ext
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20129 $as_echo "$gcc_cv_math_func_floor" >&6; }
20130 if test $gcc_cv_math_func_floor = yes; then
20132 cat >>confdefs.h
<<_ACEOF
20133 #define HAVE_FLOOR 1
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20142 $as_echo_n "checking for floorl... " >&6; }
20143 if ${gcc_cv_math_func_floorl+:} false
; then :
20144 $as_echo_n "(cached) " >&6
20146 if test x
$gcc_no_link = xyes
; then
20147 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20152 #ifdef HAVE_COMPLEX_H
20153 #include <complex.h>
20159 int (*ptr)() = (int (*)())floorl;
20168 if ac_fn_c_try_link
"$LINENO"; then :
20169 gcc_cv_math_func_floorl
=yes
20171 gcc_cv_math_func_floorl
=no
20173 rm -f core conftest.err conftest.
$ac_objext \
20174 conftest
$ac_exeext conftest.
$ac_ext
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20177 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20178 if test $gcc_cv_math_func_floorl = yes; then
20180 cat >>confdefs.h
<<_ACEOF
20181 #define HAVE_FLOORL 1
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20190 $as_echo_n "checking for fmaf... " >&6; }
20191 if ${gcc_cv_math_func_fmaf+:} false
; then :
20192 $as_echo_n "(cached) " >&6
20194 if test x
$gcc_no_link = xyes
; then
20195 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20200 #ifdef HAVE_COMPLEX_H
20201 #include <complex.h>
20207 int (*ptr)() = (int (*)())fmaf;
20216 if ac_fn_c_try_link
"$LINENO"; then :
20217 gcc_cv_math_func_fmaf
=yes
20219 gcc_cv_math_func_fmaf
=no
20221 rm -f core conftest.err conftest.
$ac_objext \
20222 conftest
$ac_exeext conftest.
$ac_ext
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20225 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20226 if test $gcc_cv_math_func_fmaf = yes; then
20228 cat >>confdefs.h
<<_ACEOF
20229 #define HAVE_FMAF 1
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20238 $as_echo_n "checking for fma... " >&6; }
20239 if ${gcc_cv_math_func_fma+:} false
; then :
20240 $as_echo_n "(cached) " >&6
20242 if test x
$gcc_no_link = xyes
; then
20243 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20248 #ifdef HAVE_COMPLEX_H
20249 #include <complex.h>
20255 int (*ptr)() = (int (*)())fma;
20264 if ac_fn_c_try_link
"$LINENO"; then :
20265 gcc_cv_math_func_fma
=yes
20267 gcc_cv_math_func_fma
=no
20269 rm -f core conftest.err conftest.
$ac_objext \
20270 conftest
$ac_exeext conftest.
$ac_ext
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20273 $as_echo "$gcc_cv_math_func_fma" >&6; }
20274 if test $gcc_cv_math_func_fma = yes; then
20276 cat >>confdefs.h
<<_ACEOF
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20286 $as_echo_n "checking for fmal... " >&6; }
20287 if ${gcc_cv_math_func_fmal+:} false
; then :
20288 $as_echo_n "(cached) " >&6
20290 if test x
$gcc_no_link = xyes
; then
20291 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20296 #ifdef HAVE_COMPLEX_H
20297 #include <complex.h>
20303 int (*ptr)() = (int (*)())fmal;
20312 if ac_fn_c_try_link
"$LINENO"; then :
20313 gcc_cv_math_func_fmal
=yes
20315 gcc_cv_math_func_fmal
=no
20317 rm -f core conftest.err conftest.
$ac_objext \
20318 conftest
$ac_exeext conftest.
$ac_ext
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20321 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20322 if test $gcc_cv_math_func_fmal = yes; then
20324 cat >>confdefs.h
<<_ACEOF
20325 #define HAVE_FMAL 1
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20334 $as_echo_n "checking for fmodf... " >&6; }
20335 if ${gcc_cv_math_func_fmodf+:} false
; then :
20336 $as_echo_n "(cached) " >&6
20338 if test x
$gcc_no_link = xyes
; then
20339 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20344 #ifdef HAVE_COMPLEX_H
20345 #include <complex.h>
20351 int (*ptr)() = (int (*)())fmodf;
20360 if ac_fn_c_try_link
"$LINENO"; then :
20361 gcc_cv_math_func_fmodf
=yes
20363 gcc_cv_math_func_fmodf
=no
20365 rm -f core conftest.err conftest.
$ac_objext \
20366 conftest
$ac_exeext conftest.
$ac_ext
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20369 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20370 if test $gcc_cv_math_func_fmodf = yes; then
20372 cat >>confdefs.h
<<_ACEOF
20373 #define HAVE_FMODF 1
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20382 $as_echo_n "checking for fmod... " >&6; }
20383 if ${gcc_cv_math_func_fmod+:} false
; then :
20384 $as_echo_n "(cached) " >&6
20386 if test x
$gcc_no_link = xyes
; then
20387 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20392 #ifdef HAVE_COMPLEX_H
20393 #include <complex.h>
20399 int (*ptr)() = (int (*)())fmod;
20408 if ac_fn_c_try_link
"$LINENO"; then :
20409 gcc_cv_math_func_fmod
=yes
20411 gcc_cv_math_func_fmod
=no
20413 rm -f core conftest.err conftest.
$ac_objext \
20414 conftest
$ac_exeext conftest.
$ac_ext
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20417 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20418 if test $gcc_cv_math_func_fmod = yes; then
20420 cat >>confdefs.h
<<_ACEOF
20421 #define HAVE_FMOD 1
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20430 $as_echo_n "checking for fmodl... " >&6; }
20431 if ${gcc_cv_math_func_fmodl+:} false
; then :
20432 $as_echo_n "(cached) " >&6
20434 if test x
$gcc_no_link = xyes
; then
20435 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20440 #ifdef HAVE_COMPLEX_H
20441 #include <complex.h>
20447 int (*ptr)() = (int (*)())fmodl;
20456 if ac_fn_c_try_link
"$LINENO"; then :
20457 gcc_cv_math_func_fmodl
=yes
20459 gcc_cv_math_func_fmodl
=no
20461 rm -f core conftest.err conftest.
$ac_objext \
20462 conftest
$ac_exeext conftest.
$ac_ext
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20465 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20466 if test $gcc_cv_math_func_fmodl = yes; then
20468 cat >>confdefs.h
<<_ACEOF
20469 #define HAVE_FMODL 1
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20478 $as_echo_n "checking for frexpf... " >&6; }
20479 if ${gcc_cv_math_func_frexpf+:} false
; then :
20480 $as_echo_n "(cached) " >&6
20482 if test x
$gcc_no_link = xyes
; then
20483 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20488 #ifdef HAVE_COMPLEX_H
20489 #include <complex.h>
20495 int (*ptr)() = (int (*)())frexpf;
20504 if ac_fn_c_try_link
"$LINENO"; then :
20505 gcc_cv_math_func_frexpf
=yes
20507 gcc_cv_math_func_frexpf
=no
20509 rm -f core conftest.err conftest.
$ac_objext \
20510 conftest
$ac_exeext conftest.
$ac_ext
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20513 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20514 if test $gcc_cv_math_func_frexpf = yes; then
20516 cat >>confdefs.h
<<_ACEOF
20517 #define HAVE_FREXPF 1
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20526 $as_echo_n "checking for frexp... " >&6; }
20527 if ${gcc_cv_math_func_frexp+:} false
; then :
20528 $as_echo_n "(cached) " >&6
20530 if test x
$gcc_no_link = xyes
; then
20531 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20536 #ifdef HAVE_COMPLEX_H
20537 #include <complex.h>
20543 int (*ptr)() = (int (*)())frexp;
20552 if ac_fn_c_try_link
"$LINENO"; then :
20553 gcc_cv_math_func_frexp
=yes
20555 gcc_cv_math_func_frexp
=no
20557 rm -f core conftest.err conftest.
$ac_objext \
20558 conftest
$ac_exeext conftest.
$ac_ext
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20561 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20562 if test $gcc_cv_math_func_frexp = yes; then
20564 cat >>confdefs.h
<<_ACEOF
20565 #define HAVE_FREXP 1
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20574 $as_echo_n "checking for frexpl... " >&6; }
20575 if ${gcc_cv_math_func_frexpl+:} false
; then :
20576 $as_echo_n "(cached) " >&6
20578 if test x
$gcc_no_link = xyes
; then
20579 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20582 /* end confdefs.h. */
20584 #ifdef HAVE_COMPLEX_H
20585 #include <complex.h>
20591 int (*ptr)() = (int (*)())frexpl;
20600 if ac_fn_c_try_link
"$LINENO"; then :
20601 gcc_cv_math_func_frexpl
=yes
20603 gcc_cv_math_func_frexpl
=no
20605 rm -f core conftest.err conftest.
$ac_objext \
20606 conftest
$ac_exeext conftest.
$ac_ext
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20609 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20610 if test $gcc_cv_math_func_frexpl = yes; then
20612 cat >>confdefs.h
<<_ACEOF
20613 #define HAVE_FREXPL 1
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20622 $as_echo_n "checking for hypotf... " >&6; }
20623 if ${gcc_cv_math_func_hypotf+:} false
; then :
20624 $as_echo_n "(cached) " >&6
20626 if test x
$gcc_no_link = xyes
; then
20627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20630 /* end confdefs.h. */
20632 #ifdef HAVE_COMPLEX_H
20633 #include <complex.h>
20639 int (*ptr)() = (int (*)())hypotf;
20648 if ac_fn_c_try_link
"$LINENO"; then :
20649 gcc_cv_math_func_hypotf
=yes
20651 gcc_cv_math_func_hypotf
=no
20653 rm -f core conftest.err conftest.
$ac_objext \
20654 conftest
$ac_exeext conftest.
$ac_ext
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20657 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20658 if test $gcc_cv_math_func_hypotf = yes; then
20660 cat >>confdefs.h
<<_ACEOF
20661 #define HAVE_HYPOTF 1
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20670 $as_echo_n "checking for hypot... " >&6; }
20671 if ${gcc_cv_math_func_hypot+:} false
; then :
20672 $as_echo_n "(cached) " >&6
20674 if test x
$gcc_no_link = xyes
; then
20675 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 #ifdef HAVE_COMPLEX_H
20681 #include <complex.h>
20687 int (*ptr)() = (int (*)())hypot;
20696 if ac_fn_c_try_link
"$LINENO"; then :
20697 gcc_cv_math_func_hypot
=yes
20699 gcc_cv_math_func_hypot
=no
20701 rm -f core conftest.err conftest.
$ac_objext \
20702 conftest
$ac_exeext conftest.
$ac_ext
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20705 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20706 if test $gcc_cv_math_func_hypot = yes; then
20708 cat >>confdefs.h
<<_ACEOF
20709 #define HAVE_HYPOT 1
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20718 $as_echo_n "checking for hypotl... " >&6; }
20719 if ${gcc_cv_math_func_hypotl+:} false
; then :
20720 $as_echo_n "(cached) " >&6
20722 if test x
$gcc_no_link = xyes
; then
20723 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20728 #ifdef HAVE_COMPLEX_H
20729 #include <complex.h>
20735 int (*ptr)() = (int (*)())hypotl;
20744 if ac_fn_c_try_link
"$LINENO"; then :
20745 gcc_cv_math_func_hypotl
=yes
20747 gcc_cv_math_func_hypotl
=no
20749 rm -f core conftest.err conftest.
$ac_objext \
20750 conftest
$ac_exeext conftest.
$ac_ext
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20753 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20754 if test $gcc_cv_math_func_hypotl = yes; then
20756 cat >>confdefs.h
<<_ACEOF
20757 #define HAVE_HYPOTL 1
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20766 $as_echo_n "checking for ldexpf... " >&6; }
20767 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20768 $as_echo_n "(cached) " >&6
20770 if test x
$gcc_no_link = xyes
; then
20771 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20776 #ifdef HAVE_COMPLEX_H
20777 #include <complex.h>
20783 int (*ptr)() = (int (*)())ldexpf;
20792 if ac_fn_c_try_link
"$LINENO"; then :
20793 gcc_cv_math_func_ldexpf
=yes
20795 gcc_cv_math_func_ldexpf
=no
20797 rm -f core conftest.err conftest.
$ac_objext \
20798 conftest
$ac_exeext conftest.
$ac_ext
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20801 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20802 if test $gcc_cv_math_func_ldexpf = yes; then
20804 cat >>confdefs.h
<<_ACEOF
20805 #define HAVE_LDEXPF 1
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20814 $as_echo_n "checking for ldexp... " >&6; }
20815 if ${gcc_cv_math_func_ldexp+:} false
; then :
20816 $as_echo_n "(cached) " >&6
20818 if test x
$gcc_no_link = xyes
; then
20819 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 #ifdef HAVE_COMPLEX_H
20825 #include <complex.h>
20831 int (*ptr)() = (int (*)())ldexp;
20840 if ac_fn_c_try_link
"$LINENO"; then :
20841 gcc_cv_math_func_ldexp
=yes
20843 gcc_cv_math_func_ldexp
=no
20845 rm -f core conftest.err conftest.
$ac_objext \
20846 conftest
$ac_exeext conftest.
$ac_ext
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20849 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20850 if test $gcc_cv_math_func_ldexp = yes; then
20852 cat >>confdefs.h
<<_ACEOF
20853 #define HAVE_LDEXP 1
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20862 $as_echo_n "checking for ldexpl... " >&6; }
20863 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20864 $as_echo_n "(cached) " >&6
20866 if test x
$gcc_no_link = xyes
; then
20867 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20870 /* end confdefs.h. */
20872 #ifdef HAVE_COMPLEX_H
20873 #include <complex.h>
20879 int (*ptr)() = (int (*)())ldexpl;
20888 if ac_fn_c_try_link
"$LINENO"; then :
20889 gcc_cv_math_func_ldexpl
=yes
20891 gcc_cv_math_func_ldexpl
=no
20893 rm -f core conftest.err conftest.
$ac_objext \
20894 conftest
$ac_exeext conftest.
$ac_ext
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20897 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20898 if test $gcc_cv_math_func_ldexpl = yes; then
20900 cat >>confdefs.h
<<_ACEOF
20901 #define HAVE_LDEXPL 1
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20910 $as_echo_n "checking for logf... " >&6; }
20911 if ${gcc_cv_math_func_logf+:} false
; then :
20912 $as_echo_n "(cached) " >&6
20914 if test x
$gcc_no_link = xyes
; then
20915 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20920 #ifdef HAVE_COMPLEX_H
20921 #include <complex.h>
20927 int (*ptr)() = (int (*)())logf;
20936 if ac_fn_c_try_link
"$LINENO"; then :
20937 gcc_cv_math_func_logf
=yes
20939 gcc_cv_math_func_logf
=no
20941 rm -f core conftest.err conftest.
$ac_objext \
20942 conftest
$ac_exeext conftest.
$ac_ext
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20945 $as_echo "$gcc_cv_math_func_logf" >&6; }
20946 if test $gcc_cv_math_func_logf = yes; then
20948 cat >>confdefs.h
<<_ACEOF
20949 #define HAVE_LOGF 1
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20958 $as_echo_n "checking for log... " >&6; }
20959 if ${gcc_cv_math_func_log+:} false
; then :
20960 $as_echo_n "(cached) " >&6
20962 if test x
$gcc_no_link = xyes
; then
20963 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20968 #ifdef HAVE_COMPLEX_H
20969 #include <complex.h>
20975 int (*ptr)() = (int (*)())log;
20984 if ac_fn_c_try_link
"$LINENO"; then :
20985 gcc_cv_math_func_log
=yes
20987 gcc_cv_math_func_log
=no
20989 rm -f core conftest.err conftest.
$ac_objext \
20990 conftest
$ac_exeext conftest.
$ac_ext
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20993 $as_echo "$gcc_cv_math_func_log" >&6; }
20994 if test $gcc_cv_math_func_log = yes; then
20996 cat >>confdefs.h
<<_ACEOF
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
21006 $as_echo_n "checking for logl... " >&6; }
21007 if ${gcc_cv_math_func_logl+:} false
; then :
21008 $as_echo_n "(cached) " >&6
21010 if test x
$gcc_no_link = xyes
; then
21011 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21016 #ifdef HAVE_COMPLEX_H
21017 #include <complex.h>
21023 int (*ptr)() = (int (*)())logl;
21032 if ac_fn_c_try_link
"$LINENO"; then :
21033 gcc_cv_math_func_logl
=yes
21035 gcc_cv_math_func_logl
=no
21037 rm -f core conftest.err conftest.
$ac_objext \
21038 conftest
$ac_exeext conftest.
$ac_ext
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
21041 $as_echo "$gcc_cv_math_func_logl" >&6; }
21042 if test $gcc_cv_math_func_logl = yes; then
21044 cat >>confdefs.h
<<_ACEOF
21045 #define HAVE_LOGL 1
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
21054 $as_echo_n "checking for clogf... " >&6; }
21055 if ${gcc_cv_math_func_clogf+:} false
; then :
21056 $as_echo_n "(cached) " >&6
21058 if test x
$gcc_no_link = xyes
; then
21059 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21062 /* end confdefs.h. */
21064 #ifdef HAVE_COMPLEX_H
21065 #include <complex.h>
21071 int (*ptr)() = (int (*)())clogf;
21080 if ac_fn_c_try_link
"$LINENO"; then :
21081 gcc_cv_math_func_clogf
=yes
21083 gcc_cv_math_func_clogf
=no
21085 rm -f core conftest.err conftest.
$ac_objext \
21086 conftest
$ac_exeext conftest.
$ac_ext
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
21089 $as_echo "$gcc_cv_math_func_clogf" >&6; }
21090 if test $gcc_cv_math_func_clogf = yes; then
21092 cat >>confdefs.h
<<_ACEOF
21093 #define HAVE_CLOGF 1
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
21102 $as_echo_n "checking for clog... " >&6; }
21103 if ${gcc_cv_math_func_clog+:} false
; then :
21104 $as_echo_n "(cached) " >&6
21106 if test x
$gcc_no_link = xyes
; then
21107 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21112 #ifdef HAVE_COMPLEX_H
21113 #include <complex.h>
21119 int (*ptr)() = (int (*)())clog;
21128 if ac_fn_c_try_link
"$LINENO"; then :
21129 gcc_cv_math_func_clog
=yes
21131 gcc_cv_math_func_clog
=no
21133 rm -f core conftest.err conftest.
$ac_objext \
21134 conftest
$ac_exeext conftest.
$ac_ext
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21137 $as_echo "$gcc_cv_math_func_clog" >&6; }
21138 if test $gcc_cv_math_func_clog = yes; then
21140 cat >>confdefs.h
<<_ACEOF
21141 #define HAVE_CLOG 1
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21150 $as_echo_n "checking for clogl... " >&6; }
21151 if ${gcc_cv_math_func_clogl+:} false
; then :
21152 $as_echo_n "(cached) " >&6
21154 if test x
$gcc_no_link = xyes
; then
21155 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21160 #ifdef HAVE_COMPLEX_H
21161 #include <complex.h>
21167 int (*ptr)() = (int (*)())clogl;
21176 if ac_fn_c_try_link
"$LINENO"; then :
21177 gcc_cv_math_func_clogl
=yes
21179 gcc_cv_math_func_clogl
=no
21181 rm -f core conftest.err conftest.
$ac_objext \
21182 conftest
$ac_exeext conftest.
$ac_ext
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21185 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21186 if test $gcc_cv_math_func_clogl = yes; then
21188 cat >>confdefs.h
<<_ACEOF
21189 #define HAVE_CLOGL 1
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21198 $as_echo_n "checking for log10f... " >&6; }
21199 if ${gcc_cv_math_func_log10f+:} false
; then :
21200 $as_echo_n "(cached) " >&6
21202 if test x
$gcc_no_link = xyes
; then
21203 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21206 /* end confdefs.h. */
21208 #ifdef HAVE_COMPLEX_H
21209 #include <complex.h>
21215 int (*ptr)() = (int (*)())log10f;
21224 if ac_fn_c_try_link
"$LINENO"; then :
21225 gcc_cv_math_func_log10f
=yes
21227 gcc_cv_math_func_log10f
=no
21229 rm -f core conftest.err conftest.
$ac_objext \
21230 conftest
$ac_exeext conftest.
$ac_ext
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21233 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21234 if test $gcc_cv_math_func_log10f = yes; then
21236 cat >>confdefs.h
<<_ACEOF
21237 #define HAVE_LOG10F 1
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21246 $as_echo_n "checking for log10... " >&6; }
21247 if ${gcc_cv_math_func_log10+:} false
; then :
21248 $as_echo_n "(cached) " >&6
21250 if test x
$gcc_no_link = xyes
; then
21251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21254 /* end confdefs.h. */
21256 #ifdef HAVE_COMPLEX_H
21257 #include <complex.h>
21263 int (*ptr)() = (int (*)())log10;
21272 if ac_fn_c_try_link
"$LINENO"; then :
21273 gcc_cv_math_func_log10
=yes
21275 gcc_cv_math_func_log10
=no
21277 rm -f core conftest.err conftest.
$ac_objext \
21278 conftest
$ac_exeext conftest.
$ac_ext
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21281 $as_echo "$gcc_cv_math_func_log10" >&6; }
21282 if test $gcc_cv_math_func_log10 = yes; then
21284 cat >>confdefs.h
<<_ACEOF
21285 #define HAVE_LOG10 1
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21294 $as_echo_n "checking for log10l... " >&6; }
21295 if ${gcc_cv_math_func_log10l+:} false
; then :
21296 $as_echo_n "(cached) " >&6
21298 if test x
$gcc_no_link = xyes
; then
21299 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21304 #ifdef HAVE_COMPLEX_H
21305 #include <complex.h>
21311 int (*ptr)() = (int (*)())log10l;
21320 if ac_fn_c_try_link
"$LINENO"; then :
21321 gcc_cv_math_func_log10l
=yes
21323 gcc_cv_math_func_log10l
=no
21325 rm -f core conftest.err conftest.
$ac_objext \
21326 conftest
$ac_exeext conftest.
$ac_ext
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21329 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21330 if test $gcc_cv_math_func_log10l = yes; then
21332 cat >>confdefs.h
<<_ACEOF
21333 #define HAVE_LOG10L 1
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21342 $as_echo_n "checking for clog10f... " >&6; }
21343 if ${gcc_cv_math_func_clog10f+:} false
; then :
21344 $as_echo_n "(cached) " >&6
21346 if test x
$gcc_no_link = xyes
; then
21347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21352 #ifdef HAVE_COMPLEX_H
21353 #include <complex.h>
21359 int (*ptr)() = (int (*)())clog10f;
21368 if ac_fn_c_try_link
"$LINENO"; then :
21369 gcc_cv_math_func_clog10f
=yes
21371 gcc_cv_math_func_clog10f
=no
21373 rm -f core conftest.err conftest.
$ac_objext \
21374 conftest
$ac_exeext conftest.
$ac_ext
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21377 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21378 if test $gcc_cv_math_func_clog10f = yes; then
21380 cat >>confdefs.h
<<_ACEOF
21381 #define HAVE_CLOG10F 1
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21390 $as_echo_n "checking for clog10... " >&6; }
21391 if ${gcc_cv_math_func_clog10+:} false
; then :
21392 $as_echo_n "(cached) " >&6
21394 if test x
$gcc_no_link = xyes
; then
21395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21400 #ifdef HAVE_COMPLEX_H
21401 #include <complex.h>
21407 int (*ptr)() = (int (*)())clog10;
21416 if ac_fn_c_try_link
"$LINENO"; then :
21417 gcc_cv_math_func_clog10
=yes
21419 gcc_cv_math_func_clog10
=no
21421 rm -f core conftest.err conftest.
$ac_objext \
21422 conftest
$ac_exeext conftest.
$ac_ext
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21425 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21426 if test $gcc_cv_math_func_clog10 = yes; then
21428 cat >>confdefs.h
<<_ACEOF
21429 #define HAVE_CLOG10 1
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21438 $as_echo_n "checking for clog10l... " >&6; }
21439 if ${gcc_cv_math_func_clog10l+:} false
; then :
21440 $as_echo_n "(cached) " >&6
21442 if test x
$gcc_no_link = xyes
; then
21443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21448 #ifdef HAVE_COMPLEX_H
21449 #include <complex.h>
21455 int (*ptr)() = (int (*)())clog10l;
21464 if ac_fn_c_try_link
"$LINENO"; then :
21465 gcc_cv_math_func_clog10l
=yes
21467 gcc_cv_math_func_clog10l
=no
21469 rm -f core conftest.err conftest.
$ac_objext \
21470 conftest
$ac_exeext conftest.
$ac_ext
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21473 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21474 if test $gcc_cv_math_func_clog10l = yes; then
21476 cat >>confdefs.h
<<_ACEOF
21477 #define HAVE_CLOG10L 1
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21486 $as_echo_n "checking for nextafterf... " >&6; }
21487 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21488 $as_echo_n "(cached) " >&6
21490 if test x
$gcc_no_link = xyes
; then
21491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h. */
21496 #ifdef HAVE_COMPLEX_H
21497 #include <complex.h>
21503 int (*ptr)() = (int (*)())nextafterf;
21512 if ac_fn_c_try_link
"$LINENO"; then :
21513 gcc_cv_math_func_nextafterf
=yes
21515 gcc_cv_math_func_nextafterf
=no
21517 rm -f core conftest.err conftest.
$ac_objext \
21518 conftest
$ac_exeext conftest.
$ac_ext
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21521 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21522 if test $gcc_cv_math_func_nextafterf = yes; then
21524 cat >>confdefs.h
<<_ACEOF
21525 #define HAVE_NEXTAFTERF 1
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21534 $as_echo_n "checking for nextafter... " >&6; }
21535 if ${gcc_cv_math_func_nextafter+:} false
; then :
21536 $as_echo_n "(cached) " >&6
21538 if test x
$gcc_no_link = xyes
; then
21539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 #ifdef HAVE_COMPLEX_H
21545 #include <complex.h>
21551 int (*ptr)() = (int (*)())nextafter;
21560 if ac_fn_c_try_link
"$LINENO"; then :
21561 gcc_cv_math_func_nextafter
=yes
21563 gcc_cv_math_func_nextafter
=no
21565 rm -f core conftest.err conftest.
$ac_objext \
21566 conftest
$ac_exeext conftest.
$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21569 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21570 if test $gcc_cv_math_func_nextafter = yes; then
21572 cat >>confdefs.h
<<_ACEOF
21573 #define HAVE_NEXTAFTER 1
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21582 $as_echo_n "checking for nextafterl... " >&6; }
21583 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21584 $as_echo_n "(cached) " >&6
21586 if test x
$gcc_no_link = xyes
; then
21587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21592 #ifdef HAVE_COMPLEX_H
21593 #include <complex.h>
21599 int (*ptr)() = (int (*)())nextafterl;
21608 if ac_fn_c_try_link
"$LINENO"; then :
21609 gcc_cv_math_func_nextafterl
=yes
21611 gcc_cv_math_func_nextafterl
=no
21613 rm -f core conftest.err conftest.
$ac_objext \
21614 conftest
$ac_exeext conftest.
$ac_ext
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21617 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21618 if test $gcc_cv_math_func_nextafterl = yes; then
21620 cat >>confdefs.h
<<_ACEOF
21621 #define HAVE_NEXTAFTERL 1
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21630 $as_echo_n "checking for powf... " >&6; }
21631 if ${gcc_cv_math_func_powf+:} false
; then :
21632 $as_echo_n "(cached) " >&6
21634 if test x
$gcc_no_link = xyes
; then
21635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21640 #ifdef HAVE_COMPLEX_H
21641 #include <complex.h>
21647 int (*ptr)() = (int (*)())powf;
21656 if ac_fn_c_try_link
"$LINENO"; then :
21657 gcc_cv_math_func_powf
=yes
21659 gcc_cv_math_func_powf
=no
21661 rm -f core conftest.err conftest.
$ac_objext \
21662 conftest
$ac_exeext conftest.
$ac_ext
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21665 $as_echo "$gcc_cv_math_func_powf" >&6; }
21666 if test $gcc_cv_math_func_powf = yes; then
21668 cat >>confdefs.h
<<_ACEOF
21669 #define HAVE_POWF 1
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21678 $as_echo_n "checking for pow... " >&6; }
21679 if ${gcc_cv_math_func_pow+:} false
; then :
21680 $as_echo_n "(cached) " >&6
21682 if test x
$gcc_no_link = xyes
; then
21683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21688 #ifdef HAVE_COMPLEX_H
21689 #include <complex.h>
21695 int (*ptr)() = (int (*)())pow;
21704 if ac_fn_c_try_link
"$LINENO"; then :
21705 gcc_cv_math_func_pow
=yes
21707 gcc_cv_math_func_pow
=no
21709 rm -f core conftest.err conftest.
$ac_objext \
21710 conftest
$ac_exeext conftest.
$ac_ext
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21713 $as_echo "$gcc_cv_math_func_pow" >&6; }
21714 if test $gcc_cv_math_func_pow = yes; then
21716 cat >>confdefs.h
<<_ACEOF
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21726 $as_echo_n "checking for cpowf... " >&6; }
21727 if ${gcc_cv_math_func_cpowf+:} false
; then :
21728 $as_echo_n "(cached) " >&6
21730 if test x
$gcc_no_link = xyes
; then
21731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21736 #ifdef HAVE_COMPLEX_H
21737 #include <complex.h>
21743 int (*ptr)() = (int (*)())cpowf;
21752 if ac_fn_c_try_link
"$LINENO"; then :
21753 gcc_cv_math_func_cpowf
=yes
21755 gcc_cv_math_func_cpowf
=no
21757 rm -f core conftest.err conftest.
$ac_objext \
21758 conftest
$ac_exeext conftest.
$ac_ext
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21761 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21762 if test $gcc_cv_math_func_cpowf = yes; then
21764 cat >>confdefs.h
<<_ACEOF
21765 #define HAVE_CPOWF 1
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21774 $as_echo_n "checking for cpow... " >&6; }
21775 if ${gcc_cv_math_func_cpow+:} false
; then :
21776 $as_echo_n "(cached) " >&6
21778 if test x
$gcc_no_link = xyes
; then
21779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21782 /* end confdefs.h. */
21784 #ifdef HAVE_COMPLEX_H
21785 #include <complex.h>
21791 int (*ptr)() = (int (*)())cpow;
21800 if ac_fn_c_try_link
"$LINENO"; then :
21801 gcc_cv_math_func_cpow
=yes
21803 gcc_cv_math_func_cpow
=no
21805 rm -f core conftest.err conftest.
$ac_objext \
21806 conftest
$ac_exeext conftest.
$ac_ext
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21809 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21810 if test $gcc_cv_math_func_cpow = yes; then
21812 cat >>confdefs.h
<<_ACEOF
21813 #define HAVE_CPOW 1
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21822 $as_echo_n "checking for cpowl... " >&6; }
21823 if ${gcc_cv_math_func_cpowl+:} false
; then :
21824 $as_echo_n "(cached) " >&6
21826 if test x
$gcc_no_link = xyes
; then
21827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21832 #ifdef HAVE_COMPLEX_H
21833 #include <complex.h>
21839 int (*ptr)() = (int (*)())cpowl;
21848 if ac_fn_c_try_link
"$LINENO"; then :
21849 gcc_cv_math_func_cpowl
=yes
21851 gcc_cv_math_func_cpowl
=no
21853 rm -f core conftest.err conftest.
$ac_objext \
21854 conftest
$ac_exeext conftest.
$ac_ext
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21857 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21858 if test $gcc_cv_math_func_cpowl = yes; then
21860 cat >>confdefs.h
<<_ACEOF
21861 #define HAVE_CPOWL 1
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21870 $as_echo_n "checking for roundf... " >&6; }
21871 if ${gcc_cv_math_func_roundf+:} false
; then :
21872 $as_echo_n "(cached) " >&6
21874 if test x
$gcc_no_link = xyes
; then
21875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21880 #ifdef HAVE_COMPLEX_H
21881 #include <complex.h>
21887 int (*ptr)() = (int (*)())roundf;
21896 if ac_fn_c_try_link
"$LINENO"; then :
21897 gcc_cv_math_func_roundf
=yes
21899 gcc_cv_math_func_roundf
=no
21901 rm -f core conftest.err conftest.
$ac_objext \
21902 conftest
$ac_exeext conftest.
$ac_ext
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21905 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21906 if test $gcc_cv_math_func_roundf = yes; then
21908 cat >>confdefs.h
<<_ACEOF
21909 #define HAVE_ROUNDF 1
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21918 $as_echo_n "checking for round... " >&6; }
21919 if ${gcc_cv_math_func_round+:} false
; then :
21920 $as_echo_n "(cached) " >&6
21922 if test x
$gcc_no_link = xyes
; then
21923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21928 #ifdef HAVE_COMPLEX_H
21929 #include <complex.h>
21935 int (*ptr)() = (int (*)())round;
21944 if ac_fn_c_try_link
"$LINENO"; then :
21945 gcc_cv_math_func_round
=yes
21947 gcc_cv_math_func_round
=no
21949 rm -f core conftest.err conftest.
$ac_objext \
21950 conftest
$ac_exeext conftest.
$ac_ext
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21953 $as_echo "$gcc_cv_math_func_round" >&6; }
21954 if test $gcc_cv_math_func_round = yes; then
21956 cat >>confdefs.h
<<_ACEOF
21957 #define HAVE_ROUND 1
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21966 $as_echo_n "checking for roundl... " >&6; }
21967 if ${gcc_cv_math_func_roundl+:} false
; then :
21968 $as_echo_n "(cached) " >&6
21970 if test x
$gcc_no_link = xyes
; then
21971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21974 /* end confdefs.h. */
21976 #ifdef HAVE_COMPLEX_H
21977 #include <complex.h>
21983 int (*ptr)() = (int (*)())roundl;
21992 if ac_fn_c_try_link
"$LINENO"; then :
21993 gcc_cv_math_func_roundl
=yes
21995 gcc_cv_math_func_roundl
=no
21997 rm -f core conftest.err conftest.
$ac_objext \
21998 conftest
$ac_exeext conftest.
$ac_ext
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
22001 $as_echo "$gcc_cv_math_func_roundl" >&6; }
22002 if test $gcc_cv_math_func_roundl = yes; then
22004 cat >>confdefs.h
<<_ACEOF
22005 #define HAVE_ROUNDL 1
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
22014 $as_echo_n "checking for lroundf... " >&6; }
22015 if ${gcc_cv_math_func_lroundf+:} false
; then :
22016 $as_echo_n "(cached) " >&6
22018 if test x
$gcc_no_link = xyes
; then
22019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22024 #ifdef HAVE_COMPLEX_H
22025 #include <complex.h>
22031 int (*ptr)() = (int (*)())lroundf;
22040 if ac_fn_c_try_link
"$LINENO"; then :
22041 gcc_cv_math_func_lroundf
=yes
22043 gcc_cv_math_func_lroundf
=no
22045 rm -f core conftest.err conftest.
$ac_objext \
22046 conftest
$ac_exeext conftest.
$ac_ext
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
22049 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
22050 if test $gcc_cv_math_func_lroundf = yes; then
22052 cat >>confdefs.h
<<_ACEOF
22053 #define HAVE_LROUNDF 1
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
22062 $as_echo_n "checking for lround... " >&6; }
22063 if ${gcc_cv_math_func_lround+:} false
; then :
22064 $as_echo_n "(cached) " >&6
22066 if test x
$gcc_no_link = xyes
; then
22067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h. */
22072 #ifdef HAVE_COMPLEX_H
22073 #include <complex.h>
22079 int (*ptr)() = (int (*)())lround;
22088 if ac_fn_c_try_link
"$LINENO"; then :
22089 gcc_cv_math_func_lround
=yes
22091 gcc_cv_math_func_lround
=no
22093 rm -f core conftest.err conftest.
$ac_objext \
22094 conftest
$ac_exeext conftest.
$ac_ext
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
22097 $as_echo "$gcc_cv_math_func_lround" >&6; }
22098 if test $gcc_cv_math_func_lround = yes; then
22100 cat >>confdefs.h
<<_ACEOF
22101 #define HAVE_LROUND 1
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22110 $as_echo_n "checking for lroundl... " >&6; }
22111 if ${gcc_cv_math_func_lroundl+:} false
; then :
22112 $as_echo_n "(cached) " >&6
22114 if test x
$gcc_no_link = xyes
; then
22115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22120 #ifdef HAVE_COMPLEX_H
22121 #include <complex.h>
22127 int (*ptr)() = (int (*)())lroundl;
22136 if ac_fn_c_try_link
"$LINENO"; then :
22137 gcc_cv_math_func_lroundl
=yes
22139 gcc_cv_math_func_lroundl
=no
22141 rm -f core conftest.err conftest.
$ac_objext \
22142 conftest
$ac_exeext conftest.
$ac_ext
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22145 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22146 if test $gcc_cv_math_func_lroundl = yes; then
22148 cat >>confdefs.h
<<_ACEOF
22149 #define HAVE_LROUNDL 1
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22158 $as_echo_n "checking for llroundf... " >&6; }
22159 if ${gcc_cv_math_func_llroundf+:} false
; then :
22160 $as_echo_n "(cached) " >&6
22162 if test x
$gcc_no_link = xyes
; then
22163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22166 /* end confdefs.h. */
22168 #ifdef HAVE_COMPLEX_H
22169 #include <complex.h>
22175 int (*ptr)() = (int (*)())llroundf;
22184 if ac_fn_c_try_link
"$LINENO"; then :
22185 gcc_cv_math_func_llroundf
=yes
22187 gcc_cv_math_func_llroundf
=no
22189 rm -f core conftest.err conftest.
$ac_objext \
22190 conftest
$ac_exeext conftest.
$ac_ext
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22193 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22194 if test $gcc_cv_math_func_llroundf = yes; then
22196 cat >>confdefs.h
<<_ACEOF
22197 #define HAVE_LLROUNDF 1
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22206 $as_echo_n "checking for llround... " >&6; }
22207 if ${gcc_cv_math_func_llround+:} false
; then :
22208 $as_echo_n "(cached) " >&6
22210 if test x
$gcc_no_link = xyes
; then
22211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22216 #ifdef HAVE_COMPLEX_H
22217 #include <complex.h>
22223 int (*ptr)() = (int (*)())llround;
22232 if ac_fn_c_try_link
"$LINENO"; then :
22233 gcc_cv_math_func_llround
=yes
22235 gcc_cv_math_func_llround
=no
22237 rm -f core conftest.err conftest.
$ac_objext \
22238 conftest
$ac_exeext conftest.
$ac_ext
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22241 $as_echo "$gcc_cv_math_func_llround" >&6; }
22242 if test $gcc_cv_math_func_llround = yes; then
22244 cat >>confdefs.h
<<_ACEOF
22245 #define HAVE_LLROUND 1
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22254 $as_echo_n "checking for llroundl... " >&6; }
22255 if ${gcc_cv_math_func_llroundl+:} false
; then :
22256 $as_echo_n "(cached) " >&6
22258 if test x
$gcc_no_link = xyes
; then
22259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22264 #ifdef HAVE_COMPLEX_H
22265 #include <complex.h>
22271 int (*ptr)() = (int (*)())llroundl;
22280 if ac_fn_c_try_link
"$LINENO"; then :
22281 gcc_cv_math_func_llroundl
=yes
22283 gcc_cv_math_func_llroundl
=no
22285 rm -f core conftest.err conftest.
$ac_objext \
22286 conftest
$ac_exeext conftest.
$ac_ext
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22289 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22290 if test $gcc_cv_math_func_llroundl = yes; then
22292 cat >>confdefs.h
<<_ACEOF
22293 #define HAVE_LLROUNDL 1
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22302 $as_echo_n "checking for scalbnf... " >&6; }
22303 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22304 $as_echo_n "(cached) " >&6
22306 if test x
$gcc_no_link = xyes
; then
22307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22312 #ifdef HAVE_COMPLEX_H
22313 #include <complex.h>
22319 int (*ptr)() = (int (*)())scalbnf;
22328 if ac_fn_c_try_link
"$LINENO"; then :
22329 gcc_cv_math_func_scalbnf
=yes
22331 gcc_cv_math_func_scalbnf
=no
22333 rm -f core conftest.err conftest.
$ac_objext \
22334 conftest
$ac_exeext conftest.
$ac_ext
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22337 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22338 if test $gcc_cv_math_func_scalbnf = yes; then
22340 cat >>confdefs.h
<<_ACEOF
22341 #define HAVE_SCALBNF 1
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22350 $as_echo_n "checking for scalbn... " >&6; }
22351 if ${gcc_cv_math_func_scalbn+:} false
; then :
22352 $as_echo_n "(cached) " >&6
22354 if test x
$gcc_no_link = xyes
; then
22355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22360 #ifdef HAVE_COMPLEX_H
22361 #include <complex.h>
22367 int (*ptr)() = (int (*)())scalbn;
22376 if ac_fn_c_try_link
"$LINENO"; then :
22377 gcc_cv_math_func_scalbn
=yes
22379 gcc_cv_math_func_scalbn
=no
22381 rm -f core conftest.err conftest.
$ac_objext \
22382 conftest
$ac_exeext conftest.
$ac_ext
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22385 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22386 if test $gcc_cv_math_func_scalbn = yes; then
22388 cat >>confdefs.h
<<_ACEOF
22389 #define HAVE_SCALBN 1
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22398 $as_echo_n "checking for scalbnl... " >&6; }
22399 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22400 $as_echo_n "(cached) " >&6
22402 if test x
$gcc_no_link = xyes
; then
22403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22408 #ifdef HAVE_COMPLEX_H
22409 #include <complex.h>
22415 int (*ptr)() = (int (*)())scalbnl;
22424 if ac_fn_c_try_link
"$LINENO"; then :
22425 gcc_cv_math_func_scalbnl
=yes
22427 gcc_cv_math_func_scalbnl
=no
22429 rm -f core conftest.err conftest.
$ac_objext \
22430 conftest
$ac_exeext conftest.
$ac_ext
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22433 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22434 if test $gcc_cv_math_func_scalbnl = yes; then
22436 cat >>confdefs.h
<<_ACEOF
22437 #define HAVE_SCALBNL 1
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22446 $as_echo_n "checking for sinf... " >&6; }
22447 if ${gcc_cv_math_func_sinf+:} false
; then :
22448 $as_echo_n "(cached) " >&6
22450 if test x
$gcc_no_link = xyes
; then
22451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22456 #ifdef HAVE_COMPLEX_H
22457 #include <complex.h>
22463 int (*ptr)() = (int (*)())sinf;
22472 if ac_fn_c_try_link
"$LINENO"; then :
22473 gcc_cv_math_func_sinf
=yes
22475 gcc_cv_math_func_sinf
=no
22477 rm -f core conftest.err conftest.
$ac_objext \
22478 conftest
$ac_exeext conftest.
$ac_ext
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22481 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22482 if test $gcc_cv_math_func_sinf = yes; then
22484 cat >>confdefs.h
<<_ACEOF
22485 #define HAVE_SINF 1
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22494 $as_echo_n "checking for sin... " >&6; }
22495 if ${gcc_cv_math_func_sin+:} false
; then :
22496 $as_echo_n "(cached) " >&6
22498 if test x
$gcc_no_link = xyes
; then
22499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22504 #ifdef HAVE_COMPLEX_H
22505 #include <complex.h>
22511 int (*ptr)() = (int (*)())sin;
22520 if ac_fn_c_try_link
"$LINENO"; then :
22521 gcc_cv_math_func_sin
=yes
22523 gcc_cv_math_func_sin
=no
22525 rm -f core conftest.err conftest.
$ac_objext \
22526 conftest
$ac_exeext conftest.
$ac_ext
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22529 $as_echo "$gcc_cv_math_func_sin" >&6; }
22530 if test $gcc_cv_math_func_sin = yes; then
22532 cat >>confdefs.h
<<_ACEOF
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22542 $as_echo_n "checking for sinl... " >&6; }
22543 if ${gcc_cv_math_func_sinl+:} false
; then :
22544 $as_echo_n "(cached) " >&6
22546 if test x
$gcc_no_link = xyes
; then
22547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22552 #ifdef HAVE_COMPLEX_H
22553 #include <complex.h>
22559 int (*ptr)() = (int (*)())sinl;
22568 if ac_fn_c_try_link
"$LINENO"; then :
22569 gcc_cv_math_func_sinl
=yes
22571 gcc_cv_math_func_sinl
=no
22573 rm -f core conftest.err conftest.
$ac_objext \
22574 conftest
$ac_exeext conftest.
$ac_ext
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22577 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22578 if test $gcc_cv_math_func_sinl = yes; then
22580 cat >>confdefs.h
<<_ACEOF
22581 #define HAVE_SINL 1
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22590 $as_echo_n "checking for csinf... " >&6; }
22591 if ${gcc_cv_math_func_csinf+:} false
; then :
22592 $as_echo_n "(cached) " >&6
22594 if test x
$gcc_no_link = xyes
; then
22595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22600 #ifdef HAVE_COMPLEX_H
22601 #include <complex.h>
22607 int (*ptr)() = (int (*)())csinf;
22616 if ac_fn_c_try_link
"$LINENO"; then :
22617 gcc_cv_math_func_csinf
=yes
22619 gcc_cv_math_func_csinf
=no
22621 rm -f core conftest.err conftest.
$ac_objext \
22622 conftest
$ac_exeext conftest.
$ac_ext
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22625 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22626 if test $gcc_cv_math_func_csinf = yes; then
22628 cat >>confdefs.h
<<_ACEOF
22629 #define HAVE_CSINF 1
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22638 $as_echo_n "checking for csin... " >&6; }
22639 if ${gcc_cv_math_func_csin+:} false
; then :
22640 $as_echo_n "(cached) " >&6
22642 if test x
$gcc_no_link = xyes
; then
22643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22648 #ifdef HAVE_COMPLEX_H
22649 #include <complex.h>
22655 int (*ptr)() = (int (*)())csin;
22664 if ac_fn_c_try_link
"$LINENO"; then :
22665 gcc_cv_math_func_csin
=yes
22667 gcc_cv_math_func_csin
=no
22669 rm -f core conftest.err conftest.
$ac_objext \
22670 conftest
$ac_exeext conftest.
$ac_ext
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22673 $as_echo "$gcc_cv_math_func_csin" >&6; }
22674 if test $gcc_cv_math_func_csin = yes; then
22676 cat >>confdefs.h
<<_ACEOF
22677 #define HAVE_CSIN 1
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22686 $as_echo_n "checking for csinl... " >&6; }
22687 if ${gcc_cv_math_func_csinl+:} false
; then :
22688 $as_echo_n "(cached) " >&6
22690 if test x
$gcc_no_link = xyes
; then
22691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22694 /* end confdefs.h. */
22696 #ifdef HAVE_COMPLEX_H
22697 #include <complex.h>
22703 int (*ptr)() = (int (*)())csinl;
22712 if ac_fn_c_try_link
"$LINENO"; then :
22713 gcc_cv_math_func_csinl
=yes
22715 gcc_cv_math_func_csinl
=no
22717 rm -f core conftest.err conftest.
$ac_objext \
22718 conftest
$ac_exeext conftest.
$ac_ext
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22721 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22722 if test $gcc_cv_math_func_csinl = yes; then
22724 cat >>confdefs.h
<<_ACEOF
22725 #define HAVE_CSINL 1
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22734 $as_echo_n "checking for sinhf... " >&6; }
22735 if ${gcc_cv_math_func_sinhf+:} false
; then :
22736 $as_echo_n "(cached) " >&6
22738 if test x
$gcc_no_link = xyes
; then
22739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h. */
22744 #ifdef HAVE_COMPLEX_H
22745 #include <complex.h>
22751 int (*ptr)() = (int (*)())sinhf;
22760 if ac_fn_c_try_link
"$LINENO"; then :
22761 gcc_cv_math_func_sinhf
=yes
22763 gcc_cv_math_func_sinhf
=no
22765 rm -f core conftest.err conftest.
$ac_objext \
22766 conftest
$ac_exeext conftest.
$ac_ext
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22769 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22770 if test $gcc_cv_math_func_sinhf = yes; then
22772 cat >>confdefs.h
<<_ACEOF
22773 #define HAVE_SINHF 1
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22782 $as_echo_n "checking for sinh... " >&6; }
22783 if ${gcc_cv_math_func_sinh+:} false
; then :
22784 $as_echo_n "(cached) " >&6
22786 if test x
$gcc_no_link = xyes
; then
22787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h. */
22792 #ifdef HAVE_COMPLEX_H
22793 #include <complex.h>
22799 int (*ptr)() = (int (*)())sinh;
22808 if ac_fn_c_try_link
"$LINENO"; then :
22809 gcc_cv_math_func_sinh
=yes
22811 gcc_cv_math_func_sinh
=no
22813 rm -f core conftest.err conftest.
$ac_objext \
22814 conftest
$ac_exeext conftest.
$ac_ext
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22817 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22818 if test $gcc_cv_math_func_sinh = yes; then
22820 cat >>confdefs.h
<<_ACEOF
22821 #define HAVE_SINH 1
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22830 $as_echo_n "checking for sinhl... " >&6; }
22831 if ${gcc_cv_math_func_sinhl+:} false
; then :
22832 $as_echo_n "(cached) " >&6
22834 if test x
$gcc_no_link = xyes
; then
22835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22840 #ifdef HAVE_COMPLEX_H
22841 #include <complex.h>
22847 int (*ptr)() = (int (*)())sinhl;
22856 if ac_fn_c_try_link
"$LINENO"; then :
22857 gcc_cv_math_func_sinhl
=yes
22859 gcc_cv_math_func_sinhl
=no
22861 rm -f core conftest.err conftest.
$ac_objext \
22862 conftest
$ac_exeext conftest.
$ac_ext
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22865 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22866 if test $gcc_cv_math_func_sinhl = yes; then
22868 cat >>confdefs.h
<<_ACEOF
22869 #define HAVE_SINHL 1
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22878 $as_echo_n "checking for csinhf... " >&6; }
22879 if ${gcc_cv_math_func_csinhf+:} false
; then :
22880 $as_echo_n "(cached) " >&6
22882 if test x
$gcc_no_link = xyes
; then
22883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22888 #ifdef HAVE_COMPLEX_H
22889 #include <complex.h>
22895 int (*ptr)() = (int (*)())csinhf;
22904 if ac_fn_c_try_link
"$LINENO"; then :
22905 gcc_cv_math_func_csinhf
=yes
22907 gcc_cv_math_func_csinhf
=no
22909 rm -f core conftest.err conftest.
$ac_objext \
22910 conftest
$ac_exeext conftest.
$ac_ext
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22913 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22914 if test $gcc_cv_math_func_csinhf = yes; then
22916 cat >>confdefs.h
<<_ACEOF
22917 #define HAVE_CSINHF 1
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22926 $as_echo_n "checking for csinh... " >&6; }
22927 if ${gcc_cv_math_func_csinh+:} false
; then :
22928 $as_echo_n "(cached) " >&6
22930 if test x
$gcc_no_link = xyes
; then
22931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h. */
22936 #ifdef HAVE_COMPLEX_H
22937 #include <complex.h>
22943 int (*ptr)() = (int (*)())csinh;
22952 if ac_fn_c_try_link
"$LINENO"; then :
22953 gcc_cv_math_func_csinh
=yes
22955 gcc_cv_math_func_csinh
=no
22957 rm -f core conftest.err conftest.
$ac_objext \
22958 conftest
$ac_exeext conftest.
$ac_ext
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22961 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22962 if test $gcc_cv_math_func_csinh = yes; then
22964 cat >>confdefs.h
<<_ACEOF
22965 #define HAVE_CSINH 1
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22974 $as_echo_n "checking for csinhl... " >&6; }
22975 if ${gcc_cv_math_func_csinhl+:} false
; then :
22976 $as_echo_n "(cached) " >&6
22978 if test x
$gcc_no_link = xyes
; then
22979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22984 #ifdef HAVE_COMPLEX_H
22985 #include <complex.h>
22991 int (*ptr)() = (int (*)())csinhl;
23000 if ac_fn_c_try_link
"$LINENO"; then :
23001 gcc_cv_math_func_csinhl
=yes
23003 gcc_cv_math_func_csinhl
=no
23005 rm -f core conftest.err conftest.
$ac_objext \
23006 conftest
$ac_exeext conftest.
$ac_ext
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
23009 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
23010 if test $gcc_cv_math_func_csinhl = yes; then
23012 cat >>confdefs.h
<<_ACEOF
23013 #define HAVE_CSINHL 1
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
23022 $as_echo_n "checking for sqrtf... " >&6; }
23023 if ${gcc_cv_math_func_sqrtf+:} false
; then :
23024 $as_echo_n "(cached) " >&6
23026 if test x
$gcc_no_link = xyes
; then
23027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23032 #ifdef HAVE_COMPLEX_H
23033 #include <complex.h>
23039 int (*ptr)() = (int (*)())sqrtf;
23048 if ac_fn_c_try_link
"$LINENO"; then :
23049 gcc_cv_math_func_sqrtf
=yes
23051 gcc_cv_math_func_sqrtf
=no
23053 rm -f core conftest.err conftest.
$ac_objext \
23054 conftest
$ac_exeext conftest.
$ac_ext
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
23057 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
23058 if test $gcc_cv_math_func_sqrtf = yes; then
23060 cat >>confdefs.h
<<_ACEOF
23061 #define HAVE_SQRTF 1
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
23070 $as_echo_n "checking for sqrt... " >&6; }
23071 if ${gcc_cv_math_func_sqrt+:} false
; then :
23072 $as_echo_n "(cached) " >&6
23074 if test x
$gcc_no_link = xyes
; then
23075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23080 #ifdef HAVE_COMPLEX_H
23081 #include <complex.h>
23087 int (*ptr)() = (int (*)())sqrt;
23096 if ac_fn_c_try_link
"$LINENO"; then :
23097 gcc_cv_math_func_sqrt
=yes
23099 gcc_cv_math_func_sqrt
=no
23101 rm -f core conftest.err conftest.
$ac_objext \
23102 conftest
$ac_exeext conftest.
$ac_ext
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23105 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23106 if test $gcc_cv_math_func_sqrt = yes; then
23108 cat >>confdefs.h
<<_ACEOF
23109 #define HAVE_SQRT 1
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23118 $as_echo_n "checking for sqrtl... " >&6; }
23119 if ${gcc_cv_math_func_sqrtl+:} false
; then :
23120 $as_echo_n "(cached) " >&6
23122 if test x
$gcc_no_link = xyes
; then
23123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23126 /* end confdefs.h. */
23128 #ifdef HAVE_COMPLEX_H
23129 #include <complex.h>
23135 int (*ptr)() = (int (*)())sqrtl;
23144 if ac_fn_c_try_link
"$LINENO"; then :
23145 gcc_cv_math_func_sqrtl
=yes
23147 gcc_cv_math_func_sqrtl
=no
23149 rm -f core conftest.err conftest.
$ac_objext \
23150 conftest
$ac_exeext conftest.
$ac_ext
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23153 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23154 if test $gcc_cv_math_func_sqrtl = yes; then
23156 cat >>confdefs.h
<<_ACEOF
23157 #define HAVE_SQRTL 1
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23166 $as_echo_n "checking for csqrtf... " >&6; }
23167 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23168 $as_echo_n "(cached) " >&6
23170 if test x
$gcc_no_link = xyes
; then
23171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23176 #ifdef HAVE_COMPLEX_H
23177 #include <complex.h>
23183 int (*ptr)() = (int (*)())csqrtf;
23192 if ac_fn_c_try_link
"$LINENO"; then :
23193 gcc_cv_math_func_csqrtf
=yes
23195 gcc_cv_math_func_csqrtf
=no
23197 rm -f core conftest.err conftest.
$ac_objext \
23198 conftest
$ac_exeext conftest.
$ac_ext
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23201 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23202 if test $gcc_cv_math_func_csqrtf = yes; then
23204 cat >>confdefs.h
<<_ACEOF
23205 #define HAVE_CSQRTF 1
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23214 $as_echo_n "checking for csqrt... " >&6; }
23215 if ${gcc_cv_math_func_csqrt+:} false
; then :
23216 $as_echo_n "(cached) " >&6
23218 if test x
$gcc_no_link = xyes
; then
23219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23224 #ifdef HAVE_COMPLEX_H
23225 #include <complex.h>
23231 int (*ptr)() = (int (*)())csqrt;
23240 if ac_fn_c_try_link
"$LINENO"; then :
23241 gcc_cv_math_func_csqrt
=yes
23243 gcc_cv_math_func_csqrt
=no
23245 rm -f core conftest.err conftest.
$ac_objext \
23246 conftest
$ac_exeext conftest.
$ac_ext
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23249 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23250 if test $gcc_cv_math_func_csqrt = yes; then
23252 cat >>confdefs.h
<<_ACEOF
23253 #define HAVE_CSQRT 1
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23262 $as_echo_n "checking for csqrtl... " >&6; }
23263 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23264 $as_echo_n "(cached) " >&6
23266 if test x
$gcc_no_link = xyes
; then
23267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23270 /* end confdefs.h. */
23272 #ifdef HAVE_COMPLEX_H
23273 #include <complex.h>
23279 int (*ptr)() = (int (*)())csqrtl;
23288 if ac_fn_c_try_link
"$LINENO"; then :
23289 gcc_cv_math_func_csqrtl
=yes
23291 gcc_cv_math_func_csqrtl
=no
23293 rm -f core conftest.err conftest.
$ac_objext \
23294 conftest
$ac_exeext conftest.
$ac_ext
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23297 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23298 if test $gcc_cv_math_func_csqrtl = yes; then
23300 cat >>confdefs.h
<<_ACEOF
23301 #define HAVE_CSQRTL 1
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23310 $as_echo_n "checking for tanf... " >&6; }
23311 if ${gcc_cv_math_func_tanf+:} false
; then :
23312 $as_echo_n "(cached) " >&6
23314 if test x
$gcc_no_link = xyes
; then
23315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23320 #ifdef HAVE_COMPLEX_H
23321 #include <complex.h>
23327 int (*ptr)() = (int (*)())tanf;
23336 if ac_fn_c_try_link
"$LINENO"; then :
23337 gcc_cv_math_func_tanf
=yes
23339 gcc_cv_math_func_tanf
=no
23341 rm -f core conftest.err conftest.
$ac_objext \
23342 conftest
$ac_exeext conftest.
$ac_ext
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23345 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23346 if test $gcc_cv_math_func_tanf = yes; then
23348 cat >>confdefs.h
<<_ACEOF
23349 #define HAVE_TANF 1
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23358 $as_echo_n "checking for tan... " >&6; }
23359 if ${gcc_cv_math_func_tan+:} false
; then :
23360 $as_echo_n "(cached) " >&6
23362 if test x
$gcc_no_link = xyes
; then
23363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23368 #ifdef HAVE_COMPLEX_H
23369 #include <complex.h>
23375 int (*ptr)() = (int (*)())tan;
23384 if ac_fn_c_try_link
"$LINENO"; then :
23385 gcc_cv_math_func_tan
=yes
23387 gcc_cv_math_func_tan
=no
23389 rm -f core conftest.err conftest.
$ac_objext \
23390 conftest
$ac_exeext conftest.
$ac_ext
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23393 $as_echo "$gcc_cv_math_func_tan" >&6; }
23394 if test $gcc_cv_math_func_tan = yes; then
23396 cat >>confdefs.h
<<_ACEOF
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23406 $as_echo_n "checking for tanl... " >&6; }
23407 if ${gcc_cv_math_func_tanl+:} false
; then :
23408 $as_echo_n "(cached) " >&6
23410 if test x
$gcc_no_link = xyes
; then
23411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23416 #ifdef HAVE_COMPLEX_H
23417 #include <complex.h>
23423 int (*ptr)() = (int (*)())tanl;
23432 if ac_fn_c_try_link
"$LINENO"; then :
23433 gcc_cv_math_func_tanl
=yes
23435 gcc_cv_math_func_tanl
=no
23437 rm -f core conftest.err conftest.
$ac_objext \
23438 conftest
$ac_exeext conftest.
$ac_ext
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23441 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23442 if test $gcc_cv_math_func_tanl = yes; then
23444 cat >>confdefs.h
<<_ACEOF
23445 #define HAVE_TANL 1
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23454 $as_echo_n "checking for ctanf... " >&6; }
23455 if ${gcc_cv_math_func_ctanf+:} false
; then :
23456 $as_echo_n "(cached) " >&6
23458 if test x
$gcc_no_link = xyes
; then
23459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23464 #ifdef HAVE_COMPLEX_H
23465 #include <complex.h>
23471 int (*ptr)() = (int (*)())ctanf;
23480 if ac_fn_c_try_link
"$LINENO"; then :
23481 gcc_cv_math_func_ctanf
=yes
23483 gcc_cv_math_func_ctanf
=no
23485 rm -f core conftest.err conftest.
$ac_objext \
23486 conftest
$ac_exeext conftest.
$ac_ext
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23489 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23490 if test $gcc_cv_math_func_ctanf = yes; then
23492 cat >>confdefs.h
<<_ACEOF
23493 #define HAVE_CTANF 1
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23502 $as_echo_n "checking for ctan... " >&6; }
23503 if ${gcc_cv_math_func_ctan+:} false
; then :
23504 $as_echo_n "(cached) " >&6
23506 if test x
$gcc_no_link = xyes
; then
23507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23512 #ifdef HAVE_COMPLEX_H
23513 #include <complex.h>
23519 int (*ptr)() = (int (*)())ctan;
23528 if ac_fn_c_try_link
"$LINENO"; then :
23529 gcc_cv_math_func_ctan
=yes
23531 gcc_cv_math_func_ctan
=no
23533 rm -f core conftest.err conftest.
$ac_objext \
23534 conftest
$ac_exeext conftest.
$ac_ext
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23537 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23538 if test $gcc_cv_math_func_ctan = yes; then
23540 cat >>confdefs.h
<<_ACEOF
23541 #define HAVE_CTAN 1
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23550 $as_echo_n "checking for ctanl... " >&6; }
23551 if ${gcc_cv_math_func_ctanl+:} false
; then :
23552 $as_echo_n "(cached) " >&6
23554 if test x
$gcc_no_link = xyes
; then
23555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h. */
23560 #ifdef HAVE_COMPLEX_H
23561 #include <complex.h>
23567 int (*ptr)() = (int (*)())ctanl;
23576 if ac_fn_c_try_link
"$LINENO"; then :
23577 gcc_cv_math_func_ctanl
=yes
23579 gcc_cv_math_func_ctanl
=no
23581 rm -f core conftest.err conftest.
$ac_objext \
23582 conftest
$ac_exeext conftest.
$ac_ext
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23585 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23586 if test $gcc_cv_math_func_ctanl = yes; then
23588 cat >>confdefs.h
<<_ACEOF
23589 #define HAVE_CTANL 1
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23598 $as_echo_n "checking for tanhf... " >&6; }
23599 if ${gcc_cv_math_func_tanhf+:} false
; then :
23600 $as_echo_n "(cached) " >&6
23602 if test x
$gcc_no_link = xyes
; then
23603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23606 /* end confdefs.h. */
23608 #ifdef HAVE_COMPLEX_H
23609 #include <complex.h>
23615 int (*ptr)() = (int (*)())tanhf;
23624 if ac_fn_c_try_link
"$LINENO"; then :
23625 gcc_cv_math_func_tanhf
=yes
23627 gcc_cv_math_func_tanhf
=no
23629 rm -f core conftest.err conftest.
$ac_objext \
23630 conftest
$ac_exeext conftest.
$ac_ext
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23633 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23634 if test $gcc_cv_math_func_tanhf = yes; then
23636 cat >>confdefs.h
<<_ACEOF
23637 #define HAVE_TANHF 1
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23646 $as_echo_n "checking for tanh... " >&6; }
23647 if ${gcc_cv_math_func_tanh+:} false
; then :
23648 $as_echo_n "(cached) " >&6
23650 if test x
$gcc_no_link = xyes
; then
23651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23656 #ifdef HAVE_COMPLEX_H
23657 #include <complex.h>
23663 int (*ptr)() = (int (*)())tanh;
23672 if ac_fn_c_try_link
"$LINENO"; then :
23673 gcc_cv_math_func_tanh
=yes
23675 gcc_cv_math_func_tanh
=no
23677 rm -f core conftest.err conftest.
$ac_objext \
23678 conftest
$ac_exeext conftest.
$ac_ext
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23681 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23682 if test $gcc_cv_math_func_tanh = yes; then
23684 cat >>confdefs.h
<<_ACEOF
23685 #define HAVE_TANH 1
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23694 $as_echo_n "checking for tanhl... " >&6; }
23695 if ${gcc_cv_math_func_tanhl+:} false
; then :
23696 $as_echo_n "(cached) " >&6
23698 if test x
$gcc_no_link = xyes
; then
23699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23702 /* end confdefs.h. */
23704 #ifdef HAVE_COMPLEX_H
23705 #include <complex.h>
23711 int (*ptr)() = (int (*)())tanhl;
23720 if ac_fn_c_try_link
"$LINENO"; then :
23721 gcc_cv_math_func_tanhl
=yes
23723 gcc_cv_math_func_tanhl
=no
23725 rm -f core conftest.err conftest.
$ac_objext \
23726 conftest
$ac_exeext conftest.
$ac_ext
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23729 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23730 if test $gcc_cv_math_func_tanhl = yes; then
23732 cat >>confdefs.h
<<_ACEOF
23733 #define HAVE_TANHL 1
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23742 $as_echo_n "checking for ctanhf... " >&6; }
23743 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23744 $as_echo_n "(cached) " >&6
23746 if test x
$gcc_no_link = xyes
; then
23747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23752 #ifdef HAVE_COMPLEX_H
23753 #include <complex.h>
23759 int (*ptr)() = (int (*)())ctanhf;
23768 if ac_fn_c_try_link
"$LINENO"; then :
23769 gcc_cv_math_func_ctanhf
=yes
23771 gcc_cv_math_func_ctanhf
=no
23773 rm -f core conftest.err conftest.
$ac_objext \
23774 conftest
$ac_exeext conftest.
$ac_ext
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23777 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23778 if test $gcc_cv_math_func_ctanhf = yes; then
23780 cat >>confdefs.h
<<_ACEOF
23781 #define HAVE_CTANHF 1
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23790 $as_echo_n "checking for ctanh... " >&6; }
23791 if ${gcc_cv_math_func_ctanh+:} false
; then :
23792 $as_echo_n "(cached) " >&6
23794 if test x
$gcc_no_link = xyes
; then
23795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23800 #ifdef HAVE_COMPLEX_H
23801 #include <complex.h>
23807 int (*ptr)() = (int (*)())ctanh;
23816 if ac_fn_c_try_link
"$LINENO"; then :
23817 gcc_cv_math_func_ctanh
=yes
23819 gcc_cv_math_func_ctanh
=no
23821 rm -f core conftest.err conftest.
$ac_objext \
23822 conftest
$ac_exeext conftest.
$ac_ext
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23825 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23826 if test $gcc_cv_math_func_ctanh = yes; then
23828 cat >>confdefs.h
<<_ACEOF
23829 #define HAVE_CTANH 1
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23838 $as_echo_n "checking for ctanhl... " >&6; }
23839 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23840 $as_echo_n "(cached) " >&6
23842 if test x
$gcc_no_link = xyes
; then
23843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23846 /* end confdefs.h. */
23848 #ifdef HAVE_COMPLEX_H
23849 #include <complex.h>
23855 int (*ptr)() = (int (*)())ctanhl;
23864 if ac_fn_c_try_link
"$LINENO"; then :
23865 gcc_cv_math_func_ctanhl
=yes
23867 gcc_cv_math_func_ctanhl
=no
23869 rm -f core conftest.err conftest.
$ac_objext \
23870 conftest
$ac_exeext conftest.
$ac_ext
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23873 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23874 if test $gcc_cv_math_func_ctanhl = yes; then
23876 cat >>confdefs.h
<<_ACEOF
23877 #define HAVE_CTANHL 1
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23886 $as_echo_n "checking for truncf... " >&6; }
23887 if ${gcc_cv_math_func_truncf+:} false
; then :
23888 $as_echo_n "(cached) " >&6
23890 if test x
$gcc_no_link = xyes
; then
23891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23896 #ifdef HAVE_COMPLEX_H
23897 #include <complex.h>
23903 int (*ptr)() = (int (*)())truncf;
23912 if ac_fn_c_try_link
"$LINENO"; then :
23913 gcc_cv_math_func_truncf
=yes
23915 gcc_cv_math_func_truncf
=no
23917 rm -f core conftest.err conftest.
$ac_objext \
23918 conftest
$ac_exeext conftest.
$ac_ext
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23921 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23922 if test $gcc_cv_math_func_truncf = yes; then
23924 cat >>confdefs.h
<<_ACEOF
23925 #define HAVE_TRUNCF 1
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23934 $as_echo_n "checking for trunc... " >&6; }
23935 if ${gcc_cv_math_func_trunc+:} false
; then :
23936 $as_echo_n "(cached) " >&6
23938 if test x
$gcc_no_link = xyes
; then
23939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h. */
23944 #ifdef HAVE_COMPLEX_H
23945 #include <complex.h>
23951 int (*ptr)() = (int (*)())trunc;
23960 if ac_fn_c_try_link
"$LINENO"; then :
23961 gcc_cv_math_func_trunc
=yes
23963 gcc_cv_math_func_trunc
=no
23965 rm -f core conftest.err conftest.
$ac_objext \
23966 conftest
$ac_exeext conftest.
$ac_ext
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23969 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23970 if test $gcc_cv_math_func_trunc = yes; then
23972 cat >>confdefs.h
<<_ACEOF
23973 #define HAVE_TRUNC 1
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23982 $as_echo_n "checking for truncl... " >&6; }
23983 if ${gcc_cv_math_func_truncl+:} false
; then :
23984 $as_echo_n "(cached) " >&6
23986 if test x
$gcc_no_link = xyes
; then
23987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23990 /* end confdefs.h. */
23992 #ifdef HAVE_COMPLEX_H
23993 #include <complex.h>
23999 int (*ptr)() = (int (*)())truncl;
24008 if ac_fn_c_try_link
"$LINENO"; then :
24009 gcc_cv_math_func_truncl
=yes
24011 gcc_cv_math_func_truncl
=no
24013 rm -f core conftest.err conftest.
$ac_objext \
24014 conftest
$ac_exeext conftest.
$ac_ext
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
24017 $as_echo "$gcc_cv_math_func_truncl" >&6; }
24018 if test $gcc_cv_math_func_truncl = yes; then
24020 cat >>confdefs.h
<<_ACEOF
24021 #define HAVE_TRUNCL 1
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
24030 $as_echo_n "checking for erff... " >&6; }
24031 if ${gcc_cv_math_func_erff+:} false
; then :
24032 $as_echo_n "(cached) " >&6
24034 if test x
$gcc_no_link = xyes
; then
24035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24040 #ifdef HAVE_COMPLEX_H
24041 #include <complex.h>
24047 int (*ptr)() = (int (*)())erff;
24056 if ac_fn_c_try_link
"$LINENO"; then :
24057 gcc_cv_math_func_erff
=yes
24059 gcc_cv_math_func_erff
=no
24061 rm -f core conftest.err conftest.
$ac_objext \
24062 conftest
$ac_exeext conftest.
$ac_ext
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
24065 $as_echo "$gcc_cv_math_func_erff" >&6; }
24066 if test $gcc_cv_math_func_erff = yes; then
24068 cat >>confdefs.h
<<_ACEOF
24069 #define HAVE_ERFF 1
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
24078 $as_echo_n "checking for erf... " >&6; }
24079 if ${gcc_cv_math_func_erf+:} false
; then :
24080 $as_echo_n "(cached) " >&6
24082 if test x
$gcc_no_link = xyes
; then
24083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24088 #ifdef HAVE_COMPLEX_H
24089 #include <complex.h>
24095 int (*ptr)() = (int (*)())erf;
24104 if ac_fn_c_try_link
"$LINENO"; then :
24105 gcc_cv_math_func_erf
=yes
24107 gcc_cv_math_func_erf
=no
24109 rm -f core conftest.err conftest.
$ac_objext \
24110 conftest
$ac_exeext conftest.
$ac_ext
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24113 $as_echo "$gcc_cv_math_func_erf" >&6; }
24114 if test $gcc_cv_math_func_erf = yes; then
24116 cat >>confdefs.h
<<_ACEOF
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24126 $as_echo_n "checking for erfcf... " >&6; }
24127 if ${gcc_cv_math_func_erfcf+:} false
; then :
24128 $as_echo_n "(cached) " >&6
24130 if test x
$gcc_no_link = xyes
; then
24131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24136 #ifdef HAVE_COMPLEX_H
24137 #include <complex.h>
24143 int (*ptr)() = (int (*)())erfcf;
24152 if ac_fn_c_try_link
"$LINENO"; then :
24153 gcc_cv_math_func_erfcf
=yes
24155 gcc_cv_math_func_erfcf
=no
24157 rm -f core conftest.err conftest.
$ac_objext \
24158 conftest
$ac_exeext conftest.
$ac_ext
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24161 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24162 if test $gcc_cv_math_func_erfcf = yes; then
24164 cat >>confdefs.h
<<_ACEOF
24165 #define HAVE_ERFCF 1
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24174 $as_echo_n "checking for erfc... " >&6; }
24175 if ${gcc_cv_math_func_erfc+:} false
; then :
24176 $as_echo_n "(cached) " >&6
24178 if test x
$gcc_no_link = xyes
; then
24179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24182 /* end confdefs.h. */
24184 #ifdef HAVE_COMPLEX_H
24185 #include <complex.h>
24191 int (*ptr)() = (int (*)())erfc;
24200 if ac_fn_c_try_link
"$LINENO"; then :
24201 gcc_cv_math_func_erfc
=yes
24203 gcc_cv_math_func_erfc
=no
24205 rm -f core conftest.err conftest.
$ac_objext \
24206 conftest
$ac_exeext conftest.
$ac_ext
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24209 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24210 if test $gcc_cv_math_func_erfc = yes; then
24212 cat >>confdefs.h
<<_ACEOF
24213 #define HAVE_ERFC 1
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24222 $as_echo_n "checking for erfcl... " >&6; }
24223 if ${gcc_cv_math_func_erfcl+:} false
; then :
24224 $as_echo_n "(cached) " >&6
24226 if test x
$gcc_no_link = xyes
; then
24227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24232 #ifdef HAVE_COMPLEX_H
24233 #include <complex.h>
24239 int (*ptr)() = (int (*)())erfcl;
24248 if ac_fn_c_try_link
"$LINENO"; then :
24249 gcc_cv_math_func_erfcl
=yes
24251 gcc_cv_math_func_erfcl
=no
24253 rm -f core conftest.err conftest.
$ac_objext \
24254 conftest
$ac_exeext conftest.
$ac_ext
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24257 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24258 if test $gcc_cv_math_func_erfcl = yes; then
24260 cat >>confdefs.h
<<_ACEOF
24261 #define HAVE_ERFCL 1
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24270 $as_echo_n "checking for j0f... " >&6; }
24271 if ${gcc_cv_math_func_j0f+:} false
; then :
24272 $as_echo_n "(cached) " >&6
24274 if test x
$gcc_no_link = xyes
; then
24275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24280 #ifdef HAVE_COMPLEX_H
24281 #include <complex.h>
24287 int (*ptr)() = (int (*)())j0f;
24296 if ac_fn_c_try_link
"$LINENO"; then :
24297 gcc_cv_math_func_j0f
=yes
24299 gcc_cv_math_func_j0f
=no
24301 rm -f core conftest.err conftest.
$ac_objext \
24302 conftest
$ac_exeext conftest.
$ac_ext
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24305 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24306 if test $gcc_cv_math_func_j0f = yes; then
24308 cat >>confdefs.h
<<_ACEOF
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24318 $as_echo_n "checking for j0... " >&6; }
24319 if ${gcc_cv_math_func_j0+:} false
; then :
24320 $as_echo_n "(cached) " >&6
24322 if test x
$gcc_no_link = xyes
; then
24323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24328 #ifdef HAVE_COMPLEX_H
24329 #include <complex.h>
24335 int (*ptr)() = (int (*)())j0;
24344 if ac_fn_c_try_link
"$LINENO"; then :
24345 gcc_cv_math_func_j0
=yes
24347 gcc_cv_math_func_j0
=no
24349 rm -f core conftest.err conftest.
$ac_objext \
24350 conftest
$ac_exeext conftest.
$ac_ext
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24353 $as_echo "$gcc_cv_math_func_j0" >&6; }
24354 if test $gcc_cv_math_func_j0 = yes; then
24356 cat >>confdefs.h
<<_ACEOF
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24366 $as_echo_n "checking for j1f... " >&6; }
24367 if ${gcc_cv_math_func_j1f+:} false
; then :
24368 $as_echo_n "(cached) " >&6
24370 if test x
$gcc_no_link = xyes
; then
24371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24376 #ifdef HAVE_COMPLEX_H
24377 #include <complex.h>
24383 int (*ptr)() = (int (*)())j1f;
24392 if ac_fn_c_try_link
"$LINENO"; then :
24393 gcc_cv_math_func_j1f
=yes
24395 gcc_cv_math_func_j1f
=no
24397 rm -f core conftest.err conftest.
$ac_objext \
24398 conftest
$ac_exeext conftest.
$ac_ext
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24401 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24402 if test $gcc_cv_math_func_j1f = yes; then
24404 cat >>confdefs.h
<<_ACEOF
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24414 $as_echo_n "checking for j1... " >&6; }
24415 if ${gcc_cv_math_func_j1+:} false
; then :
24416 $as_echo_n "(cached) " >&6
24418 if test x
$gcc_no_link = xyes
; then
24419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24422 /* end confdefs.h. */
24424 #ifdef HAVE_COMPLEX_H
24425 #include <complex.h>
24431 int (*ptr)() = (int (*)())j1;
24440 if ac_fn_c_try_link
"$LINENO"; then :
24441 gcc_cv_math_func_j1
=yes
24443 gcc_cv_math_func_j1
=no
24445 rm -f core conftest.err conftest.
$ac_objext \
24446 conftest
$ac_exeext conftest.
$ac_ext
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24449 $as_echo "$gcc_cv_math_func_j1" >&6; }
24450 if test $gcc_cv_math_func_j1 = yes; then
24452 cat >>confdefs.h
<<_ACEOF
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24462 $as_echo_n "checking for jnf... " >&6; }
24463 if ${gcc_cv_math_func_jnf+:} false
; then :
24464 $as_echo_n "(cached) " >&6
24466 if test x
$gcc_no_link = xyes
; then
24467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24470 /* end confdefs.h. */
24472 #ifdef HAVE_COMPLEX_H
24473 #include <complex.h>
24479 int (*ptr)() = (int (*)())jnf;
24488 if ac_fn_c_try_link
"$LINENO"; then :
24489 gcc_cv_math_func_jnf
=yes
24491 gcc_cv_math_func_jnf
=no
24493 rm -f core conftest.err conftest.
$ac_objext \
24494 conftest
$ac_exeext conftest.
$ac_ext
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24497 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24498 if test $gcc_cv_math_func_jnf = yes; then
24500 cat >>confdefs.h
<<_ACEOF
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24510 $as_echo_n "checking for jn... " >&6; }
24511 if ${gcc_cv_math_func_jn+:} false
; then :
24512 $as_echo_n "(cached) " >&6
24514 if test x
$gcc_no_link = xyes
; then
24515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24518 /* end confdefs.h. */
24520 #ifdef HAVE_COMPLEX_H
24521 #include <complex.h>
24527 int (*ptr)() = (int (*)())jn;
24536 if ac_fn_c_try_link
"$LINENO"; then :
24537 gcc_cv_math_func_jn
=yes
24539 gcc_cv_math_func_jn
=no
24541 rm -f core conftest.err conftest.
$ac_objext \
24542 conftest
$ac_exeext conftest.
$ac_ext
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24545 $as_echo "$gcc_cv_math_func_jn" >&6; }
24546 if test $gcc_cv_math_func_jn = yes; then
24548 cat >>confdefs.h
<<_ACEOF
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24558 $as_echo_n "checking for jnl... " >&6; }
24559 if ${gcc_cv_math_func_jnl+:} false
; then :
24560 $as_echo_n "(cached) " >&6
24562 if test x
$gcc_no_link = xyes
; then
24563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24568 #ifdef HAVE_COMPLEX_H
24569 #include <complex.h>
24575 int (*ptr)() = (int (*)())jnl;
24584 if ac_fn_c_try_link
"$LINENO"; then :
24585 gcc_cv_math_func_jnl
=yes
24587 gcc_cv_math_func_jnl
=no
24589 rm -f core conftest.err conftest.
$ac_objext \
24590 conftest
$ac_exeext conftest.
$ac_ext
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24593 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24594 if test $gcc_cv_math_func_jnl = yes; then
24596 cat >>confdefs.h
<<_ACEOF
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24606 $as_echo_n "checking for y0f... " >&6; }
24607 if ${gcc_cv_math_func_y0f+:} false
; then :
24608 $as_echo_n "(cached) " >&6
24610 if test x
$gcc_no_link = xyes
; then
24611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24614 /* end confdefs.h. */
24616 #ifdef HAVE_COMPLEX_H
24617 #include <complex.h>
24623 int (*ptr)() = (int (*)())y0f;
24632 if ac_fn_c_try_link
"$LINENO"; then :
24633 gcc_cv_math_func_y0f
=yes
24635 gcc_cv_math_func_y0f
=no
24637 rm -f core conftest.err conftest.
$ac_objext \
24638 conftest
$ac_exeext conftest.
$ac_ext
24640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24641 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24642 if test $gcc_cv_math_func_y0f = yes; then
24644 cat >>confdefs.h
<<_ACEOF
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24654 $as_echo_n "checking for y0... " >&6; }
24655 if ${gcc_cv_math_func_y0+:} false
; then :
24656 $as_echo_n "(cached) " >&6
24658 if test x
$gcc_no_link = xyes
; then
24659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24662 /* end confdefs.h. */
24664 #ifdef HAVE_COMPLEX_H
24665 #include <complex.h>
24671 int (*ptr)() = (int (*)())y0;
24680 if ac_fn_c_try_link
"$LINENO"; then :
24681 gcc_cv_math_func_y0
=yes
24683 gcc_cv_math_func_y0
=no
24685 rm -f core conftest.err conftest.
$ac_objext \
24686 conftest
$ac_exeext conftest.
$ac_ext
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24689 $as_echo "$gcc_cv_math_func_y0" >&6; }
24690 if test $gcc_cv_math_func_y0 = yes; then
24692 cat >>confdefs.h
<<_ACEOF
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24702 $as_echo_n "checking for y1f... " >&6; }
24703 if ${gcc_cv_math_func_y1f+:} false
; then :
24704 $as_echo_n "(cached) " >&6
24706 if test x
$gcc_no_link = xyes
; then
24707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24710 /* end confdefs.h. */
24712 #ifdef HAVE_COMPLEX_H
24713 #include <complex.h>
24719 int (*ptr)() = (int (*)())y1f;
24728 if ac_fn_c_try_link
"$LINENO"; then :
24729 gcc_cv_math_func_y1f
=yes
24731 gcc_cv_math_func_y1f
=no
24733 rm -f core conftest.err conftest.
$ac_objext \
24734 conftest
$ac_exeext conftest.
$ac_ext
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24737 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24738 if test $gcc_cv_math_func_y1f = yes; then
24740 cat >>confdefs.h
<<_ACEOF
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24750 $as_echo_n "checking for y1... " >&6; }
24751 if ${gcc_cv_math_func_y1+:} false
; then :
24752 $as_echo_n "(cached) " >&6
24754 if test x
$gcc_no_link = xyes
; then
24755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24758 /* end confdefs.h. */
24760 #ifdef HAVE_COMPLEX_H
24761 #include <complex.h>
24767 int (*ptr)() = (int (*)())y1;
24776 if ac_fn_c_try_link
"$LINENO"; then :
24777 gcc_cv_math_func_y1
=yes
24779 gcc_cv_math_func_y1
=no
24781 rm -f core conftest.err conftest.
$ac_objext \
24782 conftest
$ac_exeext conftest.
$ac_ext
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24785 $as_echo "$gcc_cv_math_func_y1" >&6; }
24786 if test $gcc_cv_math_func_y1 = yes; then
24788 cat >>confdefs.h
<<_ACEOF
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24798 $as_echo_n "checking for ynf... " >&6; }
24799 if ${gcc_cv_math_func_ynf+:} false
; then :
24800 $as_echo_n "(cached) " >&6
24802 if test x
$gcc_no_link = xyes
; then
24803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24806 /* end confdefs.h. */
24808 #ifdef HAVE_COMPLEX_H
24809 #include <complex.h>
24815 int (*ptr)() = (int (*)())ynf;
24824 if ac_fn_c_try_link
"$LINENO"; then :
24825 gcc_cv_math_func_ynf
=yes
24827 gcc_cv_math_func_ynf
=no
24829 rm -f core conftest.err conftest.
$ac_objext \
24830 conftest
$ac_exeext conftest.
$ac_ext
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24833 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24834 if test $gcc_cv_math_func_ynf = yes; then
24836 cat >>confdefs.h
<<_ACEOF
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24846 $as_echo_n "checking for yn... " >&6; }
24847 if ${gcc_cv_math_func_yn+:} false
; then :
24848 $as_echo_n "(cached) " >&6
24850 if test x
$gcc_no_link = xyes
; then
24851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24854 /* end confdefs.h. */
24856 #ifdef HAVE_COMPLEX_H
24857 #include <complex.h>
24863 int (*ptr)() = (int (*)())yn;
24872 if ac_fn_c_try_link
"$LINENO"; then :
24873 gcc_cv_math_func_yn
=yes
24875 gcc_cv_math_func_yn
=no
24877 rm -f core conftest.err conftest.
$ac_objext \
24878 conftest
$ac_exeext conftest.
$ac_ext
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24881 $as_echo "$gcc_cv_math_func_yn" >&6; }
24882 if test $gcc_cv_math_func_yn = yes; then
24884 cat >>confdefs.h
<<_ACEOF
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24894 $as_echo_n "checking for ynl... " >&6; }
24895 if ${gcc_cv_math_func_ynl+:} false
; then :
24896 $as_echo_n "(cached) " >&6
24898 if test x
$gcc_no_link = xyes
; then
24899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24904 #ifdef HAVE_COMPLEX_H
24905 #include <complex.h>
24911 int (*ptr)() = (int (*)())ynl;
24920 if ac_fn_c_try_link
"$LINENO"; then :
24921 gcc_cv_math_func_ynl
=yes
24923 gcc_cv_math_func_ynl
=no
24925 rm -f core conftest.err conftest.
$ac_objext \
24926 conftest
$ac_exeext conftest.
$ac_ext
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24929 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24930 if test $gcc_cv_math_func_ynl = yes; then
24932 cat >>confdefs.h
<<_ACEOF
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24942 $as_echo_n "checking for tgamma... " >&6; }
24943 if ${gcc_cv_math_func_tgamma+:} false
; then :
24944 $as_echo_n "(cached) " >&6
24946 if test x
$gcc_no_link = xyes
; then
24947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24952 #ifdef HAVE_COMPLEX_H
24953 #include <complex.h>
24959 int (*ptr)() = (int (*)())tgamma;
24968 if ac_fn_c_try_link
"$LINENO"; then :
24969 gcc_cv_math_func_tgamma
=yes
24971 gcc_cv_math_func_tgamma
=no
24973 rm -f core conftest.err conftest.
$ac_objext \
24974 conftest
$ac_exeext conftest.
$ac_ext
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24977 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24978 if test $gcc_cv_math_func_tgamma = yes; then
24980 cat >>confdefs.h
<<_ACEOF
24981 #define HAVE_TGAMMA 1
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24990 $as_echo_n "checking for tgammaf... " >&6; }
24991 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24992 $as_echo_n "(cached) " >&6
24994 if test x
$gcc_no_link = xyes
; then
24995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
25000 #ifdef HAVE_COMPLEX_H
25001 #include <complex.h>
25007 int (*ptr)() = (int (*)())tgammaf;
25016 if ac_fn_c_try_link
"$LINENO"; then :
25017 gcc_cv_math_func_tgammaf
=yes
25019 gcc_cv_math_func_tgammaf
=no
25021 rm -f core conftest.err conftest.
$ac_objext \
25022 conftest
$ac_exeext conftest.
$ac_ext
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
25025 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
25026 if test $gcc_cv_math_func_tgammaf = yes; then
25028 cat >>confdefs.h
<<_ACEOF
25029 #define HAVE_TGAMMAF 1
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
25038 $as_echo_n "checking for lgamma... " >&6; }
25039 if ${gcc_cv_math_func_lgamma+:} false
; then :
25040 $as_echo_n "(cached) " >&6
25042 if test x
$gcc_no_link = xyes
; then
25043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25046 /* end confdefs.h. */
25048 #ifdef HAVE_COMPLEX_H
25049 #include <complex.h>
25055 int (*ptr)() = (int (*)())lgamma;
25064 if ac_fn_c_try_link
"$LINENO"; then :
25065 gcc_cv_math_func_lgamma
=yes
25067 gcc_cv_math_func_lgamma
=no
25069 rm -f core conftest.err conftest.
$ac_objext \
25070 conftest
$ac_exeext conftest.
$ac_ext
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
25073 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
25074 if test $gcc_cv_math_func_lgamma = yes; then
25076 cat >>confdefs.h
<<_ACEOF
25077 #define HAVE_LGAMMA 1
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
25086 $as_echo_n "checking for lgammaf... " >&6; }
25087 if ${gcc_cv_math_func_lgammaf+:} false
; then :
25088 $as_echo_n "(cached) " >&6
25090 if test x
$gcc_no_link = xyes
; then
25091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25094 /* end confdefs.h. */
25096 #ifdef HAVE_COMPLEX_H
25097 #include <complex.h>
25103 int (*ptr)() = (int (*)())lgammaf;
25112 if ac_fn_c_try_link
"$LINENO"; then :
25113 gcc_cv_math_func_lgammaf
=yes
25115 gcc_cv_math_func_lgammaf
=no
25117 rm -f core conftest.err conftest.
$ac_objext \
25118 conftest
$ac_exeext conftest.
$ac_ext
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25121 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25122 if test $gcc_cv_math_func_lgammaf = yes; then
25124 cat >>confdefs.h
<<_ACEOF
25125 #define HAVE_LGAMMAF 1
25131 # Check for GFORTRAN_C99_1.1 funcs
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25136 $as_echo_n "checking for cacos... " >&6; }
25137 if ${gcc_cv_math_func_cacos+:} false
; then :
25138 $as_echo_n "(cached) " >&6
25140 if test x
$gcc_no_link = xyes
; then
25141 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25146 #ifdef HAVE_COMPLEX_H
25147 #include <complex.h>
25153 int (*ptr)() = (int (*)())cacos;
25162 if ac_fn_c_try_link
"$LINENO"; then :
25163 gcc_cv_math_func_cacos
=yes
25165 gcc_cv_math_func_cacos
=no
25167 rm -f core conftest.err conftest.
$ac_objext \
25168 conftest
$ac_exeext conftest.
$ac_ext
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25171 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25172 if test $gcc_cv_math_func_cacos = yes; then
25174 cat >>confdefs.h
<<_ACEOF
25175 #define HAVE_CACOS 1
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25184 $as_echo_n "checking for cacosf... " >&6; }
25185 if ${gcc_cv_math_func_cacosf+:} false
; then :
25186 $as_echo_n "(cached) " >&6
25188 if test x
$gcc_no_link = xyes
; then
25189 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25194 #ifdef HAVE_COMPLEX_H
25195 #include <complex.h>
25201 int (*ptr)() = (int (*)())cacosf;
25210 if ac_fn_c_try_link
"$LINENO"; then :
25211 gcc_cv_math_func_cacosf
=yes
25213 gcc_cv_math_func_cacosf
=no
25215 rm -f core conftest.err conftest.
$ac_objext \
25216 conftest
$ac_exeext conftest.
$ac_ext
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25219 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25220 if test $gcc_cv_math_func_cacosf = yes; then
25222 cat >>confdefs.h
<<_ACEOF
25223 #define HAVE_CACOSF 1
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25232 $as_echo_n "checking for cacosh... " >&6; }
25233 if ${gcc_cv_math_func_cacosh+:} false
; then :
25234 $as_echo_n "(cached) " >&6
25236 if test x
$gcc_no_link = xyes
; then
25237 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25240 /* end confdefs.h. */
25242 #ifdef HAVE_COMPLEX_H
25243 #include <complex.h>
25249 int (*ptr)() = (int (*)())cacosh;
25258 if ac_fn_c_try_link
"$LINENO"; then :
25259 gcc_cv_math_func_cacosh
=yes
25261 gcc_cv_math_func_cacosh
=no
25263 rm -f core conftest.err conftest.
$ac_objext \
25264 conftest
$ac_exeext conftest.
$ac_ext
25266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25267 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25268 if test $gcc_cv_math_func_cacosh = yes; then
25270 cat >>confdefs.h
<<_ACEOF
25271 #define HAVE_CACOSH 1
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25280 $as_echo_n "checking for cacoshf... " >&6; }
25281 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25282 $as_echo_n "(cached) " >&6
25284 if test x
$gcc_no_link = xyes
; then
25285 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25288 /* end confdefs.h. */
25290 #ifdef HAVE_COMPLEX_H
25291 #include <complex.h>
25297 int (*ptr)() = (int (*)())cacoshf;
25306 if ac_fn_c_try_link
"$LINENO"; then :
25307 gcc_cv_math_func_cacoshf
=yes
25309 gcc_cv_math_func_cacoshf
=no
25311 rm -f core conftest.err conftest.
$ac_objext \
25312 conftest
$ac_exeext conftest.
$ac_ext
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25315 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25316 if test $gcc_cv_math_func_cacoshf = yes; then
25318 cat >>confdefs.h
<<_ACEOF
25319 #define HAVE_CACOSHF 1
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25328 $as_echo_n "checking for cacoshl... " >&6; }
25329 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25330 $as_echo_n "(cached) " >&6
25332 if test x
$gcc_no_link = xyes
; then
25333 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25338 #ifdef HAVE_COMPLEX_H
25339 #include <complex.h>
25345 int (*ptr)() = (int (*)())cacoshl;
25354 if ac_fn_c_try_link
"$LINENO"; then :
25355 gcc_cv_math_func_cacoshl
=yes
25357 gcc_cv_math_func_cacoshl
=no
25359 rm -f core conftest.err conftest.
$ac_objext \
25360 conftest
$ac_exeext conftest.
$ac_ext
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25363 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25364 if test $gcc_cv_math_func_cacoshl = yes; then
25366 cat >>confdefs.h
<<_ACEOF
25367 #define HAVE_CACOSHL 1
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25376 $as_echo_n "checking for cacosl... " >&6; }
25377 if ${gcc_cv_math_func_cacosl+:} false
; then :
25378 $as_echo_n "(cached) " >&6
25380 if test x
$gcc_no_link = xyes
; then
25381 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25386 #ifdef HAVE_COMPLEX_H
25387 #include <complex.h>
25393 int (*ptr)() = (int (*)())cacosl;
25402 if ac_fn_c_try_link
"$LINENO"; then :
25403 gcc_cv_math_func_cacosl
=yes
25405 gcc_cv_math_func_cacosl
=no
25407 rm -f core conftest.err conftest.
$ac_objext \
25408 conftest
$ac_exeext conftest.
$ac_ext
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25411 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25412 if test $gcc_cv_math_func_cacosl = yes; then
25414 cat >>confdefs.h
<<_ACEOF
25415 #define HAVE_CACOSL 1
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25424 $as_echo_n "checking for casin... " >&6; }
25425 if ${gcc_cv_math_func_casin+:} false
; then :
25426 $as_echo_n "(cached) " >&6
25428 if test x
$gcc_no_link = xyes
; then
25429 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25432 /* end confdefs.h. */
25434 #ifdef HAVE_COMPLEX_H
25435 #include <complex.h>
25441 int (*ptr)() = (int (*)())casin;
25450 if ac_fn_c_try_link
"$LINENO"; then :
25451 gcc_cv_math_func_casin
=yes
25453 gcc_cv_math_func_casin
=no
25455 rm -f core conftest.err conftest.
$ac_objext \
25456 conftest
$ac_exeext conftest.
$ac_ext
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25459 $as_echo "$gcc_cv_math_func_casin" >&6; }
25460 if test $gcc_cv_math_func_casin = yes; then
25462 cat >>confdefs.h
<<_ACEOF
25463 #define HAVE_CASIN 1
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25472 $as_echo_n "checking for casinf... " >&6; }
25473 if ${gcc_cv_math_func_casinf+:} false
; then :
25474 $as_echo_n "(cached) " >&6
25476 if test x
$gcc_no_link = xyes
; then
25477 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h. */
25482 #ifdef HAVE_COMPLEX_H
25483 #include <complex.h>
25489 int (*ptr)() = (int (*)())casinf;
25498 if ac_fn_c_try_link
"$LINENO"; then :
25499 gcc_cv_math_func_casinf
=yes
25501 gcc_cv_math_func_casinf
=no
25503 rm -f core conftest.err conftest.
$ac_objext \
25504 conftest
$ac_exeext conftest.
$ac_ext
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25507 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25508 if test $gcc_cv_math_func_casinf = yes; then
25510 cat >>confdefs.h
<<_ACEOF
25511 #define HAVE_CASINF 1
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25520 $as_echo_n "checking for casinh... " >&6; }
25521 if ${gcc_cv_math_func_casinh+:} false
; then :
25522 $as_echo_n "(cached) " >&6
25524 if test x
$gcc_no_link = xyes
; then
25525 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25530 #ifdef HAVE_COMPLEX_H
25531 #include <complex.h>
25537 int (*ptr)() = (int (*)())casinh;
25546 if ac_fn_c_try_link
"$LINENO"; then :
25547 gcc_cv_math_func_casinh
=yes
25549 gcc_cv_math_func_casinh
=no
25551 rm -f core conftest.err conftest.
$ac_objext \
25552 conftest
$ac_exeext conftest.
$ac_ext
25554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25555 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25556 if test $gcc_cv_math_func_casinh = yes; then
25558 cat >>confdefs.h
<<_ACEOF
25559 #define HAVE_CASINH 1
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25568 $as_echo_n "checking for casinhf... " >&6; }
25569 if ${gcc_cv_math_func_casinhf+:} false
; then :
25570 $as_echo_n "(cached) " >&6
25572 if test x
$gcc_no_link = xyes
; then
25573 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25576 /* end confdefs.h. */
25578 #ifdef HAVE_COMPLEX_H
25579 #include <complex.h>
25585 int (*ptr)() = (int (*)())casinhf;
25594 if ac_fn_c_try_link
"$LINENO"; then :
25595 gcc_cv_math_func_casinhf
=yes
25597 gcc_cv_math_func_casinhf
=no
25599 rm -f core conftest.err conftest.
$ac_objext \
25600 conftest
$ac_exeext conftest.
$ac_ext
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25603 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25604 if test $gcc_cv_math_func_casinhf = yes; then
25606 cat >>confdefs.h
<<_ACEOF
25607 #define HAVE_CASINHF 1
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25616 $as_echo_n "checking for casinhl... " >&6; }
25617 if ${gcc_cv_math_func_casinhl+:} false
; then :
25618 $as_echo_n "(cached) " >&6
25620 if test x
$gcc_no_link = xyes
; then
25621 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25624 /* end confdefs.h. */
25626 #ifdef HAVE_COMPLEX_H
25627 #include <complex.h>
25633 int (*ptr)() = (int (*)())casinhl;
25642 if ac_fn_c_try_link
"$LINENO"; then :
25643 gcc_cv_math_func_casinhl
=yes
25645 gcc_cv_math_func_casinhl
=no
25647 rm -f core conftest.err conftest.
$ac_objext \
25648 conftest
$ac_exeext conftest.
$ac_ext
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25651 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25652 if test $gcc_cv_math_func_casinhl = yes; then
25654 cat >>confdefs.h
<<_ACEOF
25655 #define HAVE_CASINHL 1
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25664 $as_echo_n "checking for casinl... " >&6; }
25665 if ${gcc_cv_math_func_casinl+:} false
; then :
25666 $as_echo_n "(cached) " >&6
25668 if test x
$gcc_no_link = xyes
; then
25669 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25672 /* end confdefs.h. */
25674 #ifdef HAVE_COMPLEX_H
25675 #include <complex.h>
25681 int (*ptr)() = (int (*)())casinl;
25690 if ac_fn_c_try_link
"$LINENO"; then :
25691 gcc_cv_math_func_casinl
=yes
25693 gcc_cv_math_func_casinl
=no
25695 rm -f core conftest.err conftest.
$ac_objext \
25696 conftest
$ac_exeext conftest.
$ac_ext
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25699 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25700 if test $gcc_cv_math_func_casinl = yes; then
25702 cat >>confdefs.h
<<_ACEOF
25703 #define HAVE_CASINL 1
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25712 $as_echo_n "checking for catan... " >&6; }
25713 if ${gcc_cv_math_func_catan+:} false
; then :
25714 $as_echo_n "(cached) " >&6
25716 if test x
$gcc_no_link = xyes
; then
25717 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25720 /* end confdefs.h. */
25722 #ifdef HAVE_COMPLEX_H
25723 #include <complex.h>
25729 int (*ptr)() = (int (*)())catan;
25738 if ac_fn_c_try_link
"$LINENO"; then :
25739 gcc_cv_math_func_catan
=yes
25741 gcc_cv_math_func_catan
=no
25743 rm -f core conftest.err conftest.
$ac_objext \
25744 conftest
$ac_exeext conftest.
$ac_ext
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25747 $as_echo "$gcc_cv_math_func_catan" >&6; }
25748 if test $gcc_cv_math_func_catan = yes; then
25750 cat >>confdefs.h
<<_ACEOF
25751 #define HAVE_CATAN 1
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25760 $as_echo_n "checking for catanf... " >&6; }
25761 if ${gcc_cv_math_func_catanf+:} false
; then :
25762 $as_echo_n "(cached) " >&6
25764 if test x
$gcc_no_link = xyes
; then
25765 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25768 /* end confdefs.h. */
25770 #ifdef HAVE_COMPLEX_H
25771 #include <complex.h>
25777 int (*ptr)() = (int (*)())catanf;
25786 if ac_fn_c_try_link
"$LINENO"; then :
25787 gcc_cv_math_func_catanf
=yes
25789 gcc_cv_math_func_catanf
=no
25791 rm -f core conftest.err conftest.
$ac_objext \
25792 conftest
$ac_exeext conftest.
$ac_ext
25794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25795 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25796 if test $gcc_cv_math_func_catanf = yes; then
25798 cat >>confdefs.h
<<_ACEOF
25799 #define HAVE_CATANF 1
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25808 $as_echo_n "checking for catanh... " >&6; }
25809 if ${gcc_cv_math_func_catanh+:} false
; then :
25810 $as_echo_n "(cached) " >&6
25812 if test x
$gcc_no_link = xyes
; then
25813 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25818 #ifdef HAVE_COMPLEX_H
25819 #include <complex.h>
25825 int (*ptr)() = (int (*)())catanh;
25834 if ac_fn_c_try_link
"$LINENO"; then :
25835 gcc_cv_math_func_catanh
=yes
25837 gcc_cv_math_func_catanh
=no
25839 rm -f core conftest.err conftest.
$ac_objext \
25840 conftest
$ac_exeext conftest.
$ac_ext
25842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25843 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25844 if test $gcc_cv_math_func_catanh = yes; then
25846 cat >>confdefs.h
<<_ACEOF
25847 #define HAVE_CATANH 1
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25856 $as_echo_n "checking for catanhf... " >&6; }
25857 if ${gcc_cv_math_func_catanhf+:} false
; then :
25858 $as_echo_n "(cached) " >&6
25860 if test x
$gcc_no_link = xyes
; then
25861 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25864 /* end confdefs.h. */
25866 #ifdef HAVE_COMPLEX_H
25867 #include <complex.h>
25873 int (*ptr)() = (int (*)())catanhf;
25882 if ac_fn_c_try_link
"$LINENO"; then :
25883 gcc_cv_math_func_catanhf
=yes
25885 gcc_cv_math_func_catanhf
=no
25887 rm -f core conftest.err conftest.
$ac_objext \
25888 conftest
$ac_exeext conftest.
$ac_ext
25890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25891 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25892 if test $gcc_cv_math_func_catanhf = yes; then
25894 cat >>confdefs.h
<<_ACEOF
25895 #define HAVE_CATANHF 1
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25904 $as_echo_n "checking for catanhl... " >&6; }
25905 if ${gcc_cv_math_func_catanhl+:} false
; then :
25906 $as_echo_n "(cached) " >&6
25908 if test x
$gcc_no_link = xyes
; then
25909 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25912 /* end confdefs.h. */
25914 #ifdef HAVE_COMPLEX_H
25915 #include <complex.h>
25921 int (*ptr)() = (int (*)())catanhl;
25930 if ac_fn_c_try_link
"$LINENO"; then :
25931 gcc_cv_math_func_catanhl
=yes
25933 gcc_cv_math_func_catanhl
=no
25935 rm -f core conftest.err conftest.
$ac_objext \
25936 conftest
$ac_exeext conftest.
$ac_ext
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25939 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25940 if test $gcc_cv_math_func_catanhl = yes; then
25942 cat >>confdefs.h
<<_ACEOF
25943 #define HAVE_CATANHL 1
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25952 $as_echo_n "checking for catanl... " >&6; }
25953 if ${gcc_cv_math_func_catanl+:} false
; then :
25954 $as_echo_n "(cached) " >&6
25956 if test x
$gcc_no_link = xyes
; then
25957 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25960 /* end confdefs.h. */
25962 #ifdef HAVE_COMPLEX_H
25963 #include <complex.h>
25969 int (*ptr)() = (int (*)())catanl;
25978 if ac_fn_c_try_link
"$LINENO"; then :
25979 gcc_cv_math_func_catanl
=yes
25981 gcc_cv_math_func_catanl
=no
25983 rm -f core conftest.err conftest.
$ac_objext \
25984 conftest
$ac_exeext conftest.
$ac_ext
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25987 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25988 if test $gcc_cv_math_func_catanl = yes; then
25990 cat >>confdefs.h
<<_ACEOF
25991 #define HAVE_CATANL 1
25997 # For POWER, check the ieee128 math functions
25999 if test "x$have_real_17" = "xyes"; then
26001 cat >>confdefs.h
<<_ACEOF
26002 #define HAVE_REAL_17 1
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
26010 $as_echo_n "checking for __acoshieee128... " >&6; }
26011 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
26012 $as_echo_n "(cached) " >&6
26014 if test x
$gcc_no_link = xyes
; then
26015 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26018 /* end confdefs.h. */
26020 _Float128 __acoshieee128 (_Float128);
26021 _Float128 (*ptr)(_Float128) = __acoshieee128;
26030 if ac_fn_c_try_link
"$LINENO"; then :
26031 gcc_cv_math_func___acoshieee128
=yes
26033 gcc_cv_math_func___acoshieee128
=no
26035 rm -f core conftest.err conftest.
$ac_objext \
26036 conftest
$ac_exeext conftest.
$ac_ext
26038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
26039 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
26040 if test $gcc_cv_math_func___acoshieee128 = yes; then
26042 cat >>confdefs.h
<<_ACEOF
26043 #define HAVE___ACOSHIEEE128 1
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
26052 $as_echo_n "checking for __acosieee128... " >&6; }
26053 if ${gcc_cv_math_func___acosieee128+:} false
; then :
26054 $as_echo_n "(cached) " >&6
26056 if test x
$gcc_no_link = xyes
; then
26057 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26060 /* end confdefs.h. */
26062 _Float128 __acosieee128 (_Float128);
26063 _Float128 (*ptr)(_Float128) = __acosieee128;
26072 if ac_fn_c_try_link
"$LINENO"; then :
26073 gcc_cv_math_func___acosieee128
=yes
26075 gcc_cv_math_func___acosieee128
=no
26077 rm -f core conftest.err conftest.
$ac_objext \
26078 conftest
$ac_exeext conftest.
$ac_ext
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
26081 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
26082 if test $gcc_cv_math_func___acosieee128 = yes; then
26084 cat >>confdefs.h
<<_ACEOF
26085 #define HAVE___ACOSIEEE128 1
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
26094 $as_echo_n "checking for __asinhieee128... " >&6; }
26095 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
26096 $as_echo_n "(cached) " >&6
26098 if test x
$gcc_no_link = xyes
; then
26099 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h. */
26104 _Float128 __asinhieee128 (_Float128);
26105 _Float128 (*ptr)(_Float128) = __asinhieee128;
26114 if ac_fn_c_try_link
"$LINENO"; then :
26115 gcc_cv_math_func___asinhieee128
=yes
26117 gcc_cv_math_func___asinhieee128
=no
26119 rm -f core conftest.err conftest.
$ac_objext \
26120 conftest
$ac_exeext conftest.
$ac_ext
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26123 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26124 if test $gcc_cv_math_func___asinhieee128 = yes; then
26126 cat >>confdefs.h
<<_ACEOF
26127 #define HAVE___ASINHIEEE128 1
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26136 $as_echo_n "checking for __asinieee128... " >&6; }
26137 if ${gcc_cv_math_func___asinieee128+:} false
; then :
26138 $as_echo_n "(cached) " >&6
26140 if test x
$gcc_no_link = xyes
; then
26141 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26144 /* end confdefs.h. */
26146 _Float128 __asinieee128 (_Float128);
26147 _Float128 (*ptr)(_Float128) = __asinieee128;
26156 if ac_fn_c_try_link
"$LINENO"; then :
26157 gcc_cv_math_func___asinieee128
=yes
26159 gcc_cv_math_func___asinieee128
=no
26161 rm -f core conftest.err conftest.
$ac_objext \
26162 conftest
$ac_exeext conftest.
$ac_ext
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26165 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26166 if test $gcc_cv_math_func___asinieee128 = yes; then
26168 cat >>confdefs.h
<<_ACEOF
26169 #define HAVE___ASINIEEE128 1
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26178 $as_echo_n "checking for __atan2ieee128... " >&6; }
26179 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26180 $as_echo_n "(cached) " >&6
26182 if test x
$gcc_no_link = xyes
; then
26183 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h. */
26188 _Float128 __atan2ieee128 (_Float128);
26189 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26198 if ac_fn_c_try_link
"$LINENO"; then :
26199 gcc_cv_math_func___atan2ieee128
=yes
26201 gcc_cv_math_func___atan2ieee128
=no
26203 rm -f core conftest.err conftest.
$ac_objext \
26204 conftest
$ac_exeext conftest.
$ac_ext
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26207 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26208 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26210 cat >>confdefs.h
<<_ACEOF
26211 #define HAVE___ATAN2IEEE128 1
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26220 $as_echo_n "checking for __atanhieee128... " >&6; }
26221 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26222 $as_echo_n "(cached) " >&6
26224 if test x
$gcc_no_link = xyes
; then
26225 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h. */
26230 _Float128 __atanhieee128 (_Float128);
26231 _Float128 (*ptr)(_Float128) = __atanhieee128;
26240 if ac_fn_c_try_link
"$LINENO"; then :
26241 gcc_cv_math_func___atanhieee128
=yes
26243 gcc_cv_math_func___atanhieee128
=no
26245 rm -f core conftest.err conftest.
$ac_objext \
26246 conftest
$ac_exeext conftest.
$ac_ext
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26249 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26250 if test $gcc_cv_math_func___atanhieee128 = yes; then
26252 cat >>confdefs.h
<<_ACEOF
26253 #define HAVE___ATANHIEEE128 1
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26262 $as_echo_n "checking for __atanieee128... " >&6; }
26263 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26264 $as_echo_n "(cached) " >&6
26266 if test x
$gcc_no_link = xyes
; then
26267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h. */
26272 _Float128 __atanieee128 (_Float128);
26273 _Float128 (*ptr)(_Float128) = __atanieee128;
26282 if ac_fn_c_try_link
"$LINENO"; then :
26283 gcc_cv_math_func___atanieee128
=yes
26285 gcc_cv_math_func___atanieee128
=no
26287 rm -f core conftest.err conftest.
$ac_objext \
26288 conftest
$ac_exeext conftest.
$ac_ext
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26291 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26292 if test $gcc_cv_math_func___atanieee128 = yes; then
26294 cat >>confdefs.h
<<_ACEOF
26295 #define HAVE___ATANIEEE128 1
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26304 $as_echo_n "checking for __coshieee128... " >&6; }
26305 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26306 $as_echo_n "(cached) " >&6
26308 if test x
$gcc_no_link = xyes
; then
26309 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26312 /* end confdefs.h. */
26314 _Float128 __coshieee128 (_Float128);
26315 _Float128 (*ptr)(_Float128) = __coshieee128;
26324 if ac_fn_c_try_link
"$LINENO"; then :
26325 gcc_cv_math_func___coshieee128
=yes
26327 gcc_cv_math_func___coshieee128
=no
26329 rm -f core conftest.err conftest.
$ac_objext \
26330 conftest
$ac_exeext conftest.
$ac_ext
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26333 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26334 if test $gcc_cv_math_func___coshieee128 = yes; then
26336 cat >>confdefs.h
<<_ACEOF
26337 #define HAVE___COSHIEEE128 1
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26346 $as_echo_n "checking for __cosieee128... " >&6; }
26347 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26348 $as_echo_n "(cached) " >&6
26350 if test x
$gcc_no_link = xyes
; then
26351 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h. */
26356 _Float128 __cosieee128 (_Float128);
26357 _Float128 (*ptr)(_Float128) = __cosieee128;
26366 if ac_fn_c_try_link
"$LINENO"; then :
26367 gcc_cv_math_func___cosieee128
=yes
26369 gcc_cv_math_func___cosieee128
=no
26371 rm -f core conftest.err conftest.
$ac_objext \
26372 conftest
$ac_exeext conftest.
$ac_ext
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26375 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26376 if test $gcc_cv_math_func___cosieee128 = yes; then
26378 cat >>confdefs.h
<<_ACEOF
26379 #define HAVE___COSIEEE128 1
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26388 $as_echo_n "checking for __erfieee128... " >&6; }
26389 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26390 $as_echo_n "(cached) " >&6
26392 if test x
$gcc_no_link = xyes
; then
26393 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h. */
26398 _Float128 __erfieee128 (_Float128);
26399 _Float128 (*ptr)(_Float128) = __erfieee128;
26408 if ac_fn_c_try_link
"$LINENO"; then :
26409 gcc_cv_math_func___erfieee128
=yes
26411 gcc_cv_math_func___erfieee128
=no
26413 rm -f core conftest.err conftest.
$ac_objext \
26414 conftest
$ac_exeext conftest.
$ac_ext
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26417 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26418 if test $gcc_cv_math_func___erfieee128 = yes; then
26420 cat >>confdefs.h
<<_ACEOF
26421 #define HAVE___ERFIEEE128 1
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26430 $as_echo_n "checking for __expieee128... " >&6; }
26431 if ${gcc_cv_math_func___expieee128+:} false
; then :
26432 $as_echo_n "(cached) " >&6
26434 if test x
$gcc_no_link = xyes
; then
26435 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h. */
26440 _Float128 __expieee128 (_Float128);
26441 _Float128 (*ptr)(_Float128) = __expieee128;
26450 if ac_fn_c_try_link
"$LINENO"; then :
26451 gcc_cv_math_func___expieee128
=yes
26453 gcc_cv_math_func___expieee128
=no
26455 rm -f core conftest.err conftest.
$ac_objext \
26456 conftest
$ac_exeext conftest.
$ac_ext
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26459 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26460 if test $gcc_cv_math_func___expieee128 = yes; then
26462 cat >>confdefs.h
<<_ACEOF
26463 #define HAVE___EXPIEEE128 1
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26472 $as_echo_n "checking for __fabsieee128... " >&6; }
26473 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26474 $as_echo_n "(cached) " >&6
26476 if test x
$gcc_no_link = xyes
; then
26477 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26480 /* end confdefs.h. */
26482 _Float128 __fabsieee128 (_Float128);
26483 _Float128 (*ptr)(_Float128) = __fabsieee128;
26492 if ac_fn_c_try_link
"$LINENO"; then :
26493 gcc_cv_math_func___fabsieee128
=yes
26495 gcc_cv_math_func___fabsieee128
=no
26497 rm -f core conftest.err conftest.
$ac_objext \
26498 conftest
$ac_exeext conftest.
$ac_ext
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26501 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26502 if test $gcc_cv_math_func___fabsieee128 = yes; then
26504 cat >>confdefs.h
<<_ACEOF
26505 #define HAVE___FABSIEEE128 1
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26514 $as_echo_n "checking for __jnieee128... " >&6; }
26515 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26516 $as_echo_n "(cached) " >&6
26518 if test x
$gcc_no_link = xyes
; then
26519 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h. */
26524 _Float128 __jnieee128 (_Float128);
26525 _Float128 (*ptr)(_Float128) = __jnieee128;
26534 if ac_fn_c_try_link
"$LINENO"; then :
26535 gcc_cv_math_func___jnieee128
=yes
26537 gcc_cv_math_func___jnieee128
=no
26539 rm -f core conftest.err conftest.
$ac_objext \
26540 conftest
$ac_exeext conftest.
$ac_ext
26542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26543 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26544 if test $gcc_cv_math_func___jnieee128 = yes; then
26546 cat >>confdefs.h
<<_ACEOF
26547 #define HAVE___JNIEEE128 1
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26556 $as_echo_n "checking for __log10ieee128... " >&6; }
26557 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26558 $as_echo_n "(cached) " >&6
26560 if test x
$gcc_no_link = xyes
; then
26561 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26564 /* end confdefs.h. */
26566 _Float128 __log10ieee128 (_Float128);
26567 _Float128 (*ptr)(_Float128) = __log10ieee128;
26576 if ac_fn_c_try_link
"$LINENO"; then :
26577 gcc_cv_math_func___log10ieee128
=yes
26579 gcc_cv_math_func___log10ieee128
=no
26581 rm -f core conftest.err conftest.
$ac_objext \
26582 conftest
$ac_exeext conftest.
$ac_ext
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26585 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26586 if test $gcc_cv_math_func___log10ieee128 = yes; then
26588 cat >>confdefs.h
<<_ACEOF
26589 #define HAVE___LOG10IEEE128 1
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26598 $as_echo_n "checking for __logieee128... " >&6; }
26599 if ${gcc_cv_math_func___logieee128+:} false
; then :
26600 $as_echo_n "(cached) " >&6
26602 if test x
$gcc_no_link = xyes
; then
26603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26606 /* end confdefs.h. */
26608 _Float128 __logieee128 (_Float128);
26609 _Float128 (*ptr)(_Float128) = __logieee128;
26618 if ac_fn_c_try_link
"$LINENO"; then :
26619 gcc_cv_math_func___logieee128
=yes
26621 gcc_cv_math_func___logieee128
=no
26623 rm -f core conftest.err conftest.
$ac_objext \
26624 conftest
$ac_exeext conftest.
$ac_ext
26626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26627 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26628 if test $gcc_cv_math_func___logieee128 = yes; then
26630 cat >>confdefs.h
<<_ACEOF
26631 #define HAVE___LOGIEEE128 1
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26640 $as_echo_n "checking for __powieee128... " >&6; }
26641 if ${gcc_cv_math_func___powieee128+:} false
; then :
26642 $as_echo_n "(cached) " >&6
26644 if test x
$gcc_no_link = xyes
; then
26645 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26648 /* end confdefs.h. */
26650 _Float128 __powieee128 (_Float128);
26651 _Float128 (*ptr)(_Float128) = __powieee128;
26660 if ac_fn_c_try_link
"$LINENO"; then :
26661 gcc_cv_math_func___powieee128
=yes
26663 gcc_cv_math_func___powieee128
=no
26665 rm -f core conftest.err conftest.
$ac_objext \
26666 conftest
$ac_exeext conftest.
$ac_ext
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26669 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26670 if test $gcc_cv_math_func___powieee128 = yes; then
26672 cat >>confdefs.h
<<_ACEOF
26673 #define HAVE___POWIEEE128 1
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26682 $as_echo_n "checking for __sinhieee128... " >&6; }
26683 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26684 $as_echo_n "(cached) " >&6
26686 if test x
$gcc_no_link = xyes
; then
26687 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26692 _Float128 __sinhieee128 (_Float128);
26693 _Float128 (*ptr)(_Float128) = __sinhieee128;
26702 if ac_fn_c_try_link
"$LINENO"; then :
26703 gcc_cv_math_func___sinhieee128
=yes
26705 gcc_cv_math_func___sinhieee128
=no
26707 rm -f core conftest.err conftest.
$ac_objext \
26708 conftest
$ac_exeext conftest.
$ac_ext
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26711 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26712 if test $gcc_cv_math_func___sinhieee128 = yes; then
26714 cat >>confdefs.h
<<_ACEOF
26715 #define HAVE___SINHIEEE128 1
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26724 $as_echo_n "checking for __sinieee128... " >&6; }
26725 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26726 $as_echo_n "(cached) " >&6
26728 if test x
$gcc_no_link = xyes
; then
26729 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26734 _Float128 __sinieee128 (_Float128);
26735 _Float128 (*ptr)(_Float128) = __sinieee128;
26744 if ac_fn_c_try_link
"$LINENO"; then :
26745 gcc_cv_math_func___sinieee128
=yes
26747 gcc_cv_math_func___sinieee128
=no
26749 rm -f core conftest.err conftest.
$ac_objext \
26750 conftest
$ac_exeext conftest.
$ac_ext
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26753 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26754 if test $gcc_cv_math_func___sinieee128 = yes; then
26756 cat >>confdefs.h
<<_ACEOF
26757 #define HAVE___SINIEEE128 1
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26766 $as_echo_n "checking for __sqrtieee128... " >&6; }
26767 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26768 $as_echo_n "(cached) " >&6
26770 if test x
$gcc_no_link = xyes
; then
26771 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26774 /* end confdefs.h. */
26776 _Float128 __sqrtieee128 (_Float128);
26777 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26786 if ac_fn_c_try_link
"$LINENO"; then :
26787 gcc_cv_math_func___sqrtieee128
=yes
26789 gcc_cv_math_func___sqrtieee128
=no
26791 rm -f core conftest.err conftest.
$ac_objext \
26792 conftest
$ac_exeext conftest.
$ac_ext
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26795 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26796 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26798 cat >>confdefs.h
<<_ACEOF
26799 #define HAVE___SQRTIEEE128 1
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26808 $as_echo_n "checking for __tanhieee128... " >&6; }
26809 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26810 $as_echo_n "(cached) " >&6
26812 if test x
$gcc_no_link = xyes
; then
26813 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h. */
26818 _Float128 __tanhieee128 (_Float128);
26819 _Float128 (*ptr)(_Float128) = __tanhieee128;
26828 if ac_fn_c_try_link
"$LINENO"; then :
26829 gcc_cv_math_func___tanhieee128
=yes
26831 gcc_cv_math_func___tanhieee128
=no
26833 rm -f core conftest.err conftest.
$ac_objext \
26834 conftest
$ac_exeext conftest.
$ac_ext
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26837 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26838 if test $gcc_cv_math_func___tanhieee128 = yes; then
26840 cat >>confdefs.h
<<_ACEOF
26841 #define HAVE___TANHIEEE128 1
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26850 $as_echo_n "checking for __tanieee128... " >&6; }
26851 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26852 $as_echo_n "(cached) " >&6
26854 if test x
$gcc_no_link = xyes
; then
26855 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26858 /* end confdefs.h. */
26860 _Float128 __tanieee128 (_Float128);
26861 _Float128 (*ptr)(_Float128) = __tanieee128;
26870 if ac_fn_c_try_link
"$LINENO"; then :
26871 gcc_cv_math_func___tanieee128
=yes
26873 gcc_cv_math_func___tanieee128
=no
26875 rm -f core conftest.err conftest.
$ac_objext \
26876 conftest
$ac_exeext conftest.
$ac_ext
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26879 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26880 if test $gcc_cv_math_func___tanieee128 = yes; then
26882 cat >>confdefs.h
<<_ACEOF
26883 #define HAVE___TANIEEE128 1
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26892 $as_echo_n "checking for __ynieee128... " >&6; }
26893 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26894 $as_echo_n "(cached) " >&6
26896 if test x
$gcc_no_link = xyes
; then
26897 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26900 /* end confdefs.h. */
26902 _Float128 __ynieee128 (_Float128);
26903 _Float128 (*ptr)(_Float128) = __ynieee128;
26912 if ac_fn_c_try_link
"$LINENO"; then :
26913 gcc_cv_math_func___ynieee128
=yes
26915 gcc_cv_math_func___ynieee128
=no
26917 rm -f core conftest.err conftest.
$ac_objext \
26918 conftest
$ac_exeext conftest.
$ac_ext
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26921 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26922 if test $gcc_cv_math_func___ynieee128 = yes; then
26924 cat >>confdefs.h
<<_ACEOF
26925 #define HAVE___YNIEEE128 1
26932 # On AIX, clog is present in libm as __clog
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26934 $as_echo_n "checking for __clog in -lm... " >&6; }
26935 if ${ac_cv_lib_m___clog+:} false
; then :
26936 $as_echo_n "(cached) " >&6
26938 ac_check_lib_save_LIBS
=$LIBS
26940 if test x
$gcc_no_link = xyes
; then
26941 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26946 /* Override any GCC internal prototype to avoid an error.
26947 Use char because int might match the return type of a GCC
26948 builtin and then its argument prototype would still apply. */
26961 if ac_fn_c_try_link
"$LINENO"; then :
26962 ac_cv_lib_m___clog
=yes
26964 ac_cv_lib_m___clog
=no
26966 rm -f core conftest.err conftest.
$ac_objext \
26967 conftest
$ac_exeext conftest.
$ac_ext
26968 LIBS
=$ac_check_lib_save_LIBS
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26971 $as_echo "$ac_cv_lib_m___clog" >&6; }
26972 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26974 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26981 if test $gcc_cv_math_func_copysign = no
; then
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26983 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26984 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26985 $as_echo_n "(cached) " >&6
26987 if test x
$gcc_no_link = xyes
; then
26988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26991 /* end confdefs.h. */
26994 copysign_fallback (double x, double y)
26996 return __builtin_copysign (x, y);
27006 if ac_fn_c_try_link
"$LINENO"; then :
27007 gcc_cv_math_inline_builtin_copysign
=yes
27009 gcc_cv_math_inline_builtin_copysign
=no
27011 rm -f core conftest.err conftest.
$ac_objext \
27012 conftest
$ac_exeext conftest.
$ac_ext
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
27015 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
27016 if test $gcc_cv_math_inline_builtin_copysign = yes; then
27018 cat >>confdefs.h
<<_ACEOF
27019 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
27026 if test $gcc_cv_math_func_copysignl = no
; then
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
27028 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
27029 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
27030 $as_echo_n "(cached) " >&6
27032 if test x
$gcc_no_link = xyes
; then
27033 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27036 /* end confdefs.h. */
27039 copysignl_fallback (long double x, long double y)
27041 return __builtin_copysignl (x, y);
27051 if ac_fn_c_try_link
"$LINENO"; then :
27052 gcc_cv_math_inline_builtin_copysignl
=yes
27054 gcc_cv_math_inline_builtin_copysignl
=no
27056 rm -f core conftest.err conftest.
$ac_objext \
27057 conftest
$ac_exeext conftest.
$ac_ext
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
27060 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
27061 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
27063 cat >>confdefs.h
<<_ACEOF
27064 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
27071 if test $gcc_cv_math_func_fabs = no
; then
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
27073 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
27074 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
27075 $as_echo_n "(cached) " >&6
27077 if test x
$gcc_no_link = xyes
; then
27078 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27081 /* end confdefs.h. */
27084 fabs_fallback (double x)
27086 return __builtin_fabs (x);
27096 if ac_fn_c_try_link
"$LINENO"; then :
27097 gcc_cv_math_inline_builtin_fabs
=yes
27099 gcc_cv_math_inline_builtin_fabs
=no
27101 rm -f core conftest.err conftest.
$ac_objext \
27102 conftest
$ac_exeext conftest.
$ac_ext
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27105 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27106 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27108 cat >>confdefs.h
<<_ACEOF
27109 #define HAVE_INLINE_BUILTIN_FABS 1
27116 if test $gcc_cv_math_func_fabsl = no
; then
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27118 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27119 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
27120 $as_echo_n "(cached) " >&6
27122 if test x
$gcc_no_link = xyes
; then
27123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27126 /* end confdefs.h. */
27129 fabsl_fallback (long double x)
27131 return __builtin_fabsl (x);
27141 if ac_fn_c_try_link
"$LINENO"; then :
27142 gcc_cv_math_inline_builtin_fabsl
=yes
27144 gcc_cv_math_inline_builtin_fabsl
=no
27146 rm -f core conftest.err conftest.
$ac_objext \
27147 conftest
$ac_exeext conftest.
$ac_ext
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27150 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27151 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27153 cat >>confdefs.h
<<_ACEOF
27154 #define HAVE_INLINE_BUILTIN_FABSL 1
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27164 $as_echo_n "checking for acosf128... " >&6; }
27165 if ${gcc_cv_math_func_acosf128+:} false
; then :
27166 $as_echo_n "(cached) " >&6
27168 if test x
$gcc_no_link = xyes
; then
27169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27174 #ifdef HAVE_COMPLEX_H
27175 #include <complex.h>
27181 int (*ptr)() = (int (*)())acosf128;
27190 if ac_fn_c_try_link
"$LINENO"; then :
27191 gcc_cv_math_func_acosf128
=yes
27193 gcc_cv_math_func_acosf128
=no
27195 rm -f core conftest.err conftest.
$ac_objext \
27196 conftest
$ac_exeext conftest.
$ac_ext
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27199 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27200 if test $gcc_cv_math_func_acosf128 = yes; then
27202 cat >>confdefs.h
<<_ACEOF
27203 #define HAVE_ACOSF128 1
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27212 $as_echo_n "checking for acoshf128... " >&6; }
27213 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27214 $as_echo_n "(cached) " >&6
27216 if test x
$gcc_no_link = xyes
; then
27217 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27220 /* end confdefs.h. */
27222 #ifdef HAVE_COMPLEX_H
27223 #include <complex.h>
27229 int (*ptr)() = (int (*)())acoshf128;
27238 if ac_fn_c_try_link
"$LINENO"; then :
27239 gcc_cv_math_func_acoshf128
=yes
27241 gcc_cv_math_func_acoshf128
=no
27243 rm -f core conftest.err conftest.
$ac_objext \
27244 conftest
$ac_exeext conftest.
$ac_ext
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27247 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27248 if test $gcc_cv_math_func_acoshf128 = yes; then
27250 cat >>confdefs.h
<<_ACEOF
27251 #define HAVE_ACOSHF128 1
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27260 $as_echo_n "checking for asinf128... " >&6; }
27261 if ${gcc_cv_math_func_asinf128+:} false
; then :
27262 $as_echo_n "(cached) " >&6
27264 if test x
$gcc_no_link = xyes
; then
27265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27268 /* end confdefs.h. */
27270 #ifdef HAVE_COMPLEX_H
27271 #include <complex.h>
27277 int (*ptr)() = (int (*)())asinf128;
27286 if ac_fn_c_try_link
"$LINENO"; then :
27287 gcc_cv_math_func_asinf128
=yes
27289 gcc_cv_math_func_asinf128
=no
27291 rm -f core conftest.err conftest.
$ac_objext \
27292 conftest
$ac_exeext conftest.
$ac_ext
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27295 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27296 if test $gcc_cv_math_func_asinf128 = yes; then
27298 cat >>confdefs.h
<<_ACEOF
27299 #define HAVE_ASINF128 1
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27308 $as_echo_n "checking for asinhf128... " >&6; }
27309 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27310 $as_echo_n "(cached) " >&6
27312 if test x
$gcc_no_link = xyes
; then
27313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27318 #ifdef HAVE_COMPLEX_H
27319 #include <complex.h>
27325 int (*ptr)() = (int (*)())asinhf128;
27334 if ac_fn_c_try_link
"$LINENO"; then :
27335 gcc_cv_math_func_asinhf128
=yes
27337 gcc_cv_math_func_asinhf128
=no
27339 rm -f core conftest.err conftest.
$ac_objext \
27340 conftest
$ac_exeext conftest.
$ac_ext
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27343 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27344 if test $gcc_cv_math_func_asinhf128 = yes; then
27346 cat >>confdefs.h
<<_ACEOF
27347 #define HAVE_ASINHF128 1
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27356 $as_echo_n "checking for atan2f128... " >&6; }
27357 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27358 $as_echo_n "(cached) " >&6
27360 if test x
$gcc_no_link = xyes
; then
27361 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27364 /* end confdefs.h. */
27366 #ifdef HAVE_COMPLEX_H
27367 #include <complex.h>
27373 int (*ptr)() = (int (*)())atan2f128;
27382 if ac_fn_c_try_link
"$LINENO"; then :
27383 gcc_cv_math_func_atan2f128
=yes
27385 gcc_cv_math_func_atan2f128
=no
27387 rm -f core conftest.err conftest.
$ac_objext \
27388 conftest
$ac_exeext conftest.
$ac_ext
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27391 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27392 if test $gcc_cv_math_func_atan2f128 = yes; then
27394 cat >>confdefs.h
<<_ACEOF
27395 #define HAVE_ATAN2F128 1
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27404 $as_echo_n "checking for atanf128... " >&6; }
27405 if ${gcc_cv_math_func_atanf128+:} false
; then :
27406 $as_echo_n "(cached) " >&6
27408 if test x
$gcc_no_link = xyes
; then
27409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h. */
27414 #ifdef HAVE_COMPLEX_H
27415 #include <complex.h>
27421 int (*ptr)() = (int (*)())atanf128;
27430 if ac_fn_c_try_link
"$LINENO"; then :
27431 gcc_cv_math_func_atanf128
=yes
27433 gcc_cv_math_func_atanf128
=no
27435 rm -f core conftest.err conftest.
$ac_objext \
27436 conftest
$ac_exeext conftest.
$ac_ext
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27439 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27440 if test $gcc_cv_math_func_atanf128 = yes; then
27442 cat >>confdefs.h
<<_ACEOF
27443 #define HAVE_ATANF128 1
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27452 $as_echo_n "checking for atanhf128... " >&6; }
27453 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27454 $as_echo_n "(cached) " >&6
27456 if test x
$gcc_no_link = xyes
; then
27457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27460 /* end confdefs.h. */
27462 #ifdef HAVE_COMPLEX_H
27463 #include <complex.h>
27469 int (*ptr)() = (int (*)())atanhf128;
27478 if ac_fn_c_try_link
"$LINENO"; then :
27479 gcc_cv_math_func_atanhf128
=yes
27481 gcc_cv_math_func_atanhf128
=no
27483 rm -f core conftest.err conftest.
$ac_objext \
27484 conftest
$ac_exeext conftest.
$ac_ext
27486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27487 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27488 if test $gcc_cv_math_func_atanhf128 = yes; then
27490 cat >>confdefs.h
<<_ACEOF
27491 #define HAVE_ATANHF128 1
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27500 $as_echo_n "checking for cargf128... " >&6; }
27501 if ${gcc_cv_math_func_cargf128+:} false
; then :
27502 $as_echo_n "(cached) " >&6
27504 if test x
$gcc_no_link = xyes
; then
27505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27508 /* end confdefs.h. */
27510 #ifdef HAVE_COMPLEX_H
27511 #include <complex.h>
27517 int (*ptr)() = (int (*)())cargf128;
27526 if ac_fn_c_try_link
"$LINENO"; then :
27527 gcc_cv_math_func_cargf128
=yes
27529 gcc_cv_math_func_cargf128
=no
27531 rm -f core conftest.err conftest.
$ac_objext \
27532 conftest
$ac_exeext conftest.
$ac_ext
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27535 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27536 if test $gcc_cv_math_func_cargf128 = yes; then
27538 cat >>confdefs.h
<<_ACEOF
27539 #define HAVE_CARGF128 1
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27548 $as_echo_n "checking for ceilf128... " >&6; }
27549 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27550 $as_echo_n "(cached) " >&6
27552 if test x
$gcc_no_link = xyes
; then
27553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27558 #ifdef HAVE_COMPLEX_H
27559 #include <complex.h>
27565 int (*ptr)() = (int (*)())ceilf128;
27574 if ac_fn_c_try_link
"$LINENO"; then :
27575 gcc_cv_math_func_ceilf128
=yes
27577 gcc_cv_math_func_ceilf128
=no
27579 rm -f core conftest.err conftest.
$ac_objext \
27580 conftest
$ac_exeext conftest.
$ac_ext
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27583 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27584 if test $gcc_cv_math_func_ceilf128 = yes; then
27586 cat >>confdefs.h
<<_ACEOF
27587 #define HAVE_CEILF128 1
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27596 $as_echo_n "checking for copysignf128... " >&6; }
27597 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27598 $as_echo_n "(cached) " >&6
27600 if test x
$gcc_no_link = xyes
; then
27601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27604 /* end confdefs.h. */
27606 #ifdef HAVE_COMPLEX_H
27607 #include <complex.h>
27613 int (*ptr)() = (int (*)())copysignf128;
27622 if ac_fn_c_try_link
"$LINENO"; then :
27623 gcc_cv_math_func_copysignf128
=yes
27625 gcc_cv_math_func_copysignf128
=no
27627 rm -f core conftest.err conftest.
$ac_objext \
27628 conftest
$ac_exeext conftest.
$ac_ext
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27631 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27632 if test $gcc_cv_math_func_copysignf128 = yes; then
27634 cat >>confdefs.h
<<_ACEOF
27635 #define HAVE_COPYSIGNF128 1
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27644 $as_echo_n "checking for cosf128... " >&6; }
27645 if ${gcc_cv_math_func_cosf128+:} false
; then :
27646 $as_echo_n "(cached) " >&6
27648 if test x
$gcc_no_link = xyes
; then
27649 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27652 /* end confdefs.h. */
27654 #ifdef HAVE_COMPLEX_H
27655 #include <complex.h>
27661 int (*ptr)() = (int (*)())cosf128;
27670 if ac_fn_c_try_link
"$LINENO"; then :
27671 gcc_cv_math_func_cosf128
=yes
27673 gcc_cv_math_func_cosf128
=no
27675 rm -f core conftest.err conftest.
$ac_objext \
27676 conftest
$ac_exeext conftest.
$ac_ext
27678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27679 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27680 if test $gcc_cv_math_func_cosf128 = yes; then
27682 cat >>confdefs.h
<<_ACEOF
27683 #define HAVE_COSF128 1
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27692 $as_echo_n "checking for ccosf128... " >&6; }
27693 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27694 $as_echo_n "(cached) " >&6
27696 if test x
$gcc_no_link = xyes
; then
27697 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27702 #ifdef HAVE_COMPLEX_H
27703 #include <complex.h>
27709 int (*ptr)() = (int (*)())ccosf128;
27718 if ac_fn_c_try_link
"$LINENO"; then :
27719 gcc_cv_math_func_ccosf128
=yes
27721 gcc_cv_math_func_ccosf128
=no
27723 rm -f core conftest.err conftest.
$ac_objext \
27724 conftest
$ac_exeext conftest.
$ac_ext
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27727 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27728 if test $gcc_cv_math_func_ccosf128 = yes; then
27730 cat >>confdefs.h
<<_ACEOF
27731 #define HAVE_CCOSF128 1
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27740 $as_echo_n "checking for coshf128... " >&6; }
27741 if ${gcc_cv_math_func_coshf128+:} false
; then :
27742 $as_echo_n "(cached) " >&6
27744 if test x
$gcc_no_link = xyes
; then
27745 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27748 /* end confdefs.h. */
27750 #ifdef HAVE_COMPLEX_H
27751 #include <complex.h>
27757 int (*ptr)() = (int (*)())coshf128;
27766 if ac_fn_c_try_link
"$LINENO"; then :
27767 gcc_cv_math_func_coshf128
=yes
27769 gcc_cv_math_func_coshf128
=no
27771 rm -f core conftest.err conftest.
$ac_objext \
27772 conftest
$ac_exeext conftest.
$ac_ext
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27775 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27776 if test $gcc_cv_math_func_coshf128 = yes; then
27778 cat >>confdefs.h
<<_ACEOF
27779 #define HAVE_COSHF128 1
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27788 $as_echo_n "checking for ccoshf128... " >&6; }
27789 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27790 $as_echo_n "(cached) " >&6
27792 if test x
$gcc_no_link = xyes
; then
27793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27796 /* end confdefs.h. */
27798 #ifdef HAVE_COMPLEX_H
27799 #include <complex.h>
27805 int (*ptr)() = (int (*)())ccoshf128;
27814 if ac_fn_c_try_link
"$LINENO"; then :
27815 gcc_cv_math_func_ccoshf128
=yes
27817 gcc_cv_math_func_ccoshf128
=no
27819 rm -f core conftest.err conftest.
$ac_objext \
27820 conftest
$ac_exeext conftest.
$ac_ext
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27823 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27824 if test $gcc_cv_math_func_ccoshf128 = yes; then
27826 cat >>confdefs.h
<<_ACEOF
27827 #define HAVE_CCOSHF128 1
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27836 $as_echo_n "checking for expf128... " >&6; }
27837 if ${gcc_cv_math_func_expf128+:} false
; then :
27838 $as_echo_n "(cached) " >&6
27840 if test x
$gcc_no_link = xyes
; then
27841 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27844 /* end confdefs.h. */
27846 #ifdef HAVE_COMPLEX_H
27847 #include <complex.h>
27853 int (*ptr)() = (int (*)())expf128;
27862 if ac_fn_c_try_link
"$LINENO"; then :
27863 gcc_cv_math_func_expf128
=yes
27865 gcc_cv_math_func_expf128
=no
27867 rm -f core conftest.err conftest.
$ac_objext \
27868 conftest
$ac_exeext conftest.
$ac_ext
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27871 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27872 if test $gcc_cv_math_func_expf128 = yes; then
27874 cat >>confdefs.h
<<_ACEOF
27875 #define HAVE_EXPF128 1
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27884 $as_echo_n "checking for cexpf128... " >&6; }
27885 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27886 $as_echo_n "(cached) " >&6
27888 if test x
$gcc_no_link = xyes
; then
27889 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27892 /* end confdefs.h. */
27894 #ifdef HAVE_COMPLEX_H
27895 #include <complex.h>
27901 int (*ptr)() = (int (*)())cexpf128;
27910 if ac_fn_c_try_link
"$LINENO"; then :
27911 gcc_cv_math_func_cexpf128
=yes
27913 gcc_cv_math_func_cexpf128
=no
27915 rm -f core conftest.err conftest.
$ac_objext \
27916 conftest
$ac_exeext conftest.
$ac_ext
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27919 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27920 if test $gcc_cv_math_func_cexpf128 = yes; then
27922 cat >>confdefs.h
<<_ACEOF
27923 #define HAVE_CEXPF128 1
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27932 $as_echo_n "checking for fabsf128... " >&6; }
27933 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27934 $as_echo_n "(cached) " >&6
27936 if test x
$gcc_no_link = xyes
; then
27937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27940 /* end confdefs.h. */
27942 #ifdef HAVE_COMPLEX_H
27943 #include <complex.h>
27949 int (*ptr)() = (int (*)())fabsf128;
27958 if ac_fn_c_try_link
"$LINENO"; then :
27959 gcc_cv_math_func_fabsf128
=yes
27961 gcc_cv_math_func_fabsf128
=no
27963 rm -f core conftest.err conftest.
$ac_objext \
27964 conftest
$ac_exeext conftest.
$ac_ext
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27967 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27968 if test $gcc_cv_math_func_fabsf128 = yes; then
27970 cat >>confdefs.h
<<_ACEOF
27971 #define HAVE_FABSF128 1
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27980 $as_echo_n "checking for cabsf128... " >&6; }
27981 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27982 $as_echo_n "(cached) " >&6
27984 if test x
$gcc_no_link = xyes
; then
27985 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27988 /* end confdefs.h. */
27990 #ifdef HAVE_COMPLEX_H
27991 #include <complex.h>
27997 int (*ptr)() = (int (*)())cabsf128;
28006 if ac_fn_c_try_link
"$LINENO"; then :
28007 gcc_cv_math_func_cabsf128
=yes
28009 gcc_cv_math_func_cabsf128
=no
28011 rm -f core conftest.err conftest.
$ac_objext \
28012 conftest
$ac_exeext conftest.
$ac_ext
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
28015 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
28016 if test $gcc_cv_math_func_cabsf128 = yes; then
28018 cat >>confdefs.h
<<_ACEOF
28019 #define HAVE_CABSF128 1
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
28028 $as_echo_n "checking for floorf128... " >&6; }
28029 if ${gcc_cv_math_func_floorf128+:} false
; then :
28030 $as_echo_n "(cached) " >&6
28032 if test x
$gcc_no_link = xyes
; then
28033 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28036 /* end confdefs.h. */
28038 #ifdef HAVE_COMPLEX_H
28039 #include <complex.h>
28045 int (*ptr)() = (int (*)())floorf128;
28054 if ac_fn_c_try_link
"$LINENO"; then :
28055 gcc_cv_math_func_floorf128
=yes
28057 gcc_cv_math_func_floorf128
=no
28059 rm -f core conftest.err conftest.
$ac_objext \
28060 conftest
$ac_exeext conftest.
$ac_ext
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
28063 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
28064 if test $gcc_cv_math_func_floorf128 = yes; then
28066 cat >>confdefs.h
<<_ACEOF
28067 #define HAVE_FLOORF128 1
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
28076 $as_echo_n "checking for fmaf128... " >&6; }
28077 if ${gcc_cv_math_func_fmaf128+:} false
; then :
28078 $as_echo_n "(cached) " >&6
28080 if test x
$gcc_no_link = xyes
; then
28081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28084 /* end confdefs.h. */
28086 #ifdef HAVE_COMPLEX_H
28087 #include <complex.h>
28093 int (*ptr)() = (int (*)())fmaf128;
28102 if ac_fn_c_try_link
"$LINENO"; then :
28103 gcc_cv_math_func_fmaf128
=yes
28105 gcc_cv_math_func_fmaf128
=no
28107 rm -f core conftest.err conftest.
$ac_objext \
28108 conftest
$ac_exeext conftest.
$ac_ext
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28111 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28112 if test $gcc_cv_math_func_fmaf128 = yes; then
28114 cat >>confdefs.h
<<_ACEOF
28115 #define HAVE_FMAF128 1
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28124 $as_echo_n "checking for fmodf128... " >&6; }
28125 if ${gcc_cv_math_func_fmodf128+:} false
; then :
28126 $as_echo_n "(cached) " >&6
28128 if test x
$gcc_no_link = xyes
; then
28129 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28132 /* end confdefs.h. */
28134 #ifdef HAVE_COMPLEX_H
28135 #include <complex.h>
28141 int (*ptr)() = (int (*)())fmodf128;
28150 if ac_fn_c_try_link
"$LINENO"; then :
28151 gcc_cv_math_func_fmodf128
=yes
28153 gcc_cv_math_func_fmodf128
=no
28155 rm -f core conftest.err conftest.
$ac_objext \
28156 conftest
$ac_exeext conftest.
$ac_ext
28158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28159 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28160 if test $gcc_cv_math_func_fmodf128 = yes; then
28162 cat >>confdefs.h
<<_ACEOF
28163 #define HAVE_FMODF128 1
28171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28172 $as_echo_n "checking for frexpf128... " >&6; }
28173 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28174 $as_echo_n "(cached) " >&6
28176 if test x
$gcc_no_link = xyes
; then
28177 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28180 /* end confdefs.h. */
28182 #ifdef HAVE_COMPLEX_H
28183 #include <complex.h>
28189 int (*ptr)() = (int (*)())frexpf128;
28198 if ac_fn_c_try_link
"$LINENO"; then :
28199 gcc_cv_math_func_frexpf128
=yes
28201 gcc_cv_math_func_frexpf128
=no
28203 rm -f core conftest.err conftest.
$ac_objext \
28204 conftest
$ac_exeext conftest.
$ac_ext
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28207 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28208 if test $gcc_cv_math_func_frexpf128 = yes; then
28210 cat >>confdefs.h
<<_ACEOF
28211 #define HAVE_FREXPF128 1
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28220 $as_echo_n "checking for hypotf128... " >&6; }
28221 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28222 $as_echo_n "(cached) " >&6
28224 if test x
$gcc_no_link = xyes
; then
28225 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28228 /* end confdefs.h. */
28230 #ifdef HAVE_COMPLEX_H
28231 #include <complex.h>
28237 int (*ptr)() = (int (*)())hypotf128;
28246 if ac_fn_c_try_link
"$LINENO"; then :
28247 gcc_cv_math_func_hypotf128
=yes
28249 gcc_cv_math_func_hypotf128
=no
28251 rm -f core conftest.err conftest.
$ac_objext \
28252 conftest
$ac_exeext conftest.
$ac_ext
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28255 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28256 if test $gcc_cv_math_func_hypotf128 = yes; then
28258 cat >>confdefs.h
<<_ACEOF
28259 #define HAVE_HYPOTF128 1
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28268 $as_echo_n "checking for ldexpf128... " >&6; }
28269 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28270 $as_echo_n "(cached) " >&6
28272 if test x
$gcc_no_link = xyes
; then
28273 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28276 /* end confdefs.h. */
28278 #ifdef HAVE_COMPLEX_H
28279 #include <complex.h>
28285 int (*ptr)() = (int (*)())ldexpf128;
28294 if ac_fn_c_try_link
"$LINENO"; then :
28295 gcc_cv_math_func_ldexpf128
=yes
28297 gcc_cv_math_func_ldexpf128
=no
28299 rm -f core conftest.err conftest.
$ac_objext \
28300 conftest
$ac_exeext conftest.
$ac_ext
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28303 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28304 if test $gcc_cv_math_func_ldexpf128 = yes; then
28306 cat >>confdefs.h
<<_ACEOF
28307 #define HAVE_LDEXPF128 1
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28316 $as_echo_n "checking for logf128... " >&6; }
28317 if ${gcc_cv_math_func_logf128+:} false
; then :
28318 $as_echo_n "(cached) " >&6
28320 if test x
$gcc_no_link = xyes
; then
28321 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28324 /* end confdefs.h. */
28326 #ifdef HAVE_COMPLEX_H
28327 #include <complex.h>
28333 int (*ptr)() = (int (*)())logf128;
28342 if ac_fn_c_try_link
"$LINENO"; then :
28343 gcc_cv_math_func_logf128
=yes
28345 gcc_cv_math_func_logf128
=no
28347 rm -f core conftest.err conftest.
$ac_objext \
28348 conftest
$ac_exeext conftest.
$ac_ext
28350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28351 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28352 if test $gcc_cv_math_func_logf128 = yes; then
28354 cat >>confdefs.h
<<_ACEOF
28355 #define HAVE_LOGF128 1
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28364 $as_echo_n "checking for clogf128... " >&6; }
28365 if ${gcc_cv_math_func_clogf128+:} false
; then :
28366 $as_echo_n "(cached) " >&6
28368 if test x
$gcc_no_link = xyes
; then
28369 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28372 /* end confdefs.h. */
28374 #ifdef HAVE_COMPLEX_H
28375 #include <complex.h>
28381 int (*ptr)() = (int (*)())clogf128;
28390 if ac_fn_c_try_link
"$LINENO"; then :
28391 gcc_cv_math_func_clogf128
=yes
28393 gcc_cv_math_func_clogf128
=no
28395 rm -f core conftest.err conftest.
$ac_objext \
28396 conftest
$ac_exeext conftest.
$ac_ext
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28399 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28400 if test $gcc_cv_math_func_clogf128 = yes; then
28402 cat >>confdefs.h
<<_ACEOF
28403 #define HAVE_CLOGF128 1
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28412 $as_echo_n "checking for log10f128... " >&6; }
28413 if ${gcc_cv_math_func_log10f128+:} false
; then :
28414 $as_echo_n "(cached) " >&6
28416 if test x
$gcc_no_link = xyes
; then
28417 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28420 /* end confdefs.h. */
28422 #ifdef HAVE_COMPLEX_H
28423 #include <complex.h>
28429 int (*ptr)() = (int (*)())log10f128;
28438 if ac_fn_c_try_link
"$LINENO"; then :
28439 gcc_cv_math_func_log10f128
=yes
28441 gcc_cv_math_func_log10f128
=no
28443 rm -f core conftest.err conftest.
$ac_objext \
28444 conftest
$ac_exeext conftest.
$ac_ext
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28447 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28448 if test $gcc_cv_math_func_log10f128 = yes; then
28450 cat >>confdefs.h
<<_ACEOF
28451 #define HAVE_LOG10F128 1
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28460 $as_echo_n "checking for clog10f128... " >&6; }
28461 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28462 $as_echo_n "(cached) " >&6
28464 if test x
$gcc_no_link = xyes
; then
28465 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28468 /* end confdefs.h. */
28470 #ifdef HAVE_COMPLEX_H
28471 #include <complex.h>
28477 int (*ptr)() = (int (*)())clog10f128;
28486 if ac_fn_c_try_link
"$LINENO"; then :
28487 gcc_cv_math_func_clog10f128
=yes
28489 gcc_cv_math_func_clog10f128
=no
28491 rm -f core conftest.err conftest.
$ac_objext \
28492 conftest
$ac_exeext conftest.
$ac_ext
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28495 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28496 if test $gcc_cv_math_func_clog10f128 = yes; then
28498 cat >>confdefs.h
<<_ACEOF
28499 #define HAVE_CLOG10F128 1
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28508 $as_echo_n "checking for nextafterf128... " >&6; }
28509 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28510 $as_echo_n "(cached) " >&6
28512 if test x
$gcc_no_link = xyes
; then
28513 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h. */
28518 #ifdef HAVE_COMPLEX_H
28519 #include <complex.h>
28525 int (*ptr)() = (int (*)())nextafterf128;
28534 if ac_fn_c_try_link
"$LINENO"; then :
28535 gcc_cv_math_func_nextafterf128
=yes
28537 gcc_cv_math_func_nextafterf128
=no
28539 rm -f core conftest.err conftest.
$ac_objext \
28540 conftest
$ac_exeext conftest.
$ac_ext
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28543 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28544 if test $gcc_cv_math_func_nextafterf128 = yes; then
28546 cat >>confdefs.h
<<_ACEOF
28547 #define HAVE_NEXTAFTERF128 1
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28556 $as_echo_n "checking for powf128... " >&6; }
28557 if ${gcc_cv_math_func_powf128+:} false
; then :
28558 $as_echo_n "(cached) " >&6
28560 if test x
$gcc_no_link = xyes
; then
28561 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28564 /* end confdefs.h. */
28566 #ifdef HAVE_COMPLEX_H
28567 #include <complex.h>
28573 int (*ptr)() = (int (*)())powf128;
28582 if ac_fn_c_try_link
"$LINENO"; then :
28583 gcc_cv_math_func_powf128
=yes
28585 gcc_cv_math_func_powf128
=no
28587 rm -f core conftest.err conftest.
$ac_objext \
28588 conftest
$ac_exeext conftest.
$ac_ext
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28591 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28592 if test $gcc_cv_math_func_powf128 = yes; then
28594 cat >>confdefs.h
<<_ACEOF
28595 #define HAVE_POWF128 1
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28604 $as_echo_n "checking for cpowf128... " >&6; }
28605 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28606 $as_echo_n "(cached) " >&6
28608 if test x
$gcc_no_link = xyes
; then
28609 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28612 /* end confdefs.h. */
28614 #ifdef HAVE_COMPLEX_H
28615 #include <complex.h>
28621 int (*ptr)() = (int (*)())cpowf128;
28630 if ac_fn_c_try_link
"$LINENO"; then :
28631 gcc_cv_math_func_cpowf128
=yes
28633 gcc_cv_math_func_cpowf128
=no
28635 rm -f core conftest.err conftest.
$ac_objext \
28636 conftest
$ac_exeext conftest.
$ac_ext
28638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28639 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28640 if test $gcc_cv_math_func_cpowf128 = yes; then
28642 cat >>confdefs.h
<<_ACEOF
28643 #define HAVE_CPOWF128 1
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28652 $as_echo_n "checking for roundf128... " >&6; }
28653 if ${gcc_cv_math_func_roundf128+:} false
; then :
28654 $as_echo_n "(cached) " >&6
28656 if test x
$gcc_no_link = xyes
; then
28657 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28660 /* end confdefs.h. */
28662 #ifdef HAVE_COMPLEX_H
28663 #include <complex.h>
28669 int (*ptr)() = (int (*)())roundf128;
28678 if ac_fn_c_try_link
"$LINENO"; then :
28679 gcc_cv_math_func_roundf128
=yes
28681 gcc_cv_math_func_roundf128
=no
28683 rm -f core conftest.err conftest.
$ac_objext \
28684 conftest
$ac_exeext conftest.
$ac_ext
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28687 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28688 if test $gcc_cv_math_func_roundf128 = yes; then
28690 cat >>confdefs.h
<<_ACEOF
28691 #define HAVE_ROUNDF128 1
28699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28700 $as_echo_n "checking for lroundf128... " >&6; }
28701 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28702 $as_echo_n "(cached) " >&6
28704 if test x
$gcc_no_link = xyes
; then
28705 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28708 /* end confdefs.h. */
28710 #ifdef HAVE_COMPLEX_H
28711 #include <complex.h>
28717 int (*ptr)() = (int (*)())lroundf128;
28726 if ac_fn_c_try_link
"$LINENO"; then :
28727 gcc_cv_math_func_lroundf128
=yes
28729 gcc_cv_math_func_lroundf128
=no
28731 rm -f core conftest.err conftest.
$ac_objext \
28732 conftest
$ac_exeext conftest.
$ac_ext
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28735 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28736 if test $gcc_cv_math_func_lroundf128 = yes; then
28738 cat >>confdefs.h
<<_ACEOF
28739 #define HAVE_LROUNDF128 1
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28748 $as_echo_n "checking for llroundf128... " >&6; }
28749 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28750 $as_echo_n "(cached) " >&6
28752 if test x
$gcc_no_link = xyes
; then
28753 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28756 /* end confdefs.h. */
28758 #ifdef HAVE_COMPLEX_H
28759 #include <complex.h>
28765 int (*ptr)() = (int (*)())llroundf128;
28774 if ac_fn_c_try_link
"$LINENO"; then :
28775 gcc_cv_math_func_llroundf128
=yes
28777 gcc_cv_math_func_llroundf128
=no
28779 rm -f core conftest.err conftest.
$ac_objext \
28780 conftest
$ac_exeext conftest.
$ac_ext
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28783 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28784 if test $gcc_cv_math_func_llroundf128 = yes; then
28786 cat >>confdefs.h
<<_ACEOF
28787 #define HAVE_LLROUNDF128 1
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28796 $as_echo_n "checking for scalbnf128... " >&6; }
28797 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28798 $as_echo_n "(cached) " >&6
28800 if test x
$gcc_no_link = xyes
; then
28801 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28804 /* end confdefs.h. */
28806 #ifdef HAVE_COMPLEX_H
28807 #include <complex.h>
28813 int (*ptr)() = (int (*)())scalbnf128;
28822 if ac_fn_c_try_link
"$LINENO"; then :
28823 gcc_cv_math_func_scalbnf128
=yes
28825 gcc_cv_math_func_scalbnf128
=no
28827 rm -f core conftest.err conftest.
$ac_objext \
28828 conftest
$ac_exeext conftest.
$ac_ext
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28831 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28832 if test $gcc_cv_math_func_scalbnf128 = yes; then
28834 cat >>confdefs.h
<<_ACEOF
28835 #define HAVE_SCALBNF128 1
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28844 $as_echo_n "checking for sinf128... " >&6; }
28845 if ${gcc_cv_math_func_sinf128+:} false
; then :
28846 $as_echo_n "(cached) " >&6
28848 if test x
$gcc_no_link = xyes
; then
28849 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28852 /* end confdefs.h. */
28854 #ifdef HAVE_COMPLEX_H
28855 #include <complex.h>
28861 int (*ptr)() = (int (*)())sinf128;
28870 if ac_fn_c_try_link
"$LINENO"; then :
28871 gcc_cv_math_func_sinf128
=yes
28873 gcc_cv_math_func_sinf128
=no
28875 rm -f core conftest.err conftest.
$ac_objext \
28876 conftest
$ac_exeext conftest.
$ac_ext
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28879 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28880 if test $gcc_cv_math_func_sinf128 = yes; then
28882 cat >>confdefs.h
<<_ACEOF
28883 #define HAVE_SINF128 1
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28892 $as_echo_n "checking for csinf128... " >&6; }
28893 if ${gcc_cv_math_func_csinf128+:} false
; then :
28894 $as_echo_n "(cached) " >&6
28896 if test x
$gcc_no_link = xyes
; then
28897 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28900 /* end confdefs.h. */
28902 #ifdef HAVE_COMPLEX_H
28903 #include <complex.h>
28909 int (*ptr)() = (int (*)())csinf128;
28918 if ac_fn_c_try_link
"$LINENO"; then :
28919 gcc_cv_math_func_csinf128
=yes
28921 gcc_cv_math_func_csinf128
=no
28923 rm -f core conftest.err conftest.
$ac_objext \
28924 conftest
$ac_exeext conftest.
$ac_ext
28926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28927 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28928 if test $gcc_cv_math_func_csinf128 = yes; then
28930 cat >>confdefs.h
<<_ACEOF
28931 #define HAVE_CSINF128 1
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28940 $as_echo_n "checking for sinhf128... " >&6; }
28941 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28942 $as_echo_n "(cached) " >&6
28944 if test x
$gcc_no_link = xyes
; then
28945 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28950 #ifdef HAVE_COMPLEX_H
28951 #include <complex.h>
28957 int (*ptr)() = (int (*)())sinhf128;
28966 if ac_fn_c_try_link
"$LINENO"; then :
28967 gcc_cv_math_func_sinhf128
=yes
28969 gcc_cv_math_func_sinhf128
=no
28971 rm -f core conftest.err conftest.
$ac_objext \
28972 conftest
$ac_exeext conftest.
$ac_ext
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28975 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28976 if test $gcc_cv_math_func_sinhf128 = yes; then
28978 cat >>confdefs.h
<<_ACEOF
28979 #define HAVE_SINHF128 1
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28988 $as_echo_n "checking for csinhf128... " >&6; }
28989 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28990 $as_echo_n "(cached) " >&6
28992 if test x
$gcc_no_link = xyes
; then
28993 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28996 /* end confdefs.h. */
28998 #ifdef HAVE_COMPLEX_H
28999 #include <complex.h>
29005 int (*ptr)() = (int (*)())csinhf128;
29014 if ac_fn_c_try_link
"$LINENO"; then :
29015 gcc_cv_math_func_csinhf128
=yes
29017 gcc_cv_math_func_csinhf128
=no
29019 rm -f core conftest.err conftest.
$ac_objext \
29020 conftest
$ac_exeext conftest.
$ac_ext
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
29023 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
29024 if test $gcc_cv_math_func_csinhf128 = yes; then
29026 cat >>confdefs.h
<<_ACEOF
29027 #define HAVE_CSINHF128 1
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
29036 $as_echo_n "checking for sqrtf128... " >&6; }
29037 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
29038 $as_echo_n "(cached) " >&6
29040 if test x
$gcc_no_link = xyes
; then
29041 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29044 /* end confdefs.h. */
29046 #ifdef HAVE_COMPLEX_H
29047 #include <complex.h>
29053 int (*ptr)() = (int (*)())sqrtf128;
29062 if ac_fn_c_try_link
"$LINENO"; then :
29063 gcc_cv_math_func_sqrtf128
=yes
29065 gcc_cv_math_func_sqrtf128
=no
29067 rm -f core conftest.err conftest.
$ac_objext \
29068 conftest
$ac_exeext conftest.
$ac_ext
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
29071 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
29072 if test $gcc_cv_math_func_sqrtf128 = yes; then
29074 cat >>confdefs.h
<<_ACEOF
29075 #define HAVE_SQRTF128 1
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
29084 $as_echo_n "checking for csqrtf128... " >&6; }
29085 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
29086 $as_echo_n "(cached) " >&6
29088 if test x
$gcc_no_link = xyes
; then
29089 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29092 /* end confdefs.h. */
29094 #ifdef HAVE_COMPLEX_H
29095 #include <complex.h>
29101 int (*ptr)() = (int (*)())csqrtf128;
29110 if ac_fn_c_try_link
"$LINENO"; then :
29111 gcc_cv_math_func_csqrtf128
=yes
29113 gcc_cv_math_func_csqrtf128
=no
29115 rm -f core conftest.err conftest.
$ac_objext \
29116 conftest
$ac_exeext conftest.
$ac_ext
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29119 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29120 if test $gcc_cv_math_func_csqrtf128 = yes; then
29122 cat >>confdefs.h
<<_ACEOF
29123 #define HAVE_CSQRTF128 1
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29132 $as_echo_n "checking for tanf128... " >&6; }
29133 if ${gcc_cv_math_func_tanf128+:} false
; then :
29134 $as_echo_n "(cached) " >&6
29136 if test x
$gcc_no_link = xyes
; then
29137 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29140 /* end confdefs.h. */
29142 #ifdef HAVE_COMPLEX_H
29143 #include <complex.h>
29149 int (*ptr)() = (int (*)())tanf128;
29158 if ac_fn_c_try_link
"$LINENO"; then :
29159 gcc_cv_math_func_tanf128
=yes
29161 gcc_cv_math_func_tanf128
=no
29163 rm -f core conftest.err conftest.
$ac_objext \
29164 conftest
$ac_exeext conftest.
$ac_ext
29166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29167 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29168 if test $gcc_cv_math_func_tanf128 = yes; then
29170 cat >>confdefs.h
<<_ACEOF
29171 #define HAVE_TANF128 1
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29180 $as_echo_n "checking for ctanf128... " >&6; }
29181 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29182 $as_echo_n "(cached) " >&6
29184 if test x
$gcc_no_link = xyes
; then
29185 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29188 /* end confdefs.h. */
29190 #ifdef HAVE_COMPLEX_H
29191 #include <complex.h>
29197 int (*ptr)() = (int (*)())ctanf128;
29206 if ac_fn_c_try_link
"$LINENO"; then :
29207 gcc_cv_math_func_ctanf128
=yes
29209 gcc_cv_math_func_ctanf128
=no
29211 rm -f core conftest.err conftest.
$ac_objext \
29212 conftest
$ac_exeext conftest.
$ac_ext
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29215 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29216 if test $gcc_cv_math_func_ctanf128 = yes; then
29218 cat >>confdefs.h
<<_ACEOF
29219 #define HAVE_CTANF128 1
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29228 $as_echo_n "checking for tanhf128... " >&6; }
29229 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29230 $as_echo_n "(cached) " >&6
29232 if test x
$gcc_no_link = xyes
; then
29233 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29236 /* end confdefs.h. */
29238 #ifdef HAVE_COMPLEX_H
29239 #include <complex.h>
29245 int (*ptr)() = (int (*)())tanhf128;
29254 if ac_fn_c_try_link
"$LINENO"; then :
29255 gcc_cv_math_func_tanhf128
=yes
29257 gcc_cv_math_func_tanhf128
=no
29259 rm -f core conftest.err conftest.
$ac_objext \
29260 conftest
$ac_exeext conftest.
$ac_ext
29262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29263 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29264 if test $gcc_cv_math_func_tanhf128 = yes; then
29266 cat >>confdefs.h
<<_ACEOF
29267 #define HAVE_TANHF128 1
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29276 $as_echo_n "checking for ctanhf128... " >&6; }
29277 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29278 $as_echo_n "(cached) " >&6
29280 if test x
$gcc_no_link = xyes
; then
29281 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h. */
29286 #ifdef HAVE_COMPLEX_H
29287 #include <complex.h>
29293 int (*ptr)() = (int (*)())ctanhf128;
29302 if ac_fn_c_try_link
"$LINENO"; then :
29303 gcc_cv_math_func_ctanhf128
=yes
29305 gcc_cv_math_func_ctanhf128
=no
29307 rm -f core conftest.err conftest.
$ac_objext \
29308 conftest
$ac_exeext conftest.
$ac_ext
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29311 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29312 if test $gcc_cv_math_func_ctanhf128 = yes; then
29314 cat >>confdefs.h
<<_ACEOF
29315 #define HAVE_CTANHF128 1
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29324 $as_echo_n "checking for truncf128... " >&6; }
29325 if ${gcc_cv_math_func_truncf128+:} false
; then :
29326 $as_echo_n "(cached) " >&6
29328 if test x
$gcc_no_link = xyes
; then
29329 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29332 /* end confdefs.h. */
29334 #ifdef HAVE_COMPLEX_H
29335 #include <complex.h>
29341 int (*ptr)() = (int (*)())truncf128;
29350 if ac_fn_c_try_link
"$LINENO"; then :
29351 gcc_cv_math_func_truncf128
=yes
29353 gcc_cv_math_func_truncf128
=no
29355 rm -f core conftest.err conftest.
$ac_objext \
29356 conftest
$ac_exeext conftest.
$ac_ext
29358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29359 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29360 if test $gcc_cv_math_func_truncf128 = yes; then
29362 cat >>confdefs.h
<<_ACEOF
29363 #define HAVE_TRUNCF128 1
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29372 $as_echo_n "checking for erff128... " >&6; }
29373 if ${gcc_cv_math_func_erff128+:} false
; then :
29374 $as_echo_n "(cached) " >&6
29376 if test x
$gcc_no_link = xyes
; then
29377 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29380 /* end confdefs.h. */
29382 #ifdef HAVE_COMPLEX_H
29383 #include <complex.h>
29389 int (*ptr)() = (int (*)())erff128;
29398 if ac_fn_c_try_link
"$LINENO"; then :
29399 gcc_cv_math_func_erff128
=yes
29401 gcc_cv_math_func_erff128
=no
29403 rm -f core conftest.err conftest.
$ac_objext \
29404 conftest
$ac_exeext conftest.
$ac_ext
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29407 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29408 if test $gcc_cv_math_func_erff128 = yes; then
29410 cat >>confdefs.h
<<_ACEOF
29411 #define HAVE_ERFF128 1
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29420 $as_echo_n "checking for erfcf128... " >&6; }
29421 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29422 $as_echo_n "(cached) " >&6
29424 if test x
$gcc_no_link = xyes
; then
29425 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29428 /* end confdefs.h. */
29430 #ifdef HAVE_COMPLEX_H
29431 #include <complex.h>
29437 int (*ptr)() = (int (*)())erfcf128;
29446 if ac_fn_c_try_link
"$LINENO"; then :
29447 gcc_cv_math_func_erfcf128
=yes
29449 gcc_cv_math_func_erfcf128
=no
29451 rm -f core conftest.err conftest.
$ac_objext \
29452 conftest
$ac_exeext conftest.
$ac_ext
29454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29455 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29456 if test $gcc_cv_math_func_erfcf128 = yes; then
29458 cat >>confdefs.h
<<_ACEOF
29459 #define HAVE_ERFCF128 1
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29468 $as_echo_n "checking for j0f128... " >&6; }
29469 if ${gcc_cv_math_func_j0f128+:} false
; then :
29470 $as_echo_n "(cached) " >&6
29472 if test x
$gcc_no_link = xyes
; then
29473 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29478 #ifdef HAVE_COMPLEX_H
29479 #include <complex.h>
29485 int (*ptr)() = (int (*)())j0f128;
29494 if ac_fn_c_try_link
"$LINENO"; then :
29495 gcc_cv_math_func_j0f128
=yes
29497 gcc_cv_math_func_j0f128
=no
29499 rm -f core conftest.err conftest.
$ac_objext \
29500 conftest
$ac_exeext conftest.
$ac_ext
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29503 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29504 if test $gcc_cv_math_func_j0f128 = yes; then
29506 cat >>confdefs.h
<<_ACEOF
29507 #define HAVE_J0F128 1
29515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29516 $as_echo_n "checking for j1f128... " >&6; }
29517 if ${gcc_cv_math_func_j1f128+:} false
; then :
29518 $as_echo_n "(cached) " >&6
29520 if test x
$gcc_no_link = xyes
; then
29521 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29524 /* end confdefs.h. */
29526 #ifdef HAVE_COMPLEX_H
29527 #include <complex.h>
29533 int (*ptr)() = (int (*)())j1f128;
29542 if ac_fn_c_try_link
"$LINENO"; then :
29543 gcc_cv_math_func_j1f128
=yes
29545 gcc_cv_math_func_j1f128
=no
29547 rm -f core conftest.err conftest.
$ac_objext \
29548 conftest
$ac_exeext conftest.
$ac_ext
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29551 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29552 if test $gcc_cv_math_func_j1f128 = yes; then
29554 cat >>confdefs.h
<<_ACEOF
29555 #define HAVE_J1F128 1
29563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29564 $as_echo_n "checking for jnf128... " >&6; }
29565 if ${gcc_cv_math_func_jnf128+:} false
; then :
29566 $as_echo_n "(cached) " >&6
29568 if test x
$gcc_no_link = xyes
; then
29569 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29572 /* end confdefs.h. */
29574 #ifdef HAVE_COMPLEX_H
29575 #include <complex.h>
29581 int (*ptr)() = (int (*)())jnf128;
29590 if ac_fn_c_try_link
"$LINENO"; then :
29591 gcc_cv_math_func_jnf128
=yes
29593 gcc_cv_math_func_jnf128
=no
29595 rm -f core conftest.err conftest.
$ac_objext \
29596 conftest
$ac_exeext conftest.
$ac_ext
29598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29599 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29600 if test $gcc_cv_math_func_jnf128 = yes; then
29602 cat >>confdefs.h
<<_ACEOF
29603 #define HAVE_JNF128 1
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29612 $as_echo_n "checking for y0f128... " >&6; }
29613 if ${gcc_cv_math_func_y0f128+:} false
; then :
29614 $as_echo_n "(cached) " >&6
29616 if test x
$gcc_no_link = xyes
; then
29617 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h. */
29622 #ifdef HAVE_COMPLEX_H
29623 #include <complex.h>
29629 int (*ptr)() = (int (*)())y0f128;
29638 if ac_fn_c_try_link
"$LINENO"; then :
29639 gcc_cv_math_func_y0f128
=yes
29641 gcc_cv_math_func_y0f128
=no
29643 rm -f core conftest.err conftest.
$ac_objext \
29644 conftest
$ac_exeext conftest.
$ac_ext
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29647 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29648 if test $gcc_cv_math_func_y0f128 = yes; then
29650 cat >>confdefs.h
<<_ACEOF
29651 #define HAVE_Y0F128 1
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29660 $as_echo_n "checking for y1f128... " >&6; }
29661 if ${gcc_cv_math_func_y1f128+:} false
; then :
29662 $as_echo_n "(cached) " >&6
29664 if test x
$gcc_no_link = xyes
; then
29665 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29670 #ifdef HAVE_COMPLEX_H
29671 #include <complex.h>
29677 int (*ptr)() = (int (*)())y1f128;
29686 if ac_fn_c_try_link
"$LINENO"; then :
29687 gcc_cv_math_func_y1f128
=yes
29689 gcc_cv_math_func_y1f128
=no
29691 rm -f core conftest.err conftest.
$ac_objext \
29692 conftest
$ac_exeext conftest.
$ac_ext
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29695 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29696 if test $gcc_cv_math_func_y1f128 = yes; then
29698 cat >>confdefs.h
<<_ACEOF
29699 #define HAVE_Y1F128 1
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29708 $as_echo_n "checking for ynf128... " >&6; }
29709 if ${gcc_cv_math_func_ynf128+:} false
; then :
29710 $as_echo_n "(cached) " >&6
29712 if test x
$gcc_no_link = xyes
; then
29713 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29716 /* end confdefs.h. */
29718 #ifdef HAVE_COMPLEX_H
29719 #include <complex.h>
29725 int (*ptr)() = (int (*)())ynf128;
29734 if ac_fn_c_try_link
"$LINENO"; then :
29735 gcc_cv_math_func_ynf128
=yes
29737 gcc_cv_math_func_ynf128
=no
29739 rm -f core conftest.err conftest.
$ac_objext \
29740 conftest
$ac_exeext conftest.
$ac_ext
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29743 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29744 if test $gcc_cv_math_func_ynf128 = yes; then
29746 cat >>confdefs.h
<<_ACEOF
29747 #define HAVE_YNF128 1
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29756 $as_echo_n "checking for tgammaf128... " >&6; }
29757 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29758 $as_echo_n "(cached) " >&6
29760 if test x
$gcc_no_link = xyes
; then
29761 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29766 #ifdef HAVE_COMPLEX_H
29767 #include <complex.h>
29773 int (*ptr)() = (int (*)())tgammaf128;
29782 if ac_fn_c_try_link
"$LINENO"; then :
29783 gcc_cv_math_func_tgammaf128
=yes
29785 gcc_cv_math_func_tgammaf128
=no
29787 rm -f core conftest.err conftest.
$ac_objext \
29788 conftest
$ac_exeext conftest.
$ac_ext
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29791 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29792 if test $gcc_cv_math_func_tgammaf128 = yes; then
29794 cat >>confdefs.h
<<_ACEOF
29795 #define HAVE_TGAMMAF128 1
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29804 $as_echo_n "checking for lgammaf128... " >&6; }
29805 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29806 $as_echo_n "(cached) " >&6
29808 if test x
$gcc_no_link = xyes
; then
29809 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29814 #ifdef HAVE_COMPLEX_H
29815 #include <complex.h>
29821 int (*ptr)() = (int (*)())lgammaf128;
29830 if ac_fn_c_try_link
"$LINENO"; then :
29831 gcc_cv_math_func_lgammaf128
=yes
29833 gcc_cv_math_func_lgammaf128
=no
29835 rm -f core conftest.err conftest.
$ac_objext \
29836 conftest
$ac_exeext conftest.
$ac_ext
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29839 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29840 if test $gcc_cv_math_func_lgammaf128 = yes; then
29842 cat >>confdefs.h
<<_ACEOF
29843 #define HAVE_LGAMMAF128 1
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29853 $as_echo_n "checking for cacosf128... " >&6; }
29854 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29855 $as_echo_n "(cached) " >&6
29857 if test x
$gcc_no_link = xyes
; then
29858 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29861 /* end confdefs.h. */
29863 #ifdef HAVE_COMPLEX_H
29864 #include <complex.h>
29870 int (*ptr)() = (int (*)())cacosf128;
29879 if ac_fn_c_try_link
"$LINENO"; then :
29880 gcc_cv_math_func_cacosf128
=yes
29882 gcc_cv_math_func_cacosf128
=no
29884 rm -f core conftest.err conftest.
$ac_objext \
29885 conftest
$ac_exeext conftest.
$ac_ext
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29888 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29889 if test $gcc_cv_math_func_cacosf128 = yes; then
29891 cat >>confdefs.h
<<_ACEOF
29892 #define HAVE_CACOSF128 1
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29901 $as_echo_n "checking for cacoshf128... " >&6; }
29902 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29903 $as_echo_n "(cached) " >&6
29905 if test x
$gcc_no_link = xyes
; then
29906 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29909 /* end confdefs.h. */
29911 #ifdef HAVE_COMPLEX_H
29912 #include <complex.h>
29918 int (*ptr)() = (int (*)())cacoshf128;
29927 if ac_fn_c_try_link
"$LINENO"; then :
29928 gcc_cv_math_func_cacoshf128
=yes
29930 gcc_cv_math_func_cacoshf128
=no
29932 rm -f core conftest.err conftest.
$ac_objext \
29933 conftest
$ac_exeext conftest.
$ac_ext
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29936 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29937 if test $gcc_cv_math_func_cacoshf128 = yes; then
29939 cat >>confdefs.h
<<_ACEOF
29940 #define HAVE_CACOSHF128 1
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29949 $as_echo_n "checking for casinf128... " >&6; }
29950 if ${gcc_cv_math_func_casinf128+:} false
; then :
29951 $as_echo_n "(cached) " >&6
29953 if test x
$gcc_no_link = xyes
; then
29954 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29957 /* end confdefs.h. */
29959 #ifdef HAVE_COMPLEX_H
29960 #include <complex.h>
29966 int (*ptr)() = (int (*)())casinf128;
29975 if ac_fn_c_try_link
"$LINENO"; then :
29976 gcc_cv_math_func_casinf128
=yes
29978 gcc_cv_math_func_casinf128
=no
29980 rm -f core conftest.err conftest.
$ac_objext \
29981 conftest
$ac_exeext conftest.
$ac_ext
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29984 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29985 if test $gcc_cv_math_func_casinf128 = yes; then
29987 cat >>confdefs.h
<<_ACEOF
29988 #define HAVE_CASINF128 1
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29997 $as_echo_n "checking for casinhf128... " >&6; }
29998 if ${gcc_cv_math_func_casinhf128+:} false
; then :
29999 $as_echo_n "(cached) " >&6
30001 if test x
$gcc_no_link = xyes
; then
30002 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h. */
30007 #ifdef HAVE_COMPLEX_H
30008 #include <complex.h>
30014 int (*ptr)() = (int (*)())casinhf128;
30023 if ac_fn_c_try_link
"$LINENO"; then :
30024 gcc_cv_math_func_casinhf128
=yes
30026 gcc_cv_math_func_casinhf128
=no
30028 rm -f core conftest.err conftest.
$ac_objext \
30029 conftest
$ac_exeext conftest.
$ac_ext
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
30032 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
30033 if test $gcc_cv_math_func_casinhf128 = yes; then
30035 cat >>confdefs.h
<<_ACEOF
30036 #define HAVE_CASINHF128 1
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
30045 $as_echo_n "checking for catanf128... " >&6; }
30046 if ${gcc_cv_math_func_catanf128+:} false
; then :
30047 $as_echo_n "(cached) " >&6
30049 if test x
$gcc_no_link = xyes
; then
30050 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h. */
30055 #ifdef HAVE_COMPLEX_H
30056 #include <complex.h>
30062 int (*ptr)() = (int (*)())catanf128;
30071 if ac_fn_c_try_link
"$LINENO"; then :
30072 gcc_cv_math_func_catanf128
=yes
30074 gcc_cv_math_func_catanf128
=no
30076 rm -f core conftest.err conftest.
$ac_objext \
30077 conftest
$ac_exeext conftest.
$ac_ext
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
30080 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
30081 if test $gcc_cv_math_func_catanf128 = yes; then
30083 cat >>confdefs.h
<<_ACEOF
30084 #define HAVE_CATANF128 1
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
30093 $as_echo_n "checking for catanhf128... " >&6; }
30094 if ${gcc_cv_math_func_catanhf128+:} false
; then :
30095 $as_echo_n "(cached) " >&6
30097 if test x
$gcc_no_link = xyes
; then
30098 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30103 #ifdef HAVE_COMPLEX_H
30104 #include <complex.h>
30110 int (*ptr)() = (int (*)())catanhf128;
30119 if ac_fn_c_try_link
"$LINENO"; then :
30120 gcc_cv_math_func_catanhf128
=yes
30122 gcc_cv_math_func_catanhf128
=no
30124 rm -f core conftest.err conftest.
$ac_objext \
30125 conftest
$ac_exeext conftest.
$ac_ext
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30128 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30129 if test $gcc_cv_math_func_catanhf128 = yes; then
30131 cat >>confdefs.h
<<_ACEOF
30132 #define HAVE_CATANHF128 1
30138 # Check whether the system has a working stat()
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30141 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30142 if ${libgfor_cv_have_working_stat+:} false
; then :
30143 $as_echo_n "(cached) " >&6
30146 if test "$cross_compiling" = yes; then :
30148 case "${target}" in
30149 *mingw
*) libgfor_cv_have_working_stat
=no
;;
30150 *) libgfor_cv_have_working_stat
=yes;;
30153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h. */
30157 #include <sys/types.h>
30158 #include <sys/stat.h>
30159 #include <unistd.h>
30164 struct stat st1, st2;
30166 f = fopen ("foo", "w");
30167 g = fopen ("bar", "w");
30168 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30170 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30177 if ac_fn_c_try_run
"$LINENO"; then :
30178 libgfor_cv_have_working_stat
=yes
30180 libgfor_cv_have_working_stat
=no
30182 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30183 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30188 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30189 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30191 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30195 # Check whether __mingw_snprintf() is present
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30198 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30199 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30200 $as_echo_n "(cached) " >&6
30203 if test x
$gcc_no_link = xyes
; then
30204 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30207 /* end confdefs.h. */
30210 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30216 __mingw_snprintf (NULL, 0, "%d\n", 1);
30222 if ac_fn_c_try_link
"$LINENO"; then :
30223 eval "libgfor_cv_have_mingw_snprintf=yes"
30225 eval "libgfor_cv_have_mingw_snprintf=no"
30227 rm -f core conftest.err conftest.
$ac_objext \
30228 conftest
$ac_exeext conftest.
$ac_ext
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30232 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30233 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30235 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30240 have_iec_60559_libc_support
=no
30241 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30242 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30243 have_iec_60559_libc_support
=yes
30246 # Check whether libquadmath should be used
30247 # Check whether --enable-libquadmath-support was given.
30248 if test "${enable_libquadmath_support+set}" = set; then :
30249 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30251 if test "x$have_iec_60559_libc_support" = xyes
; then
30252 ENABLE_LIBQUADMATH_SUPPORT
=default
30254 ENABLE_LIBQUADMATH_SUPPORT
=yes
30258 enable_libquadmath_support
=
30259 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30260 enable_libquadmath_support
=no
30261 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30262 enable_libquadmath_support
=default
30265 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30266 # and have_iec_60559_libc_support.
30274 if test "x$enable_libquadmath_support" != xno
; then
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30277 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30278 if ${libgfor_cv_have_float128+:} false
; then :
30279 $as_echo_n "(cached) " >&6
30282 if test x
$gcc_no_link = xyes
; then
30283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30286 _Float128 foo (_Float128 x)
30288 _Complex _Float128 z1, z2;
30294 return (_Float128) z2;
30297 _Float128 bar (_Float128 x)
30299 return x * __builtin_huge_valf128 ();
30302 __float128 baz (__float128 x)
30304 return x * __builtin_huge_valf128 ();
30322 if ac_fn_c_try_compile
"$LINENO"; then :
30324 libgfor_cv_have_float128
=yes
30328 libgfor_cv_have_float128
=no
30331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30333 if test x
$gcc_no_link = xyes
; then
30334 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30339 _Float128 foo (_Float128 x)
30341 _Complex _Float128 z1, z2;
30347 return (_Float128) z2;
30350 _Float128 bar (_Float128 x)
30352 return x * __builtin_huge_valf128 ();
30355 __float128 baz (__float128 x)
30357 return x * __builtin_huge_valf128 ();
30375 if ac_fn_c_try_link
"$LINENO"; then :
30377 libgfor_cv_have_float128
=yes
30381 libgfor_cv_have_float128
=no
30384 rm -f core conftest.err conftest.
$ac_objext \
30385 conftest
$ac_exeext conftest.
$ac_ext
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30389 $as_echo "$libgfor_cv_have_float128" >&6; }
30391 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30396 if test "x$libgfor_cv_have_float128" = xyes
; then
30397 if test "x$USE_IEC_60559" = xyes
; then
30399 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30403 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30406 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30408 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30409 if ${libgfor_cv_have_as_needed+:} false
; then :
30410 $as_echo_n "(cached) " >&6
30413 # Test for native Solaris options first.
30414 # No whitespace after -z to pass it through -Wl.
30415 libgfor_cv_as_needed_option
="-zignore"
30416 libgfor_cv_no_as_needed_option
="-zrecord"
30417 save_LDFLAGS
="$LDFLAGS"
30418 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30419 libgfor_cv_have_as_needed
=no
30421 ac_c_werror_flag
=yes
30422 if test x
$gcc_no_link = xyes
; then
30423 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h. */
30436 if ac_fn_c_try_link
"$LINENO"; then :
30437 libgfor_cv_have_as_needed
=yes
30439 libgfor_cv_have_as_needed
=no
30441 rm -f core conftest.err conftest.
$ac_objext \
30442 conftest
$ac_exeext conftest.
$ac_ext
30443 LDFLAGS
="$save_LDFLAGS"
30444 if test "x$libgfor_cv_have_as_needed" = xno
; then
30445 libgfor_cv_as_needed_option
="--as-needed"
30446 libgfor_cv_no_as_needed_option
="--no-as-needed"
30447 save_LDFLAGS
="$LDFLAGS"
30448 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30449 libgfor_cv_have_as_needed
=no
30451 ac_c_werror_flag
=yes
30452 if test x
$gcc_no_link = xyes
; then
30453 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30456 /* end confdefs.h. */
30466 if ac_fn_c_try_link
"$LINENO"; then :
30467 libgfor_cv_have_as_needed
=yes
30469 libgfor_cv_have_as_needed
=no
30471 rm -f core conftest.err conftest.
$ac_objext \
30472 conftest
$ac_exeext conftest.
$ac_ext
30473 LDFLAGS
="$save_LDFLAGS"
30475 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30479 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30481 touch conftest1.
$ac_objext conftest2.
$ac_objext
30482 LQUADMATH
=-lquadmath
30483 $FC -static-libgfortran -### -o conftest \
30484 conftest1.
$ac_objext -lgfortran conftest2.
$ac_objext 2>&1 >/dev
/null \
30485 |
grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30486 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30487 conftest.cmd
>/dev
/null
2>&1; then
30488 LQUADMATH
="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30489 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30490 conftest.cmd
>/dev
/null
2>&1; then
30491 LQUADMATH
="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30492 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30493 conftest.cmd
>/dev
/null
2>&1; then
30494 LQUADMATH
="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30495 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30496 conftest.cmd
>/dev
/null
2>&1; then
30497 LQUADMATH
="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30499 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest conftest.cmd
30501 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30502 if test "x$USE_IEC_60559" = xyes
; then
30503 LIBQUADSPEC
="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30505 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30508 LIBQUADSPEC
="$LQUADMATH"
30510 if test "x$USE_IEC_60559" != xyes
; then
30511 if test -f ..
/libquadmath
/libquadmath.la
; then
30512 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30513 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30514 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30516 LIBQUADLIB
="-lquadmath"
30531 # Check for GNU libc feenableexcept
30532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30533 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30534 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30535 $as_echo_n "(cached) " >&6
30537 ac_check_lib_save_LIBS
=$LIBS
30539 if test x
$gcc_no_link = xyes
; then
30540 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h. */
30545 /* Override any GCC internal prototype to avoid an error.
30546 Use char because int might match the return type of a GCC
30547 builtin and then its argument prototype would still apply. */
30551 char feenableexcept ();
30555 return feenableexcept ();
30560 if ac_fn_c_try_link
"$LINENO"; then :
30561 ac_cv_lib_m_feenableexcept
=yes
30563 ac_cv_lib_m_feenableexcept
=no
30565 rm -f core conftest.err conftest.
$ac_objext \
30566 conftest
$ac_exeext conftest.
$ac_ext
30567 LIBS
=$ac_check_lib_save_LIBS
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30570 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30571 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30572 have_feenableexcept
=yes
30573 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30578 # At least for glibc, clock_gettime is in librt. But don't
30579 # pull that in if it still doesn't give us the function we want. This
30580 # test is copied from libgomp, and modified to not link in -lrt as
30581 # libgfortran calls clock_gettime via a weak reference if it's found
30583 if test "$ac_cv_func_clock_gettime" = no
; then
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30585 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30586 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30587 $as_echo_n "(cached) " >&6
30589 ac_check_lib_save_LIBS
=$LIBS
30591 if test x
$gcc_no_link = xyes
; then
30592 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30595 /* end confdefs.h. */
30597 /* Override any GCC internal prototype to avoid an error.
30598 Use char because int might match the return type of a GCC
30599 builtin and then its argument prototype would still apply. */
30603 char clock_gettime ();
30607 return clock_gettime ();
30612 if ac_fn_c_try_link
"$LINENO"; then :
30613 ac_cv_lib_rt_clock_gettime
=yes
30615 ac_cv_lib_rt_clock_gettime
=no
30617 rm -f core conftest.err conftest.
$ac_objext \
30618 conftest
$ac_exeext conftest.
$ac_ext
30619 LIBS
=$ac_check_lib_save_LIBS
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30622 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30623 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30625 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30631 # Check for SysV fpsetmask
30633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30634 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30635 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30636 $as_echo_n "(cached) " >&6
30639 if test x
$gcc_no_link = xyes
; then
30640 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30643 /* end confdefs.h. */
30645 #if HAVE_FLOATINGPOINT_H
30646 # include <floatingpoint.h>
30647 #endif /* HAVE_FLOATINGPOINT_H */
30649 # include <ieeefp.h>
30650 #endif /* HAVE_IEEEFP_H */
30659 if ac_fn_c_try_link
"$LINENO"; then :
30660 eval "libgfor_cv_have_fpsetmask=yes"
30662 eval "libgfor_cv_have_fpsetmask=no"
30664 rm -f core conftest.err conftest.
$ac_objext \
30665 conftest
$ac_exeext conftest.
$ac_ext
30668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30669 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30670 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30673 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30677 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30678 #ifdef HAVE_IEEEFP_H
30679 #include <ieeefp.h>
30684 if test "x$ac_cv_type_fp_except" = xyes
; then :
30686 cat >>confdefs.h
<<_ACEOF
30687 #define HAVE_FP_EXCEPT 1
30692 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30699 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30701 cat >>confdefs.h
<<_ACEOF
30702 #define HAVE_FP_EXCEPT_T 1
30708 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30709 #ifdef HAVE_IEEEFP_H
30710 #include <ieeefp.h>
30715 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30717 cat >>confdefs.h
<<_ACEOF
30718 #define HAVE_FP_RND 1
30723 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30724 #ifdef HAVE_IEEEFP_H
30725 #include <ieeefp.h>
30730 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30732 cat >>confdefs.h
<<_ACEOF
30733 #define HAVE_FP_RND_T 1
30740 # Check whether we have fpsetsticky or fpresetsticky
30741 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30742 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30743 have_fpsetsticky
=yes
30744 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30748 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30749 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30750 have_fpresetsticky
=yes
30751 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30756 # Check for AIX fp_trap and fp_enable
30757 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30758 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30760 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30764 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30765 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30767 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30772 # Check if _SOFT_FLOAT is defined
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30775 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30776 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30777 $as_echo_n "(cached) " >&6
30779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30780 /* end confdefs.h. */
30796 if ac_fn_c_try_compile
"$LINENO"; then :
30797 ac_cv_defined__SOFT_FLOAT
=yes
30799 ac_cv_defined__SOFT_FLOAT
=no
30801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30804 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30805 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30806 have_soft_float
=yes
30809 # Runs configure.host to set up necessary host-dependent shell variables.
30810 # We then display a message about it, and propagate them through the
30812 .
${srcdir}/configure.
host
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30814 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30816 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30817 FPU_HOST_HEADER
=config
/${fpu_host}.h
30820 # Whether we will build the IEEE modules
30821 if test x
${ieee_support} = xyes
; then
30823 IEEE_SUPPORT_FALSE
='#'
30825 IEEE_SUPPORT_TRUE
='#'
30826 IEEE_SUPPORT_FALSE
=
30831 # Some targets require additional compiler options for IEEE compatibility.
30832 IEEE_FLAGS
="${ieee_flags}"
30835 # Conditionalize the makefile for this target machine.
30837 for f
in ${tmake_file}
30839 if test -f ${srcdir}/config
/$f
30841 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30844 tmake_file
="${tmake_file_}"
30848 # Check for POSIX getpwuid_r
30850 # There are two versions of getpwuid_r, the POSIX one with 5
30851 # arguments, and another one with 4 arguments used by at least HP-UX
30853 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30855 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30856 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30857 $as_echo_n "(cached) " >&6
30860 if test x
$gcc_no_link = xyes
; then
30861 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30864 /* end confdefs.h. */
30867 #include <sys/types.h>
30873 getpwuid_r(0, NULL, NULL, 0, NULL);
30879 if ac_fn_c_try_link
"$LINENO"; then :
30880 libgfor_cv_posix_getpwuid_r
="yes"
30882 libgfor_cv_posix_getpwuid_r
="no"
30884 rm -f core conftest.err conftest.
$ac_objext \
30885 conftest
$ac_exeext conftest.
$ac_ext
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30888 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30890 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30892 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30897 # Check out attribute support.
30899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30900 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30901 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30902 $as_echo_n "(cached) " >&6
30905 save_CFLAGS
="$CFLAGS"
30906 CFLAGS
="$CFLAGS -Werror"
30907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30908 /* end confdefs.h. */
30909 void __attribute__((visibility("hidden"))) foo(void) { }
30918 if ac_fn_c_try_compile
"$LINENO"; then :
30919 libgfor_cv_have_attribute_visibility
=yes
30921 libgfor_cv_have_attribute_visibility
=no
30923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30924 CFLAGS
="$save_CFLAGS"
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30927 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30928 if test $libgfor_cv_have_attribute_visibility = yes; then
30930 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30935 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30936 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30937 $as_echo_n "(cached) " >&6
30940 if test x
$gcc_no_link = xyes
; then
30941 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30944 /* end confdefs.h. */
30947 extern void bar(void) __attribute__((alias("foo")));
30956 if ac_fn_c_try_link
"$LINENO"; then :
30957 libgfor_cv_have_attribute_alias
=yes
30959 libgfor_cv_have_attribute_alias
=no
30961 rm -f core conftest.err conftest.
$ac_objext \
30962 conftest
$ac_exeext conftest.
$ac_ext
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30965 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30966 if test $libgfor_cv_have_attribute_alias = yes; then
30968 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30972 # Check out atomic builtins support.
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30975 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30976 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30977 $as_echo_n "(cached) " >&6
30980 if test x
$gcc_no_link = xyes
; then
30981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30984 /* end confdefs.h. */
30990 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30991 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30996 if ac_fn_c_try_link
"$LINENO"; then :
30997 libgfor_cv_have_atomic_fetch_add
=yes
30999 libgfor_cv_have_atomic_fetch_add
=no
31001 rm -f core conftest.err conftest.
$ac_objext \
31002 conftest
$ac_exeext conftest.
$ac_ext
31004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
31005 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
31006 if test $libgfor_cv_have_atomic_fetch_add = yes; then
31008 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
31012 # Check out #pragma weak.
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
31015 $as_echo_n "checking whether pragma weak works... " >&6; }
31016 if ${libgfor_cv_have_pragma_weak+:} false
; then :
31017 $as_echo_n "(cached) " >&6
31020 gfor_save_CFLAGS
="$CFLAGS"
31021 CFLAGS
="$CFLAGS -Wunknown-pragmas"
31022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31023 /* end confdefs.h. */
31036 if ac_fn_c_try_compile
"$LINENO"; then :
31037 libgfor_cv_have_pragma_weak
=yes
31039 libgfor_cv_have_pragma_weak
=no
31041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
31044 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
31045 if test $libgfor_cv_have_pragma_weak = yes; then
31047 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
31051 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
31053 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
31058 # Check out weakref support.
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
31061 $as_echo_n "checking whether the target supports weakref... " >&6; }
31062 if ${libgfor_cv_have_weakref+:} false
; then :
31063 $as_echo_n "(cached) " >&6
31066 save_CFLAGS
="$CFLAGS"
31067 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
31068 if test x
$gcc_no_link = xyes
; then
31069 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h. */
31074 static int mytoto (int) __attribute__((__weakref__("toto")));
31079 return (mytoto != 0);
31084 if ac_fn_c_try_link
"$LINENO"; then :
31085 libgfor_cv_have_weakref
=yes
31087 libgfor_cv_have_weakref
=no
31089 rm -f core conftest.err conftest.
$ac_objext \
31090 conftest
$ac_exeext conftest.
$ac_ext
31091 CFLAGS
="$save_CFLAGS"
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
31094 $as_echo "$libgfor_cv_have_weakref" >&6; }
31095 if test $libgfor_cv_have_weakref = yes; then
31097 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
31101 # Various other checks on target
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31104 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31105 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
31106 $as_echo_n "(cached) " >&6
31109 if test "$cross_compiling" = yes; then :
31111 case "${target}" in
31112 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
31113 *) libgfor_cv_have_unlink_open_file
=yes;;
31116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31121 #include <unistd.h>
31122 #include <sys/stat.h>
31128 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31131 if (unlink ("testfile") == -1)
31133 write (fd, "This is a test\n", 15);
31136 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31142 if ac_fn_c_try_run
"$LINENO"; then :
31143 libgfor_cv_have_unlink_open_file
=yes
31145 libgfor_cv_have_unlink_open_file
=no
31147 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31148 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31153 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31154 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
31156 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31160 # Check whether line terminator is LF or CRLF
31162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31163 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31164 if ${libgfor_cv_have_crlf+:} false
; then :
31165 $as_echo_n "(cached) " >&6
31168 if test "$cross_compiling" = yes; then :
31170 case "${target}" in
31171 *mingw
*) libgfor_cv_have_crlf
=yes ;;
31172 *) libgfor_cv_have_crlf
=no
;;
31175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31176 /* end confdefs.h. */
31178 /* This test program should exit with status 0 if system uses a CRLF as
31179 line terminator, and status 1 otherwise.
31180 Since it is used to check for mingw systems, and should return 0 in any
31181 other case, in case of a failure we will not use CRLF. */
31182 #include <sys/stat.h>
31183 #include <stdlib.h>
31195 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31198 if (write (fd, "\n", 1) < 0)
31203 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31205 bytes = read (fd, buff, 5);
31206 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31213 if ac_fn_c_try_run
"$LINENO"; then :
31214 libgfor_cv_have_crlf
=yes
31216 libgfor_cv_have_crlf
=no
31218 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31219 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31224 $as_echo "$libgfor_cv_have_crlf" >&6; }
31225 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31227 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31231 # Check whether we support AVX extensions
31233 ac_save_CFLAGS
="$CFLAGS"
31235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31238 void _mm256_zeroall (void)
31240 __builtin_ia32_vzeroall ();
31250 if ac_fn_c_try_compile
"$LINENO"; then :
31252 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31256 CFLAGS
="$ac_save_CFLAGS"
31259 # Check whether we support AVX2 extensions
31261 ac_save_CFLAGS
="$CFLAGS"
31262 CFLAGS
="-O2 -mavx2"
31263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h. */
31266 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31268 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31270 return __builtin_ia32_andnotsi256 (__X, __Y);
31280 if ac_fn_c_try_compile
"$LINENO"; then :
31282 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31286 CFLAGS
="$ac_save_CFLAGS"
31289 # Check whether we support AVX512f extensions
31291 ac_save_CFLAGS
="$CFLAGS"
31292 CFLAGS
="-O2 -mavx512f"
31293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31294 /* end confdefs.h. */
31296 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31297 __m512d _mm512_add (__m512d a)
31299 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31300 /* For -m64/-mx32 also verify that code will work even if
31301 the target uses call saved zmm16+ and needs to emit
31302 unwind info for them (e.g. on mingw). See PR79127. */
31304 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31316 if ac_fn_c_try_compile
"$LINENO"; then :
31318 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31322 CFLAGS
="$ac_save_CFLAGS"
31325 # Check for FMA3 extensions
31327 ac_save_CFLAGS
="$CFLAGS"
31328 CFLAGS
="-O2 -mfma -mno-fma4"
31329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31330 /* end confdefs.h. */
31332 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31333 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31334 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31336 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31348 if ac_fn_c_try_compile
"$LINENO"; then :
31350 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31354 CFLAGS
="$ac_save_CFLAGS"
31357 # Check for FMA4 extensions
31359 ac_save_CFLAGS
="$CFLAGS"
31360 CFLAGS
="-O2 -mfma4 -mno-fma"
31361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31364 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31365 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31366 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31368 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31380 if ac_fn_c_try_compile
"$LINENO"; then :
31382 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31386 CFLAGS
="$ac_save_CFLAGS"
31389 # Check if AVX128 works
31391 ac_save_CFLAGS
="$CFLAGS"
31392 CFLAGS
="-O2 -mavx -mprefer-avx128"
31393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31407 if ac_fn_c_try_compile
"$LINENO"; then :
31409 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31413 HAVE_AVX128_FALSE
='#'
31415 HAVE_AVX128_TRUE
='#'
31422 HAVE_AVX128_FALSE
='#'
31424 HAVE_AVX128_TRUE
='#'
31429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31430 CFLAGS
="$ac_save_CFLAGS"
31433 # Determine what GCC version number to use in filesystem paths.
31435 get_gcc_base_ver
="cat"
31437 # Check whether --with-gcc-major-version-only was given.
31438 if test "${with_gcc_major_version_only+set}" = set; then :
31439 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31440 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31448 cat >confcache
<<\_ACEOF
31449 # This file is a shell script that caches the results of configure
31450 # tests run on this system so they can be shared between configure
31451 # scripts and configure runs, see configure's option --config-cache.
31452 # It is not useful on other systems. If it contains results you don't
31453 # want to keep, you may remove or edit it.
31455 # config.status only pays attention to the cache file if you give it
31456 # the --recheck option to rerun configure.
31458 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31459 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31460 # following values.
31464 # The following way of writing the cache mishandles newlines in values,
31465 # but we know of no workaround that is simple, portable, and efficient.
31466 # So, we kill variables containing newlines.
31467 # Ultrix sh set writes to stderr and can't be redirected directly,
31468 # and sets the high bit in the cache file unless we assign to the vars.
31470 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31471 eval ac_val
=\$
$ac_var
31475 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31476 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31479 _ | IFS | as_nl
) ;; #(
31480 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31481 *) { eval $ac_var=; unset $ac_var;} ;;
31487 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31488 *${as_nl}ac_space
=\
*)
31489 # `set' does not quote correctly, so add quotes: double-quote
31490 # substitution turns \\\\ into \\, and sed turns \\ into \.
31493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31496 # `set' quotes correctly as required by POSIX, so do not add quotes.
31497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31506 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31510 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31511 if test -w "$cache_file"; then
31512 if test "x$cache_file" != "x/dev/null"; then
31513 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31514 $as_echo "$as_me: updating cache $cache_file" >&6;}
31515 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31516 cat confcache
>"$cache_file"
31518 case $cache_file in #(
31520 mv -f confcache
"$cache_file"$$
&&
31521 mv -f "$cache_file"$$
"$cache_file" ;; #(
31523 mv -f confcache
"$cache_file" ;;
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31529 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31534 if test ${multilib} = yes; then
31535 multilib_arg
="--enable-multilib"
31540 # Write our Makefile and spec file.
31541 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31543 cat >confcache
<<\_ACEOF
31544 # This file is a shell script that caches the results of configure
31545 # tests run on this system so they can be shared between configure
31546 # scripts and configure runs, see configure's option --config-cache.
31547 # It is not useful on other systems. If it contains results you don't
31548 # want to keep, you may remove or edit it.
31550 # config.status only pays attention to the cache file if you give it
31551 # the --recheck option to rerun configure.
31553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31555 # following values.
31559 # The following way of writing the cache mishandles newlines in values,
31560 # but we know of no workaround that is simple, portable, and efficient.
31561 # So, we kill variables containing newlines.
31562 # Ultrix sh set writes to stderr and can't be redirected directly,
31563 # and sets the high bit in the cache file unless we assign to the vars.
31565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31566 eval ac_val
=\$
$ac_var
31570 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31574 _ | IFS | as_nl
) ;; #(
31575 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31576 *) { eval $ac_var=; unset $ac_var;} ;;
31582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31583 *${as_nl}ac_space
=\
*)
31584 # `set' does not quote correctly, so add quotes: double-quote
31585 # substitution turns \\\\ into \\, and sed turns \\ into \.
31588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31591 # `set' quotes correctly as required by POSIX, so do not add quotes.
31592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31605 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31606 if test -w "$cache_file"; then
31607 if test "x$cache_file" != "x/dev/null"; then
31608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31609 $as_echo "$as_me: updating cache $cache_file" >&6;}
31610 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31611 cat confcache
>"$cache_file"
31613 case $cache_file in #(
31615 mv -f confcache
"$cache_file"$$
&&
31616 mv -f "$cache_file"$$
"$cache_file" ;; #(
31618 mv -f confcache
"$cache_file" ;;
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31624 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31629 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31630 # Let make expand exec_prefix.
31631 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31633 DEFS
=-DHAVE_CONFIG_H
31638 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31639 # 1. Remove the extension, and $U if already installed.
31640 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31641 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31643 # will be set to the directory where LIBOBJS objects are built.
31644 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31645 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31647 LIBOBJS
=$ac_libobjs
31649 LTLIBOBJS
=$ac_ltlibobjs
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31653 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31654 if test -n "$am_sleep_pid"; then
31655 # Hide warnings about reused PIDs.
31656 wait $am_sleep_pid 2>/dev
/null
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31659 $as_echo "done" >&6; }
31660 if test -n "$EXEEXT"; then
31662 am__EXEEXT_FALSE
='#'
31664 am__EXEEXT_TRUE
='#'
31668 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31669 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31673 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31676 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31677 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31680 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31681 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31684 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31685 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31688 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31689 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31692 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31693 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31696 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31697 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31700 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31701 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31704 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31705 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31708 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
31709 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
31710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31712 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31713 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31716 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31717 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31720 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31721 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31725 : "${CONFIG_STATUS=./config.status}"
31727 ac_clean_files_save
=$ac_clean_files
31728 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31730 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31732 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31734 # Generated by $as_me.
31735 # Run this file to recreate the current configuration.
31736 # Compiler output produced by configure, useful for debugging
31737 # configure, is in config.log if it exists.
31740 ac_cs_recheck=false
31743 SHELL=\${CONFIG_SHELL-$SHELL}
31746 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31747 ## -------------------- ##
31748 ## M4sh Initialization. ##
31749 ## -------------------- ##
31751 # Be more Bourne compatible
31752 DUALCASE
=1; export DUALCASE
# for MKS sh
31753 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31757 # is contrary to our usage. Disable this feature.
31758 alias -g '${1+"$@"}'='"$@"'
31759 setopt NO_GLOB_SUBST
31761 case `(set -o) 2>/dev/null` in #(
31773 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31774 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31777 # Prefer a ksh shell builtin over an external printf program on Solaris,
31778 # but without wasting forks for bash or zsh.
31779 if test -z "$BASH_VERSION$ZSH_VERSION" \
31780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31781 as_echo='print
-r --'
31782 as_echo_n='print
-rn --'
31783 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31784 as_echo='printf %s
\n'
31785 as_echo_n='printf %s
'
31787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31788 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31789 as_echo_n='/usr
/ucb
/echo -n'
31791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31792 as_echo_n_body='eval
31796 expr "X$arg" : "X\\(.*\\)$as_nl";
31797 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31799 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31801 export as_echo_n_body
31802 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31804 export as_echo_body
31805 as_echo='sh
-c $as_echo_body as_echo
'
31808 # The user is always right.
31809 if test "${PATH_SEPARATOR+set}" != set; then
31811 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31812 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31819 # We need space, tab and new line, in precisely that order. Quoting is
31820 # there to prevent editors from complaining about space-tab.
31821 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31822 # splitting by setting IFS to empty value.)
31825 # Find who we are. Look in the path if we contain no directory separator.
31828 *[\\/]* ) as_myself=$0 ;;
31829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31830 for as_dir in $PATH
31833 test -z "$as_dir" && as_dir=.
31834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31840 # We did not find ourselves, most probably we were run as `sh COMMAND'
31841 # in which case we are not to be found in the path.
31842 if test "x$as_myself" = x
; then
31845 if test ! -f "$as_myself"; then
31846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31850 # Unset variables that we do not need and which cause bugs (e.g. in
31851 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31852 # suppresses any "Segmentation fault" message there. '((' could
31853 # trigger a bug in pdksh 5.2.14.
31854 for as_var
in BASH_ENV ENV MAIL MAILPATH
31855 do eval test x\
${$as_var+set} = xset \
31856 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31869 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31872 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31873 # ----------------------------------------
31874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31876 # script with STATUS, using 1 if that was 0.
31879 as_status
=$1; test $as_status -eq 0 && as_status
=1
31881 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31884 $as_echo "$as_me: error: $2" >&2
31885 as_fn_exit
$as_status
31889 # as_fn_set_status STATUS
31890 # -----------------------
31891 # Set $? to STATUS, without forking.
31892 as_fn_set_status
()
31895 } # as_fn_set_status
31897 # as_fn_exit STATUS
31898 # -----------------
31899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31903 as_fn_set_status
$1
31909 # Portably unset VAR.
31912 { eval $1=; unset $1;}
31914 as_unset
=as_fn_unset
31915 # as_fn_append VAR VALUE
31916 # ----------------------
31917 # Append the text in VALUE to the end of the definition contained in VAR. Take
31918 # advantage of any shell optimizations that allow amortized linear growth over
31919 # repeated appends, instead of the typical quadratic growth present in naive
31921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31922 eval 'as_fn_append ()
31933 # as_fn_arith ARG...
31934 # ------------------
31935 # Perform arithmetic evaluation on the ARGs, and store the result in the
31936 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31937 # must be portable across $(()) and expr.
31938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31939 eval 'as_fn_arith ()
31946 as_val
=`expr "$@" || test $? -eq 1`
31951 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31952 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31958 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31959 as_basename
=basename
31964 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31970 as_me
=`$as_basename -- "$0" ||
31971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31972 X"$0" : 'X\(//\)$' \| \
31973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31975 sed '/^.*\/\([^/][^/]*\)\/*$/{
31989 # Avoid depending upon Character Ranges.
31990 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31991 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31992 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31993 as_cr_digits
='0123456789'
31994 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31996 ECHO_C
= ECHO_N
= ECHO_T
=
31997 case `echo -n x` in #(((((
31999 case `echo 'xy\c'` in
32000 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
32002 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
32009 rm -f conf$$ conf$$.exe conf$$.
file
32010 if test -d conf$$.dir
; then
32011 rm -f conf$$.dir
/conf$$.
file
32014 mkdir conf$$.dir
2>/dev
/null
32016 if (echo >conf$$.
file) 2>/dev
/null
; then
32017 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
32019 # ... but there are two gotchas:
32020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32022 # In both cases, we have to default to `cp -pR'.
32023 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
32025 elif ln conf$$.
file conf$$
2>/dev
/null
; then
32033 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
32034 rmdir conf$$.dir
2>/dev
/null
32039 # Create "$as_dir" as a directory, including parents if necessary.
32044 -*) as_dir
=.
/$as_dir;;
32046 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
32050 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32051 *) as_qdir
=$as_dir;;
32053 as_dirs
="'$as_qdir' $as_dirs"
32054 as_dir
=`$as_dirname -- "$as_dir" ||
32055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32056 X"$as_dir" : 'X\(//\)[^/]' \| \
32057 X"$as_dir" : 'X\(//\)$' \| \
32058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32059 $as_echo X"$as_dir" |
32060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32064 /^X\(\/\/\)[^/].*/{
32077 test -d "$as_dir" && break
32079 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
32080 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
32084 if mkdir
-p .
2>/dev
/null
; then
32085 as_mkdir_p
='mkdir -p "$as_dir"'
32087 test -d .
/-p && rmdir .
/-p
32092 # as_fn_executable_p FILE
32093 # -----------------------
32094 # Test if FILE is an executable regular file.
32095 as_fn_executable_p
()
32097 test -f "$1" && test -x "$1"
32098 } # as_fn_executable_p
32099 as_test_x
='test -x'
32100 as_executable_p
=as_fn_executable_p
32102 # Sed expression to map a string onto a valid CPP name.
32103 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32105 # Sed expression to map a string onto a valid variable name.
32106 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32110 ## ----------------------------------- ##
32111 ## Main body of $CONFIG_STATUS script. ##
32112 ## ----------------------------------- ##
32114 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
32116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32117 # Save the log message, to keep $0 and so on meaningful, and to
32118 # report actual input values of CONFIG_FILES etc. instead of their
32119 # values after options handling.
32121 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32122 generated by GNU Autoconf 2.69. Invocation command line was
32124 CONFIG_FILES = $CONFIG_FILES
32125 CONFIG_HEADERS = $CONFIG_HEADERS
32126 CONFIG_LINKS = $CONFIG_LINKS
32127 CONFIG_COMMANDS = $CONFIG_COMMANDS
32130 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32135 case $ac_config_files in *"
32136 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
32139 case $ac_config_headers in *"
32140 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
32144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32145 # Files that config.status was made for.
32146 config_files="$ac_config_files"
32147 config_headers="$ac_config_headers"
32148 config_commands="$ac_config_commands"
32152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32154 \`$as_me' instantiates files and other configuration actions
32155 from templates according to the current configuration. Unless the files
32156 and actions are specified as TAGs, all are instantiated by default.
32158 Usage: $0 [OPTION]... [TAG]...
32160 -h, --help print this help, then exit
32161 -V, --version print version number and configuration settings, then exit
32162 --config print configuration, then exit
32163 -q, --quiet, --silent
32164 do not print progress messages
32165 -d, --debug don't remove temporary files
32166 --recheck update $as_me by reconfiguring in the same conditions
32167 --file=FILE[:TEMPLATE]
32168 instantiate the configuration file FILE
32169 --header=FILE[:TEMPLATE]
32170 instantiate the configuration header FILE
32172 Configuration files:
32175 Configuration headers:
32178 Configuration commands:
32181 Report bugs to the package provider.
32182 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32183 General help using GNU software: <http://www.gnu.org/gethelp/>."
32186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32187 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32189 GNU Fortran Runtime Library config.status 0.3
32190 configured by $0, generated by GNU Autoconf 2.69,
32191 with options \\"\$ac_cs_config\\"
32193 Copyright (C) 2012 Free Software Foundation, Inc.
32194 This config.status script is free software; the Free Software Foundation
32195 gives unlimited permission to copy, distribute and modify it."
32202 test -n "\$AWK" || AWK=awk
32205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32206 # The default lists apply if the user does not specify any file.
32212 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32213 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32217 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32229 # Handling of the options.
32230 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32232 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32233 $as_echo "$ac_cs_version"; exit ;;
32234 --config |
--confi |
--conf |
--con |
--co |
--c )
32235 $as_echo "$ac_cs_config"; exit ;;
32236 --debug |
--debu |
--deb |
--de |
--d |
-d )
32238 --file |
--fil |
--fi |
--f )
32241 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32242 '') as_fn_error $?
"missing file argument" ;;
32244 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32245 ac_need_defaults
=false
;;
32246 --header |
--heade |
--head |
--hea )
32249 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32251 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32252 ac_need_defaults
=false
;;
32254 # Conflict between --help and --header
32255 as_fn_error $?
"ambiguous option: \`$1'
32256 Try \`$0 --help' for more information.";;
32257 --help |
--hel |
-h )
32258 $as_echo "$ac_cs_usage"; exit ;;
32259 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32260 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32263 # This is an error.
32264 -*) as_fn_error $?
"unrecognized option: \`$1'
32265 Try \`$0 --help' for more information." ;;
32267 *) as_fn_append ac_config_targets
" $1"
32268 ac_need_defaults
=false
;;
32274 ac_configure_extra_args
=
32276 if $ac_cs_silent; then
32278 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32283 if \$ac_cs_recheck; then
32284 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32286 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32287 CONFIG_SHELL='$SHELL'
32288 export CONFIG_SHELL
32293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32297 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32298 ## Running $as_me. ##
32304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32312 with_multisubdir="$with_multisubdir"
32313 with_multisrctop="$with_multisrctop"
32314 with_target_subdir="$with_target_subdir"
32315 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32316 multi_basedir="$multi_basedir"
32317 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32320 GFORTRAN="$GFORTRAN"
32322 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32325 # The HP-UX ksh and POSIX shell print the target directory to stdout
32326 # if CDPATH is set.
32327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32329 sed_quote_subst='$sed_quote_subst'
32330 double_quote_subst='$double_quote_subst'
32331 delay_variable_subst='$delay_variable_subst'
32332 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32333 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32334 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32335 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32336 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32337 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32338 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32339 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32340 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32341 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32342 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32343 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32344 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32345 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32346 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32347 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32348 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32349 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32350 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32351 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32352 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32353 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32354 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32355 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32356 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32357 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32358 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32359 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32360 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32361 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32362 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32363 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32364 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32365 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32366 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32367 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32368 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32369 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32370 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32371 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32372 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32373 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32374 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32375 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32376 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32377 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32378 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32379 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32380 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"`'
32381 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32382 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32383 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32384 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32385 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32386 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32387 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32388 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32389 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32390 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32391 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32392 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32393 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32394 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32395 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32396 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32397 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32398 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32399 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32400 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32401 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32402 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32403 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32404 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32405 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32406 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32407 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32408 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32409 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32410 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32411 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32412 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32413 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32414 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32415 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32416 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32417 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32418 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32419 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32420 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32421 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32422 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32423 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32424 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32425 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32426 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32427 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32428 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32429 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32430 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32431 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32432 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32433 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32434 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32435 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32436 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32437 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32438 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32439 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32440 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32441 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32442 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32443 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32444 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32445 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32446 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32447 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32448 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32449 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32450 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32451 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32452 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32453 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32454 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32455 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32456 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32457 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32458 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32459 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32460 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32461 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32462 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32463 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32464 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32465 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32466 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32467 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32468 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32469 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32470 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32471 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32472 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32473 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32474 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32475 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32476 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32477 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32478 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32479 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32480 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32481 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32482 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32483 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32484 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32485 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32486 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32487 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32488 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32489 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32490 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32491 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32492 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32493 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32494 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32495 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32496 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32497 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32498 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32499 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32500 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32501 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32502 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32503 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32504 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32505 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32506 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32509 LTCFLAGS='$LTCFLAGS'
32510 compiler='$compiler_DEFAULT'
32512 # A function that is used when there is no print builtin or printf.
32513 func_fallback_echo ()
32515 eval 'cat <<_LTECHO_EOF
32520 # Quote evaled strings.
32534 deplibs_check_method \
32543 lt_cv_sys_global_symbol_pipe \
32544 lt_cv_sys_global_symbol_to_cdecl \
32545 lt_cv_sys_global_symbol_to_c_name_address \
32546 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32547 lt_prog_compiler_no_builtin_flag \
32548 lt_prog_compiler_wl \
32549 lt_prog_compiler_pic \
32550 lt_prog_compiler_static \
32551 lt_cv_prog_compiler_c_o \
32559 export_dynamic_flag_spec \
32560 whole_archive_flag_spec \
32561 compiler_needs_object \
32563 allow_undefined_flag \
32564 no_undefined_flag \
32565 hardcode_libdir_flag_spec \
32566 hardcode_libdir_flag_spec_ld \
32567 hardcode_libdir_separator \
32572 variables_saved_for_relink \
32574 library_names_spec \
32576 install_override_mode \
32580 compiler_lib_search_dirs \
32585 compiler_lib_search_path \
32589 lt_prog_compiler_no_builtin_flag_FC \
32590 lt_prog_compiler_wl_FC \
32591 lt_prog_compiler_pic_FC \
32592 lt_prog_compiler_static_FC \
32593 lt_cv_prog_compiler_c_o_FC \
32594 export_dynamic_flag_spec_FC \
32595 whole_archive_flag_spec_FC \
32596 compiler_needs_object_FC \
32598 allow_undefined_flag_FC \
32599 no_undefined_flag_FC \
32600 hardcode_libdir_flag_spec_FC \
32601 hardcode_libdir_flag_spec_ld_FC \
32602 hardcode_libdir_separator_FC \
32603 fix_srcfile_path_FC \
32604 exclude_expsyms_FC \
32605 include_expsyms_FC \
32606 file_list_spec_FC \
32607 compiler_lib_search_dirs_FC \
32608 predep_objects_FC \
32609 postdep_objects_FC \
32612 compiler_lib_search_path_FC; do
32613 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32614 *[\\\\\\\`\\"\\\$]*)
32615 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32618 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32623 # Double-quote double-evaled strings.
32624 for var in reload_cmds \
32625 old_postinstall_cmds \
32626 old_postuninstall_cmds \
32628 extract_expsyms_cmds \
32629 old_archive_from_new_cmds \
32630 old_archive_from_expsyms_cmds \
32632 archive_expsym_cmds \
32634 module_expsym_cmds \
32635 export_symbols_cmds \
32638 postuninstall_cmds \
32640 sys_lib_search_path_spec \
32641 sys_lib_dlsearch_path_spec \
32643 old_archive_cmds_FC \
32644 old_archive_from_new_cmds_FC \
32645 old_archive_from_expsyms_cmds_FC \
32647 archive_expsym_cmds_FC \
32649 module_expsym_cmds_FC \
32650 export_symbols_cmds_FC \
32651 prelink_cmds_FC; do
32652 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32653 *[\\\\\\\`\\"\\\$]*)
32654 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32657 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32662 ac_aux_dir='$ac_aux_dir'
32663 xsi_shell='$xsi_shell'
32664 lt_shell_append='$lt_shell_append'
32666 # See if we are running on zsh, and set the options which allow our
32667 # commands through without removal of \ escapes INIT.
32668 if test -n "\${ZSH_VERSION+set}" ; then
32669 setopt NO_GLOB_SUBST
32675 TIMESTAMP='$TIMESTAMP'
32686 acx_cv_header_stdint="$acx_cv_header_stdint"
32687 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32688 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32689 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32690 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32691 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32692 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32693 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32694 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32695 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32696 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32697 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32698 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32699 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32706 # Handling of arguments.
32707 for ac_config_target
in $ac_config_targets
32709 case $ac_config_target in
32710 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32711 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32712 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32713 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32714 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32715 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32716 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32718 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32723 # If the user did not use the arguments to specify the items to instantiate,
32724 # then the envvar interface is used. Set only those that are not.
32725 # We use the long form for the default assignment because of an extremely
32726 # bizarre bug on SunOS 4.1.3.
32727 if $ac_need_defaults; then
32728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32730 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32733 # Have a temporary directory for convenience. Make it in the build tree
32734 # simply because there is no reason against having it here, and in addition,
32735 # creating and moving files from /tmp can sometimes cause problems.
32736 # Hook for its removal unless debugging.
32737 # Note that there is a small window in which the directory will not be cleaned:
32738 # after its creation but before its name has been assigned to `$tmp'.
32742 trap 'exit_status=$?
32743 : "${ac_tmp:=$tmp}"
32744 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32746 trap 'as_fn_exit 1' 1 2 13 15
32748 # Create a (secure) tmp directory for tmp files.
32751 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32755 tmp
=.
/conf$$
-$RANDOM
32756 (umask 077 && mkdir
"$tmp")
32757 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32760 # Set up the scripts for CONFIG_FILES section.
32761 # No need to generate them if there are no CONFIG_FILES.
32762 # This happens for instance with `./config.status config.h'.
32763 if test -n "$CONFIG_FILES"; then
32766 ac_cr
=`echo X | tr X '\015'`
32767 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32768 # But we know of no other shell where ac_cr would be empty at this
32769 # point, so we can use a bashism as a fallback.
32770 if test "x$ac_cr" = x
; then
32771 eval ac_cr
=\$
\'\\r
\'
32773 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32774 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32777 ac_cs_awk_cr
=$ac_cr
32780 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32785 echo "cat >conf$$subs.awk <<_ACEOF" &&
32786 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32788 } >conf$$subs.sh ||
32789 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32790 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32792 for ac_last_try in false false false false false :; do
32793 . ./conf$$subs.sh ||
32794 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32796 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32797 if test $ac_delim_n = $ac_delim_num; then
32799 elif $ac_last_try; then
32800 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32802 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32805 rm -f conf$$subs.sh
32807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32808 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32812 s/^/S["/; s
/!.
*/"]=/
32822 s/\(.\{148\}\)..*/\1/
32824 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32829 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32836 s/\(.\{148\}\)..*/\1/
32838 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32842 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32847 ' <conf$$subs.awk | sed '
32852 ' >>$CONFIG_STATUS || ac_write_fail=1
32853 rm -f conf$$subs.awk
32854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32856 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32857 for (key in S) S_is_set[key] = 1
32863 nfields = split(line, field, "@
")
32865 len = length(field[1])
32866 for (i = 2; i < nfields; i++) {
32868 keylen = length(key)
32869 if (S_is_set[key]) {
32871 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32872 len += length(value) + length(field[++i])
32883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32884 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32885 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32888 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32889 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32892 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32893 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32894 # trailing colons and then remove the whole line if VPATH becomes empty
32895 # (actually we leave an empty line to preserve line numbers).
32896 if test "x
$srcdir" = x.; then
32897 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32916 fi # test -n "$CONFIG_FILES"
32918 # Set up the scripts for CONFIG_HEADERS section.
32919 # No need to generate them if there are no CONFIG_HEADERS.
32920 # This happens for instance with `./config.status Makefile'.
32921 if test -n "$CONFIG_HEADERS"; then
32922 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32926 # Transform confdefs.h into an awk script `defines.awk', embedded as
32927 # here-document in config.status, that substitutes the proper values into
32928 # config.h.in to produce config.h.
32930 # Create a delimiter string that does not exist in confdefs.h, to ease
32931 # handling of long lines.
32933 for ac_last_try in false false :; do
32934 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32935 if test -z "$ac_tt"; then
32937 elif $ac_last_try; then
32938 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32940 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32944 # For the awk script, D is an array of macro values keyed by name,
32945 # likewise P contains macro parameters if any. Preserve backslash
32946 # newline sequences.
32948 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32950 s/.\{148\}/&'"$ac_delim"'/g
32953 s/^[ ]*#[ ]*define[ ][ ]*/ /
32960 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32962 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32966 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32967 D["\
1"]=" \
3\\\\\\n
"\\/p
32969 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32974 s/.\{148\}/&'"$ac_delim"'/g
32979 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32982 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32984 ' <confdefs.h | sed '
32985 s/'"$ac_delim"'/"\\\
32986 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32989 for (key in D) D_is_set[key] = 1
32992 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32994 split(line, arg, " ")
32995 if (arg[1] == "#") {
32999 defundef
= substr
(arg
[1], 2)
33002 split(mac1
, mac2
, "(") #)
33004 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
33005 if (D_is_set
[macro
]) {
33006 # Preserve the white space surrounding the "#".
33007 print prefix
"define", macro P
[macro
] D
[macro
]
33010 # Replace #undef with comments. This is necessary, for example,
33011 # in the case of _POSIX_SOURCE, which is predefined and required
33012 # on some systems where configure will not decide to define it.
33013 if (defundef
== "undef") {
33014 print
"/*", prefix defundef
, macro
, "*/"
33022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33023 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
33024 fi # test -n "$CONFIG_HEADERS"
33027 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33032 :[FHLC
]) ac_mode
=$ac_tag; continue;;
33034 case $ac_mode$ac_tag in
33036 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
33037 :[FH
]-) ac_tag
=-:-;;
33038 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
33055 -) ac_f
="$ac_tmp/stdin";;
33056 *) # Look for the file first in the build tree, then in the source tree
33057 # (if the path is not absolute). The absolute path cannot be DOS-style,
33058 # because $ac_f cannot contain `:'.
33062 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
33064 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33066 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33067 as_fn_append ac_file_inputs
" '$ac_f'"
33070 # Let's still pretend it is `configure' which instantiates (i.e., don't
33071 # use $as_me), people would be surprised to read:
33072 # /* config.h. Generated by config.status. */
33073 configure_input
='Generated from '`
33074 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33076 if test x
"$ac_file" != x-
; then
33077 configure_input
="$ac_file. $configure_input"
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33079 $as_echo "$as_me: creating $ac_file" >&6;}
33081 # Neutralize special characters interpreted by sed in replacement strings.
33082 case $configure_input in #(
33083 *\
&* |
*\|
* |
*\\* )
33084 ac_sed_conf_input
=`$as_echo "$configure_input" |
33085 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33086 *) ac_sed_conf_input
=$configure_input;;
33090 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
33091 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
33096 ac_dir
=`$as_dirname -- "$ac_file" ||
33097 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33098 X"$ac_file" : 'X\(//\)[^/]' \| \
33099 X"$ac_file" : 'X\(//\)$' \| \
33100 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33101 $as_echo X"$ac_file" |
33102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33106 /^X\(\/\/\)[^/].*/{
33119 as_dir
="$ac_dir"; as_fn_mkdir_p
33123 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33125 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33126 # A ".." for each directory in $ac_dir_suffix.
33127 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33128 case $ac_top_builddir_sub in
33129 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33130 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
33133 ac_abs_top_builddir
=$ac_pwd
33134 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
33135 # for backward compatibility:
33136 ac_top_builddir
=$ac_top_build_prefix
33139 .
) # We are building in place.
33141 ac_top_srcdir
=$ac_top_builddir_sub
33142 ac_abs_top_srcdir
=$ac_pwd ;;
33143 [\\/]* | ?
:[\\/]* ) # Absolute name.
33144 ac_srcdir
=$srcdir$ac_dir_suffix;
33145 ac_top_srcdir
=$srcdir
33146 ac_abs_top_srcdir
=$srcdir ;;
33147 *) # Relative name.
33148 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33149 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33150 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33152 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33162 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33163 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33165 ac_MKDIR_P
=$MKDIR_P
33167 [\\/$
]* | ?
:[\\/]* ) ;;
33168 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
33172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33173 # If the template does not know about datarootdir, expand it.
33174 # FIXME: This hack should be removed a few years after 2.60.
33175 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33186 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33187 *datarootdir
*) ac_datarootdir_seen
=yes;;
33188 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33190 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33193 ac_datarootdir_hack='
33194 s&@datadir@&$datadir&g
33195 s&@docdir@&$docdir&g
33196 s&@infodir@&$infodir&g
33197 s&@localedir@&$localedir&g
33198 s&@mandir@&$mandir&g
33199 s&\\\${datarootdir}&$datarootdir&g' ;;
33203 # Neutralize VPATH when `$srcdir' = `.'.
33204 # Shell code in configure.ac might set extrasub.
33205 # FIXME: do we really want to maintain this feature?
33206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33207 ac_sed_extra="$ac_vpsub
33210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33212 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33213 s|@configure_input@|
$ac_sed_conf_input|
;t t
33214 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33215 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33216 s
&@srcdir@
&$ac_srcdir&;t t
33217 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33218 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33219 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33220 s
&@builddir@
&$ac_builddir&;t t
33221 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33222 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33223 s
&@INSTALL@
&$ac_INSTALL&;t t
33224 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33225 $ac_datarootdir_hack
33227 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33228 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33230 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33231 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33232 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33233 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33235 which seems to be undefined. Please make sure it is defined" >&5
33236 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33237 which seems to be undefined. Please make sure it is defined" >&2;}
33239 rm -f "$ac_tmp/stdin"
33241 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33242 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33250 if test x"$ac_file" != x-; then
33252 $as_echo "/* $configure_input */" \
33253 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33254 } >"$ac_tmp/config.h" \
33255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33256 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33258 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33261 mv "$ac_tmp/config.h" "$ac_file" \
33262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33265 $as_echo "/* $configure_input */" \
33266 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33267 || as_fn_error $? "could not create -" "$LINENO" 5
33269 # Compute "$ac_file"'s index
in $config_headers.
33272 for _am_header
in $config_headers :; do
33273 case $_am_header in
33274 $_am_arg |
$_am_arg:* )
33277 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33280 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33281 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33282 X"$_am_arg" : 'X\(//\)[^/]' \| \
33283 X"$_am_arg" : 'X\(//\)$' \| \
33284 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33285 $as_echo X"$_am_arg" |
33286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33290 /^X\(\/\/\)[^/].*/{
33302 s/.*/./; q'`/stamp-h
$_am_stamp_count
33305 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33306 $as_echo "$as_me: executing $ac_file commands" >&6;}
33311 case $ac_file$ac_mode in
33313 # Only add multilib support code if we just rebuilt the top-level
33315 case " $CONFIG_FILES " in
33317 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33320 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33321 # Older Autoconf quotes --file arguments for eval, but not when files
33322 # are listed without --file. Let's play safe and only enable the eval
33323 # if we detect the quoting.
33324 case $CONFIG_FILES in
33325 *\'*) eval set x
"$CONFIG_FILES" ;;
33326 *) set x
$CONFIG_FILES ;;
33331 # Strip MF so we end up with the name of the file.
33332 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33333 # Check whether this is an Automake generated Makefile or not.
33334 # We used to match only the files named 'Makefile.in', but
33335 # some people rename them; so instead we look at the file content.
33336 # Grep'ing the first line is not enough: some people post-process
33337 # each Makefile.in and add a new line on top of each file to say so.
33338 # Grep'ing the whole file is not good either: AIX grep has a line
33339 # limit of 2048, but all sed's we know have understand at least 4000.
33340 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33341 dirpart
=`$as_dirname -- "$mf" ||
33342 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33343 X"$mf" : 'X\(//\)[^/]' \| \
33344 X"$mf" : 'X\(//\)$' \| \
33345 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33351 /^X\(\/\/\)[^/].*/{
33367 # Extract the definition of DEPDIR, am__include, and am__quote
33368 # from the Makefile without running 'make'.
33369 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33370 test -z "$DEPDIR" && continue
33371 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33372 test -z "$am__include" && continue
33373 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33374 # Find all dependency output files, they are included files with
33375 # $(DEPDIR) in their names. We invoke sed twice because it is the
33376 # simplest approach to changing $(DEPDIR) to its actual value in the
33378 for file in `sed -n "
33379 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33380 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33381 # Make sure the directory exists.
33382 test -f "$dirpart/$file" && continue
33383 fdir
=`$as_dirname -- "$file" ||
33384 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33385 X"$file" : 'X\(//\)[^/]' \| \
33386 X"$file" : 'X\(//\)$' \| \
33387 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33388 $as_echo X"$file" |
33389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33393 /^X\(\/\/\)[^/].*/{
33406 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33407 # echo "creating $dirpart/$file"
33408 echo '# dummy' > "$dirpart/$file"
33415 # See if we are running on zsh, and set the options which allow our
33416 # commands through without removal of \ escapes.
33417 if test -n "${ZSH_VERSION+set}" ; then
33418 setopt NO_GLOB_SUBST
33421 cfgfile
="${ofile}T"
33422 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33425 cat <<_LT_EOF >> "$cfgfile"
33428 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33429 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33430 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33431 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33433 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33434 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33435 # Written by Gordon Matzigkeit, 1996
33437 # This file is part of GNU Libtool.
33439 # GNU Libtool is free software; you can redistribute it and/or
33440 # modify it under the terms of the GNU General Public License as
33441 # published by the Free Software Foundation; either version 2 of
33442 # the License, or (at your option) any later version.
33444 # As a special exception to the GNU General Public License,
33445 # if you distribute this file as part of a program or library that
33446 # is built using GNU Libtool, you may include this file under the
33447 # same distribution terms that you use for the rest of that program.
33449 # GNU Libtool is distributed in the hope that it will be useful,
33450 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33452 # GNU General Public License for more details.
33454 # You should have received a copy of the GNU General Public License
33455 # along with GNU Libtool; see the file COPYING. If not, a copy
33456 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33457 # obtained by writing to the Free Software Foundation, Inc.,
33458 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33461 # The names of the tagged configurations supported by this script.
33462 available_tags="FC "
33464 # ### BEGIN LIBTOOL CONFIG
33466 # A sed program that does not truncate output.
33469 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33470 Xsed="\$SED -e 1s/^X//"
33472 # A grep program that handles long lines.
33478 # A literal string matcher.
33481 # Shell to use when invoking shell scripts.
33484 # An echo program that protects backslashes.
33487 # Which release of libtool.m4 was used?
33488 macro_version=$macro_version
33489 macro_revision=$macro_revision
33491 # Whether or not to build shared libraries.
33492 build_libtool_libs=$enable_shared
33494 # Whether or not to build static libraries.
33495 build_old_libs=$enable_static
33497 # What type of objects to build.
33500 # Whether or not to optimize for fast installation.
33501 fast_install=$enable_fast_install
33504 host_alias=$host_alias
33508 # The build system.
33509 build_alias=$build_alias
33513 # A BSD- or MS-compatible name lister.
33516 # Whether we need soft or hard links.
33519 # What is the maximum length of a command?
33520 max_cmd_len=$max_cmd_len
33522 # Object file suffix (normally "o").
33525 # Executable file suffix (normally "").
33528 # whether the shell understands "unset".
33531 # turn spaces into newlines.
33534 # turn newlines into spaces.
33537 # An object symbol dumper.
33538 OBJDUMP=$lt_OBJDUMP
33540 # Method to check whether dependent libraries are shared objects.
33541 deplibs_check_method=$lt_deplibs_check_method
33543 # Command to use when deplibs_check_method == "file_magic".
33544 file_magic_cmd=$lt_file_magic_cmd
33548 AR_FLAGS=$lt_AR_FLAGS
33550 # A symbol stripping program.
33553 # Commands used to install an old-style archive.
33555 old_postinstall_cmds=$lt_old_postinstall_cmds
33556 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33558 # Whether to use a lock for old archive extraction.
33559 lock_old_archive_extraction=$lock_old_archive_extraction
33564 # LTCC compiler flags.
33565 LTCFLAGS=$lt_CFLAGS
33567 # Take the output of nm and produce a listing of raw symbols and C names.
33568 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33570 # Transform the output of nm in a proper C declaration.
33571 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33573 # Transform the output of nm in a C name address pair.
33574 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33576 # Transform the output of nm in a C name address pair when lib prefix is needed.
33577 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33579 # The name of the directory that contains temporary libtool files.
33582 # Used to examine libraries when file_magic_cmd begins with "file".
33583 MAGIC_CMD=$MAGIC_CMD
33585 # Must we lock files when doing compilation?
33586 need_locks=$lt_need_locks
33588 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33589 DSYMUTIL=$lt_DSYMUTIL
33591 # Tool to change global to local symbols on Mac OS X.
33594 # Tool to manipulate fat objects and archives on Mac OS X.
33597 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33600 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33601 OTOOL64=$lt_OTOOL64
33603 # Old archive suffix (normally "a").
33606 # Shared library suffix (normally ".so").
33607 shrext_cmds=$lt_shrext_cmds
33609 # The commands to extract the exported symbol list from a shared archive.
33610 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33612 # Variables whose values should be saved in libtool wrapper scripts and
33613 # restored at link time.
33614 variables_saved_for_relink=$lt_variables_saved_for_relink
33616 # Do we need the "lib" prefix for modules?
33617 need_lib_prefix=$need_lib_prefix
33619 # Do we need a version for libraries?
33620 need_version=$need_version
33622 # Library versioning type.
33623 version_type=$version_type
33625 # Shared library runtime path variable.
33626 runpath_var=$runpath_var
33628 # Shared library path variable.
33629 shlibpath_var=$shlibpath_var
33631 # Is shlibpath searched before the hard-coded library search path?
33632 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33634 # Format of library name prefix.
33635 libname_spec=$lt_libname_spec
33637 # List of archive names. First name is the real one, the rest are links.
33638 # The last name is the one that the linker finds with -lNAME
33639 library_names_spec=$lt_library_names_spec
33641 # The coded name of the library, if different from the real name.
33642 soname_spec=$lt_soname_spec
33644 # Permission mode override for installation of shared libraries.
33645 install_override_mode=$lt_install_override_mode
33647 # Command to use after installation of a shared archive.
33648 postinstall_cmds=$lt_postinstall_cmds
33650 # Command to use after uninstallation of a shared archive.
33651 postuninstall_cmds=$lt_postuninstall_cmds
33653 # Commands used to finish a libtool library installation in a directory.
33654 finish_cmds=$lt_finish_cmds
33656 # As "finish_cmds", except a single script fragment to be evaled but
33658 finish_eval=$lt_finish_eval
33660 # Whether we should hardcode library paths into libraries.
33661 hardcode_into_libs=$hardcode_into_libs
33663 # Compile-time system search path for libraries.
33664 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33666 # Run-time system search path for libraries.
33667 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33669 # Whether dlopen is supported.
33670 dlopen_support=$enable_dlopen
33672 # Whether dlopen of programs is supported.
33673 dlopen_self=$enable_dlopen_self
33675 # Whether dlopen of statically linked programs is supported.
33676 dlopen_self_static=$enable_dlopen_self_static
33678 # Commands to strip libraries.
33679 old_striplib=$lt_old_striplib
33680 striplib=$lt_striplib
33683 # The linker used to build libraries.
33686 # How to create reloadable object files.
33687 reload_flag=$lt_reload_flag
33688 reload_cmds=$lt_reload_cmds
33690 # Commands used to build an old-style archive.
33691 old_archive_cmds=$lt_old_archive_cmds
33693 # A language specific compiler.
33696 # Is the compiler the GNU compiler?
33699 # Compiler flag to turn off builtin functions.
33700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33702 # How to pass a linker flag through the compiler.
33703 wl=$lt_lt_prog_compiler_wl
33705 # Additional compiler flags for building library objects.
33706 pic_flag=$lt_lt_prog_compiler_pic
33708 # Compiler flag to prevent dynamic linking.
33709 link_static_flag=$lt_lt_prog_compiler_static
33711 # Does compiler simultaneously support -c and -o options?
33712 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33714 # Whether or not to add -lc for building shared libraries.
33715 build_libtool_need_lc=$archive_cmds_need_lc
33717 # Whether or not to disallow shared libs when runtime libs are static.
33718 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33720 # Compiler flag to allow reflexive dlopens.
33721 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33723 # Compiler flag to generate shared objects directly from archives.
33724 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33726 # Whether the compiler copes with passing no objects directly.
33727 compiler_needs_object=$lt_compiler_needs_object
33729 # Create an old-style archive from a shared archive.
33730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33732 # Create a temporary old-style archive to link instead of a shared archive.
33733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33735 # Commands used to build a shared archive.
33736 archive_cmds=$lt_archive_cmds
33737 archive_expsym_cmds=$lt_archive_expsym_cmds
33739 # Commands used to build a loadable module if different from building
33740 # a shared archive.
33741 module_cmds=$lt_module_cmds
33742 module_expsym_cmds=$lt_module_expsym_cmds
33744 # Whether we are building with GNU ld or not.
33745 with_gnu_ld=$lt_with_gnu_ld
33747 # Flag that allows shared libraries with undefined symbols to be built.
33748 allow_undefined_flag=$lt_allow_undefined_flag
33750 # Flag that enforces no undefined symbols.
33751 no_undefined_flag=$lt_no_undefined_flag
33753 # Flag to hardcode \$libdir into a binary during linking.
33754 # This must work even if \$libdir does not exist
33755 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33757 # If ld is used when linking, flag to hardcode \$libdir into a binary
33758 # during linking. This must work even if \$libdir does not exist.
33759 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33761 # Whether we need a single "-rpath" flag with a separated argument.
33762 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33764 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33765 # DIR into the resulting binary.
33766 hardcode_direct=$hardcode_direct
33768 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33769 # DIR into the resulting binary and the resulting library dependency is
33770 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33771 # library is relocated.
33772 hardcode_direct_absolute=$hardcode_direct_absolute
33774 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33775 # into the resulting binary.
33776 hardcode_minus_L=$hardcode_minus_L
33778 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33779 # into the resulting binary.
33780 hardcode_shlibpath_var=$hardcode_shlibpath_var
33782 # Set to "yes" if building a shared library automatically hardcodes DIR
33783 # into the library and all subsequent libraries and executables linked
33785 hardcode_automatic=$hardcode_automatic
33787 # Set to yes if linker adds runtime paths of dependent libraries
33788 # to runtime path list.
33789 inherit_rpath=$inherit_rpath
33791 # Whether libtool must link a program against all its dependency libraries.
33792 link_all_deplibs=$link_all_deplibs
33794 # Fix the shell variable \$srcfile for the compiler.
33795 fix_srcfile_path=$lt_fix_srcfile_path
33797 # Set to "yes" if exported symbols are required.
33798 always_export_symbols=$always_export_symbols
33800 # The commands to list exported symbols.
33801 export_symbols_cmds=$lt_export_symbols_cmds
33803 # Symbols that should not be listed in the preloaded symbols.
33804 exclude_expsyms=$lt_exclude_expsyms
33806 # Symbols that must always be exported.
33807 include_expsyms=$lt_include_expsyms
33809 # Commands necessary for linking programs (against libraries) with templates.
33810 prelink_cmds=$lt_prelink_cmds
33812 # Specify filename containing input files.
33813 file_list_spec=$lt_file_list_spec
33815 # How to hardcode a shared library path into an executable.
33816 hardcode_action=$hardcode_action
33818 # The directories searched by this compiler when creating a shared library.
33819 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33821 # Dependencies to place before and after the objects being linked to
33822 # create a shared library.
33823 predep_objects=$lt_predep_objects
33824 postdep_objects=$lt_postdep_objects
33825 predeps=$lt_predeps
33826 postdeps=$lt_postdeps
33828 # The library search path used internally by the compiler when linking
33829 # a shared library.
33830 compiler_lib_search_path=$lt_compiler_lib_search_path
33832 # ### END LIBTOOL CONFIG
33838 cat <<\_LT_EOF
>> "$cfgfile"
33839 # AIX sometimes has problems with the GCC collect2 program. For some
33840 # reason, if we set the COLLECT_NAMES environment variable, the problems
33841 # vanish in a puff of smoke.
33842 if test "X${COLLECT_NAMES+set}" != Xset
; then
33844 export COLLECT_NAMES
33851 ltmain
="$ac_aux_dir/ltmain.sh"
33854 # We use sed instead of cat because bash on DJGPP gets confused if
33855 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33856 # text mode, it properly converts lines to CR/LF. This bash problem
33857 # is reportedly fixed, but why not run on old versions too?
33858 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33859 ||
(rm -f "$cfgfile"; exit 1)
33863 cat << \_LT_EOF
>> "$cfgfile"
33865 # func_dirname file append nondir_replacement
33866 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33867 # otherwise set result to NONDIR_REPLACEMENT.
33871 */*) func_dirname_result
="${1%/*}${2}" ;;
33872 * ) func_dirname_result
="${3}" ;;
33876 # func_basename file
33879 func_basename_result
="${1##*/}"
33882 # func_dirname_and_basename file append nondir_replacement
33883 # perform func_basename and func_dirname in a single function
33885 # dirname: Compute the dirname of FILE. If nonempty,
33886 # add APPEND to the result, otherwise set result
33887 # to NONDIR_REPLACEMENT.
33888 # value returned in "$func_dirname_result"
33889 # basename: Compute filename of FILE.
33890 # value retuned in "$func_basename_result"
33891 # Implementation must be kept synchronized with func_dirname
33892 # and func_basename. For efficiency, we do not delegate to
33893 # those functions but instead duplicate the functionality here.
33894 func_dirname_and_basename
()
33897 */*) func_dirname_result
="${1%/*}${2}" ;;
33898 * ) func_dirname_result
="${3}" ;;
33900 func_basename_result
="${1##*/}"
33903 # func_stripname prefix suffix name
33904 # strip PREFIX and SUFFIX off of NAME.
33905 # PREFIX and SUFFIX must not contain globbing or regex special
33906 # characters, hashes, percent signs, but SUFFIX may contain a leading
33907 # dot (in which case that matches only a dot).
33910 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33911 # positional parameters, so assign one to ordinary parameter first.
33912 func_stripname_result
=${3}
33913 func_stripname_result
=${func_stripname_result#"${1}"}
33914 func_stripname_result
=${func_stripname_result%"${2}"}
33920 func_opt_split_opt
=${1%%=*}
33921 func_opt_split_arg
=${1#*=}
33928 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33929 *) func_lo2o_result
=${1} ;;
33933 # func_xform libobj-or-source
33936 func_xform_result
=${1%.*}.lo
33939 # func_arith arithmetic-term...
33942 func_arith_result
=$
(( $
* ))
33946 # STRING may not start with a hyphen.
33949 func_len_result
=${#1}
33954 *) # Bourne compatible functions.
33955 cat << \_LT_EOF
>> "$cfgfile"
33957 # func_dirname file append nondir_replacement
33958 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33959 # otherwise set result to NONDIR_REPLACEMENT.
33962 # Extract subdirectory from the argument.
33963 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33964 if test "X$func_dirname_result" = "X${1}"; then
33965 func_dirname_result
="${3}"
33967 func_dirname_result
="$func_dirname_result${2}"
33971 # func_basename file
33974 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33978 # func_stripname prefix suffix name
33979 # strip PREFIX and SUFFIX off of NAME.
33980 # PREFIX and SUFFIX must not contain globbing or regex special
33981 # characters, hashes, percent signs, but SUFFIX may contain a leading
33982 # dot (in which case that matches only a dot).
33983 # func_strip_suffix prefix name
33987 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33988 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33993 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33994 my_sed_long_arg
='1s/^-[^=]*=//'
33999 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34000 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34006 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
34009 # func_xform libobj-or-source
34012 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34015 # func_arith arithmetic-term...
34018 func_arith_result
=`expr "$@"`
34022 # STRING may not start with a hyphen.
34025 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34031 case $lt_shell_append in
34033 cat << \_LT_EOF
>> "$cfgfile"
34035 # func_append var value
34036 # Append VALUE to the end of shell variable VAR.
34044 cat << \_LT_EOF
>> "$cfgfile"
34046 # func_append var value
34047 # Append VALUE to the end of shell variable VAR.
34058 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34059 ||
(rm -f "$cfgfile"; exit 1)
34061 mv -f "$cfgfile" "$ofile" ||
34062 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34066 cat <<_LT_EOF >> "$ofile"
34068 # ### BEGIN LIBTOOL TAG CONFIG: FC
34070 # The linker used to build libraries.
34073 # How to create reloadable object files.
34074 reload_flag=$lt_reload_flag_FC
34075 reload_cmds=$lt_reload_cmds_FC
34077 # Commands used to build an old-style archive.
34078 old_archive_cmds=$lt_old_archive_cmds_FC
34080 # A language specific compiler.
34083 # Is the compiler the GNU compiler?
34086 # Compiler flag to turn off builtin functions.
34087 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34089 # How to pass a linker flag through the compiler.
34090 wl=$lt_lt_prog_compiler_wl_FC
34092 # Additional compiler flags for building library objects.
34093 pic_flag=$lt_lt_prog_compiler_pic_FC
34095 # Compiler flag to prevent dynamic linking.
34096 link_static_flag=$lt_lt_prog_compiler_static_FC
34098 # Does compiler simultaneously support -c and -o options?
34099 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34101 # Whether or not to add -lc for building shared libraries.
34102 build_libtool_need_lc=$archive_cmds_need_lc_FC
34104 # Whether or not to disallow shared libs when runtime libs are static.
34105 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34107 # Compiler flag to allow reflexive dlopens.
34108 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34110 # Compiler flag to generate shared objects directly from archives.
34111 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34113 # Whether the compiler copes with passing no objects directly.
34114 compiler_needs_object=$lt_compiler_needs_object_FC
34116 # Create an old-style archive from a shared archive.
34117 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34119 # Create a temporary old-style archive to link instead of a shared archive.
34120 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34122 # Commands used to build a shared archive.
34123 archive_cmds=$lt_archive_cmds_FC
34124 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34126 # Commands used to build a loadable module if different from building
34127 # a shared archive.
34128 module_cmds=$lt_module_cmds_FC
34129 module_expsym_cmds=$lt_module_expsym_cmds_FC
34131 # Whether we are building with GNU ld or not.
34132 with_gnu_ld=$lt_with_gnu_ld_FC
34134 # Flag that allows shared libraries with undefined symbols to be built.
34135 allow_undefined_flag=$lt_allow_undefined_flag_FC
34137 # Flag that enforces no undefined symbols.
34138 no_undefined_flag=$lt_no_undefined_flag_FC
34140 # Flag to hardcode \$libdir into a binary during linking.
34141 # This must work even if \$libdir does not exist
34142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34144 # If ld is used when linking, flag to hardcode \$libdir into a binary
34145 # during linking. This must work even if \$libdir does not exist.
34146 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34148 # Whether we need a single "-rpath" flag with a separated argument.
34149 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34151 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34152 # DIR into the resulting binary.
34153 hardcode_direct=$hardcode_direct_FC
34155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34156 # DIR into the resulting binary and the resulting library dependency is
34157 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34158 # library is relocated.
34159 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34161 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34162 # into the resulting binary.
34163 hardcode_minus_L=$hardcode_minus_L_FC
34165 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34166 # into the resulting binary.
34167 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34169 # Set to "yes" if building a shared library automatically hardcodes DIR
34170 # into the library and all subsequent libraries and executables linked
34172 hardcode_automatic=$hardcode_automatic_FC
34174 # Set to yes if linker adds runtime paths of dependent libraries
34175 # to runtime path list.
34176 inherit_rpath=$inherit_rpath_FC
34178 # Whether libtool must link a program against all its dependency libraries.
34179 link_all_deplibs=$link_all_deplibs_FC
34181 # Fix the shell variable \$srcfile for the compiler.
34182 fix_srcfile_path=$lt_fix_srcfile_path_FC
34184 # Set to "yes" if exported symbols are required.
34185 always_export_symbols=$always_export_symbols_FC
34187 # The commands to list exported symbols.
34188 export_symbols_cmds=$lt_export_symbols_cmds_FC
34190 # Symbols that should not be listed in the preloaded symbols.
34191 exclude_expsyms=$lt_exclude_expsyms_FC
34193 # Symbols that must always be exported.
34194 include_expsyms=$lt_include_expsyms_FC
34196 # Commands necessary for linking programs (against libraries) with templates.
34197 prelink_cmds=$lt_prelink_cmds_FC
34199 # Specify filename containing input files.
34200 file_list_spec=$lt_file_list_spec_FC
34202 # How to hardcode a shared library path into an executable.
34203 hardcode_action=$hardcode_action_FC
34205 # The directories searched by this compiler when creating a shared library.
34206 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34208 # Dependencies to place before and after the objects being linked to
34209 # create a shared library.
34210 predep_objects=$lt_predep_objects_FC
34211 postdep_objects=$lt_postdep_objects_FC
34212 predeps=$lt_predeps_FC
34213 postdeps=$lt_postdeps_FC
34215 # The library search path used internally by the compiler when linking
34216 # a shared library.
34217 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34219 # ### END LIBTOOL TAG CONFIG: FC
34224 if test "$GCC" = yes; then
34225 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34227 echo "/* generated for $CC */" > tmp-stdint.h
34230 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34232 #ifndef GCC_GENERATED_STDINT_H
34233 #define GCC_GENERATED_STDINT_H 1
34235 #include <sys/types.h>
34238 if test "$acx_cv_header_stdint" != stdint.h
; then
34239 echo "#include <stddef.h>" >> tmp-stdint.h
34241 if test "$acx_cv_header_stdint" != stddef.h
; then
34242 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34245 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34246 /* glibc uses these symbols as guards to prevent redefinitions. */
34247 #ifdef __int8_t_defined
34252 #ifdef __uint32_t_defined
34258 # ----------------- done header, emit basic int types -------------
34259 if test "$acx_cv_header_stdint" = stddef.h
; then
34260 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34264 #ifndef __uint8_t_defined
34265 #define __uint8_t_defined
34267 typedef unsigned $acx_cv_type_int8_t uint8_t;
34274 #ifndef __uint16_t_defined
34275 #define __uint16_t_defined
34277 typedef unsigned $acx_cv_type_int16_t uint16_t;
34284 #ifndef __uint32_t_defined
34285 #define __uint32_t_defined
34287 typedef unsigned $acx_cv_type_int32_t uint32_t;
34294 #ifndef __int8_t_defined
34295 #define __int8_t_defined
34297 typedef $acx_cv_type_int8_t int8_t;
34304 #ifndef __int16_t_defined
34305 #define __int16_t_defined
34307 typedef $acx_cv_type_int16_t int16_t;
34314 #ifndef __int32_t_defined
34315 #define __int32_t_defined
34317 typedef $acx_cv_type_int32_t int32_t;
34322 elif test "$ac_cv_type_u_int32_t" = yes; then
34323 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34325 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34338 #ifndef __uint8_t_defined
34339 #define __uint8_t_defined
34341 typedef u_int8_t uint8_t;
34348 #ifndef __uint16_t_defined
34349 #define __uint16_t_defined
34351 typedef u_int16_t uint16_t;
34358 #ifndef __uint32_t_defined
34359 #define __uint32_t_defined
34361 typedef u_int32_t uint32_t;
34367 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34369 /* Some systems have guard macros to prevent redefinitions, define them. */
34391 # ------------- done basic int types, emit int64_t types ------------
34392 if test "$ac_cv_type_uint64_t" = yes; then
34393 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34395 /* system headers have good uint64_t and int64_t */
34403 elif test "$ac_cv_type_u_int64_t" = yes; then
34404 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34406 /* system headers have an u_int64_t (and int64_t) */
34412 #ifndef __uint64_t_defined
34413 #define __uint64_t_defined
34415 typedef u_int64_t uint64_t;
34420 elif test -n "$acx_cv_type_int64_t"; then
34421 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34423 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34427 typedef $acx_cv_type_int64_t int64_t;
34432 #ifndef __uint64_t_defined
34433 #define __uint64_t_defined
34435 typedef unsigned $acx_cv_type_int64_t uint64_t;
34441 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34443 /* some common heuristics for int64_t, using compiler-specific tests */
34444 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34447 #ifndef __int64_t_defined
34449 typedef long long int64_t;
34456 typedef unsigned long long uint64_t;
34460 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34461 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34462 does not implement __extension__. But that compiler doesn't define
34464 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34465 # define __extension__
34471 __extension__ typedef long long int64_t;
34477 __extension__ typedef unsigned long long uint64_t;
34481 #elif !defined __STRICT_ANSI__
34482 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34487 typedef __int64 int64_t;
34493 typedef unsigned __int64 uint64_t;
34496 # endif /* compiler */
34498 #endif /* ANSI version */
34502 # ------------- done int64_t types, emit intptr types ------------
34503 if test "$ac_cv_type_uintptr_t" != yes; then
34504 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34506 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34507 #ifndef __uintptr_t_defined
34509 typedef u$acx_cv_type_intptr_t uintptr_t;
34512 #ifndef __intptr_t_defined
34514 typedef $acx_cv_type_intptr_t intptr_t;
34520 # ------------- done intptr types, emit int_least types ------------
34521 if test "$ac_cv_type_int_least32_t" != yes; then
34522 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34524 /* Define int_least types */
34525 typedef int8_t int_least8_t;
34526 typedef int16_t int_least16_t;
34527 typedef int32_t int_least32_t;
34529 typedef int64_t int_least64_t;
34532 typedef uint8_t uint_least8_t;
34533 typedef uint16_t uint_least16_t;
34534 typedef uint32_t uint_least32_t;
34536 typedef uint64_t uint_least64_t;
34541 # ------------- done intptr types, emit int_fast types ------------
34542 if test "$ac_cv_type_int_fast32_t" != yes; then
34543 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34545 /* Define int_fast types. short is often slow */
34546 typedef int8_t int_fast8_t;
34547 typedef int int_fast16_t;
34548 typedef int32_t int_fast32_t;
34550 typedef int64_t int_fast64_t;
34553 typedef uint8_t uint_fast8_t;
34554 typedef unsigned int uint_fast16_t;
34555 typedef uint32_t uint_fast32_t;
34557 typedef uint64_t uint_fast64_t;
34562 if test "$ac_cv_type_uintmax_t" != yes; then
34563 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34565 /* Define intmax based on what we found */
34568 typedef int64_t intmax_t;
34570 typedef long intmax_t;
34575 typedef uint64_t uintmax_t;
34577 typedef unsigned long uintmax_t;
34583 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34585 #endif /* GCC_GENERATED_STDINT_H */
34588 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34591 mv -f tmp-stdint.h gstdint.h
34602 ac_clean_files
=$ac_clean_files_save
34604 test $ac_write_fail = 0 ||
34605 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34608 # configure is writing to config.log, and then calls config.status.
34609 # config.status does its own redirection, appending to config.log.
34610 # Unfortunately, on DOS this fails, as config.log is still kept open
34611 # by configure, so config.status won't be able to write to it; its
34612 # output is simply discarded. So we exec the FD to /dev/null,
34613 # effectively closing config.log, so it can be properly (re)opened and
34614 # appended to by config.status. When coming back to configure, we
34615 # need to make the FD available again.
34616 if test "$no_create" != yes; then
34618 ac_config_status_args
=
34619 test "$silent" = yes &&
34620 ac_config_status_args
="$ac_config_status_args --quiet"
34622 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34624 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34625 # would make configure fail if this is the last instruction.
34626 $ac_cs_success || as_fn_exit
1
34628 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34630 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}