2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME
='libgfortran'
590 PACKAGE_VERSION
='0.3'
591 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
593 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
653 extra_ldflags_libgfortran
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
720 MAINTAINER_MODE_FALSE
734 INSTALL_STRIP_PROGRAM
796 program_transform_name
809 enable_option_checking
811 enable_version_specific_runtime_libs
814 enable_maintainer_mode
816 enable_dependency_tracking
827 enable_libquadmath_support
828 with_gcc_major_version_only
830 ac_precious_vars
='build_alias
843 # Initialize some variables set by options.
845 ac_init_version
=false
846 ac_unrecognized_opts
=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error $?
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error $?
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
1108 -program-transform-name=* |
--program-transform-name=* \
1109 |
--program-transform-nam=* |
--program-transform-na=* \
1110 |
--program-transform-n=* |
--program-transform-=* \
1111 |
--program-transform=* |
--program-transfor=* \
1112 |
--program-transfo=* |
--program-transf=* \
1113 |
--program-trans=* |
--program-tran=* \
1114 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1115 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error $?
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $?
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $?
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $?
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1446 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-version-specific-runtime-libs
1461 specify that runtime libraries should be installed
1462 in a compiler-specific directory
1463 --enable-intermodule build the library
in one step
1464 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1465 --disable-silent-rules verbose build output
(undo
: "make V=0")
1466 --enable-maintainer-mode
1467 enable make rules and dependencies not useful
(and
1468 sometimes confusing
) to the casual installer
1469 --enable-multilib build many library versions
(default
)
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one-time build
1474 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1475 --disable-symvers disable symbol versioning
for libgfortran
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-static[=PKGS
] build static libraries
[default
=yes]
1478 --enable-fast-install[=PKGS
]
1479 optimize
for fast installation
[default
=yes]
1480 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1481 --disable-largefile omit support
for large files
1482 --disable-libquadmath-support
1483 disable libquadmath support
for Fortran
1486 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1487 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1488 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1489 --with-toolexeclibdir=DIR
1490 install libraries built with a cross compiler within
1492 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1493 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1495 --with-gcc-major-version-only
1496 use only GCC major number
in filesystem paths
1498 Some influential environment variables
:
1499 CC C compiler
command
1500 CFLAGS C compiler flags
1501 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1502 nonstandard directory
<lib dir
>
1503 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1504 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1505 you have headers
in a nonstandard directory
<include dir
>
1507 FC Fortran compiler
command
1508 FCFLAGS Fortran compiler flags
1510 Use these variables to override the choices made by
`configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to the package provider.
1514 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1515 General help using GNU software: <http://www.gnu.org/gethelp/>.
1520 if test "$ac_init_help" = "recursive"; then
1521 # If there are subdirs, report their specific --help.
1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523 test -d "$ac_dir" ||
1524 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1545 .) # We are building in place.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1569 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1578 GNU Fortran Runtime Library configure 0.3
1579 generated by GNU Autoconf 2.69
1581 Copyright (C) 2012 Free Software Foundation, Inc.
1582 This configure script is free software; the Free Software Foundation
1583 gives unlimited permission to copy, distribute and modify it.
1588 ## ------------------------ ##
1589 ## Autoconf initialization. ##
1590 ## ------------------------ ##
1592 # ac_fn_c_try_compile LINENO
1593 # --------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_c_try_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1602 *) ac_try_echo
=$ac_try;;
1604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1608 if test -s conftest.err
; then
1609 grep -v '^ *+' conftest.err
>conftest.er1
1610 cat conftest.er1
>&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.
$ac_objext; then :
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.
$ac_ext >&5
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status
$ac_retval
1628 } # ac_fn_c_try_compile
1630 # ac_fn_c_try_cpp LINENO
1631 # ----------------------
1632 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1635 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1636 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } > conftest.i && {
1652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1667 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1670 # the include files in INCLUDES and setting the cache variable VAR
1672 ac_fn_c_check_header_mongrel ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if eval \${$3+:} false; then :
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679 $as_echo_n "(cached) " >&6
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 # Is the header compilable?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1687 $as_echo_n "checking $2 usability... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694 ac_header_compiler=yes
1696 ac_header_compiler=no
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1700 $as_echo "$ac_header_compiler" >&6; }
1702 # Is the header present?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1704 $as_echo_n "checking $2 presence... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1709 if ac_fn_c_try_cpp "$LINENO"; then :
1710 ac_header_preproc=yes
1712 ac_header_preproc=no
1714 rm -f conftest.err conftest.i conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1716 $as_echo "$ac_header_preproc" >&6; }
1718 # So? What about this header?
1719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1722 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1728 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1730 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1732 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1734 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1744 eval "$3=\$ac_header_compiler"
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_mongrel
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=$ac_status
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1837 *) ac_try_echo
=$ac_try;;
1839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err
; then
1844 grep -v '^ *+' conftest.err
>conftest.er1
1845 cat conftest.er1
>&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest
$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 test -x conftest
$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.
$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status
$ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func
()
1878 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \
${$3+:} false
; then :
1882 $as_echo_n "(cached) " >&6
1884 if test x
$gcc_no_link = xyes
; then
1885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1891 #define $2 innocuous_$2
1893 /* System header to define __stub macros and hopefully few prototypes,
1894 which can conflict with char $2 (); below.
1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896 <limits.h> exists even on freestanding compilers. */
1899 # include <limits.h>
1901 # include <assert.h>
1906 /* Override any GCC internal prototype to avoid an error.
1907 Use char because int might match the return type of a GCC
1908 builtin and then its argument prototype would still apply. */
1913 /* The GNU C library defines this for functions which it implements
1914 to always fail with ENOSYS. Some functions are actually named
1915 something starting with __ and the normal name is an alias. */
1916 #if defined __stub_$2 || defined __stub___$2
1928 if ac_fn_c_try_link
"$LINENO"; then :
1933 rm -f core conftest.err conftest.
$ac_objext \
1934 conftest
$ac_exeext conftest.
$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_func
1943 # ac_fn_fc_try_compile LINENO
1944 # ---------------------------
1945 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_fc_try_compile
()
1948 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1949 rm -f conftest.
$ac_objext
1950 if { { ac_try
="$ac_compile"
1952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_compile") 2>conftest.err
1959 if test -s conftest.err; then
1960 grep -v '^ *+' conftest.err >conftest.er1
1961 cat conftest.er1 >&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_fc_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest.$ac_objext; then :
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.$ac_ext >&5
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status $ac_retval
1979 } # ac_fn_fc_try_compile
1981 # ac_fn_fc_try_link LINENO
1982 # ------------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_fc_try_link ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 rm -f conftest.$ac_objext conftest$ac_exeext
1988 if { { ac_try="$ac_link"
1990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1991 *) ac_try_echo
=$ac_try;;
1993 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>conftest.err
1997 if test -s conftest.err
; then
1998 grep -v '^ *+' conftest.err
>conftest.er1
1999 cat conftest.er1
>&5
2000 mv -f conftest.er1 conftest.err
2002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2003 test $ac_status = 0; } && {
2004 test -z "$ac_fc_werror_flag" ||
2005 test ! -s conftest.err
2006 } && test -s conftest
$ac_exeext && {
2007 test "$cross_compiling" = yes ||
2008 test -x conftest
$ac_exeext
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2018 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2019 # interfere with the next link command; also delete a directory that is
2020 # left behind by Apple's compiler. We do this before executing the actions.
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status
$ac_retval
2025 } # ac_fn_fc_try_link
2027 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2028 # -------------------------------------------
2029 # Tests whether TYPE exists after having included INCLUDES, setting cache
2030 # variable VAR accordingly.
2031 ac_fn_c_check_type
()
2033 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \
${$3+:} false
; then :
2037 $as_echo_n "(cached) " >&6
2040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2052 if ac_fn_c_try_compile
"$LINENO"; then :
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2065 if ac_fn_c_try_compile
"$LINENO"; then :
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } # ac_fn_c_check_type
2081 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2082 # --------------------------------------------
2083 # Tries to find the compile-time value of EXPR in a program that includes
2084 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2086 ac_fn_c_compute_int
()
2088 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2089 if test "$cross_compiling" = yes; then
2090 # Depending upon the size, compute the lo and hi bounds.
2091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2097 static int test_array [1 - 2 * !(($2) >= 0)];
2099 return test_array [0];
2105 if ac_fn_c_try_compile
"$LINENO"; then :
2108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2114 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 return test_array [0];
2122 if ac_fn_c_try_compile
"$LINENO"; then :
2123 ac_hi
=$ac_mid; break
2125 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2126 if test $ac_lo -le $ac_mid; then
2130 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2141 static int test_array [1 - 2 * !(($2) < 0)];
2143 return test_array [0];
2149 if ac_fn_c_try_compile
"$LINENO"; then :
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2158 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2160 return test_array [0];
2166 if ac_fn_c_try_compile
"$LINENO"; then :
2167 ac_lo
=$ac_mid; break
2169 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2170 if test $ac_mid -le $ac_hi; then
2174 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 # Binary search between lo and hi bounds.
2185 while test "x$ac_lo" != "x$ac_hi"; do
2186 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2193 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2195 return test_array [0];
2201 if ac_fn_c_try_compile
"$LINENO"; then :
2204 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2209 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2216 static long int longval () { return $2; }
2217 static unsigned long int ulongval () { return $2; }
2224 FILE *f = fopen ("conftest.val", "w");
2229 long int i = longval ();
2232 fprintf (f, "%ld", i);
2236 unsigned long int i = ulongval ();
2239 fprintf (f, "%lu", i);
2241 /* Do not output a trailing newline, as this causes \r\n confusion
2242 on some platforms. */
2243 return ferror (f) || fclose (f) != 0;
2249 if ac_fn_c_try_run
"$LINENO"; then :
2250 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2254 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2255 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2260 as_fn_set_status
$ac_retval
2262 } # ac_fn_c_compute_int
2264 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2265 # ----------------------------------------------------
2266 # Tries to find if the field MEMBER exists in type AGGR, after including
2267 # INCLUDES, setting cache variable VAR accordingly.
2268 ac_fn_c_check_member
()
2270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2272 $as_echo_n "checking for $2.$3... " >&6; }
2273 if eval \
${$4+:} false
; then :
2274 $as_echo_n "(cached) " >&6
2276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2289 if ac_fn_c_try_compile
"$LINENO"; then :
2292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2299 if (sizeof ac_aggr.$3)
2305 if ac_fn_c_try_compile
"$LINENO"; then :
2310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319 } # ac_fn_c_check_member
2320 cat >config.log
<<_ACEOF
2321 This file contains any messages produced by compilers while
2322 running configure, to aid debugging if configure makes a mistake.
2324 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2325 generated by GNU Autoconf 2.69. Invocation command line was
2337 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2338 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2339 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2340 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2341 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2343 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2344 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2346 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2347 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2348 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2349 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2350 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2351 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2352 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir
=.
2361 $as_echo "PATH: $as_dir"
2377 # Keep a trace of the command line.
2378 # Strip out --no-create and --no-recursion so they do not pile up.
2379 # Strip out --silent because we don't want to record it for future runs.
2380 # Also quote any args containing shell meta-characters.
2381 # Make two passes to allow for proper duplicate-argument suppression.
2385 ac_must_keep_next
=false
2391 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2392 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2393 |
-silent |
--silent |
--silen |
--sile |
--sil)
2396 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2399 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2401 as_fn_append ac_configure_args1
" '$ac_arg'"
2402 if test $ac_must_keep_next = true
; then
2403 ac_must_keep_next
=false
# Got value, back to normal.
2406 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2407 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2408 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2409 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2410 case "$ac_configure_args0 " in
2411 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2414 -* ) ac_must_keep_next
=true
;;
2417 as_fn_append ac_configure_args
" '$ac_arg'"
2422 { ac_configure_args0
=; unset ac_configure_args0
;}
2423 { ac_configure_args1
=; unset ac_configure_args1
;}
2425 # When interrupted or exit'd, cleanup temporary files, and complete
2426 # config.log. We remove comments because anyway the quotes in there
2427 # would cause problems or look ugly.
2428 # WARNING: Use '\'' to represent an apostrophe within the trap.
2429 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2430 trap 'exit_status=$?
2431 # Save into config.log some information that might help in debugging.
2435 $as_echo "## ---------------- ##
2436 ## Cache variables. ##
2437 ## ---------------- ##"
2439 # The following way of writing the cache mishandles newlines in values,
2441 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2442 eval ac_val=\$$ac_var
2446 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2447 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2450 _ | IFS | as_nl) ;; #(
2451 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2452 *) { eval $ac_var=; unset $ac_var;} ;;
2457 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2458 *${as_nl}ac_space=\ *)
2460 "s/'\''/'\''\\\\'\'''\''/g;
2461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2471 $as_echo "## ----------------- ##
2472 ## Output variables. ##
2473 ## ----------------- ##"
2475 for ac_var in $ac_subst_vars
2477 eval ac_val=\$$ac_var
2479 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2481 $as_echo "$ac_var='\''$ac_val'\''"
2485 if test -n "$ac_subst_files"; then
2486 $as_echo "## ------------------- ##
2487 ## File substitutions. ##
2488 ## ------------------- ##"
2490 for ac_var
in $ac_subst_files
2492 eval ac_val
=\$
$ac_var
2494 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2496 $as_echo "$ac_var='\''$ac_val'\''"
2501 if test -s confdefs.h; then
2502 $as_echo "## ----------- ##
2509 test "$ac_signal" != 0 &&
2510 $as_echo "$as_me: caught signal $ac_signal"
2511 $as_echo "$as_me: exit $exit_status"
2513 rm -f core *.core core.conftest.* &&
2514 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2517 for ac_signal
in 1 2 13 15; do
2518 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2522 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2523 rm -f -r conftest
* confdefs.h
2525 $as_echo "/* confdefs.h */" > confdefs.h
2527 # Predefined preprocessor variables.
2529 cat >>confdefs.h
<<_ACEOF
2530 #define PACKAGE_NAME "$PACKAGE_NAME"
2533 cat >>confdefs.h
<<_ACEOF
2534 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2537 cat >>confdefs.h
<<_ACEOF
2538 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2541 cat >>confdefs.h
<<_ACEOF
2542 #define PACKAGE_STRING "$PACKAGE_STRING"
2545 cat >>confdefs.h
<<_ACEOF
2546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2549 cat >>confdefs.h
<<_ACEOF
2550 #define PACKAGE_URL "$PACKAGE_URL"
2554 # Let the site file select an alternate cache file if it wants to.
2555 # Prefer an explicitly selected file to automatically selected ones.
2558 if test -n "$CONFIG_SITE"; then
2559 # We do not want a PATH search for config.site.
2560 case $CONFIG_SITE in #((
2561 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2562 */*) ac_site_file1
=$CONFIG_SITE;;
2563 *) ac_site_file1
=.
/$CONFIG_SITE;;
2565 elif test "x$prefix" != xNONE
; then
2566 ac_site_file1
=$prefix/share
/config.site
2567 ac_site_file2
=$prefix/etc
/config.site
2569 ac_site_file1
=$ac_default_prefix/share
/config.site
2570 ac_site_file2
=$ac_default_prefix/etc
/config.site
2572 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2574 test "x$ac_site_file" = xNONE
&& continue
2575 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2577 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2578 sed 's/^/| /' "$ac_site_file" >&5
2580 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error $?
"failed to load site script $ac_site_file
2583 See \`config.log' for more details" "$LINENO" 5; }
2587 if test -r "$cache_file"; then
2588 # Some versions of bash will fail to source /dev/null (special files
2589 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2590 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2592 $as_echo "$as_me: loading cache $cache_file" >&6;}
2594 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2595 *) .
"./$cache_file";;
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2600 $as_echo "$as_me: creating cache $cache_file" >&6;}
2604 as_fn_append ac_header_list
" unistd.h"
2605 as_fn_append ac_header_list
" sys/random.h"
2606 as_fn_append ac_header_list
" sys/time.h"
2607 as_fn_append ac_header_list
" sys/times.h"
2608 as_fn_append ac_header_list
" sys/resource.h"
2609 as_fn_append ac_header_list
" sys/types.h"
2610 as_fn_append ac_header_list
" sys/stat.h"
2611 as_fn_append ac_header_list
" sys/uio.h"
2612 as_fn_append ac_header_list
" sys/wait.h"
2613 as_fn_append ac_header_list
" floatingpoint.h"
2614 as_fn_append ac_header_list
" ieeefp.h"
2615 as_fn_append ac_header_list
" fenv.h"
2616 as_fn_append ac_header_list
" fptrap.h"
2617 as_fn_append ac_header_list
" fpxcp.h"
2618 as_fn_append ac_header_list
" pwd.h"
2619 as_fn_append ac_header_list
" complex.h"
2620 as_fn_append ac_header_list
" xlocale.h"
2621 as_fn_append ac_func_list
" getrusage"
2622 as_fn_append ac_func_list
" times"
2623 as_fn_append ac_func_list
" mkstemp"
2624 as_fn_append ac_func_list
" strtof"
2625 as_fn_append ac_func_list
" strtold"
2626 as_fn_append ac_func_list
" snprintf"
2627 as_fn_append ac_func_list
" ftruncate"
2628 as_fn_append ac_func_list
" chsize"
2629 as_fn_append ac_func_list
" chdir"
2630 as_fn_append ac_func_list
" getentropy"
2631 as_fn_append ac_func_list
" getlogin"
2632 as_fn_append ac_func_list
" gethostname"
2633 as_fn_append ac_func_list
" kill"
2634 as_fn_append ac_func_list
" link"
2635 as_fn_append ac_func_list
" symlink"
2636 as_fn_append ac_func_list
" sleep"
2637 as_fn_append ac_func_list
" ttyname"
2638 as_fn_append ac_func_list
" sigaction"
2639 as_fn_append ac_func_list
" waitpid"
2640 as_fn_append ac_func_list
" alarm"
2641 as_fn_append ac_func_list
" access"
2642 as_fn_append ac_func_list
" fork"
2643 as_fn_append ac_func_list
" posix_spawn"
2644 as_fn_append ac_func_list
" setmode"
2645 as_fn_append ac_func_list
" fcntl"
2646 as_fn_append ac_func_list
" writev"
2647 as_fn_append ac_func_list
" gettimeofday"
2648 as_fn_append ac_func_list
" stat"
2649 as_fn_append ac_func_list
" fstat"
2650 as_fn_append ac_func_list
" lstat"
2651 as_fn_append ac_func_list
" getpwuid"
2652 as_fn_append ac_func_list
" vsnprintf"
2653 as_fn_append ac_func_list
" dup"
2654 as_fn_append ac_func_list
" getcwd"
2655 as_fn_append ac_func_list
" localtime_r"
2656 as_fn_append ac_func_list
" gmtime_r"
2657 as_fn_append ac_func_list
" getpwuid_r"
2658 as_fn_append ac_func_list
" ttyname_r"
2659 as_fn_append ac_func_list
" clock_gettime"
2660 as_fn_append ac_func_list
" getgid"
2661 as_fn_append ac_func_list
" getpid"
2662 as_fn_append ac_func_list
" getuid"
2663 as_fn_append ac_func_list
" geteuid"
2664 as_fn_append ac_func_list
" umask"
2665 as_fn_append ac_func_list
" getegid"
2666 as_fn_append ac_func_list
" secure_getenv"
2667 as_fn_append ac_func_list
" __secure_getenv"
2668 as_fn_append ac_func_list
" mkostemp"
2669 as_fn_append ac_func_list
" strnlen"
2670 as_fn_append ac_func_list
" strndup"
2671 as_fn_append ac_func_list
" newlocale"
2672 as_fn_append ac_func_list
" freelocale"
2673 as_fn_append ac_func_list
" uselocale"
2674 as_fn_append ac_func_list
" strerror_l"
2675 as_fn_append ac_func_list
" strtof128"
2676 as_fn_append ac_func_list
" strfromf128"
2677 as_fn_append ac_header_list
" math.h"
2678 # Check that the precious variables saved in the cache have kept the same
2680 ac_cache_corrupted
=false
2681 for ac_var
in $ac_precious_vars; do
2682 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2683 eval ac_new_set
=\
$ac_env_${ac_var}_set
2684 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2685 eval ac_new_val
=\
$ac_env_${ac_var}_value
2686 case $ac_old_set,$ac_new_set in
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2689 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2690 ac_cache_corrupted
=: ;;
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2693 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2694 ac_cache_corrupted
=: ;;
2697 if test "x$ac_old_val" != "x$ac_new_val"; then
2698 # differences in whitespace do not lead to failure.
2699 ac_old_val_w
=`echo x $ac_old_val`
2700 ac_new_val_w
=`echo x $ac_new_val`
2701 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2703 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2704 ac_cache_corrupted
=:
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2707 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2708 eval $ac_var=\
$ac_old_val
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2711 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2713 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2716 # Pass precious variables to config.status.
2717 if test "$ac_new_set" = set; then
2719 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2720 *) ac_arg
=$ac_var=$ac_new_val ;;
2722 case " $ac_configure_args " in
2723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2724 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2728 if $ac_cache_corrupted; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2732 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2733 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2735 ## -------------------- ##
2736 ## Main body of script. ##
2737 ## -------------------- ##
2740 ac_cpp
='$CPP $CPPFLAGS'
2741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2749 ac_config_headers
="$ac_config_headers config.h"
2752 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2753 if test -f "$ac_dir/install-sh"; then
2755 ac_install_sh
="$ac_aux_dir/install-sh -c"
2757 elif test -f "$ac_dir/install.sh"; then
2759 ac_install_sh
="$ac_aux_dir/install.sh -c"
2761 elif test -f "$ac_dir/shtool"; then
2763 ac_install_sh
="$ac_aux_dir/shtool install -c"
2767 if test -z "$ac_aux_dir"; then
2768 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2771 # These three variables are undocumented and unsupported,
2772 # and are intended to be withdrawn in a future Autoconf release.
2773 # They can cause serious problems if a builder's source tree is in a directory
2774 # whose full name contains unusual characters.
2775 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2776 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2777 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2780 # Make sure we can run config.sub.
2781 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2782 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2785 $as_echo_n "checking build system type... " >&6; }
2786 if ${ac_cv_build+:} false
; then :
2787 $as_echo_n "(cached) " >&6
2789 ac_build_alias
=$build_alias
2790 test "x$ac_build_alias" = x
&&
2791 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2792 test "x$ac_build_alias" = x
&&
2793 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2794 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2795 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2799 $as_echo "$ac_cv_build" >&6; }
2800 case $ac_cv_build in
2802 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2805 ac_save_IFS
=$IFS; IFS
='-'
2811 # Remember, the first character of IFS is used to create $*,
2812 # except with old shells:
2815 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2818 case ${build_alias} in
2819 "") build_noncanonical
=${build} ;;
2820 *) build_noncanonical
=${build_alias} ;;
2823 case ${host_alias} in
2824 "") host_noncanonical
=${build_noncanonical} ;;
2825 *) host_noncanonical
=${host_alias} ;;
2828 case ${target_alias} in
2829 "") target_noncanonical
=${host_noncanonical} ;;
2830 *) target_noncanonical
=${target_alias} ;;
2834 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2835 # have matching libraries, they should use host libraries: Makefile.tpl
2836 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2837 # However, they still use the build modules, because the corresponding
2838 # host modules (e.g. bison) are only built for the host when bootstrap
2840 # - build_subdir is where we find build modules, and never changes.
2841 # - build_libsubdir is where we find build libraries, and can be overridden.
2843 # Prefix 'build-' so this never conflicts with target_subdir.
2844 build_subdir
="build-${build_noncanonical}"
2846 # Check whether --with-build-libsubdir was given.
2847 if test "${with_build_libsubdir+set}" = set; then :
2848 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2850 build_libsubdir
="$build_subdir"
2853 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2854 if ( test $srcdir = .
&& test -d gcc
) \
2855 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2856 host_subdir
="host-${host_noncanonical}"
2861 target_subdir
=${target_noncanonical}
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2869 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2870 # Check whether --enable-version-specific-runtime-libs was given.
2871 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2872 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2873 yes) version_specific_libs
=yes ;;
2874 no
) version_specific_libs
=no
;;
2875 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2878 version_specific_libs
=no
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2882 $as_echo "$version_specific_libs" >&6; }
2884 # Build with intermodule optimisations
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2886 $as_echo_n "checking for --enable-intermodule... " >&6; }
2887 # Check whether --enable-intermodule was given.
2888 if test "${enable_intermodule+set}" = set; then :
2889 enableval
=$enable_intermodule; case "$enable_intermodule" in
2890 yes) onestep
="-onestep";;
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2898 $as_echo "$enable_intermodule" >&6; }
2899 if test x
$onestep = x-onestep
; then
2909 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2911 # You will slowly go insane if you do not grok the following fact: when
2912 # building this library, the top-level /target/ becomes the library's /host/.
2914 # configure then causes --target to default to --host, exactly like any
2915 # other package using autoconf. Therefore, 'target' and 'host' will
2916 # always be the same. This makes sense both for native and cross compilers
2917 # just think about it for a little while. :-)
2919 # Also, if this library is being configured as part of a cross compiler, the
2920 # top-level configure script will pass the "real" host as $with_cross_host.
2922 # Do not delete or change the following two lines. For why, see
2923 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2925 $as_echo_n "checking host system type... " >&6; }
2926 if ${ac_cv_host+:} false
; then :
2927 $as_echo_n "(cached) " >&6
2929 if test "x$host_alias" = x
; then
2930 ac_cv_host
=$ac_cv_build
2932 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2933 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2938 $as_echo "$ac_cv_host" >&6; }
2941 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2944 ac_save_IFS
=$IFS; IFS
='-'
2950 # Remember, the first character of IFS is used to create $*,
2951 # except with old shells:
2954 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2958 $as_echo_n "checking target system type... " >&6; }
2959 if ${ac_cv_target+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 if test "x$target_alias" = x
; then
2963 ac_cv_target
=$ac_cv_host
2965 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2966 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2971 $as_echo "$ac_cv_target" >&6; }
2972 case $ac_cv_target in
2974 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2976 target
=$ac_cv_target
2977 ac_save_IFS
=$IFS; IFS
='-'
2983 # Remember, the first character of IFS is used to create $*,
2984 # except with old shells:
2987 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2990 # The aliases save the names the user supplied, while $host etc.
2991 # will get canonicalized.
2992 test -n "$target_alias" &&
2993 test "$program_prefix$program_suffix$program_transform_name" = \
2995 program_prefix
=${target_alias}-
3000 target_alias
=${target_alias-$host_alias}
3003 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3004 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3005 # 1.9.6: minimum required version
3006 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3007 # of other PACKAGE_* variables will, however, and there's nothing
3008 # we can do about that; they come from AC_INIT).
3009 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3010 # file in the top srcdir, etc, etc), so stop complaining.
3011 # no-dist: we don't want 'dist' and related rules.
3012 # -Wall: turns on all automake warnings...
3013 # -Wno-portability: ...except this one, since GNU make is required.
3014 am__api_version
='1.15'
3016 # Find a good install program. We prefer a C program (faster),
3017 # so one script is as good as another. But avoid the broken or
3018 # incompatible versions:
3019 # SysV /etc/install, /usr/sbin/install
3020 # SunOS /usr/etc/install
3021 # IRIX /sbin/install
3023 # AmigaOS /C/install, which installs bootblocks on floppy discs
3024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3027 # OS/2's system install, which has a completely different semantic
3028 # ./install, which can be erroneously created by make from ./install.sh.
3029 # Reject install programs that cannot install multiple files.
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3031 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3032 if test -z "$INSTALL"; then
3033 if ${ac_cv_path_install+:} false
; then :
3034 $as_echo_n "(cached) " >&6
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 # Account for people who put trailing slashes in PATH elements.
3042 case $as_dir/ in #((
3043 .
/ | .
// |
/[cC
]/* | \
3044 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3045 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3048 # OSF1 and SCO ODT 3.0 have their own names for install.
3049 # Don't use installbsd from OSF since it installs stuff as root
3051 for ac_prog
in ginstall scoinst
install; do
3052 for ac_exec_ext
in '' $ac_executable_extensions; do
3053 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3054 if test $ac_prog = install &&
3055 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3056 # AIX install. It has an incompatible calling convention.
3058 elif test $ac_prog = install &&
3059 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3060 # program-specific install script used by HP pwplus--don't use.
3063 rm -rf conftest.one conftest.two conftest.dir
3064 echo one
> conftest.one
3065 echo two
> conftest.two
3067 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3068 test -s conftest.one
&& test -s conftest.two
&&
3069 test -s conftest.dir
/conftest.one
&&
3070 test -s conftest.dir
/conftest.two
3072 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3085 rm -rf conftest.one conftest.two conftest.dir
3088 if test "${ac_cv_path_install+set}" = set; then
3089 INSTALL
=$ac_cv_path_install
3091 # As a last resort, use the slow shell script. Don't cache a
3092 # value for INSTALL within a source directory, because that will
3093 # break other packages using the cache if that directory is
3094 # removed, or if the value is a relative name.
3095 INSTALL
=$ac_install_sh
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3099 $as_echo "$INSTALL" >&6; }
3101 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3102 # It thinks the first close brace ends the variable substitution.
3103 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3107 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3110 $as_echo_n "checking whether build environment is sane... " >&6; }
3111 # Reject unsafe characters in $srcdir or the absolute working directory
3112 # name. Accept space and tab only in the latter.
3116 *[\\\"\
#\$\&\'\`$am_lf]*)
3117 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3120 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3121 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3124 # Do 'set' in a subshell so we don't clobber the current shell's
3125 # arguments. Must try -L first in case configure is actually a
3126 # symlink; some systems play weird games with the mod time of symlinks
3127 # (eg FreeBSD returns the mod time of the symlink's containing
3131 for am_try
in 1 2; do
3132 echo "timestamp, slept: $am_has_slept" > conftest.
file
3133 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3134 if test "$*" = "X"; then
3136 set X
`ls -t "$srcdir/configure" conftest.file`
3138 if test "$*" != "X $srcdir/configure conftest.file" \
3139 && test "$*" != "X conftest.file $srcdir/configure"; then
3141 # If neither matched, then we have a broken ls. This can happen
3142 # if, for instance, CONFIG_SHELL is bash and it inherits a
3143 # broken ls alias from the environment. This has actually
3144 # happened. Such a system could not be considered "sane".
3145 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3146 alias in your environment" "$LINENO" 5
3148 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3155 test "$2" = conftest.
file
3161 as_fn_error $?
"newly created file is older than distributed files!
3162 Check your system clock" "$LINENO" 5
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3166 # If we didn't sleep, we still need to ensure time stamps of config.status and
3167 # generated files are strictly newer.
3169 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3176 test "$program_prefix" != NONE
&&
3177 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3178 # Use a double $ so make ignores it.
3179 test "$program_suffix" != NONE
&&
3180 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3181 # Double any \ or $.
3182 # By default was `s,x,x', remove it if useless.
3183 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3184 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3186 # Expand $ac_aux_dir to an absolute path.
3187 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3189 if test x
"${MISSING+set}" != xset
; then
3192 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3194 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3197 # Use eval to expand $SHELL
3198 if eval "$MISSING --is-lightweight"; then
3199 am_missing_run
="$MISSING "
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3203 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3206 if test x
"${install_sh+set}" != xset
; then
3209 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3211 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3215 # Installed binaries are usually stripped using 'strip' when the user
3216 # run "make install-strip". However 'strip' might not be the right
3217 # tool to use in cross-compilation environments, therefore Automake
3218 # will honor the 'STRIP' environment variable to overrule this program.
3219 if test "$cross_compiling" != no
; then
3220 if test -n "$ac_tool_prefix"; then
3221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3222 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_STRIP+:} false
; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$STRIP"; then
3229 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 STRIP
=$ac_cv_prog_STRIP
3249 if test -n "$STRIP"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3251 $as_echo "$STRIP" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3259 if test -z "$ac_cv_prog_STRIP"; then
3261 # Extract the first word of "strip", so it can be a program name with args.
3262 set dummy strip
; ac_word
=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$ac_ct_STRIP"; then
3269 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_ac_ct_STRIP
="strip"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3289 if test -n "$ac_ct_STRIP"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3291 $as_echo "$ac_ct_STRIP" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3297 if test "x$ac_ct_STRIP" = x
; then
3300 case $cross_compiling:$ac_tool_warned in
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned
=yes ;;
3309 STRIP
="$ac_cv_prog_STRIP"
3313 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3316 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3317 if test -z "$MKDIR_P"; then
3318 if ${ac_cv_path_mkdir+:} false
; then :
3319 $as_echo_n "(cached) " >&6
3321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3322 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3325 test -z "$as_dir" && as_dir
=.
3326 for ac_prog
in mkdir gmkdir
; do
3327 for ac_exec_ext
in '' $ac_executable_extensions; do
3328 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3329 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3330 'mkdir (GNU coreutils) '* | \
3331 'mkdir (coreutils) '* | \
3332 'mkdir (fileutils) '4.1*)
3333 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3343 test -d .
/--version && rmdir .
/--version
3344 if test "${ac_cv_path_mkdir+set}" = set; then
3345 MKDIR_P
="$ac_cv_path_mkdir -p"
3347 # As a last resort, use the slow shell script. Don't cache a
3348 # value for MKDIR_P within a source directory, because that will
3349 # break other packages using the cache if that directory is
3350 # removed, or if the value is a relative name.
3351 MKDIR_P
="$ac_install_sh -d"
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3355 $as_echo "$MKDIR_P" >&6; }
3357 for ac_prog
in gawk mawk nawk
awk
3359 # Extract the first word of "$ac_prog", so it can be a program name with args.
3360 set dummy
$ac_prog; ac_word
=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_AWK+:} false
; then :
3364 $as_echo_n "(cached) " >&6
3366 if test -n "$AWK"; then
3367 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir
=.
3374 for ac_exec_ext
in '' $ac_executable_extensions; do
3375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_AWK
="$ac_prog"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 if test -n "$AWK"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3389 $as_echo "$AWK" >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3396 test -n "$AWK" && break
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3402 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3403 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3404 $as_echo_n "(cached) " >&6
3406 cat >conftest.
make <<\_ACEOF
3409 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3411 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3414 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3416 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3420 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3422 $as_echo "yes" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 SET_MAKE
="MAKE=${MAKE-make}"
3430 rm -rf .tst
2>/dev
/null
3431 mkdir .tst
2>/dev
/null
3432 if test -d .tst
; then
3437 rmdir .tst
2>/dev
/null
3439 # Check whether --enable-silent-rules was given.
3440 if test "${enable_silent_rules+set}" = set; then :
3441 enableval
=$enable_silent_rules;
3444 case $enable_silent_rules in # (((
3445 yes) AM_DEFAULT_VERBOSITY
=0;;
3446 no
) AM_DEFAULT_VERBOSITY
=1;;
3447 *) AM_DEFAULT_VERBOSITY
=1;;
3449 am_make
=${MAKE-make}
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3451 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3452 if ${am_cv_make_support_nested_variables+:} false
; then :
3453 $as_echo_n "(cached) " >&6
3455 if $as_echo 'TRUE=$(BAR$(V))
3461 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3462 am_cv_make_support_nested_variables
=yes
3464 am_cv_make_support_nested_variables
=no
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3468 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3469 if test $am_cv_make_support_nested_variables = yes; then
3471 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3473 AM_V
=$AM_DEFAULT_VERBOSITY
3474 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3478 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3479 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3480 # is not polluted with repeated "-I."
3481 am__isrc
=' -I$(srcdir)'
3482 # test to see if srcdir already configured
3483 if test -f $srcdir/config.status
; then
3484 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3488 # test whether we have cygpath
3489 if test -z "$CYGPATH_W"; then
3490 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3491 CYGPATH_W
='cygpath -w'
3498 # Define the identity of the package.
3499 PACKAGE
='libgfortran'
3503 # Some tools Automake needs.
3505 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3508 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3511 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3514 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3517 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3519 # For better backward compatibility. To be removed once Automake 1.9.x
3520 # dies out for good. For more background, see:
3521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3522 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3523 mkdir_p
='$(MKDIR_P)'
3525 # We need awk for the "check" target (and possibly the TAP driver). The
3526 # system "awk" is bad on some platforms.
3527 # Always define AMTAR for backward compatibility. Yes, it's still used
3528 # in the wild :-( We should find a proper way to deprecate it ...
3532 # We'll loop over all known methods to create a tar archive until one works.
3533 _am_tools
='gnutar pax cpio none'
3535 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3542 # POSIX will say in a future version that running "rm -f" with no argument
3543 # is OK; and we want to be able to make that assumption in our Makefile
3544 # recipes. So use an aggressive probe to check that the usage we want is
3545 # actually supported "in the wild" to an acceptable degree.
3546 # See automake bug#10828.
3547 # To make any issue more visible, cause the running configure to be aborted
3548 # by default if the 'rm' program in use doesn't match our expectations; the
3549 # user can still override this though.
3550 if rm -f && rm -fr && rm -rf; then : OK
; else
3554 Your 'rm' program seems unable to run without file operands specified
3555 on the command line, even when the '-f' option is present. This is contrary
3556 to the behaviour of most rm programs out there, and not conforming with
3557 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3559 Please tell bug-automake@gnu.org about your system, including the value
3560 of your $PATH and any error possibly output before this message. This
3561 can help us improve future automake versions.
3564 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3565 echo 'Configuration will proceed anyway, since you have set the' >&2
3566 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3570 Aborting the configuration process, to ensure you take notice of the issue.
3572 You can download and install GNU coreutils to get an 'rm' implementation
3573 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3575 If you want to complete the configuration process using your problematic
3576 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3577 to "yes", and re-run configure.
3580 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3587 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3588 # Check whether --enable-maintainer-mode was given.
3589 if test "${enable_maintainer_mode+set}" = set; then :
3590 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3592 USE_MAINTAINER_MODE
=no
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3596 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3597 if test $USE_MAINTAINER_MODE = yes; then
3598 MAINTAINER_MODE_TRUE
=
3599 MAINTAINER_MODE_FALSE
='#'
3601 MAINTAINER_MODE_TRUE
='#'
3602 MAINTAINER_MODE_FALSE
=
3605 MAINT
=$MAINTAINER_MODE_TRUE
3608 # Default to --enable-multilib
3609 # Check whether --enable-multilib was given.
3610 if test "${enable_multilib+set}" = set; then :
3611 enableval
=$enable_multilib; case "$enableval" in
3612 yes) multilib
=yes ;;
3614 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3621 # We may get other options which we leave undocumented:
3622 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3623 # See config-ml.in if you want the gory details.
3625 if test "$srcdir" = "."; then
3626 if test "$with_target_subdir" != "."; then
3627 multi_basedir
="$srcdir/$with_multisrctop../.."
3629 multi_basedir
="$srcdir/$with_multisrctop.."
3632 multi_basedir
="$srcdir/.."
3636 # Even if the default multilib is not a cross compilation,
3637 # it may be that some of the other multilibs are.
3638 if test $cross_compiling = no
&& test $multilib = yes \
3639 && test "x${with_multisubdir}" != x
; then
3640 cross_compiling
=maybe
3643 ac_config_commands
="$ac_config_commands default-1"
3646 # Handy for debugging:
3647 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3649 # Are we being configured with some form of cross compiler?
3650 # NB: We don't actually need to know this just now, but when, say, a test
3651 # suite is included, we'll have to know.
3652 if test "$build" != "$host"; then
3653 LIBGFOR_IS_NATIVE
=false
3656 LIBGFOR_IS_NATIVE
=true
3659 DEPDIR
="${am__leading_dot}deps"
3661 ac_config_commands
="$ac_config_commands depfiles"
3664 am_make
=${MAKE-make}
3665 cat > confinc
<< 'END'
3667 @
echo this is the am__doit target
3670 # If we don't find an include directive, just comment out the code.
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3672 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3676 # First try GNU make style include.
3677 echo "include confinc" > confmf
3678 # Ignore all kinds of additional output from 'make'.
3679 case `$am_make -s -f confmf 2> /dev/null` in #(
3680 *the\ am__doit\ target
*)
3686 # Now try BSD make style include.
3687 if test "$am__include" = "#"; then
3688 echo '.include "confinc"' > confmf
3689 case `$am_make -s -f confmf 2> /dev/null` in #(
3690 *the\ am__doit\ target
*)
3691 am__include
=.include
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3700 $as_echo "$_am_result" >&6; }
3701 rm -f confinc confmf
3703 # Check whether --enable-dependency-tracking was given.
3704 if test "${enable_dependency_tracking+set}" = set; then :
3705 enableval
=$enable_dependency_tracking;
3708 if test "x$enable_dependency_tracking" != xno
; then
3709 am_depcomp
="$ac_aux_dir/depcomp"
3713 if test "x$enable_dependency_tracking" != xno; then
3723 ac_cpp
='$CPP $CPPFLAGS'
3724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3729 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false
; then :
3733 $as_echo_n "(cached) " >&6
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC
="$CC" # Let the user override the test.
3738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir
=.
3743 for ac_exec_ext
in '' $ac_executable_extensions; do
3744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3766 if test -z "$ac_cv_prog_CC"; then
3768 # Extract the first word of "gcc", so it can be a program name with args.
3769 set dummy gcc
; ac_word
=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$ac_ct_CC"; then
3776 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CC
="gcc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3796 if test -n "$ac_ct_CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3798 $as_echo "$ac_ct_CC" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3804 if test "x$ac_ct_CC" = x
; then
3807 case $cross_compiling:$ac_tool_warned in
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3811 ac_tool_warned
=yes ;;
3819 if test -z "$CC"; then
3820 if test -n "$ac_tool_prefix"; then
3821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3822 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if ${ac_cv_prog_CC+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3828 if test -n "$CC"; then
3829 ac_cv_prog_CC
="$CC" # Let the user override the test.
3831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3835 test -z "$as_dir" && as_dir
=.
3836 for ac_exec_ext
in '' $ac_executable_extensions; do
3837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3838 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3860 if test -z "$CC"; then
3861 # Extract the first word of "cc", so it can be a program name with args.
3862 set dummy cc
; ac_word
=$2
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3864 $as_echo_n "checking for $ac_word... " >&6; }
3865 if ${ac_cv_prog_CC+:} false
; then :
3866 $as_echo_n "(cached) " >&6
3868 if test -n "$CC"; then
3869 ac_cv_prog_CC
="$CC" # Let the user override the test.
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3876 test -z "$as_dir" && as_dir
=.
3877 for ac_exec_ext
in '' $ac_executable_extensions; do
3878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3880 ac_prog_rejected
=yes
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 if test $ac_prog_rejected = yes; then
3892 # We found a bogon in the path, so make sure we never use it.
3893 set dummy
$ac_cv_prog_CC
3895 if test $# != 0; then
3896 # We chose a different compiler from the bogus one.
3897 # However, it has the same basename, so the bogon will be chosen
3898 # first if we set CC to just the basename; use the full file name.
3900 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$CC"; then
3917 if test -n "$ac_tool_prefix"; then
3918 for ac_prog
in cl.exe
3920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_CC+:} false
; then :
3925 $as_echo_n "(cached) " >&6
3927 if test -n "$CC"; then
3928 ac_cv_prog_CC
="$CC" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 if test -n "$CC"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3950 $as_echo "$CC" >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3957 test -n "$CC" && break
3960 if test -z "$CC"; then
3962 for ac_prog
in cl.exe
3964 # Extract the first word of "$ac_prog", so it can be a program name with args.
3965 set dummy
$ac_prog; ac_word
=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -n "$ac_ct_CC"; then
3972 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir
=.
3979 for ac_exec_ext
in '' $ac_executable_extensions; do
3980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_ac_ct_CC
="$ac_prog"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3992 if test -n "$ac_ct_CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994 $as_echo "$ac_ct_CC" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4001 test -n "$ac_ct_CC" && break
4004 if test "x$ac_ct_CC" = x
; then
4007 case $cross_compiling:$ac_tool_warned in
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4011 ac_tool_warned
=yes ;;
4020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error $?
"no acceptable C compiler found in \$PATH
4023 See \`config.log' for more details" "$LINENO" 5; }
4025 # Provide some information about the compiler.
4026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4029 for ac_option
in --version -v -V -qversion; do
4030 { { ac_try
="$ac_compiler $ac_option >&5"
4032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4039 if test -s conftest.err; then
4041 ... rest of stderr output deleted ...
4042 10q' conftest.err >conftest.er1
4043 cat conftest.er1 >&5
4045 rm -f conftest.er1 conftest.err
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4056 printf ("hello world\n");
4062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4063 (eval $ac_link) 2>&5
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4071 if test x$gcc_no_link = xyes; then
4072 # Setting cross_compile will disable run tests; it will
4073 # also disable AC_CHECK_FILE but that's generally
4074 # correct if we can't link.
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 ac_clean_files_save=$ac_clean_files
4090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4091 # Try to create an executable without -o first, disregard a.out.
4092 # It will help us diagnose broken compilers, and finding out an intuition
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4095 $as_echo_n "checking whether the C compiler works... " >&6; }
4096 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4098 # The possible output files:
4099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4102 for ac_file in $ac_files
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4111 if { { ac_try="$ac_link_default"
4113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4114 *) ac_try_echo
=$ac_try;;
4116 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_link_default") 2>&5
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4123 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4124 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4125 # so that the user can short-circuit this test for compilers unknown to
4127 for ac_file
in $ac_files ''
4129 test -f "$ac_file" ||
continue
4131 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4134 # We found the default executable, but exeext='' is most
4138 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4140 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 # We set ac_cv_exeext here because the later test for it is not
4143 # safe: cross compilers may not add the suffix if given an `-o'
4144 # argument, so we may need to know it at that point already.
4145 # Even if this section looks crufty: it has the advantage of
4152 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4157 if test -z "$ac_file"; then :
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.
$ac_ext >&5
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error
77 "C compiler cannot create executables
4166 See \`config.log' for more details" "$LINENO" 5; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169 $as_echo "yes" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4172 $as_echo_n "checking for C compiler default output file name... " >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4174 $as_echo "$ac_file" >&6; }
4175 ac_exeext
=$ac_cv_exeext
4177 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4178 ac_clean_files
=$ac_clean_files_save
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4180 $as_echo_n "checking for suffix of executables... " >&6; }
4181 if { { ac_try
="$ac_link"
4183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_link") 2>&5
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4193 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4194 # work properly (i.e., refer to `conftest.exe'), while it won't with
4196 for ac_file
in conftest.exe conftest conftest.
*; do
4197 test -f "$ac_file" ||
continue
4199 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4200 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4209 See \`config.log' for more details" "$LINENO" 5; }
4211 rm -f conftest conftest
$ac_cv_exeext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4213 $as_echo "$ac_cv_exeext" >&6; }
4215 rm -f conftest.
$ac_ext
4216 EXEEXT
=$ac_cv_exeext
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4224 FILE *f = fopen ("conftest.out", "w");
4225 return ferror (f) || fclose (f) != 0;
4231 ac_clean_files
="$ac_clean_files conftest.out"
4232 # Check that the compiler produces executables we can run. If not, either
4233 # the compiler is broken, or we cross compile.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4235 $as_echo_n "checking whether we are cross compiling... " >&6; }
4236 if test "$cross_compiling" != yes; then
4237 { { ac_try
="$ac_link"
4239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link") 2>&5
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }
4248 if { ac_try='./conftest$ac_cv_exeext'
4249 { { case "(($ac_try" in
4250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4251 *) ac_try_echo
=$ac_try;;
4253 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4254 $as_echo "$ac_try_echo"; } >&5
4255 (eval "$ac_try") 2>&5
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }; }; then
4261 if test "$cross_compiling" = maybe
; then
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error $?
"cannot run C compiled programs.
4267 If you meant to cross compile, use \`--host'.
4268 See \`config.log' for more details" "$LINENO" 5; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4273 $as_echo "$cross_compiling" >&6; }
4275 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4276 ac_clean_files
=$ac_clean_files_save
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4279 $as_echo_n "checking for suffix of object files... " >&6; }
4280 if ${ac_cv_objext+:} false
; then :
4281 $as_echo_n "(cached) " >&6
4283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4294 rm -f conftest.o conftest.obj
4295 if { { ac_try
="$ac_compile"
4297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_compile") 2>&5
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }; then :
4306 for ac_file in conftest.o conftest.obj conftest.*; do
4307 test -f "$ac_file" || continue;
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4315 $as_echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4321 See \
`config.log' for more details" "$LINENO" 5; }
4323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4326 $as_echo "$ac_cv_objext" >&6; }
4327 OBJEXT=$ac_cv_objext
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4330 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4331 if ${ac_cv_c_compiler_gnu+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4348 if ac_fn_c_try_compile "$LINENO"; then :
4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4358 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4359 if test $ac_compiler_gnu = yes; then
4364 ac_test_CFLAGS=${CFLAGS+set}
4365 ac_save_CFLAGS=$CFLAGS
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4367 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4368 if ${ac_cv_prog_cc_g+:} false; then :
4369 $as_echo_n "(cached) " >&6
4371 ac_save_c_werror_flag=$ac_c_werror_flag
4372 ac_c_werror_flag=yes
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4386 if ac_fn_c_try_compile "$LINENO"; then :
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4401 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4417 if ac_fn_c_try_compile "$LINENO"; then :
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_c_werror_flag=$ac_save_c_werror_flag
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4428 $as_echo "$ac_cv_prog_cc_g" >&6; }
4429 if test "$ac_test_CFLAGS" = set; then
4430 CFLAGS=$ac_save_CFLAGS
4431 elif test $ac_cv_prog_cc_g = yes; then
4432 if test "$GCC" = yes; then
4438 if test "$GCC" = yes; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4445 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4446 if ${ac_cv_prog_cc_c89+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 ac_cv_prog_cc_c89=no
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4456 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4457 struct buf { int x; };
4458 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4459 static char *e (p, i)
4465 static char *f (char * (*g) (char **, int), char **p, ...)
4470 s = g (p, va_arg (v,int));
4475 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4476 function prototypes and stuff, but not '\xHH' hex character constants.
4477 These don't provoke an error unfortunately, instead are silently treated
4478 as 'x'. The following induces an error, until -std is added to get
4479 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4480 array size at least. It's necessary to write '\x00'==0 to get something
4481 that's true only with -std. */
4482 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4484 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4485 inside strings and character constants. */
4487 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4489 int test (int i, double x);
4490 struct s1 {int (*f) (int a);};
4491 struct s2 {int (*f) (double a);};
4492 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4498 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4503 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4504 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4506 CC="$ac_save_CC $ac_arg"
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 ac_cv_prog_cc_c89=$ac_arg
4510 rm -f core conftest.err conftest.$ac_objext
4511 test "x$ac_cv_prog_cc_c89" != "xno" && break
4513 rm -f conftest.$ac_ext
4518 case "x$ac_cv_prog_cc_c89" in
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4521 $as_echo "none needed" >&6; } ;;
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4524 $as_echo "unsupported" >&6; } ;;
4526 CC="$CC $ac_cv_prog_cc_c89"
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4528 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4530 if test "x$ac_cv_prog_cc_c89" != xno; then :
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4546 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4547 if ${am_cv_prog_cc_c_o+:} false; then :
4548 $as_echo_n "(cached) " >&6
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4561 # Make sure it works both with $CC and with simple cc.
4562 # Following AC_PROG_CC_C_O, we do the test twice because some
4563 # compilers refuse to overwrite an existing .o file with -o,
4564 # though they will create one.
4565 am_cv_prog_cc_c_o=yes
4567 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4568 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } \
4572 && test -f conftest2.$ac_objext; then
4575 am_cv_prog_cc_c_o=no
4579 rm -f core conftest*
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4583 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4584 if test "$am_cv_prog_cc_c_o" != yes; then
4585 # Losing compiler, so override with the script.
4586 # FIXME: It is wrong to rewrite CC.
4587 # But if we don't then we get into trouble of one sort or another.
4588 # A longer-term fix would be to have automake use am__CC in this case,
4589 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4590 CC="$am_aux_dir/compile $CC"
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 depcc="$CC" am_compiler_list=
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4602 $as_echo_n "checking dependency style of $depcc... " >&6; }
4603 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4607 # We make a subdir and do the tests there. Otherwise we can end up
4608 # making bogus files that we don't know about and never remove. For
4609 # instance it was reported that on HP-UX the gcc test will end up
4610 # making a dummy file named 'D' -- because '-MD' means "put the output
4614 # Copy depcomp to subdir because otherwise we won't find it if we're
4615 # using a relative directory.
4616 cp "$am_depcomp" conftest.dir
4618 # We will build objects and dependencies in a subdirectory because
4619 # it helps to detect inapplicable dependency modes. For instance
4620 # both Tru64's cc and ICC support -MD to output dependencies as a
4621 # side effect of compilation, but ICC will put the dependencies in
4622 # the current directory while Tru64 will put them in the object
4626 am_cv_CC_dependencies_compiler_type=none
4627 if test "$am_compiler_list" = ""; then
4628 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4631 case " $depcc " in #(
4632 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4635 for depmode in $am_compiler_list; do
4636 # Setup a source with many dependencies, because some compilers
4637 # like to wrap large dependency lists on column 80 (with \), and
4638 # we should not choose a depcomp mode which is confused by this.
4640 # We need to recreate these files for each test, as the compiler may
4641 # overwrite some of them when testing with obscure command lines.
4642 # This happens at least with the AIX C compiler.
4644 for i in 1 2 3 4 5 6; do
4645 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4646 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4647 # Solaris 10 /bin/sh.
4648 echo '/* dummy */' > sub/conftst$i.h
4650 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4652 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4653 # mode. It turns out that the SunPro C++ compiler does not properly
4654 # handle '-M -o', and we need to detect this. Also, some Intel
4655 # versions had trouble with output in subdirs.
4656 am__obj=sub/conftest.${OBJEXT-o}
4657 am__minus_obj="-o $am__obj"
4660 # This depmode causes a compiler race in universal mode.
4661 test "$am__universal" = false || continue
4664 # After this tag, mechanisms are not by side-effect, so they'll
4665 # only be used when explicitly requested.
4666 if test "x$enable_dependency_tracking" = xyes; then
4672 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4673 # This compiler won't grok '-c -o', but also, the minuso test has
4674 # not run yet. These depmodes are late enough in the game, and
4675 # so weak that their functioning should not be impacted.
4676 am__obj=conftest.${OBJEXT-o}
4681 if depmode=$depmode \
4682 source=sub/conftest.c object=$am__obj \
4683 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4684 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4685 >/dev/null 2>conftest.err &&
4686 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4687 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4688 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4689 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4690 # icc doesn't choke on unknown options, it will just issue warnings
4691 # or remarks (even with -Werror). So we grep stderr for any message
4692 # that says an option was ignored or not supported.
4693 # When given -MP, icc 7.0 and 7.1 complain thusly:
4694 # icc: Command line warning: ignoring option '-M'; no argument required
4695 # The diagnosis changed in icc 8.0:
4696 # icc: Command line remark: option '-MP' not supported
4697 if (grep 'ignoring option' conftest.err ||
4698 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4699 am_cv_CC_dependencies_compiler_type=$depmode
4708 am_cv_CC_dependencies_compiler_type=none
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4713 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4714 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4717 test "x$enable_dependency_tracking" != xno \
4718 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4720 am__fastdepCC_FALSE='#'
4722 am__fastdepCC_TRUE='#'
4723 am__fastdepCC_FALSE=
4729 ac_cpp='$CPP $CPPFLAGS'
4730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4734 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4735 # On Suns, sometimes $CPP names a directory.
4736 if test -n "$CPP" && test -d "$CPP"; then
4739 if test -z "$CPP"; then
4740 if ${ac_cv_prog_CPP+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 # Double quotes because CPP needs to be expanded
4744 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4747 for ac_c_preproc_warn_flag in '' yes
4749 # Use a header file that comes with gcc, so configuring glibc
4750 # with a fresh cross-compiler works.
4751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4752 # <limits.h> exists even on freestanding compilers.
4753 # On the NeXT, cc -E runs the code through the compiler's parser,
4754 # not just through cpp. "Syntax error" is here to catch this case.
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4758 # include <limits.h>
4760 # include <assert.h>
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4767 # Broken: fails on valid input.
4770 rm -f conftest.err conftest.i conftest.$ac_ext
4772 # OK, works on sane cases. Now check whether nonexistent headers
4773 # can be detected and how.
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 #include <ac_nonexistent.h>
4778 if ac_fn_c_try_cpp "$LINENO"; then :
4779 # Broken: success on invalid input.
4782 # Passes both tests.
4786 rm -f conftest.err conftest.i conftest.$ac_ext
4789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4790 rm -f conftest.i conftest.err conftest.
$ac_ext
4791 if $ac_preproc_ok; then :
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4804 $as_echo "$CPP" >&6; }
4806 for ac_c_preproc_warn_flag
in '' yes
4808 # Use a header file that comes with gcc, so configuring glibc
4809 # with a fresh cross-compiler works.
4810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4811 # <limits.h> exists even on freestanding compilers.
4812 # On the NeXT, cc -E runs the code through the compiler's parser,
4813 # not just through cpp. "Syntax error" is here to catch this case.
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4817 # include <limits.h>
4819 # include <assert.h>
4823 if ac_fn_c_try_cpp
"$LINENO"; then :
4826 # Broken: fails on valid input.
4829 rm -f conftest.err conftest.i conftest.
$ac_ext
4831 # OK, works on sane cases. Now check whether nonexistent headers
4832 # can be detected and how.
4833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4835 #include <ac_nonexistent.h>
4837 if ac_fn_c_try_cpp
"$LINENO"; then :
4838 # Broken: success on invalid input.
4841 # Passes both tests.
4845 rm -f conftest.err conftest.i conftest.
$ac_ext
4848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4849 rm -f conftest.i conftest.err conftest.
$ac_ext
4850 if $ac_preproc_ok; then :
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4856 See \`config.log' for more details" "$LINENO" 5; }
4860 ac_cpp
='$CPP $CPPFLAGS'
4861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4867 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4868 if ${ac_cv_path_GREP+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 if test -z "$GREP"; then
4872 ac_path_GREP_found
=false
4873 # Loop through the user's path and test for each of PROGNAME-LIST
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4875 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4878 test -z "$as_dir" && as_dir
=.
4879 for ac_prog
in grep ggrep
; do
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4882 as_fn_executable_p
"$ac_path_GREP" ||
continue
4883 # Check for GNU ac_path_GREP and select it if it is found.
4884 # Check for GNU $ac_path_GREP
4885 case `"$ac_path_GREP" --version 2>&1` in
4887 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4890 $as_echo_n 0123456789 >"conftest.in"
4893 cat "conftest.in" "conftest.in" >"conftest.tmp"
4894 mv "conftest.tmp" "conftest.in"
4895 cp "conftest.in" "conftest.nl"
4896 $as_echo 'GREP' >> "conftest.nl"
4897 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4898 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4899 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4900 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4901 # Best one so far, save it but keep looking for a better one
4902 ac_cv_path_GREP
="$ac_path_GREP"
4903 ac_path_GREP_max
=$ac_count
4905 # 10*(2^10) chars as input seems more than enough
4906 test $ac_count -gt 10 && break
4908 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4911 $ac_path_GREP_found && break 3
4916 if test -z "$ac_cv_path_GREP"; then
4917 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4920 ac_cv_path_GREP
=$GREP
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4925 $as_echo "$ac_cv_path_GREP" >&6; }
4926 GREP
="$ac_cv_path_GREP"
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4930 $as_echo_n "checking for egrep... " >&6; }
4931 if ${ac_cv_path_EGREP+:} false
; then :
4932 $as_echo_n "(cached) " >&6
4934 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4935 then ac_cv_path_EGREP
="$GREP -E"
4937 if test -z "$EGREP"; then
4938 ac_path_EGREP_found
=false
4939 # Loop through the user's path and test for each of PROGNAME-LIST
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4944 test -z "$as_dir" && as_dir
=.
4945 for ac_prog
in egrep; do
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4948 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4949 # Check for GNU ac_path_EGREP and select it if it is found.
4950 # Check for GNU $ac_path_EGREP
4951 case `"$ac_path_EGREP" --version 2>&1` in
4953 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4956 $as_echo_n 0123456789 >"conftest.in"
4959 cat "conftest.in" "conftest.in" >"conftest.tmp"
4960 mv "conftest.tmp" "conftest.in"
4961 cp "conftest.in" "conftest.nl"
4962 $as_echo 'EGREP' >> "conftest.nl"
4963 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4964 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4965 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4966 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4967 # Best one so far, save it but keep looking for a better one
4968 ac_cv_path_EGREP
="$ac_path_EGREP"
4969 ac_path_EGREP_max
=$ac_count
4971 # 10*(2^10) chars as input seems more than enough
4972 test $ac_count -gt 10 && break
4974 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4977 $ac_path_EGREP_found && break 3
4982 if test -z "$ac_cv_path_EGREP"; then
4983 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4986 ac_cv_path_EGREP
=$EGREP
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4992 $as_echo "$ac_cv_path_EGREP" >&6; }
4993 EGREP
="$ac_cv_path_EGREP"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4997 $as_echo_n "checking for ANSI C header files... " >&6; }
4998 if ${ac_cv_header_stdc+:} false
; then :
4999 $as_echo_n "(cached) " >&6
5001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5016 if ac_fn_c_try_compile
"$LINENO"; then :
5017 ac_cv_header_stdc
=yes
5019 ac_cv_header_stdc
=no
5021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5023 if test $ac_cv_header_stdc = yes; then
5024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5031 $EGREP "memchr" >/dev
/null
2>&1; then :
5034 ac_cv_header_stdc
=no
5040 if test $ac_cv_header_stdc = yes; then
5041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5048 $EGREP "free" >/dev
/null
2>&1; then :
5051 ac_cv_header_stdc
=no
5057 if test $ac_cv_header_stdc = yes; then
5058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5059 if test "$cross_compiling" = yes; then :
5062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 #if ((' ' & 0x0FF) == 0x020)
5067 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5068 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5070 # define ISLOWER(c) \
5071 (('a' <= (c) && (c) <= 'i') \
5072 || ('j' <= (c) && (c) <= 'r') \
5073 || ('s' <= (c) && (c) <= 'z'))
5074 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5077 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5082 for (i = 0; i < 256; i++)
5083 if (XOR (islower (i), ISLOWER (i))
5084 || toupper (i) != TOUPPER (i))
5089 if ac_fn_c_try_run
"$LINENO"; then :
5092 ac_cv_header_stdc
=no
5094 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5095 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5101 $as_echo "$ac_cv_header_stdc" >&6; }
5102 if test $ac_cv_header_stdc = yes; then
5104 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5108 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5109 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5110 inttypes.h stdint.h unistd.h
5112 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5113 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5115 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5116 cat >>confdefs.h
<<_ACEOF
5117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5126 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5127 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5134 if test "$MINIX" = yes; then
5136 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5139 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5142 $as_echo "#define _MINIX 1" >>confdefs.h
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5148 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5149 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5155 # define __EXTENSIONS__ 1
5156 $ac_includes_default
5165 if ac_fn_c_try_compile
"$LINENO"; then :
5166 ac_cv_safe_to_define___extensions__
=yes
5168 ac_cv_safe_to_define___extensions__
=no
5170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5173 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5174 test $ac_cv_safe_to_define___extensions__ = yes &&
5175 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5177 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5179 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5181 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5183 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5188 # Check whether --with-toolexeclibdir was given.
5189 if test "${with_toolexeclibdir+set}" = set; then :
5190 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5194 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5198 with_toolexeclibdir
=no
5203 # Calculate toolexeclibdir
5204 # Also toolexecdir, though it's only used in toolexeclibdir
5205 case ${version_specific_libs} in
5207 # Need the gcc compiler version to know where to install libraries
5208 # and header files if --enable-version-specific-runtime-libs option
5210 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5211 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5214 if test -n "$with_cross_host" &&
5215 test x
"$with_cross_host" != x
"no"; then
5216 # Install a library built with a cross compiler in tooldir, not libdir.
5217 toolexecdir
='$(exec_prefix)/$(target_alias)'
5218 case ${with_toolexeclibdir} in
5220 toolexeclibdir
='$(toolexecdir)/lib'
5223 toolexeclibdir
=${with_toolexeclibdir}
5227 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5228 toolexeclibdir
='$(libdir)'
5230 multi_os_directory
=`$CC -print-multi-os-directory`
5231 case $multi_os_directory in
5232 .
) ;; # Avoid trailing /.
5233 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5240 # Create a spec file, so that compile/link tests don't fail
5241 test -f libgfortran.spec ||
touch libgfortran.spec
5244 ac_cpp
='$CPP $CPPFLAGS'
5245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5249 # Check the compiler.
5250 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5251 # We must force CC to /not/ be precious variables; otherwise
5252 # the wrong, non-multilib-adjusted value will be used in multilibs.
5253 # As a side effect, we have to subst CFLAGS ourselves.
5258 ac_cpp
='$CPP $CPPFLAGS'
5259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5264 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_CC+:} false
; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$CC"; then
5271 ac_cv_prog_CC
="$CC" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 if test -n "$CC"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5293 $as_echo "$CC" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5301 if test -z "$ac_cv_prog_CC"; then
5303 # Extract the first word of "gcc", so it can be a program name with args.
5304 set dummy gcc
; ac_word
=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -n "$ac_ct_CC"; then
5311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5317 test -z "$as_dir" && as_dir
=.
5318 for ac_exec_ext
in '' $ac_executable_extensions; do
5319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_CC
="gcc"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5331 if test -n "$ac_ct_CC"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5333 $as_echo "$ac_ct_CC" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5339 if test "x$ac_ct_CC" = x
; then
5342 case $cross_compiling:$ac_tool_warned in
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346 ac_tool_warned
=yes ;;
5354 if test -z "$CC"; then
5355 if test -n "$ac_tool_prefix"; then
5356 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5357 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_CC+:} false
; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$CC"; then
5364 ac_cv_prog_CC
="$CC" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 if test -n "$CC"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5386 $as_echo "$CC" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5395 if test -z "$CC"; then
5396 # Extract the first word of "cc", so it can be a program name with args.
5397 set dummy cc
; ac_word
=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_CC+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$CC"; then
5404 ac_cv_prog_CC
="$CC" # Let the user override the test.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5414 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5415 ac_prog_rejected
=yes
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 if test $ac_prog_rejected = yes; then
5427 # We found a bogon in the path, so make sure we never use it.
5428 set dummy
$ac_cv_prog_CC
5430 if test $# != 0; then
5431 # We chose a different compiler from the bogus one.
5432 # However, it has the same basename, so the bogon will be chosen
5433 # first if we set CC to just the basename; use the full file name.
5435 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5441 if test -n "$CC"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5443 $as_echo "$CC" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5451 if test -z "$CC"; then
5452 if test -n "$ac_tool_prefix"; then
5453 for ac_prog
in cl.exe
5455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5456 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_CC+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$CC"; then
5463 ac_cv_prog_CC
="$CC" # Let the user override the test.
5465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir
=.
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 if test -n "$CC"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5485 $as_echo "$CC" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 test -n "$CC" && break
5495 if test -z "$CC"; then
5497 for ac_prog
in cl.exe
5499 # Extract the first word of "$ac_prog", so it can be a program name with args.
5500 set dummy
$ac_prog; ac_word
=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$ac_ct_CC"; then
5507 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_CC
="$ac_prog"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5527 if test -n "$ac_ct_CC"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5529 $as_echo "$ac_ct_CC" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5536 test -n "$ac_ct_CC" && break
5539 if test "x$ac_ct_CC" = x
; then
5542 case $cross_compiling:$ac_tool_warned in
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned
=yes ;;
5555 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5557 as_fn_error $?
"no acceptable C compiler found in \$PATH
5558 See \`config.log' for more details" "$LINENO" 5; }
5560 # Provide some information about the compiler.
5561 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5564 for ac_option
in --version -v -V -qversion; do
5565 { { ac_try
="$ac_compiler $ac_option >&5"
5567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5568 *) ac_try_echo=$ac_try;;
5570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5571 $as_echo "$ac_try_echo"; } >&5
5572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5574 if test -s conftest.err; then
5576 ... rest of stderr output deleted ...
5577 10q' conftest.err >conftest.er1
5578 cat conftest.er1 >&5
5580 rm -f conftest.er1 conftest.err
5581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5582 test $ac_status = 0; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5586 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5587 if ${ac_cv_c_compiler_gnu+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5604 if ac_fn_c_try_compile "$LINENO"; then :
5609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5610 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5614 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5615 if test $ac_compiler_gnu = yes; then
5620 ac_test_CFLAGS=${CFLAGS+set}
5621 ac_save_CFLAGS=$CFLAGS
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5623 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5624 if ${ac_cv_prog_cc_g+:} false; then :
5625 $as_echo_n "(cached) " >&6
5627 ac_save_c_werror_flag=$ac_c_werror_flag
5628 ac_c_werror_flag=yes
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5642 if ac_fn_c_try_compile "$LINENO"; then :
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5657 if ac_fn_c_try_compile "$LINENO"; then :
5660 ac_c_werror_flag=$ac_save_c_werror_flag
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5673 if ac_fn_c_try_compile "$LINENO"; then :
5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5681 ac_c_werror_flag=$ac_save_c_werror_flag
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5684 $as_echo "$ac_cv_prog_cc_g" >&6; }
5685 if test "$ac_test_CFLAGS" = set; then
5686 CFLAGS=$ac_save_CFLAGS
5687 elif test $ac_cv_prog_cc_g = yes; then
5688 if test "$GCC" = yes; then
5694 if test "$GCC" = yes; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5701 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5702 if ${ac_cv_prog_cc_c89+:} false; then :
5703 $as_echo_n "(cached) " >&6
5705 ac_cv_prog_cc_c89=no
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5713 struct buf { int x; };
5714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5715 static char *e (p, i)
5721 static char *f (char * (*g) (char **, int), char **p, ...)
5726 s = g (p, va_arg (v,int));
5731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5732 function prototypes and stuff, but not '\xHH' hex character constants.
5733 These don't provoke an error unfortunately, instead are silently treated
5734 as 'x'. The following induces an error, until -std is added to get
5735 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5736 array size at least. It's necessary to write '\x00'==0 to get something
5737 that's true only with -std. */
5738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5741 inside strings and character constants. */
5743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5745 int test (int i, double x);
5746 struct s1 {int (*f) (int a);};
5747 struct s2 {int (*f) (double a);};
5748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5760 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5762 CC="$ac_save_CC $ac_arg"
5763 if ac_fn_c_try_compile "$LINENO"; then :
5764 ac_cv_prog_cc_c89=$ac_arg
5766 rm -f core conftest.err conftest.$ac_objext
5767 test "x$ac_cv_prog_cc_c89" != "xno" && break
5769 rm -f conftest.$ac_ext
5774 case "x$ac_cv_prog_cc_c89" in
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5777 $as_echo "none needed" >&6; } ;;
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5780 $as_echo "unsupported" >&6; } ;;
5782 CC="$CC $ac_cv_prog_cc_c89"
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5786 if test "x$ac_cv_prog_cc_c89" != xno; then :
5791 ac_cpp='$CPP $CPPFLAGS'
5792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5797 ac_cpp='$CPP $CPPFLAGS'
5798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5802 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5803 if ${am_cv_prog_cc_c_o+:} false; then :
5804 $as_echo_n "(cached) " >&6
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5817 # Make sure it works both with $CC and with simple cc.
5818 # Following AC_PROG_CC_C_O, we do the test twice because some
5819 # compilers refuse to overwrite an existing .o file with -o,
5820 # though they will create one.
5821 am_cv_prog_cc_c_o=yes
5823 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5824 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } \
5828 && test -f conftest2.$ac_objext; then
5831 am_cv_prog_cc_c_o=no
5835 rm -f core conftest*
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5839 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5840 if test "$am_cv_prog_cc_c_o" != yes; then
5841 # Losing compiler, so override with the script.
5842 # FIXME: It is wrong to rewrite CC.
5843 # But if we don't then we get into trouble of one sort or another.
5844 # A longer-term fix would be to have automake use am__CC in this case,
5845 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5846 CC="$am_aux_dir/compile $CC"
5849 ac_cpp='$CPP $CPPFLAGS'
5850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5855 depcc="$CC" am_compiler_list=
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5858 $as_echo_n "checking dependency style of $depcc... " >&6; }
5859 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5863 # We make a subdir and do the tests there. Otherwise we can end up
5864 # making bogus files that we don't know about and never remove. For
5865 # instance it was reported that on HP-UX the gcc test will end up
5866 # making a dummy file named 'D' -- because '-MD' means "put the output
5870 # Copy depcomp to subdir because otherwise we won't find it if we're
5871 # using a relative directory.
5872 cp "$am_depcomp" conftest.dir
5874 # We will build objects and dependencies in a subdirectory because
5875 # it helps to detect inapplicable dependency modes. For instance
5876 # both Tru64's cc and ICC support -MD to output dependencies as a
5877 # side effect of compilation, but ICC will put the dependencies in
5878 # the current directory while Tru64 will put them in the object
5882 am_cv_CC_dependencies_compiler_type=none
5883 if test "$am_compiler_list" = ""; then
5884 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5887 case " $depcc " in #(
5888 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5891 for depmode in $am_compiler_list; do
5892 # Setup a source with many dependencies, because some compilers
5893 # like to wrap large dependency lists on column 80 (with \), and
5894 # we should not choose a depcomp mode which is confused by this.
5896 # We need to recreate these files for each test, as the compiler may
5897 # overwrite some of them when testing with obscure command lines.
5898 # This happens at least with the AIX C compiler.
5900 for i in 1 2 3 4 5 6; do
5901 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5902 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5903 # Solaris 10 /bin/sh.
5904 echo '/* dummy */' > sub/conftst$i.h
5906 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5908 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5909 # mode. It turns out that the SunPro C++ compiler does not properly
5910 # handle '-M -o', and we need to detect this. Also, some Intel
5911 # versions had trouble with output in subdirs.
5912 am__obj=sub/conftest.${OBJEXT-o}
5913 am__minus_obj="-o $am__obj"
5916 # This depmode causes a compiler race in universal mode.
5917 test "$am__universal" = false || continue
5920 # After this tag, mechanisms are not by side-effect, so they'll
5921 # only be used when explicitly requested.
5922 if test "x$enable_dependency_tracking" = xyes; then
5928 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5929 # This compiler won't grok '-c -o', but also, the minuso test has
5930 # not run yet. These depmodes are late enough in the game, and
5931 # so weak that their functioning should not be impacted.
5932 am__obj=conftest.${OBJEXT-o}
5937 if depmode=$depmode \
5938 source=sub/conftest.c object=$am__obj \
5939 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5940 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5941 >/dev/null 2>conftest.err &&
5942 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5943 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5944 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5945 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5946 # icc doesn't choke on unknown options, it will just issue warnings
5947 # or remarks (even with -Werror). So we grep stderr for any message
5948 # that says an option was ignored or not supported.
5949 # When given -MP, icc 7.0 and 7.1 complain thusly:
5950 # icc: Command line warning: ignoring option '-M'; no argument required
5951 # The diagnosis changed in icc 8.0:
5952 # icc: Command line remark: option '-MP' not supported
5953 if (grep 'ignoring option' conftest.err ||
5954 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5955 am_cv_CC_dependencies_compiler_type=$depmode
5964 am_cv_CC_dependencies_compiler_type=none
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5969 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5970 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5973 test "x$enable_dependency_tracking" != xno \
5974 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5976 am__fastdepCC_FALSE='#'
5978 am__fastdepCC_TRUE='#'
5979 am__fastdepCC_FALSE=
5989 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5991 if test "x$GCC" = "xyes"; then
5992 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5993 ## We like to use C11 and C99 routines when available. This makes
5995 ## __STDC_VERSION__ is set such that libc includes make them available.
5996 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5997 ## Compile the following tests with the same system header contents
5998 ## that we'll encounter when compiling our own source files.
5999 CFLAGS="-std=gnu11 $CFLAGS"
6002 xpowerpc64le*-linux*)
6003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6004 /* end confdefs.h. */
6005 #if __SIZEOF_LONG_DOUBLE__ != 16
6006 #error long double is double
6016 if ac_fn_c_try_cpp "$LINENO"; then :
6017 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6018 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6019 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6022 rm -f conftest.err conftest.i conftest.$ac_ext
6028 if test "x$have_real_17" != xno; then
6030 HAVE_REAL_17_FALSE='#'
6032 HAVE_REAL_17_TRUE='#'
6037 # Add CET specific flags if CET is enabled
6038 # Check whether --enable-cet was given.
6039 if test "${enable_cet+set}" = set; then :
6040 enableval=$enable_cet;
6041 case "$enableval" in
6043 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6052 $as_echo_n "checking for CET support... " >&6; }
6054 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6056 i[34567]86-*-linux* | x86_64-*-linux*)
6057 case "$enable_cet" in
6059 # Check if target supports multi-byte NOPs
6060 # and if compiler and assembler support CET insn.
6061 cet_save_CFLAGS="$CFLAGS"
6062 CFLAGS="$CFLAGS -fcf-protection"
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6070 #if !defined(__SSE2__)
6071 #error target does not support multi-byte NOPs
6080 if ac_fn_c_try_compile "$LINENO"; then :
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6086 CFLAGS="$cet_save_CFLAGS"
6089 # Check if assembler supports CET.
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6101 if ac_fn_c_try_compile "$LINENO"; then :
6104 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114 if test x$enable_cet = xyes; then
6115 CET_FLAGS="-fcf-protection -mshstk"
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6117 $as_echo "yes" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6123 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6124 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6125 CFLAGS="$CFLAGS $CET_FLAGS"
6131 # Check for symbol versioning (copied from libssp).
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6133 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6134 # Check whether --enable-symvers was given.
6135 if test "${enable_symvers+set}" = set; then :
6136 enableval=$enable_symvers; gfortran_use_symver=$enableval
6138 gfortran_use_symver=yes
6141 if test "x$gfortran_use_symver" != xno; then
6142 save_LDFLAGS="$LDFLAGS"
6143 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6144 cat > conftest.map <<EOF
6146 global: *foo*; bar; local: *;
6149 if test x$gcc_no_link = xyes; then
6150 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6163 if ac_fn_c_try_link "$LINENO"; then :
6164 gfortran_use_symver=gnu
6166 gfortran_use_symver=no
6168 rm -f core conftest.err conftest.$ac_objext \
6169 conftest$ac_exeext conftest.$ac_ext
6170 if test x$gfortran_use_symver = xno; then
6171 case "$target_os" in
6173 LDFLAGS="$save_LDFLAGS"
6174 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6175 # Sun ld cannot handle wildcards and treats all entries as undefined.
6176 cat > conftest.map <<EOF
6178 global: foo; local: *;
6181 if test x$gcc_no_link = xyes; then
6182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6195 if ac_fn_c_try_link "$LINENO"; then :
6196 gfortran_use_symver=sun
6198 gfortran_use_symver=no
6200 rm -f core conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6205 LDFLAGS="$save_LDFLAGS"
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6208 $as_echo "$gfortran_use_symver" >&6; }
6209 if test "x$gfortran_use_symver" != xno; then
6210 LIBGFOR_USE_SYMVER_TRUE=
6211 LIBGFOR_USE_SYMVER_FALSE='#'
6213 LIBGFOR_USE_SYMVER_TRUE='#'
6214 LIBGFOR_USE_SYMVER_FALSE=
6217 if test "x$gfortran_use_symver" = xgnu; then
6218 LIBGFOR_USE_SYMVER_GNU_TRUE=
6219 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6221 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6222 LIBGFOR_USE_SYMVER_GNU_FALSE=
6225 if test "x$gfortran_use_symver" = xsun; then
6226 LIBGFOR_USE_SYMVER_SUN_TRUE=
6227 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6229 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6230 LIBGFOR_USE_SYMVER_SUN_FALSE=
6234 # For GPU offloading, not everything in libfortran can be supported.
6235 # Currently, the only target that has this problem is nvptx. The
6236 # following is a (partial) list of features that are unsupportable on
6237 # this particular target:
6240 # * C library support for I/O, with printf as the one notable exception
6241 # * C library support for other features such as signal, environment
6242 # variables, time functions
6244 if test "x${target_cpu}" = xnvptx; then
6245 LIBGFOR_MINIMAL_TRUE=
6246 LIBGFOR_MINIMAL_FALSE='#'
6248 LIBGFOR_MINIMAL_TRUE='#'
6249 LIBGFOR_MINIMAL_FALSE=
6253 # Some compiler target support may have limited support for integer
6254 # or floating point numbers – or may want to reduce the libgfortran size
6255 # although they do have the support.
6256 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6257 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6262 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6263 # similarly to how libstdc++ does it
6264 ac_test_CFLAGS="${CFLAGS+set}"
6265 ac_save_CFLAGS="$CFLAGS"
6267 # Check for -ffunction-sections -fdata-sections
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6269 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6270 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6282 if ac_fn_c_try_compile "$LINENO"; then :
6287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6288 if test "$ac_test_CFLAGS" = set; then
6289 CFLAGS="$ac_save_CFLAGS"
6291 # this is the suspicious part
6294 if test x"$ac_fdsections" = x"yes"; then
6295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6298 $as_echo "$ac_fdsections" >&6; }
6301 # Check linker hardware capability support.
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6303 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6304 if ${ac_cv_path_SED+:} false; then :
6305 $as_echo_n "(cached) " >&6
6307 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6308 for ac_i in 1 2 3 4 5 6 7; do
6309 ac_script="$ac_script$as_nl$ac_script"
6311 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6312 { ac_script=; unset ac_script;}
6313 if test -z "$SED"; then
6314 ac_path_SED_found=false
6315 # Loop through the user's path and test for each of PROGNAME-LIST
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir=.
6321 for ac_prog in sed gsed; do
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6324 as_fn_executable_p "$ac_path_SED" || continue
6325 # Check for GNU ac_path_SED and select it if it is found.
6326 # Check for GNU $ac_path_SED
6327 case `"$ac_path_SED" --version 2>&1` in
6329 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6332 $as_echo_n 0123456789 >"conftest.in"
6335 cat "conftest.in" "conftest.in" >"conftest.tmp"
6336 mv "conftest.tmp" "conftest.in"
6337 cp "conftest.in" "conftest.nl"
6338 $as_echo '' >> "conftest.nl"
6339 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6340 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6341 as_fn_arith $ac_count + 1 && ac_count=$as_val
6342 if test $ac_count -gt ${ac_path_SED_max-0}; then
6343 # Best one so far, save it but keep looking for a better one
6344 ac_cv_path_SED="$ac_path_SED"
6345 ac_path_SED_max=$ac_count
6347 # 10*(2^10) chars as input seems more than enough
6348 test $ac_count -gt 10 && break
6350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6353 $ac_path_SED_found && break 3
6358 if test -z "$ac_cv_path_SED"; then
6359 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6367 $as_echo "$ac_cv_path_SED" >&6; }
6368 SED="$ac_cv_path_SED"
6371 test -z "$SED" && SED=sed
6372 Xsed="$SED -e 1s/^X//"
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6385 $as_echo_n "checking for fgrep... " >&6; }
6386 if ${ac_cv_path_FGREP+:} false; then :
6387 $as_echo_n "(cached) " >&6
6389 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6390 then ac_cv_path_FGREP="$GREP -F"
6392 if test -z "$FGREP"; then
6393 ac_path_FGREP_found=false
6394 # Loop through the user's path and test for each of PROGNAME-LIST
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6399 test -z "$as_dir" && as_dir=.
6400 for ac_prog in fgrep; do
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6403 as_fn_executable_p "$ac_path_FGREP" || continue
6404 # Check for GNU ac_path_FGREP and select it if it is found.
6405 # Check for GNU $ac_path_FGREP
6406 case `"$ac_path_FGREP" --version 2>&1` in
6408 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6411 $as_echo_n 0123456789 >"conftest.in"
6414 cat "conftest.in" "conftest.in" >"conftest.tmp"
6415 mv "conftest.tmp" "conftest.in"
6416 cp "conftest.in" "conftest.nl"
6417 $as_echo 'FGREP' >> "conftest.nl"
6418 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6419 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6420 as_fn_arith $ac_count + 1 && ac_count=$as_val
6421 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6422 # Best one so far, save it but keep looking for a better one
6423 ac_cv_path_FGREP="$ac_path_FGREP"
6424 ac_path_FGREP_max=$ac_count
6426 # 10*(2^10) chars as input seems more than enough
6427 test $ac_count -gt 10 && break
6429 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6432 $ac_path_FGREP_found && break 3
6437 if test -z "$ac_cv_path_FGREP"; then
6438 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6441 ac_cv_path_FGREP=$FGREP
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6447 $as_echo "$ac_cv_path_FGREP" >&6; }
6448 FGREP="$ac_cv_path_FGREP"
6451 test -z "$GREP" && GREP=grep
6469 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6470 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6471 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6474 $as_echo_n "checking how to print strings... " >&6; }
6475 # Test print first, because it will be a builtin if present.
6476 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6477 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6479 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6482 # Use this function as a fallback that always works.
6483 func_fallback_echo ()
6485 eval 'cat <<_LTECHO_EOF
6489 ECHO='func_fallback_echo'
6492 # func_echo_all arg...
6493 # Invoke $ECHO with all args, space-separated.
6500 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6501 $as_echo "printf" >&6; } ;;
6502 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6503 $as_echo "print -r" >&6; } ;;
6504 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6505 $as_echo "cat" >&6; } ;;
6523 # Check whether --with-gnu-ld was given.
6524 if test "${with_gnu_ld+set}" = set; then :
6525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6531 if test "$GCC" = yes; then
6532 # Check if gcc -print-prog-name=ld gives a path.
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6534 $as_echo_n "checking for ld used by $CC... " >&6; }
6537 # gcc leaves a trailing carriage return which upsets mingw
6538 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6540 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6543 # Accept absolute paths.
6545 re_direlt='/[^/][^/]*/\.\./'
6546 # Canonicalize the pathname of ld
6547 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6549 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6551 test -z "$LD" && LD="$ac_prog"
6554 # If it fails, then pretend we aren't using GCC.
6558 # If it is relative, then search for the first ld in PATH.
6562 elif test "$with_gnu_ld" = yes; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6564 $as_echo_n "checking for GNU ld... " >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6567 $as_echo_n "checking for non-GNU ld... " >&6; }
6569 if ${lt_cv_path_LD+:} false; then :
6570 $as_echo_n "(cached) " >&6
6572 if test -z "$LD"; then
6573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6574 for ac_dir in $PATH; do
6576 test -z "$ac_dir" && ac_dir=.
6577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6578 lt_cv_path_LD="$ac_dir/$ac_prog"
6579 # Check to see if the program is GNU ld. I'd rather use --version,
6580 # but apparently some variants of GNU ld only accept -v.
6581 # Break only if it was the GNU/non-GNU ld that we prefer.
6582 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6583 *GNU* | *'with BFD'*)
6584 test "$with_gnu_ld" != no && break
6587 test "$with_gnu_ld" != yes && break
6594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6599 if test -n "$LD"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6601 $as_echo "$LD" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6609 if ${lt_cv_prog_gnu_ld+:} false; then :
6610 $as_echo_n "(cached) " >&6
6612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6613 case `$LD -v 2>&1 </dev
/null
` in
6614 *GNU* | *'with BFD'*)
6615 lt_cv_prog_gnu_ld=yes
6618 lt_cv_prog_gnu_ld=no
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6624 with_gnu_ld=$lt_cv_prog_gnu_ld
6635 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6638 ac_save_LDFLAGS="$LDFLAGS"
6639 LDFLAGS="$LFLAGS -mclear-hwcap"
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6642 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6643 if test x$gcc_no_link = xyes; then
6644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6657 if ac_fn_c_try_link "$LINENO"; then :
6658 ac_hwcap_ldflags=yes
6662 rm -f core conftest.err conftest.$ac_objext \
6663 conftest$ac_exeext conftest.$ac_ext
6664 if test "$ac_hwcap_ldflags" = "yes"; then
6665 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6668 $as_echo "$ac_hwcap_ldflags" >&6; }
6670 LDFLAGS="$ac_save_LDFLAGS"
6674 if test $ac_hwcap_ldflags != no; then
6676 HAVE_HWCAP_FALSE='#'
6684 # Find other programs we need.
6685 if test -n "$ac_tool_prefix"; then
6686 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6687 set dummy ${ac_tool_prefix}as; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_AS+:} false; then :
6691 $as_echo_n "(cached) " >&6
6693 if test -n "$AS"; then
6694 ac_cv_prog_AS="$AS" # Let the user override the test.
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_AS="${ac_tool_prefix}as"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 if test -n "$AS"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6716 $as_echo "$AS" >&6; }
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6724 if test -z "$ac_cv_prog_AS"; then
6726 # Extract the first word of "as", so it can be a program name with args.
6727 set dummy as; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 $as_echo_n "checking for $ac_word... " >&6; }
6730 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6731 $as_echo_n "(cached) " >&6
6733 if test -n "$ac_ct_AS"; then
6734 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_ac_ct_AS="as"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6754 if test -n "$ac_ct_AS"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6756 $as_echo "$ac_ct_AS" >&6; }
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 $as_echo "no" >&6; }
6762 if test "x$ac_ct_AS" = x; then
6765 case $cross_compiling:$ac_tool_warned in
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769 ac_tool_warned=yes ;;
6777 if test -n "$ac_tool_prefix"; then
6778 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6779 set dummy ${ac_tool_prefix}ar; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_AR+:} false; then :
6783 $as_echo_n "(cached) " >&6
6785 if test -n "$AR"; then
6786 ac_cv_prog_AR="$AR" # Let the user override the test.
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_AR="${ac_tool_prefix}ar"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 if test -n "$AR"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6808 $as_echo "$AR" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6816 if test -z "$ac_cv_prog_AR"; then
6818 # Extract the first word of "ar", so it can be a program name with args.
6819 set dummy ar; ac_word=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821 $as_echo_n "checking for $ac_word... " >&6; }
6822 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6823 $as_echo_n "(cached) " >&6
6825 if test -n "$ac_ct_AR"; then
6826 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 test -z "$as_dir" && as_dir=.
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_ac_ct_AR="ar"
6836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6846 if test -n "$ac_ct_AR"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6848 $as_echo "$ac_ct_AR" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 $as_echo "no" >&6; }
6854 if test "x$ac_ct_AR" = x; then
6857 case $cross_compiling:$ac_tool_warned in
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861 ac_tool_warned=yes ;;
6869 if test -n "$ac_tool_prefix"; then
6870 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6871 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_RANLIB+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 if test -n "$RANLIB"; then
6878 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 RANLIB=$ac_cv_prog_RANLIB
6898 if test -n "$RANLIB"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6900 $as_echo "$RANLIB" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6908 if test -z "$ac_cv_prog_RANLIB"; then
6909 ac_ct_RANLIB=$RANLIB
6910 # Extract the first word of "ranlib", so it can be a program name with args.
6911 set dummy ranlib; ac_word=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 $as_echo_n "checking for $ac_word... " >&6; }
6914 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6915 $as_echo_n "(cached) " >&6
6917 if test -n "$ac_ct_RANLIB"; then
6918 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_ac_ct_RANLIB="ranlib"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6938 if test -n "$ac_ct_RANLIB"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940 $as_echo "$ac_ct_RANLIB" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6946 if test "x$ac_ct_RANLIB" = x; then
6947 RANLIB="ranlib-not-found-in-path-error"
6949 case $cross_compiling:$ac_tool_warned in
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953 ac_tool_warned=yes ;;
6955 RANLIB=$ac_ct_RANLIB
6958 RANLIB="$ac_cv_prog_RANLIB"
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6962 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6964 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6965 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6966 $as_echo_n "(cached) " >&6
6968 cat >conftest.make <<\_ACEOF
6971 @echo '@@@%%%=$(MAKE)=@@@%%%'
6973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6974 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6976 eval ac_cv_prog_make_${ac_make}_set=yes;;
6978 eval ac_cv_prog_make_${ac_make}_set=no;;
6982 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6984 $as_echo "yes" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6989 SET_MAKE="MAKE=${MAKE-make}"
6995 #AC_MSG_NOTICE([====== Starting libtool configuration])
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
7003 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
7008 macro_version='2.2.7a'
7009 macro_revision='1.3134'
7023 ltmain="$ac_aux_dir/ltmain.sh"
7025 # Backslashify metacharacters that are still active within
7026 # double-quoted strings.
7027 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
7029 # Same as above, but do not quote variable references.
7030 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7032 # Sed substitution to delay expansion of an escaped shell variable in a
7033 # double_quote_subst'ed string.
7034 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7036 # Sed substitution to delay expansion of an escaped single quote.
7037 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7039 # Sed substitution to avoid accidental globbing in evaled expressions
7040 no_glob_subst='s/\*/\\\*/g'
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7043 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7044 if ${lt_cv_path_NM+:} false; then :
7045 $as_echo_n "(cached
) " >&6
7047 if test -n "$NM"; then
7048 # Let the user override the test.
7051 lt_nm_to_check="${ac_tool_prefix}nm
"
7052 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7053 lt_nm_to_check="$lt_nm_to_check nm
"
7055 for lt_tmp_nm in $lt_nm_to_check; do
7056 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7057 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7059 test -z "$ac_dir" && ac_dir=.
7060 tmp_nm="$ac_dir/$lt_tmp_nm"
7061 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7062 # Check to see if the nm accepts a BSD-compat flag.
7063 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7064 # nm: unknown option "B
" ignored
7065 # Tru64's nm complains that /dev/null is an invalid object file
7066 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7067 */dev/null* | *'Invalid file or object type'*)
7068 lt_cv_path_NM="$tmp_nm -B"
7072 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7074 lt_cv_path_NM="$tmp_nm -p"
7078 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7079 continue # so that we can try to find one that supports BSD flags
7088 : ${lt_cv_path_NM=no}
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7092 $as_echo "$lt_cv_path_NM" >&6; }
7093 if test "$lt_cv_path_NM" != "no
"; then
7096 # Didn't find any BSD compatible name lister, look for dumpbin.
7097 if test -n "$DUMPBIN"; then :
7098 # Let the user override the test.
7100 if test -n "$ac_tool_prefix"; then
7101 for ac_prog in dumpbin "link
-dump"
7103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7106 $as_echo_n "checking
for $ac_word...
" >&6; }
7107 if ${ac_cv_prog_DUMPBIN+:} false; then :
7108 $as_echo_n "(cached
) " >&6
7110 if test -n "$DUMPBIN"; then
7111 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7130 DUMPBIN=$ac_cv_prog_DUMPBIN
7131 if test -n "$DUMPBIN"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7133 $as_echo "$DUMPBIN" >&6; }
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7136 $as_echo "no
" >&6; }
7140 test -n "$DUMPBIN" && break
7143 if test -z "$DUMPBIN"; then
7144 ac_ct_DUMPBIN=$DUMPBIN
7145 for ac_prog in dumpbin "link
-dump"
7147 # Extract the first word of "$ac_prog", so it can be a program name with args.
7148 set dummy $ac_prog; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7150 $as_echo_n "checking
for $ac_word...
" >&6; }
7151 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7152 $as_echo_n "(cached
) " >&6
7154 if test -n "$ac_ct_DUMPBIN"; then
7155 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7174 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7175 if test -n "$ac_ct_DUMPBIN"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7177 $as_echo "$ac_ct_DUMPBIN" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7180 $as_echo "no
" >&6; }
7184 test -n "$ac_ct_DUMPBIN" && break
7187 if test "x
$ac_ct_DUMPBIN" = x; then
7190 case $cross_compiling:$ac_tool_warned in
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7193 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7194 ac_tool_warned=yes ;;
7196 DUMPBIN=$ac_ct_DUMPBIN
7200 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7202 DUMPBIN="$DUMPBIN -symbols"
7210 if test "$DUMPBIN" != ":"; then
7214 test -z "$NM" && NM=nm
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7222 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7223 if ${lt_cv_nm_interface+:} false; then :
7224 $as_echo_n "(cached
) " >&6
7226 lt_cv_nm_interface="BSD nm
"
7227 echo "int some_variable
= 0;" > conftest.$ac_ext
7228 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7229 (eval "$ac_compile" 2>conftest.err)
7230 cat conftest.err >&5
7231 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7232 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7233 cat conftest.err >&5
7234 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7235 cat conftest.out >&5
7236 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7237 lt_cv_nm_interface="MS dumpbin
"
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7242 $as_echo "$lt_cv_nm_interface" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7245 $as_echo_n "checking whether
ln -s works...
" >&6; }
7247 if test "$LN_S" = "ln -s"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7249 $as_echo "yes" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7252 $as_echo "no
, using
$LN_S" >&6; }
7255 # find the maximum length of command line arguments
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7257 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7258 if ${lt_cv_sys_max_cmd_len+:} false; then :
7259 $as_echo_n "(cached
) " >&6
7266 # On DJGPP, this test can blow up pretty badly due to problems in libc
7267 # (any single argument exceeding 2000 bytes causes a buffer overrun
7268 # during glob expansion). Even if it were fixed, the result of this
7269 # check would be larger than it should be.
7270 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7274 # Under GNU Hurd, this test is not required because there is
7275 # no limit to the length of command line arguments.
7276 # Libtool will interpret -1 as no limit whatsoever
7277 lt_cv_sys_max_cmd_len=-1;
7280 cygwin* | mingw* | cegcc*)
7281 # On Win9x/ME, this test blows up -- it succeeds, but takes
7282 # about 5 minutes as the teststring grows exponentially.
7283 # Worse, since 9x/ME are not pre-emptively multitasking,
7284 # you end up with a "frozen
" computer, even though with patience
7285 # the test eventually succeeds (with a max line length of 256k).
7286 # Instead, let's just punt: use the minimum linelength reported by
7287 # all of the supported platforms: 8192 (on NT/2K/XP).
7288 lt_cv_sys_max_cmd_len=8192;
7292 # On MiNT this can take a long time and run out of memory.
7293 lt_cv_sys_max_cmd_len=8192;
7297 # On AmigaOS with pdksh, this test takes hours, literally.
7298 # So we just punt and use a minimum line length of 8192.
7299 lt_cv_sys_max_cmd_len=8192;
7302 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7303 # This has been around since 386BSD, at least. Likely further.
7304 if test -x /sbin/sysctl; then
7305 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7306 elif test -x /usr/sbin/sysctl; then
7307 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7309 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7311 # And add a safety zone
7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7313 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7317 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7318 lt_cv_sys_max_cmd_len=196608
7322 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7323 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7324 # nice to cause kernel panics so lets avoid the loop below.
7325 # First set a reasonable default.
7326 lt_cv_sys_max_cmd_len=16384
7328 if test -x /sbin/sysconfig; then
7329 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7330 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7335 lt_cv_sys_max_cmd_len=102400
7337 sysv5* | sco5v6* | sysv4.2uw2*)
7338 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7339 if test -n "$kargmax"; then
7340 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7342 lt_cv_sys_max_cmd_len=32768
7346 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7347 if test -n "$lt_cv_sys_max_cmd_len"; then
7348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7349 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7351 # Make teststring a little bigger before we do anything with it.
7352 # a 1K string should be a reasonable start.
7353 for i in 1 2 3 4 5 6 7 8 ; do
7354 teststring=$teststring$teststring
7356 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7357 # If test is not a shell built-in, we'll probably end up computing a
7358 # maximum length that is only half of the actual maximum length, but
7360 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7361 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7362 test $i != 17 # 1/2 MB should be enough
7365 teststring=$teststring$teststring
7367 # Only check the string length outside the loop.
7368 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7370 # Add a significant safety factor because C++ compilers can tack on
7371 # massive amounts of additional arguments before passing them to the
7372 # linker. It appears as though 1/2 is a usable value.
7373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7380 if test -n $lt_cv_sys_max_cmd_len ; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7382 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7385 $as_echo "none
" >&6; }
7387 max_cmd_len=$lt_cv_sys_max_cmd_len
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7399 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7400 # Try some XSI features
7403 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7405 && eval 'test $(( 1 + 1 )) -eq 2 \
7406 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7409 $as_echo "$xsi_shell" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7413 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7415 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7417 && lt_shell_append
=yes
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7419 $as_echo "$lt_shell_append" >&6; }
7422 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7432 # test EBCDIC or ASCII
7433 case `echo X|tr X '\101'` in
7434 A
) # ASCII based system
7435 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7436 lt_SP2NL
='tr \040 \012'
7437 lt_NL2SP
='tr \015\012 \040\040'
7439 *) # EBCDIC based system
7440 lt_SP2NL
='tr \100 \n'
7441 lt_NL2SP
='tr \r\n \100\100'
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7454 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7455 if ${lt_cv_ld_reload_flag+:} false
; then :
7456 $as_echo_n "(cached) " >&6
7458 lt_cv_ld_reload_flag
='-r'
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7461 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7462 reload_flag
=$lt_cv_ld_reload_flag
7463 case $reload_flag in
7465 *) reload_flag
=" $reload_flag" ;;
7467 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7470 if test "$GCC" = yes; then
7471 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7473 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7486 if test -n "$ac_tool_prefix"; then
7487 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7488 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7492 $as_echo_n "(cached) " >&6
7494 if test -n "$OBJDUMP"; then
7495 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir
=.
7502 for ac_exec_ext
in '' $ac_executable_extensions; do
7503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7514 OBJDUMP
=$ac_cv_prog_OBJDUMP
7515 if test -n "$OBJDUMP"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7517 $as_echo "$OBJDUMP" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7525 if test -z "$ac_cv_prog_OBJDUMP"; then
7526 ac_ct_OBJDUMP
=$OBJDUMP
7527 # Extract the first word of "objdump", so it can be a program name with args.
7528 set dummy objdump
; ac_word
=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7532 $as_echo_n "(cached) " >&6
7534 if test -n "$ac_ct_OBJDUMP"; then
7535 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir
=.
7542 for ac_exec_ext
in '' $ac_executable_extensions; do
7543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7555 if test -n "$ac_ct_OBJDUMP"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7557 $as_echo "$ac_ct_OBJDUMP" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7563 if test "x$ac_ct_OBJDUMP" = x
; then
7566 case $cross_compiling:$ac_tool_warned in
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7570 ac_tool_warned
=yes ;;
7572 OBJDUMP
=$ac_ct_OBJDUMP
7575 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7578 test -z "$OBJDUMP" && OBJDUMP
=objdump
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7589 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7590 if ${lt_cv_deplibs_check_method+:} false
; then :
7591 $as_echo_n "(cached) " >&6
7593 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7594 lt_cv_file_magic_test_file
=
7595 lt_cv_deplibs_check_method
='unknown'
7596 # Need to set the preceding variable on all platforms that support
7597 # interlibrary dependencies.
7598 # 'none' -- dependencies not supported.
7599 # `unknown' -- same as none, but documents that we really don't know.
7600 # 'pass_all' -- all dependencies passed with no checks.
7601 # 'test_compile' -- check by making test program.
7602 # 'file_magic [[regex]]' -- check by looking for files in library path
7603 # which responds to the $file_magic_cmd with a given extended regex.
7604 # If you have `file' or equivalent on your system and you're not sure
7605 # whether `pass_all' will *always* work, you probably want this one.
7609 lt_cv_deplibs_check_method
=pass_all
7613 lt_cv_deplibs_check_method
=pass_all
7617 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7618 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7619 lt_cv_file_magic_test_file
=/shlib
/libc.so
7623 # func_win32_libid is a shell function defined in ltmain.sh
7624 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7625 lt_cv_file_magic_cmd
='func_win32_libid'
7629 # Base MSYS/MinGW do not provide the 'file' command needed by
7630 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7631 # unless we find 'file', for example because we are cross-compiling.
7632 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7633 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7634 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7635 lt_cv_file_magic_cmd
='func_win32_libid'
7637 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7638 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7643 # use the weaker test based on 'objdump'. See mingw*.
7644 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7645 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7648 darwin
* | rhapsody
*)
7649 lt_cv_deplibs_check_method
=pass_all
7652 freebsd
* | dragonfly
*)
7653 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7656 # Not sure whether the presence of OpenBSD here was a mistake.
7657 # Let's accept both of them until this is cleared up.
7658 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7659 lt_cv_file_magic_cmd
=/usr
/bin
/file
7660 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7664 lt_cv_deplibs_check_method
=pass_all
7669 lt_cv_deplibs_check_method
=pass_all
7673 lt_cv_deplibs_check_method
=pass_all
7676 hpux10.20
* | hpux11
*)
7677 lt_cv_file_magic_cmd
=/usr
/bin
/file
7680 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7681 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7684 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]'
7685 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7688 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7689 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7695 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7696 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7699 irix5
* | irix6
* | nonstopux
*)
7701 *-32|
*"-32 ") libmagic
=32-bit;;
7702 *-n32|
*"-n32 ") libmagic
=N32
;;
7703 *-64|
*"-64 ") libmagic
=64-bit;;
7704 *) libmagic
=never-match
;;
7706 lt_cv_deplibs_check_method
=pass_all
7709 # This must be Linux ELF.
7710 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7711 lt_cv_deplibs_check_method
=pass_all
7715 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7716 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7718 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7723 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7724 lt_cv_file_magic_cmd
=/usr
/bin
/file
7725 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7729 lt_cv_deplibs_check_method
=pass_all
7733 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7734 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7736 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7740 osf3
* | osf4
* | osf5
*)
7741 lt_cv_deplibs_check_method
=pass_all
7745 lt_cv_deplibs_check_method
=pass_all
7749 lt_cv_deplibs_check_method
=pass_all
7752 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7753 lt_cv_deplibs_check_method
=pass_all
7757 case $host_vendor in
7759 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]'
7760 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7763 lt_cv_deplibs_check_method
=pass_all
7766 lt_cv_file_magic_cmd
='/bin/file'
7767 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7770 lt_cv_file_magic_cmd
='/bin/file'
7771 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7772 lt_cv_file_magic_test_file
=/lib
/libc.so
7775 lt_cv_deplibs_check_method
=pass_all
7778 lt_cv_deplibs_check_method
=pass_all
7784 lt_cv_deplibs_check_method
=pass_all
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7790 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7791 file_magic_cmd
=$lt_cv_file_magic_cmd
7792 deplibs_check_method
=$lt_cv_deplibs_check_method
7793 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7808 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_AR+:} false
; then :
7812 $as_echo_n "(cached) " >&6
7814 if test -n "$AR"; then
7815 ac_cv_prog_AR
="$AR" # Let the user override the test.
7817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7821 test -z "$as_dir" && as_dir
=.
7822 for ac_exec_ext
in '' $ac_executable_extensions; do
7823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7835 if test -n "$AR"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7837 $as_echo "$AR" >&6; }
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_AR"; then
7847 # Extract the first word of "ar", so it can be a program name with args.
7848 set dummy
ar; ac_word
=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7852 $as_echo_n "(cached) " >&6
7854 if test -n "$ac_ct_AR"; then
7855 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir
=.
7862 for ac_exec_ext
in '' $ac_executable_extensions; do
7863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_AR
="ar"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7875 if test -n "$ac_ct_AR"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7877 $as_echo "$ac_ct_AR" >&6; }
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_AR" = x
; then
7886 case $cross_compiling:$ac_tool_warned in
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned
=yes ;;
7898 test -z "$AR" && AR
=ar
7899 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7913 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_STRIP+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$STRIP"; then
7920 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir
=.
7927 for ac_exec_ext
in '' $ac_executable_extensions; do
7928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 STRIP
=$ac_cv_prog_STRIP
7940 if test -n "$STRIP"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7942 $as_echo "$STRIP" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7950 if test -z "$ac_cv_prog_STRIP"; then
7952 # Extract the first word of "strip", so it can be a program name with args.
7953 set dummy strip
; ac_word
=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 if test -n "$ac_ct_STRIP"; then
7960 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir
=.
7967 for ac_exec_ext
in '' $ac_executable_extensions; do
7968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_ac_ct_STRIP
="strip"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7980 if test -n "$ac_ct_STRIP"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7982 $as_echo "$ac_ct_STRIP" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7988 if test "x$ac_ct_STRIP" = x
; then
7991 case $cross_compiling:$ac_tool_warned in
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned
=yes ;;
8000 STRIP
="$ac_cv_prog_STRIP"
8003 test -z "$STRIP" && STRIP
=:
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8012 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_RANLIB+:} false
; then :
8016 $as_echo_n "(cached) " >&6
8018 if test -n "$RANLIB"; then
8019 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 RANLIB
=$ac_cv_prog_RANLIB
8039 if test -n "$RANLIB"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8041 $as_echo "$RANLIB" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_RANLIB"; then
8050 ac_ct_RANLIB
=$RANLIB
8051 # Extract the first word of "ranlib", so it can be a program name with args.
8052 set dummy ranlib
; ac_word
=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 if test -n "$ac_ct_RANLIB"; then
8059 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8079 if test -n "$ac_ct_RANLIB"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8081 $as_echo "$ac_ct_RANLIB" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_RANLIB" = x
; then
8090 case $cross_compiling:$ac_tool_warned in
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned
=yes ;;
8096 RANLIB
=$ac_ct_RANLIB
8099 RANLIB
="$ac_cv_prog_RANLIB"
8102 test -z "$RANLIB" && RANLIB
=:
8109 # Determine commands to create old-style static archives.
8110 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8111 old_postinstall_cmds
='chmod 644 $oldlib'
8112 old_postuninstall_cmds
=
8114 if test -n "$RANLIB"; then
8117 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8120 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8123 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8128 lock_old_archive_extraction
=yes ;;
8130 lock_old_archive_extraction
=no
;;
8171 # If no C compiler was specified, use CC.
8174 # If no C compiler flags were specified, use CFLAGS.
8175 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8177 # Allow CC to be a program name with arguments.
8181 # Check for command to grab the raw symbol name followed by C symbol from nm.
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8183 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8184 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8185 $as_echo_n "(cached) " >&6
8188 # These are sane defaults that work on at least a few old systems.
8189 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8191 # Character class describing NM global symbol codes.
8192 symcode
='[BCDEGRST]'
8194 # Regexp to match symbols that can be accessed directly from C.
8195 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8197 # Define system-specific variables.
8202 cygwin
* | mingw
* | pw32
* | cegcc
*)
8203 symcode
='[ABCDGISTW]'
8206 if test "$host_cpu" = ia64
; then
8207 symcode
='[ABCDEGRST]'
8211 symcode
='[BCDEGRST]'
8214 symcode
='[BCDEGQRST]'
8225 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8233 # If we're using GNU nm, then use its standard symbol codes.
8234 case `$NM -V 2>&1` in
8235 *GNU
* |
*'with BFD'*)
8236 symcode
='[ABCDGIRSTW]' ;;
8239 # Transform an extracted symbol line into a proper C declaration.
8240 # Some systems (esp. on ia64) link data and code symbols differently,
8241 # so use this general approach.
8242 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8244 # Transform an extracted symbol line into symbol name and symbol address
8245 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8246 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'"
8248 # Handle CRLF in mingw tool chain
8252 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8256 # Try without a prefix underscore, then with it.
8257 for ac_symprfx
in "" "_"; do
8259 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8260 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8262 # Write the raw and C identifiers.
8263 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8264 # Fake it for dumpbin and say T for any non-static function
8265 # and D for any global variable.
8266 # Also find C++ and __fastcall symbols from MSVC++,
8267 # which start with @ or ?.
8268 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8269 " {last_section=section; section=\$ 3};"\
8270 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8271 " \$ 0!~/External *\|/{next};"\
8272 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8273 " {if(hide[section]) next};"\
8274 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8275 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8276 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8277 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8278 " ' prfx=^$ac_symprfx"
8280 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8283 # Check to see that the pipe works correctly.
8287 cat > conftest.
$ac_ext <<_LT_EOF
8292 void nm_test_func(void);
8293 void nm_test_func(void){}
8297 int main(){nm_test_var='a';nm_test_func();return(0);}
8300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8301 (eval $ac_compile) 2>&5
8303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8304 test $ac_status = 0; }; then
8305 # Now try to grab the symbols.
8307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8308 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8311 test $ac_status = 0; } && test -s "$nlist"; then
8312 # Try sorting and uniquifying the output.
8313 if sort "$nlist" |
uniq > "$nlist"T
; then
8314 mv -f "$nlist"T
"$nlist"
8319 # Make sure that we snagged all the symbols we need.
8320 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8321 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8322 cat <<_LT_EOF > conftest.$ac_ext
8328 # Now generate the symbol file.
8329 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8331 cat <<_LT_EOF >> conftest.$ac_ext
8333 /* The mapping between symbol names and symbols. */
8338 lt__PROGRAM__LTX_preloaded_symbols[] =
8340 { "@PROGRAM@", (void *) 0 },
8342 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8343 cat <<\_LT_EOF
>> conftest.
$ac_ext
8347 /* This works around a problem
in FreeBSD linker
*/
8348 #ifdef FREEBSD_WORKAROUND
8349 static const void
*lt_preloaded_setup
() {
8350 return lt__PROGRAM__LTX_preloaded_symbols
;
8358 # Now try linking the two files.
8359 mv conftest.
$ac_objext conftstm.
$ac_objext
8360 lt_save_LIBS
="$LIBS"
8361 lt_save_CFLAGS
="$CFLAGS"
8362 LIBS
="conftstm.$ac_objext"
8363 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8365 (eval $ac_link) 2>&5
8367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8368 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8371 LIBS
="$lt_save_LIBS"
8372 CFLAGS
="$lt_save_CFLAGS"
8374 echo "cannot find nm_test_func in $nlist" >&5
8377 echo "cannot find nm_test_var in $nlist" >&5
8380 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8383 echo "$progname: failed program was:" >&5
8384 cat conftest.
$ac_ext >&5
8386 rm -rf conftest
* conftst
*
8388 # Do not use the global_symbol_pipe unless it works.
8389 if test "$pipe_works" = yes; then
8392 lt_cv_sys_global_symbol_pipe
=
8398 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8399 lt_cv_sys_global_symbol_to_cdecl
=
8401 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8403 $as_echo "failed" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8406 $as_echo "ok" >&6; }
8430 # Check whether --enable-libtool-lock was given.
8431 if test "${enable_libtool_lock+set}" = set; then :
8432 enableval
=$enable_libtool_lock;
8435 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8437 # Some flags need to be propagated to the compiler or linker for good
8441 # Find out which ABI we are using.
8442 echo 'int i;' > conftest.
$ac_ext
8443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8444 (eval $ac_compile) 2>&5
8446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8447 test $ac_status = 0; }; then
8448 case `/usr/bin/file conftest.$ac_objext` in
8460 # Find out which ABI we are using.
8461 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8463 (eval $ac_compile) 2>&5
8465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8466 test $ac_status = 0; }; then
8467 if test "$lt_cv_prog_gnu_ld" = yes; then
8468 case `/usr/bin/file conftest.$ac_objext` in
8470 LD
="${LD-ld} -melf32bsmip"
8473 LD
="${LD-ld} -melf32bmipn32"
8476 LD
="${LD-ld} -melf64bmip"
8480 case `/usr/bin/file conftest.$ac_objext` in
8496 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8497 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8498 # Find out which ABI we are using.
8499 echo 'int i;' > conftest.
$ac_ext
8500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8501 (eval $ac_compile) 2>&5
8503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8504 test $ac_status = 0; }; then
8505 case `/usr/bin/file conftest.o` in
8508 x86_64-
*kfreebsd
*-gnu)
8509 LD
="${LD-ld} -m elf_i386_fbsd"
8512 case `/usr/bin/file conftest.o` in
8514 LD
="${LD-ld} -m elf32_x86_64"
8517 LD
="${LD-ld} -m elf_i386"
8521 powerpc64le-
*linux
*)
8522 LD
="${LD-ld} -m elf32lppclinux"
8525 LD
="${LD-ld} -m elf32ppclinux"
8528 LD
="${LD-ld} -m elf_s390"
8531 LD
="${LD-ld} -m elf32_sparc"
8537 x86_64-
*kfreebsd
*-gnu)
8538 LD
="${LD-ld} -m elf_x86_64_fbsd"
8541 LD
="${LD-ld} -m elf_x86_64"
8544 LD
="${LD-ld} -m elf64lppc"
8547 LD
="${LD-ld} -m elf64ppc"
8549 s390
*-*linux
*|s390
*-*tpf
*)
8550 LD
="${LD-ld} -m elf64_s390"
8553 LD
="${LD-ld} -m elf64_sparc"
8563 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8564 SAVE_CFLAGS
="$CFLAGS"
8565 CFLAGS
="$CFLAGS -belf"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8567 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8568 if ${lt_cv_cc_needs_belf+:} false
; then :
8569 $as_echo_n "(cached) " >&6
8572 ac_cpp
='$CPP $CPPFLAGS'
8573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8577 if test x
$gcc_no_link = xyes
; then
8578 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8591 if ac_fn_c_try_link
"$LINENO"; then :
8592 lt_cv_cc_needs_belf
=yes
8594 lt_cv_cc_needs_belf
=no
8596 rm -f core conftest.err conftest.
$ac_objext \
8597 conftest
$ac_exeext conftest.
$ac_ext
8599 ac_cpp
='$CPP $CPPFLAGS'
8600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8606 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8607 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8608 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8609 CFLAGS
="$SAVE_CFLAGS"
8613 # Find out which ABI we are using.
8614 echo 'int i;' > conftest.
$ac_ext
8615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8616 (eval $ac_compile) 2>&5
8618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8619 test $ac_status = 0; }; then
8620 case `/usr/bin/file conftest.o` in
8622 case $lt_cv_prog_gnu_ld in
8623 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8625 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8637 need_locks
="$enable_libtool_lock"
8641 rhapsody
* | darwin
*)
8642 if test -n "$ac_tool_prefix"; then
8643 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8644 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646 $as_echo_n "checking for $ac_word... " >&6; }
8647 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8648 $as_echo_n "(cached) " >&6
8650 if test -n "$DSYMUTIL"; then
8651 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8657 test -z "$as_dir" && as_dir
=.
8658 for ac_exec_ext
in '' $ac_executable_extensions; do
8659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8660 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8670 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8671 if test -n "$DSYMUTIL"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8673 $as_echo "$DSYMUTIL" >&6; }
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8676 $as_echo "no" >&6; }
8681 if test -z "$ac_cv_prog_DSYMUTIL"; then
8682 ac_ct_DSYMUTIL
=$DSYMUTIL
8683 # Extract the first word of "dsymutil", so it can be a program name with args.
8684 set dummy dsymutil
; ac_word
=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8688 $as_echo_n "(cached) " >&6
8690 if test -n "$ac_ct_DSYMUTIL"; then
8691 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8697 test -z "$as_dir" && as_dir
=.
8698 for ac_exec_ext
in '' $ac_executable_extensions; do
8699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8700 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8710 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8711 if test -n "$ac_ct_DSYMUTIL"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8713 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8719 if test "x$ac_ct_DSYMUTIL" = x
; then
8722 case $cross_compiling:$ac_tool_warned in
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8726 ac_tool_warned
=yes ;;
8728 DSYMUTIL
=$ac_ct_DSYMUTIL
8731 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8734 if test -n "$ac_tool_prefix"; then
8735 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8736 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8738 $as_echo_n "checking for $ac_word... " >&6; }
8739 if ${ac_cv_prog_NMEDIT+:} false
; then :
8740 $as_echo_n "(cached) " >&6
8742 if test -n "$NMEDIT"; then
8743 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir
=.
8750 for ac_exec_ext
in '' $ac_executable_extensions; do
8751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8752 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8762 NMEDIT
=$ac_cv_prog_NMEDIT
8763 if test -n "$NMEDIT"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8765 $as_echo "$NMEDIT" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8773 if test -z "$ac_cv_prog_NMEDIT"; then
8774 ac_ct_NMEDIT
=$NMEDIT
8775 # Extract the first word of "nmedit", so it can be a program name with args.
8776 set dummy nmedit
; ac_word
=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8782 if test -n "$ac_ct_NMEDIT"; then
8783 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir
=.
8790 for ac_exec_ext
in '' $ac_executable_extensions; do
8791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8802 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8803 if test -n "$ac_ct_NMEDIT"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8805 $as_echo "$ac_ct_NMEDIT" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8811 if test "x$ac_ct_NMEDIT" = x
; then
8814 case $cross_compiling:$ac_tool_warned in
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8818 ac_tool_warned
=yes ;;
8820 NMEDIT
=$ac_ct_NMEDIT
8823 NMEDIT
="$ac_cv_prog_NMEDIT"
8826 if test -n "$ac_tool_prefix"; then
8827 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8828 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830 $as_echo_n "checking for $ac_word... " >&6; }
8831 if ${ac_cv_prog_LIPO+:} false
; then :
8832 $as_echo_n "(cached) " >&6
8834 if test -n "$LIPO"; then
8835 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8841 test -z "$as_dir" && as_dir
=.
8842 for ac_exec_ext
in '' $ac_executable_extensions; do
8843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8844 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8854 LIPO
=$ac_cv_prog_LIPO
8855 if test -n "$LIPO"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8857 $as_echo "$LIPO" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860 $as_echo "no" >&6; }
8865 if test -z "$ac_cv_prog_LIPO"; then
8867 # Extract the first word of "lipo", so it can be a program name with args.
8868 set dummy lipo
; ac_word
=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870 $as_echo_n "checking for $ac_word... " >&6; }
8871 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8872 $as_echo_n "(cached) " >&6
8874 if test -n "$ac_ct_LIPO"; then
8875 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8881 test -z "$as_dir" && as_dir
=.
8882 for ac_exec_ext
in '' $ac_executable_extensions; do
8883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_ac_ct_LIPO
="lipo"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8895 if test -n "$ac_ct_LIPO"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8897 $as_echo "$ac_ct_LIPO" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8903 if test "x$ac_ct_LIPO" = x
; then
8906 case $cross_compiling:$ac_tool_warned in
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8910 ac_tool_warned
=yes ;;
8915 LIPO
="$ac_cv_prog_LIPO"
8918 if test -n "$ac_tool_prefix"; then
8919 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8920 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922 $as_echo_n "checking for $ac_word... " >&6; }
8923 if ${ac_cv_prog_OTOOL+:} false
; then :
8924 $as_echo_n "(cached) " >&6
8926 if test -n "$OTOOL"; then
8927 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir
=.
8934 for ac_exec_ext
in '' $ac_executable_extensions; do
8935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8936 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8946 OTOOL
=$ac_cv_prog_OTOOL
8947 if test -n "$OTOOL"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8949 $as_echo "$OTOOL" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8957 if test -z "$ac_cv_prog_OTOOL"; then
8959 # Extract the first word of "otool", so it can be a program name with args.
8960 set dummy otool
; ac_word
=$2
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962 $as_echo_n "checking for $ac_word... " >&6; }
8963 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8964 $as_echo_n "(cached) " >&6
8966 if test -n "$ac_ct_OTOOL"; then
8967 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8973 test -z "$as_dir" && as_dir
=.
8974 for ac_exec_ext
in '' $ac_executable_extensions; do
8975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8976 ac_cv_prog_ac_ct_OTOOL
="otool"
8977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8986 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8987 if test -n "$ac_ct_OTOOL"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8989 $as_echo "$ac_ct_OTOOL" >&6; }
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
8995 if test "x$ac_ct_OTOOL" = x
; then
8998 case $cross_compiling:$ac_tool_warned in
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9002 ac_tool_warned
=yes ;;
9007 OTOOL
="$ac_cv_prog_OTOOL"
9010 if test -n "$ac_tool_prefix"; then
9011 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9012 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9014 $as_echo_n "checking for $ac_word... " >&6; }
9015 if ${ac_cv_prog_OTOOL64+:} false
; then :
9016 $as_echo_n "(cached) " >&6
9018 if test -n "$OTOOL64"; then
9019 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir
=.
9026 for ac_exec_ext
in '' $ac_executable_extensions; do
9027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9028 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9038 OTOOL64
=$ac_cv_prog_OTOOL64
9039 if test -n "$OTOOL64"; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9041 $as_echo "$OTOOL64" >&6; }
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9049 if test -z "$ac_cv_prog_OTOOL64"; then
9050 ac_ct_OTOOL64
=$OTOOL64
9051 # Extract the first word of "otool64", so it can be a program name with args.
9052 set dummy otool64
; ac_word
=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9054 $as_echo_n "checking for $ac_word... " >&6; }
9055 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9056 $as_echo_n "(cached) " >&6
9058 if test -n "$ac_ct_OTOOL64"; then
9059 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9065 test -z "$as_dir" && as_dir
=.
9066 for ac_exec_ext
in '' $ac_executable_extensions; do
9067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9068 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9078 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9079 if test -n "$ac_ct_OTOOL64"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9081 $as_echo "$ac_ct_OTOOL64" >&6; }
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9087 if test "x$ac_ct_OTOOL64" = x
; then
9090 case $cross_compiling:$ac_tool_warned in
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9094 ac_tool_warned
=yes ;;
9096 OTOOL64
=$ac_ct_OTOOL64
9099 OTOOL64
="$ac_cv_prog_OTOOL64"
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9129 $as_echo_n "checking for -single_module linker flag... " >&6; }
9130 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9131 $as_echo_n "(cached) " >&6
9133 lt_cv_apple_cc_single_mod
=no
9134 if test -z "${LT_MULTI_MODULE}"; then
9135 # By default we will add the -single_module flag. You can override
9136 # by either setting the environment variable LT_MULTI_MODULE
9137 # non-empty at configure time, or by adding -multi_module to the
9139 rm -rf libconftest.dylib
*
9140 echo "int foo(void){return 1;}" > conftest.c
9141 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9142 -dynamiclib -Wl,-single_module conftest.c" >&5
9143 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9144 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9146 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9147 lt_cv_apple_cc_single_mod
=yes
9149 cat conftest.err
>&5
9151 rm -rf libconftest.dylib
*
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9156 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9158 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9159 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9160 $as_echo_n "(cached) " >&6
9162 lt_cv_ld_exported_symbols_list
=no
9163 save_LDFLAGS
=$LDFLAGS
9164 echo "_main" > conftest.sym
9165 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9166 if test x
$gcc_no_link = xyes
; then
9167 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9180 if ac_fn_c_try_link
"$LINENO"; then :
9181 lt_cv_ld_exported_symbols_list
=yes
9183 lt_cv_ld_exported_symbols_list
=no
9185 rm -f core conftest.err conftest.
$ac_objext \
9186 conftest
$ac_exeext conftest.
$ac_ext
9187 LDFLAGS
="$save_LDFLAGS"
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9191 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9193 $as_echo_n "checking for -force_load linker flag... " >&6; }
9194 if ${lt_cv_ld_force_load+:} false
; then :
9195 $as_echo_n "(cached) " >&6
9197 lt_cv_ld_force_load
=no
9198 cat > conftest.c
<< _LT_EOF
9199 int forced_loaded() { return 2;}
9201 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9202 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9203 echo "$AR cru libconftest.a conftest.o" >&5
9204 $AR cru libconftest.a conftest.o
2>&5
9205 cat > conftest.c
<< _LT_EOF
9206 int main() { return 0;}
9208 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9209 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9211 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9212 lt_cv_ld_force_load
=yes
9214 cat conftest.err
>&5
9216 rm -f conftest.err libconftest.a conftest conftest.c
9217 rm -rf conftest.dSYM
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9221 $as_echo "$lt_cv_ld_force_load" >&6; }
9222 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9223 # build without first building modern cctools / linker.
9224 case $host_cpu-$host_os in
9225 *-rhapsody* |
*-darwin1.
[012])
9226 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9228 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9230 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9231 # deployment target is forced to an earlier version.
9232 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9233 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9236 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9243 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9244 _lt_dar_single_mod
='$single_module'
9246 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9247 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9249 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9251 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9252 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9259 for ac_header
in dlfcn.h
9261 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9263 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9264 cat >>confdefs.h
<<_ACEOF
9265 #define HAVE_DLFCN_H 1
9284 # Check whether --enable-shared was given.
9285 if test "${enable_shared+set}" = set; then :
9286 enableval
=$enable_shared; p
=${PACKAGE-default}
9288 yes) enable_shared
=yes ;;
9289 no
) enable_shared
=no
;;
9292 # Look at the argument we got. We use all the common list separators.
9293 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9294 for pkg
in $enableval; do
9296 if test "X$pkg" = "X$p"; then
9315 # Check whether --enable-static was given.
9316 if test "${enable_static+set}" = set; then :
9317 enableval
=$enable_static; p
=${PACKAGE-default}
9319 yes) enable_static
=yes ;;
9320 no
) enable_static
=no
;;
9323 # Look at the argument we got. We use all the common list separators.
9324 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9325 for pkg
in $enableval; do
9327 if test "X$pkg" = "X$p"; then
9347 # Check whether --with-pic was given.
9348 if test "${with_pic+set}" = set; then :
9349 withval
=$with_pic; pic_mode
="$withval"
9355 test -z "$pic_mode" && pic_mode
=default
9363 # Check whether --enable-fast-install was given.
9364 if test "${enable_fast_install+set}" = set; then :
9365 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9367 yes) enable_fast_install
=yes ;;
9368 no
) enable_fast_install
=no
;;
9370 enable_fast_install
=no
9371 # Look at the argument we got. We use all the common list separators.
9372 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9373 for pkg
in $enableval; do
9375 if test "X$pkg" = "X$p"; then
9376 enable_fast_install
=yes
9383 enable_fast_install
=yes
9396 # This can be used to rebuild libtool when needed
9397 LIBTOOL_DEPS
="$ltmain"
9399 # Always use our own libtool.
9400 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9427 test -z "$LN_S" && LN_S
="ln -s"
9442 if test -n "${ZSH_VERSION+set}" ; then
9443 setopt NO_GLOB_SUBST
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9447 $as_echo_n "checking for objdir... " >&6; }
9448 if ${lt_cv_objdir+:} false
; then :
9449 $as_echo_n "(cached) " >&6
9451 rm -f .libs
2>/dev
/null
9452 mkdir .libs
2>/dev
/null
9453 if test -d .libs
; then
9456 # MS-DOS does not allow filenames that begin with a dot.
9459 rmdir .libs
2>/dev
/null
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9462 $as_echo "$lt_cv_objdir" >&6; }
9463 objdir
=$lt_cv_objdir
9469 cat >>confdefs.h
<<_ACEOF
9470 #define LT_OBJDIR "$lt_cv_objdir/"
9478 # AIX sometimes has problems with the GCC collect2 program. For some
9479 # reason, if we set the COLLECT_NAMES environment variable, the problems
9480 # vanish in a puff of smoke.
9481 if test "X${COLLECT_NAMES+set}" != Xset
; then
9483 export COLLECT_NAMES
9490 can_build_shared
=yes
9492 # All known linkers require a `.a' archive for static linking (except MSVC,
9493 # which needs '.lib').
9496 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9499 old_CFLAGS
="$CFLAGS"
9501 # Set sane defaults for various variables
9502 test -z "$CC" && CC
=cc
9503 test -z "$LTCC" && LTCC
=$CC
9504 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9505 test -z "$LD" && LD
=ld
9506 test -z "$ac_objext" && ac_objext
=o
9508 for cc_temp
in $compiler""; do
9510 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9511 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9516 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9519 # Only perform the check for file, if the check method requires it
9520 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9521 case $deplibs_check_method in
9523 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9525 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9526 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9527 $as_echo_n "(cached) " >&6
9531 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9534 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9535 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9536 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9537 for ac_dir
in $ac_dummy; do
9539 test -z "$ac_dir" && ac_dir
=.
9540 if test -f $ac_dir/${ac_tool_prefix}file; then
9541 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9542 if test -n "$file_magic_test_file"; then
9543 case $deplibs_check_method in
9545 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9546 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9547 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9548 $EGREP "$file_magic_regex" > /dev
/null
; then
9553 *** Warning: the command libtool uses to detect shared libraries,
9554 *** $file_magic_cmd, produces output that libtool cannot recognize.
9555 *** The result is that libtool may fail to recognize shared libraries
9556 *** as such. This will affect the creation of libtool libraries that
9557 *** depend on shared libraries, but programs linked with such libtool
9558 *** libraries will work regardless of this problem. Nevertheless, you
9559 *** may want to report the problem to your system manager and/or to
9560 *** bug-libtool@gnu.org
9570 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9575 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9576 if test -n "$MAGIC_CMD"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9578 $as_echo "$MAGIC_CMD" >&6; }
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9581 $as_echo "no" >&6; }
9588 if test -z "$lt_cv_path_MAGIC_CMD"; then
9589 if test -n "$ac_tool_prefix"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9591 $as_echo_n "checking for file... " >&6; }
9592 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9593 $as_echo_n "(cached) " >&6
9597 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9600 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9601 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9602 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9603 for ac_dir
in $ac_dummy; do
9605 test -z "$ac_dir" && ac_dir
=.
9606 if test -f $ac_dir/file; then
9607 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9608 if test -n "$file_magic_test_file"; then
9609 case $deplibs_check_method in
9611 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9612 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9613 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9614 $EGREP "$file_magic_regex" > /dev
/null
; then
9619 *** Warning: the command libtool uses to detect shared libraries,
9620 *** $file_magic_cmd, produces output that libtool cannot recognize.
9621 *** The result is that libtool may fail to recognize shared libraries
9622 *** as such. This will affect the creation of libtool libraries that
9623 *** depend on shared libraries, but programs linked with such libtool
9624 *** libraries will work regardless of this problem. Nevertheless, you
9625 *** may want to report the problem to your system manager and/or to
9626 *** bug-libtool@gnu.org
9636 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9641 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9642 if test -n "$MAGIC_CMD"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9644 $as_echo "$MAGIC_CMD" >&6; }
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9647 $as_echo "no" >&6; }
9660 # Use C for the default configuration in the libtool script
9664 ac_cpp
='$CPP $CPPFLAGS'
9665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9670 # Source file extension for C test sources.
9673 # Object file extension for compiled C test sources.
9677 # Code to be used in simple compile tests
9678 lt_simple_compile_test_code
="int some_variable = 0;"
9680 # Code to be used in simple link tests
9681 lt_simple_link_test_code
='int main(){return(0);}'
9689 # If no C compiler was specified, use CC.
9692 # If no C compiler flags were specified, use CFLAGS.
9693 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9695 # Allow CC to be a program name with arguments.
9698 # Save the default compiler, since it gets overwritten when the other
9699 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9700 compiler_DEFAULT
=$CC
9702 # save warnings/boilerplate of simple test code
9703 ac_outfile
=conftest.
$ac_objext
9704 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9705 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9706 _lt_compiler_boilerplate
=`cat conftest.err`
9709 ac_outfile
=conftest.
$ac_objext
9710 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9711 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9712 _lt_linker_boilerplate
=`cat conftest.err`
9717 ## There is no encapsulation within the following macros, do not change
9718 ## the running order or otherwise move them around unless you know exactly
9719 ## what you are doing...
9720 if test -n "$compiler"; then
9722 lt_prog_compiler_no_builtin_flag
=
9724 if test "$GCC" = yes; then
9725 case $cc_basename in
9727 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9729 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9733 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9734 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9735 $as_echo_n "(cached) " >&6
9737 lt_cv_prog_compiler_rtti_exceptions
=no
9738 ac_outfile
=conftest.
$ac_objext
9739 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9740 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9741 # Insert the option either (1) after the last *FLAGS variable, or
9742 # (2) before a word containing "conftest.", or (3) at the end.
9743 # Note that $ac_compile itself does not contain backslashes and begins
9744 # with a dollar sign (not a hyphen), so the echo should work correctly.
9745 # The option is referenced via a variable to avoid confusing sed.
9746 lt_compile
=`echo "$ac_compile" | $SED \
9747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9749 -e 's:$: $lt_compiler_flag:'`
9750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9751 (eval "$lt_compile" 2>conftest.err
)
9753 cat conftest.err
>&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 if (exit $ac_status) && test -s "$ac_outfile"; then
9756 # The compiler can only warn and ignore the option if not recognized
9757 # So say no if there are warnings other than the usual output.
9758 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9759 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9760 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9761 lt_cv_prog_compiler_rtti_exceptions
=yes
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9768 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9770 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9771 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9783 lt_prog_compiler_wl
=
9784 lt_prog_compiler_pic
=
9785 lt_prog_compiler_static
=
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9788 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9790 if test "$GCC" = yes; then
9791 lt_prog_compiler_wl
='-Wl,'
9792 lt_prog_compiler_static
='-static'
9796 # All AIX code is PIC.
9797 if test "$host_cpu" = ia64
; then
9798 # AIX 5 now supports IA64 processor
9799 lt_prog_compiler_static
='-Bstatic'
9801 lt_prog_compiler_pic
='-fPIC'
9807 # see comment about AmigaOS4 .so support
9808 lt_prog_compiler_pic
='-fPIC'
9811 # FIXME: we need at least 68020 code to build shared libraries, but
9812 # adding the `-m68020' flag to GCC prevents building anything better,
9814 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9819 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9820 # PIC is the default for these OSes.
9823 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9824 # This hack is so that the source file can tell whether it is being
9825 # built for inclusion in a dll (and should export symbols for example).
9826 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9827 # (--disable-auto-import) libraries
9828 lt_prog_compiler_pic
='-DDLL_EXPORT'
9831 darwin
* | rhapsody
*)
9832 # PIC is the default on this platform
9833 # Common symbols not allowed in MH_DYLIB files
9834 lt_prog_compiler_pic
='-fno-common'
9838 # PIC is the default for Haiku.
9839 # The "-static" flag exists, but is broken.
9840 lt_prog_compiler_static
=
9844 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9845 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9846 # sets the default TLS model and affects inlining.
9852 lt_prog_compiler_pic
='-fPIC'
9858 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9859 # Instead, we relocate shared libraries at runtime.
9863 # Just because we use GCC doesn't mean we suddenly get shared libraries
9864 # on systems that don't support them.
9865 lt_prog_compiler_can_build_shared
=no
9870 # QNX uses GNU C++, but need to define -shared option too, otherwise
9872 lt_prog_compiler_pic
='-fPIC -shared'
9876 if test -d /usr
/nec
; then
9877 lt_prog_compiler_pic
=-Kconform_pic
9882 lt_prog_compiler_pic
='-fPIC'
9886 case $cc_basename in
9887 nvcc
*) # Cuda Compiler Driver 2.2
9888 lt_prog_compiler_wl
='-Xlinker '
9889 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9893 # PORTME Check for flag to pass linker flags through the system compiler.
9896 lt_prog_compiler_wl
='-Wl,'
9897 if test "$host_cpu" = ia64
; then
9898 # AIX 5 now supports IA64 processor
9899 lt_prog_compiler_static
='-Bstatic'
9901 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9905 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9906 # This hack is so that the source file can tell whether it is being
9907 # built for inclusion in a dll (and should export symbols for example).
9908 lt_prog_compiler_pic
='-DDLL_EXPORT'
9911 hpux9
* | hpux10
* | hpux11
*)
9912 lt_prog_compiler_wl
='-Wl,'
9913 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9920 lt_prog_compiler_pic
='+Z'
9923 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9924 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9927 irix5
* | irix6
* | nonstopux
*)
9928 lt_prog_compiler_wl
='-Wl,'
9929 # PIC (with -KPIC) is the default.
9930 lt_prog_compiler_static
='-non_shared'
9933 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9934 case $cc_basename in
9935 # old Intel for x86_64 which still supported -KPIC.
9937 lt_prog_compiler_wl
='-Wl,'
9938 lt_prog_compiler_pic
='-KPIC'
9939 lt_prog_compiler_static
='-static'
9941 # icc used to be incompatible with GCC.
9942 # ICC 10 doesn't accept -KPIC any more.
9944 lt_prog_compiler_wl
='-Wl,'
9945 lt_prog_compiler_pic
='-fPIC'
9946 lt_prog_compiler_static
='-static'
9948 # Lahey Fortran 8.1.
9950 lt_prog_compiler_wl
='-Wl,'
9951 lt_prog_compiler_pic
='--shared'
9952 lt_prog_compiler_static
='--static'
9954 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9955 # Portland Group compilers (*not* the Pentium gcc compiler,
9956 # which looks to be a dead project)
9957 lt_prog_compiler_wl
='-Wl,'
9958 lt_prog_compiler_pic
='-fpic'
9959 lt_prog_compiler_static
='-Bstatic'
9962 lt_prog_compiler_wl
='-Wl,'
9963 # All Alpha code is PIC.
9964 lt_prog_compiler_static
='-non_shared'
9966 xl
* | bgxl
* | bgf
* | mpixl
*)
9967 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9968 lt_prog_compiler_wl
='-Wl,'
9969 lt_prog_compiler_pic
='-qpic'
9970 lt_prog_compiler_static
='-qstaticlink'
9973 case `$CC -V 2>&1 | sed 5q` in
9974 *Sun\ F
* |
*Sun
*Fortran
*)
9975 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9976 lt_prog_compiler_pic
='-KPIC'
9977 lt_prog_compiler_static
='-Bstatic'
9978 lt_prog_compiler_wl
=''
9982 lt_prog_compiler_pic
='-KPIC'
9983 lt_prog_compiler_static
='-Bstatic'
9984 lt_prog_compiler_wl
='-Wl,'
9992 lt_prog_compiler_pic
='-KPIC'
9993 lt_prog_compiler_static
='-Bstatic'
9997 # QNX uses GNU C++, but need to define -shared option too, otherwise
9999 lt_prog_compiler_pic
='-fPIC -shared'
10002 osf3
* | osf4
* | osf5
*)
10003 lt_prog_compiler_wl
='-Wl,'
10004 # All OSF/1 code is PIC.
10005 lt_prog_compiler_static
='-non_shared'
10009 lt_prog_compiler_static
='-non_shared'
10013 lt_prog_compiler_pic
='-KPIC'
10014 lt_prog_compiler_static
='-Bstatic'
10015 case $cc_basename in
10016 f77
* | f90
* | f95
*)
10017 lt_prog_compiler_wl
='-Qoption ld ';;
10019 lt_prog_compiler_wl
='-Wl,';;
10024 lt_prog_compiler_wl
='-Qoption ld '
10025 lt_prog_compiler_pic
='-PIC'
10026 lt_prog_compiler_static
='-Bstatic'
10029 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10030 lt_prog_compiler_wl
='-Wl,'
10031 lt_prog_compiler_pic
='-KPIC'
10032 lt_prog_compiler_static
='-Bstatic'
10036 if test -d /usr
/nec
;then
10037 lt_prog_compiler_pic
='-Kconform_pic'
10038 lt_prog_compiler_static
='-Bstatic'
10042 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10043 lt_prog_compiler_wl
='-Wl,'
10044 lt_prog_compiler_pic
='-KPIC'
10045 lt_prog_compiler_static
='-Bstatic'
10049 lt_prog_compiler_wl
='-Wl,'
10050 lt_prog_compiler_can_build_shared
=no
10054 lt_prog_compiler_pic
='-pic'
10055 lt_prog_compiler_static
='-Bstatic'
10059 lt_prog_compiler_can_build_shared
=no
10065 # For platforms which do not support PIC, -DPIC is meaningless:
10067 lt_prog_compiler_pic
=
10070 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10074 $as_echo "$lt_prog_compiler_pic" >&6; }
10082 # Check to make sure the PIC flag actually works.
10084 if test -n "$lt_prog_compiler_pic"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10086 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10087 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10088 $as_echo_n "(cached) " >&6
10090 lt_cv_prog_compiler_pic_works
=no
10091 ac_outfile
=conftest.
$ac_objext
10092 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10093 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10094 # Insert the option either (1) after the last *FLAGS variable, or
10095 # (2) before a word containing "conftest.", or (3) at the end.
10096 # Note that $ac_compile itself does not contain backslashes and begins
10097 # with a dollar sign (not a hyphen), so the echo should work correctly.
10098 # The option is referenced via a variable to avoid confusing sed.
10099 lt_compile
=`echo "$ac_compile" | $SED \
10100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10102 -e 's:$: $lt_compiler_flag:'`
10103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10104 (eval "$lt_compile" 2>conftest.err
)
10106 cat conftest.err
>&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 if (exit $ac_status) && test -s "$ac_outfile"; then
10109 # The compiler can only warn and ignore the option if not recognized
10110 # So say no if there are warnings other than the usual output.
10111 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10112 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10113 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10114 lt_cv_prog_compiler_pic_works
=yes
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10121 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10123 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10124 case $lt_prog_compiler_pic in
10126 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10129 lt_prog_compiler_pic
=
10130 lt_prog_compiler_can_build_shared
=no
10141 # Check to make sure the static flag actually works.
10143 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10145 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10146 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10147 $as_echo_n "(cached) " >&6
10149 lt_cv_prog_compiler_static_works
=no
10150 save_LDFLAGS
="$LDFLAGS"
10151 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10152 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10153 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10154 # The linker can only warn and ignore the option if not recognized
10155 # So say no if there are warnings
10156 if test -s conftest.err
; then
10157 # Append any errors to the config.log.
10158 cat conftest.err
1>&5
10159 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10160 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10161 if diff conftest.exp conftest.er2
>/dev
/null
; then
10162 lt_cv_prog_compiler_static_works
=yes
10165 lt_cv_prog_compiler_static_works
=yes
10169 LDFLAGS
="$save_LDFLAGS"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10173 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10175 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10178 lt_prog_compiler_static
=
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10188 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10189 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10190 $as_echo_n "(cached) " >&6
10192 lt_cv_prog_compiler_c_o
=no
10193 $RM -r conftest
2>/dev
/null
10197 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10199 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10200 # Insert the option either (1) after the last *FLAGS variable, or
10201 # (2) before a word containing "conftest.", or (3) at the end.
10202 # Note that $ac_compile itself does not contain backslashes and begins
10203 # with a dollar sign (not a hyphen), so the echo should work correctly.
10204 lt_compile
=`echo "$ac_compile" | $SED \
10205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10207 -e 's:$: $lt_compiler_flag:'`
10208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10209 (eval "$lt_compile" 2>out
/conftest.err
)
10211 cat out
/conftest.err
>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10215 # The compiler can only warn and ignore the option if not recognized
10216 # So say no if there are warnings
10217 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10218 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10219 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10220 lt_cv_prog_compiler_c_o
=yes
10225 # SGI C++ compiler will create directory out/ii_files/ for
10226 # template instantiation
10227 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10228 $RM out
/* && rmdir out
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10235 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10244 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10245 $as_echo_n "(cached) " >&6
10247 lt_cv_prog_compiler_c_o
=no
10248 $RM -r conftest
2>/dev
/null
10252 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10254 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10255 # Insert the option either (1) after the last *FLAGS variable, or
10256 # (2) before a word containing "conftest.", or (3) at the end.
10257 # Note that $ac_compile itself does not contain backslashes and begins
10258 # with a dollar sign (not a hyphen), so the echo should work correctly.
10259 lt_compile
=`echo "$ac_compile" | $SED \
10260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10262 -e 's:$: $lt_compiler_flag:'`
10263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10264 (eval "$lt_compile" 2>out
/conftest.err
)
10266 cat out
/conftest.err
>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10270 # The compiler can only warn and ignore the option if not recognized
10271 # So say no if there are warnings
10272 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10273 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10274 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10275 lt_cv_prog_compiler_c_o
=yes
10280 # SGI C++ compiler will create directory out/ii_files/ for
10281 # template instantiation
10282 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10283 $RM out
/* && rmdir out
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10290 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10295 hard_links
="nottested"
10296 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10297 # do not overwrite the value of need_locks provided by the user
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10299 $as_echo_n "checking if we can lock with hard links... " >&6; }
10302 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10304 ln conftest.a conftest.b
2>&5 || hard_links
=no
10305 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10307 $as_echo "$hard_links" >&6; }
10308 if test "$hard_links" = no
; then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10310 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10323 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10326 allow_undefined_flag
=
10327 always_export_symbols
=no
10329 archive_expsym_cmds
=
10330 compiler_needs_object
=no
10331 enable_shared_with_static_runtimes
=no
10332 export_dynamic_flag_spec
=
10333 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10334 hardcode_automatic
=no
10336 hardcode_direct_absolute
=no
10337 hardcode_libdir_flag_spec
=
10338 hardcode_libdir_flag_spec_ld
=
10339 hardcode_libdir_separator
=
10340 hardcode_minus_L
=no
10341 hardcode_shlibpath_var
=unsupported
10343 link_all_deplibs
=unknown
10345 module_expsym_cmds
=
10346 old_archive_from_new_cmds
=
10347 old_archive_from_expsyms_cmds
=
10348 thread_safe_flag_spec
=
10349 whole_archive_flag_spec
=
10350 # include_expsyms should be a list of space-separated symbols to be *always*
10351 # included in the symbol list
10353 # exclude_expsyms can be an extended regexp of symbols to exclude
10354 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10355 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10356 # as well as any symbol that contains `d'.
10357 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10358 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10359 # platforms (ab)use it in PIC code, but their linkers get confused if
10360 # the symbol is explicitly referenced. Since portable code cannot
10361 # rely on this symbol name, it's probably fine to never include it in
10362 # preloaded symbol tables.
10363 # Exclude shared library initialization/finalization symbols.
10364 extract_expsyms_cmds
=
10367 cygwin
* | mingw
* | pw32
* | cegcc
*)
10368 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10369 # When not using gcc, we currently assume that we are using
10370 # Microsoft Visual C++.
10371 if test "$GCC" != yes; then
10376 # we just hope/assume this is gcc and not c89 (= MSVC++)
10386 # On some targets, GNU ld is compatible enough with the native linker
10387 # that we're better off using the native interface for both.
10388 lt_use_gnu_ld_interface
=no
10389 if test "$with_gnu_ld" = yes; then
10392 # The AIX port of GNU ld has always aspired to compatibility
10393 # with the native linker. However, as the warning in the GNU ld
10394 # block says, versions before 2.19.5* couldn't really create working
10395 # shared libraries, regardless of the interface used.
10396 case `$LD -v 2>&1` in
10397 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10398 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10399 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10401 lt_use_gnu_ld_interface
=yes
10406 lt_use_gnu_ld_interface
=yes
10411 if test "$lt_use_gnu_ld_interface" = yes; then
10412 # If archive_cmds runs LD, not CC, wlarc should be empty
10415 # Set some defaults for GNU ld with shared library support. These
10416 # are reset later if shared libraries are not supported. Putting them
10417 # here allows them to be overridden if necessary.
10418 runpath_var
=LD_RUN_PATH
10419 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10420 export_dynamic_flag_spec
='${wl}--export-dynamic'
10421 # ancient GNU ld didn't support --whole-archive et. al.
10422 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10423 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10425 whole_archive_flag_spec
=
10427 supports_anon_versioning
=no
10428 case `$LD -v 2>&1` in
10429 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10430 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10431 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10432 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10433 *\
2.11.
*) ;; # other 2.11 versions
10434 *) supports_anon_versioning
=yes ;;
10437 # See if GNU ld supports shared libraries.
10440 # On AIX/PPC, the GNU linker is very broken
10441 if test "$host_cpu" != ia64
; then
10445 *** Warning: the GNU linker, at least up to release 2.19, is reported
10446 *** to be unable to reliably create shared libraries on AIX.
10447 *** Therefore, libtool is disabling shared libraries support. If you
10448 *** really care for shared libraries, you may want to install binutils
10449 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10450 *** You will then need to restart the configuration process.
10459 # see comment about AmigaOS4 .so support
10460 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10461 archive_expsym_cmds
=''
10464 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)'
10465 hardcode_libdir_flag_spec
='-L$libdir'
10466 hardcode_minus_L
=yes
10472 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10473 allow_undefined_flag
=unsupported
10474 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10475 # support --undefined. This deserves some investigation. FIXME
10476 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10482 cygwin
* | mingw
* | pw32
* | cegcc
*)
10483 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10484 # as there is no search path for DLLs.
10485 hardcode_libdir_flag_spec
='-L$libdir'
10486 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10487 allow_undefined_flag
=unsupported
10488 always_export_symbols
=no
10489 enable_shared_with_static_runtimes
=yes
10490 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10492 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10493 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10494 # If the export-symbols file already is a .def file (1st line
10495 # is EXPORTS), use it as is; otherwise, prepend...
10496 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10497 cp $export_symbols $output_objdir/$soname.def;
10499 echo EXPORTS > $output_objdir/$soname.def;
10500 cat $export_symbols >> $output_objdir/$soname.def;
10502 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10509 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10510 link_all_deplibs
=yes
10515 hardcode_shlibpath_var
=no
10516 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10517 export_dynamic_flag_spec
='${wl}-E'
10518 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10519 # Instead, shared libraries are loaded at an image base (0x10000000 by
10520 # default) and relocated if they conflict, which is a slow very memory
10521 # consuming and fragmenting process. To avoid this, we pick a random,
10522 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10523 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10524 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10525 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'
10528 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10530 if test "$host_os" = linux-dietlibc
; then
10531 case $cc_basename in
10532 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10535 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10536 && test "$tmp_diet" = no
10538 tmp_addflag
=' $pic_flag'
10539 tmp_sharedflag
='-shared'
10540 case $cc_basename,$host_cpu in
10541 pgcc
*) # Portland Group C compiler
10542 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'
10543 tmp_addflag
=' $pic_flag'
10545 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10546 # Portland Group f77 and f90 compilers
10547 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'
10548 tmp_addflag
=' $pic_flag -Mnomain' ;;
10549 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10550 tmp_addflag
=' -i_dynamic' ;;
10551 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10552 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10553 ifc
* | ifort
*) # Intel Fortran compiler
10554 tmp_addflag
=' -nofor_main' ;;
10555 lf95
*) # Lahey Fortran 8.1
10556 whole_archive_flag_spec
=
10557 tmp_sharedflag
='--shared' ;;
10558 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10559 tmp_sharedflag
='-qmkshrobj'
10561 nvcc
*) # Cuda Compiler Driver 2.2
10562 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'
10563 compiler_needs_object
=yes
10566 case `$CC -V 2>&1 | sed 5q` in
10567 *Sun\ C
*) # Sun C 5.9
10568 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'
10569 compiler_needs_object
=yes
10570 tmp_sharedflag
='-G' ;;
10571 *Sun\ F
*) # Sun Fortran 8.3
10572 tmp_sharedflag
='-G' ;;
10574 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10576 if test "x$supports_anon_versioning" = xyes
; then
10577 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10578 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10579 echo "local: *; };" >> $output_objdir/$libname.ver~
10580 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10583 case $cc_basename in
10584 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10585 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10586 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10587 hardcode_libdir_flag_spec
=
10588 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10589 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $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 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10604 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10605 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10608 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10609 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10614 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10618 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10619 *** create shared libraries on Solaris systems. Therefore, libtool
10620 *** is disabling shared libraries support. We urge you to upgrade GNU
10621 *** binutils to release 2.9.1 or newer. Another option is to modify
10622 *** your PATH or compiler configuration so that the native linker is
10623 *** used, and then restart.
10626 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10627 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10628 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10634 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10635 case `$LD -v 2>&1` in
10636 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10640 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10641 *** reliably create shared libraries on SCO systems. Therefore, libtool
10642 *** is disabling shared libraries support. We urge you to upgrade GNU
10643 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10644 *** your PATH or compiler configuration so that the native linker is
10645 *** used, and then restart.
10650 # For security reasons, it is highly recommended that you always
10651 # use absolute paths for naming shared libraries, and exclude the
10652 # DT_RUNPATH tag from executables and libraries. But doing so
10653 # requires that you compile everything twice, which is a pain.
10654 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10655 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10657 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10666 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10668 hardcode_direct
=yes
10669 hardcode_shlibpath_var
=no
10673 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10674 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10675 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10682 if test "$ld_shlibs" = no
; then
10684 hardcode_libdir_flag_spec
=
10685 export_dynamic_flag_spec
=
10686 whole_archive_flag_spec
=
10689 # PORTME fill in a description of your system's linker (not GNU ld)
10692 allow_undefined_flag
=unsupported
10693 always_export_symbols
=yes
10694 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'
10695 # Note: this linker hardcodes the directories in LIBPATH if there
10696 # are no directories specified by -L.
10697 hardcode_minus_L
=yes
10698 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10699 # Neither direct hardcoding nor static linking is supported with a
10701 hardcode_direct
=unsupported
10706 if test "$host_cpu" = ia64
; then
10707 # On IA64, the linker does run time linking by default, so we don't
10708 # have to do anything special.
10709 aix_use_runtimelinking
=no
10710 exp_sym_flag
='-Bexport'
10713 # If we're using GNU nm, then we don't want the "-C" option.
10714 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10715 # Also, AIX nm treats weak defined symbols like other global
10716 # defined symbols, whereas GNU nm marks them as "W".
10717 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10718 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'
10720 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'
10722 aix_use_runtimelinking
=no
10724 # Test if we are trying to use run time linking or normal
10725 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10726 # need to do runtime linking.
10727 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10728 for ld_flag
in $LDFLAGS; do
10729 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10730 aix_use_runtimelinking
=yes
10737 exp_sym_flag
='-bexport'
10738 no_entry_flag
='-bnoentry'
10741 # When large executables or shared objects are built, AIX ld can
10742 # have problems creating the table of contents. If linking a library
10743 # or program results in "error TOC overflow" add -mminimal-toc to
10744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10748 hardcode_direct
=yes
10749 hardcode_direct_absolute
=yes
10750 hardcode_libdir_separator
=':'
10751 link_all_deplibs
=yes
10752 file_list_spec
='${wl}-f,'
10754 if test "$GCC" = yes; then
10755 case $host_os in aix4.
[012]|aix4.
[012].
*)
10756 # We only want to do this on AIX 4.2 and lower, the check
10757 # below for broken collect2 doesn't work under 4.3+
10758 collect2name
=`${CC} -print-prog-name=collect2`
10759 if test -f "$collect2name" &&
10760 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10762 # We have reworked collect2
10765 # We have old collect2
10766 hardcode_direct
=unsupported
10767 # It fails to find uninstalled libraries when the uninstalled
10768 # path is not listed in the libpath. Setting hardcode_minus_L
10769 # to unsupported forces relinking
10770 hardcode_minus_L
=yes
10771 hardcode_libdir_flag_spec
='-L$libdir'
10772 hardcode_libdir_separator
=
10776 shared_flag
='-shared'
10777 if test "$aix_use_runtimelinking" = yes; then
10778 shared_flag
="$shared_flag "'${wl}-G'
10782 if test "$host_cpu" = ia64
; then
10783 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10784 # chokes on -Wl,-G. The following line is correct:
10787 if test "$aix_use_runtimelinking" = yes; then
10788 shared_flag
='${wl}-G'
10790 shared_flag
='${wl}-bM:SRE'
10795 export_dynamic_flag_spec
='${wl}-bexpall'
10796 # It seems that -bexpall does not export symbols beginning with
10797 # underscore (_), so it is better to generate a list of symbols to export.
10798 always_export_symbols
=yes
10799 if test "$aix_use_runtimelinking" = yes; then
10800 # Warning - without using the other runtime loading flags (-brtl),
10801 # -berok will link without error, but may produce a broken library.
10802 allow_undefined_flag
='-berok'
10803 # Determine the default libpath from the value encoded in an
10804 # empty executable.
10805 if test x
$gcc_no_link = xyes
; then
10806 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10819 if ac_fn_c_try_link
"$LINENO"; then :
10821 lt_aix_libpath_sed
='
10822 /Import File Strings/,/^$/ {
10828 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10829 # Check for a 64-bit object if we didn't find anything.
10830 if test -z "$aix_libpath"; then
10831 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10834 rm -f core conftest.err conftest.
$ac_objext \
10835 conftest
$ac_exeext conftest.
$ac_ext
10836 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10838 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10839 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"
10841 if test "$host_cpu" = ia64
; then
10842 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10843 allow_undefined_flag
="-z nodefs"
10844 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"
10846 # Determine the default libpath from the value encoded in an
10847 # empty executable.
10848 if test x
$gcc_no_link = xyes
; then
10849 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10862 if ac_fn_c_try_link
"$LINENO"; then :
10864 lt_aix_libpath_sed
='
10865 /Import File Strings/,/^$/ {
10871 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10872 # Check for a 64-bit object if we didn't find anything.
10873 if test -z "$aix_libpath"; then
10874 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10877 rm -f core conftest.err conftest.
$ac_objext \
10878 conftest
$ac_exeext conftest.
$ac_ext
10879 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10881 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10882 # Warning - without using the other run time loading flags,
10883 # -berok will link without error, but may produce a broken library.
10884 no_undefined_flag
=' ${wl}-bernotok'
10885 allow_undefined_flag
=' ${wl}-berok'
10886 if test "$with_gnu_ld" = yes; then
10887 # We only use this code for GNU lds that support --whole-archive.
10888 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10890 # Exported symbols can be pulled into shared objects from archives
10891 whole_archive_flag_spec
='$convenience'
10893 archive_cmds_need_lc
=yes
10894 # This is similar to how AIX traditionally builds its shared libraries.
10895 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'
10903 # see comment about AmigaOS4 .so support
10904 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10905 archive_expsym_cmds
=''
10908 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)'
10909 hardcode_libdir_flag_spec
='-L$libdir'
10910 hardcode_minus_L
=yes
10916 export_dynamic_flag_spec
=-rdynamic
10919 cygwin
* | mingw
* | pw32
* | cegcc
*)
10920 # When not using gcc, we currently assume that we are using
10921 # Microsoft Visual C++.
10922 # hardcode_libdir_flag_spec is actually meaningless, as there is
10923 # no search path for DLLs.
10924 hardcode_libdir_flag_spec
=' '
10925 allow_undefined_flag
=unsupported
10926 # Tell ltmain to make .lib files, not .a files.
10928 # Tell ltmain to make .dll files, not .so files.
10930 # FIXME: Setting linknames here is a bad hack.
10931 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10932 # The linker will automatically build a .lib file if we build a DLL.
10933 old_archive_from_new_cmds
='true'
10934 # FIXME: Should let the user specify the lib program.
10935 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10936 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10937 enable_shared_with_static_runtimes
=yes
10940 darwin
* | rhapsody
*)
10943 archive_cmds_need_lc
=no
10945 hardcode_automatic
=yes
10946 hardcode_shlibpath_var
=unsupported
10947 if test "$lt_cv_ld_force_load" = "yes"; then
10948 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\"`'
10950 whole_archive_flag_spec
=''
10952 link_all_deplibs
=yes
10953 allow_undefined_flag
="$_lt_dar_allow_undefined"
10954 case $cc_basename in
10955 ifort
*) _lt_dar_can_shared
=yes ;;
10956 *) _lt_dar_can_shared
=$GCC ;;
10958 if test "$_lt_dar_can_shared" = "yes"; then
10959 output_verbose_link_cmd
=func_echo_all
10960 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10961 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10962 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10963 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}"
10972 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10973 hardcode_libdir_flag_spec
='-L$libdir'
10974 hardcode_shlibpath_var
=no
10977 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10978 # support. Future versions do this automatically, but an explicit c++rt0.o
10979 # does not break anything, and helps significantly (at the cost of a little
10982 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10983 hardcode_libdir_flag_spec
='-R$libdir'
10984 hardcode_direct
=yes
10985 hardcode_shlibpath_var
=no
10988 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10990 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10991 hardcode_direct
=yes
10992 hardcode_minus_L
=yes
10993 hardcode_shlibpath_var
=no
10996 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10997 freebsd
* | dragonfly
*)
10998 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10999 hardcode_libdir_flag_spec
='-R$libdir'
11000 hardcode_direct
=yes
11001 hardcode_shlibpath_var
=no
11005 if test "$GCC" = yes; then
11006 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'
11008 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'
11010 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11011 hardcode_libdir_separator
=:
11012 hardcode_direct
=yes
11014 # hardcode_minus_L: Not really in the search PATH,
11015 # but as the default location of the library.
11016 hardcode_minus_L
=yes
11017 export_dynamic_flag_spec
='${wl}-E'
11021 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11022 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11024 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026 if test "$with_gnu_ld" = no
; then
11027 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11028 hardcode_libdir_flag_spec_ld
='+b $libdir'
11029 hardcode_libdir_separator
=:
11030 hardcode_direct
=yes
11031 hardcode_direct_absolute
=yes
11032 export_dynamic_flag_spec
='${wl}-E'
11033 # hardcode_minus_L: Not really in the search PATH,
11034 # but as the default location of the library.
11035 hardcode_minus_L
=yes
11040 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11043 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11046 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11049 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11055 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11058 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11062 # Older versions of the 11.00 compiler do not understand -b yet
11063 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11065 $as_echo_n "checking if $CC understands -b... " >&6; }
11066 if ${lt_cv_prog_compiler__b+:} false
; then :
11067 $as_echo_n "(cached) " >&6
11069 lt_cv_prog_compiler__b
=no
11070 save_LDFLAGS
="$LDFLAGS"
11071 LDFLAGS
="$LDFLAGS -b"
11072 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11073 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11074 # The linker can only warn and ignore the option if not recognized
11075 # So say no if there are warnings
11076 if test -s conftest.err
; then
11077 # Append any errors to the config.log.
11078 cat conftest.err
1>&5
11079 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11080 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11081 if diff conftest.exp conftest.er2
>/dev
/null
; then
11082 lt_cv_prog_compiler__b
=yes
11085 lt_cv_prog_compiler__b
=yes
11089 LDFLAGS
="$save_LDFLAGS"
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11093 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11095 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11096 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11098 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11104 if test "$with_gnu_ld" = no
; then
11105 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11106 hardcode_libdir_separator
=:
11111 hardcode_shlibpath_var
=no
11114 hardcode_direct
=yes
11115 hardcode_direct_absolute
=yes
11116 export_dynamic_flag_spec
='${wl}-E'
11118 # hardcode_minus_L: Not really in the search PATH,
11119 # but as the default location of the library.
11120 hardcode_minus_L
=yes
11126 irix5
* | irix6
* | nonstopux
*)
11127 if test "$GCC" = yes; then
11128 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'
11129 # Try to use the -exported_symbol ld option, if it does not
11130 # work, assume that -exports_file does not work either and
11131 # implicitly export all symbols.
11132 save_LDFLAGS
="$LDFLAGS"
11133 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11134 if test x
$gcc_no_link = xyes
; then
11135 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11141 if ac_fn_c_try_link
"$LINENO"; then :
11142 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'
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LDFLAGS
="$save_LDFLAGS"
11149 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'
11150 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'
11152 archive_cmds_need_lc
='no'
11153 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11154 hardcode_libdir_separator
=:
11156 link_all_deplibs
=yes
11160 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11161 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11163 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11165 hardcode_libdir_flag_spec
='-R$libdir'
11166 hardcode_direct
=yes
11167 hardcode_shlibpath_var
=no
11171 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11172 hardcode_direct
=yes
11173 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11174 hardcode_libdir_separator
=:
11175 hardcode_shlibpath_var
=no
11182 if test -f /usr
/libexec
/ld.so
; then
11183 hardcode_direct
=yes
11184 hardcode_shlibpath_var
=no
11185 hardcode_direct_absolute
=yes
11186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11187 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11188 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11189 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11190 export_dynamic_flag_spec
='${wl}-E'
11193 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11194 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11195 hardcode_libdir_flag_spec
='-R$libdir'
11198 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11199 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11209 hardcode_libdir_flag_spec
='-L$libdir'
11210 hardcode_minus_L
=yes
11211 allow_undefined_flag
=unsupported
11212 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'
11213 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11217 if test "$GCC" = yes; then
11218 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11219 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'
11221 allow_undefined_flag
=' -expect_unresolved \*'
11222 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'
11224 archive_cmds_need_lc
='no'
11225 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11226 hardcode_libdir_separator
=:
11229 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11230 if test "$GCC" = yes; then
11231 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11232 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
11233 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11235 allow_undefined_flag
=' -expect_unresolved \*'
11236 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'
11237 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~
11238 $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'
11240 # Both c and cxx compiler support -rpath directly
11241 hardcode_libdir_flag_spec
='-rpath $libdir'
11243 archive_cmds_need_lc
='no'
11244 hardcode_libdir_separator
=:
11248 no_undefined_flag
=' -z defs'
11249 if test "$GCC" = yes; then
11251 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11253 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11255 case `$CC -V 2>&1` in
11258 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11259 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11260 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11264 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11266 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11270 hardcode_libdir_flag_spec
='-R$libdir'
11271 hardcode_shlibpath_var
=no
11273 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11275 # The compiler driver will combine and reorder linker options,
11276 # but understands `-z linker_flag'. GCC discards it without `$wl',
11277 # but is careful enough not to reorder.
11278 # Supported since Solaris 2.6 (maybe 2.5.1?)
11279 if test "$GCC" = yes; then
11280 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11282 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11286 link_all_deplibs
=yes
11290 if test "x$host_vendor" = xsequent
; then
11291 # Use $CC to link under sequent, because it throws in some extra .o
11292 # files that make .init and .fini sections work.
11293 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11295 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11297 hardcode_libdir_flag_spec
='-L$libdir'
11298 hardcode_direct
=yes
11299 hardcode_minus_L
=yes
11300 hardcode_shlibpath_var
=no
11304 case $host_vendor in
11306 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11307 hardcode_direct
=yes # is this really true???
11310 ## LD is ld it makes a PLAMLIB
11311 ## CC just makes a GrossModule.
11312 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11313 reload_cmds
='$CC -r -o $output$reload_objs'
11317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11318 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11321 runpath_var
='LD_RUN_PATH'
11322 hardcode_shlibpath_var
=no
11326 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11327 hardcode_shlibpath_var
=no
11328 export_dynamic_flag_spec
='-Bexport'
11332 if test -d /usr
/nec
; then
11333 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11334 hardcode_shlibpath_var
=no
11335 runpath_var
=LD_RUN_PATH
11336 hardcode_runpath_var
=yes
11341 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11342 no_undefined_flag
='${wl}-z,text'
11343 archive_cmds_need_lc
=no
11344 hardcode_shlibpath_var
=no
11345 runpath_var
='LD_RUN_PATH'
11347 if test "$GCC" = yes; then
11348 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11351 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11352 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11356 sysv5
* | sco3.2v5
* | sco5v6
*)
11357 # Note: We can NOT use -z defs as we might desire, because we do not
11358 # link with -lc, and that would cause any symbols used from libc to
11359 # always be unresolved, which means just about no library would
11360 # ever link correctly. If we're not using GNU ld we use -z text
11361 # though, which does catch some bad symbols but isn't as heavy-handed
11363 no_undefined_flag
='${wl}-z,text'
11364 allow_undefined_flag
='${wl}-z,nodefs'
11365 archive_cmds_need_lc
=no
11366 hardcode_shlibpath_var
=no
11367 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11368 hardcode_libdir_separator
=':'
11369 link_all_deplibs
=yes
11370 export_dynamic_flag_spec
='${wl}-Bexport'
11371 runpath_var
='LD_RUN_PATH'
11373 if test "$GCC" = yes; then
11374 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11377 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11378 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11383 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_libdir_flag_spec
='-L$libdir'
11385 hardcode_shlibpath_var
=no
11393 if test x
$host_vendor = xsni
; then
11395 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11396 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11403 $as_echo "$ld_shlibs" >&6; }
11404 test "$ld_shlibs" = no
&& can_build_shared
=no
11406 with_gnu_ld
=$with_gnu_ld
11423 # Do we need to explicitly link libc?
11425 case "x$archive_cmds_need_lc" in
11427 # Assume -lc should be added
11428 archive_cmds_need_lc
=yes
11430 if test "$enable_shared" = yes && test "$GCC" = yes; then
11431 case $archive_cmds in
11433 # FIXME: we may have to deal with multi-command sequences.
11436 # Test whether the compiler implicitly links with -lc since on some
11437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11438 # to ld, don't add -lc before -lgcc.
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11440 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11441 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11442 $as_echo_n "(cached) " >&6
11445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11448 (eval $ac_compile) 2>&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451 test $ac_status = 0; } 2>conftest.err
; then
11454 libobjs
=conftest.
$ac_objext
11456 wl
=$lt_prog_compiler_wl
11457 pic_flag
=$lt_prog_compiler_pic
11463 lt_save_allow_undefined_flag
=$allow_undefined_flag
11464 allow_undefined_flag
=
11465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11466 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11469 test $ac_status = 0; }
11471 lt_cv_archive_cmds_need_lc
=no
11473 lt_cv_archive_cmds_need_lc
=yes
11475 allow_undefined_flag
=$lt_save_allow_undefined_flag
11477 cat conftest.err
1>&5
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11483 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11484 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11648 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11650 if test "$GCC" = yes; then
11652 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11653 *) lt_awk_arg
="/^libraries:/" ;;
11656 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11657 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11659 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11660 case $lt_search_path_spec in
11662 # if the path contains ";" then we assume it to be the separator
11663 # otherwise default to the standard path separator (i.e. ":") - it is
11664 # assumed that no part of a normal pathname contains ";" but that should
11665 # okay in the real world where ";" in dirpaths is itself problematic.
11666 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11669 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11672 # Ok, now we have the path, separated by spaces, we can step through it
11673 # and add multilib dir if necessary.
11674 lt_tmp_lt_search_path_spec
=
11675 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11676 for lt_sys_path
in $lt_search_path_spec; do
11677 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11678 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11680 test -d "$lt_sys_path" && \
11681 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11684 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11685 BEGIN {RS=" "; FS="/|\n";} {
11688 for (lt_i = NF; lt_i > 0; lt_i--) {
11689 if ($lt_i != "" && $lt_i != ".") {
11690 if ($lt_i == "..") {
11693 if (lt_count == 0) {
11694 lt_foo="/" $lt_i lt_foo;
11701 if (lt_foo != "") { lt_freq[lt_foo]++; }
11702 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11704 # AWK program above erroneously prepends '/' to C:/dos/paths
11707 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11708 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11710 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11712 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11714 library_names_spec
=
11715 libname_spec
='lib$name'
11719 postuninstall_cmds
=
11723 shlibpath_overrides_runpath
=unknown
11725 dynamic_linker
="$host_os ld.so"
11726 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11727 need_lib_prefix
=unknown
11728 hardcode_into_libs
=no
11730 # when you set need_version to no, make sure it does not cause -set_version
11731 # flags to be left without arguments
11732 need_version
=unknown
11737 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11738 shlibpath_var
=LIBPATH
11740 # AIX 3 has no versioning support, so we append a major version to the name.
11741 soname_spec
='${libname}${release}${shared_ext}$major'
11748 hardcode_into_libs
=yes
11749 if test "$host_cpu" = ia64
; then
11750 # AIX 5 supports IA64
11751 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11752 shlibpath_var
=LD_LIBRARY_PATH
11754 # With GCC up to 2.95.x, collect2 would create an import file
11755 # for dependence libraries. The import file would start with
11756 # the line `#! .'. This would cause the generated library to
11757 # depend on `.', always an invalid library. This was fixed in
11758 # development snapshots of GCC prior to 3.0.
11760 aix4 | aix4.
[01] | aix4.
[01].
*)
11761 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11763 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11766 can_build_shared
=no
11770 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11771 # soname into executable. Probably we can add versioning support to
11772 # collect2, so additional links can be useful in future.
11773 if test "$aix_use_runtimelinking" = yes; then
11774 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11775 # instead of lib<name>.a to let people know that these are not
11776 # typical AIX shared libraries.
11777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11779 # We preserve .a as extension for shared libraries through AIX4.2
11780 # and later when we are not doing run time linking.
11781 library_names_spec
='${libname}${release}.a $libname.a'
11782 soname_spec
='${libname}${release}${shared_ext}$major'
11784 shlibpath_var
=LIBPATH
11791 # Since July 2007 AmigaOS4 officially supports .so libraries.
11792 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11796 library_names_spec
='$libname.ixlibrary $libname.a'
11797 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11798 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'
11804 library_names_spec
='${libname}${shared_ext}'
11805 dynamic_linker
="$host_os ld.so"
11806 shlibpath_var
=LIBRARY_PATH
11812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11813 soname_spec
='${libname}${release}${shared_ext}$major'
11814 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11815 shlibpath_var
=LD_LIBRARY_PATH
11816 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11817 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11818 # the default ld.so.conf also contains /usr/contrib/lib and
11819 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11820 # libtool to hard-code these into programs
11823 cygwin
* | mingw
* | pw32
* | cegcc
*)
11824 version_type
=windows
11829 case $GCC,$host_os in
11830 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11831 library_names_spec
='$libname.dll.a'
11832 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11833 postinstall_cmds
='base_file=`basename \${file}`~
11834 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11835 dldir=$destdir/`dirname \$dlpath`~
11836 test -d \$dldir || mkdir -p \$dldir~
11837 $install_prog $dir/$dlname \$dldir/$dlname~
11838 chmod a+x \$dldir/$dlname~
11839 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11840 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11842 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11843 dlpath=$dir/\$dldll~
11845 shlibpath_overrides_runpath
=yes
11849 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11850 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11852 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11855 # MinGW DLLs use traditional 'lib' prefix
11856 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11859 # pw32 DLLs use 'pw' prefix rather than 'lib'
11860 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11866 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11869 dynamic_linker
='Win32 ld.exe'
11870 # FIXME: first we should search . and the directory the executable is in
11874 darwin
* | rhapsody
*)
11875 dynamic_linker
="$host_os dyld"
11876 version_type
=darwin
11879 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11880 soname_spec
='${libname}${release}${major}$shared_ext'
11881 shlibpath_overrides_runpath
=yes
11882 shlibpath_var
=DYLD_LIBRARY_PATH
11883 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11885 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11886 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11894 soname_spec
='${libname}${release}${shared_ext}$major'
11895 shlibpath_var
=LD_LIBRARY_PATH
11898 freebsd
* | dragonfly
*)
11899 # DragonFly does not have aout. When/if they implement a new
11900 # versioning mechanism, adjust this.
11901 if test -x /usr
/bin
/objformat
; then
11902 objformat
=`/usr/bin/objformat`
11905 freebsd
[23].
*) objformat
=aout
;;
11906 *) objformat
=elf
;;
11909 version_type
=freebsd-
$objformat
11910 case $version_type in
11912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11917 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11921 shlibpath_var
=LD_LIBRARY_PATH
11924 shlibpath_overrides_runpath
=yes
11926 freebsd3.
[01]* | freebsdelf3.
[01]*)
11927 shlibpath_overrides_runpath
=yes
11928 hardcode_into_libs
=yes
11930 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11931 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11932 shlibpath_overrides_runpath
=no
11933 hardcode_into_libs
=yes
11935 *) # from 4.6 on, and DragonFly
11936 shlibpath_overrides_runpath
=yes
11937 hardcode_into_libs
=yes
11946 dynamic_linker
="$host_os runtime_loader"
11947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11948 soname_spec
='${libname}${release}${shared_ext}$major'
11949 shlibpath_var
=LIBRARY_PATH
11950 shlibpath_overrides_runpath
=yes
11951 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11952 hardcode_into_libs
=yes
11955 hpux9
* | hpux10
* | hpux11
*)
11956 # Give a soname corresponding to the major version so that dld.sl refuses to
11957 # link against other versions.
11964 hardcode_into_libs
=yes
11965 dynamic_linker
="$host_os dld.so"
11966 shlibpath_var
=LD_LIBRARY_PATH
11967 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11969 soname_spec
='${libname}${release}${shared_ext}$major'
11970 if test "X$HPUX_IA64_MODE" = X32
; then
11971 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11973 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11975 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11979 hardcode_into_libs
=yes
11980 dynamic_linker
="$host_os dld.sl"
11981 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11982 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11984 soname_spec
='${libname}${release}${shared_ext}$major'
11985 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11986 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11990 dynamic_linker
="$host_os dld.sl"
11991 shlibpath_var
=SHLIB_PATH
11992 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11994 soname_spec
='${libname}${release}${shared_ext}$major'
11997 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11998 postinstall_cmds
='chmod 555 $lib'
11999 # or fails outright, so override atomically:
12000 install_override_mode
=555
12007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12008 soname_spec
='${libname}${release}${shared_ext}$major'
12009 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12010 shlibpath_var
=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath
=no
12012 hardcode_into_libs
=yes
12015 irix5
* | irix6
* | nonstopux
*)
12017 nonstopux
*) version_type
=nonstopux
;;
12019 if test "$lt_cv_prog_gnu_ld" = yes; then
12027 soname_spec
='${libname}${release}${shared_ext}$major'
12028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12030 irix5
* | nonstopux
*)
12031 libsuff
= shlibsuff
=
12034 case $LD in # libtool.m4 will add one of these switches to LD
12035 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12036 libsuff
= shlibsuff
= libmagic
=32-bit;;
12037 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12038 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12039 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12040 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12041 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12045 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12046 shlibpath_overrides_runpath
=no
12047 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12048 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12049 hardcode_into_libs
=yes
12052 # No shared lib support for Linux oldld, aout, or coff.
12053 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12057 # This must be Linux ELF.
12059 # uclinux* changes (here and below) have been submitted to the libtool
12060 # project, but have not yet been accepted: they are GCC-local changes
12061 # for the time being. (See
12062 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12063 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 soname_spec
='${libname}${release}${shared_ext}$major'
12069 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12070 shlibpath_var
=LD_LIBRARY_PATH
12071 shlibpath_overrides_runpath
=no
12073 # Some binutils ld are patched to set DT_RUNPATH
12074 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12075 $as_echo_n "(cached) " >&6
12077 lt_cv_shlibpath_overrides_runpath
=no
12078 save_LDFLAGS
=$LDFLAGS
12079 save_libdir
=$libdir
12080 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12081 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12082 if test x
$gcc_no_link = xyes
; then
12083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12096 if ac_fn_c_try_link
"$LINENO"; then :
12097 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12098 lt_cv_shlibpath_overrides_runpath
=yes
12101 rm -f core conftest.err conftest.
$ac_objext \
12102 conftest
$ac_exeext conftest.
$ac_ext
12103 LDFLAGS
=$save_LDFLAGS
12104 libdir
=$save_libdir
12108 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12110 # This implies no fast_install, which is unacceptable.
12111 # Some rework will be needed to allow for fast_install
12112 # before this can be enabled.
12113 hardcode_into_libs
=yes
12115 # Append ld.so.conf contents to the search path
12116 if test -f /etc
/ld.so.conf
; then
12117 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' ' '`
12118 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12121 # We used to test for /lib/ld.so.1 and disable shared libraries on
12122 # powerpc, because MkLinux only supported shared libraries with the
12123 # GNU dynamic linker. Since this was broken with cross compilers,
12124 # most powerpc-linux boxes support dynamic linking these days and
12125 # people can always --disable-shared, the test was removed, and we
12126 # assume the GNU/Linux dynamic linker is in use.
12127 dynamic_linker
='GNU/Linux ld.so'
12134 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12136 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12137 dynamic_linker
='NetBSD (a.out) ld.so'
12139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12140 soname_spec
='${libname}${release}${shared_ext}$major'
12141 dynamic_linker
='NetBSD ld.elf_so'
12143 shlibpath_var
=LD_LIBRARY_PATH
12144 shlibpath_overrides_runpath
=yes
12145 hardcode_into_libs
=yes
12150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151 shlibpath_var
=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath
=yes
12159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12160 soname_spec
='${libname}${release}${shared_ext}$major'
12161 shlibpath_var
=LD_LIBRARY_PATH
12162 shlibpath_overrides_runpath
=no
12163 hardcode_into_libs
=yes
12164 dynamic_linker
='ldqnx.so'
12169 sys_lib_dlsearch_path_spec
="/usr/lib"
12171 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12173 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12174 *) need_version
=no
;;
12176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12177 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12178 shlibpath_var
=LD_LIBRARY_PATH
12179 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12181 openbsd2.
[89] | openbsd2.
[89].
*)
12182 shlibpath_overrides_runpath
=no
12185 shlibpath_overrides_runpath
=yes
12189 shlibpath_overrides_runpath
=yes
12194 libname_spec
='$name'
12197 library_names_spec
='$libname${shared_ext} $libname.a'
12198 dynamic_linker
='OS/2 ld.exe'
12199 shlibpath_var
=LIBPATH
12202 osf3
* | osf4
* | osf5
*)
12206 soname_spec
='${libname}${release}${shared_ext}$major'
12207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 shlibpath_var
=LD_LIBRARY_PATH
12209 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12210 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12222 soname_spec
='${libname}${release}${shared_ext}$major'
12223 shlibpath_var
=LD_LIBRARY_PATH
12224 shlibpath_overrides_runpath
=yes
12225 hardcode_into_libs
=yes
12226 # ldd complains unless libraries are executable
12227 postinstall_cmds
='chmod +x $lib'
12232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12233 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12234 shlibpath_var
=LD_LIBRARY_PATH
12235 shlibpath_overrides_runpath
=yes
12236 if test "$with_gnu_ld" = yes; then
12244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12245 soname_spec
='${libname}${release}${shared_ext}$major'
12246 shlibpath_var
=LD_LIBRARY_PATH
12247 case $host_vendor in
12249 shlibpath_overrides_runpath
=no
12251 runpath_var
=LD_RUN_PATH
12259 shlibpath_overrides_runpath
=no
12260 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12266 if test -d /usr
/nec
;then
12268 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12269 soname_spec
='$libname${shared_ext}.$major'
12270 shlibpath_var
=LD_LIBRARY_PATH
12274 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12275 version_type
=freebsd-elf
12278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12279 soname_spec
='${libname}${release}${shared_ext}$major'
12280 shlibpath_var
=LD_LIBRARY_PATH
12281 shlibpath_overrides_runpath
=yes
12282 hardcode_into_libs
=yes
12283 if test "$with_gnu_ld" = yes; then
12284 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12286 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12289 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12293 sys_lib_dlsearch_path_spec
='/usr/lib'
12297 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12302 shlibpath_var
=LD_LIBRARY_PATH
12303 shlibpath_overrides_runpath
=no
12304 hardcode_into_libs
=yes
12309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12310 soname_spec
='${libname}${release}${shared_ext}$major'
12311 shlibpath_var
=LD_LIBRARY_PATH
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12319 $as_echo "$dynamic_linker" >&6; }
12320 test "$dynamic_linker" = no
&& can_build_shared
=no
12322 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12323 if test "$GCC" = yes; then
12324 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12327 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12328 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12330 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12331 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12426 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12428 if test -n "$hardcode_libdir_flag_spec" ||
12429 test -n "$runpath_var" ||
12430 test "X$hardcode_automatic" = "Xyes" ; then
12432 # We can hardcode non-existent directories.
12433 if test "$hardcode_direct" != no
&&
12434 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12435 # have to relink, otherwise we might link with an installed library
12436 # when we should be linking with a yet-to-be-installed one
12437 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12438 test "$hardcode_minus_L" != no
; then
12439 # Linking always hardcodes the temporary library directory.
12440 hardcode_action
=relink
12442 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12443 hardcode_action
=immediate
12446 # We cannot hardcode anything, or else we can only hardcode existing
12448 hardcode_action
=unsupported
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12451 $as_echo "$hardcode_action" >&6; }
12453 if test "$hardcode_action" = relink ||
12454 test "$inherit_rpath" = yes; then
12455 # Fast installation is not supported
12456 enable_fast_install
=no
12457 elif test "$shlibpath_overrides_runpath" = yes ||
12458 test "$enable_shared" = no
; then
12459 # Fast installation is not necessary
12460 enable_fast_install
=needless
12468 if test "x$enable_dlopen" != xyes
; then
12469 enable_dlopen
=unknown
12470 enable_dlopen_self
=unknown
12471 enable_dlopen_self_static
=unknown
12478 lt_cv_dlopen
="load_add_on"
12480 lt_cv_dlopen_self
=yes
12483 mingw
* | pw32
* | cegcc
*)
12484 lt_cv_dlopen
="LoadLibrary"
12489 lt_cv_dlopen
="dlopen"
12494 # if libdl is installed we need to link against it
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12496 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12497 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12498 $as_echo_n "(cached) " >&6
12500 ac_check_lib_save_LIBS
=$LIBS
12502 if test x
$gcc_no_link = xyes
; then
12503 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12523 if ac_fn_c_try_link
"$LINENO"; then :
12524 ac_cv_lib_dl_dlopen
=yes
12526 ac_cv_lib_dl_dlopen
=no
12528 rm -f core conftest.err conftest.
$ac_objext \
12529 conftest
$ac_exeext conftest.
$ac_ext
12530 LIBS
=$ac_check_lib_save_LIBS
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12533 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12534 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12535 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12538 lt_cv_dlopen
="dyld"
12540 lt_cv_dlopen_self
=yes
12547 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12548 if test "x$ac_cv_func_shl_load" = xyes
; then :
12549 lt_cv_dlopen
="shl_load"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12552 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12553 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12554 $as_echo_n "(cached) " >&6
12556 ac_check_lib_save_LIBS
=$LIBS
12558 if test x
$gcc_no_link = xyes
; then
12559 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12574 return shl_load ();
12579 if ac_fn_c_try_link
"$LINENO"; then :
12580 ac_cv_lib_dld_shl_load
=yes
12582 ac_cv_lib_dld_shl_load
=no
12584 rm -f core conftest.err conftest.
$ac_objext \
12585 conftest
$ac_exeext conftest.
$ac_ext
12586 LIBS
=$ac_check_lib_save_LIBS
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12589 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12590 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12591 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12593 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12594 if test "x$ac_cv_func_dlopen" = xyes
; then :
12595 lt_cv_dlopen
="dlopen"
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12599 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12600 $as_echo_n "(cached) " >&6
12602 ac_check_lib_save_LIBS
=$LIBS
12604 if test x
$gcc_no_link = xyes
; then
12605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12625 if ac_fn_c_try_link
"$LINENO"; then :
12626 ac_cv_lib_dl_dlopen
=yes
12628 ac_cv_lib_dl_dlopen
=no
12630 rm -f core conftest.err conftest.
$ac_objext \
12631 conftest
$ac_exeext conftest.
$ac_ext
12632 LIBS
=$ac_check_lib_save_LIBS
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12636 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12637 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12640 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12641 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12642 $as_echo_n "(cached) " >&6
12644 ac_check_lib_save_LIBS
=$LIBS
12645 LIBS
="-lsvld $LIBS"
12646 if test x
$gcc_no_link = xyes
; then
12647 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12667 if ac_fn_c_try_link
"$LINENO"; then :
12668 ac_cv_lib_svld_dlopen
=yes
12670 ac_cv_lib_svld_dlopen
=no
12672 rm -f core conftest.err conftest.
$ac_objext \
12673 conftest
$ac_exeext conftest.
$ac_ext
12674 LIBS
=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12677 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12678 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12679 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12682 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12683 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12684 $as_echo_n "(cached) " >&6
12686 ac_check_lib_save_LIBS
=$LIBS
12688 if test x
$gcc_no_link = xyes
; then
12689 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12694 /* Override any GCC internal prototype to avoid an error.
12695 Use char because int might match the return type of a GCC
12696 builtin and then its argument prototype would still apply. */
12704 return dld_link ();
12709 if ac_fn_c_try_link
"$LINENO"; then :
12710 ac_cv_lib_dld_dld_link
=yes
12712 ac_cv_lib_dld_dld_link
=no
12714 rm -f core conftest.err conftest.
$ac_objext \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 LIBS
=$ac_check_lib_save_LIBS
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12719 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12720 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12721 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12742 if test "x$lt_cv_dlopen" != xno
; then
12748 case $lt_cv_dlopen in
12750 save_CPPFLAGS
="$CPPFLAGS"
12751 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12753 save_LDFLAGS
="$LDFLAGS"
12754 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12757 LIBS
="$lt_cv_dlopen_libs $LIBS"
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12760 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12761 if ${lt_cv_dlopen_self+:} false
; then :
12762 $as_echo_n "(cached) " >&6
12764 if test "$cross_compiling" = yes; then :
12765 lt_cv_dlopen_self
=cross
12767 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12768 lt_status
=$lt_dlunknown
12769 cat > conftest.
$ac_ext <<_LT_EOF
12770 #line 12770 "configure"
12771 #include "confdefs.h"
12780 # define LT_DLGLOBAL RTLD_GLOBAL
12783 # define LT_DLGLOBAL DL_GLOBAL
12785 # define LT_DLGLOBAL 0
12789 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12790 find out it does not work in some platform. */
12791 #ifndef LT_DLLAZY_OR_NOW
12793 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12796 # define LT_DLLAZY_OR_NOW DL_LAZY
12799 # define LT_DLLAZY_OR_NOW RTLD_NOW
12802 # define LT_DLLAZY_OR_NOW DL_NOW
12804 # define LT_DLLAZY_OR_NOW 0
12811 /* When -fvisbility=hidden is used, assume the code has been annotated
12812 correspondingly for the symbols needed. */
12813 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12814 void fnord () __attribute__((visibility("default")));
12817 void fnord () { int i=42; }
12820 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12821 int status = $lt_dlunknown;
12825 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12828 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12829 else puts (dlerror ());
12831 /* dlclose (self); */
12839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12840 (eval $ac_link) 2>&5
12842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12844 (.
/conftest
; exit; ) >&5 2>/dev
/null
12846 case x
$lt_status in
12847 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12848 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12849 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12852 # compilation failed
12853 lt_cv_dlopen_self
=no
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12861 $as_echo "$lt_cv_dlopen_self" >&6; }
12863 if test "x$lt_cv_dlopen_self" = xyes
; then
12864 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12866 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12867 if ${lt_cv_dlopen_self_static+:} false
; then :
12868 $as_echo_n "(cached) " >&6
12870 if test "$cross_compiling" = yes; then :
12871 lt_cv_dlopen_self_static
=cross
12873 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12874 lt_status
=$lt_dlunknown
12875 cat > conftest.
$ac_ext <<_LT_EOF
12876 #line 12876 "configure"
12877 #include "confdefs.h"
12886 # define LT_DLGLOBAL RTLD_GLOBAL
12889 # define LT_DLGLOBAL DL_GLOBAL
12891 # define LT_DLGLOBAL 0
12895 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12896 find out it does not work in some platform. */
12897 #ifndef LT_DLLAZY_OR_NOW
12899 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12902 # define LT_DLLAZY_OR_NOW DL_LAZY
12905 # define LT_DLLAZY_OR_NOW RTLD_NOW
12908 # define LT_DLLAZY_OR_NOW DL_NOW
12910 # define LT_DLLAZY_OR_NOW 0
12917 /* When -fvisbility=hidden is used, assume the code has been annotated
12918 correspondingly for the symbols needed. */
12919 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12920 void fnord () __attribute__((visibility("default")));
12923 void fnord () { int i=42; }
12926 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12927 int status = $lt_dlunknown;
12931 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12934 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12935 else puts (dlerror ());
12937 /* dlclose (self); */
12945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12946 (eval $ac_link) 2>&5
12948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12949 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12950 (.
/conftest
; exit; ) >&5 2>/dev
/null
12952 case x
$lt_status in
12953 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12954 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12955 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12958 # compilation failed
12959 lt_cv_dlopen_self_static
=no
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12967 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12970 CPPFLAGS
="$save_CPPFLAGS"
12971 LDFLAGS
="$save_LDFLAGS"
12976 case $lt_cv_dlopen_self in
12977 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12978 *) enable_dlopen_self
=unknown
;;
12981 case $lt_cv_dlopen_self_static in
12982 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12983 *) enable_dlopen_self_static
=unknown
;;
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13006 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13007 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13008 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13009 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13011 $as_echo "yes" >&6; }
13013 # FIXME - insert some real tests, host_os isn't really good enough
13016 if test -n "$STRIP" ; then
13017 striplib
="$STRIP -x"
13018 old_striplib
="$STRIP -S"
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13020 $as_echo "yes" >&6; }
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13044 # Report which library types will actually be built
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13046 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13048 $as_echo "$can_build_shared" >&6; }
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13051 $as_echo_n "checking whether to build shared libraries... " >&6; }
13052 test "$can_build_shared" = "no" && enable_shared
=no
13054 # On AIX, shared libraries and static libraries use the same namespace, and
13055 # are all built from PIC.
13058 test "$enable_shared" = yes && enable_static
=no
13059 if test -n "$RANLIB"; then
13060 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13061 postinstall_cmds
='$RANLIB $lib'
13066 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13067 test "$enable_shared" = yes && enable_static
=no
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13072 $as_echo "$enable_shared" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13075 $as_echo_n "checking whether to build static libraries... " >&6; }
13076 # Make sure either enable_shared or enable_static is yes.
13077 test "$enable_shared" = yes || enable_static
=yes
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13079 $as_echo "$enable_static" >&6; }
13086 ac_cpp
='$CPP $CPPFLAGS'
13087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13105 ac_config_commands
="$ac_config_commands libtool"
13110 # Only expand once:
13115 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13116 # These system don't have libm, or don't need it
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13120 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13121 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13122 $as_echo_n "(cached) " >&6
13124 ac_check_lib_save_LIBS
=$LIBS
13126 if test x
$gcc_no_link = xyes
; then
13127 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13138 char _mwvalidcheckl ();
13142 return _mwvalidcheckl ();
13147 if ac_fn_c_try_link
"$LINENO"; then :
13148 ac_cv_lib_mw__mwvalidcheckl
=yes
13150 ac_cv_lib_mw__mwvalidcheckl
=no
13152 rm -f core conftest.err conftest.
$ac_objext \
13153 conftest
$ac_exeext conftest.
$ac_ext
13154 LIBS
=$ac_check_lib_save_LIBS
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13157 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13158 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13163 $as_echo_n "checking for cos in -lm... " >&6; }
13164 if ${ac_cv_lib_m_cos+:} false
; then :
13165 $as_echo_n "(cached) " >&6
13167 ac_check_lib_save_LIBS
=$LIBS
13169 if test x
$gcc_no_link = xyes
; then
13170 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13190 if ac_fn_c_try_link
"$LINENO"; then :
13191 ac_cv_lib_m_cos
=yes
13195 rm -f core conftest.err conftest.
$ac_objext \
13196 conftest
$ac_exeext conftest.
$ac_ext
13197 LIBS
=$ac_check_lib_save_LIBS
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13200 $as_echo "$ac_cv_lib_m_cos" >&6; }
13201 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13208 $as_echo_n "checking for cos in -lm... " >&6; }
13209 if ${ac_cv_lib_m_cos+:} false
; then :
13210 $as_echo_n "(cached) " >&6
13212 ac_check_lib_save_LIBS
=$LIBS
13214 if test x
$gcc_no_link = xyes
; then
13215 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13235 if ac_fn_c_try_link
"$LINENO"; then :
13236 ac_cv_lib_m_cos
=yes
13240 rm -f core conftest.err conftest.
$ac_objext \
13241 conftest
$ac_exeext conftest.
$ac_ext
13242 LIBS
=$ac_check_lib_save_LIBS
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13245 $as_echo "$ac_cv_lib_m_cos" >&6; }
13246 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13258 *-cygwin* |
*-mingw*)
13259 # 'host' will be top-level target in the case of a target lib,
13260 # we must compare to with_cross_host to decide if this is a native
13261 # or cross-compiler and select where to install dlls appropriately.
13262 if test -n "$with_cross_host" &&
13263 test x
"$with_cross_host" != x
"no"; then
13264 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13266 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13278 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13280 # We need gfortran to compile parts of the library
13281 #AC_PROG_FC(gfortran)
13283 ac_ext
=${ac_fc_srcext-f}
13284 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13285 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13286 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13287 if test -n "$ac_tool_prefix"; then
13288 for ac_prog
in gfortran
13290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13291 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_prog_FC+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 if test -n "$FC"; then
13298 ac_cv_prog_FC
="$FC" # Let the user override the test.
13300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13301 for as_dir
in $PATH
13304 test -z "$as_dir" && as_dir
=.
13305 for ac_exec_ext
in '' $ac_executable_extensions; do
13306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13307 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13318 if test -n "$FC"; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13320 $as_echo "$FC" >&6; }
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 $as_echo "no" >&6; }
13327 test -n "$FC" && break
13330 if test -z "$FC"; then
13332 for ac_prog
in gfortran
13334 # Extract the first word of "$ac_prog", so it can be a program name with args.
13335 set dummy
$ac_prog; ac_word
=$2
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13337 $as_echo_n "checking for $ac_word... " >&6; }
13338 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13339 $as_echo_n "(cached) " >&6
13341 if test -n "$ac_ct_FC"; then
13342 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13345 for as_dir
in $PATH
13348 test -z "$as_dir" && as_dir
=.
13349 for ac_exec_ext
in '' $ac_executable_extensions; do
13350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_prog_ac_ct_FC
="$ac_prog"
13352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13361 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13362 if test -n "$ac_ct_FC"; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13364 $as_echo "$ac_ct_FC" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13371 test -n "$ac_ct_FC" && break
13374 if test "x$ac_ct_FC" = x
; then
13377 case $cross_compiling:$ac_tool_warned in
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13381 ac_tool_warned
=yes ;;
13388 # Provide some information about the compiler.
13389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13392 for ac_option
in --version -v -V -qversion; do
13393 { { ac_try
="$ac_compiler $ac_option >&5"
13394 case "(($ac_try" in
13395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13399 $as_echo "$ac_try_echo"; } >&5
13400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13402 if test -s conftest.err; then
13404 ... rest of stderr output deleted ...
13405 10q' conftest.err >conftest.er1
13406 cat conftest.er1 >&5
13408 rm -f conftest.er1 conftest.err
13409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 test $ac_status = 0; }
13414 # If we don't use `.F
' as extension, the preprocessor is not run on the
13415 # input file. (Note that this only needs to work for GNU compilers.)
13416 ac_save_ext=$ac_ext
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13419 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13420 if ${ac_cv_fc_compiler_gnu+:} false; then :
13421 $as_echo_n "(cached) " >&6
13423 cat > conftest.$ac_ext <<_ACEOF
13431 if ac_fn_fc_try_compile "$LINENO"; then :
13432 ac_compiler_gnu=yes
13436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13437 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13441 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13442 ac_ext=$ac_save_ext
13443 ac_test_FCFLAGS=${FCFLAGS+set}
13444 ac_save_FCFLAGS=$FCFLAGS
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13447 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13448 if ${ac_cv_prog_fc_g+:} false; then :
13449 $as_echo_n "(cached) " >&6
13452 cat > conftest.$ac_ext <<_ACEOF
13457 if ac_fn_fc_try_compile "$LINENO"; then :
13458 ac_cv_prog_fc_g=yes
13462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13466 $as_echo "$ac_cv_prog_fc_g" >&6; }
13467 if test "$ac_test_FCFLAGS" = set; then
13468 FCFLAGS=$ac_save_FCFLAGS
13469 elif test $ac_cv_prog_fc_g = yes; then
13470 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13476 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13483 if test $ac_compiler_gnu = yes; then
13489 ac_cpp='$CPP $CPPFLAGS'
13490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13491 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13494 ac_ext=${ac_fc_srcext-f}
13495 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13496 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13497 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13500 if test -z "$FC" || test "X$FC" = "Xno"; then
13504 archive_cmds_need_lc_FC=no
13505 allow_undefined_flag_FC=
13506 always_export_symbols_FC=no
13507 archive_expsym_cmds_FC=
13508 export_dynamic_flag_spec_FC=
13509 hardcode_direct_FC=no
13510 hardcode_direct_absolute_FC=no
13511 hardcode_libdir_flag_spec_FC=
13512 hardcode_libdir_flag_spec_ld_FC=
13513 hardcode_libdir_separator_FC=
13514 hardcode_minus_L_FC=no
13515 hardcode_automatic_FC=no
13516 inherit_rpath_FC=no
13518 module_expsym_cmds_FC=
13519 link_all_deplibs_FC=unknown
13520 old_archive_cmds_FC=$old_archive_cmds
13521 reload_flag_FC=$reload_flag
13522 reload_cmds_FC=$reload_cmds
13523 no_undefined_flag_FC=
13524 whole_archive_flag_spec_FC=
13525 enable_shared_with_static_runtimes_FC=no
13527 # Source file extension for fc test sources.
13528 ac_ext=${ac_fc_srcext-f}
13530 # Object file extension for compiled fc test sources.
13534 # No sense in running all these tests if we already determined that
13535 # the FC compiler isn't working. Some variables
(like enable_shared
)
13536 # are currently assumed to apply to all compilers on this platform,
13537 # and will be corrupted by setting them based on a non-working compiler.
13538 if test "$_lt_disable_FC" != yes; then
13539 # Code to be used in simple compile tests
13540 lt_simple_compile_test_code
="\
13546 # Code to be used in simple link tests
13547 lt_simple_link_test_code
="\
13552 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13559 # If no C compiler was specified, use CC.
13562 # If no C compiler flags were specified, use CFLAGS.
13563 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13565 # Allow CC to be a program name with arguments.
13569 # save warnings/boilerplate of simple test code
13570 ac_outfile
=conftest.
$ac_objext
13571 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13572 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13573 _lt_compiler_boilerplate
=`cat conftest.err`
13576 ac_outfile
=conftest.
$ac_objext
13577 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13578 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13579 _lt_linker_boilerplate
=`cat conftest.err`
13583 # Allow CC to be a program name with arguments.
13588 GCC
=$ac_cv_fc_compiler_gnu
13591 for cc_temp
in $compiler""; do
13593 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13594 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13599 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13602 if test -n "$compiler"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13604 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13606 $as_echo "$can_build_shared" >&6; }
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13609 $as_echo_n "checking whether to build shared libraries... " >&6; }
13610 test "$can_build_shared" = "no" && enable_shared
=no
13612 # On AIX, shared libraries and static libraries use the same namespace, and
13613 # are all built from PIC.
13616 test "$enable_shared" = yes && enable_static
=no
13617 if test -n "$RANLIB"; then
13618 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13619 postinstall_cmds
='$RANLIB $lib'
13623 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13624 test "$enable_shared" = yes && enable_static
=no
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13629 $as_echo "$enable_shared" >&6; }
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13632 $as_echo_n "checking whether to build static libraries... " >&6; }
13633 # Make sure either enable_shared or enable_static is yes.
13634 test "$enable_shared" = yes || enable_static
=yes
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13636 $as_echo "$enable_static" >&6; }
13638 GCC_FC
="$ac_cv_fc_compiler_gnu"
13642 ## There is no encapsulation within the following macros, do not change
13643 ## the running order or otherwise move them around unless you know exactly
13644 ## what you are doing...
13645 # Dependencies to place before and after the object being linked:
13647 postdep_objects_FC
=
13650 compiler_lib_search_path_FC
=
13652 cat > conftest.
$ac_ext <<_LT_EOF
13661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13662 (eval $ac_compile) 2>&5
13664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13665 test $ac_status = 0; }; then
13666 # Parse the compiler output and extract the necessary
13667 # objects, libraries and library flags.
13669 # Sentinel used to keep track of whether or not we are before
13670 # the conftest object file.
13671 pre_test_object_deps_done
=no
13673 for p
in `eval "$output_verbose_link_cmd"`; do
13677 # Some compilers place space between "-{L,R}" and the path.
13678 # Remove the space.
13679 if test $p = "-L" ||
13680 test $p = "-R"; then
13687 if test "$pre_test_object_deps_done" = no
; then
13690 # Internal compiler library paths should come after those
13691 # provided the user. The postdeps already come after the
13692 # user supplied libs so there is no need to process them.
13693 if test -z "$compiler_lib_search_path_FC"; then
13694 compiler_lib_search_path_FC
="${prev}${p}"
13696 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13699 # The "-l" case would never come before the object being
13700 # linked, so don't bother handling this case.
13703 if test -z "$postdeps_FC"; then
13704 postdeps_FC
="${prev}${p}"
13706 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13712 # This assumes that the test object file only shows up
13713 # once in the compiler output.
13714 if test "$p" = "conftest.$objext"; then
13715 pre_test_object_deps_done
=yes
13719 if test "$pre_test_object_deps_done" = no
; then
13720 if test -z "$predep_objects_FC"; then
13721 predep_objects_FC
="$p"
13723 predep_objects_FC
="$predep_objects_FC $p"
13726 if test -z "$postdep_objects_FC"; then
13727 postdep_objects_FC
="$p"
13729 postdep_objects_FC
="$postdep_objects_FC $p"
13734 *) ;; # Ignore the rest.
13742 echo "libtool.m4: error: problem compiling FC test program"
13745 $RM -f confest.
$objext
13747 # PORTME: override above test on systems where it is broken
13750 case " $postdeps_FC " in
13751 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13753 compiler_lib_search_dirs_FC
=
13754 if test -n "${compiler_lib_search_path_FC}"; then
13755 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13788 lt_prog_compiler_wl_FC
=
13789 lt_prog_compiler_pic_FC
=
13790 lt_prog_compiler_static_FC
=
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13795 if test "$GCC" = yes; then
13796 lt_prog_compiler_wl_FC
='-Wl,'
13797 lt_prog_compiler_static_FC
='-static'
13801 # All AIX code is PIC.
13802 if test "$host_cpu" = ia64
; then
13803 # AIX 5 now supports IA64 processor
13804 lt_prog_compiler_static_FC
='-Bstatic'
13806 lt_prog_compiler_pic_FC
='-fPIC'
13812 # see comment about AmigaOS4 .so support
13813 lt_prog_compiler_pic_FC
='-fPIC'
13816 # FIXME: we need at least 68020 code to build shared libraries, but
13817 # adding the `-m68020' flag to GCC prevents building anything better,
13819 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13824 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13825 # PIC is the default for these OSes.
13828 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13829 # This hack is so that the source file can tell whether it is being
13830 # built for inclusion in a dll (and should export symbols for example).
13831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13832 # (--disable-auto-import) libraries
13833 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13836 darwin
* | rhapsody
*)
13837 # PIC is the default on this platform
13838 # Common symbols not allowed in MH_DYLIB files
13839 lt_prog_compiler_pic_FC
='-fno-common'
13843 # PIC is the default for Haiku.
13844 # The "-static" flag exists, but is broken.
13845 lt_prog_compiler_static_FC
=
13849 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13850 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13851 # sets the default TLS model and affects inlining.
13857 lt_prog_compiler_pic_FC
='-fPIC'
13863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13864 # Instead, we relocate shared libraries at runtime.
13868 # Just because we use GCC doesn't mean we suddenly get shared libraries
13869 # on systems that don't support them.
13870 lt_prog_compiler_can_build_shared_FC
=no
13875 # QNX uses GNU C++, but need to define -shared option too, otherwise
13876 # it will coredump.
13877 lt_prog_compiler_pic_FC
='-fPIC -shared'
13881 if test -d /usr
/nec
; then
13882 lt_prog_compiler_pic_FC
=-Kconform_pic
13887 lt_prog_compiler_pic_FC
='-fPIC'
13891 case $cc_basename in
13892 nvcc
*) # Cuda Compiler Driver 2.2
13893 lt_prog_compiler_wl_FC
='-Xlinker '
13894 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13898 # PORTME Check for flag to pass linker flags through the system compiler.
13901 lt_prog_compiler_wl_FC
='-Wl,'
13902 if test "$host_cpu" = ia64
; then
13903 # AIX 5 now supports IA64 processor
13904 lt_prog_compiler_static_FC
='-Bstatic'
13906 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13910 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13911 # This hack is so that the source file can tell whether it is being
13912 # built for inclusion in a dll (and should export symbols for example).
13913 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13916 hpux9
* | hpux10
* | hpux11
*)
13917 lt_prog_compiler_wl_FC
='-Wl,'
13918 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13919 # not for PA HP-UX.
13925 lt_prog_compiler_pic_FC
='+Z'
13928 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13929 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13932 irix5
* | irix6
* | nonstopux
*)
13933 lt_prog_compiler_wl_FC
='-Wl,'
13934 # PIC (with -KPIC) is the default.
13935 lt_prog_compiler_static_FC
='-non_shared'
13938 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13939 case $cc_basename in
13940 # old Intel for x86_64 which still supported -KPIC.
13942 lt_prog_compiler_wl_FC
='-Wl,'
13943 lt_prog_compiler_pic_FC
='-KPIC'
13944 lt_prog_compiler_static_FC
='-static'
13946 # icc used to be incompatible with GCC.
13947 # ICC 10 doesn't accept -KPIC any more.
13949 lt_prog_compiler_wl_FC
='-Wl,'
13950 lt_prog_compiler_pic_FC
='-fPIC'
13951 lt_prog_compiler_static_FC
='-static'
13953 # Lahey Fortran 8.1.
13955 lt_prog_compiler_wl_FC
='-Wl,'
13956 lt_prog_compiler_pic_FC
='--shared'
13957 lt_prog_compiler_static_FC
='--static'
13959 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13960 # Portland Group compilers (*not* the Pentium gcc compiler,
13961 # which looks to be a dead project)
13962 lt_prog_compiler_wl_FC
='-Wl,'
13963 lt_prog_compiler_pic_FC
='-fpic'
13964 lt_prog_compiler_static_FC
='-Bstatic'
13967 lt_prog_compiler_wl_FC
='-Wl,'
13968 # All Alpha code is PIC.
13969 lt_prog_compiler_static_FC
='-non_shared'
13971 xl
* | bgxl
* | bgf
* | mpixl
*)
13972 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13973 lt_prog_compiler_wl_FC
='-Wl,'
13974 lt_prog_compiler_pic_FC
='-qpic'
13975 lt_prog_compiler_static_FC
='-qstaticlink'
13978 case `$CC -V 2>&1 | sed 5q` in
13979 *Sun\ F
* |
*Sun
*Fortran
*)
13980 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13981 lt_prog_compiler_pic_FC
='-KPIC'
13982 lt_prog_compiler_static_FC
='-Bstatic'
13983 lt_prog_compiler_wl_FC
=''
13987 lt_prog_compiler_pic_FC
='-KPIC'
13988 lt_prog_compiler_static_FC
='-Bstatic'
13989 lt_prog_compiler_wl_FC
='-Wl,'
13997 lt_prog_compiler_pic_FC
='-KPIC'
13998 lt_prog_compiler_static_FC
='-Bstatic'
14002 # QNX uses GNU C++, but need to define -shared option too, otherwise
14003 # it will coredump.
14004 lt_prog_compiler_pic_FC
='-fPIC -shared'
14007 osf3
* | osf4
* | osf5
*)
14008 lt_prog_compiler_wl_FC
='-Wl,'
14009 # All OSF/1 code is PIC.
14010 lt_prog_compiler_static_FC
='-non_shared'
14014 lt_prog_compiler_static_FC
='-non_shared'
14018 lt_prog_compiler_pic_FC
='-KPIC'
14019 lt_prog_compiler_static_FC
='-Bstatic'
14020 case $cc_basename in
14021 f77
* | f90
* | f95
*)
14022 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14024 lt_prog_compiler_wl_FC
='-Wl,';;
14029 lt_prog_compiler_wl_FC
='-Qoption ld '
14030 lt_prog_compiler_pic_FC
='-PIC'
14031 lt_prog_compiler_static_FC
='-Bstatic'
14034 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14035 lt_prog_compiler_wl_FC
='-Wl,'
14036 lt_prog_compiler_pic_FC
='-KPIC'
14037 lt_prog_compiler_static_FC
='-Bstatic'
14041 if test -d /usr
/nec
;then
14042 lt_prog_compiler_pic_FC
='-Kconform_pic'
14043 lt_prog_compiler_static_FC
='-Bstatic'
14047 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14048 lt_prog_compiler_wl_FC
='-Wl,'
14049 lt_prog_compiler_pic_FC
='-KPIC'
14050 lt_prog_compiler_static_FC
='-Bstatic'
14054 lt_prog_compiler_wl_FC
='-Wl,'
14055 lt_prog_compiler_can_build_shared_FC
=no
14059 lt_prog_compiler_pic_FC
='-pic'
14060 lt_prog_compiler_static_FC
='-Bstatic'
14064 lt_prog_compiler_can_build_shared_FC
=no
14070 # For platforms which do not support PIC, -DPIC is meaningless:
14072 lt_prog_compiler_pic_FC
=
14075 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14079 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14084 # Check to make sure the PIC flag actually works.
14086 if test -n "$lt_prog_compiler_pic_FC"; then
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14088 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14089 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14090 $as_echo_n "(cached) " >&6
14092 lt_cv_prog_compiler_pic_works_FC
=no
14093 ac_outfile
=conftest.
$ac_objext
14094 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14095 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14096 # Insert the option either (1) after the last *FLAGS variable, or
14097 # (2) before a word containing "conftest.", or (3) at the end.
14098 # Note that $ac_compile itself does not contain backslashes and begins
14099 # with a dollar sign (not a hyphen), so the echo should work correctly.
14100 # The option is referenced via a variable to avoid confusing sed.
14101 lt_compile
=`echo "$ac_compile" | $SED \
14102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14104 -e 's:$: $lt_compiler_flag:'`
14105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14106 (eval "$lt_compile" 2>conftest.err
)
14108 cat conftest.err
>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 if (exit $ac_status) && test -s "$ac_outfile"; then
14111 # The compiler can only warn and ignore the option if not recognized
14112 # So say no if there are warnings other than the usual output.
14113 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14114 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14115 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14116 lt_cv_prog_compiler_pic_works_FC
=yes
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14123 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14125 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14126 case $lt_prog_compiler_pic_FC in
14128 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14131 lt_prog_compiler_pic_FC
=
14132 lt_prog_compiler_can_build_shared_FC
=no
14140 # Check to make sure the static flag actually works.
14142 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14144 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14145 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14146 $as_echo_n "(cached) " >&6
14148 lt_cv_prog_compiler_static_works_FC
=no
14149 save_LDFLAGS
="$LDFLAGS"
14150 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14151 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14152 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14153 # The linker can only warn and ignore the option if not recognized
14154 # So say no if there are warnings
14155 if test -s conftest.err
; then
14156 # Append any errors to the config.log.
14157 cat conftest.err
1>&5
14158 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14159 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14160 if diff conftest.exp conftest.er2
>/dev
/null
; then
14161 lt_cv_prog_compiler_static_works_FC
=yes
14164 lt_cv_prog_compiler_static_works_FC
=yes
14168 LDFLAGS
="$save_LDFLAGS"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14172 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14174 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14177 lt_prog_compiler_static_FC
=
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14184 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14185 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14186 $as_echo_n "(cached) " >&6
14188 lt_cv_prog_compiler_c_o_FC
=no
14189 $RM -r conftest
2>/dev
/null
14193 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14195 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14196 # Insert the option either (1) after the last *FLAGS variable, or
14197 # (2) before a word containing "conftest.", or (3) at the end.
14198 # Note that $ac_compile itself does not contain backslashes and begins
14199 # with a dollar sign (not a hyphen), so the echo should work correctly.
14200 lt_compile
=`echo "$ac_compile" | $SED \
14201 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14203 -e 's:$: $lt_compiler_flag:'`
14204 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14205 (eval "$lt_compile" 2>out
/conftest.err
)
14207 cat out
/conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14211 # The compiler can only warn and ignore the option if not recognized
14212 # So say no if there are warnings
14213 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14214 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14215 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14216 lt_cv_prog_compiler_c_o_FC
=yes
14221 # SGI C++ compiler will create directory out/ii_files/ for
14222 # template instantiation
14223 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14224 $RM out
/* && rmdir out
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14231 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14236 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14237 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14238 $as_echo_n "(cached) " >&6
14240 lt_cv_prog_compiler_c_o_FC
=no
14241 $RM -r conftest
2>/dev
/null
14245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14247 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14248 # Insert the option either (1) after the last *FLAGS variable, or
14249 # (2) before a word containing "conftest.", or (3) at the end.
14250 # Note that $ac_compile itself does not contain backslashes and begins
14251 # with a dollar sign (not a hyphen), so the echo should work correctly.
14252 lt_compile
=`echo "$ac_compile" | $SED \
14253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14255 -e 's:$: $lt_compiler_flag:'`
14256 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14257 (eval "$lt_compile" 2>out
/conftest.err
)
14259 cat out
/conftest.err
>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14263 # The compiler can only warn and ignore the option if not recognized
14264 # So say no if there are warnings
14265 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14266 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14267 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14268 lt_cv_prog_compiler_c_o_FC
=yes
14273 # SGI C++ compiler will create directory out/ii_files/ for
14274 # template instantiation
14275 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14276 $RM out
/* && rmdir out
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14283 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14288 hard_links
="nottested"
14289 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14290 # do not overwrite the value of need_locks provided by the user
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14292 $as_echo_n "checking if we can lock with hard links... " >&6; }
14295 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14297 ln conftest.a conftest.b
2>&5 || hard_links
=no
14298 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14300 $as_echo "$hard_links" >&6; }
14301 if test "$hard_links" = no
; then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14303 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14313 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14316 allow_undefined_flag_FC
=
14317 always_export_symbols_FC
=no
14319 archive_expsym_cmds_FC
=
14320 compiler_needs_object_FC
=no
14321 enable_shared_with_static_runtimes_FC
=no
14322 export_dynamic_flag_spec_FC
=
14323 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14324 hardcode_automatic_FC
=no
14325 hardcode_direct_FC
=no
14326 hardcode_direct_absolute_FC
=no
14327 hardcode_libdir_flag_spec_FC
=
14328 hardcode_libdir_flag_spec_ld_FC
=
14329 hardcode_libdir_separator_FC
=
14330 hardcode_minus_L_FC
=no
14331 hardcode_shlibpath_var_FC
=unsupported
14332 inherit_rpath_FC
=no
14333 link_all_deplibs_FC
=unknown
14335 module_expsym_cmds_FC
=
14336 old_archive_from_new_cmds_FC
=
14337 old_archive_from_expsyms_cmds_FC
=
14338 thread_safe_flag_spec_FC
=
14339 whole_archive_flag_spec_FC
=
14340 # include_expsyms should be a list of space-separated symbols to be *always*
14341 # included in the symbol list
14342 include_expsyms_FC
=
14343 # exclude_expsyms can be an extended regexp of symbols to exclude
14344 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14345 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14346 # as well as any symbol that contains `d'.
14347 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14348 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14349 # platforms (ab)use it in PIC code, but their linkers get confused if
14350 # the symbol is explicitly referenced. Since portable code cannot
14351 # rely on this symbol name, it's probably fine to never include it in
14352 # preloaded symbol tables.
14353 # Exclude shared library initialization/finalization symbols.
14354 extract_expsyms_cmds
=
14357 cygwin
* | mingw
* | pw32
* | cegcc
*)
14358 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14359 # When not using gcc, we currently assume that we are using
14360 # Microsoft Visual C++.
14361 if test "$GCC" != yes; then
14366 # we just hope/assume this is gcc and not c89 (= MSVC++)
14376 # On some targets, GNU ld is compatible enough with the native linker
14377 # that we're better off using the native interface for both.
14378 lt_use_gnu_ld_interface
=no
14379 if test "$with_gnu_ld" = yes; then
14382 # The AIX port of GNU ld has always aspired to compatibility
14383 # with the native linker. However, as the warning in the GNU ld
14384 # block says, versions before 2.19.5* couldn't really create working
14385 # shared libraries, regardless of the interface used.
14386 case `$LD -v 2>&1` in
14387 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14388 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14389 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14391 lt_use_gnu_ld_interface
=yes
14396 lt_use_gnu_ld_interface
=yes
14401 if test "$lt_use_gnu_ld_interface" = yes; then
14402 # If archive_cmds runs LD, not CC, wlarc should be empty
14405 # Set some defaults for GNU ld with shared library support. These
14406 # are reset later if shared libraries are not supported. Putting them
14407 # here allows them to be overridden if necessary.
14408 runpath_var
=LD_RUN_PATH
14409 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14410 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14411 # ancient GNU ld didn't support --whole-archive et. al.
14412 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14413 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14415 whole_archive_flag_spec_FC
=
14417 supports_anon_versioning
=no
14418 case `$LD -v 2>&1` in
14419 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14420 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14421 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14422 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14423 *\
2.11.
*) ;; # other 2.11 versions
14424 *) supports_anon_versioning
=yes ;;
14427 # See if GNU ld supports shared libraries.
14430 # On AIX/PPC, the GNU linker is very broken
14431 if test "$host_cpu" != ia64
; then
14435 *** Warning: the GNU linker, at least up to release 2.19, is reported
14436 *** to be unable to reliably create shared libraries on AIX.
14437 *** Therefore, libtool is disabling shared libraries support. If you
14438 *** really care for shared libraries, you may want to install binutils
14439 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14440 *** You will then need to restart the configuration process.
14449 # see comment about AmigaOS4 .so support
14450 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14451 archive_expsym_cmds_FC
=''
14454 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)'
14455 hardcode_libdir_flag_spec_FC
='-L$libdir'
14456 hardcode_minus_L_FC
=yes
14462 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14463 allow_undefined_flag_FC
=unsupported
14464 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14465 # support --undefined. This deserves some investigation. FIXME
14466 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14472 cygwin
* | mingw
* | pw32
* | cegcc
*)
14473 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14474 # as there is no search path for DLLs.
14475 hardcode_libdir_flag_spec_FC
='-L$libdir'
14476 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14477 allow_undefined_flag_FC
=unsupported
14478 always_export_symbols_FC
=no
14479 enable_shared_with_static_runtimes_FC
=yes
14480 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14482 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14483 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14484 # If the export-symbols file already is a .def file (1st line
14485 # is EXPORTS), use it as is; otherwise, prepend...
14486 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14487 cp $export_symbols $output_objdir/$soname.def;
14489 echo EXPORTS > $output_objdir/$soname.def;
14490 cat $export_symbols >> $output_objdir/$soname.def;
14492 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14499 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14500 link_all_deplibs_FC
=yes
14504 hardcode_direct_FC
=no
14505 hardcode_shlibpath_var_FC
=no
14506 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14507 export_dynamic_flag_spec_FC
='${wl}-E'
14508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14509 # Instead, shared libraries are loaded at an image base (0x10000000 by
14510 # default) and relocated if they conflict, which is a slow very memory
14511 # consuming and fragmenting process. To avoid this, we pick a random,
14512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14514 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'
14515 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'
14518 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14520 if test "$host_os" = linux-dietlibc
; then
14521 case $cc_basename in
14522 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14525 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14526 && test "$tmp_diet" = no
14528 tmp_addflag
=' $pic_flag'
14529 tmp_sharedflag
='-shared'
14530 case $cc_basename,$host_cpu in
14531 pgcc
*) # Portland Group C compiler
14532 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'
14533 tmp_addflag
=' $pic_flag'
14535 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14536 # Portland Group f77 and f90 compilers
14537 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'
14538 tmp_addflag
=' $pic_flag -Mnomain' ;;
14539 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14540 tmp_addflag
=' -i_dynamic' ;;
14541 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14542 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14543 ifc
* | ifort
*) # Intel Fortran compiler
14544 tmp_addflag
=' -nofor_main' ;;
14545 lf95
*) # Lahey Fortran 8.1
14546 whole_archive_flag_spec_FC
=
14547 tmp_sharedflag
='--shared' ;;
14548 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14549 tmp_sharedflag
='-qmkshrobj'
14551 nvcc
*) # Cuda Compiler Driver 2.2
14552 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'
14553 compiler_needs_object_FC
=yes
14556 case `$CC -V 2>&1 | sed 5q` in
14557 *Sun\ C
*) # Sun C 5.9
14558 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'
14559 compiler_needs_object_FC
=yes
14560 tmp_sharedflag
='-G' ;;
14561 *Sun\ F
*) # Sun Fortran 8.3
14562 tmp_sharedflag
='-G' ;;
14564 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14566 if test "x$supports_anon_versioning" = xyes
; then
14567 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14568 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14569 echo "local: *; };" >> $output_objdir/$libname.ver~
14570 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14573 case $cc_basename in
14574 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14575 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14576 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14577 hardcode_libdir_flag_spec_FC
=
14578 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14579 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14580 if test "x$supports_anon_versioning" = xyes
; then
14581 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14582 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14583 echo "local: *; };" >> $output_objdir/$libname.ver~
14584 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14594 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14595 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14598 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14599 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14604 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14608 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14609 *** create shared libraries on Solaris systems. Therefore, libtool
14610 *** is disabling shared libraries support. We urge you to upgrade GNU
14611 *** binutils to release 2.9.1 or newer. Another option is to modify
14612 *** your PATH or compiler configuration so that the native linker is
14613 *** used, and then restart.
14616 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14617 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14618 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14624 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14625 case `$LD -v 2>&1` in
14626 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14630 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14631 *** reliably create shared libraries on SCO systems. Therefore, libtool
14632 *** is disabling shared libraries support. We urge you to upgrade GNU
14633 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14634 *** your PATH or compiler configuration so that the native linker is
14635 *** used, and then restart.
14640 # For security reasons, it is highly recommended that you always
14641 # use absolute paths for naming shared libraries, and exclude the
14642 # DT_RUNPATH tag from executables and libraries. But doing so
14643 # requires that you compile everything twice, which is a pain.
14644 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14645 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14646 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14647 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14656 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14658 hardcode_direct_FC
=yes
14659 hardcode_shlibpath_var_FC
=no
14663 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14664 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14665 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14672 if test "$ld_shlibs_FC" = no
; then
14674 hardcode_libdir_flag_spec_FC
=
14675 export_dynamic_flag_spec_FC
=
14676 whole_archive_flag_spec_FC
=
14679 # PORTME fill in a description of your system's linker (not GNU ld)
14682 allow_undefined_flag_FC
=unsupported
14683 always_export_symbols_FC
=yes
14684 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'
14685 # Note: this linker hardcodes the directories in LIBPATH if there
14686 # are no directories specified by -L.
14687 hardcode_minus_L_FC
=yes
14688 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14689 # Neither direct hardcoding nor static linking is supported with a
14691 hardcode_direct_FC
=unsupported
14696 if test "$host_cpu" = ia64
; then
14697 # On IA64, the linker does run time linking by default, so we don't
14698 # have to do anything special.
14699 aix_use_runtimelinking
=no
14700 exp_sym_flag
='-Bexport'
14703 # If we're using GNU nm, then we don't want the "-C" option.
14704 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14705 # Also, AIX nm treats weak defined symbols like other global
14706 # defined symbols, whereas GNU nm marks them as "W".
14707 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14708 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'
14710 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'
14712 aix_use_runtimelinking
=no
14714 # Test if we are trying to use run time linking or normal
14715 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14716 # need to do runtime linking.
14717 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14718 for ld_flag
in $LDFLAGS; do
14719 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14720 aix_use_runtimelinking
=yes
14727 exp_sym_flag
='-bexport'
14728 no_entry_flag
='-bnoentry'
14731 # When large executables or shared objects are built, AIX ld can
14732 # have problems creating the table of contents. If linking a library
14733 # or program results in "error TOC overflow" add -mminimal-toc to
14734 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14735 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14738 hardcode_direct_FC
=yes
14739 hardcode_direct_absolute_FC
=yes
14740 hardcode_libdir_separator_FC
=':'
14741 link_all_deplibs_FC
=yes
14742 file_list_spec_FC
='${wl}-f,'
14744 if test "$GCC" = yes; then
14745 case $host_os in aix4.
[012]|aix4.
[012].
*)
14746 # We only want to do this on AIX 4.2 and lower, the check
14747 # below for broken collect2 doesn't work under 4.3+
14748 collect2name
=`${CC} -print-prog-name=collect2`
14749 if test -f "$collect2name" &&
14750 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14752 # We have reworked collect2
14755 # We have old collect2
14756 hardcode_direct_FC
=unsupported
14757 # It fails to find uninstalled libraries when the uninstalled
14758 # path is not listed in the libpath. Setting hardcode_minus_L
14759 # to unsupported forces relinking
14760 hardcode_minus_L_FC
=yes
14761 hardcode_libdir_flag_spec_FC
='-L$libdir'
14762 hardcode_libdir_separator_FC
=
14766 shared_flag
='-shared'
14767 if test "$aix_use_runtimelinking" = yes; then
14768 shared_flag
="$shared_flag "'${wl}-G'
14772 if test "$host_cpu" = ia64
; then
14773 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14774 # chokes on -Wl,-G. The following line is correct:
14777 if test "$aix_use_runtimelinking" = yes; then
14778 shared_flag
='${wl}-G'
14780 shared_flag
='${wl}-bM:SRE'
14785 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14786 # It seems that -bexpall does not export symbols beginning with
14787 # underscore (_), so it is better to generate a list of symbols to export.
14788 always_export_symbols_FC
=yes
14789 if test "$aix_use_runtimelinking" = yes; then
14790 # Warning - without using the other runtime loading flags (-brtl),
14791 # -berok will link without error, but may produce a broken library.
14792 allow_undefined_flag_FC
='-berok'
14793 # Determine the default libpath from the value encoded in an
14794 # empty executable.
14795 if test x
$gcc_no_link = xyes
; then
14796 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14798 cat > conftest.
$ac_ext <<_ACEOF
14803 if ac_fn_fc_try_link
"$LINENO"; then :
14805 lt_aix_libpath_sed
='
14806 /Import File Strings/,/^$/ {
14812 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14813 # Check for a 64-bit object if we didn't find anything.
14814 if test -z "$aix_libpath"; then
14815 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14818 rm -f core conftest.err conftest.
$ac_objext \
14819 conftest
$ac_exeext conftest.
$ac_ext
14820 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14822 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14823 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"
14825 if test "$host_cpu" = ia64
; then
14826 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14827 allow_undefined_flag_FC
="-z nodefs"
14828 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"
14830 # Determine the default libpath from the value encoded in an
14831 # empty executable.
14832 if test x
$gcc_no_link = xyes
; then
14833 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14835 cat > conftest.
$ac_ext <<_ACEOF
14840 if ac_fn_fc_try_link
"$LINENO"; then :
14842 lt_aix_libpath_sed
='
14843 /Import File Strings/,/^$/ {
14849 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14850 # Check for a 64-bit object if we didn't find anything.
14851 if test -z "$aix_libpath"; then
14852 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14855 rm -f core conftest.err conftest.
$ac_objext \
14856 conftest
$ac_exeext conftest.
$ac_ext
14857 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14859 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14860 # Warning - without using the other run time loading flags,
14861 # -berok will link without error, but may produce a broken library.
14862 no_undefined_flag_FC
=' ${wl}-bernotok'
14863 allow_undefined_flag_FC
=' ${wl}-berok'
14864 if test "$with_gnu_ld" = yes; then
14865 # We only use this code for GNU lds that support --whole-archive.
14866 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14868 # Exported symbols can be pulled into shared objects from archives
14869 whole_archive_flag_spec_FC
='$convenience'
14871 archive_cmds_need_lc_FC
=yes
14872 # This is similar to how AIX traditionally builds its shared libraries.
14873 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'
14881 # see comment about AmigaOS4 .so support
14882 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14883 archive_expsym_cmds_FC
=''
14886 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)'
14887 hardcode_libdir_flag_spec_FC
='-L$libdir'
14888 hardcode_minus_L_FC
=yes
14894 export_dynamic_flag_spec_FC
=-rdynamic
14897 cygwin
* | mingw
* | pw32
* | cegcc
*)
14898 # When not using gcc, we currently assume that we are using
14899 # Microsoft Visual C++.
14900 # hardcode_libdir_flag_spec is actually meaningless, as there is
14901 # no search path for DLLs.
14902 hardcode_libdir_flag_spec_FC
=' '
14903 allow_undefined_flag_FC
=unsupported
14904 # Tell ltmain to make .lib files, not .a files.
14906 # Tell ltmain to make .dll files, not .so files.
14908 # FIXME: Setting linknames here is a bad hack.
14909 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14910 # The linker will automatically build a .lib file if we build a DLL.
14911 old_archive_from_new_cmds_FC
='true'
14912 # FIXME: Should let the user specify the lib program.
14913 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14914 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14915 enable_shared_with_static_runtimes_FC
=yes
14918 darwin
* | rhapsody
*)
14921 archive_cmds_need_lc_FC
=no
14922 hardcode_direct_FC
=no
14923 hardcode_automatic_FC
=yes
14924 hardcode_shlibpath_var_FC
=unsupported
14925 if test "$lt_cv_ld_force_load" = "yes"; then
14926 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\"`'
14928 whole_archive_flag_spec_FC
=''
14930 link_all_deplibs_FC
=yes
14931 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14932 case $cc_basename in
14933 ifort
*) _lt_dar_can_shared
=yes ;;
14934 *) _lt_dar_can_shared
=$GCC ;;
14936 if test "$_lt_dar_can_shared" = "yes"; then
14937 output_verbose_link_cmd
=func_echo_all
14938 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14939 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14940 archive_expsym_cmds_FC
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14941 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}"
14950 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14951 hardcode_libdir_flag_spec_FC
='-L$libdir'
14952 hardcode_shlibpath_var_FC
=no
14955 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14956 # support. Future versions do this automatically, but an explicit c++rt0.o
14957 # does not break anything, and helps significantly (at the cost of a little
14960 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14961 hardcode_libdir_flag_spec_FC
='-R$libdir'
14962 hardcode_direct_FC
=yes
14963 hardcode_shlibpath_var_FC
=no
14966 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14968 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14969 hardcode_direct_FC
=yes
14970 hardcode_minus_L_FC
=yes
14971 hardcode_shlibpath_var_FC
=no
14974 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14975 freebsd
* | dragonfly
*)
14976 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14977 hardcode_libdir_flag_spec_FC
='-R$libdir'
14978 hardcode_direct_FC
=yes
14979 hardcode_shlibpath_var_FC
=no
14983 if test "$GCC" = yes; then
14984 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'
14986 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'
14988 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14989 hardcode_libdir_separator_FC
=:
14990 hardcode_direct_FC
=yes
14992 # hardcode_minus_L: Not really in the search PATH,
14993 # but as the default location of the library.
14994 hardcode_minus_L_FC
=yes
14995 export_dynamic_flag_spec_FC
='${wl}-E'
14999 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15000 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15002 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15004 if test "$with_gnu_ld" = no
; then
15005 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15006 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15007 hardcode_libdir_separator_FC
=:
15008 hardcode_direct_FC
=yes
15009 hardcode_direct_absolute_FC
=yes
15010 export_dynamic_flag_spec_FC
='${wl}-E'
15011 # hardcode_minus_L: Not really in the search PATH,
15012 # but as the default location of the library.
15013 hardcode_minus_L_FC
=yes
15018 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15021 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15024 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15027 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15033 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15036 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15039 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15043 if test "$with_gnu_ld" = no
; then
15044 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15045 hardcode_libdir_separator_FC
=:
15049 hardcode_direct_FC
=no
15050 hardcode_shlibpath_var_FC
=no
15053 hardcode_direct_FC
=yes
15054 hardcode_direct_absolute_FC
=yes
15055 export_dynamic_flag_spec_FC
='${wl}-E'
15057 # hardcode_minus_L: Not really in the search PATH,
15058 # but as the default location of the library.
15059 hardcode_minus_L_FC
=yes
15065 irix5
* | irix6
* | nonstopux
*)
15066 if test "$GCC" = yes; then
15067 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'
15068 # Try to use the -exported_symbol ld option, if it does not
15069 # work, assume that -exports_file does not work either and
15070 # implicitly export all symbols.
15071 save_LDFLAGS
="$LDFLAGS"
15072 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15073 if test x
$gcc_no_link = xyes
; then
15074 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15076 cat > conftest.
$ac_ext <<_ACEOF
15079 if ac_fn_fc_try_link
"$LINENO"; then :
15080 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'
15083 rm -f core conftest.err conftest.
$ac_objext \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LDFLAGS
="$save_LDFLAGS"
15087 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'
15088 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'
15090 archive_cmds_need_lc_FC
='no'
15091 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15092 hardcode_libdir_separator_FC
=:
15093 inherit_rpath_FC
=yes
15094 link_all_deplibs_FC
=yes
15098 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15099 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15101 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15103 hardcode_libdir_flag_spec_FC
='-R$libdir'
15104 hardcode_direct_FC
=yes
15105 hardcode_shlibpath_var_FC
=no
15109 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15110 hardcode_direct_FC
=yes
15111 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15112 hardcode_libdir_separator_FC
=:
15113 hardcode_shlibpath_var_FC
=no
15120 if test -f /usr
/libexec
/ld.so
; then
15121 hardcode_direct_FC
=yes
15122 hardcode_shlibpath_var_FC
=no
15123 hardcode_direct_absolute_FC
=yes
15124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15125 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15127 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15128 export_dynamic_flag_spec_FC
='${wl}-E'
15131 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15132 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15133 hardcode_libdir_flag_spec_FC
='-R$libdir'
15136 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15137 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15147 hardcode_libdir_flag_spec_FC
='-L$libdir'
15148 hardcode_minus_L_FC
=yes
15149 allow_undefined_flag_FC
=unsupported
15150 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'
15151 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15155 if test "$GCC" = yes; then
15156 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15157 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'
15159 allow_undefined_flag_FC
=' -expect_unresolved \*'
15160 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'
15162 archive_cmds_need_lc_FC
='no'
15163 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15164 hardcode_libdir_separator_FC
=:
15167 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15168 if test "$GCC" = yes; then
15169 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15170 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'
15171 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15173 allow_undefined_flag_FC
=' -expect_unresolved \*'
15174 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'
15175 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~
15176 $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'
15178 # Both c and cxx compiler support -rpath directly
15179 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15181 archive_cmds_need_lc_FC
='no'
15182 hardcode_libdir_separator_FC
=:
15186 no_undefined_flag_FC
=' -z defs'
15187 if test "$GCC" = yes; then
15189 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15190 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15191 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15193 case `$CC -V 2>&1` in
15196 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15197 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15198 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15202 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15203 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15204 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15208 hardcode_libdir_flag_spec_FC
='-R$libdir'
15209 hardcode_shlibpath_var_FC
=no
15211 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15213 # The compiler driver will combine and reorder linker options,
15214 # but understands `-z linker_flag'. GCC discards it without `$wl',
15215 # but is careful enough not to reorder.
15216 # Supported since Solaris 2.6 (maybe 2.5.1?)
15217 if test "$GCC" = yes; then
15218 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15220 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15224 link_all_deplibs_FC
=yes
15228 if test "x$host_vendor" = xsequent
; then
15229 # Use $CC to link under sequent, because it throws in some extra .o
15230 # files that make .init and .fini sections work.
15231 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15233 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15235 hardcode_libdir_flag_spec_FC
='-L$libdir'
15236 hardcode_direct_FC
=yes
15237 hardcode_minus_L_FC
=yes
15238 hardcode_shlibpath_var_FC
=no
15242 case $host_vendor in
15244 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15245 hardcode_direct_FC
=yes # is this really true???
15248 ## LD is ld it makes a PLAMLIB
15249 ## CC just makes a GrossModule.
15250 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15251 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15252 hardcode_direct_FC
=no
15255 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15256 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15259 runpath_var
='LD_RUN_PATH'
15260 hardcode_shlibpath_var_FC
=no
15264 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15265 hardcode_shlibpath_var_FC
=no
15266 export_dynamic_flag_spec_FC
='-Bexport'
15270 if test -d /usr
/nec
; then
15271 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272 hardcode_shlibpath_var_FC
=no
15273 runpath_var
=LD_RUN_PATH
15274 hardcode_runpath_var
=yes
15279 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15280 no_undefined_flag_FC
='${wl}-z,text'
15281 archive_cmds_need_lc_FC
=no
15282 hardcode_shlibpath_var_FC
=no
15283 runpath_var
='LD_RUN_PATH'
15285 if test "$GCC" = yes; then
15286 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15287 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15289 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15290 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15294 sysv5
* | sco3.2v5
* | sco5v6
*)
15295 # Note: We can NOT use -z defs as we might desire, because we do not
15296 # link with -lc, and that would cause any symbols used from libc to
15297 # always be unresolved, which means just about no library would
15298 # ever link correctly. If we're not using GNU ld we use -z text
15299 # though, which does catch some bad symbols but isn't as heavy-handed
15301 no_undefined_flag_FC
='${wl}-z,text'
15302 allow_undefined_flag_FC
='${wl}-z,nodefs'
15303 archive_cmds_need_lc_FC
=no
15304 hardcode_shlibpath_var_FC
=no
15305 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15306 hardcode_libdir_separator_FC
=':'
15307 link_all_deplibs_FC
=yes
15308 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15309 runpath_var
='LD_RUN_PATH'
15311 if test "$GCC" = yes; then
15312 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15313 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15315 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15316 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15321 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15322 hardcode_libdir_flag_spec_FC
='-L$libdir'
15323 hardcode_shlibpath_var_FC
=no
15331 if test x
$host_vendor = xsni
; then
15333 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15334 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15341 $as_echo "$ld_shlibs_FC" >&6; }
15342 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15344 with_gnu_ld_FC
=$with_gnu_ld
15352 # Do we need to explicitly link libc?
15354 case "x$archive_cmds_need_lc_FC" in
15356 # Assume -lc should be added
15357 archive_cmds_need_lc_FC
=yes
15359 if test "$enable_shared" = yes && test "$GCC" = yes; then
15360 case $archive_cmds_FC in
15362 # FIXME: we may have to deal with multi-command sequences.
15365 # Test whether the compiler implicitly links with -lc since on some
15366 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15367 # to ld, don't add -lc before -lgcc.
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15369 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15370 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15371 $as_echo_n "(cached) " >&6
15374 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15377 (eval $ac_compile) 2>&5
15379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15380 test $ac_status = 0; } 2>conftest.err
; then
15383 libobjs
=conftest.
$ac_objext
15385 wl
=$lt_prog_compiler_wl_FC
15386 pic_flag
=$lt_prog_compiler_pic_FC
15392 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15393 allow_undefined_flag_FC
=
15394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15395 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15398 test $ac_status = 0; }
15400 lt_cv_archive_cmds_need_lc_FC
=no
15402 lt_cv_archive_cmds_need_lc_FC
=yes
15404 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15406 cat conftest.err
1>&5
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15412 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15413 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15484 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15486 library_names_spec
=
15487 libname_spec
='lib$name'
15491 postuninstall_cmds
=
15495 shlibpath_overrides_runpath
=unknown
15497 dynamic_linker
="$host_os ld.so"
15498 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15499 need_lib_prefix
=unknown
15500 hardcode_into_libs
=no
15502 # when you set need_version to no, make sure it does not cause -set_version
15503 # flags to be left without arguments
15504 need_version
=unknown
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15510 shlibpath_var
=LIBPATH
15512 # AIX 3 has no versioning support, so we append a major version to the name.
15513 soname_spec
='${libname}${release}${shared_ext}$major'
15520 hardcode_into_libs
=yes
15521 if test "$host_cpu" = ia64
; then
15522 # AIX 5 supports IA64
15523 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15524 shlibpath_var
=LD_LIBRARY_PATH
15526 # With GCC up to 2.95.x, collect2 would create an import file
15527 # for dependence libraries. The import file would start with
15528 # the line `#! .'. This would cause the generated library to
15529 # depend on `.', always an invalid library. This was fixed in
15530 # development snapshots of GCC prior to 3.0.
15532 aix4 | aix4.
[01] | aix4.
[01].
*)
15533 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15535 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15538 can_build_shared
=no
15542 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15543 # soname into executable. Probably we can add versioning support to
15544 # collect2, so additional links can be useful in future.
15545 if test "$aix_use_runtimelinking" = yes; then
15546 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15547 # instead of lib<name>.a to let people know that these are not
15548 # typical AIX shared libraries.
15549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15551 # We preserve .a as extension for shared libraries through AIX4.2
15552 # and later when we are not doing run time linking.
15553 library_names_spec
='${libname}${release}.a $libname.a'
15554 soname_spec
='${libname}${release}${shared_ext}$major'
15556 shlibpath_var
=LIBPATH
15563 # Since July 2007 AmigaOS4 officially supports .so libraries.
15564 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15568 library_names_spec
='$libname.ixlibrary $libname.a'
15569 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15570 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'
15576 library_names_spec
='${libname}${shared_ext}'
15577 dynamic_linker
="$host_os ld.so"
15578 shlibpath_var
=LIBRARY_PATH
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 soname_spec
='${libname}${release}${shared_ext}$major'
15586 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15587 shlibpath_var
=LD_LIBRARY_PATH
15588 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15589 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15590 # the default ld.so.conf also contains /usr/contrib/lib and
15591 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15592 # libtool to hard-code these into programs
15595 cygwin
* | mingw
* | pw32
* | cegcc
*)
15596 version_type
=windows
15601 case $GCC,$host_os in
15602 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15603 library_names_spec
='$libname.dll.a'
15604 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15605 postinstall_cmds
='base_file=`basename \${file}`~
15606 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15607 dldir=$destdir/`dirname \$dlpath`~
15608 test -d \$dldir || mkdir -p \$dldir~
15609 $install_prog $dir/$dlname \$dldir/$dlname~
15610 chmod a+x \$dldir/$dlname~
15611 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15612 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15614 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15615 dlpath=$dir/\$dldll~
15617 shlibpath_overrides_runpath
=yes
15621 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15622 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15626 # MinGW DLLs use traditional 'lib' prefix
15627 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15630 # pw32 DLLs use 'pw' prefix rather than 'lib'
15631 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15637 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15640 dynamic_linker
='Win32 ld.exe'
15641 # FIXME: first we should search . and the directory the executable is in
15645 darwin
* | rhapsody
*)
15646 dynamic_linker
="$host_os dyld"
15647 version_type
=darwin
15650 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15651 soname_spec
='${libname}${release}${major}$shared_ext'
15652 shlibpath_overrides_runpath
=yes
15653 shlibpath_var
=DYLD_LIBRARY_PATH
15654 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15656 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15664 soname_spec
='${libname}${release}${shared_ext}$major'
15665 shlibpath_var
=LD_LIBRARY_PATH
15668 freebsd
* | dragonfly
*)
15669 # DragonFly does not have aout. When/if they implement a new
15670 # versioning mechanism, adjust this.
15671 if test -x /usr
/bin
/objformat
; then
15672 objformat
=`/usr/bin/objformat`
15675 freebsd
[23].
*) objformat
=aout
;;
15676 *) objformat
=elf
;;
15679 version_type
=freebsd-
$objformat
15680 case $version_type in
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15687 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15691 shlibpath_var
=LD_LIBRARY_PATH
15694 shlibpath_overrides_runpath
=yes
15696 freebsd3.
[01]* | freebsdelf3.
[01]*)
15697 shlibpath_overrides_runpath
=yes
15698 hardcode_into_libs
=yes
15700 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15701 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15702 shlibpath_overrides_runpath
=no
15703 hardcode_into_libs
=yes
15705 *) # from 4.6 on, and DragonFly
15706 shlibpath_overrides_runpath
=yes
15707 hardcode_into_libs
=yes
15716 dynamic_linker
="$host_os runtime_loader"
15717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15718 soname_spec
='${libname}${release}${shared_ext}$major'
15719 shlibpath_var
=LIBRARY_PATH
15720 shlibpath_overrides_runpath
=yes
15721 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15722 hardcode_into_libs
=yes
15725 hpux9
* | hpux10
* | hpux11
*)
15726 # Give a soname corresponding to the major version so that dld.sl refuses to
15727 # link against other versions.
15734 hardcode_into_libs
=yes
15735 dynamic_linker
="$host_os dld.so"
15736 shlibpath_var
=LD_LIBRARY_PATH
15737 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15739 soname_spec
='${libname}${release}${shared_ext}$major'
15740 if test "X$HPUX_IA64_MODE" = X32
; then
15741 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15743 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15745 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15749 hardcode_into_libs
=yes
15750 dynamic_linker
="$host_os dld.sl"
15751 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15752 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 soname_spec
='${libname}${release}${shared_ext}$major'
15755 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15756 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15760 dynamic_linker
="$host_os dld.sl"
15761 shlibpath_var
=SHLIB_PATH
15762 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 soname_spec
='${libname}${release}${shared_ext}$major'
15767 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15768 postinstall_cmds
='chmod 555 $lib'
15769 # or fails outright, so override atomically:
15770 install_override_mode
=555
15777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15778 soname_spec
='${libname}${release}${shared_ext}$major'
15779 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15780 shlibpath_var
=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath
=no
15782 hardcode_into_libs
=yes
15785 irix5
* | irix6
* | nonstopux
*)
15787 nonstopux
*) version_type
=nonstopux
;;
15789 if test "$lt_cv_prog_gnu_ld" = yes; then
15797 soname_spec
='${libname}${release}${shared_ext}$major'
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15800 irix5
* | nonstopux
*)
15801 libsuff
= shlibsuff
=
15804 case $LD in # libtool.m4 will add one of these switches to LD
15805 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15806 libsuff
= shlibsuff
= libmagic
=32-bit;;
15807 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15808 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15809 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15810 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15811 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15815 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15816 shlibpath_overrides_runpath
=no
15817 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15818 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15819 hardcode_into_libs
=yes
15822 # No shared lib support for Linux oldld, aout, or coff.
15823 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15827 # This must be Linux ELF.
15829 # uclinux* changes (here and below) have been submitted to the libtool
15830 # project, but have not yet been accepted: they are GCC-local changes
15831 # for the time being. (See
15832 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15833 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15838 soname_spec
='${libname}${release}${shared_ext}$major'
15839 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15840 shlibpath_var
=LD_LIBRARY_PATH
15841 shlibpath_overrides_runpath
=no
15843 # Some binutils ld are patched to set DT_RUNPATH
15844 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15845 $as_echo_n "(cached) " >&6
15847 lt_cv_shlibpath_overrides_runpath
=no
15848 save_LDFLAGS
=$LDFLAGS
15849 save_libdir
=$libdir
15850 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15851 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15852 if test x
$gcc_no_link = xyes
; then
15853 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15855 cat > conftest.
$ac_ext <<_ACEOF
15860 if ac_fn_fc_try_link
"$LINENO"; then :
15861 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15862 lt_cv_shlibpath_overrides_runpath
=yes
15865 rm -f core conftest.err conftest.
$ac_objext \
15866 conftest
$ac_exeext conftest.
$ac_ext
15867 LDFLAGS
=$save_LDFLAGS
15868 libdir
=$save_libdir
15872 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15874 # This implies no fast_install, which is unacceptable.
15875 # Some rework will be needed to allow for fast_install
15876 # before this can be enabled.
15877 hardcode_into_libs
=yes
15879 # Append ld.so.conf contents to the search path
15880 if test -f /etc
/ld.so.conf
; then
15881 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' ' '`
15882 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15885 # We used to test for /lib/ld.so.1 and disable shared libraries on
15886 # powerpc, because MkLinux only supported shared libraries with the
15887 # GNU dynamic linker. Since this was broken with cross compilers,
15888 # most powerpc-linux boxes support dynamic linking these days and
15889 # people can always --disable-shared, the test was removed, and we
15890 # assume the GNU/Linux dynamic linker is in use.
15891 dynamic_linker
='GNU/Linux ld.so'
15898 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15901 dynamic_linker
='NetBSD (a.out) ld.so'
15903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15904 soname_spec
='${libname}${release}${shared_ext}$major'
15905 dynamic_linker
='NetBSD ld.elf_so'
15907 shlibpath_var
=LD_LIBRARY_PATH
15908 shlibpath_overrides_runpath
=yes
15909 hardcode_into_libs
=yes
15914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 shlibpath_var
=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath
=yes
15923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924 soname_spec
='${libname}${release}${shared_ext}$major'
15925 shlibpath_var
=LD_LIBRARY_PATH
15926 shlibpath_overrides_runpath
=no
15927 hardcode_into_libs
=yes
15928 dynamic_linker
='ldqnx.so'
15933 sys_lib_dlsearch_path_spec
="/usr/lib"
15935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15937 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15938 *) need_version
=no
;;
15940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15942 shlibpath_var
=LD_LIBRARY_PATH
15943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15945 openbsd2.
[89] | openbsd2.
[89].
*)
15946 shlibpath_overrides_runpath
=no
15949 shlibpath_overrides_runpath
=yes
15953 shlibpath_overrides_runpath
=yes
15958 libname_spec
='$name'
15961 library_names_spec
='$libname${shared_ext} $libname.a'
15962 dynamic_linker
='OS/2 ld.exe'
15963 shlibpath_var
=LIBPATH
15966 osf3
* | osf4
* | osf5
*)
15970 soname_spec
='${libname}${release}${shared_ext}$major'
15971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15974 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15986 soname_spec
='${libname}${release}${shared_ext}$major'
15987 shlibpath_var
=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath
=yes
15989 hardcode_into_libs
=yes
15990 # ldd complains unless libraries are executable
15991 postinstall_cmds
='chmod +x $lib'
15996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15997 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15998 shlibpath_var
=LD_LIBRARY_PATH
15999 shlibpath_overrides_runpath
=yes
16000 if test "$with_gnu_ld" = yes; then
16008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16009 soname_spec
='${libname}${release}${shared_ext}$major'
16010 shlibpath_var
=LD_LIBRARY_PATH
16011 case $host_vendor in
16013 shlibpath_overrides_runpath
=no
16015 runpath_var
=LD_RUN_PATH
16023 shlibpath_overrides_runpath
=no
16024 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16030 if test -d /usr
/nec
;then
16032 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16033 soname_spec
='$libname${shared_ext}.$major'
16034 shlibpath_var
=LD_LIBRARY_PATH
16038 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16039 version_type
=freebsd-elf
16042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16043 soname_spec
='${libname}${release}${shared_ext}$major'
16044 shlibpath_var
=LD_LIBRARY_PATH
16045 shlibpath_overrides_runpath
=yes
16046 hardcode_into_libs
=yes
16047 if test "$with_gnu_ld" = yes; then
16048 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16050 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16053 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16057 sys_lib_dlsearch_path_spec
='/usr/lib'
16061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16066 shlibpath_var
=LD_LIBRARY_PATH
16067 shlibpath_overrides_runpath
=no
16068 hardcode_into_libs
=yes
16073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16074 soname_spec
='${libname}${release}${shared_ext}$major'
16075 shlibpath_var
=LD_LIBRARY_PATH
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16083 $as_echo "$dynamic_linker" >&6; }
16084 test "$dynamic_linker" = no
&& can_build_shared
=no
16086 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16087 if test "$GCC" = yes; then
16088 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16092 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16095 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16136 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16137 hardcode_action_FC
=
16138 if test -n "$hardcode_libdir_flag_spec_FC" ||
16139 test -n "$runpath_var_FC" ||
16140 test "X$hardcode_automatic_FC" = "Xyes" ; then
16142 # We can hardcode non-existent directories.
16143 if test "$hardcode_direct_FC" != no
&&
16144 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16145 # have to relink, otherwise we might link with an installed library
16146 # when we should be linking with a yet-to-be-installed one
16147 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16148 test "$hardcode_minus_L_FC" != no
; then
16149 # Linking always hardcodes the temporary library directory.
16150 hardcode_action_FC
=relink
16152 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16153 hardcode_action_FC
=immediate
16156 # We cannot hardcode anything, or else we can only hardcode existing
16158 hardcode_action_FC
=unsupported
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16161 $as_echo "$hardcode_action_FC" >&6; }
16163 if test "$hardcode_action_FC" = relink ||
16164 test "$inherit_rpath_FC" = yes; then
16165 # Fast installation is not supported
16166 enable_fast_install
=no
16167 elif test "$shlibpath_overrides_runpath" = yes ||
16168 test "$enable_shared" = no
; then
16169 # Fast installation is not necessary
16170 enable_fast_install
=needless
16179 fi # test -n "$compiler"
16183 fi # test "$_lt_disable_FC" != yes
16186 ac_cpp
='$CPP $CPPFLAGS'
16187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16193 # extra LD Flags which are required for targets
16196 # Darwin needs -single_module when linking libgfortran
16197 extra_ldflags_libgfortran
=-Wl,-single_module
16202 # We need a working compiler at that point, otherwise give a clear
16203 # error message and bail out.
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16206 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16207 ac_ext
=${ac_fc_srcext-f}
16208 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16209 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16210 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16212 cat > conftest.
$ac_ext <<_ACEOF
16215 real, parameter :: bar = sin (12.34 / 2.5)
16218 if ac_fn_fc_try_compile
"$LINENO"; then :
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16220 $as_echo "yes" >&6; }
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16223 $as_echo "no" >&6; }
16224 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16229 ac_cpp
='$CPP $CPPFLAGS'
16230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16236 # Check whether --enable-largefile was given.
16237 if test "${enable_largefile+set}" = set; then :
16238 enableval
=$enable_largefile;
16241 if test "$enable_largefile" != no
; then
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16244 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16245 if ${ac_cv_sys_largefile_CC+:} false
; then :
16246 $as_echo_n "(cached) " >&6
16248 ac_cv_sys_largefile_CC
=no
16249 if test "$GCC" != yes; then
16252 # IRIX 6.2 and later do not support large files by default,
16253 # so use the C compiler's -n32 option if that helps.
16254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256 #include <sys/types.h>
16257 /* Check that off_t can represent 2**63 - 1 correctly.
16258 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16259 since some C++ compilers masquerading as C compilers
16260 incorrectly reject 9223372036854775807. */
16261 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16262 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16263 && LARGE_OFF_T % 2147483647 == 1)
16273 if ac_fn_c_try_compile
"$LINENO"; then :
16276 rm -f core conftest.err conftest.
$ac_objext
16278 if ac_fn_c_try_compile
"$LINENO"; then :
16279 ac_cv_sys_largefile_CC
=' -n32'; break
16281 rm -f core conftest.err conftest.
$ac_objext
16285 rm -f conftest.
$ac_ext
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16289 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16290 if test "$ac_cv_sys_largefile_CC" != no
; then
16291 CC
=$CC$ac_cv_sys_largefile_CC
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16295 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16296 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16297 $as_echo_n "(cached) " >&6
16300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16302 #include <sys/types.h>
16303 /* Check that off_t can represent 2**63 - 1 correctly.
16304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16305 since some C++ compilers masquerading as C compilers
16306 incorrectly reject 9223372036854775807. */
16307 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16309 && LARGE_OFF_T % 2147483647 == 1)
16319 if ac_fn_c_try_compile
"$LINENO"; then :
16320 ac_cv_sys_file_offset_bits
=no
; break
16322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16325 #define _FILE_OFFSET_BITS 64
16326 #include <sys/types.h>
16327 /* Check that off_t can represent 2**63 - 1 correctly.
16328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16329 since some C++ compilers masquerading as C compilers
16330 incorrectly reject 9223372036854775807. */
16331 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16333 && LARGE_OFF_T % 2147483647 == 1)
16343 if ac_fn_c_try_compile
"$LINENO"; then :
16344 ac_cv_sys_file_offset_bits
=64; break
16346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16347 ac_cv_sys_file_offset_bits
=unknown
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16352 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16353 case $ac_cv_sys_file_offset_bits in #(
16356 cat >>confdefs.h
<<_ACEOF
16357 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16362 if test $ac_cv_sys_file_offset_bits = unknown
; then
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16364 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16365 if ${ac_cv_sys_large_files+:} false
; then :
16366 $as_echo_n "(cached) " >&6
16369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #include <sys/types.h>
16372 /* Check that off_t can represent 2**63 - 1 correctly.
16373 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16374 since some C++ compilers masquerading as C compilers
16375 incorrectly reject 9223372036854775807. */
16376 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16377 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16378 && LARGE_OFF_T % 2147483647 == 1)
16388 if ac_fn_c_try_compile
"$LINENO"; then :
16389 ac_cv_sys_large_files
=no
; break
16391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #define _LARGE_FILES 1
16395 #include <sys/types.h>
16396 /* Check that off_t can represent 2**63 - 1 correctly.
16397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16398 since some C++ compilers masquerading as C compilers
16399 incorrectly reject 9223372036854775807. */
16400 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16402 && LARGE_OFF_T % 2147483647 == 1)
16412 if ac_fn_c_try_compile
"$LINENO"; then :
16413 ac_cv_sys_large_files
=1; break
16415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16416 ac_cv_sys_large_files
=unknown
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16421 $as_echo "$ac_cv_sys_large_files" >&6; }
16422 case $ac_cv_sys_large_files in #(
16425 cat >>confdefs.h
<<_ACEOF
16426 #define _LARGE_FILES $ac_cv_sys_large_files
16438 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16439 if test "x$ac_cv_type_off_t" = xyes
; then :
16443 cat >>confdefs.h
<<_ACEOF
16444 #define off_t long int
16450 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16451 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16453 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16456 for ac_type
in 'int' 'long int' 'long long int'; do
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 $ac_includes_default
16463 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16464 test_array [0] = 0;
16465 return test_array [0];
16471 if ac_fn_c_try_compile
"$LINENO"; then :
16473 cat >>confdefs.h
<<_ACEOF
16474 #define intptr_t $ac_type
16479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16480 test -z "$ac_type" && break
16486 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16487 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16489 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16492 for ac_type
in 'unsigned int' 'unsigned long int' \
16493 'unsigned long long int'; do
16494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 $ac_includes_default
16500 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16501 test_array [0] = 0;
16502 return test_array [0];
16508 if ac_fn_c_try_compile
"$LINENO"; then :
16510 cat >>confdefs.h
<<_ACEOF
16511 #define uintptr_t $ac_type
16516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16517 test -z "$ac_type" && break
16522 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16523 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16525 cat >>confdefs.h
<<_ACEOF
16526 #define HAVE_PTRDIFF_T 1
16533 # check header files (we assume C89 is available, so don't check for that)
16537 for ac_header
in $ac_header_list
16539 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16540 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16542 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16543 cat >>confdefs.h
<<_ACEOF
16544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16589 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16591 acx_cv_header_stdint
=stddef.h
16592 acx_cv_header_stdint_kind
="(already complete)"
16593 for i
in stdint.h
$inttype_headers; do
16594 unset ac_cv_type_uintptr_t
16595 unset ac_cv_type_uintmax_t
16596 unset ac_cv_type_int_least32_t
16597 unset ac_cv_type_int_fast32_t
16598 unset ac_cv_type_uint64_t
16599 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16600 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16603 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16604 acx_cv_header_stdint
=$i
16609 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16612 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16615 acx_cv_header_stdint_kind
="(mostly complete)"
16618 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16621 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16624 acx_cv_header_stdint_kind
="(mostly complete)"
16627 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16630 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16633 acx_cv_header_stdint_kind
="(mostly complete)"
16636 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16639 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16642 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16647 if test "$acx_cv_header_stdint" = stddef.h
; then
16648 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16649 for i
in stdint.h
$inttype_headers; do
16650 unset ac_cv_type_uintptr_t
16651 unset ac_cv_type_uint32_t
16652 unset ac_cv_type_uint64_t
16653 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16654 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16657 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16658 acx_cv_header_stdint
=$i
16663 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16666 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16670 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16673 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16680 if test "$acx_cv_header_stdint" = stddef.h
; then
16681 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16682 for i
in sys
/types.h
$inttype_headers; do
16683 unset ac_cv_type_u_int32_t
16684 unset ac_cv_type_u_int64_t
16685 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16686 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16689 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16690 acx_cv_header_stdint
=$i
16695 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16698 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16705 if test "$acx_cv_header_stdint" = stddef.h
; then
16706 acx_cv_header_stdint_kind
="(using manual detection)"
16709 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16710 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16711 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16712 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16713 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16715 # ----------------- Summarize what we found so far
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16718 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16720 case `$as_basename -- gstdint.h ||
16721 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16722 Xgstdint.h : 'X\(//\)$' \| \
16723 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16724 $as_echo X/gstdint.h |
16725 sed '/^.*\/\([^/][^/]*\)\/*$/{
16738 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16739 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16740 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16741 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16746 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16748 # ----------------- done included file, check C basic types --------
16750 # Lacking an uintptr_t? Test size of void *
16751 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16752 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16755 # This bug is HP SR number 8606223364.
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16757 $as_echo_n "checking size of void *... " >&6; }
16758 if ${ac_cv_sizeof_void_p+:} false
; then :
16759 $as_echo_n "(cached) " >&6
16761 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16764 if test "$ac_cv_type_void_p" = yes; then
16765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16767 as_fn_error
77 "cannot compute sizeof (void *)
16768 See \`config.log' for more details" "$LINENO" 5; }
16770 ac_cv_sizeof_void_p
=0
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16776 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16780 cat >>confdefs.h
<<_ACEOF
16781 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16787 # Lacking an uint64_t? Test size of long
16788 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16789 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16792 # This bug is HP SR number 8606223364.
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16794 $as_echo_n "checking size of long... " >&6; }
16795 if ${ac_cv_sizeof_long+:} false
; then :
16796 $as_echo_n "(cached) " >&6
16798 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16801 if test "$ac_cv_type_long" = yes; then
16802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16804 as_fn_error
77 "cannot compute sizeof (long)
16805 See \`config.log' for more details" "$LINENO" 5; }
16807 ac_cv_sizeof_long
=0
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16813 $as_echo "$ac_cv_sizeof_long" >&6; }
16817 cat >>confdefs.h
<<_ACEOF
16818 #define SIZEOF_LONG $ac_cv_sizeof_long
16824 if test $acx_cv_header_stdint = stddef.h
; then
16825 # Lacking a good header? Test size of everything and deduce all types.
16826 # The cast to long int works around a bug in the HP C Compiler
16827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16829 # This bug is HP SR number 8606223364.
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16831 $as_echo_n "checking size of int... " >&6; }
16832 if ${ac_cv_sizeof_int+:} false
; then :
16833 $as_echo_n "(cached) " >&6
16835 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16838 if test "$ac_cv_type_int" = yes; then
16839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16841 as_fn_error
77 "cannot compute sizeof (int)
16842 See \`config.log' for more details" "$LINENO" 5; }
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16850 $as_echo "$ac_cv_sizeof_int" >&6; }
16854 cat >>confdefs.h
<<_ACEOF
16855 #define SIZEOF_INT $ac_cv_sizeof_int
16859 # The cast to long int works around a bug in the HP C Compiler
16860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16862 # This bug is HP SR number 8606223364.
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16864 $as_echo_n "checking size of short... " >&6; }
16865 if ${ac_cv_sizeof_short+:} false
; then :
16866 $as_echo_n "(cached) " >&6
16868 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16871 if test "$ac_cv_type_short" = yes; then
16872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16874 as_fn_error
77 "cannot compute sizeof (short)
16875 See \`config.log' for more details" "$LINENO" 5; }
16877 ac_cv_sizeof_short
=0
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16883 $as_echo "$ac_cv_sizeof_short" >&6; }
16887 cat >>confdefs.h
<<_ACEOF
16888 #define SIZEOF_SHORT $ac_cv_sizeof_short
16892 # The cast to long int works around a bug in the HP C Compiler
16893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16895 # This bug is HP SR number 8606223364.
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16897 $as_echo_n "checking size of char... " >&6; }
16898 if ${ac_cv_sizeof_char+:} false
; then :
16899 $as_echo_n "(cached) " >&6
16901 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16904 if test "$ac_cv_type_char" = yes; then
16905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16907 as_fn_error
77 "cannot compute sizeof (char)
16908 See \`config.log' for more details" "$LINENO" 5; }
16910 ac_cv_sizeof_char
=0
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16916 $as_echo "$ac_cv_sizeof_char" >&6; }
16920 cat >>confdefs.h
<<_ACEOF
16921 #define SIZEOF_CHAR $ac_cv_sizeof_char
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16927 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16928 case "$ac_cv_sizeof_char" in
16929 1) acx_cv_type_int8_t
=char
;;
16930 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16933 $as_echo "$acx_cv_type_int8_t" >&6; }
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16936 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16937 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16938 2:*) acx_cv_type_int16_t
=int
;;
16939 *:2) acx_cv_type_int16_t
=short
;;
16940 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16943 $as_echo "$acx_cv_type_int16_t" >&6; }
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16946 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16947 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16948 4:*) acx_cv_type_int32_t
=int
;;
16949 *:4) acx_cv_type_int32_t
=long
;;
16950 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16953 $as_echo "$acx_cv_type_int32_t" >&6; }
16956 # These tests are here to make the output prettier
16958 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16959 case "$ac_cv_sizeof_long" in
16960 8) acx_cv_type_int64_t
=long
;;
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16963 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16965 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16968 # Now we can use the above types
16970 if test "$ac_cv_type_uintptr_t" != yes; then
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16972 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16973 case $ac_cv_sizeof_void_p in
16974 2) acx_cv_type_intptr_t
=int16_t
;;
16975 4) acx_cv_type_intptr_t
=int32_t
;;
16976 8) acx_cv_type_intptr_t
=int64_t
;;
16977 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16980 $as_echo "$acx_cv_type_intptr_t" >&6; }
16983 # ----------------- done all checks, emit header -------------
16984 ac_config_commands
="$ac_config_commands gstdint.h"
16989 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16990 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16992 cat >>confdefs.h
<<_ACEOF
16993 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16998 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16999 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17001 cat >>confdefs.h
<<_ACEOF
17002 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17007 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17008 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17010 cat >>confdefs.h
<<_ACEOF
17011 #define HAVE_STRUCT_STAT_ST_RDEV 1
17018 case "${host}--x${with_newlib}" in
17020 hardwire_newlib
=1;;
17022 hardwire_newlib
=1;;
17025 # Check for library functions.
17026 if test "${hardwire_newlib:-0}" -eq 1; then
17027 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17028 # may not work correctly, because the compiler may not be able to
17029 # link executables.
17031 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17034 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17037 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17040 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17043 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17046 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17049 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17052 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17055 # At some point, we should differentiate between architectures
17056 # like x86, which have long double versions, and alpha/powerpc/etc.,
17057 # which don't. For the time being, punt.
17058 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17060 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17067 for ac_func
in $ac_func_list
17069 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17070 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17071 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17072 cat >>confdefs.h
<<_ACEOF
17073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17194 # Check strerror_r, cannot be above as versions with two and three arguments exist
17196 ac_save_CFLAGS
="$CFLAGS"
17197 CFLAGS
="-Wimplicit-function-declaration -Werror"
17198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #define _GNU_SOURCE 1
17201 #include <string.h>
17202 #include <locale.h>
17206 char s[128]; strerror_r(5, s, 128);
17211 if ac_fn_c_try_compile
"$LINENO"; then :
17213 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17217 CFLAGS
="$ac_save_CFLAGS"
17219 ac_save_CFLAGS
="$CFLAGS"
17220 CFLAGS
="-Wimplicit-function-declaration -Werror"
17221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #define _GNU_SOURCE 1
17224 #include <string.h>
17225 #include <locale.h>
17229 char s[128]; strerror_r(5, s);
17234 if ac_fn_c_try_compile
"$LINENO"; then :
17236 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17240 CFLAGS
="$ac_save_CFLAGS"
17243 # Check for C99 (and other IEEE) math functions
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17245 $as_echo_n "checking for sin in -lm... " >&6; }
17246 if ${ac_cv_lib_m_sin+:} false
; then :
17247 $as_echo_n "(cached) " >&6
17249 ac_check_lib_save_LIBS
=$LIBS
17251 if test x
$gcc_no_link = xyes
; then
17252 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17272 if ac_fn_c_try_link
"$LINENO"; then :
17273 ac_cv_lib_m_sin
=yes
17277 rm -f core conftest.err conftest.
$ac_objext \
17278 conftest
$ac_exeext conftest.
$ac_ext
17279 LIBS
=$ac_check_lib_save_LIBS
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17282 $as_echo "$ac_cv_lib_m_sin" >&6; }
17283 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17284 cat >>confdefs.h
<<_ACEOF
17285 #define HAVE_LIBM 1
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17299 $as_echo_n "checking for acosf... " >&6; }
17300 if ${gcc_cv_math_func_acosf+:} false
; then :
17301 $as_echo_n "(cached) " >&6
17303 if test x
$gcc_no_link = xyes
; then
17304 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17309 #ifdef HAVE_COMPLEX_H
17310 #include <complex.h>
17316 int (*ptr)() = (int (*)())acosf;
17325 if ac_fn_c_try_link
"$LINENO"; then :
17326 gcc_cv_math_func_acosf
=yes
17328 gcc_cv_math_func_acosf
=no
17330 rm -f core conftest.err conftest.
$ac_objext \
17331 conftest
$ac_exeext conftest.
$ac_ext
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17334 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17335 if test $gcc_cv_math_func_acosf = yes; then
17337 cat >>confdefs.h
<<_ACEOF
17338 #define HAVE_ACOSF 1
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17347 $as_echo_n "checking for acos... " >&6; }
17348 if ${gcc_cv_math_func_acos+:} false
; then :
17349 $as_echo_n "(cached) " >&6
17351 if test x
$gcc_no_link = xyes
; then
17352 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17357 #ifdef HAVE_COMPLEX_H
17358 #include <complex.h>
17364 int (*ptr)() = (int (*)())acos;
17373 if ac_fn_c_try_link
"$LINENO"; then :
17374 gcc_cv_math_func_acos
=yes
17376 gcc_cv_math_func_acos
=no
17378 rm -f core conftest.err conftest.
$ac_objext \
17379 conftest
$ac_exeext conftest.
$ac_ext
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17382 $as_echo "$gcc_cv_math_func_acos" >&6; }
17383 if test $gcc_cv_math_func_acos = yes; then
17385 cat >>confdefs.h
<<_ACEOF
17386 #define HAVE_ACOS 1
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17395 $as_echo_n "checking for acosl... " >&6; }
17396 if ${gcc_cv_math_func_acosl+:} false
; then :
17397 $as_echo_n "(cached) " >&6
17399 if test x
$gcc_no_link = xyes
; then
17400 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17405 #ifdef HAVE_COMPLEX_H
17406 #include <complex.h>
17412 int (*ptr)() = (int (*)())acosl;
17421 if ac_fn_c_try_link
"$LINENO"; then :
17422 gcc_cv_math_func_acosl
=yes
17424 gcc_cv_math_func_acosl
=no
17426 rm -f core conftest.err conftest.
$ac_objext \
17427 conftest
$ac_exeext conftest.
$ac_ext
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17430 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17431 if test $gcc_cv_math_func_acosl = yes; then
17433 cat >>confdefs.h
<<_ACEOF
17434 #define HAVE_ACOSL 1
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17443 $as_echo_n "checking for acoshf... " >&6; }
17444 if ${gcc_cv_math_func_acoshf+:} false
; then :
17445 $as_echo_n "(cached) " >&6
17447 if test x
$gcc_no_link = xyes
; then
17448 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17453 #ifdef HAVE_COMPLEX_H
17454 #include <complex.h>
17460 int (*ptr)() = (int (*)())acoshf;
17469 if ac_fn_c_try_link
"$LINENO"; then :
17470 gcc_cv_math_func_acoshf
=yes
17472 gcc_cv_math_func_acoshf
=no
17474 rm -f core conftest.err conftest.
$ac_objext \
17475 conftest
$ac_exeext conftest.
$ac_ext
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17478 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17479 if test $gcc_cv_math_func_acoshf = yes; then
17481 cat >>confdefs.h
<<_ACEOF
17482 #define HAVE_ACOSHF 1
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17491 $as_echo_n "checking for acosh... " >&6; }
17492 if ${gcc_cv_math_func_acosh+:} false
; then :
17493 $as_echo_n "(cached) " >&6
17495 if test x
$gcc_no_link = xyes
; then
17496 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17501 #ifdef HAVE_COMPLEX_H
17502 #include <complex.h>
17508 int (*ptr)() = (int (*)())acosh;
17517 if ac_fn_c_try_link
"$LINENO"; then :
17518 gcc_cv_math_func_acosh
=yes
17520 gcc_cv_math_func_acosh
=no
17522 rm -f core conftest.err conftest.
$ac_objext \
17523 conftest
$ac_exeext conftest.
$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17526 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17527 if test $gcc_cv_math_func_acosh = yes; then
17529 cat >>confdefs.h
<<_ACEOF
17530 #define HAVE_ACOSH 1
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17539 $as_echo_n "checking for acoshl... " >&6; }
17540 if ${gcc_cv_math_func_acoshl+:} false
; then :
17541 $as_echo_n "(cached) " >&6
17543 if test x
$gcc_no_link = xyes
; then
17544 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17549 #ifdef HAVE_COMPLEX_H
17550 #include <complex.h>
17556 int (*ptr)() = (int (*)())acoshl;
17565 if ac_fn_c_try_link
"$LINENO"; then :
17566 gcc_cv_math_func_acoshl
=yes
17568 gcc_cv_math_func_acoshl
=no
17570 rm -f core conftest.err conftest.
$ac_objext \
17571 conftest
$ac_exeext conftest.
$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17574 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17575 if test $gcc_cv_math_func_acoshl = yes; then
17577 cat >>confdefs.h
<<_ACEOF
17578 #define HAVE_ACOSHL 1
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17587 $as_echo_n "checking for asinf... " >&6; }
17588 if ${gcc_cv_math_func_asinf+:} false
; then :
17589 $as_echo_n "(cached) " >&6
17591 if test x
$gcc_no_link = xyes
; then
17592 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 #ifdef HAVE_COMPLEX_H
17598 #include <complex.h>
17604 int (*ptr)() = (int (*)())asinf;
17613 if ac_fn_c_try_link
"$LINENO"; then :
17614 gcc_cv_math_func_asinf
=yes
17616 gcc_cv_math_func_asinf
=no
17618 rm -f core conftest.err conftest.
$ac_objext \
17619 conftest
$ac_exeext conftest.
$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17622 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17623 if test $gcc_cv_math_func_asinf = yes; then
17625 cat >>confdefs.h
<<_ACEOF
17626 #define HAVE_ASINF 1
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17635 $as_echo_n "checking for asin... " >&6; }
17636 if ${gcc_cv_math_func_asin+:} false
; then :
17637 $as_echo_n "(cached) " >&6
17639 if test x
$gcc_no_link = xyes
; then
17640 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17645 #ifdef HAVE_COMPLEX_H
17646 #include <complex.h>
17652 int (*ptr)() = (int (*)())asin;
17661 if ac_fn_c_try_link
"$LINENO"; then :
17662 gcc_cv_math_func_asin
=yes
17664 gcc_cv_math_func_asin
=no
17666 rm -f core conftest.err conftest.
$ac_objext \
17667 conftest
$ac_exeext conftest.
$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17670 $as_echo "$gcc_cv_math_func_asin" >&6; }
17671 if test $gcc_cv_math_func_asin = yes; then
17673 cat >>confdefs.h
<<_ACEOF
17674 #define HAVE_ASIN 1
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17683 $as_echo_n "checking for asinl... " >&6; }
17684 if ${gcc_cv_math_func_asinl+:} false
; then :
17685 $as_echo_n "(cached) " >&6
17687 if test x
$gcc_no_link = xyes
; then
17688 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17693 #ifdef HAVE_COMPLEX_H
17694 #include <complex.h>
17700 int (*ptr)() = (int (*)())asinl;
17709 if ac_fn_c_try_link
"$LINENO"; then :
17710 gcc_cv_math_func_asinl
=yes
17712 gcc_cv_math_func_asinl
=no
17714 rm -f core conftest.err conftest.
$ac_objext \
17715 conftest
$ac_exeext conftest.
$ac_ext
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17718 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17719 if test $gcc_cv_math_func_asinl = yes; then
17721 cat >>confdefs.h
<<_ACEOF
17722 #define HAVE_ASINL 1
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17731 $as_echo_n "checking for asinhf... " >&6; }
17732 if ${gcc_cv_math_func_asinhf+:} false
; then :
17733 $as_echo_n "(cached) " >&6
17735 if test x
$gcc_no_link = xyes
; then
17736 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17741 #ifdef HAVE_COMPLEX_H
17742 #include <complex.h>
17748 int (*ptr)() = (int (*)())asinhf;
17757 if ac_fn_c_try_link
"$LINENO"; then :
17758 gcc_cv_math_func_asinhf
=yes
17760 gcc_cv_math_func_asinhf
=no
17762 rm -f core conftest.err conftest.
$ac_objext \
17763 conftest
$ac_exeext conftest.
$ac_ext
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17766 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17767 if test $gcc_cv_math_func_asinhf = yes; then
17769 cat >>confdefs.h
<<_ACEOF
17770 #define HAVE_ASINHF 1
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17779 $as_echo_n "checking for asinh... " >&6; }
17780 if ${gcc_cv_math_func_asinh+:} false
; then :
17781 $as_echo_n "(cached) " >&6
17783 if test x
$gcc_no_link = xyes
; then
17784 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 #ifdef HAVE_COMPLEX_H
17790 #include <complex.h>
17796 int (*ptr)() = (int (*)())asinh;
17805 if ac_fn_c_try_link
"$LINENO"; then :
17806 gcc_cv_math_func_asinh
=yes
17808 gcc_cv_math_func_asinh
=no
17810 rm -f core conftest.err conftest.
$ac_objext \
17811 conftest
$ac_exeext conftest.
$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17814 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17815 if test $gcc_cv_math_func_asinh = yes; then
17817 cat >>confdefs.h
<<_ACEOF
17818 #define HAVE_ASINH 1
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17827 $as_echo_n "checking for asinhl... " >&6; }
17828 if ${gcc_cv_math_func_asinhl+:} false
; then :
17829 $as_echo_n "(cached) " >&6
17831 if test x
$gcc_no_link = xyes
; then
17832 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17837 #ifdef HAVE_COMPLEX_H
17838 #include <complex.h>
17844 int (*ptr)() = (int (*)())asinhl;
17853 if ac_fn_c_try_link
"$LINENO"; then :
17854 gcc_cv_math_func_asinhl
=yes
17856 gcc_cv_math_func_asinhl
=no
17858 rm -f core conftest.err conftest.
$ac_objext \
17859 conftest
$ac_exeext conftest.
$ac_ext
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17862 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17863 if test $gcc_cv_math_func_asinhl = yes; then
17865 cat >>confdefs.h
<<_ACEOF
17866 #define HAVE_ASINHL 1
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17875 $as_echo_n "checking for atan2f... " >&6; }
17876 if ${gcc_cv_math_func_atan2f+:} false
; then :
17877 $as_echo_n "(cached) " >&6
17879 if test x
$gcc_no_link = xyes
; then
17880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17885 #ifdef HAVE_COMPLEX_H
17886 #include <complex.h>
17892 int (*ptr)() = (int (*)())atan2f;
17901 if ac_fn_c_try_link
"$LINENO"; then :
17902 gcc_cv_math_func_atan2f
=yes
17904 gcc_cv_math_func_atan2f
=no
17906 rm -f core conftest.err conftest.
$ac_objext \
17907 conftest
$ac_exeext conftest.
$ac_ext
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17910 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17911 if test $gcc_cv_math_func_atan2f = yes; then
17913 cat >>confdefs.h
<<_ACEOF
17914 #define HAVE_ATAN2F 1
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17923 $as_echo_n "checking for atan2... " >&6; }
17924 if ${gcc_cv_math_func_atan2+:} false
; then :
17925 $as_echo_n "(cached) " >&6
17927 if test x
$gcc_no_link = xyes
; then
17928 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17933 #ifdef HAVE_COMPLEX_H
17934 #include <complex.h>
17940 int (*ptr)() = (int (*)())atan2;
17949 if ac_fn_c_try_link
"$LINENO"; then :
17950 gcc_cv_math_func_atan2
=yes
17952 gcc_cv_math_func_atan2
=no
17954 rm -f core conftest.err conftest.
$ac_objext \
17955 conftest
$ac_exeext conftest.
$ac_ext
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17958 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17959 if test $gcc_cv_math_func_atan2 = yes; then
17961 cat >>confdefs.h
<<_ACEOF
17962 #define HAVE_ATAN2 1
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17971 $as_echo_n "checking for atan2l... " >&6; }
17972 if ${gcc_cv_math_func_atan2l+:} false
; then :
17973 $as_echo_n "(cached) " >&6
17975 if test x
$gcc_no_link = xyes
; then
17976 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 #ifdef HAVE_COMPLEX_H
17982 #include <complex.h>
17988 int (*ptr)() = (int (*)())atan2l;
17997 if ac_fn_c_try_link
"$LINENO"; then :
17998 gcc_cv_math_func_atan2l
=yes
18000 gcc_cv_math_func_atan2l
=no
18002 rm -f core conftest.err conftest.
$ac_objext \
18003 conftest
$ac_exeext conftest.
$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18006 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18007 if test $gcc_cv_math_func_atan2l = yes; then
18009 cat >>confdefs.h
<<_ACEOF
18010 #define HAVE_ATAN2L 1
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18019 $as_echo_n "checking for atanf... " >&6; }
18020 if ${gcc_cv_math_func_atanf+:} false
; then :
18021 $as_echo_n "(cached) " >&6
18023 if test x
$gcc_no_link = xyes
; then
18024 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18029 #ifdef HAVE_COMPLEX_H
18030 #include <complex.h>
18036 int (*ptr)() = (int (*)())atanf;
18045 if ac_fn_c_try_link
"$LINENO"; then :
18046 gcc_cv_math_func_atanf
=yes
18048 gcc_cv_math_func_atanf
=no
18050 rm -f core conftest.err conftest.
$ac_objext \
18051 conftest
$ac_exeext conftest.
$ac_ext
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18054 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18055 if test $gcc_cv_math_func_atanf = yes; then
18057 cat >>confdefs.h
<<_ACEOF
18058 #define HAVE_ATANF 1
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18067 $as_echo_n "checking for atan... " >&6; }
18068 if ${gcc_cv_math_func_atan+:} false
; then :
18069 $as_echo_n "(cached) " >&6
18071 if test x
$gcc_no_link = xyes
; then
18072 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 #ifdef HAVE_COMPLEX_H
18078 #include <complex.h>
18084 int (*ptr)() = (int (*)())atan;
18093 if ac_fn_c_try_link
"$LINENO"; then :
18094 gcc_cv_math_func_atan
=yes
18096 gcc_cv_math_func_atan
=no
18098 rm -f core conftest.err conftest.
$ac_objext \
18099 conftest
$ac_exeext conftest.
$ac_ext
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18102 $as_echo "$gcc_cv_math_func_atan" >&6; }
18103 if test $gcc_cv_math_func_atan = yes; then
18105 cat >>confdefs.h
<<_ACEOF
18106 #define HAVE_ATAN 1
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18115 $as_echo_n "checking for atanl... " >&6; }
18116 if ${gcc_cv_math_func_atanl+:} false
; then :
18117 $as_echo_n "(cached) " >&6
18119 if test x
$gcc_no_link = xyes
; then
18120 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18125 #ifdef HAVE_COMPLEX_H
18126 #include <complex.h>
18132 int (*ptr)() = (int (*)())atanl;
18141 if ac_fn_c_try_link
"$LINENO"; then :
18142 gcc_cv_math_func_atanl
=yes
18144 gcc_cv_math_func_atanl
=no
18146 rm -f core conftest.err conftest.
$ac_objext \
18147 conftest
$ac_exeext conftest.
$ac_ext
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18150 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18151 if test $gcc_cv_math_func_atanl = yes; then
18153 cat >>confdefs.h
<<_ACEOF
18154 #define HAVE_ATANL 1
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18163 $as_echo_n "checking for atanhf... " >&6; }
18164 if ${gcc_cv_math_func_atanhf+:} false
; then :
18165 $as_echo_n "(cached) " >&6
18167 if test x
$gcc_no_link = xyes
; then
18168 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 #ifdef HAVE_COMPLEX_H
18174 #include <complex.h>
18180 int (*ptr)() = (int (*)())atanhf;
18189 if ac_fn_c_try_link
"$LINENO"; then :
18190 gcc_cv_math_func_atanhf
=yes
18192 gcc_cv_math_func_atanhf
=no
18194 rm -f core conftest.err conftest.
$ac_objext \
18195 conftest
$ac_exeext conftest.
$ac_ext
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18198 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18199 if test $gcc_cv_math_func_atanhf = yes; then
18201 cat >>confdefs.h
<<_ACEOF
18202 #define HAVE_ATANHF 1
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18211 $as_echo_n "checking for atanh... " >&6; }
18212 if ${gcc_cv_math_func_atanh+:} false
; then :
18213 $as_echo_n "(cached) " >&6
18215 if test x
$gcc_no_link = xyes
; then
18216 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18221 #ifdef HAVE_COMPLEX_H
18222 #include <complex.h>
18228 int (*ptr)() = (int (*)())atanh;
18237 if ac_fn_c_try_link
"$LINENO"; then :
18238 gcc_cv_math_func_atanh
=yes
18240 gcc_cv_math_func_atanh
=no
18242 rm -f core conftest.err conftest.
$ac_objext \
18243 conftest
$ac_exeext conftest.
$ac_ext
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18246 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18247 if test $gcc_cv_math_func_atanh = yes; then
18249 cat >>confdefs.h
<<_ACEOF
18250 #define HAVE_ATANH 1
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18259 $as_echo_n "checking for atanhl... " >&6; }
18260 if ${gcc_cv_math_func_atanhl+:} false
; then :
18261 $as_echo_n "(cached) " >&6
18263 if test x
$gcc_no_link = xyes
; then
18264 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18269 #ifdef HAVE_COMPLEX_H
18270 #include <complex.h>
18276 int (*ptr)() = (int (*)())atanhl;
18285 if ac_fn_c_try_link
"$LINENO"; then :
18286 gcc_cv_math_func_atanhl
=yes
18288 gcc_cv_math_func_atanhl
=no
18290 rm -f core conftest.err conftest.
$ac_objext \
18291 conftest
$ac_exeext conftest.
$ac_ext
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18294 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18295 if test $gcc_cv_math_func_atanhl = yes; then
18297 cat >>confdefs.h
<<_ACEOF
18298 #define HAVE_ATANHL 1
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18307 $as_echo_n "checking for cargf... " >&6; }
18308 if ${gcc_cv_math_func_cargf+:} false
; then :
18309 $as_echo_n "(cached) " >&6
18311 if test x
$gcc_no_link = xyes
; then
18312 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 #ifdef HAVE_COMPLEX_H
18318 #include <complex.h>
18324 int (*ptr)() = (int (*)())cargf;
18333 if ac_fn_c_try_link
"$LINENO"; then :
18334 gcc_cv_math_func_cargf
=yes
18336 gcc_cv_math_func_cargf
=no
18338 rm -f core conftest.err conftest.
$ac_objext \
18339 conftest
$ac_exeext conftest.
$ac_ext
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18342 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18343 if test $gcc_cv_math_func_cargf = yes; then
18345 cat >>confdefs.h
<<_ACEOF
18346 #define HAVE_CARGF 1
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18355 $as_echo_n "checking for carg... " >&6; }
18356 if ${gcc_cv_math_func_carg+:} false
; then :
18357 $as_echo_n "(cached) " >&6
18359 if test x
$gcc_no_link = xyes
; then
18360 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18365 #ifdef HAVE_COMPLEX_H
18366 #include <complex.h>
18372 int (*ptr)() = (int (*)())carg;
18381 if ac_fn_c_try_link
"$LINENO"; then :
18382 gcc_cv_math_func_carg
=yes
18384 gcc_cv_math_func_carg
=no
18386 rm -f core conftest.err conftest.
$ac_objext \
18387 conftest
$ac_exeext conftest.
$ac_ext
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18390 $as_echo "$gcc_cv_math_func_carg" >&6; }
18391 if test $gcc_cv_math_func_carg = yes; then
18393 cat >>confdefs.h
<<_ACEOF
18394 #define HAVE_CARG 1
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18403 $as_echo_n "checking for cargl... " >&6; }
18404 if ${gcc_cv_math_func_cargl+:} false
; then :
18405 $as_echo_n "(cached) " >&6
18407 if test x
$gcc_no_link = xyes
; then
18408 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18413 #ifdef HAVE_COMPLEX_H
18414 #include <complex.h>
18420 int (*ptr)() = (int (*)())cargl;
18429 if ac_fn_c_try_link
"$LINENO"; then :
18430 gcc_cv_math_func_cargl
=yes
18432 gcc_cv_math_func_cargl
=no
18434 rm -f core conftest.err conftest.
$ac_objext \
18435 conftest
$ac_exeext conftest.
$ac_ext
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18438 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18439 if test $gcc_cv_math_func_cargl = yes; then
18441 cat >>confdefs.h
<<_ACEOF
18442 #define HAVE_CARGL 1
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18451 $as_echo_n "checking for ceilf... " >&6; }
18452 if ${gcc_cv_math_func_ceilf+:} false
; then :
18453 $as_echo_n "(cached) " >&6
18455 if test x
$gcc_no_link = xyes
; then
18456 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18461 #ifdef HAVE_COMPLEX_H
18462 #include <complex.h>
18468 int (*ptr)() = (int (*)())ceilf;
18477 if ac_fn_c_try_link
"$LINENO"; then :
18478 gcc_cv_math_func_ceilf
=yes
18480 gcc_cv_math_func_ceilf
=no
18482 rm -f core conftest.err conftest.
$ac_objext \
18483 conftest
$ac_exeext conftest.
$ac_ext
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18486 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18487 if test $gcc_cv_math_func_ceilf = yes; then
18489 cat >>confdefs.h
<<_ACEOF
18490 #define HAVE_CEILF 1
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18499 $as_echo_n "checking for ceil... " >&6; }
18500 if ${gcc_cv_math_func_ceil+:} false
; then :
18501 $as_echo_n "(cached) " >&6
18503 if test x
$gcc_no_link = xyes
; then
18504 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18509 #ifdef HAVE_COMPLEX_H
18510 #include <complex.h>
18516 int (*ptr)() = (int (*)())ceil;
18525 if ac_fn_c_try_link
"$LINENO"; then :
18526 gcc_cv_math_func_ceil
=yes
18528 gcc_cv_math_func_ceil
=no
18530 rm -f core conftest.err conftest.
$ac_objext \
18531 conftest
$ac_exeext conftest.
$ac_ext
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18534 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18535 if test $gcc_cv_math_func_ceil = yes; then
18537 cat >>confdefs.h
<<_ACEOF
18538 #define HAVE_CEIL 1
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18547 $as_echo_n "checking for ceill... " >&6; }
18548 if ${gcc_cv_math_func_ceill+:} false
; then :
18549 $as_echo_n "(cached) " >&6
18551 if test x
$gcc_no_link = xyes
; then
18552 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18557 #ifdef HAVE_COMPLEX_H
18558 #include <complex.h>
18564 int (*ptr)() = (int (*)())ceill;
18573 if ac_fn_c_try_link
"$LINENO"; then :
18574 gcc_cv_math_func_ceill
=yes
18576 gcc_cv_math_func_ceill
=no
18578 rm -f core conftest.err conftest.
$ac_objext \
18579 conftest
$ac_exeext conftest.
$ac_ext
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18582 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18583 if test $gcc_cv_math_func_ceill = yes; then
18585 cat >>confdefs.h
<<_ACEOF
18586 #define HAVE_CEILL 1
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18595 $as_echo_n "checking for copysignf... " >&6; }
18596 if ${gcc_cv_math_func_copysignf+:} false
; then :
18597 $as_echo_n "(cached) " >&6
18599 if test x
$gcc_no_link = xyes
; then
18600 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18605 #ifdef HAVE_COMPLEX_H
18606 #include <complex.h>
18612 int (*ptr)() = (int (*)())copysignf;
18621 if ac_fn_c_try_link
"$LINENO"; then :
18622 gcc_cv_math_func_copysignf
=yes
18624 gcc_cv_math_func_copysignf
=no
18626 rm -f core conftest.err conftest.
$ac_objext \
18627 conftest
$ac_exeext conftest.
$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18630 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18631 if test $gcc_cv_math_func_copysignf = yes; then
18633 cat >>confdefs.h
<<_ACEOF
18634 #define HAVE_COPYSIGNF 1
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18643 $as_echo_n "checking for copysign... " >&6; }
18644 if ${gcc_cv_math_func_copysign+:} false
; then :
18645 $as_echo_n "(cached) " >&6
18647 if test x
$gcc_no_link = xyes
; then
18648 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18653 #ifdef HAVE_COMPLEX_H
18654 #include <complex.h>
18660 int (*ptr)() = (int (*)())copysign;
18669 if ac_fn_c_try_link
"$LINENO"; then :
18670 gcc_cv_math_func_copysign
=yes
18672 gcc_cv_math_func_copysign
=no
18674 rm -f core conftest.err conftest.
$ac_objext \
18675 conftest
$ac_exeext conftest.
$ac_ext
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18678 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18679 if test $gcc_cv_math_func_copysign = yes; then
18681 cat >>confdefs.h
<<_ACEOF
18682 #define HAVE_COPYSIGN 1
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18691 $as_echo_n "checking for copysignl... " >&6; }
18692 if ${gcc_cv_math_func_copysignl+:} false
; then :
18693 $as_echo_n "(cached) " >&6
18695 if test x
$gcc_no_link = xyes
; then
18696 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18701 #ifdef HAVE_COMPLEX_H
18702 #include <complex.h>
18708 int (*ptr)() = (int (*)())copysignl;
18717 if ac_fn_c_try_link
"$LINENO"; then :
18718 gcc_cv_math_func_copysignl
=yes
18720 gcc_cv_math_func_copysignl
=no
18722 rm -f core conftest.err conftest.
$ac_objext \
18723 conftest
$ac_exeext conftest.
$ac_ext
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18726 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18727 if test $gcc_cv_math_func_copysignl = yes; then
18729 cat >>confdefs.h
<<_ACEOF
18730 #define HAVE_COPYSIGNL 1
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18739 $as_echo_n "checking for cosf... " >&6; }
18740 if ${gcc_cv_math_func_cosf+:} false
; then :
18741 $as_echo_n "(cached) " >&6
18743 if test x
$gcc_no_link = xyes
; then
18744 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18749 #ifdef HAVE_COMPLEX_H
18750 #include <complex.h>
18756 int (*ptr)() = (int (*)())cosf;
18765 if ac_fn_c_try_link
"$LINENO"; then :
18766 gcc_cv_math_func_cosf
=yes
18768 gcc_cv_math_func_cosf
=no
18770 rm -f core conftest.err conftest.
$ac_objext \
18771 conftest
$ac_exeext conftest.
$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18774 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18775 if test $gcc_cv_math_func_cosf = yes; then
18777 cat >>confdefs.h
<<_ACEOF
18778 #define HAVE_COSF 1
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18787 $as_echo_n "checking for cos... " >&6; }
18788 if ${gcc_cv_math_func_cos+:} false
; then :
18789 $as_echo_n "(cached) " >&6
18791 if test x
$gcc_no_link = xyes
; then
18792 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18797 #ifdef HAVE_COMPLEX_H
18798 #include <complex.h>
18804 int (*ptr)() = (int (*)())cos;
18813 if ac_fn_c_try_link
"$LINENO"; then :
18814 gcc_cv_math_func_cos
=yes
18816 gcc_cv_math_func_cos
=no
18818 rm -f core conftest.err conftest.
$ac_objext \
18819 conftest
$ac_exeext conftest.
$ac_ext
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18822 $as_echo "$gcc_cv_math_func_cos" >&6; }
18823 if test $gcc_cv_math_func_cos = yes; then
18825 cat >>confdefs.h
<<_ACEOF
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18835 $as_echo_n "checking for cosl... " >&6; }
18836 if ${gcc_cv_math_func_cosl+:} false
; then :
18837 $as_echo_n "(cached) " >&6
18839 if test x
$gcc_no_link = xyes
; then
18840 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18845 #ifdef HAVE_COMPLEX_H
18846 #include <complex.h>
18852 int (*ptr)() = (int (*)())cosl;
18861 if ac_fn_c_try_link
"$LINENO"; then :
18862 gcc_cv_math_func_cosl
=yes
18864 gcc_cv_math_func_cosl
=no
18866 rm -f core conftest.err conftest.
$ac_objext \
18867 conftest
$ac_exeext conftest.
$ac_ext
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18870 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18871 if test $gcc_cv_math_func_cosl = yes; then
18873 cat >>confdefs.h
<<_ACEOF
18874 #define HAVE_COSL 1
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18883 $as_echo_n "checking for ccosf... " >&6; }
18884 if ${gcc_cv_math_func_ccosf+:} false
; then :
18885 $as_echo_n "(cached) " >&6
18887 if test x
$gcc_no_link = xyes
; then
18888 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18893 #ifdef HAVE_COMPLEX_H
18894 #include <complex.h>
18900 int (*ptr)() = (int (*)())ccosf;
18909 if ac_fn_c_try_link
"$LINENO"; then :
18910 gcc_cv_math_func_ccosf
=yes
18912 gcc_cv_math_func_ccosf
=no
18914 rm -f core conftest.err conftest.
$ac_objext \
18915 conftest
$ac_exeext conftest.
$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18918 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18919 if test $gcc_cv_math_func_ccosf = yes; then
18921 cat >>confdefs.h
<<_ACEOF
18922 #define HAVE_CCOSF 1
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18931 $as_echo_n "checking for ccos... " >&6; }
18932 if ${gcc_cv_math_func_ccos+:} false
; then :
18933 $as_echo_n "(cached) " >&6
18935 if test x
$gcc_no_link = xyes
; then
18936 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18941 #ifdef HAVE_COMPLEX_H
18942 #include <complex.h>
18948 int (*ptr)() = (int (*)())ccos;
18957 if ac_fn_c_try_link
"$LINENO"; then :
18958 gcc_cv_math_func_ccos
=yes
18960 gcc_cv_math_func_ccos
=no
18962 rm -f core conftest.err conftest.
$ac_objext \
18963 conftest
$ac_exeext conftest.
$ac_ext
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18966 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18967 if test $gcc_cv_math_func_ccos = yes; then
18969 cat >>confdefs.h
<<_ACEOF
18970 #define HAVE_CCOS 1
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18979 $as_echo_n "checking for ccosl... " >&6; }
18980 if ${gcc_cv_math_func_ccosl+:} false
; then :
18981 $as_echo_n "(cached) " >&6
18983 if test x
$gcc_no_link = xyes
; then
18984 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18989 #ifdef HAVE_COMPLEX_H
18990 #include <complex.h>
18996 int (*ptr)() = (int (*)())ccosl;
19005 if ac_fn_c_try_link
"$LINENO"; then :
19006 gcc_cv_math_func_ccosl
=yes
19008 gcc_cv_math_func_ccosl
=no
19010 rm -f core conftest.err conftest.
$ac_objext \
19011 conftest
$ac_exeext conftest.
$ac_ext
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19014 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19015 if test $gcc_cv_math_func_ccosl = yes; then
19017 cat >>confdefs.h
<<_ACEOF
19018 #define HAVE_CCOSL 1
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19027 $as_echo_n "checking for coshf... " >&6; }
19028 if ${gcc_cv_math_func_coshf+:} false
; then :
19029 $as_echo_n "(cached) " >&6
19031 if test x
$gcc_no_link = xyes
; then
19032 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 #ifdef HAVE_COMPLEX_H
19038 #include <complex.h>
19044 int (*ptr)() = (int (*)())coshf;
19053 if ac_fn_c_try_link
"$LINENO"; then :
19054 gcc_cv_math_func_coshf
=yes
19056 gcc_cv_math_func_coshf
=no
19058 rm -f core conftest.err conftest.
$ac_objext \
19059 conftest
$ac_exeext conftest.
$ac_ext
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19062 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19063 if test $gcc_cv_math_func_coshf = yes; then
19065 cat >>confdefs.h
<<_ACEOF
19066 #define HAVE_COSHF 1
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19075 $as_echo_n "checking for cosh... " >&6; }
19076 if ${gcc_cv_math_func_cosh+:} false
; then :
19077 $as_echo_n "(cached) " >&6
19079 if test x
$gcc_no_link = xyes
; then
19080 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19085 #ifdef HAVE_COMPLEX_H
19086 #include <complex.h>
19092 int (*ptr)() = (int (*)())cosh;
19101 if ac_fn_c_try_link
"$LINENO"; then :
19102 gcc_cv_math_func_cosh
=yes
19104 gcc_cv_math_func_cosh
=no
19106 rm -f core conftest.err conftest.
$ac_objext \
19107 conftest
$ac_exeext conftest.
$ac_ext
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19110 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19111 if test $gcc_cv_math_func_cosh = yes; then
19113 cat >>confdefs.h
<<_ACEOF
19114 #define HAVE_COSH 1
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19123 $as_echo_n "checking for coshl... " >&6; }
19124 if ${gcc_cv_math_func_coshl+:} false
; then :
19125 $as_echo_n "(cached) " >&6
19127 if test x
$gcc_no_link = xyes
; then
19128 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h. */
19133 #ifdef HAVE_COMPLEX_H
19134 #include <complex.h>
19140 int (*ptr)() = (int (*)())coshl;
19149 if ac_fn_c_try_link
"$LINENO"; then :
19150 gcc_cv_math_func_coshl
=yes
19152 gcc_cv_math_func_coshl
=no
19154 rm -f core conftest.err conftest.
$ac_objext \
19155 conftest
$ac_exeext conftest.
$ac_ext
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19158 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19159 if test $gcc_cv_math_func_coshl = yes; then
19161 cat >>confdefs.h
<<_ACEOF
19162 #define HAVE_COSHL 1
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19171 $as_echo_n "checking for ccoshf... " >&6; }
19172 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19173 $as_echo_n "(cached) " >&6
19175 if test x
$gcc_no_link = xyes
; then
19176 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19181 #ifdef HAVE_COMPLEX_H
19182 #include <complex.h>
19188 int (*ptr)() = (int (*)())ccoshf;
19197 if ac_fn_c_try_link
"$LINENO"; then :
19198 gcc_cv_math_func_ccoshf
=yes
19200 gcc_cv_math_func_ccoshf
=no
19202 rm -f core conftest.err conftest.
$ac_objext \
19203 conftest
$ac_exeext conftest.
$ac_ext
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19206 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19207 if test $gcc_cv_math_func_ccoshf = yes; then
19209 cat >>confdefs.h
<<_ACEOF
19210 #define HAVE_CCOSHF 1
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19219 $as_echo_n "checking for ccosh... " >&6; }
19220 if ${gcc_cv_math_func_ccosh+:} false
; then :
19221 $as_echo_n "(cached) " >&6
19223 if test x
$gcc_no_link = xyes
; then
19224 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19229 #ifdef HAVE_COMPLEX_H
19230 #include <complex.h>
19236 int (*ptr)() = (int (*)())ccosh;
19245 if ac_fn_c_try_link
"$LINENO"; then :
19246 gcc_cv_math_func_ccosh
=yes
19248 gcc_cv_math_func_ccosh
=no
19250 rm -f core conftest.err conftest.
$ac_objext \
19251 conftest
$ac_exeext conftest.
$ac_ext
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19254 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19255 if test $gcc_cv_math_func_ccosh = yes; then
19257 cat >>confdefs.h
<<_ACEOF
19258 #define HAVE_CCOSH 1
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19267 $as_echo_n "checking for ccoshl... " >&6; }
19268 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19269 $as_echo_n "(cached) " >&6
19271 if test x
$gcc_no_link = xyes
; then
19272 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19277 #ifdef HAVE_COMPLEX_H
19278 #include <complex.h>
19284 int (*ptr)() = (int (*)())ccoshl;
19293 if ac_fn_c_try_link
"$LINENO"; then :
19294 gcc_cv_math_func_ccoshl
=yes
19296 gcc_cv_math_func_ccoshl
=no
19298 rm -f core conftest.err conftest.
$ac_objext \
19299 conftest
$ac_exeext conftest.
$ac_ext
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19302 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19303 if test $gcc_cv_math_func_ccoshl = yes; then
19305 cat >>confdefs.h
<<_ACEOF
19306 #define HAVE_CCOSHL 1
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19315 $as_echo_n "checking for expf... " >&6; }
19316 if ${gcc_cv_math_func_expf+:} false
; then :
19317 $as_echo_n "(cached) " >&6
19319 if test x
$gcc_no_link = xyes
; then
19320 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19325 #ifdef HAVE_COMPLEX_H
19326 #include <complex.h>
19332 int (*ptr)() = (int (*)())expf;
19341 if ac_fn_c_try_link
"$LINENO"; then :
19342 gcc_cv_math_func_expf
=yes
19344 gcc_cv_math_func_expf
=no
19346 rm -f core conftest.err conftest.
$ac_objext \
19347 conftest
$ac_exeext conftest.
$ac_ext
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19350 $as_echo "$gcc_cv_math_func_expf" >&6; }
19351 if test $gcc_cv_math_func_expf = yes; then
19353 cat >>confdefs.h
<<_ACEOF
19354 #define HAVE_EXPF 1
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19363 $as_echo_n "checking for exp... " >&6; }
19364 if ${gcc_cv_math_func_exp+:} false
; then :
19365 $as_echo_n "(cached) " >&6
19367 if test x
$gcc_no_link = xyes
; then
19368 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19373 #ifdef HAVE_COMPLEX_H
19374 #include <complex.h>
19380 int (*ptr)() = (int (*)())exp;
19389 if ac_fn_c_try_link
"$LINENO"; then :
19390 gcc_cv_math_func_exp
=yes
19392 gcc_cv_math_func_exp
=no
19394 rm -f core conftest.err conftest.
$ac_objext \
19395 conftest
$ac_exeext conftest.
$ac_ext
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19398 $as_echo "$gcc_cv_math_func_exp" >&6; }
19399 if test $gcc_cv_math_func_exp = yes; then
19401 cat >>confdefs.h
<<_ACEOF
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19411 $as_echo_n "checking for expl... " >&6; }
19412 if ${gcc_cv_math_func_expl+:} false
; then :
19413 $as_echo_n "(cached) " >&6
19415 if test x
$gcc_no_link = xyes
; then
19416 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19421 #ifdef HAVE_COMPLEX_H
19422 #include <complex.h>
19428 int (*ptr)() = (int (*)())expl;
19437 if ac_fn_c_try_link
"$LINENO"; then :
19438 gcc_cv_math_func_expl
=yes
19440 gcc_cv_math_func_expl
=no
19442 rm -f core conftest.err conftest.
$ac_objext \
19443 conftest
$ac_exeext conftest.
$ac_ext
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19446 $as_echo "$gcc_cv_math_func_expl" >&6; }
19447 if test $gcc_cv_math_func_expl = yes; then
19449 cat >>confdefs.h
<<_ACEOF
19450 #define HAVE_EXPL 1
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19459 $as_echo_n "checking for cexpf... " >&6; }
19460 if ${gcc_cv_math_func_cexpf+:} false
; then :
19461 $as_echo_n "(cached) " >&6
19463 if test x
$gcc_no_link = xyes
; then
19464 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19469 #ifdef HAVE_COMPLEX_H
19470 #include <complex.h>
19476 int (*ptr)() = (int (*)())cexpf;
19485 if ac_fn_c_try_link
"$LINENO"; then :
19486 gcc_cv_math_func_cexpf
=yes
19488 gcc_cv_math_func_cexpf
=no
19490 rm -f core conftest.err conftest.
$ac_objext \
19491 conftest
$ac_exeext conftest.
$ac_ext
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19494 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19495 if test $gcc_cv_math_func_cexpf = yes; then
19497 cat >>confdefs.h
<<_ACEOF
19498 #define HAVE_CEXPF 1
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19507 $as_echo_n "checking for cexp... " >&6; }
19508 if ${gcc_cv_math_func_cexp+:} false
; then :
19509 $as_echo_n "(cached) " >&6
19511 if test x
$gcc_no_link = xyes
; then
19512 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19517 #ifdef HAVE_COMPLEX_H
19518 #include <complex.h>
19524 int (*ptr)() = (int (*)())cexp;
19533 if ac_fn_c_try_link
"$LINENO"; then :
19534 gcc_cv_math_func_cexp
=yes
19536 gcc_cv_math_func_cexp
=no
19538 rm -f core conftest.err conftest.
$ac_objext \
19539 conftest
$ac_exeext conftest.
$ac_ext
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19542 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19543 if test $gcc_cv_math_func_cexp = yes; then
19545 cat >>confdefs.h
<<_ACEOF
19546 #define HAVE_CEXP 1
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19555 $as_echo_n "checking for cexpl... " >&6; }
19556 if ${gcc_cv_math_func_cexpl+:} false
; then :
19557 $as_echo_n "(cached) " >&6
19559 if test x
$gcc_no_link = xyes
; then
19560 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19565 #ifdef HAVE_COMPLEX_H
19566 #include <complex.h>
19572 int (*ptr)() = (int (*)())cexpl;
19581 if ac_fn_c_try_link
"$LINENO"; then :
19582 gcc_cv_math_func_cexpl
=yes
19584 gcc_cv_math_func_cexpl
=no
19586 rm -f core conftest.err conftest.
$ac_objext \
19587 conftest
$ac_exeext conftest.
$ac_ext
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19590 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19591 if test $gcc_cv_math_func_cexpl = yes; then
19593 cat >>confdefs.h
<<_ACEOF
19594 #define HAVE_CEXPL 1
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19603 $as_echo_n "checking for fabsf... " >&6; }
19604 if ${gcc_cv_math_func_fabsf+:} false
; then :
19605 $as_echo_n "(cached) " >&6
19607 if test x
$gcc_no_link = xyes
; then
19608 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19613 #ifdef HAVE_COMPLEX_H
19614 #include <complex.h>
19620 int (*ptr)() = (int (*)())fabsf;
19629 if ac_fn_c_try_link
"$LINENO"; then :
19630 gcc_cv_math_func_fabsf
=yes
19632 gcc_cv_math_func_fabsf
=no
19634 rm -f core conftest.err conftest.
$ac_objext \
19635 conftest
$ac_exeext conftest.
$ac_ext
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19638 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19639 if test $gcc_cv_math_func_fabsf = yes; then
19641 cat >>confdefs.h
<<_ACEOF
19642 #define HAVE_FABSF 1
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19651 $as_echo_n "checking for fabs... " >&6; }
19652 if ${gcc_cv_math_func_fabs+:} false
; then :
19653 $as_echo_n "(cached) " >&6
19655 if test x
$gcc_no_link = xyes
; then
19656 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19661 #ifdef HAVE_COMPLEX_H
19662 #include <complex.h>
19668 int (*ptr)() = (int (*)())fabs;
19677 if ac_fn_c_try_link
"$LINENO"; then :
19678 gcc_cv_math_func_fabs
=yes
19680 gcc_cv_math_func_fabs
=no
19682 rm -f core conftest.err conftest.
$ac_objext \
19683 conftest
$ac_exeext conftest.
$ac_ext
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19686 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19687 if test $gcc_cv_math_func_fabs = yes; then
19689 cat >>confdefs.h
<<_ACEOF
19690 #define HAVE_FABS 1
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19699 $as_echo_n "checking for fabsl... " >&6; }
19700 if ${gcc_cv_math_func_fabsl+:} false
; then :
19701 $as_echo_n "(cached) " >&6
19703 if test x
$gcc_no_link = xyes
; then
19704 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19709 #ifdef HAVE_COMPLEX_H
19710 #include <complex.h>
19716 int (*ptr)() = (int (*)())fabsl;
19725 if ac_fn_c_try_link
"$LINENO"; then :
19726 gcc_cv_math_func_fabsl
=yes
19728 gcc_cv_math_func_fabsl
=no
19730 rm -f core conftest.err conftest.
$ac_objext \
19731 conftest
$ac_exeext conftest.
$ac_ext
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19734 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19735 if test $gcc_cv_math_func_fabsl = yes; then
19737 cat >>confdefs.h
<<_ACEOF
19738 #define HAVE_FABSL 1
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19747 $as_echo_n "checking for cabsf... " >&6; }
19748 if ${gcc_cv_math_func_cabsf+:} false
; then :
19749 $as_echo_n "(cached) " >&6
19751 if test x
$gcc_no_link = xyes
; then
19752 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 #ifdef HAVE_COMPLEX_H
19758 #include <complex.h>
19764 int (*ptr)() = (int (*)())cabsf;
19773 if ac_fn_c_try_link
"$LINENO"; then :
19774 gcc_cv_math_func_cabsf
=yes
19776 gcc_cv_math_func_cabsf
=no
19778 rm -f core conftest.err conftest.
$ac_objext \
19779 conftest
$ac_exeext conftest.
$ac_ext
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19782 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19783 if test $gcc_cv_math_func_cabsf = yes; then
19785 cat >>confdefs.h
<<_ACEOF
19786 #define HAVE_CABSF 1
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19795 $as_echo_n "checking for cabs... " >&6; }
19796 if ${gcc_cv_math_func_cabs+:} false
; then :
19797 $as_echo_n "(cached) " >&6
19799 if test x
$gcc_no_link = xyes
; then
19800 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19805 #ifdef HAVE_COMPLEX_H
19806 #include <complex.h>
19812 int (*ptr)() = (int (*)())cabs;
19821 if ac_fn_c_try_link
"$LINENO"; then :
19822 gcc_cv_math_func_cabs
=yes
19824 gcc_cv_math_func_cabs
=no
19826 rm -f core conftest.err conftest.
$ac_objext \
19827 conftest
$ac_exeext conftest.
$ac_ext
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19830 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19831 if test $gcc_cv_math_func_cabs = yes; then
19833 cat >>confdefs.h
<<_ACEOF
19834 #define HAVE_CABS 1
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19843 $as_echo_n "checking for cabsl... " >&6; }
19844 if ${gcc_cv_math_func_cabsl+:} false
; then :
19845 $as_echo_n "(cached) " >&6
19847 if test x
$gcc_no_link = xyes
; then
19848 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19853 #ifdef HAVE_COMPLEX_H
19854 #include <complex.h>
19860 int (*ptr)() = (int (*)())cabsl;
19869 if ac_fn_c_try_link
"$LINENO"; then :
19870 gcc_cv_math_func_cabsl
=yes
19872 gcc_cv_math_func_cabsl
=no
19874 rm -f core conftest.err conftest.
$ac_objext \
19875 conftest
$ac_exeext conftest.
$ac_ext
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19878 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19879 if test $gcc_cv_math_func_cabsl = yes; then
19881 cat >>confdefs.h
<<_ACEOF
19882 #define HAVE_CABSL 1
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19891 $as_echo_n "checking for floorf... " >&6; }
19892 if ${gcc_cv_math_func_floorf+:} false
; then :
19893 $as_echo_n "(cached) " >&6
19895 if test x
$gcc_no_link = xyes
; then
19896 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19901 #ifdef HAVE_COMPLEX_H
19902 #include <complex.h>
19908 int (*ptr)() = (int (*)())floorf;
19917 if ac_fn_c_try_link
"$LINENO"; then :
19918 gcc_cv_math_func_floorf
=yes
19920 gcc_cv_math_func_floorf
=no
19922 rm -f core conftest.err conftest.
$ac_objext \
19923 conftest
$ac_exeext conftest.
$ac_ext
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19926 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19927 if test $gcc_cv_math_func_floorf = yes; then
19929 cat >>confdefs.h
<<_ACEOF
19930 #define HAVE_FLOORF 1
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19939 $as_echo_n "checking for floor... " >&6; }
19940 if ${gcc_cv_math_func_floor+:} false
; then :
19941 $as_echo_n "(cached) " >&6
19943 if test x
$gcc_no_link = xyes
; then
19944 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19949 #ifdef HAVE_COMPLEX_H
19950 #include <complex.h>
19956 int (*ptr)() = (int (*)())floor;
19965 if ac_fn_c_try_link
"$LINENO"; then :
19966 gcc_cv_math_func_floor
=yes
19968 gcc_cv_math_func_floor
=no
19970 rm -f core conftest.err conftest.
$ac_objext \
19971 conftest
$ac_exeext conftest.
$ac_ext
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19974 $as_echo "$gcc_cv_math_func_floor" >&6; }
19975 if test $gcc_cv_math_func_floor = yes; then
19977 cat >>confdefs.h
<<_ACEOF
19978 #define HAVE_FLOOR 1
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19987 $as_echo_n "checking for floorl... " >&6; }
19988 if ${gcc_cv_math_func_floorl+:} false
; then :
19989 $as_echo_n "(cached) " >&6
19991 if test x
$gcc_no_link = xyes
; then
19992 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19997 #ifdef HAVE_COMPLEX_H
19998 #include <complex.h>
20004 int (*ptr)() = (int (*)())floorl;
20013 if ac_fn_c_try_link
"$LINENO"; then :
20014 gcc_cv_math_func_floorl
=yes
20016 gcc_cv_math_func_floorl
=no
20018 rm -f core conftest.err conftest.
$ac_objext \
20019 conftest
$ac_exeext conftest.
$ac_ext
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20022 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20023 if test $gcc_cv_math_func_floorl = yes; then
20025 cat >>confdefs.h
<<_ACEOF
20026 #define HAVE_FLOORL 1
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20035 $as_echo_n "checking for fmaf... " >&6; }
20036 if ${gcc_cv_math_func_fmaf+:} false
; then :
20037 $as_echo_n "(cached) " >&6
20039 if test x
$gcc_no_link = xyes
; then
20040 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20045 #ifdef HAVE_COMPLEX_H
20046 #include <complex.h>
20052 int (*ptr)() = (int (*)())fmaf;
20061 if ac_fn_c_try_link
"$LINENO"; then :
20062 gcc_cv_math_func_fmaf
=yes
20064 gcc_cv_math_func_fmaf
=no
20066 rm -f core conftest.err conftest.
$ac_objext \
20067 conftest
$ac_exeext conftest.
$ac_ext
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20070 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20071 if test $gcc_cv_math_func_fmaf = yes; then
20073 cat >>confdefs.h
<<_ACEOF
20074 #define HAVE_FMAF 1
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20083 $as_echo_n "checking for fma... " >&6; }
20084 if ${gcc_cv_math_func_fma+:} false
; then :
20085 $as_echo_n "(cached) " >&6
20087 if test x
$gcc_no_link = xyes
; then
20088 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20093 #ifdef HAVE_COMPLEX_H
20094 #include <complex.h>
20100 int (*ptr)() = (int (*)())fma;
20109 if ac_fn_c_try_link
"$LINENO"; then :
20110 gcc_cv_math_func_fma
=yes
20112 gcc_cv_math_func_fma
=no
20114 rm -f core conftest.err conftest.
$ac_objext \
20115 conftest
$ac_exeext conftest.
$ac_ext
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20118 $as_echo "$gcc_cv_math_func_fma" >&6; }
20119 if test $gcc_cv_math_func_fma = yes; then
20121 cat >>confdefs.h
<<_ACEOF
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20131 $as_echo_n "checking for fmal... " >&6; }
20132 if ${gcc_cv_math_func_fmal+:} false
; then :
20133 $as_echo_n "(cached) " >&6
20135 if test x
$gcc_no_link = xyes
; then
20136 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20141 #ifdef HAVE_COMPLEX_H
20142 #include <complex.h>
20148 int (*ptr)() = (int (*)())fmal;
20157 if ac_fn_c_try_link
"$LINENO"; then :
20158 gcc_cv_math_func_fmal
=yes
20160 gcc_cv_math_func_fmal
=no
20162 rm -f core conftest.err conftest.
$ac_objext \
20163 conftest
$ac_exeext conftest.
$ac_ext
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20166 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20167 if test $gcc_cv_math_func_fmal = yes; then
20169 cat >>confdefs.h
<<_ACEOF
20170 #define HAVE_FMAL 1
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20179 $as_echo_n "checking for fmodf... " >&6; }
20180 if ${gcc_cv_math_func_fmodf+:} false
; then :
20181 $as_echo_n "(cached) " >&6
20183 if test x
$gcc_no_link = xyes
; then
20184 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20189 #ifdef HAVE_COMPLEX_H
20190 #include <complex.h>
20196 int (*ptr)() = (int (*)())fmodf;
20205 if ac_fn_c_try_link
"$LINENO"; then :
20206 gcc_cv_math_func_fmodf
=yes
20208 gcc_cv_math_func_fmodf
=no
20210 rm -f core conftest.err conftest.
$ac_objext \
20211 conftest
$ac_exeext conftest.
$ac_ext
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20214 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20215 if test $gcc_cv_math_func_fmodf = yes; then
20217 cat >>confdefs.h
<<_ACEOF
20218 #define HAVE_FMODF 1
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20227 $as_echo_n "checking for fmod... " >&6; }
20228 if ${gcc_cv_math_func_fmod+:} false
; then :
20229 $as_echo_n "(cached) " >&6
20231 if test x
$gcc_no_link = xyes
; then
20232 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20235 /* end confdefs.h. */
20237 #ifdef HAVE_COMPLEX_H
20238 #include <complex.h>
20244 int (*ptr)() = (int (*)())fmod;
20253 if ac_fn_c_try_link
"$LINENO"; then :
20254 gcc_cv_math_func_fmod
=yes
20256 gcc_cv_math_func_fmod
=no
20258 rm -f core conftest.err conftest.
$ac_objext \
20259 conftest
$ac_exeext conftest.
$ac_ext
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20262 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20263 if test $gcc_cv_math_func_fmod = yes; then
20265 cat >>confdefs.h
<<_ACEOF
20266 #define HAVE_FMOD 1
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20275 $as_echo_n "checking for fmodl... " >&6; }
20276 if ${gcc_cv_math_func_fmodl+:} false
; then :
20277 $as_echo_n "(cached) " >&6
20279 if test x
$gcc_no_link = xyes
; then
20280 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20285 #ifdef HAVE_COMPLEX_H
20286 #include <complex.h>
20292 int (*ptr)() = (int (*)())fmodl;
20301 if ac_fn_c_try_link
"$LINENO"; then :
20302 gcc_cv_math_func_fmodl
=yes
20304 gcc_cv_math_func_fmodl
=no
20306 rm -f core conftest.err conftest.
$ac_objext \
20307 conftest
$ac_exeext conftest.
$ac_ext
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20310 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20311 if test $gcc_cv_math_func_fmodl = yes; then
20313 cat >>confdefs.h
<<_ACEOF
20314 #define HAVE_FMODL 1
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20323 $as_echo_n "checking for frexpf... " >&6; }
20324 if ${gcc_cv_math_func_frexpf+:} false
; then :
20325 $as_echo_n "(cached) " >&6
20327 if test x
$gcc_no_link = xyes
; then
20328 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20331 /* end confdefs.h. */
20333 #ifdef HAVE_COMPLEX_H
20334 #include <complex.h>
20340 int (*ptr)() = (int (*)())frexpf;
20349 if ac_fn_c_try_link
"$LINENO"; then :
20350 gcc_cv_math_func_frexpf
=yes
20352 gcc_cv_math_func_frexpf
=no
20354 rm -f core conftest.err conftest.
$ac_objext \
20355 conftest
$ac_exeext conftest.
$ac_ext
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20358 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20359 if test $gcc_cv_math_func_frexpf = yes; then
20361 cat >>confdefs.h
<<_ACEOF
20362 #define HAVE_FREXPF 1
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20371 $as_echo_n "checking for frexp... " >&6; }
20372 if ${gcc_cv_math_func_frexp+:} false
; then :
20373 $as_echo_n "(cached) " >&6
20375 if test x
$gcc_no_link = xyes
; then
20376 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20379 /* end confdefs.h. */
20381 #ifdef HAVE_COMPLEX_H
20382 #include <complex.h>
20388 int (*ptr)() = (int (*)())frexp;
20397 if ac_fn_c_try_link
"$LINENO"; then :
20398 gcc_cv_math_func_frexp
=yes
20400 gcc_cv_math_func_frexp
=no
20402 rm -f core conftest.err conftest.
$ac_objext \
20403 conftest
$ac_exeext conftest.
$ac_ext
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20406 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20407 if test $gcc_cv_math_func_frexp = yes; then
20409 cat >>confdefs.h
<<_ACEOF
20410 #define HAVE_FREXP 1
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20419 $as_echo_n "checking for frexpl... " >&6; }
20420 if ${gcc_cv_math_func_frexpl+:} false
; then :
20421 $as_echo_n "(cached) " >&6
20423 if test x
$gcc_no_link = xyes
; then
20424 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20429 #ifdef HAVE_COMPLEX_H
20430 #include <complex.h>
20436 int (*ptr)() = (int (*)())frexpl;
20445 if ac_fn_c_try_link
"$LINENO"; then :
20446 gcc_cv_math_func_frexpl
=yes
20448 gcc_cv_math_func_frexpl
=no
20450 rm -f core conftest.err conftest.
$ac_objext \
20451 conftest
$ac_exeext conftest.
$ac_ext
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20454 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20455 if test $gcc_cv_math_func_frexpl = yes; then
20457 cat >>confdefs.h
<<_ACEOF
20458 #define HAVE_FREXPL 1
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20467 $as_echo_n "checking for hypotf... " >&6; }
20468 if ${gcc_cv_math_func_hypotf+:} false
; then :
20469 $as_echo_n "(cached) " >&6
20471 if test x
$gcc_no_link = xyes
; then
20472 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20477 #ifdef HAVE_COMPLEX_H
20478 #include <complex.h>
20484 int (*ptr)() = (int (*)())hypotf;
20493 if ac_fn_c_try_link
"$LINENO"; then :
20494 gcc_cv_math_func_hypotf
=yes
20496 gcc_cv_math_func_hypotf
=no
20498 rm -f core conftest.err conftest.
$ac_objext \
20499 conftest
$ac_exeext conftest.
$ac_ext
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20502 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20503 if test $gcc_cv_math_func_hypotf = yes; then
20505 cat >>confdefs.h
<<_ACEOF
20506 #define HAVE_HYPOTF 1
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20515 $as_echo_n "checking for hypot... " >&6; }
20516 if ${gcc_cv_math_func_hypot+:} false
; then :
20517 $as_echo_n "(cached) " >&6
20519 if test x
$gcc_no_link = xyes
; then
20520 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20525 #ifdef HAVE_COMPLEX_H
20526 #include <complex.h>
20532 int (*ptr)() = (int (*)())hypot;
20541 if ac_fn_c_try_link
"$LINENO"; then :
20542 gcc_cv_math_func_hypot
=yes
20544 gcc_cv_math_func_hypot
=no
20546 rm -f core conftest.err conftest.
$ac_objext \
20547 conftest
$ac_exeext conftest.
$ac_ext
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20550 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20551 if test $gcc_cv_math_func_hypot = yes; then
20553 cat >>confdefs.h
<<_ACEOF
20554 #define HAVE_HYPOT 1
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20563 $as_echo_n "checking for hypotl... " >&6; }
20564 if ${gcc_cv_math_func_hypotl+:} false
; then :
20565 $as_echo_n "(cached) " >&6
20567 if test x
$gcc_no_link = xyes
; then
20568 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20571 /* end confdefs.h. */
20573 #ifdef HAVE_COMPLEX_H
20574 #include <complex.h>
20580 int (*ptr)() = (int (*)())hypotl;
20589 if ac_fn_c_try_link
"$LINENO"; then :
20590 gcc_cv_math_func_hypotl
=yes
20592 gcc_cv_math_func_hypotl
=no
20594 rm -f core conftest.err conftest.
$ac_objext \
20595 conftest
$ac_exeext conftest.
$ac_ext
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20598 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20599 if test $gcc_cv_math_func_hypotl = yes; then
20601 cat >>confdefs.h
<<_ACEOF
20602 #define HAVE_HYPOTL 1
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20611 $as_echo_n "checking for ldexpf... " >&6; }
20612 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20613 $as_echo_n "(cached) " >&6
20615 if test x
$gcc_no_link = xyes
; then
20616 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20619 /* end confdefs.h. */
20621 #ifdef HAVE_COMPLEX_H
20622 #include <complex.h>
20628 int (*ptr)() = (int (*)())ldexpf;
20637 if ac_fn_c_try_link
"$LINENO"; then :
20638 gcc_cv_math_func_ldexpf
=yes
20640 gcc_cv_math_func_ldexpf
=no
20642 rm -f core conftest.err conftest.
$ac_objext \
20643 conftest
$ac_exeext conftest.
$ac_ext
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20646 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20647 if test $gcc_cv_math_func_ldexpf = yes; then
20649 cat >>confdefs.h
<<_ACEOF
20650 #define HAVE_LDEXPF 1
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20659 $as_echo_n "checking for ldexp... " >&6; }
20660 if ${gcc_cv_math_func_ldexp+:} false
; then :
20661 $as_echo_n "(cached) " >&6
20663 if test x
$gcc_no_link = xyes
; then
20664 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20669 #ifdef HAVE_COMPLEX_H
20670 #include <complex.h>
20676 int (*ptr)() = (int (*)())ldexp;
20685 if ac_fn_c_try_link
"$LINENO"; then :
20686 gcc_cv_math_func_ldexp
=yes
20688 gcc_cv_math_func_ldexp
=no
20690 rm -f core conftest.err conftest.
$ac_objext \
20691 conftest
$ac_exeext conftest.
$ac_ext
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20694 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20695 if test $gcc_cv_math_func_ldexp = yes; then
20697 cat >>confdefs.h
<<_ACEOF
20698 #define HAVE_LDEXP 1
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20707 $as_echo_n "checking for ldexpl... " >&6; }
20708 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20709 $as_echo_n "(cached) " >&6
20711 if test x
$gcc_no_link = xyes
; then
20712 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20717 #ifdef HAVE_COMPLEX_H
20718 #include <complex.h>
20724 int (*ptr)() = (int (*)())ldexpl;
20733 if ac_fn_c_try_link
"$LINENO"; then :
20734 gcc_cv_math_func_ldexpl
=yes
20736 gcc_cv_math_func_ldexpl
=no
20738 rm -f core conftest.err conftest.
$ac_objext \
20739 conftest
$ac_exeext conftest.
$ac_ext
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20742 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20743 if test $gcc_cv_math_func_ldexpl = yes; then
20745 cat >>confdefs.h
<<_ACEOF
20746 #define HAVE_LDEXPL 1
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20755 $as_echo_n "checking for logf... " >&6; }
20756 if ${gcc_cv_math_func_logf+:} false
; then :
20757 $as_echo_n "(cached) " >&6
20759 if test x
$gcc_no_link = xyes
; then
20760 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20763 /* end confdefs.h. */
20765 #ifdef HAVE_COMPLEX_H
20766 #include <complex.h>
20772 int (*ptr)() = (int (*)())logf;
20781 if ac_fn_c_try_link
"$LINENO"; then :
20782 gcc_cv_math_func_logf
=yes
20784 gcc_cv_math_func_logf
=no
20786 rm -f core conftest.err conftest.
$ac_objext \
20787 conftest
$ac_exeext conftest.
$ac_ext
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20790 $as_echo "$gcc_cv_math_func_logf" >&6; }
20791 if test $gcc_cv_math_func_logf = yes; then
20793 cat >>confdefs.h
<<_ACEOF
20794 #define HAVE_LOGF 1
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20803 $as_echo_n "checking for log... " >&6; }
20804 if ${gcc_cv_math_func_log+:} false
; then :
20805 $as_echo_n "(cached) " >&6
20807 if test x
$gcc_no_link = xyes
; then
20808 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20813 #ifdef HAVE_COMPLEX_H
20814 #include <complex.h>
20820 int (*ptr)() = (int (*)())log;
20829 if ac_fn_c_try_link
"$LINENO"; then :
20830 gcc_cv_math_func_log
=yes
20832 gcc_cv_math_func_log
=no
20834 rm -f core conftest.err conftest.
$ac_objext \
20835 conftest
$ac_exeext conftest.
$ac_ext
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20838 $as_echo "$gcc_cv_math_func_log" >&6; }
20839 if test $gcc_cv_math_func_log = yes; then
20841 cat >>confdefs.h
<<_ACEOF
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20851 $as_echo_n "checking for logl... " >&6; }
20852 if ${gcc_cv_math_func_logl+:} false
; then :
20853 $as_echo_n "(cached) " >&6
20855 if test x
$gcc_no_link = xyes
; then
20856 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20861 #ifdef HAVE_COMPLEX_H
20862 #include <complex.h>
20868 int (*ptr)() = (int (*)())logl;
20877 if ac_fn_c_try_link
"$LINENO"; then :
20878 gcc_cv_math_func_logl
=yes
20880 gcc_cv_math_func_logl
=no
20882 rm -f core conftest.err conftest.
$ac_objext \
20883 conftest
$ac_exeext conftest.
$ac_ext
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20886 $as_echo "$gcc_cv_math_func_logl" >&6; }
20887 if test $gcc_cv_math_func_logl = yes; then
20889 cat >>confdefs.h
<<_ACEOF
20890 #define HAVE_LOGL 1
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20899 $as_echo_n "checking for clogf... " >&6; }
20900 if ${gcc_cv_math_func_clogf+:} false
; then :
20901 $as_echo_n "(cached) " >&6
20903 if test x
$gcc_no_link = xyes
; then
20904 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20909 #ifdef HAVE_COMPLEX_H
20910 #include <complex.h>
20916 int (*ptr)() = (int (*)())clogf;
20925 if ac_fn_c_try_link
"$LINENO"; then :
20926 gcc_cv_math_func_clogf
=yes
20928 gcc_cv_math_func_clogf
=no
20930 rm -f core conftest.err conftest.
$ac_objext \
20931 conftest
$ac_exeext conftest.
$ac_ext
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20934 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20935 if test $gcc_cv_math_func_clogf = yes; then
20937 cat >>confdefs.h
<<_ACEOF
20938 #define HAVE_CLOGF 1
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20947 $as_echo_n "checking for clog... " >&6; }
20948 if ${gcc_cv_math_func_clog+:} false
; then :
20949 $as_echo_n "(cached) " >&6
20951 if test x
$gcc_no_link = xyes
; then
20952 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20957 #ifdef HAVE_COMPLEX_H
20958 #include <complex.h>
20964 int (*ptr)() = (int (*)())clog;
20973 if ac_fn_c_try_link
"$LINENO"; then :
20974 gcc_cv_math_func_clog
=yes
20976 gcc_cv_math_func_clog
=no
20978 rm -f core conftest.err conftest.
$ac_objext \
20979 conftest
$ac_exeext conftest.
$ac_ext
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20982 $as_echo "$gcc_cv_math_func_clog" >&6; }
20983 if test $gcc_cv_math_func_clog = yes; then
20985 cat >>confdefs.h
<<_ACEOF
20986 #define HAVE_CLOG 1
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20995 $as_echo_n "checking for clogl... " >&6; }
20996 if ${gcc_cv_math_func_clogl+:} false
; then :
20997 $as_echo_n "(cached) " >&6
20999 if test x
$gcc_no_link = xyes
; then
21000 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21005 #ifdef HAVE_COMPLEX_H
21006 #include <complex.h>
21012 int (*ptr)() = (int (*)())clogl;
21021 if ac_fn_c_try_link
"$LINENO"; then :
21022 gcc_cv_math_func_clogl
=yes
21024 gcc_cv_math_func_clogl
=no
21026 rm -f core conftest.err conftest.
$ac_objext \
21027 conftest
$ac_exeext conftest.
$ac_ext
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21030 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21031 if test $gcc_cv_math_func_clogl = yes; then
21033 cat >>confdefs.h
<<_ACEOF
21034 #define HAVE_CLOGL 1
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21043 $as_echo_n "checking for log10f... " >&6; }
21044 if ${gcc_cv_math_func_log10f+:} false
; then :
21045 $as_echo_n "(cached) " >&6
21047 if test x
$gcc_no_link = xyes
; then
21048 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21053 #ifdef HAVE_COMPLEX_H
21054 #include <complex.h>
21060 int (*ptr)() = (int (*)())log10f;
21069 if ac_fn_c_try_link
"$LINENO"; then :
21070 gcc_cv_math_func_log10f
=yes
21072 gcc_cv_math_func_log10f
=no
21074 rm -f core conftest.err conftest.
$ac_objext \
21075 conftest
$ac_exeext conftest.
$ac_ext
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21078 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21079 if test $gcc_cv_math_func_log10f = yes; then
21081 cat >>confdefs.h
<<_ACEOF
21082 #define HAVE_LOG10F 1
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21091 $as_echo_n "checking for log10... " >&6; }
21092 if ${gcc_cv_math_func_log10+:} false
; then :
21093 $as_echo_n "(cached) " >&6
21095 if test x
$gcc_no_link = xyes
; then
21096 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21101 #ifdef HAVE_COMPLEX_H
21102 #include <complex.h>
21108 int (*ptr)() = (int (*)())log10;
21117 if ac_fn_c_try_link
"$LINENO"; then :
21118 gcc_cv_math_func_log10
=yes
21120 gcc_cv_math_func_log10
=no
21122 rm -f core conftest.err conftest.
$ac_objext \
21123 conftest
$ac_exeext conftest.
$ac_ext
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21126 $as_echo "$gcc_cv_math_func_log10" >&6; }
21127 if test $gcc_cv_math_func_log10 = yes; then
21129 cat >>confdefs.h
<<_ACEOF
21130 #define HAVE_LOG10 1
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21139 $as_echo_n "checking for log10l... " >&6; }
21140 if ${gcc_cv_math_func_log10l+:} false
; then :
21141 $as_echo_n "(cached) " >&6
21143 if test x
$gcc_no_link = xyes
; then
21144 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21149 #ifdef HAVE_COMPLEX_H
21150 #include <complex.h>
21156 int (*ptr)() = (int (*)())log10l;
21165 if ac_fn_c_try_link
"$LINENO"; then :
21166 gcc_cv_math_func_log10l
=yes
21168 gcc_cv_math_func_log10l
=no
21170 rm -f core conftest.err conftest.
$ac_objext \
21171 conftest
$ac_exeext conftest.
$ac_ext
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21174 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21175 if test $gcc_cv_math_func_log10l = yes; then
21177 cat >>confdefs.h
<<_ACEOF
21178 #define HAVE_LOG10L 1
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21187 $as_echo_n "checking for clog10f... " >&6; }
21188 if ${gcc_cv_math_func_clog10f+:} false
; then :
21189 $as_echo_n "(cached) " >&6
21191 if test x
$gcc_no_link = xyes
; then
21192 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21195 /* end confdefs.h. */
21197 #ifdef HAVE_COMPLEX_H
21198 #include <complex.h>
21204 int (*ptr)() = (int (*)())clog10f;
21213 if ac_fn_c_try_link
"$LINENO"; then :
21214 gcc_cv_math_func_clog10f
=yes
21216 gcc_cv_math_func_clog10f
=no
21218 rm -f core conftest.err conftest.
$ac_objext \
21219 conftest
$ac_exeext conftest.
$ac_ext
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21222 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21223 if test $gcc_cv_math_func_clog10f = yes; then
21225 cat >>confdefs.h
<<_ACEOF
21226 #define HAVE_CLOG10F 1
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21235 $as_echo_n "checking for clog10... " >&6; }
21236 if ${gcc_cv_math_func_clog10+:} false
; then :
21237 $as_echo_n "(cached) " >&6
21239 if test x
$gcc_no_link = xyes
; then
21240 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21243 /* end confdefs.h. */
21245 #ifdef HAVE_COMPLEX_H
21246 #include <complex.h>
21252 int (*ptr)() = (int (*)())clog10;
21261 if ac_fn_c_try_link
"$LINENO"; then :
21262 gcc_cv_math_func_clog10
=yes
21264 gcc_cv_math_func_clog10
=no
21266 rm -f core conftest.err conftest.
$ac_objext \
21267 conftest
$ac_exeext conftest.
$ac_ext
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21270 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21271 if test $gcc_cv_math_func_clog10 = yes; then
21273 cat >>confdefs.h
<<_ACEOF
21274 #define HAVE_CLOG10 1
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21283 $as_echo_n "checking for clog10l... " >&6; }
21284 if ${gcc_cv_math_func_clog10l+:} false
; then :
21285 $as_echo_n "(cached) " >&6
21287 if test x
$gcc_no_link = xyes
; then
21288 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21293 #ifdef HAVE_COMPLEX_H
21294 #include <complex.h>
21300 int (*ptr)() = (int (*)())clog10l;
21309 if ac_fn_c_try_link
"$LINENO"; then :
21310 gcc_cv_math_func_clog10l
=yes
21312 gcc_cv_math_func_clog10l
=no
21314 rm -f core conftest.err conftest.
$ac_objext \
21315 conftest
$ac_exeext conftest.
$ac_ext
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21318 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21319 if test $gcc_cv_math_func_clog10l = yes; then
21321 cat >>confdefs.h
<<_ACEOF
21322 #define HAVE_CLOG10L 1
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21331 $as_echo_n "checking for nextafterf... " >&6; }
21332 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21333 $as_echo_n "(cached) " >&6
21335 if test x
$gcc_no_link = xyes
; then
21336 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21339 /* end confdefs.h. */
21341 #ifdef HAVE_COMPLEX_H
21342 #include <complex.h>
21348 int (*ptr)() = (int (*)())nextafterf;
21357 if ac_fn_c_try_link
"$LINENO"; then :
21358 gcc_cv_math_func_nextafterf
=yes
21360 gcc_cv_math_func_nextafterf
=no
21362 rm -f core conftest.err conftest.
$ac_objext \
21363 conftest
$ac_exeext conftest.
$ac_ext
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21366 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21367 if test $gcc_cv_math_func_nextafterf = yes; then
21369 cat >>confdefs.h
<<_ACEOF
21370 #define HAVE_NEXTAFTERF 1
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21379 $as_echo_n "checking for nextafter... " >&6; }
21380 if ${gcc_cv_math_func_nextafter+:} false
; then :
21381 $as_echo_n "(cached) " >&6
21383 if test x
$gcc_no_link = xyes
; then
21384 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21389 #ifdef HAVE_COMPLEX_H
21390 #include <complex.h>
21396 int (*ptr)() = (int (*)())nextafter;
21405 if ac_fn_c_try_link
"$LINENO"; then :
21406 gcc_cv_math_func_nextafter
=yes
21408 gcc_cv_math_func_nextafter
=no
21410 rm -f core conftest.err conftest.
$ac_objext \
21411 conftest
$ac_exeext conftest.
$ac_ext
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21414 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21415 if test $gcc_cv_math_func_nextafter = yes; then
21417 cat >>confdefs.h
<<_ACEOF
21418 #define HAVE_NEXTAFTER 1
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21427 $as_echo_n "checking for nextafterl... " >&6; }
21428 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21429 $as_echo_n "(cached) " >&6
21431 if test x
$gcc_no_link = xyes
; then
21432 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21437 #ifdef HAVE_COMPLEX_H
21438 #include <complex.h>
21444 int (*ptr)() = (int (*)())nextafterl;
21453 if ac_fn_c_try_link
"$LINENO"; then :
21454 gcc_cv_math_func_nextafterl
=yes
21456 gcc_cv_math_func_nextafterl
=no
21458 rm -f core conftest.err conftest.
$ac_objext \
21459 conftest
$ac_exeext conftest.
$ac_ext
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21462 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21463 if test $gcc_cv_math_func_nextafterl = yes; then
21465 cat >>confdefs.h
<<_ACEOF
21466 #define HAVE_NEXTAFTERL 1
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21475 $as_echo_n "checking for powf... " >&6; }
21476 if ${gcc_cv_math_func_powf+:} false
; then :
21477 $as_echo_n "(cached) " >&6
21479 if test x
$gcc_no_link = xyes
; then
21480 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h. */
21485 #ifdef HAVE_COMPLEX_H
21486 #include <complex.h>
21492 int (*ptr)() = (int (*)())powf;
21501 if ac_fn_c_try_link
"$LINENO"; then :
21502 gcc_cv_math_func_powf
=yes
21504 gcc_cv_math_func_powf
=no
21506 rm -f core conftest.err conftest.
$ac_objext \
21507 conftest
$ac_exeext conftest.
$ac_ext
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21510 $as_echo "$gcc_cv_math_func_powf" >&6; }
21511 if test $gcc_cv_math_func_powf = yes; then
21513 cat >>confdefs.h
<<_ACEOF
21514 #define HAVE_POWF 1
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21523 $as_echo_n "checking for pow... " >&6; }
21524 if ${gcc_cv_math_func_pow+:} false
; then :
21525 $as_echo_n "(cached) " >&6
21527 if test x
$gcc_no_link = xyes
; then
21528 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21533 #ifdef HAVE_COMPLEX_H
21534 #include <complex.h>
21540 int (*ptr)() = (int (*)())pow;
21549 if ac_fn_c_try_link
"$LINENO"; then :
21550 gcc_cv_math_func_pow
=yes
21552 gcc_cv_math_func_pow
=no
21554 rm -f core conftest.err conftest.
$ac_objext \
21555 conftest
$ac_exeext conftest.
$ac_ext
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21558 $as_echo "$gcc_cv_math_func_pow" >&6; }
21559 if test $gcc_cv_math_func_pow = yes; then
21561 cat >>confdefs.h
<<_ACEOF
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21571 $as_echo_n "checking for cpowf... " >&6; }
21572 if ${gcc_cv_math_func_cpowf+:} false
; then :
21573 $as_echo_n "(cached) " >&6
21575 if test x
$gcc_no_link = xyes
; then
21576 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21579 /* end confdefs.h. */
21581 #ifdef HAVE_COMPLEX_H
21582 #include <complex.h>
21588 int (*ptr)() = (int (*)())cpowf;
21597 if ac_fn_c_try_link
"$LINENO"; then :
21598 gcc_cv_math_func_cpowf
=yes
21600 gcc_cv_math_func_cpowf
=no
21602 rm -f core conftest.err conftest.
$ac_objext \
21603 conftest
$ac_exeext conftest.
$ac_ext
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21606 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21607 if test $gcc_cv_math_func_cpowf = yes; then
21609 cat >>confdefs.h
<<_ACEOF
21610 #define HAVE_CPOWF 1
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21619 $as_echo_n "checking for cpow... " >&6; }
21620 if ${gcc_cv_math_func_cpow+:} false
; then :
21621 $as_echo_n "(cached) " >&6
21623 if test x
$gcc_no_link = xyes
; then
21624 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h. */
21629 #ifdef HAVE_COMPLEX_H
21630 #include <complex.h>
21636 int (*ptr)() = (int (*)())cpow;
21645 if ac_fn_c_try_link
"$LINENO"; then :
21646 gcc_cv_math_func_cpow
=yes
21648 gcc_cv_math_func_cpow
=no
21650 rm -f core conftest.err conftest.
$ac_objext \
21651 conftest
$ac_exeext conftest.
$ac_ext
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21654 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21655 if test $gcc_cv_math_func_cpow = yes; then
21657 cat >>confdefs.h
<<_ACEOF
21658 #define HAVE_CPOW 1
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21667 $as_echo_n "checking for cpowl... " >&6; }
21668 if ${gcc_cv_math_func_cpowl+:} false
; then :
21669 $as_echo_n "(cached) " >&6
21671 if test x
$gcc_no_link = xyes
; then
21672 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21677 #ifdef HAVE_COMPLEX_H
21678 #include <complex.h>
21684 int (*ptr)() = (int (*)())cpowl;
21693 if ac_fn_c_try_link
"$LINENO"; then :
21694 gcc_cv_math_func_cpowl
=yes
21696 gcc_cv_math_func_cpowl
=no
21698 rm -f core conftest.err conftest.
$ac_objext \
21699 conftest
$ac_exeext conftest.
$ac_ext
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21702 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21703 if test $gcc_cv_math_func_cpowl = yes; then
21705 cat >>confdefs.h
<<_ACEOF
21706 #define HAVE_CPOWL 1
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21715 $as_echo_n "checking for roundf... " >&6; }
21716 if ${gcc_cv_math_func_roundf+:} false
; then :
21717 $as_echo_n "(cached) " >&6
21719 if test x
$gcc_no_link = xyes
; then
21720 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21725 #ifdef HAVE_COMPLEX_H
21726 #include <complex.h>
21732 int (*ptr)() = (int (*)())roundf;
21741 if ac_fn_c_try_link
"$LINENO"; then :
21742 gcc_cv_math_func_roundf
=yes
21744 gcc_cv_math_func_roundf
=no
21746 rm -f core conftest.err conftest.
$ac_objext \
21747 conftest
$ac_exeext conftest.
$ac_ext
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21750 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21751 if test $gcc_cv_math_func_roundf = yes; then
21753 cat >>confdefs.h
<<_ACEOF
21754 #define HAVE_ROUNDF 1
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21763 $as_echo_n "checking for round... " >&6; }
21764 if ${gcc_cv_math_func_round+:} false
; then :
21765 $as_echo_n "(cached) " >&6
21767 if test x
$gcc_no_link = xyes
; then
21768 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21771 /* end confdefs.h. */
21773 #ifdef HAVE_COMPLEX_H
21774 #include <complex.h>
21780 int (*ptr)() = (int (*)())round;
21789 if ac_fn_c_try_link
"$LINENO"; then :
21790 gcc_cv_math_func_round
=yes
21792 gcc_cv_math_func_round
=no
21794 rm -f core conftest.err conftest.
$ac_objext \
21795 conftest
$ac_exeext conftest.
$ac_ext
21797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21798 $as_echo "$gcc_cv_math_func_round" >&6; }
21799 if test $gcc_cv_math_func_round = yes; then
21801 cat >>confdefs.h
<<_ACEOF
21802 #define HAVE_ROUND 1
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21811 $as_echo_n "checking for roundl... " >&6; }
21812 if ${gcc_cv_math_func_roundl+:} false
; then :
21813 $as_echo_n "(cached) " >&6
21815 if test x
$gcc_no_link = xyes
; then
21816 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21821 #ifdef HAVE_COMPLEX_H
21822 #include <complex.h>
21828 int (*ptr)() = (int (*)())roundl;
21837 if ac_fn_c_try_link
"$LINENO"; then :
21838 gcc_cv_math_func_roundl
=yes
21840 gcc_cv_math_func_roundl
=no
21842 rm -f core conftest.err conftest.
$ac_objext \
21843 conftest
$ac_exeext conftest.
$ac_ext
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21846 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21847 if test $gcc_cv_math_func_roundl = yes; then
21849 cat >>confdefs.h
<<_ACEOF
21850 #define HAVE_ROUNDL 1
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21859 $as_echo_n "checking for lroundf... " >&6; }
21860 if ${gcc_cv_math_func_lroundf+:} false
; then :
21861 $as_echo_n "(cached) " >&6
21863 if test x
$gcc_no_link = xyes
; then
21864 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21867 /* end confdefs.h. */
21869 #ifdef HAVE_COMPLEX_H
21870 #include <complex.h>
21876 int (*ptr)() = (int (*)())lroundf;
21885 if ac_fn_c_try_link
"$LINENO"; then :
21886 gcc_cv_math_func_lroundf
=yes
21888 gcc_cv_math_func_lroundf
=no
21890 rm -f core conftest.err conftest.
$ac_objext \
21891 conftest
$ac_exeext conftest.
$ac_ext
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21894 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21895 if test $gcc_cv_math_func_lroundf = yes; then
21897 cat >>confdefs.h
<<_ACEOF
21898 #define HAVE_LROUNDF 1
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21907 $as_echo_n "checking for lround... " >&6; }
21908 if ${gcc_cv_math_func_lround+:} false
; then :
21909 $as_echo_n "(cached) " >&6
21911 if test x
$gcc_no_link = xyes
; then
21912 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21915 /* end confdefs.h. */
21917 #ifdef HAVE_COMPLEX_H
21918 #include <complex.h>
21924 int (*ptr)() = (int (*)())lround;
21933 if ac_fn_c_try_link
"$LINENO"; then :
21934 gcc_cv_math_func_lround
=yes
21936 gcc_cv_math_func_lround
=no
21938 rm -f core conftest.err conftest.
$ac_objext \
21939 conftest
$ac_exeext conftest.
$ac_ext
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21942 $as_echo "$gcc_cv_math_func_lround" >&6; }
21943 if test $gcc_cv_math_func_lround = yes; then
21945 cat >>confdefs.h
<<_ACEOF
21946 #define HAVE_LROUND 1
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21955 $as_echo_n "checking for lroundl... " >&6; }
21956 if ${gcc_cv_math_func_lroundl+:} false
; then :
21957 $as_echo_n "(cached) " >&6
21959 if test x
$gcc_no_link = xyes
; then
21960 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21963 /* end confdefs.h. */
21965 #ifdef HAVE_COMPLEX_H
21966 #include <complex.h>
21972 int (*ptr)() = (int (*)())lroundl;
21981 if ac_fn_c_try_link
"$LINENO"; then :
21982 gcc_cv_math_func_lroundl
=yes
21984 gcc_cv_math_func_lroundl
=no
21986 rm -f core conftest.err conftest.
$ac_objext \
21987 conftest
$ac_exeext conftest.
$ac_ext
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21990 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21991 if test $gcc_cv_math_func_lroundl = yes; then
21993 cat >>confdefs.h
<<_ACEOF
21994 #define HAVE_LROUNDL 1
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22003 $as_echo_n "checking for llroundf... " >&6; }
22004 if ${gcc_cv_math_func_llroundf+:} false
; then :
22005 $as_echo_n "(cached) " >&6
22007 if test x
$gcc_no_link = xyes
; then
22008 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22013 #ifdef HAVE_COMPLEX_H
22014 #include <complex.h>
22020 int (*ptr)() = (int (*)())llroundf;
22029 if ac_fn_c_try_link
"$LINENO"; then :
22030 gcc_cv_math_func_llroundf
=yes
22032 gcc_cv_math_func_llroundf
=no
22034 rm -f core conftest.err conftest.
$ac_objext \
22035 conftest
$ac_exeext conftest.
$ac_ext
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22038 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22039 if test $gcc_cv_math_func_llroundf = yes; then
22041 cat >>confdefs.h
<<_ACEOF
22042 #define HAVE_LLROUNDF 1
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22051 $as_echo_n "checking for llround... " >&6; }
22052 if ${gcc_cv_math_func_llround+:} false
; then :
22053 $as_echo_n "(cached) " >&6
22055 if test x
$gcc_no_link = xyes
; then
22056 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22059 /* end confdefs.h. */
22061 #ifdef HAVE_COMPLEX_H
22062 #include <complex.h>
22068 int (*ptr)() = (int (*)())llround;
22077 if ac_fn_c_try_link
"$LINENO"; then :
22078 gcc_cv_math_func_llround
=yes
22080 gcc_cv_math_func_llround
=no
22082 rm -f core conftest.err conftest.
$ac_objext \
22083 conftest
$ac_exeext conftest.
$ac_ext
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22086 $as_echo "$gcc_cv_math_func_llround" >&6; }
22087 if test $gcc_cv_math_func_llround = yes; then
22089 cat >>confdefs.h
<<_ACEOF
22090 #define HAVE_LLROUND 1
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22099 $as_echo_n "checking for llroundl... " >&6; }
22100 if ${gcc_cv_math_func_llroundl+:} false
; then :
22101 $as_echo_n "(cached) " >&6
22103 if test x
$gcc_no_link = xyes
; then
22104 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22109 #ifdef HAVE_COMPLEX_H
22110 #include <complex.h>
22116 int (*ptr)() = (int (*)())llroundl;
22125 if ac_fn_c_try_link
"$LINENO"; then :
22126 gcc_cv_math_func_llroundl
=yes
22128 gcc_cv_math_func_llroundl
=no
22130 rm -f core conftest.err conftest.
$ac_objext \
22131 conftest
$ac_exeext conftest.
$ac_ext
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22134 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22135 if test $gcc_cv_math_func_llroundl = yes; then
22137 cat >>confdefs.h
<<_ACEOF
22138 #define HAVE_LLROUNDL 1
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22147 $as_echo_n "checking for scalbnf... " >&6; }
22148 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22149 $as_echo_n "(cached) " >&6
22151 if test x
$gcc_no_link = xyes
; then
22152 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22157 #ifdef HAVE_COMPLEX_H
22158 #include <complex.h>
22164 int (*ptr)() = (int (*)())scalbnf;
22173 if ac_fn_c_try_link
"$LINENO"; then :
22174 gcc_cv_math_func_scalbnf
=yes
22176 gcc_cv_math_func_scalbnf
=no
22178 rm -f core conftest.err conftest.
$ac_objext \
22179 conftest
$ac_exeext conftest.
$ac_ext
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22182 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22183 if test $gcc_cv_math_func_scalbnf = yes; then
22185 cat >>confdefs.h
<<_ACEOF
22186 #define HAVE_SCALBNF 1
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22195 $as_echo_n "checking for scalbn... " >&6; }
22196 if ${gcc_cv_math_func_scalbn+:} false
; then :
22197 $as_echo_n "(cached) " >&6
22199 if test x
$gcc_no_link = xyes
; then
22200 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22203 /* end confdefs.h. */
22205 #ifdef HAVE_COMPLEX_H
22206 #include <complex.h>
22212 int (*ptr)() = (int (*)())scalbn;
22221 if ac_fn_c_try_link
"$LINENO"; then :
22222 gcc_cv_math_func_scalbn
=yes
22224 gcc_cv_math_func_scalbn
=no
22226 rm -f core conftest.err conftest.
$ac_objext \
22227 conftest
$ac_exeext conftest.
$ac_ext
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22230 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22231 if test $gcc_cv_math_func_scalbn = yes; then
22233 cat >>confdefs.h
<<_ACEOF
22234 #define HAVE_SCALBN 1
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22243 $as_echo_n "checking for scalbnl... " >&6; }
22244 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22245 $as_echo_n "(cached) " >&6
22247 if test x
$gcc_no_link = xyes
; then
22248 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22253 #ifdef HAVE_COMPLEX_H
22254 #include <complex.h>
22260 int (*ptr)() = (int (*)())scalbnl;
22269 if ac_fn_c_try_link
"$LINENO"; then :
22270 gcc_cv_math_func_scalbnl
=yes
22272 gcc_cv_math_func_scalbnl
=no
22274 rm -f core conftest.err conftest.
$ac_objext \
22275 conftest
$ac_exeext conftest.
$ac_ext
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22278 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22279 if test $gcc_cv_math_func_scalbnl = yes; then
22281 cat >>confdefs.h
<<_ACEOF
22282 #define HAVE_SCALBNL 1
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22291 $as_echo_n "checking for sinf... " >&6; }
22292 if ${gcc_cv_math_func_sinf+:} false
; then :
22293 $as_echo_n "(cached) " >&6
22295 if test x
$gcc_no_link = xyes
; then
22296 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22301 #ifdef HAVE_COMPLEX_H
22302 #include <complex.h>
22308 int (*ptr)() = (int (*)())sinf;
22317 if ac_fn_c_try_link
"$LINENO"; then :
22318 gcc_cv_math_func_sinf
=yes
22320 gcc_cv_math_func_sinf
=no
22322 rm -f core conftest.err conftest.
$ac_objext \
22323 conftest
$ac_exeext conftest.
$ac_ext
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22326 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22327 if test $gcc_cv_math_func_sinf = yes; then
22329 cat >>confdefs.h
<<_ACEOF
22330 #define HAVE_SINF 1
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22339 $as_echo_n "checking for sin... " >&6; }
22340 if ${gcc_cv_math_func_sin+:} false
; then :
22341 $as_echo_n "(cached) " >&6
22343 if test x
$gcc_no_link = xyes
; then
22344 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h. */
22349 #ifdef HAVE_COMPLEX_H
22350 #include <complex.h>
22356 int (*ptr)() = (int (*)())sin;
22365 if ac_fn_c_try_link
"$LINENO"; then :
22366 gcc_cv_math_func_sin
=yes
22368 gcc_cv_math_func_sin
=no
22370 rm -f core conftest.err conftest.
$ac_objext \
22371 conftest
$ac_exeext conftest.
$ac_ext
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22374 $as_echo "$gcc_cv_math_func_sin" >&6; }
22375 if test $gcc_cv_math_func_sin = yes; then
22377 cat >>confdefs.h
<<_ACEOF
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22387 $as_echo_n "checking for sinl... " >&6; }
22388 if ${gcc_cv_math_func_sinl+:} false
; then :
22389 $as_echo_n "(cached) " >&6
22391 if test x
$gcc_no_link = xyes
; then
22392 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22397 #ifdef HAVE_COMPLEX_H
22398 #include <complex.h>
22404 int (*ptr)() = (int (*)())sinl;
22413 if ac_fn_c_try_link
"$LINENO"; then :
22414 gcc_cv_math_func_sinl
=yes
22416 gcc_cv_math_func_sinl
=no
22418 rm -f core conftest.err conftest.
$ac_objext \
22419 conftest
$ac_exeext conftest.
$ac_ext
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22422 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22423 if test $gcc_cv_math_func_sinl = yes; then
22425 cat >>confdefs.h
<<_ACEOF
22426 #define HAVE_SINL 1
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22435 $as_echo_n "checking for csinf... " >&6; }
22436 if ${gcc_cv_math_func_csinf+:} false
; then :
22437 $as_echo_n "(cached) " >&6
22439 if test x
$gcc_no_link = xyes
; then
22440 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22443 /* end confdefs.h. */
22445 #ifdef HAVE_COMPLEX_H
22446 #include <complex.h>
22452 int (*ptr)() = (int (*)())csinf;
22461 if ac_fn_c_try_link
"$LINENO"; then :
22462 gcc_cv_math_func_csinf
=yes
22464 gcc_cv_math_func_csinf
=no
22466 rm -f core conftest.err conftest.
$ac_objext \
22467 conftest
$ac_exeext conftest.
$ac_ext
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22470 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22471 if test $gcc_cv_math_func_csinf = yes; then
22473 cat >>confdefs.h
<<_ACEOF
22474 #define HAVE_CSINF 1
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22483 $as_echo_n "checking for csin... " >&6; }
22484 if ${gcc_cv_math_func_csin+:} false
; then :
22485 $as_echo_n "(cached) " >&6
22487 if test x
$gcc_no_link = xyes
; then
22488 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22491 /* end confdefs.h. */
22493 #ifdef HAVE_COMPLEX_H
22494 #include <complex.h>
22500 int (*ptr)() = (int (*)())csin;
22509 if ac_fn_c_try_link
"$LINENO"; then :
22510 gcc_cv_math_func_csin
=yes
22512 gcc_cv_math_func_csin
=no
22514 rm -f core conftest.err conftest.
$ac_objext \
22515 conftest
$ac_exeext conftest.
$ac_ext
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22518 $as_echo "$gcc_cv_math_func_csin" >&6; }
22519 if test $gcc_cv_math_func_csin = yes; then
22521 cat >>confdefs.h
<<_ACEOF
22522 #define HAVE_CSIN 1
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22531 $as_echo_n "checking for csinl... " >&6; }
22532 if ${gcc_cv_math_func_csinl+:} false
; then :
22533 $as_echo_n "(cached) " >&6
22535 if test x
$gcc_no_link = xyes
; then
22536 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h. */
22541 #ifdef HAVE_COMPLEX_H
22542 #include <complex.h>
22548 int (*ptr)() = (int (*)())csinl;
22557 if ac_fn_c_try_link
"$LINENO"; then :
22558 gcc_cv_math_func_csinl
=yes
22560 gcc_cv_math_func_csinl
=no
22562 rm -f core conftest.err conftest.
$ac_objext \
22563 conftest
$ac_exeext conftest.
$ac_ext
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22566 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22567 if test $gcc_cv_math_func_csinl = yes; then
22569 cat >>confdefs.h
<<_ACEOF
22570 #define HAVE_CSINL 1
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22579 $as_echo_n "checking for sinhf... " >&6; }
22580 if ${gcc_cv_math_func_sinhf+:} false
; then :
22581 $as_echo_n "(cached) " >&6
22583 if test x
$gcc_no_link = xyes
; then
22584 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h. */
22589 #ifdef HAVE_COMPLEX_H
22590 #include <complex.h>
22596 int (*ptr)() = (int (*)())sinhf;
22605 if ac_fn_c_try_link
"$LINENO"; then :
22606 gcc_cv_math_func_sinhf
=yes
22608 gcc_cv_math_func_sinhf
=no
22610 rm -f core conftest.err conftest.
$ac_objext \
22611 conftest
$ac_exeext conftest.
$ac_ext
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22614 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22615 if test $gcc_cv_math_func_sinhf = yes; then
22617 cat >>confdefs.h
<<_ACEOF
22618 #define HAVE_SINHF 1
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22627 $as_echo_n "checking for sinh... " >&6; }
22628 if ${gcc_cv_math_func_sinh+:} false
; then :
22629 $as_echo_n "(cached) " >&6
22631 if test x
$gcc_no_link = xyes
; then
22632 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22637 #ifdef HAVE_COMPLEX_H
22638 #include <complex.h>
22644 int (*ptr)() = (int (*)())sinh;
22653 if ac_fn_c_try_link
"$LINENO"; then :
22654 gcc_cv_math_func_sinh
=yes
22656 gcc_cv_math_func_sinh
=no
22658 rm -f core conftest.err conftest.
$ac_objext \
22659 conftest
$ac_exeext conftest.
$ac_ext
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22662 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22663 if test $gcc_cv_math_func_sinh = yes; then
22665 cat >>confdefs.h
<<_ACEOF
22666 #define HAVE_SINH 1
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22675 $as_echo_n "checking for sinhl... " >&6; }
22676 if ${gcc_cv_math_func_sinhl+:} false
; then :
22677 $as_echo_n "(cached) " >&6
22679 if test x
$gcc_no_link = xyes
; then
22680 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22683 /* end confdefs.h. */
22685 #ifdef HAVE_COMPLEX_H
22686 #include <complex.h>
22692 int (*ptr)() = (int (*)())sinhl;
22701 if ac_fn_c_try_link
"$LINENO"; then :
22702 gcc_cv_math_func_sinhl
=yes
22704 gcc_cv_math_func_sinhl
=no
22706 rm -f core conftest.err conftest.
$ac_objext \
22707 conftest
$ac_exeext conftest.
$ac_ext
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22710 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22711 if test $gcc_cv_math_func_sinhl = yes; then
22713 cat >>confdefs.h
<<_ACEOF
22714 #define HAVE_SINHL 1
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22723 $as_echo_n "checking for csinhf... " >&6; }
22724 if ${gcc_cv_math_func_csinhf+:} false
; then :
22725 $as_echo_n "(cached) " >&6
22727 if test x
$gcc_no_link = xyes
; then
22728 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22733 #ifdef HAVE_COMPLEX_H
22734 #include <complex.h>
22740 int (*ptr)() = (int (*)())csinhf;
22749 if ac_fn_c_try_link
"$LINENO"; then :
22750 gcc_cv_math_func_csinhf
=yes
22752 gcc_cv_math_func_csinhf
=no
22754 rm -f core conftest.err conftest.
$ac_objext \
22755 conftest
$ac_exeext conftest.
$ac_ext
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22758 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22759 if test $gcc_cv_math_func_csinhf = yes; then
22761 cat >>confdefs.h
<<_ACEOF
22762 #define HAVE_CSINHF 1
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22771 $as_echo_n "checking for csinh... " >&6; }
22772 if ${gcc_cv_math_func_csinh+:} false
; then :
22773 $as_echo_n "(cached) " >&6
22775 if test x
$gcc_no_link = xyes
; then
22776 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22781 #ifdef HAVE_COMPLEX_H
22782 #include <complex.h>
22788 int (*ptr)() = (int (*)())csinh;
22797 if ac_fn_c_try_link
"$LINENO"; then :
22798 gcc_cv_math_func_csinh
=yes
22800 gcc_cv_math_func_csinh
=no
22802 rm -f core conftest.err conftest.
$ac_objext \
22803 conftest
$ac_exeext conftest.
$ac_ext
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22806 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22807 if test $gcc_cv_math_func_csinh = yes; then
22809 cat >>confdefs.h
<<_ACEOF
22810 #define HAVE_CSINH 1
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22819 $as_echo_n "checking for csinhl... " >&6; }
22820 if ${gcc_cv_math_func_csinhl+:} false
; then :
22821 $as_echo_n "(cached) " >&6
22823 if test x
$gcc_no_link = xyes
; then
22824 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22827 /* end confdefs.h. */
22829 #ifdef HAVE_COMPLEX_H
22830 #include <complex.h>
22836 int (*ptr)() = (int (*)())csinhl;
22845 if ac_fn_c_try_link
"$LINENO"; then :
22846 gcc_cv_math_func_csinhl
=yes
22848 gcc_cv_math_func_csinhl
=no
22850 rm -f core conftest.err conftest.
$ac_objext \
22851 conftest
$ac_exeext conftest.
$ac_ext
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22854 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22855 if test $gcc_cv_math_func_csinhl = yes; then
22857 cat >>confdefs.h
<<_ACEOF
22858 #define HAVE_CSINHL 1
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22867 $as_echo_n "checking for sqrtf... " >&6; }
22868 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22869 $as_echo_n "(cached) " >&6
22871 if test x
$gcc_no_link = xyes
; then
22872 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22875 /* end confdefs.h. */
22877 #ifdef HAVE_COMPLEX_H
22878 #include <complex.h>
22884 int (*ptr)() = (int (*)())sqrtf;
22893 if ac_fn_c_try_link
"$LINENO"; then :
22894 gcc_cv_math_func_sqrtf
=yes
22896 gcc_cv_math_func_sqrtf
=no
22898 rm -f core conftest.err conftest.
$ac_objext \
22899 conftest
$ac_exeext conftest.
$ac_ext
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22902 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22903 if test $gcc_cv_math_func_sqrtf = yes; then
22905 cat >>confdefs.h
<<_ACEOF
22906 #define HAVE_SQRTF 1
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22915 $as_echo_n "checking for sqrt... " >&6; }
22916 if ${gcc_cv_math_func_sqrt+:} false
; then :
22917 $as_echo_n "(cached) " >&6
22919 if test x
$gcc_no_link = xyes
; then
22920 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22925 #ifdef HAVE_COMPLEX_H
22926 #include <complex.h>
22932 int (*ptr)() = (int (*)())sqrt;
22941 if ac_fn_c_try_link
"$LINENO"; then :
22942 gcc_cv_math_func_sqrt
=yes
22944 gcc_cv_math_func_sqrt
=no
22946 rm -f core conftest.err conftest.
$ac_objext \
22947 conftest
$ac_exeext conftest.
$ac_ext
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22950 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22951 if test $gcc_cv_math_func_sqrt = yes; then
22953 cat >>confdefs.h
<<_ACEOF
22954 #define HAVE_SQRT 1
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22963 $as_echo_n "checking for sqrtl... " >&6; }
22964 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22965 $as_echo_n "(cached) " >&6
22967 if test x
$gcc_no_link = xyes
; then
22968 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h. */
22973 #ifdef HAVE_COMPLEX_H
22974 #include <complex.h>
22980 int (*ptr)() = (int (*)())sqrtl;
22989 if ac_fn_c_try_link
"$LINENO"; then :
22990 gcc_cv_math_func_sqrtl
=yes
22992 gcc_cv_math_func_sqrtl
=no
22994 rm -f core conftest.err conftest.
$ac_objext \
22995 conftest
$ac_exeext conftest.
$ac_ext
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22998 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22999 if test $gcc_cv_math_func_sqrtl = yes; then
23001 cat >>confdefs.h
<<_ACEOF
23002 #define HAVE_SQRTL 1
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23011 $as_echo_n "checking for csqrtf... " >&6; }
23012 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23013 $as_echo_n "(cached) " >&6
23015 if test x
$gcc_no_link = xyes
; then
23016 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23021 #ifdef HAVE_COMPLEX_H
23022 #include <complex.h>
23028 int (*ptr)() = (int (*)())csqrtf;
23037 if ac_fn_c_try_link
"$LINENO"; then :
23038 gcc_cv_math_func_csqrtf
=yes
23040 gcc_cv_math_func_csqrtf
=no
23042 rm -f core conftest.err conftest.
$ac_objext \
23043 conftest
$ac_exeext conftest.
$ac_ext
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23046 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23047 if test $gcc_cv_math_func_csqrtf = yes; then
23049 cat >>confdefs.h
<<_ACEOF
23050 #define HAVE_CSQRTF 1
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23059 $as_echo_n "checking for csqrt... " >&6; }
23060 if ${gcc_cv_math_func_csqrt+:} false
; then :
23061 $as_echo_n "(cached) " >&6
23063 if test x
$gcc_no_link = xyes
; then
23064 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23067 /* end confdefs.h. */
23069 #ifdef HAVE_COMPLEX_H
23070 #include <complex.h>
23076 int (*ptr)() = (int (*)())csqrt;
23085 if ac_fn_c_try_link
"$LINENO"; then :
23086 gcc_cv_math_func_csqrt
=yes
23088 gcc_cv_math_func_csqrt
=no
23090 rm -f core conftest.err conftest.
$ac_objext \
23091 conftest
$ac_exeext conftest.
$ac_ext
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23094 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23095 if test $gcc_cv_math_func_csqrt = yes; then
23097 cat >>confdefs.h
<<_ACEOF
23098 #define HAVE_CSQRT 1
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23107 $as_echo_n "checking for csqrtl... " >&6; }
23108 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23109 $as_echo_n "(cached) " >&6
23111 if test x
$gcc_no_link = xyes
; then
23112 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h. */
23117 #ifdef HAVE_COMPLEX_H
23118 #include <complex.h>
23124 int (*ptr)() = (int (*)())csqrtl;
23133 if ac_fn_c_try_link
"$LINENO"; then :
23134 gcc_cv_math_func_csqrtl
=yes
23136 gcc_cv_math_func_csqrtl
=no
23138 rm -f core conftest.err conftest.
$ac_objext \
23139 conftest
$ac_exeext conftest.
$ac_ext
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23142 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23143 if test $gcc_cv_math_func_csqrtl = yes; then
23145 cat >>confdefs.h
<<_ACEOF
23146 #define HAVE_CSQRTL 1
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23155 $as_echo_n "checking for tanf... " >&6; }
23156 if ${gcc_cv_math_func_tanf+:} false
; then :
23157 $as_echo_n "(cached) " >&6
23159 if test x
$gcc_no_link = xyes
; then
23160 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23165 #ifdef HAVE_COMPLEX_H
23166 #include <complex.h>
23172 int (*ptr)() = (int (*)())tanf;
23181 if ac_fn_c_try_link
"$LINENO"; then :
23182 gcc_cv_math_func_tanf
=yes
23184 gcc_cv_math_func_tanf
=no
23186 rm -f core conftest.err conftest.
$ac_objext \
23187 conftest
$ac_exeext conftest.
$ac_ext
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23190 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23191 if test $gcc_cv_math_func_tanf = yes; then
23193 cat >>confdefs.h
<<_ACEOF
23194 #define HAVE_TANF 1
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23203 $as_echo_n "checking for tan... " >&6; }
23204 if ${gcc_cv_math_func_tan+:} false
; then :
23205 $as_echo_n "(cached) " >&6
23207 if test x
$gcc_no_link = xyes
; then
23208 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23211 /* end confdefs.h. */
23213 #ifdef HAVE_COMPLEX_H
23214 #include <complex.h>
23220 int (*ptr)() = (int (*)())tan;
23229 if ac_fn_c_try_link
"$LINENO"; then :
23230 gcc_cv_math_func_tan
=yes
23232 gcc_cv_math_func_tan
=no
23234 rm -f core conftest.err conftest.
$ac_objext \
23235 conftest
$ac_exeext conftest.
$ac_ext
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23238 $as_echo "$gcc_cv_math_func_tan" >&6; }
23239 if test $gcc_cv_math_func_tan = yes; then
23241 cat >>confdefs.h
<<_ACEOF
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23251 $as_echo_n "checking for tanl... " >&6; }
23252 if ${gcc_cv_math_func_tanl+:} false
; then :
23253 $as_echo_n "(cached) " >&6
23255 if test x
$gcc_no_link = xyes
; then
23256 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h. */
23261 #ifdef HAVE_COMPLEX_H
23262 #include <complex.h>
23268 int (*ptr)() = (int (*)())tanl;
23277 if ac_fn_c_try_link
"$LINENO"; then :
23278 gcc_cv_math_func_tanl
=yes
23280 gcc_cv_math_func_tanl
=no
23282 rm -f core conftest.err conftest.
$ac_objext \
23283 conftest
$ac_exeext conftest.
$ac_ext
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23286 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23287 if test $gcc_cv_math_func_tanl = yes; then
23289 cat >>confdefs.h
<<_ACEOF
23290 #define HAVE_TANL 1
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23299 $as_echo_n "checking for ctanf... " >&6; }
23300 if ${gcc_cv_math_func_ctanf+:} false
; then :
23301 $as_echo_n "(cached) " >&6
23303 if test x
$gcc_no_link = xyes
; then
23304 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23307 /* end confdefs.h. */
23309 #ifdef HAVE_COMPLEX_H
23310 #include <complex.h>
23316 int (*ptr)() = (int (*)())ctanf;
23325 if ac_fn_c_try_link
"$LINENO"; then :
23326 gcc_cv_math_func_ctanf
=yes
23328 gcc_cv_math_func_ctanf
=no
23330 rm -f core conftest.err conftest.
$ac_objext \
23331 conftest
$ac_exeext conftest.
$ac_ext
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23334 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23335 if test $gcc_cv_math_func_ctanf = yes; then
23337 cat >>confdefs.h
<<_ACEOF
23338 #define HAVE_CTANF 1
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23347 $as_echo_n "checking for ctan... " >&6; }
23348 if ${gcc_cv_math_func_ctan+:} false
; then :
23349 $as_echo_n "(cached) " >&6
23351 if test x
$gcc_no_link = xyes
; then
23352 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23357 #ifdef HAVE_COMPLEX_H
23358 #include <complex.h>
23364 int (*ptr)() = (int (*)())ctan;
23373 if ac_fn_c_try_link
"$LINENO"; then :
23374 gcc_cv_math_func_ctan
=yes
23376 gcc_cv_math_func_ctan
=no
23378 rm -f core conftest.err conftest.
$ac_objext \
23379 conftest
$ac_exeext conftest.
$ac_ext
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23382 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23383 if test $gcc_cv_math_func_ctan = yes; then
23385 cat >>confdefs.h
<<_ACEOF
23386 #define HAVE_CTAN 1
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23395 $as_echo_n "checking for ctanl... " >&6; }
23396 if ${gcc_cv_math_func_ctanl+:} false
; then :
23397 $as_echo_n "(cached) " >&6
23399 if test x
$gcc_no_link = xyes
; then
23400 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23405 #ifdef HAVE_COMPLEX_H
23406 #include <complex.h>
23412 int (*ptr)() = (int (*)())ctanl;
23421 if ac_fn_c_try_link
"$LINENO"; then :
23422 gcc_cv_math_func_ctanl
=yes
23424 gcc_cv_math_func_ctanl
=no
23426 rm -f core conftest.err conftest.
$ac_objext \
23427 conftest
$ac_exeext conftest.
$ac_ext
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23430 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23431 if test $gcc_cv_math_func_ctanl = yes; then
23433 cat >>confdefs.h
<<_ACEOF
23434 #define HAVE_CTANL 1
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23443 $as_echo_n "checking for tanhf... " >&6; }
23444 if ${gcc_cv_math_func_tanhf+:} false
; then :
23445 $as_echo_n "(cached) " >&6
23447 if test x
$gcc_no_link = xyes
; then
23448 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23453 #ifdef HAVE_COMPLEX_H
23454 #include <complex.h>
23460 int (*ptr)() = (int (*)())tanhf;
23469 if ac_fn_c_try_link
"$LINENO"; then :
23470 gcc_cv_math_func_tanhf
=yes
23472 gcc_cv_math_func_tanhf
=no
23474 rm -f core conftest.err conftest.
$ac_objext \
23475 conftest
$ac_exeext conftest.
$ac_ext
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23478 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23479 if test $gcc_cv_math_func_tanhf = yes; then
23481 cat >>confdefs.h
<<_ACEOF
23482 #define HAVE_TANHF 1
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23491 $as_echo_n "checking for tanh... " >&6; }
23492 if ${gcc_cv_math_func_tanh+:} false
; then :
23493 $as_echo_n "(cached) " >&6
23495 if test x
$gcc_no_link = xyes
; then
23496 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23501 #ifdef HAVE_COMPLEX_H
23502 #include <complex.h>
23508 int (*ptr)() = (int (*)())tanh;
23517 if ac_fn_c_try_link
"$LINENO"; then :
23518 gcc_cv_math_func_tanh
=yes
23520 gcc_cv_math_func_tanh
=no
23522 rm -f core conftest.err conftest.
$ac_objext \
23523 conftest
$ac_exeext conftest.
$ac_ext
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23526 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23527 if test $gcc_cv_math_func_tanh = yes; then
23529 cat >>confdefs.h
<<_ACEOF
23530 #define HAVE_TANH 1
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23539 $as_echo_n "checking for tanhl... " >&6; }
23540 if ${gcc_cv_math_func_tanhl+:} false
; then :
23541 $as_echo_n "(cached) " >&6
23543 if test x
$gcc_no_link = xyes
; then
23544 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23549 #ifdef HAVE_COMPLEX_H
23550 #include <complex.h>
23556 int (*ptr)() = (int (*)())tanhl;
23565 if ac_fn_c_try_link
"$LINENO"; then :
23566 gcc_cv_math_func_tanhl
=yes
23568 gcc_cv_math_func_tanhl
=no
23570 rm -f core conftest.err conftest.
$ac_objext \
23571 conftest
$ac_exeext conftest.
$ac_ext
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23574 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23575 if test $gcc_cv_math_func_tanhl = yes; then
23577 cat >>confdefs.h
<<_ACEOF
23578 #define HAVE_TANHL 1
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23587 $as_echo_n "checking for ctanhf... " >&6; }
23588 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23589 $as_echo_n "(cached) " >&6
23591 if test x
$gcc_no_link = xyes
; then
23592 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23595 /* end confdefs.h. */
23597 #ifdef HAVE_COMPLEX_H
23598 #include <complex.h>
23604 int (*ptr)() = (int (*)())ctanhf;
23613 if ac_fn_c_try_link
"$LINENO"; then :
23614 gcc_cv_math_func_ctanhf
=yes
23616 gcc_cv_math_func_ctanhf
=no
23618 rm -f core conftest.err conftest.
$ac_objext \
23619 conftest
$ac_exeext conftest.
$ac_ext
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23622 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23623 if test $gcc_cv_math_func_ctanhf = yes; then
23625 cat >>confdefs.h
<<_ACEOF
23626 #define HAVE_CTANHF 1
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23635 $as_echo_n "checking for ctanh... " >&6; }
23636 if ${gcc_cv_math_func_ctanh+:} false
; then :
23637 $as_echo_n "(cached) " >&6
23639 if test x
$gcc_no_link = xyes
; then
23640 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23645 #ifdef HAVE_COMPLEX_H
23646 #include <complex.h>
23652 int (*ptr)() = (int (*)())ctanh;
23661 if ac_fn_c_try_link
"$LINENO"; then :
23662 gcc_cv_math_func_ctanh
=yes
23664 gcc_cv_math_func_ctanh
=no
23666 rm -f core conftest.err conftest.
$ac_objext \
23667 conftest
$ac_exeext conftest.
$ac_ext
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23670 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23671 if test $gcc_cv_math_func_ctanh = yes; then
23673 cat >>confdefs.h
<<_ACEOF
23674 #define HAVE_CTANH 1
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23683 $as_echo_n "checking for ctanhl... " >&6; }
23684 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23685 $as_echo_n "(cached) " >&6
23687 if test x
$gcc_no_link = xyes
; then
23688 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23693 #ifdef HAVE_COMPLEX_H
23694 #include <complex.h>
23700 int (*ptr)() = (int (*)())ctanhl;
23709 if ac_fn_c_try_link
"$LINENO"; then :
23710 gcc_cv_math_func_ctanhl
=yes
23712 gcc_cv_math_func_ctanhl
=no
23714 rm -f core conftest.err conftest.
$ac_objext \
23715 conftest
$ac_exeext conftest.
$ac_ext
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23718 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23719 if test $gcc_cv_math_func_ctanhl = yes; then
23721 cat >>confdefs.h
<<_ACEOF
23722 #define HAVE_CTANHL 1
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23731 $as_echo_n "checking for truncf... " >&6; }
23732 if ${gcc_cv_math_func_truncf+:} false
; then :
23733 $as_echo_n "(cached) " >&6
23735 if test x
$gcc_no_link = xyes
; then
23736 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23739 /* end confdefs.h. */
23741 #ifdef HAVE_COMPLEX_H
23742 #include <complex.h>
23748 int (*ptr)() = (int (*)())truncf;
23757 if ac_fn_c_try_link
"$LINENO"; then :
23758 gcc_cv_math_func_truncf
=yes
23760 gcc_cv_math_func_truncf
=no
23762 rm -f core conftest.err conftest.
$ac_objext \
23763 conftest
$ac_exeext conftest.
$ac_ext
23765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23766 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23767 if test $gcc_cv_math_func_truncf = yes; then
23769 cat >>confdefs.h
<<_ACEOF
23770 #define HAVE_TRUNCF 1
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23779 $as_echo_n "checking for trunc... " >&6; }
23780 if ${gcc_cv_math_func_trunc+:} false
; then :
23781 $as_echo_n "(cached) " >&6
23783 if test x
$gcc_no_link = xyes
; then
23784 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h. */
23789 #ifdef HAVE_COMPLEX_H
23790 #include <complex.h>
23796 int (*ptr)() = (int (*)())trunc;
23805 if ac_fn_c_try_link
"$LINENO"; then :
23806 gcc_cv_math_func_trunc
=yes
23808 gcc_cv_math_func_trunc
=no
23810 rm -f core conftest.err conftest.
$ac_objext \
23811 conftest
$ac_exeext conftest.
$ac_ext
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23814 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23815 if test $gcc_cv_math_func_trunc = yes; then
23817 cat >>confdefs.h
<<_ACEOF
23818 #define HAVE_TRUNC 1
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23827 $as_echo_n "checking for truncl... " >&6; }
23828 if ${gcc_cv_math_func_truncl+:} false
; then :
23829 $as_echo_n "(cached) " >&6
23831 if test x
$gcc_no_link = xyes
; then
23832 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h. */
23837 #ifdef HAVE_COMPLEX_H
23838 #include <complex.h>
23844 int (*ptr)() = (int (*)())truncl;
23853 if ac_fn_c_try_link
"$LINENO"; then :
23854 gcc_cv_math_func_truncl
=yes
23856 gcc_cv_math_func_truncl
=no
23858 rm -f core conftest.err conftest.
$ac_objext \
23859 conftest
$ac_exeext conftest.
$ac_ext
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23862 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23863 if test $gcc_cv_math_func_truncl = yes; then
23865 cat >>confdefs.h
<<_ACEOF
23866 #define HAVE_TRUNCL 1
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23875 $as_echo_n "checking for erff... " >&6; }
23876 if ${gcc_cv_math_func_erff+:} false
; then :
23877 $as_echo_n "(cached) " >&6
23879 if test x
$gcc_no_link = xyes
; then
23880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23885 #ifdef HAVE_COMPLEX_H
23886 #include <complex.h>
23892 int (*ptr)() = (int (*)())erff;
23901 if ac_fn_c_try_link
"$LINENO"; then :
23902 gcc_cv_math_func_erff
=yes
23904 gcc_cv_math_func_erff
=no
23906 rm -f core conftest.err conftest.
$ac_objext \
23907 conftest
$ac_exeext conftest.
$ac_ext
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23910 $as_echo "$gcc_cv_math_func_erff" >&6; }
23911 if test $gcc_cv_math_func_erff = yes; then
23913 cat >>confdefs.h
<<_ACEOF
23914 #define HAVE_ERFF 1
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23923 $as_echo_n "checking for erf... " >&6; }
23924 if ${gcc_cv_math_func_erf+:} false
; then :
23925 $as_echo_n "(cached) " >&6
23927 if test x
$gcc_no_link = xyes
; then
23928 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23931 /* end confdefs.h. */
23933 #ifdef HAVE_COMPLEX_H
23934 #include <complex.h>
23940 int (*ptr)() = (int (*)())erf;
23949 if ac_fn_c_try_link
"$LINENO"; then :
23950 gcc_cv_math_func_erf
=yes
23952 gcc_cv_math_func_erf
=no
23954 rm -f core conftest.err conftest.
$ac_objext \
23955 conftest
$ac_exeext conftest.
$ac_ext
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23958 $as_echo "$gcc_cv_math_func_erf" >&6; }
23959 if test $gcc_cv_math_func_erf = yes; then
23961 cat >>confdefs.h
<<_ACEOF
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23971 $as_echo_n "checking for erfcf... " >&6; }
23972 if ${gcc_cv_math_func_erfcf+:} false
; then :
23973 $as_echo_n "(cached) " >&6
23975 if test x
$gcc_no_link = xyes
; then
23976 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23979 /* end confdefs.h. */
23981 #ifdef HAVE_COMPLEX_H
23982 #include <complex.h>
23988 int (*ptr)() = (int (*)())erfcf;
23997 if ac_fn_c_try_link
"$LINENO"; then :
23998 gcc_cv_math_func_erfcf
=yes
24000 gcc_cv_math_func_erfcf
=no
24002 rm -f core conftest.err conftest.
$ac_objext \
24003 conftest
$ac_exeext conftest.
$ac_ext
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24006 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24007 if test $gcc_cv_math_func_erfcf = yes; then
24009 cat >>confdefs.h
<<_ACEOF
24010 #define HAVE_ERFCF 1
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24019 $as_echo_n "checking for erfc... " >&6; }
24020 if ${gcc_cv_math_func_erfc+:} false
; then :
24021 $as_echo_n "(cached) " >&6
24023 if test x
$gcc_no_link = xyes
; then
24024 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24029 #ifdef HAVE_COMPLEX_H
24030 #include <complex.h>
24036 int (*ptr)() = (int (*)())erfc;
24045 if ac_fn_c_try_link
"$LINENO"; then :
24046 gcc_cv_math_func_erfc
=yes
24048 gcc_cv_math_func_erfc
=no
24050 rm -f core conftest.err conftest.
$ac_objext \
24051 conftest
$ac_exeext conftest.
$ac_ext
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24054 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24055 if test $gcc_cv_math_func_erfc = yes; then
24057 cat >>confdefs.h
<<_ACEOF
24058 #define HAVE_ERFC 1
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24067 $as_echo_n "checking for erfcl... " >&6; }
24068 if ${gcc_cv_math_func_erfcl+:} false
; then :
24069 $as_echo_n "(cached) " >&6
24071 if test x
$gcc_no_link = xyes
; then
24072 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24075 /* end confdefs.h. */
24077 #ifdef HAVE_COMPLEX_H
24078 #include <complex.h>
24084 int (*ptr)() = (int (*)())erfcl;
24093 if ac_fn_c_try_link
"$LINENO"; then :
24094 gcc_cv_math_func_erfcl
=yes
24096 gcc_cv_math_func_erfcl
=no
24098 rm -f core conftest.err conftest.
$ac_objext \
24099 conftest
$ac_exeext conftest.
$ac_ext
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24102 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24103 if test $gcc_cv_math_func_erfcl = yes; then
24105 cat >>confdefs.h
<<_ACEOF
24106 #define HAVE_ERFCL 1
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24115 $as_echo_n "checking for j0f... " >&6; }
24116 if ${gcc_cv_math_func_j0f+:} false
; then :
24117 $as_echo_n "(cached) " >&6
24119 if test x
$gcc_no_link = xyes
; then
24120 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24123 /* end confdefs.h. */
24125 #ifdef HAVE_COMPLEX_H
24126 #include <complex.h>
24132 int (*ptr)() = (int (*)())j0f;
24141 if ac_fn_c_try_link
"$LINENO"; then :
24142 gcc_cv_math_func_j0f
=yes
24144 gcc_cv_math_func_j0f
=no
24146 rm -f core conftest.err conftest.
$ac_objext \
24147 conftest
$ac_exeext conftest.
$ac_ext
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24150 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24151 if test $gcc_cv_math_func_j0f = yes; then
24153 cat >>confdefs.h
<<_ACEOF
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24163 $as_echo_n "checking for j0... " >&6; }
24164 if ${gcc_cv_math_func_j0+:} false
; then :
24165 $as_echo_n "(cached) " >&6
24167 if test x
$gcc_no_link = xyes
; then
24168 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24171 /* end confdefs.h. */
24173 #ifdef HAVE_COMPLEX_H
24174 #include <complex.h>
24180 int (*ptr)() = (int (*)())j0;
24189 if ac_fn_c_try_link
"$LINENO"; then :
24190 gcc_cv_math_func_j0
=yes
24192 gcc_cv_math_func_j0
=no
24194 rm -f core conftest.err conftest.
$ac_objext \
24195 conftest
$ac_exeext conftest.
$ac_ext
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24198 $as_echo "$gcc_cv_math_func_j0" >&6; }
24199 if test $gcc_cv_math_func_j0 = yes; then
24201 cat >>confdefs.h
<<_ACEOF
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24211 $as_echo_n "checking for j1f... " >&6; }
24212 if ${gcc_cv_math_func_j1f+:} false
; then :
24213 $as_echo_n "(cached) " >&6
24215 if test x
$gcc_no_link = xyes
; then
24216 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h. */
24221 #ifdef HAVE_COMPLEX_H
24222 #include <complex.h>
24228 int (*ptr)() = (int (*)())j1f;
24237 if ac_fn_c_try_link
"$LINENO"; then :
24238 gcc_cv_math_func_j1f
=yes
24240 gcc_cv_math_func_j1f
=no
24242 rm -f core conftest.err conftest.
$ac_objext \
24243 conftest
$ac_exeext conftest.
$ac_ext
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24246 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24247 if test $gcc_cv_math_func_j1f = yes; then
24249 cat >>confdefs.h
<<_ACEOF
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24259 $as_echo_n "checking for j1... " >&6; }
24260 if ${gcc_cv_math_func_j1+:} false
; then :
24261 $as_echo_n "(cached) " >&6
24263 if test x
$gcc_no_link = xyes
; then
24264 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h. */
24269 #ifdef HAVE_COMPLEX_H
24270 #include <complex.h>
24276 int (*ptr)() = (int (*)())j1;
24285 if ac_fn_c_try_link
"$LINENO"; then :
24286 gcc_cv_math_func_j1
=yes
24288 gcc_cv_math_func_j1
=no
24290 rm -f core conftest.err conftest.
$ac_objext \
24291 conftest
$ac_exeext conftest.
$ac_ext
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24294 $as_echo "$gcc_cv_math_func_j1" >&6; }
24295 if test $gcc_cv_math_func_j1 = yes; then
24297 cat >>confdefs.h
<<_ACEOF
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24307 $as_echo_n "checking for jnf... " >&6; }
24308 if ${gcc_cv_math_func_jnf+:} false
; then :
24309 $as_echo_n "(cached) " >&6
24311 if test x
$gcc_no_link = xyes
; then
24312 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24315 /* end confdefs.h. */
24317 #ifdef HAVE_COMPLEX_H
24318 #include <complex.h>
24324 int (*ptr)() = (int (*)())jnf;
24333 if ac_fn_c_try_link
"$LINENO"; then :
24334 gcc_cv_math_func_jnf
=yes
24336 gcc_cv_math_func_jnf
=no
24338 rm -f core conftest.err conftest.
$ac_objext \
24339 conftest
$ac_exeext conftest.
$ac_ext
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24342 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24343 if test $gcc_cv_math_func_jnf = yes; then
24345 cat >>confdefs.h
<<_ACEOF
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24355 $as_echo_n "checking for jn... " >&6; }
24356 if ${gcc_cv_math_func_jn+:} false
; then :
24357 $as_echo_n "(cached) " >&6
24359 if test x
$gcc_no_link = xyes
; then
24360 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24365 #ifdef HAVE_COMPLEX_H
24366 #include <complex.h>
24372 int (*ptr)() = (int (*)())jn;
24381 if ac_fn_c_try_link
"$LINENO"; then :
24382 gcc_cv_math_func_jn
=yes
24384 gcc_cv_math_func_jn
=no
24386 rm -f core conftest.err conftest.
$ac_objext \
24387 conftest
$ac_exeext conftest.
$ac_ext
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24390 $as_echo "$gcc_cv_math_func_jn" >&6; }
24391 if test $gcc_cv_math_func_jn = yes; then
24393 cat >>confdefs.h
<<_ACEOF
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24403 $as_echo_n "checking for jnl... " >&6; }
24404 if ${gcc_cv_math_func_jnl+:} false
; then :
24405 $as_echo_n "(cached) " >&6
24407 if test x
$gcc_no_link = xyes
; then
24408 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24413 #ifdef HAVE_COMPLEX_H
24414 #include <complex.h>
24420 int (*ptr)() = (int (*)())jnl;
24429 if ac_fn_c_try_link
"$LINENO"; then :
24430 gcc_cv_math_func_jnl
=yes
24432 gcc_cv_math_func_jnl
=no
24434 rm -f core conftest.err conftest.
$ac_objext \
24435 conftest
$ac_exeext conftest.
$ac_ext
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24438 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24439 if test $gcc_cv_math_func_jnl = yes; then
24441 cat >>confdefs.h
<<_ACEOF
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24451 $as_echo_n "checking for y0f... " >&6; }
24452 if ${gcc_cv_math_func_y0f+:} false
; then :
24453 $as_echo_n "(cached) " >&6
24455 if test x
$gcc_no_link = xyes
; then
24456 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h. */
24461 #ifdef HAVE_COMPLEX_H
24462 #include <complex.h>
24468 int (*ptr)() = (int (*)())y0f;
24477 if ac_fn_c_try_link
"$LINENO"; then :
24478 gcc_cv_math_func_y0f
=yes
24480 gcc_cv_math_func_y0f
=no
24482 rm -f core conftest.err conftest.
$ac_objext \
24483 conftest
$ac_exeext conftest.
$ac_ext
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24486 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24487 if test $gcc_cv_math_func_y0f = yes; then
24489 cat >>confdefs.h
<<_ACEOF
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24499 $as_echo_n "checking for y0... " >&6; }
24500 if ${gcc_cv_math_func_y0+:} false
; then :
24501 $as_echo_n "(cached) " >&6
24503 if test x
$gcc_no_link = xyes
; then
24504 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h. */
24509 #ifdef HAVE_COMPLEX_H
24510 #include <complex.h>
24516 int (*ptr)() = (int (*)())y0;
24525 if ac_fn_c_try_link
"$LINENO"; then :
24526 gcc_cv_math_func_y0
=yes
24528 gcc_cv_math_func_y0
=no
24530 rm -f core conftest.err conftest.
$ac_objext \
24531 conftest
$ac_exeext conftest.
$ac_ext
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24534 $as_echo "$gcc_cv_math_func_y0" >&6; }
24535 if test $gcc_cv_math_func_y0 = yes; then
24537 cat >>confdefs.h
<<_ACEOF
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24547 $as_echo_n "checking for y1f... " >&6; }
24548 if ${gcc_cv_math_func_y1f+:} false
; then :
24549 $as_echo_n "(cached) " >&6
24551 if test x
$gcc_no_link = xyes
; then
24552 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24555 /* end confdefs.h. */
24557 #ifdef HAVE_COMPLEX_H
24558 #include <complex.h>
24564 int (*ptr)() = (int (*)())y1f;
24573 if ac_fn_c_try_link
"$LINENO"; then :
24574 gcc_cv_math_func_y1f
=yes
24576 gcc_cv_math_func_y1f
=no
24578 rm -f core conftest.err conftest.
$ac_objext \
24579 conftest
$ac_exeext conftest.
$ac_ext
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24582 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24583 if test $gcc_cv_math_func_y1f = yes; then
24585 cat >>confdefs.h
<<_ACEOF
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24595 $as_echo_n "checking for y1... " >&6; }
24596 if ${gcc_cv_math_func_y1+:} false
; then :
24597 $as_echo_n "(cached) " >&6
24599 if test x
$gcc_no_link = xyes
; then
24600 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24605 #ifdef HAVE_COMPLEX_H
24606 #include <complex.h>
24612 int (*ptr)() = (int (*)())y1;
24621 if ac_fn_c_try_link
"$LINENO"; then :
24622 gcc_cv_math_func_y1
=yes
24624 gcc_cv_math_func_y1
=no
24626 rm -f core conftest.err conftest.
$ac_objext \
24627 conftest
$ac_exeext conftest.
$ac_ext
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24630 $as_echo "$gcc_cv_math_func_y1" >&6; }
24631 if test $gcc_cv_math_func_y1 = yes; then
24633 cat >>confdefs.h
<<_ACEOF
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24643 $as_echo_n "checking for ynf... " >&6; }
24644 if ${gcc_cv_math_func_ynf+:} false
; then :
24645 $as_echo_n "(cached) " >&6
24647 if test x
$gcc_no_link = xyes
; then
24648 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24653 #ifdef HAVE_COMPLEX_H
24654 #include <complex.h>
24660 int (*ptr)() = (int (*)())ynf;
24669 if ac_fn_c_try_link
"$LINENO"; then :
24670 gcc_cv_math_func_ynf
=yes
24672 gcc_cv_math_func_ynf
=no
24674 rm -f core conftest.err conftest.
$ac_objext \
24675 conftest
$ac_exeext conftest.
$ac_ext
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24678 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24679 if test $gcc_cv_math_func_ynf = yes; then
24681 cat >>confdefs.h
<<_ACEOF
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24691 $as_echo_n "checking for yn... " >&6; }
24692 if ${gcc_cv_math_func_yn+:} false
; then :
24693 $as_echo_n "(cached) " >&6
24695 if test x
$gcc_no_link = xyes
; then
24696 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24699 /* end confdefs.h. */
24701 #ifdef HAVE_COMPLEX_H
24702 #include <complex.h>
24708 int (*ptr)() = (int (*)())yn;
24717 if ac_fn_c_try_link
"$LINENO"; then :
24718 gcc_cv_math_func_yn
=yes
24720 gcc_cv_math_func_yn
=no
24722 rm -f core conftest.err conftest.
$ac_objext \
24723 conftest
$ac_exeext conftest.
$ac_ext
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24726 $as_echo "$gcc_cv_math_func_yn" >&6; }
24727 if test $gcc_cv_math_func_yn = yes; then
24729 cat >>confdefs.h
<<_ACEOF
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24739 $as_echo_n "checking for ynl... " >&6; }
24740 if ${gcc_cv_math_func_ynl+:} false
; then :
24741 $as_echo_n "(cached) " >&6
24743 if test x
$gcc_no_link = xyes
; then
24744 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24747 /* end confdefs.h. */
24749 #ifdef HAVE_COMPLEX_H
24750 #include <complex.h>
24756 int (*ptr)() = (int (*)())ynl;
24765 if ac_fn_c_try_link
"$LINENO"; then :
24766 gcc_cv_math_func_ynl
=yes
24768 gcc_cv_math_func_ynl
=no
24770 rm -f core conftest.err conftest.
$ac_objext \
24771 conftest
$ac_exeext conftest.
$ac_ext
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24774 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24775 if test $gcc_cv_math_func_ynl = yes; then
24777 cat >>confdefs.h
<<_ACEOF
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24787 $as_echo_n "checking for tgamma... " >&6; }
24788 if ${gcc_cv_math_func_tgamma+:} false
; then :
24789 $as_echo_n "(cached) " >&6
24791 if test x
$gcc_no_link = xyes
; then
24792 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24795 /* end confdefs.h. */
24797 #ifdef HAVE_COMPLEX_H
24798 #include <complex.h>
24804 int (*ptr)() = (int (*)())tgamma;
24813 if ac_fn_c_try_link
"$LINENO"; then :
24814 gcc_cv_math_func_tgamma
=yes
24816 gcc_cv_math_func_tgamma
=no
24818 rm -f core conftest.err conftest.
$ac_objext \
24819 conftest
$ac_exeext conftest.
$ac_ext
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24822 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24823 if test $gcc_cv_math_func_tgamma = yes; then
24825 cat >>confdefs.h
<<_ACEOF
24826 #define HAVE_TGAMMA 1
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24835 $as_echo_n "checking for tgammaf... " >&6; }
24836 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24837 $as_echo_n "(cached) " >&6
24839 if test x
$gcc_no_link = xyes
; then
24840 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24845 #ifdef HAVE_COMPLEX_H
24846 #include <complex.h>
24852 int (*ptr)() = (int (*)())tgammaf;
24861 if ac_fn_c_try_link
"$LINENO"; then :
24862 gcc_cv_math_func_tgammaf
=yes
24864 gcc_cv_math_func_tgammaf
=no
24866 rm -f core conftest.err conftest.
$ac_objext \
24867 conftest
$ac_exeext conftest.
$ac_ext
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24870 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24871 if test $gcc_cv_math_func_tgammaf = yes; then
24873 cat >>confdefs.h
<<_ACEOF
24874 #define HAVE_TGAMMAF 1
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24883 $as_echo_n "checking for lgamma... " >&6; }
24884 if ${gcc_cv_math_func_lgamma+:} false
; then :
24885 $as_echo_n "(cached) " >&6
24887 if test x
$gcc_no_link = xyes
; then
24888 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24891 /* end confdefs.h. */
24893 #ifdef HAVE_COMPLEX_H
24894 #include <complex.h>
24900 int (*ptr)() = (int (*)())lgamma;
24909 if ac_fn_c_try_link
"$LINENO"; then :
24910 gcc_cv_math_func_lgamma
=yes
24912 gcc_cv_math_func_lgamma
=no
24914 rm -f core conftest.err conftest.
$ac_objext \
24915 conftest
$ac_exeext conftest.
$ac_ext
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24918 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24919 if test $gcc_cv_math_func_lgamma = yes; then
24921 cat >>confdefs.h
<<_ACEOF
24922 #define HAVE_LGAMMA 1
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24931 $as_echo_n "checking for lgammaf... " >&6; }
24932 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24933 $as_echo_n "(cached) " >&6
24935 if test x
$gcc_no_link = xyes
; then
24936 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24941 #ifdef HAVE_COMPLEX_H
24942 #include <complex.h>
24948 int (*ptr)() = (int (*)())lgammaf;
24957 if ac_fn_c_try_link
"$LINENO"; then :
24958 gcc_cv_math_func_lgammaf
=yes
24960 gcc_cv_math_func_lgammaf
=no
24962 rm -f core conftest.err conftest.
$ac_objext \
24963 conftest
$ac_exeext conftest.
$ac_ext
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24966 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24967 if test $gcc_cv_math_func_lgammaf = yes; then
24969 cat >>confdefs.h
<<_ACEOF
24970 #define HAVE_LGAMMAF 1
24976 # Check for GFORTRAN_C99_1.1 funcs
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24981 $as_echo_n "checking for cacos... " >&6; }
24982 if ${gcc_cv_math_func_cacos+:} false
; then :
24983 $as_echo_n "(cached) " >&6
24985 if test x
$gcc_no_link = xyes
; then
24986 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24989 /* end confdefs.h. */
24991 #ifdef HAVE_COMPLEX_H
24992 #include <complex.h>
24998 int (*ptr)() = (int (*)())cacos;
25007 if ac_fn_c_try_link
"$LINENO"; then :
25008 gcc_cv_math_func_cacos
=yes
25010 gcc_cv_math_func_cacos
=no
25012 rm -f core conftest.err conftest.
$ac_objext \
25013 conftest
$ac_exeext conftest.
$ac_ext
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25016 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25017 if test $gcc_cv_math_func_cacos = yes; then
25019 cat >>confdefs.h
<<_ACEOF
25020 #define HAVE_CACOS 1
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25029 $as_echo_n "checking for cacosf... " >&6; }
25030 if ${gcc_cv_math_func_cacosf+:} false
; then :
25031 $as_echo_n "(cached) " >&6
25033 if test x
$gcc_no_link = xyes
; then
25034 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25039 #ifdef HAVE_COMPLEX_H
25040 #include <complex.h>
25046 int (*ptr)() = (int (*)())cacosf;
25055 if ac_fn_c_try_link
"$LINENO"; then :
25056 gcc_cv_math_func_cacosf
=yes
25058 gcc_cv_math_func_cacosf
=no
25060 rm -f core conftest.err conftest.
$ac_objext \
25061 conftest
$ac_exeext conftest.
$ac_ext
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25064 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25065 if test $gcc_cv_math_func_cacosf = yes; then
25067 cat >>confdefs.h
<<_ACEOF
25068 #define HAVE_CACOSF 1
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25077 $as_echo_n "checking for cacosh... " >&6; }
25078 if ${gcc_cv_math_func_cacosh+:} false
; then :
25079 $as_echo_n "(cached) " >&6
25081 if test x
$gcc_no_link = xyes
; then
25082 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25087 #ifdef HAVE_COMPLEX_H
25088 #include <complex.h>
25094 int (*ptr)() = (int (*)())cacosh;
25103 if ac_fn_c_try_link
"$LINENO"; then :
25104 gcc_cv_math_func_cacosh
=yes
25106 gcc_cv_math_func_cacosh
=no
25108 rm -f core conftest.err conftest.
$ac_objext \
25109 conftest
$ac_exeext conftest.
$ac_ext
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25112 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25113 if test $gcc_cv_math_func_cacosh = yes; then
25115 cat >>confdefs.h
<<_ACEOF
25116 #define HAVE_CACOSH 1
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25125 $as_echo_n "checking for cacoshf... " >&6; }
25126 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25127 $as_echo_n "(cached) " >&6
25129 if test x
$gcc_no_link = xyes
; then
25130 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25133 /* end confdefs.h. */
25135 #ifdef HAVE_COMPLEX_H
25136 #include <complex.h>
25142 int (*ptr)() = (int (*)())cacoshf;
25151 if ac_fn_c_try_link
"$LINENO"; then :
25152 gcc_cv_math_func_cacoshf
=yes
25154 gcc_cv_math_func_cacoshf
=no
25156 rm -f core conftest.err conftest.
$ac_objext \
25157 conftest
$ac_exeext conftest.
$ac_ext
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25160 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25161 if test $gcc_cv_math_func_cacoshf = yes; then
25163 cat >>confdefs.h
<<_ACEOF
25164 #define HAVE_CACOSHF 1
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25173 $as_echo_n "checking for cacoshl... " >&6; }
25174 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25175 $as_echo_n "(cached) " >&6
25177 if test x
$gcc_no_link = xyes
; then
25178 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25181 /* end confdefs.h. */
25183 #ifdef HAVE_COMPLEX_H
25184 #include <complex.h>
25190 int (*ptr)() = (int (*)())cacoshl;
25199 if ac_fn_c_try_link
"$LINENO"; then :
25200 gcc_cv_math_func_cacoshl
=yes
25202 gcc_cv_math_func_cacoshl
=no
25204 rm -f core conftest.err conftest.
$ac_objext \
25205 conftest
$ac_exeext conftest.
$ac_ext
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25208 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25209 if test $gcc_cv_math_func_cacoshl = yes; then
25211 cat >>confdefs.h
<<_ACEOF
25212 #define HAVE_CACOSHL 1
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25221 $as_echo_n "checking for cacosl... " >&6; }
25222 if ${gcc_cv_math_func_cacosl+:} false
; then :
25223 $as_echo_n "(cached) " >&6
25225 if test x
$gcc_no_link = xyes
; then
25226 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25229 /* end confdefs.h. */
25231 #ifdef HAVE_COMPLEX_H
25232 #include <complex.h>
25238 int (*ptr)() = (int (*)())cacosl;
25247 if ac_fn_c_try_link
"$LINENO"; then :
25248 gcc_cv_math_func_cacosl
=yes
25250 gcc_cv_math_func_cacosl
=no
25252 rm -f core conftest.err conftest.
$ac_objext \
25253 conftest
$ac_exeext conftest.
$ac_ext
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25256 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25257 if test $gcc_cv_math_func_cacosl = yes; then
25259 cat >>confdefs.h
<<_ACEOF
25260 #define HAVE_CACOSL 1
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25269 $as_echo_n "checking for casin... " >&6; }
25270 if ${gcc_cv_math_func_casin+:} false
; then :
25271 $as_echo_n "(cached) " >&6
25273 if test x
$gcc_no_link = xyes
; then
25274 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25277 /* end confdefs.h. */
25279 #ifdef HAVE_COMPLEX_H
25280 #include <complex.h>
25286 int (*ptr)() = (int (*)())casin;
25295 if ac_fn_c_try_link
"$LINENO"; then :
25296 gcc_cv_math_func_casin
=yes
25298 gcc_cv_math_func_casin
=no
25300 rm -f core conftest.err conftest.
$ac_objext \
25301 conftest
$ac_exeext conftest.
$ac_ext
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25304 $as_echo "$gcc_cv_math_func_casin" >&6; }
25305 if test $gcc_cv_math_func_casin = yes; then
25307 cat >>confdefs.h
<<_ACEOF
25308 #define HAVE_CASIN 1
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25317 $as_echo_n "checking for casinf... " >&6; }
25318 if ${gcc_cv_math_func_casinf+:} false
; then :
25319 $as_echo_n "(cached) " >&6
25321 if test x
$gcc_no_link = xyes
; then
25322 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h. */
25327 #ifdef HAVE_COMPLEX_H
25328 #include <complex.h>
25334 int (*ptr)() = (int (*)())casinf;
25343 if ac_fn_c_try_link
"$LINENO"; then :
25344 gcc_cv_math_func_casinf
=yes
25346 gcc_cv_math_func_casinf
=no
25348 rm -f core conftest.err conftest.
$ac_objext \
25349 conftest
$ac_exeext conftest.
$ac_ext
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25352 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25353 if test $gcc_cv_math_func_casinf = yes; then
25355 cat >>confdefs.h
<<_ACEOF
25356 #define HAVE_CASINF 1
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25365 $as_echo_n "checking for casinh... " >&6; }
25366 if ${gcc_cv_math_func_casinh+:} false
; then :
25367 $as_echo_n "(cached) " >&6
25369 if test x
$gcc_no_link = xyes
; then
25370 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25375 #ifdef HAVE_COMPLEX_H
25376 #include <complex.h>
25382 int (*ptr)() = (int (*)())casinh;
25391 if ac_fn_c_try_link
"$LINENO"; then :
25392 gcc_cv_math_func_casinh
=yes
25394 gcc_cv_math_func_casinh
=no
25396 rm -f core conftest.err conftest.
$ac_objext \
25397 conftest
$ac_exeext conftest.
$ac_ext
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25400 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25401 if test $gcc_cv_math_func_casinh = yes; then
25403 cat >>confdefs.h
<<_ACEOF
25404 #define HAVE_CASINH 1
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25413 $as_echo_n "checking for casinhf... " >&6; }
25414 if ${gcc_cv_math_func_casinhf+:} false
; then :
25415 $as_echo_n "(cached) " >&6
25417 if test x
$gcc_no_link = xyes
; then
25418 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25423 #ifdef HAVE_COMPLEX_H
25424 #include <complex.h>
25430 int (*ptr)() = (int (*)())casinhf;
25439 if ac_fn_c_try_link
"$LINENO"; then :
25440 gcc_cv_math_func_casinhf
=yes
25442 gcc_cv_math_func_casinhf
=no
25444 rm -f core conftest.err conftest.
$ac_objext \
25445 conftest
$ac_exeext conftest.
$ac_ext
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25448 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25449 if test $gcc_cv_math_func_casinhf = yes; then
25451 cat >>confdefs.h
<<_ACEOF
25452 #define HAVE_CASINHF 1
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25461 $as_echo_n "checking for casinhl... " >&6; }
25462 if ${gcc_cv_math_func_casinhl+:} false
; then :
25463 $as_echo_n "(cached) " >&6
25465 if test x
$gcc_no_link = xyes
; then
25466 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25471 #ifdef HAVE_COMPLEX_H
25472 #include <complex.h>
25478 int (*ptr)() = (int (*)())casinhl;
25487 if ac_fn_c_try_link
"$LINENO"; then :
25488 gcc_cv_math_func_casinhl
=yes
25490 gcc_cv_math_func_casinhl
=no
25492 rm -f core conftest.err conftest.
$ac_objext \
25493 conftest
$ac_exeext conftest.
$ac_ext
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25496 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25497 if test $gcc_cv_math_func_casinhl = yes; then
25499 cat >>confdefs.h
<<_ACEOF
25500 #define HAVE_CASINHL 1
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25509 $as_echo_n "checking for casinl... " >&6; }
25510 if ${gcc_cv_math_func_casinl+:} false
; then :
25511 $as_echo_n "(cached) " >&6
25513 if test x
$gcc_no_link = xyes
; then
25514 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25517 /* end confdefs.h. */
25519 #ifdef HAVE_COMPLEX_H
25520 #include <complex.h>
25526 int (*ptr)() = (int (*)())casinl;
25535 if ac_fn_c_try_link
"$LINENO"; then :
25536 gcc_cv_math_func_casinl
=yes
25538 gcc_cv_math_func_casinl
=no
25540 rm -f core conftest.err conftest.
$ac_objext \
25541 conftest
$ac_exeext conftest.
$ac_ext
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25544 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25545 if test $gcc_cv_math_func_casinl = yes; then
25547 cat >>confdefs.h
<<_ACEOF
25548 #define HAVE_CASINL 1
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25557 $as_echo_n "checking for catan... " >&6; }
25558 if ${gcc_cv_math_func_catan+:} false
; then :
25559 $as_echo_n "(cached) " >&6
25561 if test x
$gcc_no_link = xyes
; then
25562 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25565 /* end confdefs.h. */
25567 #ifdef HAVE_COMPLEX_H
25568 #include <complex.h>
25574 int (*ptr)() = (int (*)())catan;
25583 if ac_fn_c_try_link
"$LINENO"; then :
25584 gcc_cv_math_func_catan
=yes
25586 gcc_cv_math_func_catan
=no
25588 rm -f core conftest.err conftest.
$ac_objext \
25589 conftest
$ac_exeext conftest.
$ac_ext
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25592 $as_echo "$gcc_cv_math_func_catan" >&6; }
25593 if test $gcc_cv_math_func_catan = yes; then
25595 cat >>confdefs.h
<<_ACEOF
25596 #define HAVE_CATAN 1
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25605 $as_echo_n "checking for catanf... " >&6; }
25606 if ${gcc_cv_math_func_catanf+:} false
; then :
25607 $as_echo_n "(cached) " >&6
25609 if test x
$gcc_no_link = xyes
; then
25610 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25613 /* end confdefs.h. */
25615 #ifdef HAVE_COMPLEX_H
25616 #include <complex.h>
25622 int (*ptr)() = (int (*)())catanf;
25631 if ac_fn_c_try_link
"$LINENO"; then :
25632 gcc_cv_math_func_catanf
=yes
25634 gcc_cv_math_func_catanf
=no
25636 rm -f core conftest.err conftest.
$ac_objext \
25637 conftest
$ac_exeext conftest.
$ac_ext
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25640 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25641 if test $gcc_cv_math_func_catanf = yes; then
25643 cat >>confdefs.h
<<_ACEOF
25644 #define HAVE_CATANF 1
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25653 $as_echo_n "checking for catanh... " >&6; }
25654 if ${gcc_cv_math_func_catanh+:} false
; then :
25655 $as_echo_n "(cached) " >&6
25657 if test x
$gcc_no_link = xyes
; then
25658 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25661 /* end confdefs.h. */
25663 #ifdef HAVE_COMPLEX_H
25664 #include <complex.h>
25670 int (*ptr)() = (int (*)())catanh;
25679 if ac_fn_c_try_link
"$LINENO"; then :
25680 gcc_cv_math_func_catanh
=yes
25682 gcc_cv_math_func_catanh
=no
25684 rm -f core conftest.err conftest.
$ac_objext \
25685 conftest
$ac_exeext conftest.
$ac_ext
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25688 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25689 if test $gcc_cv_math_func_catanh = yes; then
25691 cat >>confdefs.h
<<_ACEOF
25692 #define HAVE_CATANH 1
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25701 $as_echo_n "checking for catanhf... " >&6; }
25702 if ${gcc_cv_math_func_catanhf+:} false
; then :
25703 $as_echo_n "(cached) " >&6
25705 if test x
$gcc_no_link = xyes
; then
25706 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h. */
25711 #ifdef HAVE_COMPLEX_H
25712 #include <complex.h>
25718 int (*ptr)() = (int (*)())catanhf;
25727 if ac_fn_c_try_link
"$LINENO"; then :
25728 gcc_cv_math_func_catanhf
=yes
25730 gcc_cv_math_func_catanhf
=no
25732 rm -f core conftest.err conftest.
$ac_objext \
25733 conftest
$ac_exeext conftest.
$ac_ext
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25736 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25737 if test $gcc_cv_math_func_catanhf = yes; then
25739 cat >>confdefs.h
<<_ACEOF
25740 #define HAVE_CATANHF 1
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25749 $as_echo_n "checking for catanhl... " >&6; }
25750 if ${gcc_cv_math_func_catanhl+:} false
; then :
25751 $as_echo_n "(cached) " >&6
25753 if test x
$gcc_no_link = xyes
; then
25754 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25759 #ifdef HAVE_COMPLEX_H
25760 #include <complex.h>
25766 int (*ptr)() = (int (*)())catanhl;
25775 if ac_fn_c_try_link
"$LINENO"; then :
25776 gcc_cv_math_func_catanhl
=yes
25778 gcc_cv_math_func_catanhl
=no
25780 rm -f core conftest.err conftest.
$ac_objext \
25781 conftest
$ac_exeext conftest.
$ac_ext
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25784 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25785 if test $gcc_cv_math_func_catanhl = yes; then
25787 cat >>confdefs.h
<<_ACEOF
25788 #define HAVE_CATANHL 1
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25797 $as_echo_n "checking for catanl... " >&6; }
25798 if ${gcc_cv_math_func_catanl+:} false
; then :
25799 $as_echo_n "(cached) " >&6
25801 if test x
$gcc_no_link = xyes
; then
25802 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25807 #ifdef HAVE_COMPLEX_H
25808 #include <complex.h>
25814 int (*ptr)() = (int (*)())catanl;
25823 if ac_fn_c_try_link
"$LINENO"; then :
25824 gcc_cv_math_func_catanl
=yes
25826 gcc_cv_math_func_catanl
=no
25828 rm -f core conftest.err conftest.
$ac_objext \
25829 conftest
$ac_exeext conftest.
$ac_ext
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25832 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25833 if test $gcc_cv_math_func_catanl = yes; then
25835 cat >>confdefs.h
<<_ACEOF
25836 #define HAVE_CATANL 1
25842 # For POWER, check the ieee128 math functions
25844 if test "x$have_real_17" = "xyes"; then
25846 cat >>confdefs.h
<<_ACEOF
25847 #define HAVE_REAL_17 1
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25855 $as_echo_n "checking for __acoshieee128... " >&6; }
25856 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
25857 $as_echo_n "(cached) " >&6
25859 if test x
$gcc_no_link = xyes
; then
25860 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25863 /* end confdefs.h. */
25865 __float128 __acoshieee128 (__float128);
25866 __float128 (*ptr)(__float128) = __acoshieee128;
25875 if ac_fn_c_try_link
"$LINENO"; then :
25876 gcc_cv_math_func___acoshieee128
=yes
25878 gcc_cv_math_func___acoshieee128
=no
25880 rm -f core conftest.err conftest.
$ac_objext \
25881 conftest
$ac_exeext conftest.
$ac_ext
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25884 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25885 if test $gcc_cv_math_func___acoshieee128 = yes; then
25887 cat >>confdefs.h
<<_ACEOF
25888 #define HAVE___ACOSHIEEE128 1
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25897 $as_echo_n "checking for __acosieee128... " >&6; }
25898 if ${gcc_cv_math_func___acosieee128+:} false
; then :
25899 $as_echo_n "(cached) " >&6
25901 if test x
$gcc_no_link = xyes
; then
25902 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h. */
25907 __float128 __acosieee128 (__float128);
25908 __float128 (*ptr)(__float128) = __acosieee128;
25917 if ac_fn_c_try_link
"$LINENO"; then :
25918 gcc_cv_math_func___acosieee128
=yes
25920 gcc_cv_math_func___acosieee128
=no
25922 rm -f core conftest.err conftest.
$ac_objext \
25923 conftest
$ac_exeext conftest.
$ac_ext
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25926 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25927 if test $gcc_cv_math_func___acosieee128 = yes; then
25929 cat >>confdefs.h
<<_ACEOF
25930 #define HAVE___ACOSIEEE128 1
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25939 $as_echo_n "checking for __asinhieee128... " >&6; }
25940 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
25941 $as_echo_n "(cached) " >&6
25943 if test x
$gcc_no_link = xyes
; then
25944 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25949 __float128 __asinhieee128 (__float128);
25950 __float128 (*ptr)(__float128) = __asinhieee128;
25959 if ac_fn_c_try_link
"$LINENO"; then :
25960 gcc_cv_math_func___asinhieee128
=yes
25962 gcc_cv_math_func___asinhieee128
=no
25964 rm -f core conftest.err conftest.
$ac_objext \
25965 conftest
$ac_exeext conftest.
$ac_ext
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25968 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25969 if test $gcc_cv_math_func___asinhieee128 = yes; then
25971 cat >>confdefs.h
<<_ACEOF
25972 #define HAVE___ASINHIEEE128 1
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25981 $as_echo_n "checking for __asinieee128... " >&6; }
25982 if ${gcc_cv_math_func___asinieee128+:} false
; then :
25983 $as_echo_n "(cached) " >&6
25985 if test x
$gcc_no_link = xyes
; then
25986 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25989 /* end confdefs.h. */
25991 __float128 __asinieee128 (__float128);
25992 __float128 (*ptr)(__float128) = __asinieee128;
26001 if ac_fn_c_try_link
"$LINENO"; then :
26002 gcc_cv_math_func___asinieee128
=yes
26004 gcc_cv_math_func___asinieee128
=no
26006 rm -f core conftest.err conftest.
$ac_objext \
26007 conftest
$ac_exeext conftest.
$ac_ext
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26010 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26011 if test $gcc_cv_math_func___asinieee128 = yes; then
26013 cat >>confdefs.h
<<_ACEOF
26014 #define HAVE___ASINIEEE128 1
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26023 $as_echo_n "checking for __atan2ieee128... " >&6; }
26024 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26025 $as_echo_n "(cached) " >&6
26027 if test x
$gcc_no_link = xyes
; then
26028 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26033 __float128 __atan2ieee128 (__float128);
26034 __float128 (*ptr)(__float128) = __atan2ieee128;
26043 if ac_fn_c_try_link
"$LINENO"; then :
26044 gcc_cv_math_func___atan2ieee128
=yes
26046 gcc_cv_math_func___atan2ieee128
=no
26048 rm -f core conftest.err conftest.
$ac_objext \
26049 conftest
$ac_exeext conftest.
$ac_ext
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26052 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26053 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26055 cat >>confdefs.h
<<_ACEOF
26056 #define HAVE___ATAN2IEEE128 1
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26065 $as_echo_n "checking for __atanhieee128... " >&6; }
26066 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26067 $as_echo_n "(cached) " >&6
26069 if test x
$gcc_no_link = xyes
; then
26070 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26075 __float128 __atanhieee128 (__float128);
26076 __float128 (*ptr)(__float128) = __atanhieee128;
26085 if ac_fn_c_try_link
"$LINENO"; then :
26086 gcc_cv_math_func___atanhieee128
=yes
26088 gcc_cv_math_func___atanhieee128
=no
26090 rm -f core conftest.err conftest.
$ac_objext \
26091 conftest
$ac_exeext conftest.
$ac_ext
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26094 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26095 if test $gcc_cv_math_func___atanhieee128 = yes; then
26097 cat >>confdefs.h
<<_ACEOF
26098 #define HAVE___ATANHIEEE128 1
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26107 $as_echo_n "checking for __atanieee128... " >&6; }
26108 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26109 $as_echo_n "(cached) " >&6
26111 if test x
$gcc_no_link = xyes
; then
26112 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26115 /* end confdefs.h. */
26117 __float128 __atanieee128 (__float128);
26118 __float128 (*ptr)(__float128) = __atanieee128;
26127 if ac_fn_c_try_link
"$LINENO"; then :
26128 gcc_cv_math_func___atanieee128
=yes
26130 gcc_cv_math_func___atanieee128
=no
26132 rm -f core conftest.err conftest.
$ac_objext \
26133 conftest
$ac_exeext conftest.
$ac_ext
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26136 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26137 if test $gcc_cv_math_func___atanieee128 = yes; then
26139 cat >>confdefs.h
<<_ACEOF
26140 #define HAVE___ATANIEEE128 1
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26149 $as_echo_n "checking for __coshieee128... " >&6; }
26150 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26151 $as_echo_n "(cached) " >&6
26153 if test x
$gcc_no_link = xyes
; then
26154 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26157 /* end confdefs.h. */
26159 __float128 __coshieee128 (__float128);
26160 __float128 (*ptr)(__float128) = __coshieee128;
26169 if ac_fn_c_try_link
"$LINENO"; then :
26170 gcc_cv_math_func___coshieee128
=yes
26172 gcc_cv_math_func___coshieee128
=no
26174 rm -f core conftest.err conftest.
$ac_objext \
26175 conftest
$ac_exeext conftest.
$ac_ext
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26178 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26179 if test $gcc_cv_math_func___coshieee128 = yes; then
26181 cat >>confdefs.h
<<_ACEOF
26182 #define HAVE___COSHIEEE128 1
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26191 $as_echo_n "checking for __cosieee128... " >&6; }
26192 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26193 $as_echo_n "(cached) " >&6
26195 if test x
$gcc_no_link = xyes
; then
26196 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26201 __float128 __cosieee128 (__float128);
26202 __float128 (*ptr)(__float128) = __cosieee128;
26211 if ac_fn_c_try_link
"$LINENO"; then :
26212 gcc_cv_math_func___cosieee128
=yes
26214 gcc_cv_math_func___cosieee128
=no
26216 rm -f core conftest.err conftest.
$ac_objext \
26217 conftest
$ac_exeext conftest.
$ac_ext
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26220 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26221 if test $gcc_cv_math_func___cosieee128 = yes; then
26223 cat >>confdefs.h
<<_ACEOF
26224 #define HAVE___COSIEEE128 1
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26233 $as_echo_n "checking for __erfieee128... " >&6; }
26234 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26235 $as_echo_n "(cached) " >&6
26237 if test x
$gcc_no_link = xyes
; then
26238 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26243 __float128 __erfieee128 (__float128);
26244 __float128 (*ptr)(__float128) = __erfieee128;
26253 if ac_fn_c_try_link
"$LINENO"; then :
26254 gcc_cv_math_func___erfieee128
=yes
26256 gcc_cv_math_func___erfieee128
=no
26258 rm -f core conftest.err conftest.
$ac_objext \
26259 conftest
$ac_exeext conftest.
$ac_ext
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26262 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26263 if test $gcc_cv_math_func___erfieee128 = yes; then
26265 cat >>confdefs.h
<<_ACEOF
26266 #define HAVE___ERFIEEE128 1
26274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26275 $as_echo_n "checking for __expieee128... " >&6; }
26276 if ${gcc_cv_math_func___expieee128+:} false
; then :
26277 $as_echo_n "(cached) " >&6
26279 if test x
$gcc_no_link = xyes
; then
26280 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26283 /* end confdefs.h. */
26285 __float128 __expieee128 (__float128);
26286 __float128 (*ptr)(__float128) = __expieee128;
26295 if ac_fn_c_try_link
"$LINENO"; then :
26296 gcc_cv_math_func___expieee128
=yes
26298 gcc_cv_math_func___expieee128
=no
26300 rm -f core conftest.err conftest.
$ac_objext \
26301 conftest
$ac_exeext conftest.
$ac_ext
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26304 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26305 if test $gcc_cv_math_func___expieee128 = yes; then
26307 cat >>confdefs.h
<<_ACEOF
26308 #define HAVE___EXPIEEE128 1
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26317 $as_echo_n "checking for __fabsieee128... " >&6; }
26318 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26319 $as_echo_n "(cached) " >&6
26321 if test x
$gcc_no_link = xyes
; then
26322 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26325 /* end confdefs.h. */
26327 __float128 __fabsieee128 (__float128);
26328 __float128 (*ptr)(__float128) = __fabsieee128;
26337 if ac_fn_c_try_link
"$LINENO"; then :
26338 gcc_cv_math_func___fabsieee128
=yes
26340 gcc_cv_math_func___fabsieee128
=no
26342 rm -f core conftest.err conftest.
$ac_objext \
26343 conftest
$ac_exeext conftest.
$ac_ext
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26346 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26347 if test $gcc_cv_math_func___fabsieee128 = yes; then
26349 cat >>confdefs.h
<<_ACEOF
26350 #define HAVE___FABSIEEE128 1
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26359 $as_echo_n "checking for __jnieee128... " >&6; }
26360 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26361 $as_echo_n "(cached) " >&6
26363 if test x
$gcc_no_link = xyes
; then
26364 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26369 __float128 __jnieee128 (__float128);
26370 __float128 (*ptr)(__float128) = __jnieee128;
26379 if ac_fn_c_try_link
"$LINENO"; then :
26380 gcc_cv_math_func___jnieee128
=yes
26382 gcc_cv_math_func___jnieee128
=no
26384 rm -f core conftest.err conftest.
$ac_objext \
26385 conftest
$ac_exeext conftest.
$ac_ext
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26388 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26389 if test $gcc_cv_math_func___jnieee128 = yes; then
26391 cat >>confdefs.h
<<_ACEOF
26392 #define HAVE___JNIEEE128 1
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26401 $as_echo_n "checking for __log10ieee128... " >&6; }
26402 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26403 $as_echo_n "(cached) " >&6
26405 if test x
$gcc_no_link = xyes
; then
26406 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26411 __float128 __log10ieee128 (__float128);
26412 __float128 (*ptr)(__float128) = __log10ieee128;
26421 if ac_fn_c_try_link
"$LINENO"; then :
26422 gcc_cv_math_func___log10ieee128
=yes
26424 gcc_cv_math_func___log10ieee128
=no
26426 rm -f core conftest.err conftest.
$ac_objext \
26427 conftest
$ac_exeext conftest.
$ac_ext
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26430 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26431 if test $gcc_cv_math_func___log10ieee128 = yes; then
26433 cat >>confdefs.h
<<_ACEOF
26434 #define HAVE___LOG10IEEE128 1
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26443 $as_echo_n "checking for __logieee128... " >&6; }
26444 if ${gcc_cv_math_func___logieee128+:} false
; then :
26445 $as_echo_n "(cached) " >&6
26447 if test x
$gcc_no_link = xyes
; then
26448 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26451 /* end confdefs.h. */
26453 __float128 __logieee128 (__float128);
26454 __float128 (*ptr)(__float128) = __logieee128;
26463 if ac_fn_c_try_link
"$LINENO"; then :
26464 gcc_cv_math_func___logieee128
=yes
26466 gcc_cv_math_func___logieee128
=no
26468 rm -f core conftest.err conftest.
$ac_objext \
26469 conftest
$ac_exeext conftest.
$ac_ext
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26472 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26473 if test $gcc_cv_math_func___logieee128 = yes; then
26475 cat >>confdefs.h
<<_ACEOF
26476 #define HAVE___LOGIEEE128 1
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26485 $as_echo_n "checking for __powieee128... " >&6; }
26486 if ${gcc_cv_math_func___powieee128+:} false
; then :
26487 $as_echo_n "(cached) " >&6
26489 if test x
$gcc_no_link = xyes
; then
26490 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h. */
26495 __float128 __powieee128 (__float128);
26496 __float128 (*ptr)(__float128) = __powieee128;
26505 if ac_fn_c_try_link
"$LINENO"; then :
26506 gcc_cv_math_func___powieee128
=yes
26508 gcc_cv_math_func___powieee128
=no
26510 rm -f core conftest.err conftest.
$ac_objext \
26511 conftest
$ac_exeext conftest.
$ac_ext
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26514 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26515 if test $gcc_cv_math_func___powieee128 = yes; then
26517 cat >>confdefs.h
<<_ACEOF
26518 #define HAVE___POWIEEE128 1
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26527 $as_echo_n "checking for __sinhieee128... " >&6; }
26528 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26529 $as_echo_n "(cached) " >&6
26531 if test x
$gcc_no_link = xyes
; then
26532 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26535 /* end confdefs.h. */
26537 __float128 __sinhieee128 (__float128);
26538 __float128 (*ptr)(__float128) = __sinhieee128;
26547 if ac_fn_c_try_link
"$LINENO"; then :
26548 gcc_cv_math_func___sinhieee128
=yes
26550 gcc_cv_math_func___sinhieee128
=no
26552 rm -f core conftest.err conftest.
$ac_objext \
26553 conftest
$ac_exeext conftest.
$ac_ext
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26556 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26557 if test $gcc_cv_math_func___sinhieee128 = yes; then
26559 cat >>confdefs.h
<<_ACEOF
26560 #define HAVE___SINHIEEE128 1
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26569 $as_echo_n "checking for __sinieee128... " >&6; }
26570 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26571 $as_echo_n "(cached) " >&6
26573 if test x
$gcc_no_link = xyes
; then
26574 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26577 /* end confdefs.h. */
26579 __float128 __sinieee128 (__float128);
26580 __float128 (*ptr)(__float128) = __sinieee128;
26589 if ac_fn_c_try_link
"$LINENO"; then :
26590 gcc_cv_math_func___sinieee128
=yes
26592 gcc_cv_math_func___sinieee128
=no
26594 rm -f core conftest.err conftest.
$ac_objext \
26595 conftest
$ac_exeext conftest.
$ac_ext
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26598 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26599 if test $gcc_cv_math_func___sinieee128 = yes; then
26601 cat >>confdefs.h
<<_ACEOF
26602 #define HAVE___SINIEEE128 1
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26611 $as_echo_n "checking for __sqrtieee128... " >&6; }
26612 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26613 $as_echo_n "(cached) " >&6
26615 if test x
$gcc_no_link = xyes
; then
26616 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26619 /* end confdefs.h. */
26621 __float128 __sqrtieee128 (__float128);
26622 __float128 (*ptr)(__float128) = __sqrtieee128;
26631 if ac_fn_c_try_link
"$LINENO"; then :
26632 gcc_cv_math_func___sqrtieee128
=yes
26634 gcc_cv_math_func___sqrtieee128
=no
26636 rm -f core conftest.err conftest.
$ac_objext \
26637 conftest
$ac_exeext conftest.
$ac_ext
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26640 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26641 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26643 cat >>confdefs.h
<<_ACEOF
26644 #define HAVE___SQRTIEEE128 1
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26653 $as_echo_n "checking for __tanhieee128... " >&6; }
26654 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26655 $as_echo_n "(cached) " >&6
26657 if test x
$gcc_no_link = xyes
; then
26658 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h. */
26663 __float128 __tanhieee128 (__float128);
26664 __float128 (*ptr)(__float128) = __tanhieee128;
26673 if ac_fn_c_try_link
"$LINENO"; then :
26674 gcc_cv_math_func___tanhieee128
=yes
26676 gcc_cv_math_func___tanhieee128
=no
26678 rm -f core conftest.err conftest.
$ac_objext \
26679 conftest
$ac_exeext conftest.
$ac_ext
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26682 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26683 if test $gcc_cv_math_func___tanhieee128 = yes; then
26685 cat >>confdefs.h
<<_ACEOF
26686 #define HAVE___TANHIEEE128 1
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26695 $as_echo_n "checking for __tanieee128... " >&6; }
26696 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26697 $as_echo_n "(cached) " >&6
26699 if test x
$gcc_no_link = xyes
; then
26700 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26705 __float128 __tanieee128 (__float128);
26706 __float128 (*ptr)(__float128) = __tanieee128;
26715 if ac_fn_c_try_link
"$LINENO"; then :
26716 gcc_cv_math_func___tanieee128
=yes
26718 gcc_cv_math_func___tanieee128
=no
26720 rm -f core conftest.err conftest.
$ac_objext \
26721 conftest
$ac_exeext conftest.
$ac_ext
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26724 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26725 if test $gcc_cv_math_func___tanieee128 = yes; then
26727 cat >>confdefs.h
<<_ACEOF
26728 #define HAVE___TANIEEE128 1
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26737 $as_echo_n "checking for __ynieee128... " >&6; }
26738 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26739 $as_echo_n "(cached) " >&6
26741 if test x
$gcc_no_link = xyes
; then
26742 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26745 /* end confdefs.h. */
26747 __float128 __ynieee128 (__float128);
26748 __float128 (*ptr)(__float128) = __ynieee128;
26757 if ac_fn_c_try_link
"$LINENO"; then :
26758 gcc_cv_math_func___ynieee128
=yes
26760 gcc_cv_math_func___ynieee128
=no
26762 rm -f core conftest.err conftest.
$ac_objext \
26763 conftest
$ac_exeext conftest.
$ac_ext
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26766 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26767 if test $gcc_cv_math_func___ynieee128 = yes; then
26769 cat >>confdefs.h
<<_ACEOF
26770 #define HAVE___YNIEEE128 1
26777 # On AIX, clog is present in libm as __clog
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26779 $as_echo_n "checking for __clog in -lm... " >&6; }
26780 if ${ac_cv_lib_m___clog+:} false
; then :
26781 $as_echo_n "(cached) " >&6
26783 ac_check_lib_save_LIBS
=$LIBS
26785 if test x
$gcc_no_link = xyes
; then
26786 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26789 /* end confdefs.h. */
26791 /* Override any GCC internal prototype to avoid an error.
26792 Use char because int might match the return type of a GCC
26793 builtin and then its argument prototype would still apply. */
26806 if ac_fn_c_try_link
"$LINENO"; then :
26807 ac_cv_lib_m___clog
=yes
26809 ac_cv_lib_m___clog
=no
26811 rm -f core conftest.err conftest.
$ac_objext \
26812 conftest
$ac_exeext conftest.
$ac_ext
26813 LIBS
=$ac_check_lib_save_LIBS
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26816 $as_echo "$ac_cv_lib_m___clog" >&6; }
26817 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26819 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26826 if test $gcc_cv_math_func_copysign = no
; then
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26828 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26829 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26830 $as_echo_n "(cached) " >&6
26832 if test x
$gcc_no_link = xyes
; then
26833 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26836 /* end confdefs.h. */
26839 copysign_fallback (double x, double y)
26841 return __builtin_copysign (x, y);
26851 if ac_fn_c_try_link
"$LINENO"; then :
26852 gcc_cv_math_inline_builtin_copysign
=yes
26854 gcc_cv_math_inline_builtin_copysign
=no
26856 rm -f core conftest.err conftest.
$ac_objext \
26857 conftest
$ac_exeext conftest.
$ac_ext
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26860 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26861 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26863 cat >>confdefs.h
<<_ACEOF
26864 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26871 if test $gcc_cv_math_func_copysignl = no
; then
26872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26873 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26874 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
26875 $as_echo_n "(cached) " >&6
26877 if test x
$gcc_no_link = xyes
; then
26878 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26881 /* end confdefs.h. */
26884 copysignl_fallback (long double x, long double y)
26886 return __builtin_copysignl (x, y);
26896 if ac_fn_c_try_link
"$LINENO"; then :
26897 gcc_cv_math_inline_builtin_copysignl
=yes
26899 gcc_cv_math_inline_builtin_copysignl
=no
26901 rm -f core conftest.err conftest.
$ac_objext \
26902 conftest
$ac_exeext conftest.
$ac_ext
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26905 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26906 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26908 cat >>confdefs.h
<<_ACEOF
26909 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26916 if test $gcc_cv_math_func_fabs = no
; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26918 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26919 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
26920 $as_echo_n "(cached) " >&6
26922 if test x
$gcc_no_link = xyes
; then
26923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h. */
26929 fabs_fallback (double x)
26931 return __builtin_fabs (x);
26941 if ac_fn_c_try_link
"$LINENO"; then :
26942 gcc_cv_math_inline_builtin_fabs
=yes
26944 gcc_cv_math_inline_builtin_fabs
=no
26946 rm -f core conftest.err conftest.
$ac_objext \
26947 conftest
$ac_exeext conftest.
$ac_ext
26949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26950 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26951 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26953 cat >>confdefs.h
<<_ACEOF
26954 #define HAVE_INLINE_BUILTIN_FABS 1
26961 if test $gcc_cv_math_func_fabsl = no
; then
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26963 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26964 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
26965 $as_echo_n "(cached) " >&6
26967 if test x
$gcc_no_link = xyes
; then
26968 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26971 /* end confdefs.h. */
26974 fabsl_fallback (long double x)
26976 return __builtin_fabsl (x);
26986 if ac_fn_c_try_link
"$LINENO"; then :
26987 gcc_cv_math_inline_builtin_fabsl
=yes
26989 gcc_cv_math_inline_builtin_fabsl
=no
26991 rm -f core conftest.err conftest.
$ac_objext \
26992 conftest
$ac_exeext conftest.
$ac_ext
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
26995 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
26996 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
26998 cat >>confdefs.h
<<_ACEOF
26999 #define HAVE_INLINE_BUILTIN_FABSL 1
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27009 $as_echo_n "checking for acosf128... " >&6; }
27010 if ${gcc_cv_math_func_acosf128+:} false
; then :
27011 $as_echo_n "(cached) " >&6
27013 if test x
$gcc_no_link = xyes
; then
27014 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27017 /* end confdefs.h. */
27019 #ifdef HAVE_COMPLEX_H
27020 #include <complex.h>
27026 int (*ptr)() = (int (*)())acosf128;
27035 if ac_fn_c_try_link
"$LINENO"; then :
27036 gcc_cv_math_func_acosf128
=yes
27038 gcc_cv_math_func_acosf128
=no
27040 rm -f core conftest.err conftest.
$ac_objext \
27041 conftest
$ac_exeext conftest.
$ac_ext
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27044 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27045 if test $gcc_cv_math_func_acosf128 = yes; then
27047 cat >>confdefs.h
<<_ACEOF
27048 #define HAVE_ACOSF128 1
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27057 $as_echo_n "checking for acoshf128... " >&6; }
27058 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27059 $as_echo_n "(cached) " >&6
27061 if test x
$gcc_no_link = xyes
; then
27062 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27065 /* end confdefs.h. */
27067 #ifdef HAVE_COMPLEX_H
27068 #include <complex.h>
27074 int (*ptr)() = (int (*)())acoshf128;
27083 if ac_fn_c_try_link
"$LINENO"; then :
27084 gcc_cv_math_func_acoshf128
=yes
27086 gcc_cv_math_func_acoshf128
=no
27088 rm -f core conftest.err conftest.
$ac_objext \
27089 conftest
$ac_exeext conftest.
$ac_ext
27091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27092 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27093 if test $gcc_cv_math_func_acoshf128 = yes; then
27095 cat >>confdefs.h
<<_ACEOF
27096 #define HAVE_ACOSHF128 1
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27105 $as_echo_n "checking for asinf128... " >&6; }
27106 if ${gcc_cv_math_func_asinf128+:} false
; then :
27107 $as_echo_n "(cached) " >&6
27109 if test x
$gcc_no_link = xyes
; then
27110 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27113 /* end confdefs.h. */
27115 #ifdef HAVE_COMPLEX_H
27116 #include <complex.h>
27122 int (*ptr)() = (int (*)())asinf128;
27131 if ac_fn_c_try_link
"$LINENO"; then :
27132 gcc_cv_math_func_asinf128
=yes
27134 gcc_cv_math_func_asinf128
=no
27136 rm -f core conftest.err conftest.
$ac_objext \
27137 conftest
$ac_exeext conftest.
$ac_ext
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27140 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27141 if test $gcc_cv_math_func_asinf128 = yes; then
27143 cat >>confdefs.h
<<_ACEOF
27144 #define HAVE_ASINF128 1
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27153 $as_echo_n "checking for asinhf128... " >&6; }
27154 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27155 $as_echo_n "(cached) " >&6
27157 if test x
$gcc_no_link = xyes
; then
27158 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27161 /* end confdefs.h. */
27163 #ifdef HAVE_COMPLEX_H
27164 #include <complex.h>
27170 int (*ptr)() = (int (*)())asinhf128;
27179 if ac_fn_c_try_link
"$LINENO"; then :
27180 gcc_cv_math_func_asinhf128
=yes
27182 gcc_cv_math_func_asinhf128
=no
27184 rm -f core conftest.err conftest.
$ac_objext \
27185 conftest
$ac_exeext conftest.
$ac_ext
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27188 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27189 if test $gcc_cv_math_func_asinhf128 = yes; then
27191 cat >>confdefs.h
<<_ACEOF
27192 #define HAVE_ASINHF128 1
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27201 $as_echo_n "checking for atan2f128... " >&6; }
27202 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27203 $as_echo_n "(cached) " >&6
27205 if test x
$gcc_no_link = xyes
; then
27206 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27209 /* end confdefs.h. */
27211 #ifdef HAVE_COMPLEX_H
27212 #include <complex.h>
27218 int (*ptr)() = (int (*)())atan2f128;
27227 if ac_fn_c_try_link
"$LINENO"; then :
27228 gcc_cv_math_func_atan2f128
=yes
27230 gcc_cv_math_func_atan2f128
=no
27232 rm -f core conftest.err conftest.
$ac_objext \
27233 conftest
$ac_exeext conftest.
$ac_ext
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27236 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27237 if test $gcc_cv_math_func_atan2f128 = yes; then
27239 cat >>confdefs.h
<<_ACEOF
27240 #define HAVE_ATAN2F128 1
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27249 $as_echo_n "checking for atanf128... " >&6; }
27250 if ${gcc_cv_math_func_atanf128+:} false
; then :
27251 $as_echo_n "(cached) " >&6
27253 if test x
$gcc_no_link = xyes
; then
27254 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27257 /* end confdefs.h. */
27259 #ifdef HAVE_COMPLEX_H
27260 #include <complex.h>
27266 int (*ptr)() = (int (*)())atanf128;
27275 if ac_fn_c_try_link
"$LINENO"; then :
27276 gcc_cv_math_func_atanf128
=yes
27278 gcc_cv_math_func_atanf128
=no
27280 rm -f core conftest.err conftest.
$ac_objext \
27281 conftest
$ac_exeext conftest.
$ac_ext
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27284 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27285 if test $gcc_cv_math_func_atanf128 = yes; then
27287 cat >>confdefs.h
<<_ACEOF
27288 #define HAVE_ATANF128 1
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27297 $as_echo_n "checking for atanhf128... " >&6; }
27298 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27299 $as_echo_n "(cached) " >&6
27301 if test x
$gcc_no_link = xyes
; then
27302 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27305 /* end confdefs.h. */
27307 #ifdef HAVE_COMPLEX_H
27308 #include <complex.h>
27314 int (*ptr)() = (int (*)())atanhf128;
27323 if ac_fn_c_try_link
"$LINENO"; then :
27324 gcc_cv_math_func_atanhf128
=yes
27326 gcc_cv_math_func_atanhf128
=no
27328 rm -f core conftest.err conftest.
$ac_objext \
27329 conftest
$ac_exeext conftest.
$ac_ext
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27332 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27333 if test $gcc_cv_math_func_atanhf128 = yes; then
27335 cat >>confdefs.h
<<_ACEOF
27336 #define HAVE_ATANHF128 1
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27345 $as_echo_n "checking for cargf128... " >&6; }
27346 if ${gcc_cv_math_func_cargf128+:} false
; then :
27347 $as_echo_n "(cached) " >&6
27349 if test x
$gcc_no_link = xyes
; then
27350 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27353 /* end confdefs.h. */
27355 #ifdef HAVE_COMPLEX_H
27356 #include <complex.h>
27362 int (*ptr)() = (int (*)())cargf128;
27371 if ac_fn_c_try_link
"$LINENO"; then :
27372 gcc_cv_math_func_cargf128
=yes
27374 gcc_cv_math_func_cargf128
=no
27376 rm -f core conftest.err conftest.
$ac_objext \
27377 conftest
$ac_exeext conftest.
$ac_ext
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27380 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27381 if test $gcc_cv_math_func_cargf128 = yes; then
27383 cat >>confdefs.h
<<_ACEOF
27384 #define HAVE_CARGF128 1
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27393 $as_echo_n "checking for ceilf128... " >&6; }
27394 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27395 $as_echo_n "(cached) " >&6
27397 if test x
$gcc_no_link = xyes
; then
27398 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h. */
27403 #ifdef HAVE_COMPLEX_H
27404 #include <complex.h>
27410 int (*ptr)() = (int (*)())ceilf128;
27419 if ac_fn_c_try_link
"$LINENO"; then :
27420 gcc_cv_math_func_ceilf128
=yes
27422 gcc_cv_math_func_ceilf128
=no
27424 rm -f core conftest.err conftest.
$ac_objext \
27425 conftest
$ac_exeext conftest.
$ac_ext
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27428 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27429 if test $gcc_cv_math_func_ceilf128 = yes; then
27431 cat >>confdefs.h
<<_ACEOF
27432 #define HAVE_CEILF128 1
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27441 $as_echo_n "checking for copysignf128... " >&6; }
27442 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27443 $as_echo_n "(cached) " >&6
27445 if test x
$gcc_no_link = xyes
; then
27446 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27449 /* end confdefs.h. */
27451 #ifdef HAVE_COMPLEX_H
27452 #include <complex.h>
27458 int (*ptr)() = (int (*)())copysignf128;
27467 if ac_fn_c_try_link
"$LINENO"; then :
27468 gcc_cv_math_func_copysignf128
=yes
27470 gcc_cv_math_func_copysignf128
=no
27472 rm -f core conftest.err conftest.
$ac_objext \
27473 conftest
$ac_exeext conftest.
$ac_ext
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27476 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27477 if test $gcc_cv_math_func_copysignf128 = yes; then
27479 cat >>confdefs.h
<<_ACEOF
27480 #define HAVE_COPYSIGNF128 1
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27489 $as_echo_n "checking for cosf128... " >&6; }
27490 if ${gcc_cv_math_func_cosf128+:} false
; then :
27491 $as_echo_n "(cached) " >&6
27493 if test x
$gcc_no_link = xyes
; then
27494 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h. */
27499 #ifdef HAVE_COMPLEX_H
27500 #include <complex.h>
27506 int (*ptr)() = (int (*)())cosf128;
27515 if ac_fn_c_try_link
"$LINENO"; then :
27516 gcc_cv_math_func_cosf128
=yes
27518 gcc_cv_math_func_cosf128
=no
27520 rm -f core conftest.err conftest.
$ac_objext \
27521 conftest
$ac_exeext conftest.
$ac_ext
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27524 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27525 if test $gcc_cv_math_func_cosf128 = yes; then
27527 cat >>confdefs.h
<<_ACEOF
27528 #define HAVE_COSF128 1
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27537 $as_echo_n "checking for ccosf128... " >&6; }
27538 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27539 $as_echo_n "(cached) " >&6
27541 if test x
$gcc_no_link = xyes
; then
27542 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27545 /* end confdefs.h. */
27547 #ifdef HAVE_COMPLEX_H
27548 #include <complex.h>
27554 int (*ptr)() = (int (*)())ccosf128;
27563 if ac_fn_c_try_link
"$LINENO"; then :
27564 gcc_cv_math_func_ccosf128
=yes
27566 gcc_cv_math_func_ccosf128
=no
27568 rm -f core conftest.err conftest.
$ac_objext \
27569 conftest
$ac_exeext conftest.
$ac_ext
27571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27572 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27573 if test $gcc_cv_math_func_ccosf128 = yes; then
27575 cat >>confdefs.h
<<_ACEOF
27576 #define HAVE_CCOSF128 1
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27585 $as_echo_n "checking for coshf128... " >&6; }
27586 if ${gcc_cv_math_func_coshf128+:} false
; then :
27587 $as_echo_n "(cached) " >&6
27589 if test x
$gcc_no_link = xyes
; then
27590 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h. */
27595 #ifdef HAVE_COMPLEX_H
27596 #include <complex.h>
27602 int (*ptr)() = (int (*)())coshf128;
27611 if ac_fn_c_try_link
"$LINENO"; then :
27612 gcc_cv_math_func_coshf128
=yes
27614 gcc_cv_math_func_coshf128
=no
27616 rm -f core conftest.err conftest.
$ac_objext \
27617 conftest
$ac_exeext conftest.
$ac_ext
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27620 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27621 if test $gcc_cv_math_func_coshf128 = yes; then
27623 cat >>confdefs.h
<<_ACEOF
27624 #define HAVE_COSHF128 1
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27633 $as_echo_n "checking for ccoshf128... " >&6; }
27634 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27635 $as_echo_n "(cached) " >&6
27637 if test x
$gcc_no_link = xyes
; then
27638 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27643 #ifdef HAVE_COMPLEX_H
27644 #include <complex.h>
27650 int (*ptr)() = (int (*)())ccoshf128;
27659 if ac_fn_c_try_link
"$LINENO"; then :
27660 gcc_cv_math_func_ccoshf128
=yes
27662 gcc_cv_math_func_ccoshf128
=no
27664 rm -f core conftest.err conftest.
$ac_objext \
27665 conftest
$ac_exeext conftest.
$ac_ext
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27668 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27669 if test $gcc_cv_math_func_ccoshf128 = yes; then
27671 cat >>confdefs.h
<<_ACEOF
27672 #define HAVE_CCOSHF128 1
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27681 $as_echo_n "checking for expf128... " >&6; }
27682 if ${gcc_cv_math_func_expf128+:} false
; then :
27683 $as_echo_n "(cached) " >&6
27685 if test x
$gcc_no_link = xyes
; then
27686 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27691 #ifdef HAVE_COMPLEX_H
27692 #include <complex.h>
27698 int (*ptr)() = (int (*)())expf128;
27707 if ac_fn_c_try_link
"$LINENO"; then :
27708 gcc_cv_math_func_expf128
=yes
27710 gcc_cv_math_func_expf128
=no
27712 rm -f core conftest.err conftest.
$ac_objext \
27713 conftest
$ac_exeext conftest.
$ac_ext
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27716 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27717 if test $gcc_cv_math_func_expf128 = yes; then
27719 cat >>confdefs.h
<<_ACEOF
27720 #define HAVE_EXPF128 1
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27729 $as_echo_n "checking for cexpf128... " >&6; }
27730 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27731 $as_echo_n "(cached) " >&6
27733 if test x
$gcc_no_link = xyes
; then
27734 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27737 /* end confdefs.h. */
27739 #ifdef HAVE_COMPLEX_H
27740 #include <complex.h>
27746 int (*ptr)() = (int (*)())cexpf128;
27755 if ac_fn_c_try_link
"$LINENO"; then :
27756 gcc_cv_math_func_cexpf128
=yes
27758 gcc_cv_math_func_cexpf128
=no
27760 rm -f core conftest.err conftest.
$ac_objext \
27761 conftest
$ac_exeext conftest.
$ac_ext
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27764 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27765 if test $gcc_cv_math_func_cexpf128 = yes; then
27767 cat >>confdefs.h
<<_ACEOF
27768 #define HAVE_CEXPF128 1
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27777 $as_echo_n "checking for fabsf128... " >&6; }
27778 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27779 $as_echo_n "(cached) " >&6
27781 if test x
$gcc_no_link = xyes
; then
27782 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27785 /* end confdefs.h. */
27787 #ifdef HAVE_COMPLEX_H
27788 #include <complex.h>
27794 int (*ptr)() = (int (*)())fabsf128;
27803 if ac_fn_c_try_link
"$LINENO"; then :
27804 gcc_cv_math_func_fabsf128
=yes
27806 gcc_cv_math_func_fabsf128
=no
27808 rm -f core conftest.err conftest.
$ac_objext \
27809 conftest
$ac_exeext conftest.
$ac_ext
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27812 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27813 if test $gcc_cv_math_func_fabsf128 = yes; then
27815 cat >>confdefs.h
<<_ACEOF
27816 #define HAVE_FABSF128 1
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27825 $as_echo_n "checking for cabsf128... " >&6; }
27826 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27827 $as_echo_n "(cached) " >&6
27829 if test x
$gcc_no_link = xyes
; then
27830 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27835 #ifdef HAVE_COMPLEX_H
27836 #include <complex.h>
27842 int (*ptr)() = (int (*)())cabsf128;
27851 if ac_fn_c_try_link
"$LINENO"; then :
27852 gcc_cv_math_func_cabsf128
=yes
27854 gcc_cv_math_func_cabsf128
=no
27856 rm -f core conftest.err conftest.
$ac_objext \
27857 conftest
$ac_exeext conftest.
$ac_ext
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27860 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27861 if test $gcc_cv_math_func_cabsf128 = yes; then
27863 cat >>confdefs.h
<<_ACEOF
27864 #define HAVE_CABSF128 1
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27873 $as_echo_n "checking for floorf128... " >&6; }
27874 if ${gcc_cv_math_func_floorf128+:} false
; then :
27875 $as_echo_n "(cached) " >&6
27877 if test x
$gcc_no_link = xyes
; then
27878 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27883 #ifdef HAVE_COMPLEX_H
27884 #include <complex.h>
27890 int (*ptr)() = (int (*)())floorf128;
27899 if ac_fn_c_try_link
"$LINENO"; then :
27900 gcc_cv_math_func_floorf128
=yes
27902 gcc_cv_math_func_floorf128
=no
27904 rm -f core conftest.err conftest.
$ac_objext \
27905 conftest
$ac_exeext conftest.
$ac_ext
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27908 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27909 if test $gcc_cv_math_func_floorf128 = yes; then
27911 cat >>confdefs.h
<<_ACEOF
27912 #define HAVE_FLOORF128 1
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27921 $as_echo_n "checking for fmaf128... " >&6; }
27922 if ${gcc_cv_math_func_fmaf128+:} false
; then :
27923 $as_echo_n "(cached) " >&6
27925 if test x
$gcc_no_link = xyes
; then
27926 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27931 #ifdef HAVE_COMPLEX_H
27932 #include <complex.h>
27938 int (*ptr)() = (int (*)())fmaf128;
27947 if ac_fn_c_try_link
"$LINENO"; then :
27948 gcc_cv_math_func_fmaf128
=yes
27950 gcc_cv_math_func_fmaf128
=no
27952 rm -f core conftest.err conftest.
$ac_objext \
27953 conftest
$ac_exeext conftest.
$ac_ext
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27956 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27957 if test $gcc_cv_math_func_fmaf128 = yes; then
27959 cat >>confdefs.h
<<_ACEOF
27960 #define HAVE_FMAF128 1
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
27969 $as_echo_n "checking for fmodf128... " >&6; }
27970 if ${gcc_cv_math_func_fmodf128+:} false
; then :
27971 $as_echo_n "(cached) " >&6
27973 if test x
$gcc_no_link = xyes
; then
27974 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27977 /* end confdefs.h. */
27979 #ifdef HAVE_COMPLEX_H
27980 #include <complex.h>
27986 int (*ptr)() = (int (*)())fmodf128;
27995 if ac_fn_c_try_link
"$LINENO"; then :
27996 gcc_cv_math_func_fmodf128
=yes
27998 gcc_cv_math_func_fmodf128
=no
28000 rm -f core conftest.err conftest.
$ac_objext \
28001 conftest
$ac_exeext conftest.
$ac_ext
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28004 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28005 if test $gcc_cv_math_func_fmodf128 = yes; then
28007 cat >>confdefs.h
<<_ACEOF
28008 #define HAVE_FMODF128 1
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28017 $as_echo_n "checking for frexpf128... " >&6; }
28018 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28019 $as_echo_n "(cached) " >&6
28021 if test x
$gcc_no_link = xyes
; then
28022 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h. */
28027 #ifdef HAVE_COMPLEX_H
28028 #include <complex.h>
28034 int (*ptr)() = (int (*)())frexpf128;
28043 if ac_fn_c_try_link
"$LINENO"; then :
28044 gcc_cv_math_func_frexpf128
=yes
28046 gcc_cv_math_func_frexpf128
=no
28048 rm -f core conftest.err conftest.
$ac_objext \
28049 conftest
$ac_exeext conftest.
$ac_ext
28051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28052 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28053 if test $gcc_cv_math_func_frexpf128 = yes; then
28055 cat >>confdefs.h
<<_ACEOF
28056 #define HAVE_FREXPF128 1
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28065 $as_echo_n "checking for hypotf128... " >&6; }
28066 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28067 $as_echo_n "(cached) " >&6
28069 if test x
$gcc_no_link = xyes
; then
28070 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28075 #ifdef HAVE_COMPLEX_H
28076 #include <complex.h>
28082 int (*ptr)() = (int (*)())hypotf128;
28091 if ac_fn_c_try_link
"$LINENO"; then :
28092 gcc_cv_math_func_hypotf128
=yes
28094 gcc_cv_math_func_hypotf128
=no
28096 rm -f core conftest.err conftest.
$ac_objext \
28097 conftest
$ac_exeext conftest.
$ac_ext
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28100 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28101 if test $gcc_cv_math_func_hypotf128 = yes; then
28103 cat >>confdefs.h
<<_ACEOF
28104 #define HAVE_HYPOTF128 1
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28113 $as_echo_n "checking for ldexpf128... " >&6; }
28114 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28115 $as_echo_n "(cached) " >&6
28117 if test x
$gcc_no_link = xyes
; then
28118 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28121 /* end confdefs.h. */
28123 #ifdef HAVE_COMPLEX_H
28124 #include <complex.h>
28130 int (*ptr)() = (int (*)())ldexpf128;
28139 if ac_fn_c_try_link
"$LINENO"; then :
28140 gcc_cv_math_func_ldexpf128
=yes
28142 gcc_cv_math_func_ldexpf128
=no
28144 rm -f core conftest.err conftest.
$ac_objext \
28145 conftest
$ac_exeext conftest.
$ac_ext
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28148 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28149 if test $gcc_cv_math_func_ldexpf128 = yes; then
28151 cat >>confdefs.h
<<_ACEOF
28152 #define HAVE_LDEXPF128 1
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28161 $as_echo_n "checking for logf128... " >&6; }
28162 if ${gcc_cv_math_func_logf128+:} false
; then :
28163 $as_echo_n "(cached) " >&6
28165 if test x
$gcc_no_link = xyes
; then
28166 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28169 /* end confdefs.h. */
28171 #ifdef HAVE_COMPLEX_H
28172 #include <complex.h>
28178 int (*ptr)() = (int (*)())logf128;
28187 if ac_fn_c_try_link
"$LINENO"; then :
28188 gcc_cv_math_func_logf128
=yes
28190 gcc_cv_math_func_logf128
=no
28192 rm -f core conftest.err conftest.
$ac_objext \
28193 conftest
$ac_exeext conftest.
$ac_ext
28195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28196 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28197 if test $gcc_cv_math_func_logf128 = yes; then
28199 cat >>confdefs.h
<<_ACEOF
28200 #define HAVE_LOGF128 1
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28209 $as_echo_n "checking for clogf128... " >&6; }
28210 if ${gcc_cv_math_func_clogf128+:} false
; then :
28211 $as_echo_n "(cached) " >&6
28213 if test x
$gcc_no_link = xyes
; then
28214 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28219 #ifdef HAVE_COMPLEX_H
28220 #include <complex.h>
28226 int (*ptr)() = (int (*)())clogf128;
28235 if ac_fn_c_try_link
"$LINENO"; then :
28236 gcc_cv_math_func_clogf128
=yes
28238 gcc_cv_math_func_clogf128
=no
28240 rm -f core conftest.err conftest.
$ac_objext \
28241 conftest
$ac_exeext conftest.
$ac_ext
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28244 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28245 if test $gcc_cv_math_func_clogf128 = yes; then
28247 cat >>confdefs.h
<<_ACEOF
28248 #define HAVE_CLOGF128 1
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28257 $as_echo_n "checking for log10f128... " >&6; }
28258 if ${gcc_cv_math_func_log10f128+:} false
; then :
28259 $as_echo_n "(cached) " >&6
28261 if test x
$gcc_no_link = xyes
; then
28262 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28265 /* end confdefs.h. */
28267 #ifdef HAVE_COMPLEX_H
28268 #include <complex.h>
28274 int (*ptr)() = (int (*)())log10f128;
28283 if ac_fn_c_try_link
"$LINENO"; then :
28284 gcc_cv_math_func_log10f128
=yes
28286 gcc_cv_math_func_log10f128
=no
28288 rm -f core conftest.err conftest.
$ac_objext \
28289 conftest
$ac_exeext conftest.
$ac_ext
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28292 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28293 if test $gcc_cv_math_func_log10f128 = yes; then
28295 cat >>confdefs.h
<<_ACEOF
28296 #define HAVE_LOG10F128 1
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28305 $as_echo_n "checking for clog10f128... " >&6; }
28306 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28307 $as_echo_n "(cached) " >&6
28309 if test x
$gcc_no_link = xyes
; then
28310 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28315 #ifdef HAVE_COMPLEX_H
28316 #include <complex.h>
28322 int (*ptr)() = (int (*)())clog10f128;
28331 if ac_fn_c_try_link
"$LINENO"; then :
28332 gcc_cv_math_func_clog10f128
=yes
28334 gcc_cv_math_func_clog10f128
=no
28336 rm -f core conftest.err conftest.
$ac_objext \
28337 conftest
$ac_exeext conftest.
$ac_ext
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28340 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28341 if test $gcc_cv_math_func_clog10f128 = yes; then
28343 cat >>confdefs.h
<<_ACEOF
28344 #define HAVE_CLOG10F128 1
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28353 $as_echo_n "checking for nextafterf128... " >&6; }
28354 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28355 $as_echo_n "(cached) " >&6
28357 if test x
$gcc_no_link = xyes
; then
28358 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28361 /* end confdefs.h. */
28363 #ifdef HAVE_COMPLEX_H
28364 #include <complex.h>
28370 int (*ptr)() = (int (*)())nextafterf128;
28379 if ac_fn_c_try_link
"$LINENO"; then :
28380 gcc_cv_math_func_nextafterf128
=yes
28382 gcc_cv_math_func_nextafterf128
=no
28384 rm -f core conftest.err conftest.
$ac_objext \
28385 conftest
$ac_exeext conftest.
$ac_ext
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28388 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28389 if test $gcc_cv_math_func_nextafterf128 = yes; then
28391 cat >>confdefs.h
<<_ACEOF
28392 #define HAVE_NEXTAFTERF128 1
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28401 $as_echo_n "checking for powf128... " >&6; }
28402 if ${gcc_cv_math_func_powf128+:} false
; then :
28403 $as_echo_n "(cached) " >&6
28405 if test x
$gcc_no_link = xyes
; then
28406 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28409 /* end confdefs.h. */
28411 #ifdef HAVE_COMPLEX_H
28412 #include <complex.h>
28418 int (*ptr)() = (int (*)())powf128;
28427 if ac_fn_c_try_link
"$LINENO"; then :
28428 gcc_cv_math_func_powf128
=yes
28430 gcc_cv_math_func_powf128
=no
28432 rm -f core conftest.err conftest.
$ac_objext \
28433 conftest
$ac_exeext conftest.
$ac_ext
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28436 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28437 if test $gcc_cv_math_func_powf128 = yes; then
28439 cat >>confdefs.h
<<_ACEOF
28440 #define HAVE_POWF128 1
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28449 $as_echo_n "checking for cpowf128... " >&6; }
28450 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28451 $as_echo_n "(cached) " >&6
28453 if test x
$gcc_no_link = xyes
; then
28454 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28457 /* end confdefs.h. */
28459 #ifdef HAVE_COMPLEX_H
28460 #include <complex.h>
28466 int (*ptr)() = (int (*)())cpowf128;
28475 if ac_fn_c_try_link
"$LINENO"; then :
28476 gcc_cv_math_func_cpowf128
=yes
28478 gcc_cv_math_func_cpowf128
=no
28480 rm -f core conftest.err conftest.
$ac_objext \
28481 conftest
$ac_exeext conftest.
$ac_ext
28483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28484 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28485 if test $gcc_cv_math_func_cpowf128 = yes; then
28487 cat >>confdefs.h
<<_ACEOF
28488 #define HAVE_CPOWF128 1
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28497 $as_echo_n "checking for roundf128... " >&6; }
28498 if ${gcc_cv_math_func_roundf128+:} false
; then :
28499 $as_echo_n "(cached) " >&6
28501 if test x
$gcc_no_link = xyes
; then
28502 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28505 /* end confdefs.h. */
28507 #ifdef HAVE_COMPLEX_H
28508 #include <complex.h>
28514 int (*ptr)() = (int (*)())roundf128;
28523 if ac_fn_c_try_link
"$LINENO"; then :
28524 gcc_cv_math_func_roundf128
=yes
28526 gcc_cv_math_func_roundf128
=no
28528 rm -f core conftest.err conftest.
$ac_objext \
28529 conftest
$ac_exeext conftest.
$ac_ext
28531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28532 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28533 if test $gcc_cv_math_func_roundf128 = yes; then
28535 cat >>confdefs.h
<<_ACEOF
28536 #define HAVE_ROUNDF128 1
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28545 $as_echo_n "checking for lroundf128... " >&6; }
28546 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28547 $as_echo_n "(cached) " >&6
28549 if test x
$gcc_no_link = xyes
; then
28550 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28553 /* end confdefs.h. */
28555 #ifdef HAVE_COMPLEX_H
28556 #include <complex.h>
28562 int (*ptr)() = (int (*)())lroundf128;
28571 if ac_fn_c_try_link
"$LINENO"; then :
28572 gcc_cv_math_func_lroundf128
=yes
28574 gcc_cv_math_func_lroundf128
=no
28576 rm -f core conftest.err conftest.
$ac_objext \
28577 conftest
$ac_exeext conftest.
$ac_ext
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28580 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28581 if test $gcc_cv_math_func_lroundf128 = yes; then
28583 cat >>confdefs.h
<<_ACEOF
28584 #define HAVE_LROUNDF128 1
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28593 $as_echo_n "checking for llroundf128... " >&6; }
28594 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28595 $as_echo_n "(cached) " >&6
28597 if test x
$gcc_no_link = xyes
; then
28598 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28601 /* end confdefs.h. */
28603 #ifdef HAVE_COMPLEX_H
28604 #include <complex.h>
28610 int (*ptr)() = (int (*)())llroundf128;
28619 if ac_fn_c_try_link
"$LINENO"; then :
28620 gcc_cv_math_func_llroundf128
=yes
28622 gcc_cv_math_func_llroundf128
=no
28624 rm -f core conftest.err conftest.
$ac_objext \
28625 conftest
$ac_exeext conftest.
$ac_ext
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28628 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28629 if test $gcc_cv_math_func_llroundf128 = yes; then
28631 cat >>confdefs.h
<<_ACEOF
28632 #define HAVE_LLROUNDF128 1
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28641 $as_echo_n "checking for scalbnf128... " >&6; }
28642 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28643 $as_echo_n "(cached) " >&6
28645 if test x
$gcc_no_link = xyes
; then
28646 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28649 /* end confdefs.h. */
28651 #ifdef HAVE_COMPLEX_H
28652 #include <complex.h>
28658 int (*ptr)() = (int (*)())scalbnf128;
28667 if ac_fn_c_try_link
"$LINENO"; then :
28668 gcc_cv_math_func_scalbnf128
=yes
28670 gcc_cv_math_func_scalbnf128
=no
28672 rm -f core conftest.err conftest.
$ac_objext \
28673 conftest
$ac_exeext conftest.
$ac_ext
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28676 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28677 if test $gcc_cv_math_func_scalbnf128 = yes; then
28679 cat >>confdefs.h
<<_ACEOF
28680 #define HAVE_SCALBNF128 1
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28689 $as_echo_n "checking for sinf128... " >&6; }
28690 if ${gcc_cv_math_func_sinf128+:} false
; then :
28691 $as_echo_n "(cached) " >&6
28693 if test x
$gcc_no_link = xyes
; then
28694 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28699 #ifdef HAVE_COMPLEX_H
28700 #include <complex.h>
28706 int (*ptr)() = (int (*)())sinf128;
28715 if ac_fn_c_try_link
"$LINENO"; then :
28716 gcc_cv_math_func_sinf128
=yes
28718 gcc_cv_math_func_sinf128
=no
28720 rm -f core conftest.err conftest.
$ac_objext \
28721 conftest
$ac_exeext conftest.
$ac_ext
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28724 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28725 if test $gcc_cv_math_func_sinf128 = yes; then
28727 cat >>confdefs.h
<<_ACEOF
28728 #define HAVE_SINF128 1
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28737 $as_echo_n "checking for csinf128... " >&6; }
28738 if ${gcc_cv_math_func_csinf128+:} false
; then :
28739 $as_echo_n "(cached) " >&6
28741 if test x
$gcc_no_link = xyes
; then
28742 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h. */
28747 #ifdef HAVE_COMPLEX_H
28748 #include <complex.h>
28754 int (*ptr)() = (int (*)())csinf128;
28763 if ac_fn_c_try_link
"$LINENO"; then :
28764 gcc_cv_math_func_csinf128
=yes
28766 gcc_cv_math_func_csinf128
=no
28768 rm -f core conftest.err conftest.
$ac_objext \
28769 conftest
$ac_exeext conftest.
$ac_ext
28771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28772 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28773 if test $gcc_cv_math_func_csinf128 = yes; then
28775 cat >>confdefs.h
<<_ACEOF
28776 #define HAVE_CSINF128 1
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28785 $as_echo_n "checking for sinhf128... " >&6; }
28786 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28787 $as_echo_n "(cached) " >&6
28789 if test x
$gcc_no_link = xyes
; then
28790 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28795 #ifdef HAVE_COMPLEX_H
28796 #include <complex.h>
28802 int (*ptr)() = (int (*)())sinhf128;
28811 if ac_fn_c_try_link
"$LINENO"; then :
28812 gcc_cv_math_func_sinhf128
=yes
28814 gcc_cv_math_func_sinhf128
=no
28816 rm -f core conftest.err conftest.
$ac_objext \
28817 conftest
$ac_exeext conftest.
$ac_ext
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28820 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28821 if test $gcc_cv_math_func_sinhf128 = yes; then
28823 cat >>confdefs.h
<<_ACEOF
28824 #define HAVE_SINHF128 1
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28833 $as_echo_n "checking for csinhf128... " >&6; }
28834 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28835 $as_echo_n "(cached) " >&6
28837 if test x
$gcc_no_link = xyes
; then
28838 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28841 /* end confdefs.h. */
28843 #ifdef HAVE_COMPLEX_H
28844 #include <complex.h>
28850 int (*ptr)() = (int (*)())csinhf128;
28859 if ac_fn_c_try_link
"$LINENO"; then :
28860 gcc_cv_math_func_csinhf128
=yes
28862 gcc_cv_math_func_csinhf128
=no
28864 rm -f core conftest.err conftest.
$ac_objext \
28865 conftest
$ac_exeext conftest.
$ac_ext
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28868 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28869 if test $gcc_cv_math_func_csinhf128 = yes; then
28871 cat >>confdefs.h
<<_ACEOF
28872 #define HAVE_CSINHF128 1
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28881 $as_echo_n "checking for sqrtf128... " >&6; }
28882 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
28883 $as_echo_n "(cached) " >&6
28885 if test x
$gcc_no_link = xyes
; then
28886 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28891 #ifdef HAVE_COMPLEX_H
28892 #include <complex.h>
28898 int (*ptr)() = (int (*)())sqrtf128;
28907 if ac_fn_c_try_link
"$LINENO"; then :
28908 gcc_cv_math_func_sqrtf128
=yes
28910 gcc_cv_math_func_sqrtf128
=no
28912 rm -f core conftest.err conftest.
$ac_objext \
28913 conftest
$ac_exeext conftest.
$ac_ext
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28916 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28917 if test $gcc_cv_math_func_sqrtf128 = yes; then
28919 cat >>confdefs.h
<<_ACEOF
28920 #define HAVE_SQRTF128 1
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28929 $as_echo_n "checking for csqrtf128... " >&6; }
28930 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
28931 $as_echo_n "(cached) " >&6
28933 if test x
$gcc_no_link = xyes
; then
28934 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28937 /* end confdefs.h. */
28939 #ifdef HAVE_COMPLEX_H
28940 #include <complex.h>
28946 int (*ptr)() = (int (*)())csqrtf128;
28955 if ac_fn_c_try_link
"$LINENO"; then :
28956 gcc_cv_math_func_csqrtf128
=yes
28958 gcc_cv_math_func_csqrtf128
=no
28960 rm -f core conftest.err conftest.
$ac_objext \
28961 conftest
$ac_exeext conftest.
$ac_ext
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
28964 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
28965 if test $gcc_cv_math_func_csqrtf128 = yes; then
28967 cat >>confdefs.h
<<_ACEOF
28968 #define HAVE_CSQRTF128 1
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
28977 $as_echo_n "checking for tanf128... " >&6; }
28978 if ${gcc_cv_math_func_tanf128+:} false
; then :
28979 $as_echo_n "(cached) " >&6
28981 if test x
$gcc_no_link = xyes
; then
28982 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28985 /* end confdefs.h. */
28987 #ifdef HAVE_COMPLEX_H
28988 #include <complex.h>
28994 int (*ptr)() = (int (*)())tanf128;
29003 if ac_fn_c_try_link
"$LINENO"; then :
29004 gcc_cv_math_func_tanf128
=yes
29006 gcc_cv_math_func_tanf128
=no
29008 rm -f core conftest.err conftest.
$ac_objext \
29009 conftest
$ac_exeext conftest.
$ac_ext
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29012 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29013 if test $gcc_cv_math_func_tanf128 = yes; then
29015 cat >>confdefs.h
<<_ACEOF
29016 #define HAVE_TANF128 1
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29025 $as_echo_n "checking for ctanf128... " >&6; }
29026 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29027 $as_echo_n "(cached) " >&6
29029 if test x
$gcc_no_link = xyes
; then
29030 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29033 /* end confdefs.h. */
29035 #ifdef HAVE_COMPLEX_H
29036 #include <complex.h>
29042 int (*ptr)() = (int (*)())ctanf128;
29051 if ac_fn_c_try_link
"$LINENO"; then :
29052 gcc_cv_math_func_ctanf128
=yes
29054 gcc_cv_math_func_ctanf128
=no
29056 rm -f core conftest.err conftest.
$ac_objext \
29057 conftest
$ac_exeext conftest.
$ac_ext
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29060 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29061 if test $gcc_cv_math_func_ctanf128 = yes; then
29063 cat >>confdefs.h
<<_ACEOF
29064 #define HAVE_CTANF128 1
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29073 $as_echo_n "checking for tanhf128... " >&6; }
29074 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29075 $as_echo_n "(cached) " >&6
29077 if test x
$gcc_no_link = xyes
; then
29078 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29081 /* end confdefs.h. */
29083 #ifdef HAVE_COMPLEX_H
29084 #include <complex.h>
29090 int (*ptr)() = (int (*)())tanhf128;
29099 if ac_fn_c_try_link
"$LINENO"; then :
29100 gcc_cv_math_func_tanhf128
=yes
29102 gcc_cv_math_func_tanhf128
=no
29104 rm -f core conftest.err conftest.
$ac_objext \
29105 conftest
$ac_exeext conftest.
$ac_ext
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29108 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29109 if test $gcc_cv_math_func_tanhf128 = yes; then
29111 cat >>confdefs.h
<<_ACEOF
29112 #define HAVE_TANHF128 1
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29121 $as_echo_n "checking for ctanhf128... " >&6; }
29122 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29123 $as_echo_n "(cached) " >&6
29125 if test x
$gcc_no_link = xyes
; then
29126 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h. */
29131 #ifdef HAVE_COMPLEX_H
29132 #include <complex.h>
29138 int (*ptr)() = (int (*)())ctanhf128;
29147 if ac_fn_c_try_link
"$LINENO"; then :
29148 gcc_cv_math_func_ctanhf128
=yes
29150 gcc_cv_math_func_ctanhf128
=no
29152 rm -f core conftest.err conftest.
$ac_objext \
29153 conftest
$ac_exeext conftest.
$ac_ext
29155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29156 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29157 if test $gcc_cv_math_func_ctanhf128 = yes; then
29159 cat >>confdefs.h
<<_ACEOF
29160 #define HAVE_CTANHF128 1
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29169 $as_echo_n "checking for truncf128... " >&6; }
29170 if ${gcc_cv_math_func_truncf128+:} false
; then :
29171 $as_echo_n "(cached) " >&6
29173 if test x
$gcc_no_link = xyes
; then
29174 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29177 /* end confdefs.h. */
29179 #ifdef HAVE_COMPLEX_H
29180 #include <complex.h>
29186 int (*ptr)() = (int (*)())truncf128;
29195 if ac_fn_c_try_link
"$LINENO"; then :
29196 gcc_cv_math_func_truncf128
=yes
29198 gcc_cv_math_func_truncf128
=no
29200 rm -f core conftest.err conftest.
$ac_objext \
29201 conftest
$ac_exeext conftest.
$ac_ext
29203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29204 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29205 if test $gcc_cv_math_func_truncf128 = yes; then
29207 cat >>confdefs.h
<<_ACEOF
29208 #define HAVE_TRUNCF128 1
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29217 $as_echo_n "checking for erff128... " >&6; }
29218 if ${gcc_cv_math_func_erff128+:} false
; then :
29219 $as_echo_n "(cached) " >&6
29221 if test x
$gcc_no_link = xyes
; then
29222 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29225 /* end confdefs.h. */
29227 #ifdef HAVE_COMPLEX_H
29228 #include <complex.h>
29234 int (*ptr)() = (int (*)())erff128;
29243 if ac_fn_c_try_link
"$LINENO"; then :
29244 gcc_cv_math_func_erff128
=yes
29246 gcc_cv_math_func_erff128
=no
29248 rm -f core conftest.err conftest.
$ac_objext \
29249 conftest
$ac_exeext conftest.
$ac_ext
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29252 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29253 if test $gcc_cv_math_func_erff128 = yes; then
29255 cat >>confdefs.h
<<_ACEOF
29256 #define HAVE_ERFF128 1
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29265 $as_echo_n "checking for erfcf128... " >&6; }
29266 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29267 $as_echo_n "(cached) " >&6
29269 if test x
$gcc_no_link = xyes
; then
29270 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29273 /* end confdefs.h. */
29275 #ifdef HAVE_COMPLEX_H
29276 #include <complex.h>
29282 int (*ptr)() = (int (*)())erfcf128;
29291 if ac_fn_c_try_link
"$LINENO"; then :
29292 gcc_cv_math_func_erfcf128
=yes
29294 gcc_cv_math_func_erfcf128
=no
29296 rm -f core conftest.err conftest.
$ac_objext \
29297 conftest
$ac_exeext conftest.
$ac_ext
29299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29300 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29301 if test $gcc_cv_math_func_erfcf128 = yes; then
29303 cat >>confdefs.h
<<_ACEOF
29304 #define HAVE_ERFCF128 1
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29313 $as_echo_n "checking for j0f128... " >&6; }
29314 if ${gcc_cv_math_func_j0f128+:} false
; then :
29315 $as_echo_n "(cached) " >&6
29317 if test x
$gcc_no_link = xyes
; then
29318 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29323 #ifdef HAVE_COMPLEX_H
29324 #include <complex.h>
29330 int (*ptr)() = (int (*)())j0f128;
29339 if ac_fn_c_try_link
"$LINENO"; then :
29340 gcc_cv_math_func_j0f128
=yes
29342 gcc_cv_math_func_j0f128
=no
29344 rm -f core conftest.err conftest.
$ac_objext \
29345 conftest
$ac_exeext conftest.
$ac_ext
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29348 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29349 if test $gcc_cv_math_func_j0f128 = yes; then
29351 cat >>confdefs.h
<<_ACEOF
29352 #define HAVE_J0F128 1
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29361 $as_echo_n "checking for j1f128... " >&6; }
29362 if ${gcc_cv_math_func_j1f128+:} false
; then :
29363 $as_echo_n "(cached) " >&6
29365 if test x
$gcc_no_link = xyes
; then
29366 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h. */
29371 #ifdef HAVE_COMPLEX_H
29372 #include <complex.h>
29378 int (*ptr)() = (int (*)())j1f128;
29387 if ac_fn_c_try_link
"$LINENO"; then :
29388 gcc_cv_math_func_j1f128
=yes
29390 gcc_cv_math_func_j1f128
=no
29392 rm -f core conftest.err conftest.
$ac_objext \
29393 conftest
$ac_exeext conftest.
$ac_ext
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29396 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29397 if test $gcc_cv_math_func_j1f128 = yes; then
29399 cat >>confdefs.h
<<_ACEOF
29400 #define HAVE_J1F128 1
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29409 $as_echo_n "checking for jnf128... " >&6; }
29410 if ${gcc_cv_math_func_jnf128+:} false
; then :
29411 $as_echo_n "(cached) " >&6
29413 if test x
$gcc_no_link = xyes
; then
29414 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h. */
29419 #ifdef HAVE_COMPLEX_H
29420 #include <complex.h>
29426 int (*ptr)() = (int (*)())jnf128;
29435 if ac_fn_c_try_link
"$LINENO"; then :
29436 gcc_cv_math_func_jnf128
=yes
29438 gcc_cv_math_func_jnf128
=no
29440 rm -f core conftest.err conftest.
$ac_objext \
29441 conftest
$ac_exeext conftest.
$ac_ext
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29444 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29445 if test $gcc_cv_math_func_jnf128 = yes; then
29447 cat >>confdefs.h
<<_ACEOF
29448 #define HAVE_JNF128 1
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29457 $as_echo_n "checking for y0f128... " >&6; }
29458 if ${gcc_cv_math_func_y0f128+:} false
; then :
29459 $as_echo_n "(cached) " >&6
29461 if test x
$gcc_no_link = xyes
; then
29462 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29465 /* end confdefs.h. */
29467 #ifdef HAVE_COMPLEX_H
29468 #include <complex.h>
29474 int (*ptr)() = (int (*)())y0f128;
29483 if ac_fn_c_try_link
"$LINENO"; then :
29484 gcc_cv_math_func_y0f128
=yes
29486 gcc_cv_math_func_y0f128
=no
29488 rm -f core conftest.err conftest.
$ac_objext \
29489 conftest
$ac_exeext conftest.
$ac_ext
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29492 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29493 if test $gcc_cv_math_func_y0f128 = yes; then
29495 cat >>confdefs.h
<<_ACEOF
29496 #define HAVE_Y0F128 1
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29505 $as_echo_n "checking for y1f128... " >&6; }
29506 if ${gcc_cv_math_func_y1f128+:} false
; then :
29507 $as_echo_n "(cached) " >&6
29509 if test x
$gcc_no_link = xyes
; then
29510 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29513 /* end confdefs.h. */
29515 #ifdef HAVE_COMPLEX_H
29516 #include <complex.h>
29522 int (*ptr)() = (int (*)())y1f128;
29531 if ac_fn_c_try_link
"$LINENO"; then :
29532 gcc_cv_math_func_y1f128
=yes
29534 gcc_cv_math_func_y1f128
=no
29536 rm -f core conftest.err conftest.
$ac_objext \
29537 conftest
$ac_exeext conftest.
$ac_ext
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29540 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29541 if test $gcc_cv_math_func_y1f128 = yes; then
29543 cat >>confdefs.h
<<_ACEOF
29544 #define HAVE_Y1F128 1
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29553 $as_echo_n "checking for ynf128... " >&6; }
29554 if ${gcc_cv_math_func_ynf128+:} false
; then :
29555 $as_echo_n "(cached) " >&6
29557 if test x
$gcc_no_link = xyes
; then
29558 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29563 #ifdef HAVE_COMPLEX_H
29564 #include <complex.h>
29570 int (*ptr)() = (int (*)())ynf128;
29579 if ac_fn_c_try_link
"$LINENO"; then :
29580 gcc_cv_math_func_ynf128
=yes
29582 gcc_cv_math_func_ynf128
=no
29584 rm -f core conftest.err conftest.
$ac_objext \
29585 conftest
$ac_exeext conftest.
$ac_ext
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29588 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29589 if test $gcc_cv_math_func_ynf128 = yes; then
29591 cat >>confdefs.h
<<_ACEOF
29592 #define HAVE_YNF128 1
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29601 $as_echo_n "checking for tgammaf128... " >&6; }
29602 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29603 $as_echo_n "(cached) " >&6
29605 if test x
$gcc_no_link = xyes
; then
29606 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29611 #ifdef HAVE_COMPLEX_H
29612 #include <complex.h>
29618 int (*ptr)() = (int (*)())tgammaf128;
29627 if ac_fn_c_try_link
"$LINENO"; then :
29628 gcc_cv_math_func_tgammaf128
=yes
29630 gcc_cv_math_func_tgammaf128
=no
29632 rm -f core conftest.err conftest.
$ac_objext \
29633 conftest
$ac_exeext conftest.
$ac_ext
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29636 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29637 if test $gcc_cv_math_func_tgammaf128 = yes; then
29639 cat >>confdefs.h
<<_ACEOF
29640 #define HAVE_TGAMMAF128 1
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29649 $as_echo_n "checking for lgammaf128... " >&6; }
29650 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29651 $as_echo_n "(cached) " >&6
29653 if test x
$gcc_no_link = xyes
; then
29654 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29657 /* end confdefs.h. */
29659 #ifdef HAVE_COMPLEX_H
29660 #include <complex.h>
29666 int (*ptr)() = (int (*)())lgammaf128;
29675 if ac_fn_c_try_link
"$LINENO"; then :
29676 gcc_cv_math_func_lgammaf128
=yes
29678 gcc_cv_math_func_lgammaf128
=no
29680 rm -f core conftest.err conftest.
$ac_objext \
29681 conftest
$ac_exeext conftest.
$ac_ext
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29684 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29685 if test $gcc_cv_math_func_lgammaf128 = yes; then
29687 cat >>confdefs.h
<<_ACEOF
29688 #define HAVE_LGAMMAF128 1
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29698 $as_echo_n "checking for cacosf128... " >&6; }
29699 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29700 $as_echo_n "(cached) " >&6
29702 if test x
$gcc_no_link = xyes
; then
29703 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29706 /* end confdefs.h. */
29708 #ifdef HAVE_COMPLEX_H
29709 #include <complex.h>
29715 int (*ptr)() = (int (*)())cacosf128;
29724 if ac_fn_c_try_link
"$LINENO"; then :
29725 gcc_cv_math_func_cacosf128
=yes
29727 gcc_cv_math_func_cacosf128
=no
29729 rm -f core conftest.err conftest.
$ac_objext \
29730 conftest
$ac_exeext conftest.
$ac_ext
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29733 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29734 if test $gcc_cv_math_func_cacosf128 = yes; then
29736 cat >>confdefs.h
<<_ACEOF
29737 #define HAVE_CACOSF128 1
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29746 $as_echo_n "checking for cacoshf128... " >&6; }
29747 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29748 $as_echo_n "(cached) " >&6
29750 if test x
$gcc_no_link = xyes
; then
29751 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29754 /* end confdefs.h. */
29756 #ifdef HAVE_COMPLEX_H
29757 #include <complex.h>
29763 int (*ptr)() = (int (*)())cacoshf128;
29772 if ac_fn_c_try_link
"$LINENO"; then :
29773 gcc_cv_math_func_cacoshf128
=yes
29775 gcc_cv_math_func_cacoshf128
=no
29777 rm -f core conftest.err conftest.
$ac_objext \
29778 conftest
$ac_exeext conftest.
$ac_ext
29780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29781 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29782 if test $gcc_cv_math_func_cacoshf128 = yes; then
29784 cat >>confdefs.h
<<_ACEOF
29785 #define HAVE_CACOSHF128 1
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29794 $as_echo_n "checking for casinf128... " >&6; }
29795 if ${gcc_cv_math_func_casinf128+:} false
; then :
29796 $as_echo_n "(cached) " >&6
29798 if test x
$gcc_no_link = xyes
; then
29799 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29804 #ifdef HAVE_COMPLEX_H
29805 #include <complex.h>
29811 int (*ptr)() = (int (*)())casinf128;
29820 if ac_fn_c_try_link
"$LINENO"; then :
29821 gcc_cv_math_func_casinf128
=yes
29823 gcc_cv_math_func_casinf128
=no
29825 rm -f core conftest.err conftest.
$ac_objext \
29826 conftest
$ac_exeext conftest.
$ac_ext
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29829 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29830 if test $gcc_cv_math_func_casinf128 = yes; then
29832 cat >>confdefs.h
<<_ACEOF
29833 #define HAVE_CASINF128 1
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29842 $as_echo_n "checking for casinhf128... " >&6; }
29843 if ${gcc_cv_math_func_casinhf128+:} false
; then :
29844 $as_echo_n "(cached) " >&6
29846 if test x
$gcc_no_link = xyes
; then
29847 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29850 /* end confdefs.h. */
29852 #ifdef HAVE_COMPLEX_H
29853 #include <complex.h>
29859 int (*ptr)() = (int (*)())casinhf128;
29868 if ac_fn_c_try_link
"$LINENO"; then :
29869 gcc_cv_math_func_casinhf128
=yes
29871 gcc_cv_math_func_casinhf128
=no
29873 rm -f core conftest.err conftest.
$ac_objext \
29874 conftest
$ac_exeext conftest.
$ac_ext
29876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29877 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29878 if test $gcc_cv_math_func_casinhf128 = yes; then
29880 cat >>confdefs.h
<<_ACEOF
29881 #define HAVE_CASINHF128 1
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29890 $as_echo_n "checking for catanf128... " >&6; }
29891 if ${gcc_cv_math_func_catanf128+:} false
; then :
29892 $as_echo_n "(cached) " >&6
29894 if test x
$gcc_no_link = xyes
; then
29895 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29898 /* end confdefs.h. */
29900 #ifdef HAVE_COMPLEX_H
29901 #include <complex.h>
29907 int (*ptr)() = (int (*)())catanf128;
29916 if ac_fn_c_try_link
"$LINENO"; then :
29917 gcc_cv_math_func_catanf128
=yes
29919 gcc_cv_math_func_catanf128
=no
29921 rm -f core conftest.err conftest.
$ac_objext \
29922 conftest
$ac_exeext conftest.
$ac_ext
29924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29925 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29926 if test $gcc_cv_math_func_catanf128 = yes; then
29928 cat >>confdefs.h
<<_ACEOF
29929 #define HAVE_CATANF128 1
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29938 $as_echo_n "checking for catanhf128... " >&6; }
29939 if ${gcc_cv_math_func_catanhf128+:} false
; then :
29940 $as_echo_n "(cached) " >&6
29942 if test x
$gcc_no_link = xyes
; then
29943 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h. */
29948 #ifdef HAVE_COMPLEX_H
29949 #include <complex.h>
29955 int (*ptr)() = (int (*)())catanhf128;
29964 if ac_fn_c_try_link
"$LINENO"; then :
29965 gcc_cv_math_func_catanhf128
=yes
29967 gcc_cv_math_func_catanhf128
=no
29969 rm -f core conftest.err conftest.
$ac_objext \
29970 conftest
$ac_exeext conftest.
$ac_ext
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
29973 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
29974 if test $gcc_cv_math_func_catanhf128 = yes; then
29976 cat >>confdefs.h
<<_ACEOF
29977 #define HAVE_CATANHF128 1
29983 # Check whether the system has a working stat()
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
29986 $as_echo_n "checking whether the target stat is reliable... " >&6; }
29987 if ${libgfor_cv_have_working_stat+:} false
; then :
29988 $as_echo_n "(cached) " >&6
29991 if test "$cross_compiling" = yes; then :
29993 case "${target}" in
29994 *mingw
*) libgfor_cv_have_working_stat
=no
;;
29995 *) libgfor_cv_have_working_stat
=yes;;
29998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30002 #include <sys/types.h>
30003 #include <sys/stat.h>
30004 #include <unistd.h>
30009 struct stat st1, st2;
30011 f = fopen ("foo", "w");
30012 g = fopen ("bar", "w");
30013 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30015 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30022 if ac_fn_c_try_run
"$LINENO"; then :
30023 libgfor_cv_have_working_stat
=yes
30025 libgfor_cv_have_working_stat
=no
30027 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30028 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30033 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30034 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30036 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30040 # Check whether __mingw_snprintf() is present
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30043 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30044 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30045 $as_echo_n "(cached) " >&6
30048 if test x
$gcc_no_link = xyes
; then
30049 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30052 /* end confdefs.h. */
30055 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30061 __mingw_snprintf (NULL, 0, "%d\n", 1);
30067 if ac_fn_c_try_link
"$LINENO"; then :
30068 eval "libgfor_cv_have_mingw_snprintf=yes"
30070 eval "libgfor_cv_have_mingw_snprintf=no"
30072 rm -f core conftest.err conftest.
$ac_objext \
30073 conftest
$ac_exeext conftest.
$ac_ext
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30077 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30078 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30080 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30085 have_iec_60559_libc_support
=no
30086 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30087 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30088 have_iec_60559_libc_support
=yes
30091 # Check whether libquadmath should be used
30092 # Check whether --enable-libquadmath-support was given.
30093 if test "${enable_libquadmath_support+set}" = set; then :
30094 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30096 if test "x$have_iec_60559_libc_support" = xyes
; then
30097 ENABLE_LIBQUADMATH_SUPPORT
=default
30099 ENABLE_LIBQUADMATH_SUPPORT
=yes
30103 enable_libquadmath_support
=
30104 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30105 enable_libquadmath_support
=no
30106 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30107 enable_libquadmath_support
=default
30110 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30111 # and have_iec_60559_libc_support.
30119 if test "x$enable_libquadmath_support" != xno
; then
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30122 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30123 if ${libgfor_cv_have_float128+:} false
; then :
30124 $as_echo_n "(cached) " >&6
30127 if test x
$gcc_no_link = xyes
; then
30128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30131 _Float128 foo (_Float128 x)
30134 _Complex _Float128 z1, z2;
30140 return (_Float128) z2;
30143 _Float128 bar (_Float128 x)
30145 return x * __builtin_huge_valf128 ();
30161 if ac_fn_c_try_compile
"$LINENO"; then :
30163 libgfor_cv_have_float128
=yes
30167 libgfor_cv_have_float128
=no
30170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30172 if test x
$gcc_no_link = xyes
; then
30173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30176 /* end confdefs.h. */
30178 _Float128 foo (_Float128 x)
30181 _Complex _Float128 z1, z2;
30187 return (_Float128) z2;
30190 _Float128 bar (_Float128 x)
30192 return x * __builtin_huge_valf128 ();
30208 if ac_fn_c_try_link
"$LINENO"; then :
30210 libgfor_cv_have_float128
=yes
30214 libgfor_cv_have_float128
=no
30217 rm -f core conftest.err conftest.
$ac_objext \
30218 conftest
$ac_exeext conftest.
$ac_ext
30221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30222 $as_echo "$libgfor_cv_have_float128" >&6; }
30224 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30229 if test "x$libgfor_cv_have_float128" = xyes
; then
30230 if test "x$USE_IEC_60559" = xyes
; then
30232 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30236 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30239 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30241 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30242 if ${libgfor_cv_have_as_needed+:} false
; then :
30243 $as_echo_n "(cached) " >&6
30246 # Test for native Solaris options first.
30247 # No whitespace after -z to pass it through -Wl.
30248 libgfor_cv_as_needed_option
="-zignore"
30249 libgfor_cv_no_as_needed_option
="-zrecord"
30250 save_LDFLAGS
="$LDFLAGS"
30251 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30252 libgfor_cv_have_as_needed
=no
30254 ac_c_werror_flag
=yes
30255 if test x
$gcc_no_link = xyes
; then
30256 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30259 /* end confdefs.h. */
30269 if ac_fn_c_try_link
"$LINENO"; then :
30270 libgfor_cv_have_as_needed
=yes
30272 libgfor_cv_have_as_needed
=no
30274 rm -f core conftest.err conftest.
$ac_objext \
30275 conftest
$ac_exeext conftest.
$ac_ext
30276 LDFLAGS
="$save_LDFLAGS"
30277 if test "x$libgfor_cv_have_as_needed" = xno
; then
30278 libgfor_cv_as_needed_option
="--as-needed"
30279 libgfor_cv_no_as_needed_option
="--no-as-needed"
30280 save_LDFLAGS
="$LDFLAGS"
30281 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30282 libgfor_cv_have_as_needed
=no
30284 ac_c_werror_flag
=yes
30285 if test x
$gcc_no_link = xyes
; then
30286 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30299 if ac_fn_c_try_link
"$LINENO"; then :
30300 libgfor_cv_have_as_needed
=yes
30302 libgfor_cv_have_as_needed
=no
30304 rm -f core conftest.err conftest.
$ac_objext \
30305 conftest
$ac_exeext conftest.
$ac_ext
30306 LDFLAGS
="$save_LDFLAGS"
30308 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30312 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30314 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30315 if test "x$USE_IEC_60559" = xyes
; then
30316 LIBQUADSPEC
="$libgfor_cv_as_needed_option -lquadmath $libgfor_cv_no_as_needed_option"
30318 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30321 LIBQUADSPEC
="-lquadmath"
30323 if test "x$USE_IEC_60559" != xyes
; then
30324 if test -f ..
/libquadmath
/libquadmath.la
; then
30325 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30326 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30327 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30329 LIBQUADLIB
="-lquadmath"
30344 # Check for GNU libc feenableexcept
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30346 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30347 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30348 $as_echo_n "(cached) " >&6
30350 ac_check_lib_save_LIBS
=$LIBS
30352 if test x
$gcc_no_link = xyes
; then
30353 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30356 /* end confdefs.h. */
30358 /* Override any GCC internal prototype to avoid an error.
30359 Use char because int might match the return type of a GCC
30360 builtin and then its argument prototype would still apply. */
30364 char feenableexcept ();
30368 return feenableexcept ();
30373 if ac_fn_c_try_link
"$LINENO"; then :
30374 ac_cv_lib_m_feenableexcept
=yes
30376 ac_cv_lib_m_feenableexcept
=no
30378 rm -f core conftest.err conftest.
$ac_objext \
30379 conftest
$ac_exeext conftest.
$ac_ext
30380 LIBS
=$ac_check_lib_save_LIBS
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30383 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30384 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30385 have_feenableexcept
=yes
30386 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30391 # At least for glibc, clock_gettime is in librt. But don't
30392 # pull that in if it still doesn't give us the function we want. This
30393 # test is copied from libgomp, and modified to not link in -lrt as
30394 # libgfortran calls clock_gettime via a weak reference if it's found
30396 if test "$ac_cv_func_clock_gettime" = no
; then
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30398 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30399 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30400 $as_echo_n "(cached) " >&6
30402 ac_check_lib_save_LIBS
=$LIBS
30404 if test x
$gcc_no_link = xyes
; then
30405 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30408 /* end confdefs.h. */
30410 /* Override any GCC internal prototype to avoid an error.
30411 Use char because int might match the return type of a GCC
30412 builtin and then its argument prototype would still apply. */
30416 char clock_gettime ();
30420 return clock_gettime ();
30425 if ac_fn_c_try_link
"$LINENO"; then :
30426 ac_cv_lib_rt_clock_gettime
=yes
30428 ac_cv_lib_rt_clock_gettime
=no
30430 rm -f core conftest.err conftest.
$ac_objext \
30431 conftest
$ac_exeext conftest.
$ac_ext
30432 LIBS
=$ac_check_lib_save_LIBS
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30435 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30436 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30438 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30444 # Check for SysV fpsetmask
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30447 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30448 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30449 $as_echo_n "(cached) " >&6
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. */
30458 #if HAVE_FLOATINGPOINT_H
30459 # include <floatingpoint.h>
30460 #endif /* HAVE_FLOATINGPOINT_H */
30462 # include <ieeefp.h>
30463 #endif /* HAVE_IEEEFP_H */
30472 if ac_fn_c_try_link
"$LINENO"; then :
30473 eval "libgfor_cv_have_fpsetmask=yes"
30475 eval "libgfor_cv_have_fpsetmask=no"
30477 rm -f core conftest.err conftest.
$ac_objext \
30478 conftest
$ac_exeext conftest.
$ac_ext
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30482 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30483 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30486 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30490 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30491 #ifdef HAVE_IEEEFP_H
30492 #include <ieeefp.h>
30497 if test "x$ac_cv_type_fp_except" = xyes
; then :
30499 cat >>confdefs.h
<<_ACEOF
30500 #define HAVE_FP_EXCEPT 1
30505 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30506 #ifdef HAVE_IEEEFP_H
30507 #include <ieeefp.h>
30512 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30514 cat >>confdefs.h
<<_ACEOF
30515 #define HAVE_FP_EXCEPT_T 1
30521 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30522 #ifdef HAVE_IEEEFP_H
30523 #include <ieeefp.h>
30528 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30530 cat >>confdefs.h
<<_ACEOF
30531 #define HAVE_FP_RND 1
30536 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30537 #ifdef HAVE_IEEEFP_H
30538 #include <ieeefp.h>
30543 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30545 cat >>confdefs.h
<<_ACEOF
30546 #define HAVE_FP_RND_T 1
30553 # Check whether we have fpsetsticky or fpresetsticky
30554 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30555 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30556 have_fpsetsticky
=yes
30557 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30561 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30562 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30563 have_fpresetsticky
=yes
30564 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30569 # Check for AIX fp_trap and fp_enable
30570 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30571 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30573 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30577 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30578 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30580 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30585 # Check if _SOFT_FLOAT is defined
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30588 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30589 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30590 $as_echo_n "(cached) " >&6
30592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30609 if ac_fn_c_try_compile
"$LINENO"; then :
30610 ac_cv_defined__SOFT_FLOAT
=yes
30612 ac_cv_defined__SOFT_FLOAT
=no
30614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30617 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30618 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30619 have_soft_float
=yes
30622 # Runs configure.host to set up necessary host-dependent shell variables.
30623 # We then display a message about it, and propagate them through the
30625 .
${srcdir}/configure.
host
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30627 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30628 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30629 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30630 FPU_HOST_HEADER
=config
/${fpu_host}.h
30633 # Whether we will build the IEEE modules
30634 if test x
${ieee_support} = xyes
; then
30636 IEEE_SUPPORT_FALSE
='#'
30638 IEEE_SUPPORT_TRUE
='#'
30639 IEEE_SUPPORT_FALSE
=
30644 # Some targets require additional compiler options for IEEE compatibility.
30645 IEEE_FLAGS
="${ieee_flags}"
30648 # Conditionalize the makefile for this target machine.
30650 for f
in ${tmake_file}
30652 if test -f ${srcdir}/config
/$f
30654 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30657 tmake_file
="${tmake_file_}"
30661 # Check for POSIX getpwuid_r
30663 # There are two versions of getpwuid_r, the POSIX one with 5
30664 # arguments, and another one with 4 arguments used by at least HP-UX
30666 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30668 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30669 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30670 $as_echo_n "(cached) " >&6
30673 if test x
$gcc_no_link = xyes
; then
30674 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30680 #include <sys/types.h>
30686 getpwuid_r(0, NULL, NULL, 0, NULL);
30692 if ac_fn_c_try_link
"$LINENO"; then :
30693 libgfor_cv_posix_getpwuid_r
="yes"
30695 libgfor_cv_posix_getpwuid_r
="no"
30697 rm -f core conftest.err conftest.
$ac_objext \
30698 conftest
$ac_exeext conftest.
$ac_ext
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30701 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30703 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30705 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30710 # Check out attribute support.
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30713 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30714 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30715 $as_echo_n "(cached) " >&6
30718 save_CFLAGS
="$CFLAGS"
30719 CFLAGS
="$CFLAGS -Werror"
30720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30722 void __attribute__((visibility("hidden"))) foo(void) { }
30731 if ac_fn_c_try_compile
"$LINENO"; then :
30732 libgfor_cv_have_attribute_visibility
=yes
30734 libgfor_cv_have_attribute_visibility
=no
30736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30737 CFLAGS
="$save_CFLAGS"
30739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30740 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30741 if test $libgfor_cv_have_attribute_visibility = yes; then
30743 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30748 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30749 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30750 $as_echo_n "(cached) " >&6
30753 if test x
$gcc_no_link = xyes
; then
30754 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30757 /* end confdefs.h. */
30760 extern void bar(void) __attribute__((alias("foo")));
30769 if ac_fn_c_try_link
"$LINENO"; then :
30770 libgfor_cv_have_attribute_alias
=yes
30772 libgfor_cv_have_attribute_alias
=no
30774 rm -f core conftest.err conftest.
$ac_objext \
30775 conftest
$ac_exeext conftest.
$ac_ext
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30778 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30779 if test $libgfor_cv_have_attribute_alias = yes; then
30781 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30785 # Check out atomic builtins support.
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30788 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30789 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30790 $as_echo_n "(cached) " >&6
30793 if test x
$gcc_no_link = xyes
; then
30794 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30797 /* end confdefs.h. */
30803 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30804 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30809 if ac_fn_c_try_link
"$LINENO"; then :
30810 libgfor_cv_have_atomic_fetch_add
=yes
30812 libgfor_cv_have_atomic_fetch_add
=no
30814 rm -f core conftest.err conftest.
$ac_objext \
30815 conftest
$ac_exeext conftest.
$ac_ext
30817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30818 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30819 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30821 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30825 # Check out #pragma weak.
30827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30828 $as_echo_n "checking whether pragma weak works... " >&6; }
30829 if ${libgfor_cv_have_pragma_weak+:} false
; then :
30830 $as_echo_n "(cached) " >&6
30833 gfor_save_CFLAGS
="$CFLAGS"
30834 CFLAGS
="$CFLAGS -Wunknown-pragmas"
30835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30836 /* end confdefs.h. */
30849 if ac_fn_c_try_compile
"$LINENO"; then :
30850 libgfor_cv_have_pragma_weak
=yes
30852 libgfor_cv_have_pragma_weak
=no
30854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30857 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30858 if test $libgfor_cv_have_pragma_weak = yes; then
30860 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30864 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
30866 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30871 # Check out weakref support.
30873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30874 $as_echo_n "checking whether the target supports weakref... " >&6; }
30875 if ${libgfor_cv_have_weakref+:} false
; then :
30876 $as_echo_n "(cached) " >&6
30879 save_CFLAGS
="$CFLAGS"
30880 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
30881 if test x
$gcc_no_link = xyes
; then
30882 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30885 /* end confdefs.h. */
30887 static int mytoto (int) __attribute__((__weakref__("toto")));
30892 return (mytoto != 0);
30897 if ac_fn_c_try_link
"$LINENO"; then :
30898 libgfor_cv_have_weakref
=yes
30900 libgfor_cv_have_weakref
=no
30902 rm -f core conftest.err conftest.
$ac_objext \
30903 conftest
$ac_exeext conftest.
$ac_ext
30904 CFLAGS
="$save_CFLAGS"
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30907 $as_echo "$libgfor_cv_have_weakref" >&6; }
30908 if test $libgfor_cv_have_weakref = yes; then
30910 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30914 # Various other checks on target
30916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30917 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30918 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
30919 $as_echo_n "(cached) " >&6
30922 if test "$cross_compiling" = yes; then :
30924 case "${target}" in
30925 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
30926 *) libgfor_cv_have_unlink_open_file
=yes;;
30929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30934 #include <unistd.h>
30935 #include <sys/stat.h>
30941 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
30944 if (unlink ("testfile") == -1)
30946 write (fd, "This is a test\n", 15);
30949 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
30955 if ac_fn_c_try_run
"$LINENO"; then :
30956 libgfor_cv_have_unlink_open_file
=yes
30958 libgfor_cv_have_unlink_open_file
=no
30960 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30961 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
30966 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
30967 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
30969 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
30973 # Check whether line terminator is LF or CRLF
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
30976 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
30977 if ${libgfor_cv_have_crlf+:} false
; then :
30978 $as_echo_n "(cached) " >&6
30981 if test "$cross_compiling" = yes; then :
30983 case "${target}" in
30984 *mingw
*) libgfor_cv_have_crlf
=yes ;;
30985 *) libgfor_cv_have_crlf
=no
;;
30988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30991 /* This test program should exit with status 0 if system uses a CRLF as
30992 line terminator, and status 1 otherwise.
30993 Since it is used to check for mingw systems, and should return 0 in any
30994 other case, in case of a failure we will not use CRLF. */
30995 #include <sys/stat.h>
30996 #include <stdlib.h>
31008 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31011 if (write (fd, "\n", 1) < 0)
31016 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31018 bytes = read (fd, buff, 5);
31019 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31026 if ac_fn_c_try_run
"$LINENO"; then :
31027 libgfor_cv_have_crlf
=yes
31029 libgfor_cv_have_crlf
=no
31031 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31032 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31037 $as_echo "$libgfor_cv_have_crlf" >&6; }
31038 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31040 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31044 # Check whether we support AVX extensions
31046 ac_save_CFLAGS
="$CFLAGS"
31048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31051 void _mm256_zeroall (void)
31053 __builtin_ia32_vzeroall ();
31063 if ac_fn_c_try_compile
"$LINENO"; then :
31065 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31069 CFLAGS
="$ac_save_CFLAGS"
31072 # Check whether we support AVX2 extensions
31074 ac_save_CFLAGS
="$CFLAGS"
31075 CFLAGS
="-O2 -mavx2"
31076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31077 /* end confdefs.h. */
31079 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31081 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31083 return __builtin_ia32_andnotsi256 (__X, __Y);
31093 if ac_fn_c_try_compile
"$LINENO"; then :
31095 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31099 CFLAGS
="$ac_save_CFLAGS"
31102 # Check whether we support AVX512f extensions
31104 ac_save_CFLAGS
="$CFLAGS"
31105 CFLAGS
="-O2 -mavx512f"
31106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31107 /* end confdefs.h. */
31109 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31110 __m512d _mm512_add (__m512d a)
31112 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31113 /* For -m64/-mx32 also verify that code will work even if
31114 the target uses call saved zmm16+ and needs to emit
31115 unwind info for them (e.g. on mingw). See PR79127. */
31117 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31129 if ac_fn_c_try_compile
"$LINENO"; then :
31131 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31135 CFLAGS
="$ac_save_CFLAGS"
31138 # Check for FMA3 extensions
31140 ac_save_CFLAGS
="$CFLAGS"
31141 CFLAGS
="-O2 -mfma -mno-fma4"
31142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31143 /* end confdefs.h. */
31145 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31146 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31147 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31149 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31161 if ac_fn_c_try_compile
"$LINENO"; then :
31163 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31167 CFLAGS
="$ac_save_CFLAGS"
31170 # Check for FMA4 extensions
31172 ac_save_CFLAGS
="$CFLAGS"
31173 CFLAGS
="-O2 -mfma4 -mno-fma"
31174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31177 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31178 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31179 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31181 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31193 if ac_fn_c_try_compile
"$LINENO"; then :
31195 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31199 CFLAGS
="$ac_save_CFLAGS"
31202 # Check if AVX128 works
31204 ac_save_CFLAGS
="$CFLAGS"
31205 CFLAGS
="-O2 -mavx -mprefer-avx128"
31206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31207 /* end confdefs.h. */
31220 if ac_fn_c_try_compile
"$LINENO"; then :
31222 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31226 HAVE_AVX128_FALSE
='#'
31228 HAVE_AVX128_TRUE
='#'
31235 HAVE_AVX128_FALSE
='#'
31237 HAVE_AVX128_TRUE
='#'
31242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31243 CFLAGS
="$ac_save_CFLAGS"
31246 # Determine what GCC version number to use in filesystem paths.
31248 get_gcc_base_ver
="cat"
31250 # Check whether --with-gcc-major-version-only was given.
31251 if test "${with_gcc_major_version_only+set}" = set; then :
31252 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31253 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31261 cat >confcache
<<\_ACEOF
31262 # This file is a shell script that caches the results of configure
31263 # tests run on this system so they can be shared between configure
31264 # scripts and configure runs, see configure's option --config-cache.
31265 # It is not useful on other systems. If it contains results you don't
31266 # want to keep, you may remove or edit it.
31268 # config.status only pays attention to the cache file if you give it
31269 # the --recheck option to rerun configure.
31271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31273 # following values.
31277 # The following way of writing the cache mishandles newlines in values,
31278 # but we know of no workaround that is simple, portable, and efficient.
31279 # So, we kill variables containing newlines.
31280 # Ultrix sh set writes to stderr and can't be redirected directly,
31281 # and sets the high bit in the cache file unless we assign to the vars.
31283 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31284 eval ac_val
=\$
$ac_var
31288 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31292 _ | IFS | as_nl
) ;; #(
31293 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31294 *) { eval $ac_var=; unset $ac_var;} ;;
31300 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31301 *${as_nl}ac_space
=\
*)
31302 # `set' does not quote correctly, so add quotes: double-quote
31303 # substitution turns \\\\ into \\, and sed turns \\ into \.
31306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31309 # `set' quotes correctly as required by POSIX, so do not add quotes.
31310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31321 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31323 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31324 if test -w "$cache_file"; then
31325 if test "x$cache_file" != "x/dev/null"; then
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31327 $as_echo "$as_me: updating cache $cache_file" >&6;}
31328 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31329 cat confcache
>"$cache_file"
31331 case $cache_file in #(
31333 mv -f confcache
"$cache_file"$$
&&
31334 mv -f "$cache_file"$$
"$cache_file" ;; #(
31336 mv -f confcache
"$cache_file" ;;
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31342 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31347 if test ${multilib} = yes; then
31348 multilib_arg
="--enable-multilib"
31353 # Write our Makefile and spec file.
31354 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31356 cat >confcache
<<\_ACEOF
31357 # This file is a shell script that caches the results of configure
31358 # tests run on this system so they can be shared between configure
31359 # scripts and configure runs, see configure's option --config-cache.
31360 # It is not useful on other systems. If it contains results you don't
31361 # want to keep, you may remove or edit it.
31363 # config.status only pays attention to the cache file if you give it
31364 # the --recheck option to rerun configure.
31366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31368 # following values.
31372 # The following way of writing the cache mishandles newlines in values,
31373 # but we know of no workaround that is simple, portable, and efficient.
31374 # So, we kill variables containing newlines.
31375 # Ultrix sh set writes to stderr and can't be redirected directly,
31376 # and sets the high bit in the cache file unless we assign to the vars.
31378 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31379 eval ac_val
=\$
$ac_var
31383 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31387 _ | IFS | as_nl
) ;; #(
31388 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31389 *) { eval $ac_var=; unset $ac_var;} ;;
31395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31396 *${as_nl}ac_space
=\
*)
31397 # `set' does not quote correctly, so add quotes: double-quote
31398 # substitution turns \\\\ into \\, and sed turns \\ into \.
31401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31404 # `set' quotes correctly as required by POSIX, so do not add quotes.
31405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31418 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31419 if test -w "$cache_file"; then
31420 if test "x$cache_file" != "x/dev/null"; then
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31422 $as_echo "$as_me: updating cache $cache_file" >&6;}
31423 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31424 cat confcache
>"$cache_file"
31426 case $cache_file in #(
31428 mv -f confcache
"$cache_file"$$
&&
31429 mv -f "$cache_file"$$
"$cache_file" ;; #(
31431 mv -f confcache
"$cache_file" ;;
31436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31442 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31443 # Let make expand exec_prefix.
31444 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31446 DEFS
=-DHAVE_CONFIG_H
31451 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31452 # 1. Remove the extension, and $U if already installed.
31453 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31454 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31455 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31456 # will be set to the directory where LIBOBJS objects are built.
31457 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31458 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31460 LIBOBJS
=$ac_libobjs
31462 LTLIBOBJS
=$ac_ltlibobjs
31465 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
31466 as_fn_error $?
"conditional \"onestep\" was never defined.
31467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31470 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31471 if test -n "$am_sleep_pid"; then
31472 # Hide warnings about reused PIDs.
31473 wait $am_sleep_pid 2>/dev
/null
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31476 $as_echo "done" >&6; }
31477 if test -n "$EXEEXT"; then
31479 am__EXEEXT_FALSE
='#'
31481 am__EXEEXT_TRUE
='#'
31485 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31486 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31489 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31490 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31493 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31494 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31497 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31498 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31501 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31502 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31505 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31506 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31509 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31510 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31513 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31514 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31517 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31518 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31521 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31522 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31525 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31526 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31529 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31530 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31533 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31534 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31538 : "${CONFIG_STATUS=./config.status}"
31540 ac_clean_files_save
=$ac_clean_files
31541 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31543 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31545 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31547 # Generated by $as_me.
31548 # Run this file to recreate the current configuration.
31549 # Compiler output produced by configure, useful for debugging
31550 # configure, is in config.log if it exists.
31553 ac_cs_recheck=false
31556 SHELL=\${CONFIG_SHELL-$SHELL}
31559 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31560 ## -------------------- ##
31561 ## M4sh Initialization. ##
31562 ## -------------------- ##
31564 # Be more Bourne compatible
31565 DUALCASE
=1; export DUALCASE
# for MKS sh
31566 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31570 # is contrary to our usage. Disable this feature.
31571 alias -g '${1+"$@"}'='"$@"'
31572 setopt NO_GLOB_SUBST
31574 case `(set -o) 2>/dev/null` in #(
31586 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31587 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31590 # Prefer a ksh shell builtin over an external printf program on Solaris,
31591 # but without wasting forks for bash or zsh.
31592 if test -z "$BASH_VERSION$ZSH_VERSION" \
31593 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31594 as_echo='print
-r --'
31595 as_echo_n='print
-rn --'
31596 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31597 as_echo='printf %s
\n'
31598 as_echo_n='printf %s
'
31600 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31601 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31602 as_echo_n='/usr
/ucb
/echo -n'
31604 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31605 as_echo_n_body='eval
31609 expr "X$arg" : "X\\(.*\\)$as_nl";
31610 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31612 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31614 export as_echo_n_body
31615 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31617 export as_echo_body
31618 as_echo='sh
-c $as_echo_body as_echo
'
31621 # The user is always right.
31622 if test "${PATH_SEPARATOR+set}" != set; then
31624 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31625 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31632 # We need space, tab and new line, in precisely that order. Quoting is
31633 # there to prevent editors from complaining about space-tab.
31634 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31635 # splitting by setting IFS to empty value.)
31638 # Find who we are. Look in the path if we contain no directory separator.
31641 *[\\/]* ) as_myself=$0 ;;
31642 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31643 for as_dir in $PATH
31646 test -z "$as_dir" && as_dir=.
31647 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31653 # We did not find ourselves, most probably we were run as `sh COMMAND'
31654 # in which case we are not to be found in the path.
31655 if test "x$as_myself" = x
; then
31658 if test ! -f "$as_myself"; then
31659 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31663 # Unset variables that we do not need and which cause bugs (e.g. in
31664 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31665 # suppresses any "Segmentation fault" message there. '((' could
31666 # trigger a bug in pdksh 5.2.14.
31667 for as_var
in BASH_ENV ENV MAIL MAILPATH
31668 do eval test x\
${$as_var+set} = xset \
31669 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31682 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31685 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31686 # ----------------------------------------
31687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31688 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31689 # script with STATUS, using 1 if that was 0.
31692 as_status
=$1; test $as_status -eq 0 && as_status
=1
31694 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31695 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31697 $as_echo "$as_me: error: $2" >&2
31698 as_fn_exit
$as_status
31702 # as_fn_set_status STATUS
31703 # -----------------------
31704 # Set $? to STATUS, without forking.
31705 as_fn_set_status
()
31708 } # as_fn_set_status
31710 # as_fn_exit STATUS
31711 # -----------------
31712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31716 as_fn_set_status
$1
31722 # Portably unset VAR.
31725 { eval $1=; unset $1;}
31727 as_unset
=as_fn_unset
31728 # as_fn_append VAR VALUE
31729 # ----------------------
31730 # Append the text in VALUE to the end of the definition contained in VAR. Take
31731 # advantage of any shell optimizations that allow amortized linear growth over
31732 # repeated appends, instead of the typical quadratic growth present in naive
31734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31735 eval 'as_fn_append ()
31746 # as_fn_arith ARG...
31747 # ------------------
31748 # Perform arithmetic evaluation on the ARGs, and store the result in the
31749 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31750 # must be portable across $(()) and expr.
31751 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31752 eval 'as_fn_arith ()
31759 as_val
=`expr "$@" || test $? -eq 1`
31764 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31765 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31771 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31772 as_basename
=basename
31777 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31783 as_me
=`$as_basename -- "$0" ||
31784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31785 X"$0" : 'X\(//\)$' \| \
31786 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31788 sed '/^.*\/\([^/][^/]*\)\/*$/{
31802 # Avoid depending upon Character Ranges.
31803 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31804 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31805 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31806 as_cr_digits
='0123456789'
31807 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31809 ECHO_C
= ECHO_N
= ECHO_T
=
31810 case `echo -n x` in #(((((
31812 case `echo 'xy\c'` in
31813 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31815 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
31822 rm -f conf$$ conf$$.exe conf$$.
file
31823 if test -d conf$$.dir
; then
31824 rm -f conf$$.dir
/conf$$.
file
31827 mkdir conf$$.dir
2>/dev
/null
31829 if (echo >conf$$.
file) 2>/dev
/null
; then
31830 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31832 # ... but there are two gotchas:
31833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31835 # In both cases, we have to default to `cp -pR'.
31836 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31838 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31846 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31847 rmdir conf$$.dir
2>/dev
/null
31852 # Create "$as_dir" as a directory, including parents if necessary.
31857 -*) as_dir
=.
/$as_dir;;
31859 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
31863 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31864 *) as_qdir
=$as_dir;;
31866 as_dirs
="'$as_qdir' $as_dirs"
31867 as_dir
=`$as_dirname -- "$as_dir" ||
31868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31869 X"$as_dir" : 'X\(//\)[^/]' \| \
31870 X"$as_dir" : 'X\(//\)$' \| \
31871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31872 $as_echo X"$as_dir" |
31873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31877 /^X\(\/\/\)[^/].*/{
31890 test -d "$as_dir" && break
31892 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31893 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
31897 if mkdir
-p .
2>/dev
/null
; then
31898 as_mkdir_p
='mkdir -p "$as_dir"'
31900 test -d .
/-p && rmdir .
/-p
31905 # as_fn_executable_p FILE
31906 # -----------------------
31907 # Test if FILE is an executable regular file.
31908 as_fn_executable_p
()
31910 test -f "$1" && test -x "$1"
31911 } # as_fn_executable_p
31912 as_test_x
='test -x'
31913 as_executable_p
=as_fn_executable_p
31915 # Sed expression to map a string onto a valid CPP name.
31916 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31918 # Sed expression to map a string onto a valid variable name.
31919 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31923 ## ----------------------------------- ##
31924 ## Main body of $CONFIG_STATUS script. ##
31925 ## ----------------------------------- ##
31927 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
31929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31930 # Save the log message, to keep $0 and so on meaningful, and to
31931 # report actual input values of CONFIG_FILES etc. instead of their
31932 # values after options handling.
31934 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31935 generated by GNU Autoconf 2.69. Invocation command line was
31937 CONFIG_FILES = $CONFIG_FILES
31938 CONFIG_HEADERS = $CONFIG_HEADERS
31939 CONFIG_LINKS = $CONFIG_LINKS
31940 CONFIG_COMMANDS = $CONFIG_COMMANDS
31943 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31948 case $ac_config_files in *"
31949 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
31952 case $ac_config_headers in *"
31953 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
31957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31958 # Files that config.status was made for.
31959 config_files="$ac_config_files"
31960 config_headers="$ac_config_headers"
31961 config_commands="$ac_config_commands"
31965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31967 \`$as_me' instantiates files and other configuration actions
31968 from templates according to the current configuration. Unless the files
31969 and actions are specified as TAGs, all are instantiated by default.
31971 Usage: $0 [OPTION]... [TAG]...
31973 -h, --help print this help, then exit
31974 -V, --version print version number and configuration settings, then exit
31975 --config print configuration, then exit
31976 -q, --quiet, --silent
31977 do not print progress messages
31978 -d, --debug don't remove temporary files
31979 --recheck update $as_me by reconfiguring in the same conditions
31980 --file=FILE[:TEMPLATE]
31981 instantiate the configuration file FILE
31982 --header=FILE[:TEMPLATE]
31983 instantiate the configuration header FILE
31985 Configuration files:
31988 Configuration headers:
31991 Configuration commands:
31994 Report bugs to the package provider.
31995 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
31996 General help using GNU software: <http://www.gnu.org/gethelp/>."
31999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32000 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32002 GNU Fortran Runtime Library config.status 0.3
32003 configured by $0, generated by GNU Autoconf 2.69,
32004 with options \\"\$ac_cs_config\\"
32006 Copyright (C) 2012 Free Software Foundation, Inc.
32007 This config.status script is free software; the Free Software Foundation
32008 gives unlimited permission to copy, distribute and modify it."
32015 test -n "\$AWK" || AWK=awk
32018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32019 # The default lists apply if the user does not specify any file.
32025 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32026 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32030 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32042 # Handling of the options.
32043 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32045 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32046 $as_echo "$ac_cs_version"; exit ;;
32047 --config |
--confi |
--conf |
--con |
--co |
--c )
32048 $as_echo "$ac_cs_config"; exit ;;
32049 --debug |
--debu |
--deb |
--de |
--d |
-d )
32051 --file |
--fil |
--fi |
--f )
32054 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32055 '') as_fn_error $?
"missing file argument" ;;
32057 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32058 ac_need_defaults
=false
;;
32059 --header |
--heade |
--head |
--hea )
32062 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32064 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32065 ac_need_defaults
=false
;;
32067 # Conflict between --help and --header
32068 as_fn_error $?
"ambiguous option: \`$1'
32069 Try \`$0 --help' for more information.";;
32070 --help |
--hel |
-h )
32071 $as_echo "$ac_cs_usage"; exit ;;
32072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32073 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32076 # This is an error.
32077 -*) as_fn_error $?
"unrecognized option: \`$1'
32078 Try \`$0 --help' for more information." ;;
32080 *) as_fn_append ac_config_targets
" $1"
32081 ac_need_defaults
=false
;;
32087 ac_configure_extra_args
=
32089 if $ac_cs_silent; then
32091 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32096 if \$ac_cs_recheck; then
32097 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32100 CONFIG_SHELL='$SHELL'
32101 export CONFIG_SHELL
32106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32111 ## Running $as_me. ##
32117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32125 with_multisubdir="$with_multisubdir"
32126 with_multisrctop="$with_multisrctop"
32127 with_target_subdir="$with_target_subdir"
32128 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32129 multi_basedir="$multi_basedir"
32130 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32133 GFORTRAN="$GFORTRAN"
32135 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32138 # The HP-UX ksh and POSIX shell print the target directory to stdout
32139 # if CDPATH is set.
32140 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32142 sed_quote_subst='$sed_quote_subst'
32143 double_quote_subst='$double_quote_subst'
32144 delay_variable_subst='$delay_variable_subst'
32145 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32146 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32147 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32148 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32149 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32150 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32151 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32152 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32153 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32154 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32155 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32156 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32157 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32158 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32159 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32160 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32161 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32162 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32163 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32164 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32165 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32166 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32167 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32168 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32169 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32170 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32171 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32172 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32173 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32174 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32175 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32176 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32177 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32178 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32179 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32180 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32181 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32182 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32183 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32184 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32185 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32186 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32187 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32188 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32189 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32190 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32191 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32192 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32193 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"`'
32194 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32195 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32196 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32197 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32198 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32199 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32200 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32201 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32202 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32203 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32204 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32205 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32206 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32207 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32208 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32209 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32210 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32211 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32212 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32213 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32214 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32215 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32216 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32217 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32218 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32219 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32220 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32221 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32222 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32223 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32224 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32225 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32226 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32227 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32228 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32229 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32230 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32231 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32232 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32233 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32234 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32235 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32236 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32237 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32238 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32239 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32240 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32241 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32242 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32243 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32244 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32245 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32246 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32247 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32248 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32249 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32250 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32251 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32252 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32253 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32254 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32255 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32256 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32257 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32258 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32259 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32260 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32261 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32262 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32263 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32264 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32265 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32266 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32267 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32268 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32269 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32270 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32271 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32272 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32273 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32274 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32275 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32276 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32277 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32278 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32279 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32280 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32281 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32282 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32283 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32284 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32285 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32286 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32287 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32288 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32289 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32290 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32291 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32292 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32293 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32294 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32295 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32296 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32297 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32298 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32299 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32300 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32301 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32302 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32303 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32304 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32305 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32306 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32307 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32308 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32309 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32310 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32311 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32312 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32313 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32314 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32315 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32316 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32317 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32318 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32319 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32322 LTCFLAGS='$LTCFLAGS'
32323 compiler='$compiler_DEFAULT'
32325 # A function that is used when there is no print builtin or printf.
32326 func_fallback_echo ()
32328 eval 'cat <<_LTECHO_EOF
32333 # Quote evaled strings.
32347 deplibs_check_method \
32356 lt_cv_sys_global_symbol_pipe \
32357 lt_cv_sys_global_symbol_to_cdecl \
32358 lt_cv_sys_global_symbol_to_c_name_address \
32359 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32360 lt_prog_compiler_no_builtin_flag \
32361 lt_prog_compiler_wl \
32362 lt_prog_compiler_pic \
32363 lt_prog_compiler_static \
32364 lt_cv_prog_compiler_c_o \
32372 export_dynamic_flag_spec \
32373 whole_archive_flag_spec \
32374 compiler_needs_object \
32376 allow_undefined_flag \
32377 no_undefined_flag \
32378 hardcode_libdir_flag_spec \
32379 hardcode_libdir_flag_spec_ld \
32380 hardcode_libdir_separator \
32385 variables_saved_for_relink \
32387 library_names_spec \
32389 install_override_mode \
32393 compiler_lib_search_dirs \
32398 compiler_lib_search_path \
32402 lt_prog_compiler_no_builtin_flag_FC \
32403 lt_prog_compiler_wl_FC \
32404 lt_prog_compiler_pic_FC \
32405 lt_prog_compiler_static_FC \
32406 lt_cv_prog_compiler_c_o_FC \
32407 export_dynamic_flag_spec_FC \
32408 whole_archive_flag_spec_FC \
32409 compiler_needs_object_FC \
32411 allow_undefined_flag_FC \
32412 no_undefined_flag_FC \
32413 hardcode_libdir_flag_spec_FC \
32414 hardcode_libdir_flag_spec_ld_FC \
32415 hardcode_libdir_separator_FC \
32416 fix_srcfile_path_FC \
32417 exclude_expsyms_FC \
32418 include_expsyms_FC \
32419 file_list_spec_FC \
32420 compiler_lib_search_dirs_FC \
32421 predep_objects_FC \
32422 postdep_objects_FC \
32425 compiler_lib_search_path_FC; do
32426 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32427 *[\\\\\\\`\\"\\\$]*)
32428 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32431 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32436 # Double-quote double-evaled strings.
32437 for var in reload_cmds \
32438 old_postinstall_cmds \
32439 old_postuninstall_cmds \
32441 extract_expsyms_cmds \
32442 old_archive_from_new_cmds \
32443 old_archive_from_expsyms_cmds \
32445 archive_expsym_cmds \
32447 module_expsym_cmds \
32448 export_symbols_cmds \
32451 postuninstall_cmds \
32453 sys_lib_search_path_spec \
32454 sys_lib_dlsearch_path_spec \
32456 old_archive_cmds_FC \
32457 old_archive_from_new_cmds_FC \
32458 old_archive_from_expsyms_cmds_FC \
32460 archive_expsym_cmds_FC \
32462 module_expsym_cmds_FC \
32463 export_symbols_cmds_FC \
32464 prelink_cmds_FC; do
32465 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32466 *[\\\\\\\`\\"\\\$]*)
32467 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32470 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32475 ac_aux_dir='$ac_aux_dir'
32476 xsi_shell='$xsi_shell'
32477 lt_shell_append='$lt_shell_append'
32479 # See if we are running on zsh, and set the options which allow our
32480 # commands through without removal of \ escapes INIT.
32481 if test -n "\${ZSH_VERSION+set}" ; then
32482 setopt NO_GLOB_SUBST
32488 TIMESTAMP='$TIMESTAMP'
32499 acx_cv_header_stdint="$acx_cv_header_stdint"
32500 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32501 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32502 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32503 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32504 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32505 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32506 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32507 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32508 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32509 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32510 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32511 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32512 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32519 # Handling of arguments.
32520 for ac_config_target
in $ac_config_targets
32522 case $ac_config_target in
32523 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32524 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32525 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32526 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32527 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32528 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32529 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32531 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32536 # If the user did not use the arguments to specify the items to instantiate,
32537 # then the envvar interface is used. Set only those that are not.
32538 # We use the long form for the default assignment because of an extremely
32539 # bizarre bug on SunOS 4.1.3.
32540 if $ac_need_defaults; then
32541 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32542 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32543 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32546 # Have a temporary directory for convenience. Make it in the build tree
32547 # simply because there is no reason against having it here, and in addition,
32548 # creating and moving files from /tmp can sometimes cause problems.
32549 # Hook for its removal unless debugging.
32550 # Note that there is a small window in which the directory will not be cleaned:
32551 # after its creation but before its name has been assigned to `$tmp'.
32555 trap 'exit_status=$?
32556 : "${ac_tmp:=$tmp}"
32557 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32559 trap 'as_fn_exit 1' 1 2 13 15
32561 # Create a (secure) tmp directory for tmp files.
32564 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32568 tmp
=.
/conf$$
-$RANDOM
32569 (umask 077 && mkdir
"$tmp")
32570 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32573 # Set up the scripts for CONFIG_FILES section.
32574 # No need to generate them if there are no CONFIG_FILES.
32575 # This happens for instance with `./config.status config.h'.
32576 if test -n "$CONFIG_FILES"; then
32579 ac_cr
=`echo X | tr X '\015'`
32580 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32581 # But we know of no other shell where ac_cr would be empty at this
32582 # point, so we can use a bashism as a fallback.
32583 if test "x$ac_cr" = x
; then
32584 eval ac_cr
=\$
\'\\r
\'
32586 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32587 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32590 ac_cs_awk_cr
=$ac_cr
32593 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32598 echo "cat >conf$$subs.awk <<_ACEOF" &&
32599 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32601 } >conf$$subs.sh ||
32602 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32603 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32605 for ac_last_try in false false false false false :; do
32606 . ./conf$$subs.sh ||
32607 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32609 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32610 if test $ac_delim_n = $ac_delim_num; then
32612 elif $ac_last_try; then
32613 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32615 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32618 rm -f conf$$subs.sh
32620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32621 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32625 s/^/S["/; s
/!.
*/"]=/
32635 s/\(.\{148\}\)..*/\1/
32637 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32642 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32649 s/\(.\{148\}\)..*/\1/
32651 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32655 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32660 ' <conf$$subs.awk | sed '
32665 ' >>$CONFIG_STATUS || ac_write_fail=1
32666 rm -f conf$$subs.awk
32667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32669 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32670 for (key in S) S_is_set[key] = 1
32676 nfields = split(line, field, "@
")
32678 len = length(field[1])
32679 for (i = 2; i < nfields; i++) {
32681 keylen = length(key)
32682 if (S_is_set[key]) {
32684 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32685 len += length(value) + length(field[++i])
32696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32697 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32698 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32701 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32702 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32705 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32706 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32707 # trailing colons and then remove the whole line if VPATH becomes empty
32708 # (actually we leave an empty line to preserve line numbers).
32709 if test "x
$srcdir" = x.; then
32710 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32729 fi # test -n "$CONFIG_FILES"
32731 # Set up the scripts for CONFIG_HEADERS section.
32732 # No need to generate them if there are no CONFIG_HEADERS.
32733 # This happens for instance with `./config.status Makefile'.
32734 if test -n "$CONFIG_HEADERS"; then
32735 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32739 # Transform confdefs.h into an awk script `defines.awk', embedded as
32740 # here-document in config.status, that substitutes the proper values into
32741 # config.h.in to produce config.h.
32743 # Create a delimiter string that does not exist in confdefs.h, to ease
32744 # handling of long lines.
32746 for ac_last_try in false false :; do
32747 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32748 if test -z "$ac_tt"; then
32750 elif $ac_last_try; then
32751 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32753 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32757 # For the awk script, D is an array of macro values keyed by name,
32758 # likewise P contains macro parameters if any. Preserve backslash
32759 # newline sequences.
32761 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32763 s/.\{148\}/&'"$ac_delim"'/g
32766 s/^[ ]*#[ ]*define[ ][ ]*/ /
32773 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32775 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32779 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32780 D["\
1"]=" \
3\\\\\\n
"\\/p
32782 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32787 s/.\{148\}/&'"$ac_delim"'/g
32792 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32795 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32797 ' <confdefs.h | sed '
32798 s/'"$ac_delim"'/"\\\
32799 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32802 for (key in D) D_is_set[key] = 1
32805 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32807 split(line, arg, " ")
32808 if (arg[1] == "#") {
32812 defundef
= substr
(arg
[1], 2)
32815 split(mac1
, mac2
, "(") #)
32817 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32818 if (D_is_set
[macro
]) {
32819 # Preserve the white space surrounding the "#".
32820 print prefix
"define", macro P
[macro
] D
[macro
]
32823 # Replace #undef with comments. This is necessary, for example,
32824 # in the case of _POSIX_SOURCE, which is predefined and required
32825 # on some systems where configure will not decide to define it.
32826 if (defundef
== "undef") {
32827 print
"/*", prefix defundef
, macro
, "*/"
32835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32836 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
32837 fi # test -n "$CONFIG_HEADERS"
32840 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32845 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32847 case $ac_mode$ac_tag in
32849 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
32850 :[FH
]-) ac_tag
=-:-;;
32851 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32868 -) ac_f
="$ac_tmp/stdin";;
32869 *) # Look for the file first in the build tree, then in the source tree
32870 # (if the path is not absolute). The absolute path cannot be DOS-style,
32871 # because $ac_f cannot contain `:'.
32875 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32877 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32879 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32880 as_fn_append ac_file_inputs
" '$ac_f'"
32883 # Let's still pretend it is `configure' which instantiates (i.e., don't
32884 # use $as_me), people would be surprised to read:
32885 # /* config.h. Generated by config.status. */
32886 configure_input
='Generated from '`
32887 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32889 if test x
"$ac_file" != x-
; then
32890 configure_input
="$ac_file. $configure_input"
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32892 $as_echo "$as_me: creating $ac_file" >&6;}
32894 # Neutralize special characters interpreted by sed in replacement strings.
32895 case $configure_input in #(
32896 *\
&* |
*\|
* |
*\\* )
32897 ac_sed_conf_input
=`$as_echo "$configure_input" |
32898 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32899 *) ac_sed_conf_input
=$configure_input;;
32903 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
32904 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
32909 ac_dir
=`$as_dirname -- "$ac_file" ||
32910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32911 X"$ac_file" : 'X\(//\)[^/]' \| \
32912 X"$ac_file" : 'X\(//\)$' \| \
32913 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32914 $as_echo X"$ac_file" |
32915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32919 /^X\(\/\/\)[^/].*/{
32932 as_dir
="$ac_dir"; as_fn_mkdir_p
32936 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32938 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32939 # A ".." for each directory in $ac_dir_suffix.
32940 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32941 case $ac_top_builddir_sub in
32942 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32943 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
32946 ac_abs_top_builddir
=$ac_pwd
32947 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
32948 # for backward compatibility:
32949 ac_top_builddir
=$ac_top_build_prefix
32952 .
) # We are building in place.
32954 ac_top_srcdir
=$ac_top_builddir_sub
32955 ac_abs_top_srcdir
=$ac_pwd ;;
32956 [\\/]* | ?
:[\\/]* ) # Absolute name.
32957 ac_srcdir
=$srcdir$ac_dir_suffix;
32958 ac_top_srcdir
=$srcdir
32959 ac_abs_top_srcdir
=$srcdir ;;
32960 *) # Relative name.
32961 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
32962 ac_top_srcdir
=$ac_top_build_prefix$srcdir
32963 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
32965 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
32975 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
32976 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
32978 ac_MKDIR_P
=$MKDIR_P
32980 [\\/$
]* | ?
:[\\/]* ) ;;
32981 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
32985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32986 # If the template does not know about datarootdir, expand it.
32987 # FIXME: This hack should be removed a few years after 2.60.
32988 ac_datarootdir_hack
=; ac_datarootdir_seen
=
32999 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33000 *datarootdir
*) ac_datarootdir_seen
=yes;;
33001 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33003 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33006 ac_datarootdir_hack='
33007 s&@datadir@&$datadir&g
33008 s&@docdir@&$docdir&g
33009 s&@infodir@&$infodir&g
33010 s&@localedir@&$localedir&g
33011 s&@mandir@&$mandir&g
33012 s&\\\${datarootdir}&$datarootdir&g' ;;
33016 # Neutralize VPATH when `$srcdir' = `.'.
33017 # Shell code in configure.ac might set extrasub.
33018 # FIXME: do we really want to maintain this feature?
33019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33020 ac_sed_extra="$ac_vpsub
33023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33025 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33026 s|@configure_input@|
$ac_sed_conf_input|
;t t
33027 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33028 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33029 s
&@srcdir@
&$ac_srcdir&;t t
33030 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33031 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33032 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33033 s
&@builddir@
&$ac_builddir&;t t
33034 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33035 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33036 s
&@INSTALL@
&$ac_INSTALL&;t t
33037 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33038 $ac_datarootdir_hack
33040 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33041 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33043 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33044 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33045 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33046 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33048 which seems to be undefined. Please make sure it is defined" >&5
33049 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33050 which seems to be undefined. Please make sure it is defined" >&2;}
33052 rm -f "$ac_tmp/stdin"
33054 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33055 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33063 if test x"$ac_file" != x-; then
33065 $as_echo "/* $configure_input */" \
33066 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33067 } >"$ac_tmp/config.h" \
33068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33069 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33071 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33074 mv "$ac_tmp/config.h" "$ac_file" \
33075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33078 $as_echo "/* $configure_input */" \
33079 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33080 || as_fn_error $? "could not create -" "$LINENO" 5
33082 # Compute "$ac_file"'s index
in $config_headers.
33085 for _am_header
in $config_headers :; do
33086 case $_am_header in
33087 $_am_arg |
$_am_arg:* )
33090 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33093 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33094 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33095 X"$_am_arg" : 'X\(//\)[^/]' \| \
33096 X"$_am_arg" : 'X\(//\)$' \| \
33097 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33098 $as_echo X"$_am_arg" |
33099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33103 /^X\(\/\/\)[^/].*/{
33115 s/.*/./; q'`/stamp-h
$_am_stamp_count
33118 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33119 $as_echo "$as_me: executing $ac_file commands" >&6;}
33124 case $ac_file$ac_mode in
33126 # Only add multilib support code if we just rebuilt the top-level
33128 case " $CONFIG_FILES " in
33130 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33133 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33134 # Older Autoconf quotes --file arguments for eval, but not when files
33135 # are listed without --file. Let's play safe and only enable the eval
33136 # if we detect the quoting.
33137 case $CONFIG_FILES in
33138 *\'*) eval set x
"$CONFIG_FILES" ;;
33139 *) set x
$CONFIG_FILES ;;
33144 # Strip MF so we end up with the name of the file.
33145 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33146 # Check whether this is an Automake generated Makefile or not.
33147 # We used to match only the files named 'Makefile.in', but
33148 # some people rename them; so instead we look at the file content.
33149 # Grep'ing the first line is not enough: some people post-process
33150 # each Makefile.in and add a new line on top of each file to say so.
33151 # Grep'ing the whole file is not good either: AIX grep has a line
33152 # limit of 2048, but all sed's we know have understand at least 4000.
33153 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33154 dirpart
=`$as_dirname -- "$mf" ||
33155 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33156 X"$mf" : 'X\(//\)[^/]' \| \
33157 X"$mf" : 'X\(//\)$' \| \
33158 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33164 /^X\(\/\/\)[^/].*/{
33180 # Extract the definition of DEPDIR, am__include, and am__quote
33181 # from the Makefile without running 'make'.
33182 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33183 test -z "$DEPDIR" && continue
33184 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33185 test -z "$am__include" && continue
33186 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33187 # Find all dependency output files, they are included files with
33188 # $(DEPDIR) in their names. We invoke sed twice because it is the
33189 # simplest approach to changing $(DEPDIR) to its actual value in the
33191 for file in `sed -n "
33192 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33193 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33194 # Make sure the directory exists.
33195 test -f "$dirpart/$file" && continue
33196 fdir
=`$as_dirname -- "$file" ||
33197 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33198 X"$file" : 'X\(//\)[^/]' \| \
33199 X"$file" : 'X\(//\)$' \| \
33200 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33201 $as_echo X"$file" |
33202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33206 /^X\(\/\/\)[^/].*/{
33219 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33220 # echo "creating $dirpart/$file"
33221 echo '# dummy' > "$dirpart/$file"
33228 # See if we are running on zsh, and set the options which allow our
33229 # commands through without removal of \ escapes.
33230 if test -n "${ZSH_VERSION+set}" ; then
33231 setopt NO_GLOB_SUBST
33234 cfgfile
="${ofile}T"
33235 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33238 cat <<_LT_EOF >> "$cfgfile"
33241 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33242 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33243 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33244 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33246 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33247 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33248 # Written by Gordon Matzigkeit, 1996
33250 # This file is part of GNU Libtool.
33252 # GNU Libtool is free software; you can redistribute it and/or
33253 # modify it under the terms of the GNU General Public License as
33254 # published by the Free Software Foundation; either version 2 of
33255 # the License, or (at your option) any later version.
33257 # As a special exception to the GNU General Public License,
33258 # if you distribute this file as part of a program or library that
33259 # is built using GNU Libtool, you may include this file under the
33260 # same distribution terms that you use for the rest of that program.
33262 # GNU Libtool is distributed in the hope that it will be useful,
33263 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33264 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33265 # GNU General Public License for more details.
33267 # You should have received a copy of the GNU General Public License
33268 # along with GNU Libtool; see the file COPYING. If not, a copy
33269 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33270 # obtained by writing to the Free Software Foundation, Inc.,
33271 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33274 # The names of the tagged configurations supported by this script.
33275 available_tags="FC "
33277 # ### BEGIN LIBTOOL CONFIG
33279 # A sed program that does not truncate output.
33282 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33283 Xsed="\$SED -e 1s/^X//"
33285 # A grep program that handles long lines.
33291 # A literal string matcher.
33294 # Shell to use when invoking shell scripts.
33297 # An echo program that protects backslashes.
33300 # Which release of libtool.m4 was used?
33301 macro_version=$macro_version
33302 macro_revision=$macro_revision
33304 # Whether or not to build shared libraries.
33305 build_libtool_libs=$enable_shared
33307 # Whether or not to build static libraries.
33308 build_old_libs=$enable_static
33310 # What type of objects to build.
33313 # Whether or not to optimize for fast installation.
33314 fast_install=$enable_fast_install
33317 host_alias=$host_alias
33321 # The build system.
33322 build_alias=$build_alias
33326 # A BSD- or MS-compatible name lister.
33329 # Whether we need soft or hard links.
33332 # What is the maximum length of a command?
33333 max_cmd_len=$max_cmd_len
33335 # Object file suffix (normally "o").
33338 # Executable file suffix (normally "").
33341 # whether the shell understands "unset".
33344 # turn spaces into newlines.
33347 # turn newlines into spaces.
33350 # An object symbol dumper.
33351 OBJDUMP=$lt_OBJDUMP
33353 # Method to check whether dependent libraries are shared objects.
33354 deplibs_check_method=$lt_deplibs_check_method
33356 # Command to use when deplibs_check_method == "file_magic".
33357 file_magic_cmd=$lt_file_magic_cmd
33361 AR_FLAGS=$lt_AR_FLAGS
33363 # A symbol stripping program.
33366 # Commands used to install an old-style archive.
33368 old_postinstall_cmds=$lt_old_postinstall_cmds
33369 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33371 # Whether to use a lock for old archive extraction.
33372 lock_old_archive_extraction=$lock_old_archive_extraction
33377 # LTCC compiler flags.
33378 LTCFLAGS=$lt_CFLAGS
33380 # Take the output of nm and produce a listing of raw symbols and C names.
33381 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33383 # Transform the output of nm in a proper C declaration.
33384 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33386 # Transform the output of nm in a C name address pair.
33387 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33389 # Transform the output of nm in a C name address pair when lib prefix is needed.
33390 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33392 # The name of the directory that contains temporary libtool files.
33395 # Used to examine libraries when file_magic_cmd begins with "file".
33396 MAGIC_CMD=$MAGIC_CMD
33398 # Must we lock files when doing compilation?
33399 need_locks=$lt_need_locks
33401 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33402 DSYMUTIL=$lt_DSYMUTIL
33404 # Tool to change global to local symbols on Mac OS X.
33407 # Tool to manipulate fat objects and archives on Mac OS X.
33410 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33413 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33414 OTOOL64=$lt_OTOOL64
33416 # Old archive suffix (normally "a").
33419 # Shared library suffix (normally ".so").
33420 shrext_cmds=$lt_shrext_cmds
33422 # The commands to extract the exported symbol list from a shared archive.
33423 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33425 # Variables whose values should be saved in libtool wrapper scripts and
33426 # restored at link time.
33427 variables_saved_for_relink=$lt_variables_saved_for_relink
33429 # Do we need the "lib" prefix for modules?
33430 need_lib_prefix=$need_lib_prefix
33432 # Do we need a version for libraries?
33433 need_version=$need_version
33435 # Library versioning type.
33436 version_type=$version_type
33438 # Shared library runtime path variable.
33439 runpath_var=$runpath_var
33441 # Shared library path variable.
33442 shlibpath_var=$shlibpath_var
33444 # Is shlibpath searched before the hard-coded library search path?
33445 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33447 # Format of library name prefix.
33448 libname_spec=$lt_libname_spec
33450 # List of archive names. First name is the real one, the rest are links.
33451 # The last name is the one that the linker finds with -lNAME
33452 library_names_spec=$lt_library_names_spec
33454 # The coded name of the library, if different from the real name.
33455 soname_spec=$lt_soname_spec
33457 # Permission mode override for installation of shared libraries.
33458 install_override_mode=$lt_install_override_mode
33460 # Command to use after installation of a shared archive.
33461 postinstall_cmds=$lt_postinstall_cmds
33463 # Command to use after uninstallation of a shared archive.
33464 postuninstall_cmds=$lt_postuninstall_cmds
33466 # Commands used to finish a libtool library installation in a directory.
33467 finish_cmds=$lt_finish_cmds
33469 # As "finish_cmds", except a single script fragment to be evaled but
33471 finish_eval=$lt_finish_eval
33473 # Whether we should hardcode library paths into libraries.
33474 hardcode_into_libs=$hardcode_into_libs
33476 # Compile-time system search path for libraries.
33477 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33479 # Run-time system search path for libraries.
33480 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33482 # Whether dlopen is supported.
33483 dlopen_support=$enable_dlopen
33485 # Whether dlopen of programs is supported.
33486 dlopen_self=$enable_dlopen_self
33488 # Whether dlopen of statically linked programs is supported.
33489 dlopen_self_static=$enable_dlopen_self_static
33491 # Commands to strip libraries.
33492 old_striplib=$lt_old_striplib
33493 striplib=$lt_striplib
33496 # The linker used to build libraries.
33499 # How to create reloadable object files.
33500 reload_flag=$lt_reload_flag
33501 reload_cmds=$lt_reload_cmds
33503 # Commands used to build an old-style archive.
33504 old_archive_cmds=$lt_old_archive_cmds
33506 # A language specific compiler.
33509 # Is the compiler the GNU compiler?
33512 # Compiler flag to turn off builtin functions.
33513 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33515 # How to pass a linker flag through the compiler.
33516 wl=$lt_lt_prog_compiler_wl
33518 # Additional compiler flags for building library objects.
33519 pic_flag=$lt_lt_prog_compiler_pic
33521 # Compiler flag to prevent dynamic linking.
33522 link_static_flag=$lt_lt_prog_compiler_static
33524 # Does compiler simultaneously support -c and -o options?
33525 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33527 # Whether or not to add -lc for building shared libraries.
33528 build_libtool_need_lc=$archive_cmds_need_lc
33530 # Whether or not to disallow shared libs when runtime libs are static.
33531 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33533 # Compiler flag to allow reflexive dlopens.
33534 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33536 # Compiler flag to generate shared objects directly from archives.
33537 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33539 # Whether the compiler copes with passing no objects directly.
33540 compiler_needs_object=$lt_compiler_needs_object
33542 # Create an old-style archive from a shared archive.
33543 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33545 # Create a temporary old-style archive to link instead of a shared archive.
33546 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33548 # Commands used to build a shared archive.
33549 archive_cmds=$lt_archive_cmds
33550 archive_expsym_cmds=$lt_archive_expsym_cmds
33552 # Commands used to build a loadable module if different from building
33553 # a shared archive.
33554 module_cmds=$lt_module_cmds
33555 module_expsym_cmds=$lt_module_expsym_cmds
33557 # Whether we are building with GNU ld or not.
33558 with_gnu_ld=$lt_with_gnu_ld
33560 # Flag that allows shared libraries with undefined symbols to be built.
33561 allow_undefined_flag=$lt_allow_undefined_flag
33563 # Flag that enforces no undefined symbols.
33564 no_undefined_flag=$lt_no_undefined_flag
33566 # Flag to hardcode \$libdir into a binary during linking.
33567 # This must work even if \$libdir does not exist
33568 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33570 # If ld is used when linking, flag to hardcode \$libdir into a binary
33571 # during linking. This must work even if \$libdir does not exist.
33572 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33574 # Whether we need a single "-rpath" flag with a separated argument.
33575 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33577 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33578 # DIR into the resulting binary.
33579 hardcode_direct=$hardcode_direct
33581 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33582 # DIR into the resulting binary and the resulting library dependency is
33583 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33584 # library is relocated.
33585 hardcode_direct_absolute=$hardcode_direct_absolute
33587 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33588 # into the resulting binary.
33589 hardcode_minus_L=$hardcode_minus_L
33591 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33592 # into the resulting binary.
33593 hardcode_shlibpath_var=$hardcode_shlibpath_var
33595 # Set to "yes" if building a shared library automatically hardcodes DIR
33596 # into the library and all subsequent libraries and executables linked
33598 hardcode_automatic=$hardcode_automatic
33600 # Set to yes if linker adds runtime paths of dependent libraries
33601 # to runtime path list.
33602 inherit_rpath=$inherit_rpath
33604 # Whether libtool must link a program against all its dependency libraries.
33605 link_all_deplibs=$link_all_deplibs
33607 # Fix the shell variable \$srcfile for the compiler.
33608 fix_srcfile_path=$lt_fix_srcfile_path
33610 # Set to "yes" if exported symbols are required.
33611 always_export_symbols=$always_export_symbols
33613 # The commands to list exported symbols.
33614 export_symbols_cmds=$lt_export_symbols_cmds
33616 # Symbols that should not be listed in the preloaded symbols.
33617 exclude_expsyms=$lt_exclude_expsyms
33619 # Symbols that must always be exported.
33620 include_expsyms=$lt_include_expsyms
33622 # Commands necessary for linking programs (against libraries) with templates.
33623 prelink_cmds=$lt_prelink_cmds
33625 # Specify filename containing input files.
33626 file_list_spec=$lt_file_list_spec
33628 # How to hardcode a shared library path into an executable.
33629 hardcode_action=$hardcode_action
33631 # The directories searched by this compiler when creating a shared library.
33632 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33634 # Dependencies to place before and after the objects being linked to
33635 # create a shared library.
33636 predep_objects=$lt_predep_objects
33637 postdep_objects=$lt_postdep_objects
33638 predeps=$lt_predeps
33639 postdeps=$lt_postdeps
33641 # The library search path used internally by the compiler when linking
33642 # a shared library.
33643 compiler_lib_search_path=$lt_compiler_lib_search_path
33645 # ### END LIBTOOL CONFIG
33651 cat <<\_LT_EOF
>> "$cfgfile"
33652 # AIX sometimes has problems with the GCC collect2 program. For some
33653 # reason, if we set the COLLECT_NAMES environment variable, the problems
33654 # vanish in a puff of smoke.
33655 if test "X${COLLECT_NAMES+set}" != Xset
; then
33657 export COLLECT_NAMES
33664 ltmain
="$ac_aux_dir/ltmain.sh"
33667 # We use sed instead of cat because bash on DJGPP gets confused if
33668 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33669 # text mode, it properly converts lines to CR/LF. This bash problem
33670 # is reportedly fixed, but why not run on old versions too?
33671 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33672 ||
(rm -f "$cfgfile"; exit 1)
33676 cat << \_LT_EOF
>> "$cfgfile"
33678 # func_dirname file append nondir_replacement
33679 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33680 # otherwise set result to NONDIR_REPLACEMENT.
33684 */*) func_dirname_result
="${1%/*}${2}" ;;
33685 * ) func_dirname_result
="${3}" ;;
33689 # func_basename file
33692 func_basename_result
="${1##*/}"
33695 # func_dirname_and_basename file append nondir_replacement
33696 # perform func_basename and func_dirname in a single function
33698 # dirname: Compute the dirname of FILE. If nonempty,
33699 # add APPEND to the result, otherwise set result
33700 # to NONDIR_REPLACEMENT.
33701 # value returned in "$func_dirname_result"
33702 # basename: Compute filename of FILE.
33703 # value retuned in "$func_basename_result"
33704 # Implementation must be kept synchronized with func_dirname
33705 # and func_basename. For efficiency, we do not delegate to
33706 # those functions but instead duplicate the functionality here.
33707 func_dirname_and_basename
()
33710 */*) func_dirname_result
="${1%/*}${2}" ;;
33711 * ) func_dirname_result
="${3}" ;;
33713 func_basename_result
="${1##*/}"
33716 # func_stripname prefix suffix name
33717 # strip PREFIX and SUFFIX off of NAME.
33718 # PREFIX and SUFFIX must not contain globbing or regex special
33719 # characters, hashes, percent signs, but SUFFIX may contain a leading
33720 # dot (in which case that matches only a dot).
33723 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33724 # positional parameters, so assign one to ordinary parameter first.
33725 func_stripname_result
=${3}
33726 func_stripname_result
=${func_stripname_result#"${1}"}
33727 func_stripname_result
=${func_stripname_result%"${2}"}
33733 func_opt_split_opt
=${1%%=*}
33734 func_opt_split_arg
=${1#*=}
33741 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33742 *) func_lo2o_result
=${1} ;;
33746 # func_xform libobj-or-source
33749 func_xform_result
=${1%.*}.lo
33752 # func_arith arithmetic-term...
33755 func_arith_result
=$
(( $
* ))
33759 # STRING may not start with a hyphen.
33762 func_len_result
=${#1}
33767 *) # Bourne compatible functions.
33768 cat << \_LT_EOF
>> "$cfgfile"
33770 # func_dirname file append nondir_replacement
33771 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33772 # otherwise set result to NONDIR_REPLACEMENT.
33775 # Extract subdirectory from the argument.
33776 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33777 if test "X$func_dirname_result" = "X${1}"; then
33778 func_dirname_result
="${3}"
33780 func_dirname_result
="$func_dirname_result${2}"
33784 # func_basename file
33787 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33791 # func_stripname prefix suffix name
33792 # strip PREFIX and SUFFIX off of NAME.
33793 # PREFIX and SUFFIX must not contain globbing or regex special
33794 # characters, hashes, percent signs, but SUFFIX may contain a leading
33795 # dot (in which case that matches only a dot).
33796 # func_strip_suffix prefix name
33800 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33801 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33806 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33807 my_sed_long_arg
='1s/^-[^=]*=//'
33812 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33813 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33819 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
33822 # func_xform libobj-or-source
33825 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33828 # func_arith arithmetic-term...
33831 func_arith_result
=`expr "$@"`
33835 # STRING may not start with a hyphen.
33838 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33844 case $lt_shell_append in
33846 cat << \_LT_EOF
>> "$cfgfile"
33848 # func_append var value
33849 # Append VALUE to the end of shell variable VAR.
33857 cat << \_LT_EOF
>> "$cfgfile"
33859 # func_append var value
33860 # Append VALUE to the end of shell variable VAR.
33871 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33872 ||
(rm -f "$cfgfile"; exit 1)
33874 mv -f "$cfgfile" "$ofile" ||
33875 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33879 cat <<_LT_EOF >> "$ofile"
33881 # ### BEGIN LIBTOOL TAG CONFIG: FC
33883 # The linker used to build libraries.
33886 # How to create reloadable object files.
33887 reload_flag=$lt_reload_flag_FC
33888 reload_cmds=$lt_reload_cmds_FC
33890 # Commands used to build an old-style archive.
33891 old_archive_cmds=$lt_old_archive_cmds_FC
33893 # A language specific compiler.
33896 # Is the compiler the GNU compiler?
33899 # Compiler flag to turn off builtin functions.
33900 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33902 # How to pass a linker flag through the compiler.
33903 wl=$lt_lt_prog_compiler_wl_FC
33905 # Additional compiler flags for building library objects.
33906 pic_flag=$lt_lt_prog_compiler_pic_FC
33908 # Compiler flag to prevent dynamic linking.
33909 link_static_flag=$lt_lt_prog_compiler_static_FC
33911 # Does compiler simultaneously support -c and -o options?
33912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33914 # Whether or not to add -lc for building shared libraries.
33915 build_libtool_need_lc=$archive_cmds_need_lc_FC
33917 # Whether or not to disallow shared libs when runtime libs are static.
33918 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33920 # Compiler flag to allow reflexive dlopens.
33921 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33923 # Compiler flag to generate shared objects directly from archives.
33924 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33926 # Whether the compiler copes with passing no objects directly.
33927 compiler_needs_object=$lt_compiler_needs_object_FC
33929 # Create an old-style archive from a shared archive.
33930 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33932 # Create a temporary old-style archive to link instead of a shared archive.
33933 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33935 # Commands used to build a shared archive.
33936 archive_cmds=$lt_archive_cmds_FC
33937 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
33939 # Commands used to build a loadable module if different from building
33940 # a shared archive.
33941 module_cmds=$lt_module_cmds_FC
33942 module_expsym_cmds=$lt_module_expsym_cmds_FC
33944 # Whether we are building with GNU ld or not.
33945 with_gnu_ld=$lt_with_gnu_ld_FC
33947 # Flag that allows shared libraries with undefined symbols to be built.
33948 allow_undefined_flag=$lt_allow_undefined_flag_FC
33950 # Flag that enforces no undefined symbols.
33951 no_undefined_flag=$lt_no_undefined_flag_FC
33953 # Flag to hardcode \$libdir into a binary during linking.
33954 # This must work even if \$libdir does not exist
33955 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
33957 # If ld is used when linking, flag to hardcode \$libdir into a binary
33958 # during linking. This must work even if \$libdir does not exist.
33959 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
33961 # Whether we need a single "-rpath" flag with a separated argument.
33962 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
33964 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33965 # DIR into the resulting binary.
33966 hardcode_direct=$hardcode_direct_FC
33968 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33969 # DIR into the resulting binary and the resulting library dependency is
33970 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33971 # library is relocated.
33972 hardcode_direct_absolute=$hardcode_direct_absolute_FC
33974 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33975 # into the resulting binary.
33976 hardcode_minus_L=$hardcode_minus_L_FC
33978 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33979 # into the resulting binary.
33980 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
33982 # Set to "yes" if building a shared library automatically hardcodes DIR
33983 # into the library and all subsequent libraries and executables linked
33985 hardcode_automatic=$hardcode_automatic_FC
33987 # Set to yes if linker adds runtime paths of dependent libraries
33988 # to runtime path list.
33989 inherit_rpath=$inherit_rpath_FC
33991 # Whether libtool must link a program against all its dependency libraries.
33992 link_all_deplibs=$link_all_deplibs_FC
33994 # Fix the shell variable \$srcfile for the compiler.
33995 fix_srcfile_path=$lt_fix_srcfile_path_FC
33997 # Set to "yes" if exported symbols are required.
33998 always_export_symbols=$always_export_symbols_FC
34000 # The commands to list exported symbols.
34001 export_symbols_cmds=$lt_export_symbols_cmds_FC
34003 # Symbols that should not be listed in the preloaded symbols.
34004 exclude_expsyms=$lt_exclude_expsyms_FC
34006 # Symbols that must always be exported.
34007 include_expsyms=$lt_include_expsyms_FC
34009 # Commands necessary for linking programs (against libraries) with templates.
34010 prelink_cmds=$lt_prelink_cmds_FC
34012 # Specify filename containing input files.
34013 file_list_spec=$lt_file_list_spec_FC
34015 # How to hardcode a shared library path into an executable.
34016 hardcode_action=$hardcode_action_FC
34018 # The directories searched by this compiler when creating a shared library.
34019 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34021 # Dependencies to place before and after the objects being linked to
34022 # create a shared library.
34023 predep_objects=$lt_predep_objects_FC
34024 postdep_objects=$lt_postdep_objects_FC
34025 predeps=$lt_predeps_FC
34026 postdeps=$lt_postdeps_FC
34028 # The library search path used internally by the compiler when linking
34029 # a shared library.
34030 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34032 # ### END LIBTOOL TAG CONFIG: FC
34037 if test "$GCC" = yes; then
34038 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34040 echo "/* generated for $CC */" > tmp-stdint.h
34043 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34045 #ifndef GCC_GENERATED_STDINT_H
34046 #define GCC_GENERATED_STDINT_H 1
34048 #include <sys/types.h>
34051 if test "$acx_cv_header_stdint" != stdint.h
; then
34052 echo "#include <stddef.h>" >> tmp-stdint.h
34054 if test "$acx_cv_header_stdint" != stddef.h
; then
34055 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34058 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34059 /* glibc uses these symbols as guards to prevent redefinitions. */
34060 #ifdef __int8_t_defined
34065 #ifdef __uint32_t_defined
34071 # ----------------- done header, emit basic int types -------------
34072 if test "$acx_cv_header_stdint" = stddef.h
; then
34073 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34077 #ifndef __uint8_t_defined
34078 #define __uint8_t_defined
34080 typedef unsigned $acx_cv_type_int8_t uint8_t;
34087 #ifndef __uint16_t_defined
34088 #define __uint16_t_defined
34090 typedef unsigned $acx_cv_type_int16_t uint16_t;
34097 #ifndef __uint32_t_defined
34098 #define __uint32_t_defined
34100 typedef unsigned $acx_cv_type_int32_t uint32_t;
34107 #ifndef __int8_t_defined
34108 #define __int8_t_defined
34110 typedef $acx_cv_type_int8_t int8_t;
34117 #ifndef __int16_t_defined
34118 #define __int16_t_defined
34120 typedef $acx_cv_type_int16_t int16_t;
34127 #ifndef __int32_t_defined
34128 #define __int32_t_defined
34130 typedef $acx_cv_type_int32_t int32_t;
34135 elif test "$ac_cv_type_u_int32_t" = yes; then
34136 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34138 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34151 #ifndef __uint8_t_defined
34152 #define __uint8_t_defined
34154 typedef u_int8_t uint8_t;
34161 #ifndef __uint16_t_defined
34162 #define __uint16_t_defined
34164 typedef u_int16_t uint16_t;
34171 #ifndef __uint32_t_defined
34172 #define __uint32_t_defined
34174 typedef u_int32_t uint32_t;
34180 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34182 /* Some systems have guard macros to prevent redefinitions, define them. */
34204 # ------------- done basic int types, emit int64_t types ------------
34205 if test "$ac_cv_type_uint64_t" = yes; then
34206 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34208 /* system headers have good uint64_t and int64_t */
34216 elif test "$ac_cv_type_u_int64_t" = yes; then
34217 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34219 /* system headers have an u_int64_t (and int64_t) */
34225 #ifndef __uint64_t_defined
34226 #define __uint64_t_defined
34228 typedef u_int64_t uint64_t;
34233 elif test -n "$acx_cv_type_int64_t"; then
34234 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34236 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34240 typedef $acx_cv_type_int64_t int64_t;
34245 #ifndef __uint64_t_defined
34246 #define __uint64_t_defined
34248 typedef unsigned $acx_cv_type_int64_t uint64_t;
34254 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34256 /* some common heuristics for int64_t, using compiler-specific tests */
34257 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34260 #ifndef __int64_t_defined
34262 typedef long long int64_t;
34269 typedef unsigned long long uint64_t;
34273 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34274 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34275 does not implement __extension__. But that compiler doesn't define
34277 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34278 # define __extension__
34284 __extension__ typedef long long int64_t;
34290 __extension__ typedef unsigned long long uint64_t;
34294 #elif !defined __STRICT_ANSI__
34295 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34300 typedef __int64 int64_t;
34306 typedef unsigned __int64 uint64_t;
34309 # endif /* compiler */
34311 #endif /* ANSI version */
34315 # ------------- done int64_t types, emit intptr types ------------
34316 if test "$ac_cv_type_uintptr_t" != yes; then
34317 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34319 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34320 #ifndef __uintptr_t_defined
34322 typedef u$acx_cv_type_intptr_t uintptr_t;
34325 #ifndef __intptr_t_defined
34327 typedef $acx_cv_type_intptr_t intptr_t;
34333 # ------------- done intptr types, emit int_least types ------------
34334 if test "$ac_cv_type_int_least32_t" != yes; then
34335 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34337 /* Define int_least types */
34338 typedef int8_t int_least8_t;
34339 typedef int16_t int_least16_t;
34340 typedef int32_t int_least32_t;
34342 typedef int64_t int_least64_t;
34345 typedef uint8_t uint_least8_t;
34346 typedef uint16_t uint_least16_t;
34347 typedef uint32_t uint_least32_t;
34349 typedef uint64_t uint_least64_t;
34354 # ------------- done intptr types, emit int_fast types ------------
34355 if test "$ac_cv_type_int_fast32_t" != yes; then
34356 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34358 /* Define int_fast types. short is often slow */
34359 typedef int8_t int_fast8_t;
34360 typedef int int_fast16_t;
34361 typedef int32_t int_fast32_t;
34363 typedef int64_t int_fast64_t;
34366 typedef uint8_t uint_fast8_t;
34367 typedef unsigned int uint_fast16_t;
34368 typedef uint32_t uint_fast32_t;
34370 typedef uint64_t uint_fast64_t;
34375 if test "$ac_cv_type_uintmax_t" != yes; then
34376 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34378 /* Define intmax based on what we found */
34381 typedef int64_t intmax_t;
34383 typedef long intmax_t;
34388 typedef uint64_t uintmax_t;
34390 typedef unsigned long uintmax_t;
34396 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34398 #endif /* GCC_GENERATED_STDINT_H */
34401 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34404 mv -f tmp-stdint.h gstdint.h
34415 ac_clean_files
=$ac_clean_files_save
34417 test $ac_write_fail = 0 ||
34418 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34421 # configure is writing to config.log, and then calls config.status.
34422 # config.status does its own redirection, appending to config.log.
34423 # Unfortunately, on DOS this fails, as config.log is still kept open
34424 # by configure, so config.status won't be able to write to it; its
34425 # output is simply discarded. So we exec the FD to /dev/null,
34426 # effectively closing config.log, so it can be properly (re)opened and
34427 # appended to by config.status. When coming back to configure, we
34428 # need to make the FD available again.
34429 if test "$no_create" != yes; then
34431 ac_config_status_args
=
34432 test "$silent" = yes &&
34433 ac_config_status_args
="$ac_config_status_args --quiet"
34435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34438 # would make configure fail if this is the last instruction.
34439 $ac_cs_success || as_fn_exit
1
34441 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34443 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}