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
7787 # Assume VxWorks cross toolchains are built on Linux, possibly
7788 # as canadian for Windows hosts.
7789 lt_cv_deplibs_check_method
=pass_all
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7795 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7796 file_magic_cmd
=$lt_cv_file_magic_cmd
7797 deplibs_check_method
=$lt_cv_deplibs_check_method
7798 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7813 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_AR+:} false
; then :
7817 $as_echo_n "(cached) " >&6
7819 if test -n "$AR"; then
7820 ac_cv_prog_AR
="$AR" # Let the user override the test.
7822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir
=.
7827 for ac_exec_ext
in '' $ac_executable_extensions; do
7828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 if test -n "$AR"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7842 $as_echo "$AR" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7850 if test -z "$ac_cv_prog_AR"; then
7852 # Extract the first word of "ar", so it can be a program name with args.
7853 set dummy
ar; ac_word
=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7857 $as_echo_n "(cached) " >&6
7859 if test -n "$ac_ct_AR"; then
7860 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir
=.
7867 for ac_exec_ext
in '' $ac_executable_extensions; do
7868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_prog_ac_ct_AR
="ar"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7880 if test -n "$ac_ct_AR"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7882 $as_echo "$ac_ct_AR" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7888 if test "x$ac_ct_AR" = x
; then
7891 case $cross_compiling:$ac_tool_warned in
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned
=yes ;;
7903 test -z "$AR" && AR
=ar
7904 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7918 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_STRIP+:} false
; then :
7922 $as_echo_n "(cached) " >&6
7924 if test -n "$STRIP"; then
7925 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7931 test -z "$as_dir" && as_dir
=.
7932 for ac_exec_ext
in '' $ac_executable_extensions; do
7933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 STRIP
=$ac_cv_prog_STRIP
7945 if test -n "$STRIP"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7947 $as_echo "$STRIP" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_prog_STRIP"; then
7957 # Extract the first word of "strip", so it can be a program name with args.
7958 set dummy strip
; ac_word
=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 if test -n "$ac_ct_STRIP"; then
7965 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir
=.
7972 for ac_exec_ext
in '' $ac_executable_extensions; do
7973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_STRIP
="strip"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7985 if test -n "$ac_ct_STRIP"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7987 $as_echo "$ac_ct_STRIP" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7993 if test "x$ac_ct_STRIP" = x
; then
7996 case $cross_compiling:$ac_tool_warned in
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned
=yes ;;
8005 STRIP
="$ac_cv_prog_STRIP"
8008 test -z "$STRIP" && STRIP
=:
8015 if test -n "$ac_tool_prefix"; then
8016 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8017 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_RANLIB+:} false
; then :
8021 $as_echo_n "(cached) " >&6
8023 if test -n "$RANLIB"; then
8024 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir
=.
8031 for ac_exec_ext
in '' $ac_executable_extensions; do
8032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 RANLIB
=$ac_cv_prog_RANLIB
8044 if test -n "$RANLIB"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8046 $as_echo "$RANLIB" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8054 if test -z "$ac_cv_prog_RANLIB"; then
8055 ac_ct_RANLIB
=$RANLIB
8056 # Extract the first word of "ranlib", so it can be a program name with args.
8057 set dummy ranlib
; ac_word
=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8061 $as_echo_n "(cached) " >&6
8063 if test -n "$ac_ct_RANLIB"; then
8064 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir
=.
8071 for ac_exec_ext
in '' $ac_executable_extensions; do
8072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8073 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8084 if test -n "$ac_ct_RANLIB"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8086 $as_echo "$ac_ct_RANLIB" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8092 if test "x$ac_ct_RANLIB" = x
; then
8095 case $cross_compiling:$ac_tool_warned in
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8099 ac_tool_warned
=yes ;;
8101 RANLIB
=$ac_ct_RANLIB
8104 RANLIB
="$ac_cv_prog_RANLIB"
8107 test -z "$RANLIB" && RANLIB
=:
8114 # Determine commands to create old-style static archives.
8115 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8116 old_postinstall_cmds
='chmod 644 $oldlib'
8117 old_postuninstall_cmds
=
8119 if test -n "$RANLIB"; then
8122 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8125 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8128 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8133 lock_old_archive_extraction
=yes ;;
8135 lock_old_archive_extraction
=no
;;
8176 # If no C compiler was specified, use CC.
8179 # If no C compiler flags were specified, use CFLAGS.
8180 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8182 # Allow CC to be a program name with arguments.
8186 # Check for command to grab the raw symbol name followed by C symbol from nm.
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8188 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8189 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8193 # These are sane defaults that work on at least a few old systems.
8194 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8196 # Character class describing NM global symbol codes.
8197 symcode
='[BCDEGRST]'
8199 # Regexp to match symbols that can be accessed directly from C.
8200 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8202 # Define system-specific variables.
8207 cygwin
* | mingw
* | pw32
* | cegcc
*)
8208 symcode
='[ABCDGISTW]'
8211 if test "$host_cpu" = ia64
; then
8212 symcode
='[ABCDEGRST]'
8216 symcode
='[BCDEGRST]'
8219 symcode
='[BCDEGQRST]'
8230 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8238 # If we're using GNU nm, then use its standard symbol codes.
8239 case `$NM -V 2>&1` in
8240 *GNU
* |
*'with BFD'*)
8241 symcode
='[ABCDGIRSTW]' ;;
8244 # Transform an extracted symbol line into a proper C declaration.
8245 # Some systems (esp. on ia64) link data and code symbols differently,
8246 # so use this general approach.
8247 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8249 # Transform an extracted symbol line into symbol name and symbol address
8250 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8251 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'"
8253 # Handle CRLF in mingw tool chain
8257 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8261 # Try without a prefix underscore, then with it.
8262 for ac_symprfx
in "" "_"; do
8264 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8265 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8267 # Write the raw and C identifiers.
8268 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8269 # Fake it for dumpbin and say T for any non-static function
8270 # and D for any global variable.
8271 # Also find C++ and __fastcall symbols from MSVC++,
8272 # which start with @ or ?.
8273 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8274 " {last_section=section; section=\$ 3};"\
8275 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8276 " \$ 0!~/External *\|/{next};"\
8277 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8278 " {if(hide[section]) next};"\
8279 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8280 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8281 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8282 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8283 " ' prfx=^$ac_symprfx"
8285 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8288 # Check to see that the pipe works correctly.
8292 cat > conftest.
$ac_ext <<_LT_EOF
8297 void nm_test_func(void);
8298 void nm_test_func(void){}
8302 int main(){nm_test_var='a';nm_test_func();return(0);}
8305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8306 (eval $ac_compile) 2>&5
8308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309 test $ac_status = 0; }; then
8310 # Now try to grab the symbols.
8312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8313 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8316 test $ac_status = 0; } && test -s "$nlist"; then
8317 # Try sorting and uniquifying the output.
8318 if sort "$nlist" |
uniq > "$nlist"T
; then
8319 mv -f "$nlist"T
"$nlist"
8324 # Make sure that we snagged all the symbols we need.
8325 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8326 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8327 cat <<_LT_EOF > conftest.$ac_ext
8333 # Now generate the symbol file.
8334 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8336 cat <<_LT_EOF >> conftest.$ac_ext
8338 /* The mapping between symbol names and symbols. */
8343 lt__PROGRAM__LTX_preloaded_symbols[] =
8345 { "@PROGRAM@", (void *) 0 },
8347 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8348 cat <<\_LT_EOF
>> conftest.
$ac_ext
8352 /* This works around a problem
in FreeBSD linker
*/
8353 #ifdef FREEBSD_WORKAROUND
8354 static const void
*lt_preloaded_setup
() {
8355 return lt__PROGRAM__LTX_preloaded_symbols
;
8363 # Now try linking the two files.
8364 mv conftest.
$ac_objext conftstm.
$ac_objext
8365 lt_save_LIBS
="$LIBS"
8366 lt_save_CFLAGS
="$CFLAGS"
8367 LIBS
="conftstm.$ac_objext"
8368 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8370 (eval $ac_link) 2>&5
8372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8373 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8376 LIBS
="$lt_save_LIBS"
8377 CFLAGS
="$lt_save_CFLAGS"
8379 echo "cannot find nm_test_func in $nlist" >&5
8382 echo "cannot find nm_test_var in $nlist" >&5
8385 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8388 echo "$progname: failed program was:" >&5
8389 cat conftest.
$ac_ext >&5
8391 rm -rf conftest
* conftst
*
8393 # Do not use the global_symbol_pipe unless it works.
8394 if test "$pipe_works" = yes; then
8397 lt_cv_sys_global_symbol_pipe
=
8403 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8404 lt_cv_sys_global_symbol_to_cdecl
=
8406 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8408 $as_echo "failed" >&6; }
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8411 $as_echo "ok" >&6; }
8435 # Check whether --enable-libtool-lock was given.
8436 if test "${enable_libtool_lock+set}" = set; then :
8437 enableval
=$enable_libtool_lock;
8440 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8442 # Some flags need to be propagated to the compiler or linker for good
8446 # Find out which ABI we are using.
8447 echo 'int i;' > conftest.
$ac_ext
8448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8449 (eval $ac_compile) 2>&5
8451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8452 test $ac_status = 0; }; then
8453 case `/usr/bin/file conftest.$ac_objext` in
8465 # Find out which ABI we are using.
8466 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8468 (eval $ac_compile) 2>&5
8470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8471 test $ac_status = 0; }; then
8472 if test "$lt_cv_prog_gnu_ld" = yes; then
8473 case `/usr/bin/file conftest.$ac_objext` in
8475 LD
="${LD-ld} -melf32bsmip"
8478 LD
="${LD-ld} -melf32bmipn32"
8481 LD
="${LD-ld} -melf64bmip"
8485 case `/usr/bin/file conftest.$ac_objext` in
8501 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8502 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8503 # Find out which ABI we are using.
8504 echo 'int i;' > conftest.
$ac_ext
8505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8506 (eval $ac_compile) 2>&5
8508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8509 test $ac_status = 0; }; then
8510 case `/usr/bin/file conftest.o` in
8513 x86_64-
*kfreebsd
*-gnu)
8514 LD
="${LD-ld} -m elf_i386_fbsd"
8517 case `/usr/bin/file conftest.o` in
8519 LD
="${LD-ld} -m elf32_x86_64"
8522 LD
="${LD-ld} -m elf_i386"
8526 powerpc64le-
*linux
*)
8527 LD
="${LD-ld} -m elf32lppclinux"
8530 LD
="${LD-ld} -m elf32ppclinux"
8533 LD
="${LD-ld} -m elf_s390"
8536 LD
="${LD-ld} -m elf32_sparc"
8542 x86_64-
*kfreebsd
*-gnu)
8543 LD
="${LD-ld} -m elf_x86_64_fbsd"
8546 LD
="${LD-ld} -m elf_x86_64"
8549 LD
="${LD-ld} -m elf64lppc"
8552 LD
="${LD-ld} -m elf64ppc"
8554 s390
*-*linux
*|s390
*-*tpf
*)
8555 LD
="${LD-ld} -m elf64_s390"
8558 LD
="${LD-ld} -m elf64_sparc"
8568 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8569 SAVE_CFLAGS
="$CFLAGS"
8570 CFLAGS
="$CFLAGS -belf"
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8572 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8573 if ${lt_cv_cc_needs_belf+:} false
; then :
8574 $as_echo_n "(cached) " >&6
8577 ac_cpp
='$CPP $CPPFLAGS'
8578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8582 if test x
$gcc_no_link = xyes
; then
8583 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8596 if ac_fn_c_try_link
"$LINENO"; then :
8597 lt_cv_cc_needs_belf
=yes
8599 lt_cv_cc_needs_belf
=no
8601 rm -f core conftest.err conftest.
$ac_objext \
8602 conftest
$ac_exeext conftest.
$ac_ext
8604 ac_cpp
='$CPP $CPPFLAGS'
8605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8611 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8612 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8613 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8614 CFLAGS
="$SAVE_CFLAGS"
8618 # Find out which ABI we are using.
8619 echo 'int i;' > conftest.
$ac_ext
8620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8621 (eval $ac_compile) 2>&5
8623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8624 test $ac_status = 0; }; then
8625 case `/usr/bin/file conftest.o` in
8627 case $lt_cv_prog_gnu_ld in
8628 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8630 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8642 need_locks
="$enable_libtool_lock"
8646 rhapsody
* | darwin
*)
8647 if test -n "$ac_tool_prefix"; then
8648 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8649 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8651 $as_echo_n "checking for $ac_word... " >&6; }
8652 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8653 $as_echo_n "(cached) " >&6
8655 if test -n "$DSYMUTIL"; then
8656 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8662 test -z "$as_dir" && as_dir
=.
8663 for ac_exec_ext
in '' $ac_executable_extensions; do
8664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8665 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8676 if test -n "$DSYMUTIL"; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8678 $as_echo "$DSYMUTIL" >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8681 $as_echo "no" >&6; }
8686 if test -z "$ac_cv_prog_DSYMUTIL"; then
8687 ac_ct_DSYMUTIL
=$DSYMUTIL
8688 # Extract the first word of "dsymutil", so it can be a program name with args.
8689 set dummy dsymutil
; ac_word
=$2
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8691 $as_echo_n "checking for $ac_word... " >&6; }
8692 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8693 $as_echo_n "(cached) " >&6
8695 if test -n "$ac_ct_DSYMUTIL"; then
8696 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8702 test -z "$as_dir" && as_dir
=.
8703 for ac_exec_ext
in '' $ac_executable_extensions; do
8704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8705 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8715 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8716 if test -n "$ac_ct_DSYMUTIL"; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8718 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 $as_echo "no" >&6; }
8724 if test "x$ac_ct_DSYMUTIL" = x
; then
8727 case $cross_compiling:$ac_tool_warned in
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8731 ac_tool_warned
=yes ;;
8733 DSYMUTIL
=$ac_ct_DSYMUTIL
8736 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8739 if test -n "$ac_tool_prefix"; then
8740 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8741 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8743 $as_echo_n "checking for $ac_word... " >&6; }
8744 if ${ac_cv_prog_NMEDIT+:} false
; then :
8745 $as_echo_n "(cached) " >&6
8747 if test -n "$NMEDIT"; then
8748 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8754 test -z "$as_dir" && as_dir
=.
8755 for ac_exec_ext
in '' $ac_executable_extensions; do
8756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8757 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767 NMEDIT
=$ac_cv_prog_NMEDIT
8768 if test -n "$NMEDIT"; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8770 $as_echo "$NMEDIT" >&6; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8773 $as_echo "no" >&6; }
8778 if test -z "$ac_cv_prog_NMEDIT"; then
8779 ac_ct_NMEDIT
=$NMEDIT
8780 # Extract the first word of "nmedit", so it can be a program name with args.
8781 set dummy nmedit
; ac_word
=$2
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8783 $as_echo_n "checking for $ac_word... " >&6; }
8784 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8785 $as_echo_n "(cached) " >&6
8787 if test -n "$ac_ct_NMEDIT"; then
8788 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8794 test -z "$as_dir" && as_dir
=.
8795 for ac_exec_ext
in '' $ac_executable_extensions; do
8796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8797 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8807 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8808 if test -n "$ac_ct_NMEDIT"; then
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8810 $as_echo "$ac_ct_NMEDIT" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813 $as_echo "no" >&6; }
8816 if test "x$ac_ct_NMEDIT" = x
; then
8819 case $cross_compiling:$ac_tool_warned in
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8823 ac_tool_warned
=yes ;;
8825 NMEDIT
=$ac_ct_NMEDIT
8828 NMEDIT
="$ac_cv_prog_NMEDIT"
8831 if test -n "$ac_tool_prefix"; then
8832 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8833 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 $as_echo_n "checking for $ac_word... " >&6; }
8836 if ${ac_cv_prog_LIPO+:} false
; then :
8837 $as_echo_n "(cached) " >&6
8839 if test -n "$LIPO"; then
8840 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8846 test -z "$as_dir" && as_dir
=.
8847 for ac_exec_ext
in '' $ac_executable_extensions; do
8848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8849 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8859 LIPO
=$ac_cv_prog_LIPO
8860 if test -n "$LIPO"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8862 $as_echo "$LIPO" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865 $as_echo "no" >&6; }
8870 if test -z "$ac_cv_prog_LIPO"; then
8872 # Extract the first word of "lipo", so it can be a program name with args.
8873 set dummy lipo
; ac_word
=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8875 $as_echo_n "checking for $ac_word... " >&6; }
8876 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8877 $as_echo_n "(cached) " >&6
8879 if test -n "$ac_ct_LIPO"; then
8880 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8886 test -z "$as_dir" && as_dir
=.
8887 for ac_exec_ext
in '' $ac_executable_extensions; do
8888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8889 ac_cv_prog_ac_ct_LIPO
="lipo"
8890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8900 if test -n "$ac_ct_LIPO"; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8902 $as_echo "$ac_ct_LIPO" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905 $as_echo "no" >&6; }
8908 if test "x$ac_ct_LIPO" = x
; then
8911 case $cross_compiling:$ac_tool_warned in
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8915 ac_tool_warned
=yes ;;
8920 LIPO
="$ac_cv_prog_LIPO"
8923 if test -n "$ac_tool_prefix"; then
8924 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8925 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8927 $as_echo_n "checking for $ac_word... " >&6; }
8928 if ${ac_cv_prog_OTOOL+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 if test -n "$OTOOL"; then
8932 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8938 test -z "$as_dir" && as_dir
=.
8939 for ac_exec_ext
in '' $ac_executable_extensions; do
8940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8941 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8951 OTOOL
=$ac_cv_prog_OTOOL
8952 if test -n "$OTOOL"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8954 $as_echo "$OTOOL" >&6; }
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8962 if test -z "$ac_cv_prog_OTOOL"; then
8964 # Extract the first word of "otool", so it can be a program name with args.
8965 set dummy otool
; ac_word
=$2
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8967 $as_echo_n "checking for $ac_word... " >&6; }
8968 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8969 $as_echo_n "(cached) " >&6
8971 if test -n "$ac_ct_OTOOL"; then
8972 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8978 test -z "$as_dir" && as_dir
=.
8979 for ac_exec_ext
in '' $ac_executable_extensions; do
8980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8981 ac_cv_prog_ac_ct_OTOOL
="otool"
8982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8991 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8992 if test -n "$ac_ct_OTOOL"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8994 $as_echo "$ac_ct_OTOOL" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8997 $as_echo "no" >&6; }
9000 if test "x$ac_ct_OTOOL" = x
; then
9003 case $cross_compiling:$ac_tool_warned in
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9007 ac_tool_warned
=yes ;;
9012 OTOOL
="$ac_cv_prog_OTOOL"
9015 if test -n "$ac_tool_prefix"; then
9016 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9017 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9019 $as_echo_n "checking for $ac_word... " >&6; }
9020 if ${ac_cv_prog_OTOOL64+:} false
; then :
9021 $as_echo_n "(cached) " >&6
9023 if test -n "$OTOOL64"; then
9024 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9030 test -z "$as_dir" && as_dir
=.
9031 for ac_exec_ext
in '' $ac_executable_extensions; do
9032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9033 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9043 OTOOL64
=$ac_cv_prog_OTOOL64
9044 if test -n "$OTOOL64"; then
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9046 $as_echo "$OTOOL64" >&6; }
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9049 $as_echo "no" >&6; }
9054 if test -z "$ac_cv_prog_OTOOL64"; then
9055 ac_ct_OTOOL64
=$OTOOL64
9056 # Extract the first word of "otool64", so it can be a program name with args.
9057 set dummy otool64
; ac_word
=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9059 $as_echo_n "checking for $ac_word... " >&6; }
9060 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9063 if test -n "$ac_ct_OTOOL64"; then
9064 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9070 test -z "$as_dir" && as_dir
=.
9071 for ac_exec_ext
in '' $ac_executable_extensions; do
9072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9073 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9083 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9084 if test -n "$ac_ct_OTOOL64"; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9086 $as_echo "$ac_ct_OTOOL64" >&6; }
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9092 if test "x$ac_ct_OTOOL64" = x
; then
9095 case $cross_compiling:$ac_tool_warned in
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9099 ac_tool_warned
=yes ;;
9101 OTOOL64
=$ac_ct_OTOOL64
9104 OTOOL64
="$ac_cv_prog_OTOOL64"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9134 $as_echo_n "checking for -single_module linker flag... " >&6; }
9135 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9136 $as_echo_n "(cached) " >&6
9138 lt_cv_apple_cc_single_mod
=no
9139 if test -z "${LT_MULTI_MODULE}"; then
9140 # By default we will add the -single_module flag. You can override
9141 # by either setting the environment variable LT_MULTI_MODULE
9142 # non-empty at configure time, or by adding -multi_module to the
9144 rm -rf libconftest.dylib
*
9145 echo "int foo(void){return 1;}" > conftest.c
9146 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9147 -dynamiclib -Wl,-single_module conftest.c" >&5
9148 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9149 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9151 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9152 lt_cv_apple_cc_single_mod
=yes
9154 cat conftest.err
>&5
9156 rm -rf libconftest.dylib
*
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9161 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9163 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9164 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9165 $as_echo_n "(cached) " >&6
9167 lt_cv_ld_exported_symbols_list
=no
9168 save_LDFLAGS
=$LDFLAGS
9169 echo "_main" > conftest.sym
9170 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9171 if test x
$gcc_no_link = xyes
; then
9172 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9185 if ac_fn_c_try_link
"$LINENO"; then :
9186 lt_cv_ld_exported_symbols_list
=yes
9188 lt_cv_ld_exported_symbols_list
=no
9190 rm -f core conftest.err conftest.
$ac_objext \
9191 conftest
$ac_exeext conftest.
$ac_ext
9192 LDFLAGS
="$save_LDFLAGS"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9196 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9198 $as_echo_n "checking for -force_load linker flag... " >&6; }
9199 if ${lt_cv_ld_force_load+:} false
; then :
9200 $as_echo_n "(cached) " >&6
9202 lt_cv_ld_force_load
=no
9203 cat > conftest.c
<< _LT_EOF
9204 int forced_loaded() { return 2;}
9206 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9207 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9208 echo "$AR cru libconftest.a conftest.o" >&5
9209 $AR cru libconftest.a conftest.o
2>&5
9210 cat > conftest.c
<< _LT_EOF
9211 int main() { return 0;}
9213 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9214 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9216 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9217 lt_cv_ld_force_load
=yes
9219 cat conftest.err
>&5
9221 rm -f conftest.err libconftest.a conftest conftest.c
9222 rm -rf conftest.dSYM
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9226 $as_echo "$lt_cv_ld_force_load" >&6; }
9227 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9228 # build without first building modern cctools / linker.
9229 case $host_cpu-$host_os in
9230 *-rhapsody* |
*-darwin1.
[012])
9231 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9233 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9235 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9236 # deployment target is forced to an earlier version.
9237 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9238 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9241 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9248 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9249 _lt_dar_single_mod
='$single_module'
9251 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9252 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9254 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9256 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9257 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9264 for ac_header
in dlfcn.h
9266 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9268 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9269 cat >>confdefs.h
<<_ACEOF
9270 #define HAVE_DLFCN_H 1
9289 # Check whether --enable-shared was given.
9290 if test "${enable_shared+set}" = set; then :
9291 enableval
=$enable_shared; p
=${PACKAGE-default}
9293 yes) enable_shared
=yes ;;
9294 no
) enable_shared
=no
;;
9297 # Look at the argument we got. We use all the common list separators.
9298 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9299 for pkg
in $enableval; do
9301 if test "X$pkg" = "X$p"; then
9320 # Check whether --enable-static was given.
9321 if test "${enable_static+set}" = set; then :
9322 enableval
=$enable_static; p
=${PACKAGE-default}
9324 yes) enable_static
=yes ;;
9325 no
) enable_static
=no
;;
9328 # Look at the argument we got. We use all the common list separators.
9329 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9330 for pkg
in $enableval; do
9332 if test "X$pkg" = "X$p"; then
9352 # Check whether --with-pic was given.
9353 if test "${with_pic+set}" = set; then :
9354 withval
=$with_pic; pic_mode
="$withval"
9360 test -z "$pic_mode" && pic_mode
=default
9368 # Check whether --enable-fast-install was given.
9369 if test "${enable_fast_install+set}" = set; then :
9370 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9372 yes) enable_fast_install
=yes ;;
9373 no
) enable_fast_install
=no
;;
9375 enable_fast_install
=no
9376 # Look at the argument we got. We use all the common list separators.
9377 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9378 for pkg
in $enableval; do
9380 if test "X$pkg" = "X$p"; then
9381 enable_fast_install
=yes
9388 enable_fast_install
=yes
9401 # This can be used to rebuild libtool when needed
9402 LIBTOOL_DEPS
="$ltmain"
9404 # Always use our own libtool.
9405 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9432 test -z "$LN_S" && LN_S
="ln -s"
9447 if test -n "${ZSH_VERSION+set}" ; then
9448 setopt NO_GLOB_SUBST
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9452 $as_echo_n "checking for objdir... " >&6; }
9453 if ${lt_cv_objdir+:} false
; then :
9454 $as_echo_n "(cached) " >&6
9456 rm -f .libs
2>/dev
/null
9457 mkdir .libs
2>/dev
/null
9458 if test -d .libs
; then
9461 # MS-DOS does not allow filenames that begin with a dot.
9464 rmdir .libs
2>/dev
/null
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9467 $as_echo "$lt_cv_objdir" >&6; }
9468 objdir
=$lt_cv_objdir
9474 cat >>confdefs.h
<<_ACEOF
9475 #define LT_OBJDIR "$lt_cv_objdir/"
9483 # AIX sometimes has problems with the GCC collect2 program. For some
9484 # reason, if we set the COLLECT_NAMES environment variable, the problems
9485 # vanish in a puff of smoke.
9486 if test "X${COLLECT_NAMES+set}" != Xset
; then
9488 export COLLECT_NAMES
9495 can_build_shared
=yes
9497 # All known linkers require a `.a' archive for static linking (except MSVC,
9498 # which needs '.lib').
9501 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9504 old_CFLAGS
="$CFLAGS"
9506 # Set sane defaults for various variables
9507 test -z "$CC" && CC
=cc
9508 test -z "$LTCC" && LTCC
=$CC
9509 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9510 test -z "$LD" && LD
=ld
9511 test -z "$ac_objext" && ac_objext
=o
9513 for cc_temp
in $compiler""; do
9515 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9516 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9521 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9524 # Only perform the check for file, if the check method requires it
9525 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9526 case $deplibs_check_method in
9528 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9530 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9531 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9536 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9539 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9540 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9541 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9542 for ac_dir
in $ac_dummy; do
9544 test -z "$ac_dir" && ac_dir
=.
9545 if test -f $ac_dir/${ac_tool_prefix}file; then
9546 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9547 if test -n "$file_magic_test_file"; then
9548 case $deplibs_check_method in
9550 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9551 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9552 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9553 $EGREP "$file_magic_regex" > /dev
/null
; then
9558 *** Warning: the command libtool uses to detect shared libraries,
9559 *** $file_magic_cmd, produces output that libtool cannot recognize.
9560 *** The result is that libtool may fail to recognize shared libraries
9561 *** as such. This will affect the creation of libtool libraries that
9562 *** depend on shared libraries, but programs linked with such libtool
9563 *** libraries will work regardless of this problem. Nevertheless, you
9564 *** may want to report the problem to your system manager and/or to
9565 *** bug-libtool@gnu.org
9575 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9580 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9581 if test -n "$MAGIC_CMD"; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9583 $as_echo "$MAGIC_CMD" >&6; }
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9586 $as_echo "no" >&6; }
9593 if test -z "$lt_cv_path_MAGIC_CMD"; then
9594 if test -n "$ac_tool_prefix"; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9596 $as_echo_n "checking for file... " >&6; }
9597 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9598 $as_echo_n "(cached) " >&6
9602 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9605 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9606 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9607 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9608 for ac_dir
in $ac_dummy; do
9610 test -z "$ac_dir" && ac_dir
=.
9611 if test -f $ac_dir/file; then
9612 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9613 if test -n "$file_magic_test_file"; then
9614 case $deplibs_check_method in
9616 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9617 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9618 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9619 $EGREP "$file_magic_regex" > /dev
/null
; then
9624 *** Warning: the command libtool uses to detect shared libraries,
9625 *** $file_magic_cmd, produces output that libtool cannot recognize.
9626 *** The result is that libtool may fail to recognize shared libraries
9627 *** as such. This will affect the creation of libtool libraries that
9628 *** depend on shared libraries, but programs linked with such libtool
9629 *** libraries will work regardless of this problem. Nevertheless, you
9630 *** may want to report the problem to your system manager and/or to
9631 *** bug-libtool@gnu.org
9641 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9646 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9647 if test -n "$MAGIC_CMD"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9649 $as_echo "$MAGIC_CMD" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652 $as_echo "no" >&6; }
9665 # Use C for the default configuration in the libtool script
9669 ac_cpp
='$CPP $CPPFLAGS'
9670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9675 # Source file extension for C test sources.
9678 # Object file extension for compiled C test sources.
9682 # Code to be used in simple compile tests
9683 lt_simple_compile_test_code
="int some_variable = 0;"
9685 # Code to be used in simple link tests
9686 lt_simple_link_test_code
='int main(){return(0);}'
9694 # If no C compiler was specified, use CC.
9697 # If no C compiler flags were specified, use CFLAGS.
9698 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9700 # Allow CC to be a program name with arguments.
9703 # Save the default compiler, since it gets overwritten when the other
9704 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9705 compiler_DEFAULT
=$CC
9707 # save warnings/boilerplate of simple test code
9708 ac_outfile
=conftest.
$ac_objext
9709 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9710 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9711 _lt_compiler_boilerplate
=`cat conftest.err`
9714 ac_outfile
=conftest.
$ac_objext
9715 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9716 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9717 _lt_linker_boilerplate
=`cat conftest.err`
9722 ## There is no encapsulation within the following macros, do not change
9723 ## the running order or otherwise move them around unless you know exactly
9724 ## what you are doing...
9725 if test -n "$compiler"; then
9727 lt_prog_compiler_no_builtin_flag
=
9729 if test "$GCC" = yes; then
9730 case $cc_basename in
9732 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9734 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9738 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9739 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9740 $as_echo_n "(cached) " >&6
9742 lt_cv_prog_compiler_rtti_exceptions
=no
9743 ac_outfile
=conftest.
$ac_objext
9744 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9745 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9746 # Insert the option either (1) after the last *FLAGS variable, or
9747 # (2) before a word containing "conftest.", or (3) at the end.
9748 # Note that $ac_compile itself does not contain backslashes and begins
9749 # with a dollar sign (not a hyphen), so the echo should work correctly.
9750 # The option is referenced via a variable to avoid confusing sed.
9751 lt_compile
=`echo "$ac_compile" | $SED \
9752 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9754 -e 's:$: $lt_compiler_flag:'`
9755 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9756 (eval "$lt_compile" 2>conftest.err
)
9758 cat conftest.err
>&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 if (exit $ac_status) && test -s "$ac_outfile"; then
9761 # The compiler can only warn and ignore the option if not recognized
9762 # So say no if there are warnings other than the usual output.
9763 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9764 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9765 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9766 lt_cv_prog_compiler_rtti_exceptions
=yes
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9773 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9775 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9776 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9788 lt_prog_compiler_wl
=
9789 lt_prog_compiler_pic
=
9790 lt_prog_compiler_static
=
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9795 if test "$GCC" = yes; then
9796 lt_prog_compiler_wl
='-Wl,'
9797 lt_prog_compiler_static
='-static'
9801 # All AIX code is PIC.
9802 if test "$host_cpu" = ia64
; then
9803 # AIX 5 now supports IA64 processor
9804 lt_prog_compiler_static
='-Bstatic'
9806 lt_prog_compiler_pic
='-fPIC'
9812 # see comment about AmigaOS4 .so support
9813 lt_prog_compiler_pic
='-fPIC'
9816 # FIXME: we need at least 68020 code to build shared libraries, but
9817 # adding the `-m68020' flag to GCC prevents building anything better,
9819 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9824 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9825 # PIC is the default for these OSes.
9828 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9829 # This hack is so that the source file can tell whether it is being
9830 # built for inclusion in a dll (and should export symbols for example).
9831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9832 # (--disable-auto-import) libraries
9833 lt_prog_compiler_pic
='-DDLL_EXPORT'
9836 darwin
* | rhapsody
*)
9837 # PIC is the default on this platform
9838 # Common symbols not allowed in MH_DYLIB files
9839 lt_prog_compiler_pic
='-fno-common'
9843 # PIC is the default for Haiku.
9844 # The "-static" flag exists, but is broken.
9845 lt_prog_compiler_static
=
9849 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9850 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9851 # sets the default TLS model and affects inlining.
9857 lt_prog_compiler_pic
='-fPIC'
9863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9864 # Instead, we relocate shared libraries at runtime.
9868 # Just because we use GCC doesn't mean we suddenly get shared libraries
9869 # on systems that don't support them.
9870 lt_prog_compiler_can_build_shared
=no
9875 # QNX uses GNU C++, but need to define -shared option too, otherwise
9877 lt_prog_compiler_pic
='-fPIC -shared'
9881 if test -d /usr
/nec
; then
9882 lt_prog_compiler_pic
=-Kconform_pic
9887 lt_prog_compiler_pic
='-fPIC'
9891 case $cc_basename in
9892 nvcc
*) # Cuda Compiler Driver 2.2
9893 lt_prog_compiler_wl
='-Xlinker '
9894 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9898 # PORTME Check for flag to pass linker flags through the system compiler.
9901 lt_prog_compiler_wl
='-Wl,'
9902 if test "$host_cpu" = ia64
; then
9903 # AIX 5 now supports IA64 processor
9904 lt_prog_compiler_static
='-Bstatic'
9906 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9910 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9911 # This hack is so that the source file can tell whether it is being
9912 # built for inclusion in a dll (and should export symbols for example).
9913 lt_prog_compiler_pic
='-DDLL_EXPORT'
9916 hpux9
* | hpux10
* | hpux11
*)
9917 lt_prog_compiler_wl
='-Wl,'
9918 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9925 lt_prog_compiler_pic
='+Z'
9928 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9929 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9932 irix5
* | irix6
* | nonstopux
*)
9933 lt_prog_compiler_wl
='-Wl,'
9934 # PIC (with -KPIC) is the default.
9935 lt_prog_compiler_static
='-non_shared'
9938 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9939 case $cc_basename in
9940 # old Intel for x86_64 which still supported -KPIC.
9942 lt_prog_compiler_wl
='-Wl,'
9943 lt_prog_compiler_pic
='-KPIC'
9944 lt_prog_compiler_static
='-static'
9946 # icc used to be incompatible with GCC.
9947 # ICC 10 doesn't accept -KPIC any more.
9949 lt_prog_compiler_wl
='-Wl,'
9950 lt_prog_compiler_pic
='-fPIC'
9951 lt_prog_compiler_static
='-static'
9953 # Lahey Fortran 8.1.
9955 lt_prog_compiler_wl
='-Wl,'
9956 lt_prog_compiler_pic
='--shared'
9957 lt_prog_compiler_static
='--static'
9959 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9960 # Portland Group compilers (*not* the Pentium gcc compiler,
9961 # which looks to be a dead project)
9962 lt_prog_compiler_wl
='-Wl,'
9963 lt_prog_compiler_pic
='-fpic'
9964 lt_prog_compiler_static
='-Bstatic'
9967 lt_prog_compiler_wl
='-Wl,'
9968 # All Alpha code is PIC.
9969 lt_prog_compiler_static
='-non_shared'
9971 xl
* | bgxl
* | bgf
* | mpixl
*)
9972 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9973 lt_prog_compiler_wl
='-Wl,'
9974 lt_prog_compiler_pic
='-qpic'
9975 lt_prog_compiler_static
='-qstaticlink'
9978 case `$CC -V 2>&1 | sed 5q` in
9979 *Sun\ F
* |
*Sun
*Fortran
*)
9980 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9981 lt_prog_compiler_pic
='-KPIC'
9982 lt_prog_compiler_static
='-Bstatic'
9983 lt_prog_compiler_wl
=''
9987 lt_prog_compiler_pic
='-KPIC'
9988 lt_prog_compiler_static
='-Bstatic'
9989 lt_prog_compiler_wl
='-Wl,'
9997 lt_prog_compiler_pic
='-KPIC'
9998 lt_prog_compiler_static
='-Bstatic'
10002 # QNX uses GNU C++, but need to define -shared option too, otherwise
10003 # it will coredump.
10004 lt_prog_compiler_pic
='-fPIC -shared'
10007 osf3
* | osf4
* | osf5
*)
10008 lt_prog_compiler_wl
='-Wl,'
10009 # All OSF/1 code is PIC.
10010 lt_prog_compiler_static
='-non_shared'
10014 lt_prog_compiler_static
='-non_shared'
10018 lt_prog_compiler_pic
='-KPIC'
10019 lt_prog_compiler_static
='-Bstatic'
10020 case $cc_basename in
10021 f77
* | f90
* | f95
*)
10022 lt_prog_compiler_wl
='-Qoption ld ';;
10024 lt_prog_compiler_wl
='-Wl,';;
10029 lt_prog_compiler_wl
='-Qoption ld '
10030 lt_prog_compiler_pic
='-PIC'
10031 lt_prog_compiler_static
='-Bstatic'
10034 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10035 lt_prog_compiler_wl
='-Wl,'
10036 lt_prog_compiler_pic
='-KPIC'
10037 lt_prog_compiler_static
='-Bstatic'
10041 if test -d /usr
/nec
;then
10042 lt_prog_compiler_pic
='-Kconform_pic'
10043 lt_prog_compiler_static
='-Bstatic'
10047 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10048 lt_prog_compiler_wl
='-Wl,'
10049 lt_prog_compiler_pic
='-KPIC'
10050 lt_prog_compiler_static
='-Bstatic'
10054 lt_prog_compiler_wl
='-Wl,'
10055 lt_prog_compiler_can_build_shared
=no
10059 lt_prog_compiler_pic
='-pic'
10060 lt_prog_compiler_static
='-Bstatic'
10064 lt_prog_compiler_can_build_shared
=no
10070 # For platforms which do not support PIC, -DPIC is meaningless:
10072 lt_prog_compiler_pic
=
10075 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10079 $as_echo "$lt_prog_compiler_pic" >&6; }
10087 # Check to make sure the PIC flag actually works.
10089 if test -n "$lt_prog_compiler_pic"; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10091 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10092 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10093 $as_echo_n "(cached) " >&6
10095 lt_cv_prog_compiler_pic_works
=no
10096 ac_outfile
=conftest.
$ac_objext
10097 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10098 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10099 # Insert the option either (1) after the last *FLAGS variable, or
10100 # (2) before a word containing "conftest.", or (3) at the end.
10101 # Note that $ac_compile itself does not contain backslashes and begins
10102 # with a dollar sign (not a hyphen), so the echo should work correctly.
10103 # The option is referenced via a variable to avoid confusing sed.
10104 lt_compile
=`echo "$ac_compile" | $SED \
10105 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10106 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10107 -e 's:$: $lt_compiler_flag:'`
10108 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10109 (eval "$lt_compile" 2>conftest.err
)
10111 cat conftest.err
>&5
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 if (exit $ac_status) && test -s "$ac_outfile"; then
10114 # The compiler can only warn and ignore the option if not recognized
10115 # So say no if there are warnings other than the usual output.
10116 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10117 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10118 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10119 lt_cv_prog_compiler_pic_works
=yes
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10126 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10128 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10129 case $lt_prog_compiler_pic in
10131 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10134 lt_prog_compiler_pic
=
10135 lt_prog_compiler_can_build_shared
=no
10146 # Check to make sure the static flag actually works.
10148 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10150 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10151 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10152 $as_echo_n "(cached) " >&6
10154 lt_cv_prog_compiler_static_works
=no
10155 save_LDFLAGS
="$LDFLAGS"
10156 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10157 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10158 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10159 # The linker can only warn and ignore the option if not recognized
10160 # So say no if there are warnings
10161 if test -s conftest.err
; then
10162 # Append any errors to the config.log.
10163 cat conftest.err
1>&5
10164 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10165 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10166 if diff conftest.exp conftest.er2
>/dev
/null
; then
10167 lt_cv_prog_compiler_static_works
=yes
10170 lt_cv_prog_compiler_static_works
=yes
10174 LDFLAGS
="$save_LDFLAGS"
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10178 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10180 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10183 lt_prog_compiler_static
=
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10193 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10194 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 lt_cv_prog_compiler_c_o
=no
10198 $RM -r conftest
2>/dev
/null
10202 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10204 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10205 # Insert the option either (1) after the last *FLAGS variable, or
10206 # (2) before a word containing "conftest.", or (3) at the end.
10207 # Note that $ac_compile itself does not contain backslashes and begins
10208 # with a dollar sign (not a hyphen), so the echo should work correctly.
10209 lt_compile
=`echo "$ac_compile" | $SED \
10210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10212 -e 's:$: $lt_compiler_flag:'`
10213 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10214 (eval "$lt_compile" 2>out
/conftest.err
)
10216 cat out
/conftest.err
>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10220 # The compiler can only warn and ignore the option if not recognized
10221 # So say no if there are warnings
10222 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10223 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10224 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10225 lt_cv_prog_compiler_c_o
=yes
10230 # SGI C++ compiler will create directory out/ii_files/ for
10231 # template instantiation
10232 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10233 $RM out
/* && rmdir out
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10240 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10248 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10249 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10250 $as_echo_n "(cached) " >&6
10252 lt_cv_prog_compiler_c_o
=no
10253 $RM -r conftest
2>/dev
/null
10257 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10259 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10260 # Insert the option either (1) after the last *FLAGS variable, or
10261 # (2) before a word containing "conftest.", or (3) at the end.
10262 # Note that $ac_compile itself does not contain backslashes and begins
10263 # with a dollar sign (not a hyphen), so the echo should work correctly.
10264 lt_compile
=`echo "$ac_compile" | $SED \
10265 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10266 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10267 -e 's:$: $lt_compiler_flag:'`
10268 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10269 (eval "$lt_compile" 2>out
/conftest.err
)
10271 cat out
/conftest.err
>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10275 # The compiler can only warn and ignore the option if not recognized
10276 # So say no if there are warnings
10277 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10278 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10279 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10280 lt_cv_prog_compiler_c_o
=yes
10285 # SGI C++ compiler will create directory out/ii_files/ for
10286 # template instantiation
10287 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10288 $RM out
/* && rmdir out
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10295 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10300 hard_links
="nottested"
10301 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10302 # do not overwrite the value of need_locks provided by the user
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10304 $as_echo_n "checking if we can lock with hard links... " >&6; }
10307 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10309 ln conftest.a conftest.b
2>&5 || hard_links
=no
10310 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10312 $as_echo "$hard_links" >&6; }
10313 if test "$hard_links" = no
; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10315 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10328 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10331 allow_undefined_flag
=
10332 always_export_symbols
=no
10334 archive_expsym_cmds
=
10335 compiler_needs_object
=no
10336 enable_shared_with_static_runtimes
=no
10337 export_dynamic_flag_spec
=
10338 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10339 hardcode_automatic
=no
10341 hardcode_direct_absolute
=no
10342 hardcode_libdir_flag_spec
=
10343 hardcode_libdir_flag_spec_ld
=
10344 hardcode_libdir_separator
=
10345 hardcode_minus_L
=no
10346 hardcode_shlibpath_var
=unsupported
10348 link_all_deplibs
=unknown
10350 module_expsym_cmds
=
10351 old_archive_from_new_cmds
=
10352 old_archive_from_expsyms_cmds
=
10353 thread_safe_flag_spec
=
10354 whole_archive_flag_spec
=
10355 # include_expsyms should be a list of space-separated symbols to be *always*
10356 # included in the symbol list
10358 # exclude_expsyms can be an extended regexp of symbols to exclude
10359 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10360 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10361 # as well as any symbol that contains `d'.
10362 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10363 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10364 # platforms (ab)use it in PIC code, but their linkers get confused if
10365 # the symbol is explicitly referenced. Since portable code cannot
10366 # rely on this symbol name, it's probably fine to never include it in
10367 # preloaded symbol tables.
10368 # Exclude shared library initialization/finalization symbols.
10369 extract_expsyms_cmds
=
10372 cygwin
* | mingw
* | pw32
* | cegcc
*)
10373 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10374 # When not using gcc, we currently assume that we are using
10375 # Microsoft Visual C++.
10376 if test "$GCC" != yes; then
10381 # we just hope/assume this is gcc and not c89 (= MSVC++)
10391 # On some targets, GNU ld is compatible enough with the native linker
10392 # that we're better off using the native interface for both.
10393 lt_use_gnu_ld_interface
=no
10394 if test "$with_gnu_ld" = yes; then
10397 # The AIX port of GNU ld has always aspired to compatibility
10398 # with the native linker. However, as the warning in the GNU ld
10399 # block says, versions before 2.19.5* couldn't really create working
10400 # shared libraries, regardless of the interface used.
10401 case `$LD -v 2>&1` in
10402 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10403 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10404 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10406 lt_use_gnu_ld_interface
=yes
10411 lt_use_gnu_ld_interface
=yes
10416 if test "$lt_use_gnu_ld_interface" = yes; then
10417 # If archive_cmds runs LD, not CC, wlarc should be empty
10420 # Set some defaults for GNU ld with shared library support. These
10421 # are reset later if shared libraries are not supported. Putting them
10422 # here allows them to be overridden if necessary.
10423 runpath_var
=LD_RUN_PATH
10424 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10425 export_dynamic_flag_spec
='${wl}--export-dynamic'
10426 # ancient GNU ld didn't support --whole-archive et. al.
10427 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10428 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10430 whole_archive_flag_spec
=
10432 supports_anon_versioning
=no
10433 case `$LD -v 2>&1` in
10434 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10435 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10436 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10437 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10438 *\
2.11.
*) ;; # other 2.11 versions
10439 *) supports_anon_versioning
=yes ;;
10442 # See if GNU ld supports shared libraries.
10445 # On AIX/PPC, the GNU linker is very broken
10446 if test "$host_cpu" != ia64
; then
10450 *** Warning: the GNU linker, at least up to release 2.19, is reported
10451 *** to be unable to reliably create shared libraries on AIX.
10452 *** Therefore, libtool is disabling shared libraries support. If you
10453 *** really care for shared libraries, you may want to install binutils
10454 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10455 *** You will then need to restart the configuration process.
10464 # see comment about AmigaOS4 .so support
10465 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10466 archive_expsym_cmds
=''
10469 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)'
10470 hardcode_libdir_flag_spec
='-L$libdir'
10471 hardcode_minus_L
=yes
10477 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10478 allow_undefined_flag
=unsupported
10479 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10480 # support --undefined. This deserves some investigation. FIXME
10481 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10487 cygwin
* | mingw
* | pw32
* | cegcc
*)
10488 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10489 # as there is no search path for DLLs.
10490 hardcode_libdir_flag_spec
='-L$libdir'
10491 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10492 allow_undefined_flag
=unsupported
10493 always_export_symbols
=no
10494 enable_shared_with_static_runtimes
=yes
10495 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10497 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10498 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10499 # If the export-symbols file already is a .def file (1st line
10500 # is EXPORTS), use it as is; otherwise, prepend...
10501 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10502 cp $export_symbols $output_objdir/$soname.def;
10504 echo EXPORTS > $output_objdir/$soname.def;
10505 cat $export_symbols >> $output_objdir/$soname.def;
10507 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10514 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10515 link_all_deplibs
=yes
10520 hardcode_shlibpath_var
=no
10521 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10522 export_dynamic_flag_spec
='${wl}-E'
10523 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10524 # Instead, shared libraries are loaded at an image base (0x10000000 by
10525 # default) and relocated if they conflict, which is a slow very memory
10526 # consuming and fragmenting process. To avoid this, we pick a random,
10527 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10528 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10529 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10530 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'
10533 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10535 if test "$host_os" = linux-dietlibc
; then
10536 case $cc_basename in
10537 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10540 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10541 && test "$tmp_diet" = no
10543 tmp_addflag
=' $pic_flag'
10544 tmp_sharedflag
='-shared'
10545 case $cc_basename,$host_cpu in
10546 pgcc
*) # Portland Group C compiler
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'
10550 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10551 # Portland Group f77 and f90 compilers
10552 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'
10553 tmp_addflag
=' $pic_flag -Mnomain' ;;
10554 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10555 tmp_addflag
=' -i_dynamic' ;;
10556 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10557 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10558 ifc
* | ifort
*) # Intel Fortran compiler
10559 tmp_addflag
=' -nofor_main' ;;
10560 lf95
*) # Lahey Fortran 8.1
10561 whole_archive_flag_spec
=
10562 tmp_sharedflag
='--shared' ;;
10563 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10564 tmp_sharedflag
='-qmkshrobj'
10566 nvcc
*) # Cuda Compiler Driver 2.2
10567 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'
10568 compiler_needs_object
=yes
10571 case `$CC -V 2>&1 | sed 5q` in
10572 *Sun\ C
*) # Sun C 5.9
10573 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'
10574 compiler_needs_object
=yes
10575 tmp_sharedflag
='-G' ;;
10576 *Sun\ F
*) # Sun Fortran 8.3
10577 tmp_sharedflag
='-G' ;;
10579 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10581 if test "x$supports_anon_versioning" = xyes
; then
10582 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10583 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10584 echo "local: *; };" >> $output_objdir/$libname.ver~
10585 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10588 case $cc_basename in
10589 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10590 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10591 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10592 hardcode_libdir_flag_spec
=
10593 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10594 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10595 if test "x$supports_anon_versioning" = xyes
; then
10596 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10597 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10598 echo "local: *; };" >> $output_objdir/$libname.ver~
10599 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10609 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10610 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10613 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10614 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10619 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10623 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10624 *** create shared libraries on Solaris systems. Therefore, libtool
10625 *** is disabling shared libraries support. We urge you to upgrade GNU
10626 *** binutils to release 2.9.1 or newer. Another option is to modify
10627 *** your PATH or compiler configuration so that the native linker is
10628 *** used, and then restart.
10631 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10632 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10633 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10639 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10640 case `$LD -v 2>&1` in
10641 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10645 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10646 *** reliably create shared libraries on SCO systems. Therefore, libtool
10647 *** is disabling shared libraries support. We urge you to upgrade GNU
10648 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10649 *** your PATH or compiler configuration so that the native linker is
10650 *** used, and then restart.
10655 # For security reasons, it is highly recommended that you always
10656 # use absolute paths for naming shared libraries, and exclude the
10657 # DT_RUNPATH tag from executables and libraries. But doing so
10658 # requires that you compile everything twice, which is a pain.
10659 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10660 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10661 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10662 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10671 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10673 hardcode_direct
=yes
10674 hardcode_shlibpath_var
=no
10678 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10679 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10680 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10687 if test "$ld_shlibs" = no
; then
10689 hardcode_libdir_flag_spec
=
10690 export_dynamic_flag_spec
=
10691 whole_archive_flag_spec
=
10694 # PORTME fill in a description of your system's linker (not GNU ld)
10697 allow_undefined_flag
=unsupported
10698 always_export_symbols
=yes
10699 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'
10700 # Note: this linker hardcodes the directories in LIBPATH if there
10701 # are no directories specified by -L.
10702 hardcode_minus_L
=yes
10703 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10704 # Neither direct hardcoding nor static linking is supported with a
10706 hardcode_direct
=unsupported
10711 if test "$host_cpu" = ia64
; then
10712 # On IA64, the linker does run time linking by default, so we don't
10713 # have to do anything special.
10714 aix_use_runtimelinking
=no
10715 exp_sym_flag
='-Bexport'
10718 # If we're using GNU nm, then we don't want the "-C" option.
10719 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10720 # Also, AIX nm treats weak defined symbols like other global
10721 # defined symbols, whereas GNU nm marks them as "W".
10722 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10723 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'
10725 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'
10727 aix_use_runtimelinking
=no
10729 # Test if we are trying to use run time linking or normal
10730 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10731 # need to do runtime linking.
10732 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10733 for ld_flag
in $LDFLAGS; do
10734 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10735 aix_use_runtimelinking
=yes
10742 exp_sym_flag
='-bexport'
10743 no_entry_flag
='-bnoentry'
10746 # When large executables or shared objects are built, AIX ld can
10747 # have problems creating the table of contents. If linking a library
10748 # or program results in "error TOC overflow" add -mminimal-toc to
10749 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10750 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10753 hardcode_direct
=yes
10754 hardcode_direct_absolute
=yes
10755 hardcode_libdir_separator
=':'
10756 link_all_deplibs
=yes
10757 file_list_spec
='${wl}-f,'
10759 if test "$GCC" = yes; then
10760 case $host_os in aix4.
[012]|aix4.
[012].
*)
10761 # We only want to do this on AIX 4.2 and lower, the check
10762 # below for broken collect2 doesn't work under 4.3+
10763 collect2name
=`${CC} -print-prog-name=collect2`
10764 if test -f "$collect2name" &&
10765 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10767 # We have reworked collect2
10770 # We have old collect2
10771 hardcode_direct
=unsupported
10772 # It fails to find uninstalled libraries when the uninstalled
10773 # path is not listed in the libpath. Setting hardcode_minus_L
10774 # to unsupported forces relinking
10775 hardcode_minus_L
=yes
10776 hardcode_libdir_flag_spec
='-L$libdir'
10777 hardcode_libdir_separator
=
10781 shared_flag
='-shared'
10782 if test "$aix_use_runtimelinking" = yes; then
10783 shared_flag
="$shared_flag "'${wl}-G'
10787 if test "$host_cpu" = ia64
; then
10788 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10789 # chokes on -Wl,-G. The following line is correct:
10792 if test "$aix_use_runtimelinking" = yes; then
10793 shared_flag
='${wl}-G'
10795 shared_flag
='${wl}-bM:SRE'
10800 export_dynamic_flag_spec
='${wl}-bexpall'
10801 # It seems that -bexpall does not export symbols beginning with
10802 # underscore (_), so it is better to generate a list of symbols to export.
10803 always_export_symbols
=yes
10804 if test "$aix_use_runtimelinking" = yes; then
10805 # Warning - without using the other runtime loading flags (-brtl),
10806 # -berok will link without error, but may produce a broken library.
10807 allow_undefined_flag
='-berok'
10808 # Determine the default libpath from the value encoded in an
10809 # empty executable.
10810 if test x
$gcc_no_link = xyes
; then
10811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10824 if ac_fn_c_try_link
"$LINENO"; then :
10826 lt_aix_libpath_sed
='
10827 /Import File Strings/,/^$/ {
10833 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10834 # Check for a 64-bit object if we didn't find anything.
10835 if test -z "$aix_libpath"; then
10836 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10839 rm -f core conftest.err conftest.
$ac_objext \
10840 conftest
$ac_exeext conftest.
$ac_ext
10841 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10843 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10844 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"
10846 if test "$host_cpu" = ia64
; then
10847 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10848 allow_undefined_flag
="-z nodefs"
10849 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"
10851 # Determine the default libpath from the value encoded in an
10852 # empty executable.
10853 if test x
$gcc_no_link = xyes
; then
10854 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10867 if ac_fn_c_try_link
"$LINENO"; then :
10869 lt_aix_libpath_sed
='
10870 /Import File Strings/,/^$/ {
10876 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10877 # Check for a 64-bit object if we didn't find anything.
10878 if test -z "$aix_libpath"; then
10879 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10882 rm -f core conftest.err conftest.
$ac_objext \
10883 conftest
$ac_exeext conftest.
$ac_ext
10884 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10886 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10887 # Warning - without using the other run time loading flags,
10888 # -berok will link without error, but may produce a broken library.
10889 no_undefined_flag
=' ${wl}-bernotok'
10890 allow_undefined_flag
=' ${wl}-berok'
10891 if test "$with_gnu_ld" = yes; then
10892 # We only use this code for GNU lds that support --whole-archive.
10893 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10895 # Exported symbols can be pulled into shared objects from archives
10896 whole_archive_flag_spec
='$convenience'
10898 archive_cmds_need_lc
=yes
10899 # This is similar to how AIX traditionally builds its shared libraries.
10900 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'
10908 # see comment about AmigaOS4 .so support
10909 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10910 archive_expsym_cmds
=''
10913 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)'
10914 hardcode_libdir_flag_spec
='-L$libdir'
10915 hardcode_minus_L
=yes
10921 export_dynamic_flag_spec
=-rdynamic
10924 cygwin
* | mingw
* | pw32
* | cegcc
*)
10925 # When not using gcc, we currently assume that we are using
10926 # Microsoft Visual C++.
10927 # hardcode_libdir_flag_spec is actually meaningless, as there is
10928 # no search path for DLLs.
10929 hardcode_libdir_flag_spec
=' '
10930 allow_undefined_flag
=unsupported
10931 # Tell ltmain to make .lib files, not .a files.
10933 # Tell ltmain to make .dll files, not .so files.
10935 # FIXME: Setting linknames here is a bad hack.
10936 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10937 # The linker will automatically build a .lib file if we build a DLL.
10938 old_archive_from_new_cmds
='true'
10939 # FIXME: Should let the user specify the lib program.
10940 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10941 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10942 enable_shared_with_static_runtimes
=yes
10945 darwin
* | rhapsody
*)
10948 archive_cmds_need_lc
=no
10950 hardcode_automatic
=yes
10951 hardcode_shlibpath_var
=unsupported
10952 if test "$lt_cv_ld_force_load" = "yes"; then
10953 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\"`'
10955 whole_archive_flag_spec
=''
10957 link_all_deplibs
=yes
10958 allow_undefined_flag
="$_lt_dar_allow_undefined"
10959 case $cc_basename in
10960 ifort
*) _lt_dar_can_shared
=yes ;;
10961 *) _lt_dar_can_shared
=$GCC ;;
10963 if test "$_lt_dar_can_shared" = "yes"; then
10964 output_verbose_link_cmd
=func_echo_all
10965 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10966 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10967 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}"
10968 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}"
10977 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10978 hardcode_libdir_flag_spec
='-L$libdir'
10979 hardcode_shlibpath_var
=no
10982 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10983 # support. Future versions do this automatically, but an explicit c++rt0.o
10984 # does not break anything, and helps significantly (at the cost of a little
10987 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10988 hardcode_libdir_flag_spec
='-R$libdir'
10989 hardcode_direct
=yes
10990 hardcode_shlibpath_var
=no
10993 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10995 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10996 hardcode_direct
=yes
10997 hardcode_minus_L
=yes
10998 hardcode_shlibpath_var
=no
11001 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11002 freebsd
* | dragonfly
*)
11003 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11004 hardcode_libdir_flag_spec
='-R$libdir'
11005 hardcode_direct
=yes
11006 hardcode_shlibpath_var
=no
11010 if test "$GCC" = yes; then
11011 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'
11013 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'
11015 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11016 hardcode_libdir_separator
=:
11017 hardcode_direct
=yes
11019 # hardcode_minus_L: Not really in the search PATH,
11020 # but as the default location of the library.
11021 hardcode_minus_L
=yes
11022 export_dynamic_flag_spec
='${wl}-E'
11026 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11027 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11029 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11031 if test "$with_gnu_ld" = no
; then
11032 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11033 hardcode_libdir_flag_spec_ld
='+b $libdir'
11034 hardcode_libdir_separator
=:
11035 hardcode_direct
=yes
11036 hardcode_direct_absolute
=yes
11037 export_dynamic_flag_spec
='${wl}-E'
11038 # hardcode_minus_L: Not really in the search PATH,
11039 # but as the default location of the library.
11040 hardcode_minus_L
=yes
11045 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11048 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11051 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11054 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11060 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11063 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11067 # Older versions of the 11.00 compiler do not understand -b yet
11068 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11070 $as_echo_n "checking if $CC understands -b... " >&6; }
11071 if ${lt_cv_prog_compiler__b+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 lt_cv_prog_compiler__b
=no
11075 save_LDFLAGS
="$LDFLAGS"
11076 LDFLAGS
="$LDFLAGS -b"
11077 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11078 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11079 # The linker can only warn and ignore the option if not recognized
11080 # So say no if there are warnings
11081 if test -s conftest.err
; then
11082 # Append any errors to the config.log.
11083 cat conftest.err
1>&5
11084 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11085 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11086 if diff conftest.exp conftest.er2
>/dev
/null
; then
11087 lt_cv_prog_compiler__b
=yes
11090 lt_cv_prog_compiler__b
=yes
11094 LDFLAGS
="$save_LDFLAGS"
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11098 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11100 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11101 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11103 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11109 if test "$with_gnu_ld" = no
; then
11110 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11111 hardcode_libdir_separator
=:
11116 hardcode_shlibpath_var
=no
11119 hardcode_direct
=yes
11120 hardcode_direct_absolute
=yes
11121 export_dynamic_flag_spec
='${wl}-E'
11123 # hardcode_minus_L: Not really in the search PATH,
11124 # but as the default location of the library.
11125 hardcode_minus_L
=yes
11131 irix5
* | irix6
* | nonstopux
*)
11132 if test "$GCC" = yes; then
11133 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'
11134 # Try to use the -exported_symbol ld option, if it does not
11135 # work, assume that -exports_file does not work either and
11136 # implicitly export all symbols.
11137 save_LDFLAGS
="$LDFLAGS"
11138 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11139 if test x
$gcc_no_link = xyes
; then
11140 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11146 if ac_fn_c_try_link
"$LINENO"; then :
11147 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'
11150 rm -f core conftest.err conftest.
$ac_objext \
11151 conftest
$ac_exeext conftest.
$ac_ext
11152 LDFLAGS
="$save_LDFLAGS"
11154 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'
11155 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'
11157 archive_cmds_need_lc
='no'
11158 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11159 hardcode_libdir_separator
=:
11161 link_all_deplibs
=yes
11165 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11166 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11168 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11170 hardcode_libdir_flag_spec
='-R$libdir'
11171 hardcode_direct
=yes
11172 hardcode_shlibpath_var
=no
11176 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11177 hardcode_direct
=yes
11178 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11179 hardcode_libdir_separator
=:
11180 hardcode_shlibpath_var
=no
11187 if test -f /usr
/libexec
/ld.so
; then
11188 hardcode_direct
=yes
11189 hardcode_shlibpath_var
=no
11190 hardcode_direct_absolute
=yes
11191 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11192 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11193 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11194 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11195 export_dynamic_flag_spec
='${wl}-E'
11198 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11199 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11200 hardcode_libdir_flag_spec
='-R$libdir'
11203 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11204 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11214 hardcode_libdir_flag_spec
='-L$libdir'
11215 hardcode_minus_L
=yes
11216 allow_undefined_flag
=unsupported
11217 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'
11218 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11222 if test "$GCC" = yes; then
11223 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11224 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'
11226 allow_undefined_flag
=' -expect_unresolved \*'
11227 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'
11229 archive_cmds_need_lc
='no'
11230 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11231 hardcode_libdir_separator
=:
11234 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11235 if test "$GCC" = yes; then
11236 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11237 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'
11238 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11240 allow_undefined_flag
=' -expect_unresolved \*'
11241 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'
11242 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~
11243 $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'
11245 # Both c and cxx compiler support -rpath directly
11246 hardcode_libdir_flag_spec
='-rpath $libdir'
11248 archive_cmds_need_lc
='no'
11249 hardcode_libdir_separator
=:
11253 no_undefined_flag
=' -z defs'
11254 if test "$GCC" = yes; then
11256 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11257 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11258 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11260 case `$CC -V 2>&1` in
11263 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11264 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11265 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11269 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11270 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11271 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11275 hardcode_libdir_flag_spec
='-R$libdir'
11276 hardcode_shlibpath_var
=no
11278 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11280 # The compiler driver will combine and reorder linker options,
11281 # but understands `-z linker_flag'. GCC discards it without `$wl',
11282 # but is careful enough not to reorder.
11283 # Supported since Solaris 2.6 (maybe 2.5.1?)
11284 if test "$GCC" = yes; then
11285 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11287 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11291 link_all_deplibs
=yes
11295 if test "x$host_vendor" = xsequent
; then
11296 # Use $CC to link under sequent, because it throws in some extra .o
11297 # files that make .init and .fini sections work.
11298 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11300 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11302 hardcode_libdir_flag_spec
='-L$libdir'
11303 hardcode_direct
=yes
11304 hardcode_minus_L
=yes
11305 hardcode_shlibpath_var
=no
11309 case $host_vendor in
11311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11312 hardcode_direct
=yes # is this really true???
11315 ## LD is ld it makes a PLAMLIB
11316 ## CC just makes a GrossModule.
11317 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11318 reload_cmds
='$CC -r -o $output$reload_objs'
11322 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11323 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11326 runpath_var
='LD_RUN_PATH'
11327 hardcode_shlibpath_var
=no
11331 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11332 hardcode_shlibpath_var
=no
11333 export_dynamic_flag_spec
='-Bexport'
11337 if test -d /usr
/nec
; then
11338 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11339 hardcode_shlibpath_var
=no
11340 runpath_var
=LD_RUN_PATH
11341 hardcode_runpath_var
=yes
11346 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11347 no_undefined_flag
='${wl}-z,text'
11348 archive_cmds_need_lc
=no
11349 hardcode_shlibpath_var
=no
11350 runpath_var
='LD_RUN_PATH'
11352 if test "$GCC" = yes; then
11353 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11354 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11356 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11357 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11361 sysv5
* | sco3.2v5
* | sco5v6
*)
11362 # Note: We can NOT use -z defs as we might desire, because we do not
11363 # link with -lc, and that would cause any symbols used from libc to
11364 # always be unresolved, which means just about no library would
11365 # ever link correctly. If we're not using GNU ld we use -z text
11366 # though, which does catch some bad symbols but isn't as heavy-handed
11368 no_undefined_flag
='${wl}-z,text'
11369 allow_undefined_flag
='${wl}-z,nodefs'
11370 archive_cmds_need_lc
=no
11371 hardcode_shlibpath_var
=no
11372 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11373 hardcode_libdir_separator
=':'
11374 link_all_deplibs
=yes
11375 export_dynamic_flag_spec
='${wl}-Bexport'
11376 runpath_var
='LD_RUN_PATH'
11378 if test "$GCC" = yes; then
11379 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11380 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11382 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11383 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11388 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11389 hardcode_libdir_flag_spec
='-L$libdir'
11390 hardcode_shlibpath_var
=no
11398 if test x
$host_vendor = xsni
; then
11400 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11401 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11408 $as_echo "$ld_shlibs" >&6; }
11409 test "$ld_shlibs" = no
&& can_build_shared
=no
11411 with_gnu_ld
=$with_gnu_ld
11428 # Do we need to explicitly link libc?
11430 case "x$archive_cmds_need_lc" in
11432 # Assume -lc should be added
11433 archive_cmds_need_lc
=yes
11435 if test "$enable_shared" = yes && test "$GCC" = yes; then
11436 case $archive_cmds in
11438 # FIXME: we may have to deal with multi-command sequences.
11441 # Test whether the compiler implicitly links with -lc since on some
11442 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11443 # to ld, don't add -lc before -lgcc.
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11445 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11446 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11447 $as_echo_n "(cached) " >&6
11450 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11453 (eval $ac_compile) 2>&5
11455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11456 test $ac_status = 0; } 2>conftest.err
; then
11459 libobjs
=conftest.
$ac_objext
11461 wl
=$lt_prog_compiler_wl
11462 pic_flag
=$lt_prog_compiler_pic
11468 lt_save_allow_undefined_flag
=$allow_undefined_flag
11469 allow_undefined_flag
=
11470 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11471 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11474 test $ac_status = 0; }
11476 lt_cv_archive_cmds_need_lc
=no
11478 lt_cv_archive_cmds_need_lc
=yes
11480 allow_undefined_flag
=$lt_save_allow_undefined_flag
11482 cat conftest.err
1>&5
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11488 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11489 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11653 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11655 if test "$GCC" = yes; then
11657 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11658 *) lt_awk_arg
="/^libraries:/" ;;
11661 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11662 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11664 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11665 case $lt_search_path_spec in
11667 # if the path contains ";" then we assume it to be the separator
11668 # otherwise default to the standard path separator (i.e. ":") - it is
11669 # assumed that no part of a normal pathname contains ";" but that should
11670 # okay in the real world where ";" in dirpaths is itself problematic.
11671 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11674 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11677 # Ok, now we have the path, separated by spaces, we can step through it
11678 # and add multilib dir if necessary.
11679 lt_tmp_lt_search_path_spec
=
11680 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11681 for lt_sys_path
in $lt_search_path_spec; do
11682 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11683 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11685 test -d "$lt_sys_path" && \
11686 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11689 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11690 BEGIN {RS=" "; FS="/|\n";} {
11693 for (lt_i = NF; lt_i > 0; lt_i--) {
11694 if ($lt_i != "" && $lt_i != ".") {
11695 if ($lt_i == "..") {
11698 if (lt_count == 0) {
11699 lt_foo="/" $lt_i lt_foo;
11706 if (lt_foo != "") { lt_freq[lt_foo]++; }
11707 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11709 # AWK program above erroneously prepends '/' to C:/dos/paths
11712 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11713 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11715 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11717 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11719 library_names_spec
=
11720 libname_spec
='lib$name'
11724 postuninstall_cmds
=
11728 shlibpath_overrides_runpath
=unknown
11730 dynamic_linker
="$host_os ld.so"
11731 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11732 need_lib_prefix
=unknown
11733 hardcode_into_libs
=no
11735 # when you set need_version to no, make sure it does not cause -set_version
11736 # flags to be left without arguments
11737 need_version
=unknown
11742 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11743 shlibpath_var
=LIBPATH
11745 # AIX 3 has no versioning support, so we append a major version to the name.
11746 soname_spec
='${libname}${release}${shared_ext}$major'
11753 hardcode_into_libs
=yes
11754 if test "$host_cpu" = ia64
; then
11755 # AIX 5 supports IA64
11756 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11757 shlibpath_var
=LD_LIBRARY_PATH
11759 # With GCC up to 2.95.x, collect2 would create an import file
11760 # for dependence libraries. The import file would start with
11761 # the line `#! .'. This would cause the generated library to
11762 # depend on `.', always an invalid library. This was fixed in
11763 # development snapshots of GCC prior to 3.0.
11765 aix4 | aix4.
[01] | aix4.
[01].
*)
11766 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11768 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11771 can_build_shared
=no
11775 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11776 # soname into executable. Probably we can add versioning support to
11777 # collect2, so additional links can be useful in future.
11778 if test "$aix_use_runtimelinking" = yes; then
11779 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11780 # instead of lib<name>.a to let people know that these are not
11781 # typical AIX shared libraries.
11782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11784 # We preserve .a as extension for shared libraries through AIX4.2
11785 # and later when we are not doing run time linking.
11786 library_names_spec
='${libname}${release}.a $libname.a'
11787 soname_spec
='${libname}${release}${shared_ext}$major'
11789 shlibpath_var
=LIBPATH
11796 # Since July 2007 AmigaOS4 officially supports .so libraries.
11797 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801 library_names_spec
='$libname.ixlibrary $libname.a'
11802 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11803 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'
11809 library_names_spec
='${libname}${shared_ext}'
11810 dynamic_linker
="$host_os ld.so"
11811 shlibpath_var
=LIBRARY_PATH
11817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818 soname_spec
='${libname}${release}${shared_ext}$major'
11819 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11820 shlibpath_var
=LD_LIBRARY_PATH
11821 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11822 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11823 # the default ld.so.conf also contains /usr/contrib/lib and
11824 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11825 # libtool to hard-code these into programs
11828 cygwin
* | mingw
* | pw32
* | cegcc
*)
11829 version_type
=windows
11834 case $GCC,$host_os in
11835 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11836 library_names_spec
='$libname.dll.a'
11837 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11838 postinstall_cmds
='base_file=`basename \${file}`~
11839 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11840 dldir=$destdir/`dirname \$dlpath`~
11841 test -d \$dldir || mkdir -p \$dldir~
11842 $install_prog $dir/$dlname \$dldir/$dlname~
11843 chmod a+x \$dldir/$dlname~
11844 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11845 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11847 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11848 dlpath=$dir/\$dldll~
11850 shlibpath_overrides_runpath
=yes
11854 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11855 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11857 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11860 # MinGW DLLs use traditional 'lib' prefix
11861 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11864 # pw32 DLLs use 'pw' prefix rather than 'lib'
11865 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11871 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11874 dynamic_linker
='Win32 ld.exe'
11875 # FIXME: first we should search . and the directory the executable is in
11879 darwin
* | rhapsody
*)
11880 dynamic_linker
="$host_os dyld"
11881 version_type
=darwin
11884 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11885 soname_spec
='${libname}${release}${major}$shared_ext'
11886 shlibpath_overrides_runpath
=yes
11887 shlibpath_var
=DYLD_LIBRARY_PATH
11888 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11890 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11891 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11899 soname_spec
='${libname}${release}${shared_ext}$major'
11900 shlibpath_var
=LD_LIBRARY_PATH
11903 freebsd
* | dragonfly
*)
11904 # DragonFly does not have aout. When/if they implement a new
11905 # versioning mechanism, adjust this.
11906 if test -x /usr
/bin
/objformat
; then
11907 objformat
=`/usr/bin/objformat`
11910 freebsd
[23].
*) objformat
=aout
;;
11911 *) objformat
=elf
;;
11914 version_type
=freebsd-
$objformat
11915 case $version_type in
11917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11922 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11926 shlibpath_var
=LD_LIBRARY_PATH
11929 shlibpath_overrides_runpath
=yes
11931 freebsd3.
[01]* | freebsdelf3.
[01]*)
11932 shlibpath_overrides_runpath
=yes
11933 hardcode_into_libs
=yes
11935 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11936 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11937 shlibpath_overrides_runpath
=no
11938 hardcode_into_libs
=yes
11940 *) # from 4.6 on, and DragonFly
11941 shlibpath_overrides_runpath
=yes
11942 hardcode_into_libs
=yes
11951 dynamic_linker
="$host_os runtime_loader"
11952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11953 soname_spec
='${libname}${release}${shared_ext}$major'
11954 shlibpath_var
=LIBRARY_PATH
11955 shlibpath_overrides_runpath
=yes
11956 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11957 hardcode_into_libs
=yes
11960 hpux9
* | hpux10
* | hpux11
*)
11961 # Give a soname corresponding to the major version so that dld.sl refuses to
11962 # link against other versions.
11969 hardcode_into_libs
=yes
11970 dynamic_linker
="$host_os dld.so"
11971 shlibpath_var
=LD_LIBRARY_PATH
11972 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11974 soname_spec
='${libname}${release}${shared_ext}$major'
11975 if test "X$HPUX_IA64_MODE" = X32
; then
11976 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11978 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11980 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11984 hardcode_into_libs
=yes
11985 dynamic_linker
="$host_os dld.sl"
11986 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11987 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11989 soname_spec
='${libname}${release}${shared_ext}$major'
11990 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11991 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11995 dynamic_linker
="$host_os dld.sl"
11996 shlibpath_var
=SHLIB_PATH
11997 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11999 soname_spec
='${libname}${release}${shared_ext}$major'
12002 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12003 postinstall_cmds
='chmod 555 $lib'
12004 # or fails outright, so override atomically:
12005 install_override_mode
=555
12012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12013 soname_spec
='${libname}${release}${shared_ext}$major'
12014 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12015 shlibpath_var
=LD_LIBRARY_PATH
12016 shlibpath_overrides_runpath
=no
12017 hardcode_into_libs
=yes
12020 irix5
* | irix6
* | nonstopux
*)
12022 nonstopux
*) version_type
=nonstopux
;;
12024 if test "$lt_cv_prog_gnu_ld" = yes; then
12032 soname_spec
='${libname}${release}${shared_ext}$major'
12033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12035 irix5
* | nonstopux
*)
12036 libsuff
= shlibsuff
=
12039 case $LD in # libtool.m4 will add one of these switches to LD
12040 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12041 libsuff
= shlibsuff
= libmagic
=32-bit;;
12042 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12043 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12044 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12045 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12046 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12050 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12051 shlibpath_overrides_runpath
=no
12052 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12053 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12054 hardcode_into_libs
=yes
12057 # No shared lib support for Linux oldld, aout, or coff.
12058 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12062 # This must be Linux ELF.
12064 # uclinux* changes (here and below) have been submitted to the libtool
12065 # project, but have not yet been accepted: they are GCC-local changes
12066 # for the time being. (See
12067 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12068 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12073 soname_spec
='${libname}${release}${shared_ext}$major'
12074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12075 shlibpath_var
=LD_LIBRARY_PATH
12076 shlibpath_overrides_runpath
=no
12078 # Some binutils ld are patched to set DT_RUNPATH
12079 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12080 $as_echo_n "(cached) " >&6
12082 lt_cv_shlibpath_overrides_runpath
=no
12083 save_LDFLAGS
=$LDFLAGS
12084 save_libdir
=$libdir
12085 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12086 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12087 if test x
$gcc_no_link = xyes
; then
12088 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12101 if ac_fn_c_try_link
"$LINENO"; then :
12102 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12103 lt_cv_shlibpath_overrides_runpath
=yes
12106 rm -f core conftest.err conftest.
$ac_objext \
12107 conftest
$ac_exeext conftest.
$ac_ext
12108 LDFLAGS
=$save_LDFLAGS
12109 libdir
=$save_libdir
12113 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12115 # This implies no fast_install, which is unacceptable.
12116 # Some rework will be needed to allow for fast_install
12117 # before this can be enabled.
12118 hardcode_into_libs
=yes
12120 # Append ld.so.conf contents to the search path
12121 if test -f /etc
/ld.so.conf
; then
12122 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' ' '`
12123 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12126 # We used to test for /lib/ld.so.1 and disable shared libraries on
12127 # powerpc, because MkLinux only supported shared libraries with the
12128 # GNU dynamic linker. Since this was broken with cross compilers,
12129 # most powerpc-linux boxes support dynamic linking these days and
12130 # people can always --disable-shared, the test was removed, and we
12131 # assume the GNU/Linux dynamic linker is in use.
12132 dynamic_linker
='GNU/Linux ld.so'
12139 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12141 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12142 dynamic_linker
='NetBSD (a.out) ld.so'
12144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12145 soname_spec
='${libname}${release}${shared_ext}$major'
12146 dynamic_linker
='NetBSD ld.elf_so'
12148 shlibpath_var
=LD_LIBRARY_PATH
12149 shlibpath_overrides_runpath
=yes
12150 hardcode_into_libs
=yes
12155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12156 shlibpath_var
=LD_LIBRARY_PATH
12157 shlibpath_overrides_runpath
=yes
12164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12165 soname_spec
='${libname}${release}${shared_ext}$major'
12166 shlibpath_var
=LD_LIBRARY_PATH
12167 shlibpath_overrides_runpath
=no
12168 hardcode_into_libs
=yes
12169 dynamic_linker
='ldqnx.so'
12174 sys_lib_dlsearch_path_spec
="/usr/lib"
12176 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12178 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12179 *) need_version
=no
;;
12181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12182 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12183 shlibpath_var
=LD_LIBRARY_PATH
12184 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12186 openbsd2.
[89] | openbsd2.
[89].
*)
12187 shlibpath_overrides_runpath
=no
12190 shlibpath_overrides_runpath
=yes
12194 shlibpath_overrides_runpath
=yes
12199 libname_spec
='$name'
12202 library_names_spec
='$libname${shared_ext} $libname.a'
12203 dynamic_linker
='OS/2 ld.exe'
12204 shlibpath_var
=LIBPATH
12207 osf3
* | osf4
* | osf5
*)
12211 soname_spec
='${libname}${release}${shared_ext}$major'
12212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12213 shlibpath_var
=LD_LIBRARY_PATH
12214 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12215 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12227 soname_spec
='${libname}${release}${shared_ext}$major'
12228 shlibpath_var
=LD_LIBRARY_PATH
12229 shlibpath_overrides_runpath
=yes
12230 hardcode_into_libs
=yes
12231 # ldd complains unless libraries are executable
12232 postinstall_cmds
='chmod +x $lib'
12237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12238 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12239 shlibpath_var
=LD_LIBRARY_PATH
12240 shlibpath_overrides_runpath
=yes
12241 if test "$with_gnu_ld" = yes; then
12249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12250 soname_spec
='${libname}${release}${shared_ext}$major'
12251 shlibpath_var
=LD_LIBRARY_PATH
12252 case $host_vendor in
12254 shlibpath_overrides_runpath
=no
12256 runpath_var
=LD_RUN_PATH
12264 shlibpath_overrides_runpath
=no
12265 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12271 if test -d /usr
/nec
;then
12273 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12274 soname_spec
='$libname${shared_ext}.$major'
12275 shlibpath_var
=LD_LIBRARY_PATH
12279 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12280 version_type
=freebsd-elf
12283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12284 soname_spec
='${libname}${release}${shared_ext}$major'
12285 shlibpath_var
=LD_LIBRARY_PATH
12286 shlibpath_overrides_runpath
=yes
12287 hardcode_into_libs
=yes
12288 if test "$with_gnu_ld" = yes; then
12289 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12291 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12294 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12298 sys_lib_dlsearch_path_spec
='/usr/lib'
12302 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12307 shlibpath_var
=LD_LIBRARY_PATH
12308 shlibpath_overrides_runpath
=no
12309 hardcode_into_libs
=yes
12314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12315 soname_spec
='${libname}${release}${shared_ext}$major'
12316 shlibpath_var
=LD_LIBRARY_PATH
12319 # Shared libraries for VwWorks, >= 7 only at this stage
12320 # and (fpic) still incompatible with "large" code models
12321 # in a few configurations. Only for RTP mode in any case,
12322 # and upon explicit request at configure time.
12325 case ${with_multisubdir}-${enable_shared} in
12332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12333 soname_spec
='${libname}${release}${shared_ext}$major'
12334 dynamic_linker
="$host_os module_loader"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12343 $as_echo "$dynamic_linker" >&6; }
12344 test "$dynamic_linker" = no
&& can_build_shared
=no
12346 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12347 if test "$GCC" = yes; then
12348 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12351 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12352 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12354 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12355 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12450 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12452 if test -n "$hardcode_libdir_flag_spec" ||
12453 test -n "$runpath_var" ||
12454 test "X$hardcode_automatic" = "Xyes" ; then
12456 # We can hardcode non-existent directories.
12457 if test "$hardcode_direct" != no
&&
12458 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12459 # have to relink, otherwise we might link with an installed library
12460 # when we should be linking with a yet-to-be-installed one
12461 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12462 test "$hardcode_minus_L" != no
; then
12463 # Linking always hardcodes the temporary library directory.
12464 hardcode_action
=relink
12466 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12467 hardcode_action
=immediate
12470 # We cannot hardcode anything, or else we can only hardcode existing
12472 hardcode_action
=unsupported
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12475 $as_echo "$hardcode_action" >&6; }
12477 if test "$hardcode_action" = relink ||
12478 test "$inherit_rpath" = yes; then
12479 # Fast installation is not supported
12480 enable_fast_install
=no
12481 elif test "$shlibpath_overrides_runpath" = yes ||
12482 test "$enable_shared" = no
; then
12483 # Fast installation is not necessary
12484 enable_fast_install
=needless
12492 if test "x$enable_dlopen" != xyes
; then
12493 enable_dlopen
=unknown
12494 enable_dlopen_self
=unknown
12495 enable_dlopen_self_static
=unknown
12502 lt_cv_dlopen
="load_add_on"
12504 lt_cv_dlopen_self
=yes
12507 mingw
* | pw32
* | cegcc
*)
12508 lt_cv_dlopen
="LoadLibrary"
12513 lt_cv_dlopen
="dlopen"
12518 # if libdl is installed we need to link against it
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12520 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12521 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12522 $as_echo_n "(cached) " >&6
12524 ac_check_lib_save_LIBS
=$LIBS
12526 if test x
$gcc_no_link = xyes
; then
12527 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_lib_dl_dlopen
=yes
12550 ac_cv_lib_dl_dlopen
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 LIBS
=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12557 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12558 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12559 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12562 lt_cv_dlopen
="dyld"
12564 lt_cv_dlopen_self
=yes
12571 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12572 if test "x$ac_cv_func_shl_load" = xyes
; then :
12573 lt_cv_dlopen
="shl_load"
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12576 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12577 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12578 $as_echo_n "(cached) " >&6
12580 ac_check_lib_save_LIBS
=$LIBS
12582 if test x
$gcc_no_link = xyes
; then
12583 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12598 return shl_load ();
12603 if ac_fn_c_try_link
"$LINENO"; then :
12604 ac_cv_lib_dld_shl_load
=yes
12606 ac_cv_lib_dld_shl_load
=no
12608 rm -f core conftest.err conftest.
$ac_objext \
12609 conftest
$ac_exeext conftest.
$ac_ext
12610 LIBS
=$ac_check_lib_save_LIBS
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12613 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12614 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12615 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12617 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12618 if test "x$ac_cv_func_dlopen" = xyes
; then :
12619 lt_cv_dlopen
="dlopen"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12622 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12623 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12624 $as_echo_n "(cached) " >&6
12626 ac_check_lib_save_LIBS
=$LIBS
12628 if test x
$gcc_no_link = xyes
; then
12629 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12649 if ac_fn_c_try_link
"$LINENO"; then :
12650 ac_cv_lib_dl_dlopen
=yes
12652 ac_cv_lib_dl_dlopen
=no
12654 rm -f core conftest.err conftest.
$ac_objext \
12655 conftest
$ac_exeext conftest.
$ac_ext
12656 LIBS
=$ac_check_lib_save_LIBS
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12659 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12660 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12661 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12664 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12665 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12666 $as_echo_n "(cached) " >&6
12668 ac_check_lib_save_LIBS
=$LIBS
12669 LIBS
="-lsvld $LIBS"
12670 if test x
$gcc_no_link = xyes
; then
12671 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 /* Override any GCC internal prototype to avoid an error.
12677 Use char because int might match the return type of a GCC
12678 builtin and then its argument prototype would still apply. */
12691 if ac_fn_c_try_link
"$LINENO"; then :
12692 ac_cv_lib_svld_dlopen
=yes
12694 ac_cv_lib_svld_dlopen
=no
12696 rm -f core conftest.err conftest.
$ac_objext \
12697 conftest
$ac_exeext conftest.
$ac_ext
12698 LIBS
=$ac_check_lib_save_LIBS
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12701 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12702 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12703 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12706 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12707 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12708 $as_echo_n "(cached) " >&6
12710 ac_check_lib_save_LIBS
=$LIBS
12712 if test x
$gcc_no_link = xyes
; then
12713 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12728 return dld_link ();
12733 if ac_fn_c_try_link
"$LINENO"; then :
12734 ac_cv_lib_dld_dld_link
=yes
12736 ac_cv_lib_dld_dld_link
=no
12738 rm -f core conftest.err conftest.
$ac_objext \
12739 conftest
$ac_exeext conftest.
$ac_ext
12740 LIBS
=$ac_check_lib_save_LIBS
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12743 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12744 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12745 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12766 if test "x$lt_cv_dlopen" != xno
; then
12772 case $lt_cv_dlopen in
12774 save_CPPFLAGS
="$CPPFLAGS"
12775 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12777 save_LDFLAGS
="$LDFLAGS"
12778 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12781 LIBS
="$lt_cv_dlopen_libs $LIBS"
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12784 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12785 if ${lt_cv_dlopen_self+:} false
; then :
12786 $as_echo_n "(cached) " >&6
12788 if test "$cross_compiling" = yes; then :
12789 lt_cv_dlopen_self
=cross
12791 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12792 lt_status
=$lt_dlunknown
12793 cat > conftest.
$ac_ext <<_LT_EOF
12794 #line 12794 "configure"
12795 #include "confdefs.h"
12804 # define LT_DLGLOBAL RTLD_GLOBAL
12807 # define LT_DLGLOBAL DL_GLOBAL
12809 # define LT_DLGLOBAL 0
12813 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12814 find out it does not work in some platform. */
12815 #ifndef LT_DLLAZY_OR_NOW
12817 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12820 # define LT_DLLAZY_OR_NOW DL_LAZY
12823 # define LT_DLLAZY_OR_NOW RTLD_NOW
12826 # define LT_DLLAZY_OR_NOW DL_NOW
12828 # define LT_DLLAZY_OR_NOW 0
12835 /* When -fvisbility=hidden is used, assume the code has been annotated
12836 correspondingly for the symbols needed. */
12837 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12838 void fnord () __attribute__((visibility("default")));
12841 void fnord () { int i=42; }
12844 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12845 int status = $lt_dlunknown;
12849 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12852 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12853 else puts (dlerror ());
12855 /* dlclose (self); */
12863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12864 (eval $ac_link) 2>&5
12866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12867 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12868 (.
/conftest
; exit; ) >&5 2>/dev
/null
12870 case x
$lt_status in
12871 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12872 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12873 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12876 # compilation failed
12877 lt_cv_dlopen_self
=no
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12885 $as_echo "$lt_cv_dlopen_self" >&6; }
12887 if test "x$lt_cv_dlopen_self" = xyes
; then
12888 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12890 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12891 if ${lt_cv_dlopen_self_static+:} false
; then :
12892 $as_echo_n "(cached) " >&6
12894 if test "$cross_compiling" = yes; then :
12895 lt_cv_dlopen_self_static
=cross
12897 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12898 lt_status
=$lt_dlunknown
12899 cat > conftest.
$ac_ext <<_LT_EOF
12900 #line 12900 "configure"
12901 #include "confdefs.h"
12910 # define LT_DLGLOBAL RTLD_GLOBAL
12913 # define LT_DLGLOBAL DL_GLOBAL
12915 # define LT_DLGLOBAL 0
12919 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12920 find out it does not work in some platform. */
12921 #ifndef LT_DLLAZY_OR_NOW
12923 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12926 # define LT_DLLAZY_OR_NOW DL_LAZY
12929 # define LT_DLLAZY_OR_NOW RTLD_NOW
12932 # define LT_DLLAZY_OR_NOW DL_NOW
12934 # define LT_DLLAZY_OR_NOW 0
12941 /* When -fvisbility=hidden is used, assume the code has been annotated
12942 correspondingly for the symbols needed. */
12943 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12944 void fnord () __attribute__((visibility("default")));
12947 void fnord () { int i=42; }
12950 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12951 int status = $lt_dlunknown;
12955 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12958 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12959 else puts (dlerror ());
12961 /* dlclose (self); */
12969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12970 (eval $ac_link) 2>&5
12972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12973 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12974 (.
/conftest
; exit; ) >&5 2>/dev
/null
12976 case x
$lt_status in
12977 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12978 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12979 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12982 # compilation failed
12983 lt_cv_dlopen_self_static
=no
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12991 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12994 CPPFLAGS
="$save_CPPFLAGS"
12995 LDFLAGS
="$save_LDFLAGS"
13000 case $lt_cv_dlopen_self in
13001 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13002 *) enable_dlopen_self
=unknown
;;
13005 case $lt_cv_dlopen_self_static in
13006 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13007 *) enable_dlopen_self_static
=unknown
;;
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13030 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13031 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13032 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13033 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13035 $as_echo "yes" >&6; }
13037 # FIXME - insert some real tests, host_os isn't really good enough
13040 if test -n "$STRIP" ; then
13041 striplib
="$STRIP -x"
13042 old_striplib
="$STRIP -S"
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13044 $as_echo "yes" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13052 $as_echo "no" >&6; }
13068 # Report which library types will actually be built
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13070 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13072 $as_echo "$can_build_shared" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13075 $as_echo_n "checking whether to build shared libraries... " >&6; }
13076 test "$can_build_shared" = "no" && enable_shared
=no
13078 # On AIX, shared libraries and static libraries use the same namespace, and
13079 # are all built from PIC.
13082 test "$enable_shared" = yes && enable_static
=no
13083 if test -n "$RANLIB"; then
13084 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13085 postinstall_cmds
='$RANLIB $lib'
13090 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13091 test "$enable_shared" = yes && enable_static
=no
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13096 $as_echo "$enable_shared" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13099 $as_echo_n "checking whether to build static libraries... " >&6; }
13100 # Make sure either enable_shared or enable_static is yes.
13101 test "$enable_shared" = yes || enable_static
=yes
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13103 $as_echo "$enable_static" >&6; }
13110 ac_cpp
='$CPP $CPPFLAGS'
13111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13129 ac_config_commands
="$ac_config_commands libtool"
13134 # Only expand once:
13139 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13140 # These system don't have libm, or don't need it
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13144 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13145 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13146 $as_echo_n "(cached) " >&6
13148 ac_check_lib_save_LIBS
=$LIBS
13150 if test x
$gcc_no_link = xyes
; then
13151 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13162 char _mwvalidcheckl ();
13166 return _mwvalidcheckl ();
13171 if ac_fn_c_try_link
"$LINENO"; then :
13172 ac_cv_lib_mw__mwvalidcheckl
=yes
13174 ac_cv_lib_mw__mwvalidcheckl
=no
13176 rm -f core conftest.err conftest.
$ac_objext \
13177 conftest
$ac_exeext conftest.
$ac_ext
13178 LIBS
=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13181 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13182 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13187 $as_echo_n "checking for cos in -lm... " >&6; }
13188 if ${ac_cv_lib_m_cos+:} false
; then :
13189 $as_echo_n "(cached) " >&6
13191 ac_check_lib_save_LIBS
=$LIBS
13193 if test x
$gcc_no_link = xyes
; then
13194 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13199 /* Override any GCC internal prototype to avoid an error.
13200 Use char because int might match the return type of a GCC
13201 builtin and then its argument prototype would still apply. */
13214 if ac_fn_c_try_link
"$LINENO"; then :
13215 ac_cv_lib_m_cos
=yes
13219 rm -f core conftest.err conftest.
$ac_objext \
13220 conftest
$ac_exeext conftest.
$ac_ext
13221 LIBS
=$ac_check_lib_save_LIBS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13224 $as_echo "$ac_cv_lib_m_cos" >&6; }
13225 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13232 $as_echo_n "checking for cos in -lm... " >&6; }
13233 if ${ac_cv_lib_m_cos+:} false
; then :
13234 $as_echo_n "(cached) " >&6
13236 ac_check_lib_save_LIBS
=$LIBS
13238 if test x
$gcc_no_link = xyes
; then
13239 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13259 if ac_fn_c_try_link
"$LINENO"; then :
13260 ac_cv_lib_m_cos
=yes
13264 rm -f core conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13266 LIBS
=$ac_check_lib_save_LIBS
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13269 $as_echo "$ac_cv_lib_m_cos" >&6; }
13270 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13282 *-cygwin* |
*-mingw*)
13283 # 'host' will be top-level target in the case of a target lib,
13284 # we must compare to with_cross_host to decide if this is a native
13285 # or cross-compiler and select where to install dlls appropriately.
13286 if test -n "$with_cross_host" &&
13287 test x
"$with_cross_host" != x
"no"; then
13288 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13290 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13302 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13304 # We need gfortran to compile parts of the library
13305 #AC_PROG_FC(gfortran)
13307 ac_ext
=${ac_fc_srcext-f}
13308 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13309 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13310 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13311 if test -n "$ac_tool_prefix"; then
13312 for ac_prog
in gfortran
13314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13315 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13317 $as_echo_n "checking for $ac_word... " >&6; }
13318 if ${ac_cv_prog_FC+:} false
; then :
13319 $as_echo_n "(cached) " >&6
13321 if test -n "$FC"; then
13322 ac_cv_prog_FC
="$FC" # Let the user override the test.
13324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13325 for as_dir
in $PATH
13328 test -z "$as_dir" && as_dir
=.
13329 for ac_exec_ext
in '' $ac_executable_extensions; do
13330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13331 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13342 if test -n "$FC"; then
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13344 $as_echo "$FC" >&6; }
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13347 $as_echo "no" >&6; }
13351 test -n "$FC" && break
13354 if test -z "$FC"; then
13356 for ac_prog
in gfortran
13358 # Extract the first word of "$ac_prog", so it can be a program name with args.
13359 set dummy
$ac_prog; ac_word
=$2
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13361 $as_echo_n "checking for $ac_word... " >&6; }
13362 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13363 $as_echo_n "(cached) " >&6
13365 if test -n "$ac_ct_FC"; then
13366 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13369 for as_dir
in $PATH
13372 test -z "$as_dir" && as_dir
=.
13373 for ac_exec_ext
in '' $ac_executable_extensions; do
13374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13375 ac_cv_prog_ac_ct_FC
="$ac_prog"
13376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13385 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13386 if test -n "$ac_ct_FC"; then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13388 $as_echo "$ac_ct_FC" >&6; }
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13391 $as_echo "no" >&6; }
13395 test -n "$ac_ct_FC" && break
13398 if test "x$ac_ct_FC" = x
; then
13401 case $cross_compiling:$ac_tool_warned in
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13405 ac_tool_warned
=yes ;;
13412 # Provide some information about the compiler.
13413 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13416 for ac_option
in --version -v -V -qversion; do
13417 { { ac_try
="$ac_compiler $ac_option >&5"
13418 case "(($ac_try" in
13419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13420 *) ac_try_echo=$ac_try;;
13422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13423 $as_echo "$ac_try_echo"; } >&5
13424 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13426 if test -s conftest.err; then
13428 ... rest of stderr output deleted ...
13429 10q' conftest.err >conftest.er1
13430 cat conftest.er1 >&5
13432 rm -f conftest.er1 conftest.err
13433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13434 test $ac_status = 0; }
13438 # If we don't use `.F
' as extension, the preprocessor is not run on the
13439 # input file. (Note that this only needs to work for GNU compilers.)
13440 ac_save_ext=$ac_ext
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13443 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13444 if ${ac_cv_fc_compiler_gnu+:} false; then :
13445 $as_echo_n "(cached) " >&6
13447 cat > conftest.$ac_ext <<_ACEOF
13455 if ac_fn_fc_try_compile "$LINENO"; then :
13456 ac_compiler_gnu=yes
13460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13461 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13465 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13466 ac_ext=$ac_save_ext
13467 ac_test_FCFLAGS=${FCFLAGS+set}
13468 ac_save_FCFLAGS=$FCFLAGS
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13471 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13472 if ${ac_cv_prog_fc_g+:} false; then :
13473 $as_echo_n "(cached) " >&6
13476 cat > conftest.$ac_ext <<_ACEOF
13481 if ac_fn_fc_try_compile "$LINENO"; then :
13482 ac_cv_prog_fc_g=yes
13486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13490 $as_echo "$ac_cv_prog_fc_g" >&6; }
13491 if test "$ac_test_FCFLAGS" = set; then
13492 FCFLAGS=$ac_save_FCFLAGS
13493 elif test $ac_cv_prog_fc_g = yes; then
13494 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13500 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13507 if test $ac_compiler_gnu = yes; then
13513 ac_cpp='$CPP $CPPFLAGS'
13514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13518 ac_ext=${ac_fc_srcext-f}
13519 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13520 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13521 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13524 if test -z "$FC" || test "X$FC" = "Xno"; then
13528 archive_cmds_need_lc_FC=no
13529 allow_undefined_flag_FC=
13530 always_export_symbols_FC=no
13531 archive_expsym_cmds_FC=
13532 export_dynamic_flag_spec_FC=
13533 hardcode_direct_FC=no
13534 hardcode_direct_absolute_FC=no
13535 hardcode_libdir_flag_spec_FC=
13536 hardcode_libdir_flag_spec_ld_FC=
13537 hardcode_libdir_separator_FC=
13538 hardcode_minus_L_FC=no
13539 hardcode_automatic_FC=no
13540 inherit_rpath_FC=no
13542 module_expsym_cmds_FC=
13543 link_all_deplibs_FC=unknown
13544 old_archive_cmds_FC=$old_archive_cmds
13545 reload_flag_FC=$reload_flag
13546 reload_cmds_FC=$reload_cmds
13547 no_undefined_flag_FC=
13548 whole_archive_flag_spec_FC=
13549 enable_shared_with_static_runtimes_FC=no
13551 # Source file extension for fc test sources.
13552 ac_ext=${ac_fc_srcext-f}
13554 # Object file extension for compiled fc test sources.
13558 # No sense in running all these tests if we already determined that
13559 # the FC compiler isn't working. Some variables
(like enable_shared
)
13560 # are currently assumed to apply to all compilers on this platform,
13561 # and will be corrupted by setting them based on a non-working compiler.
13562 if test "$_lt_disable_FC" != yes; then
13563 # Code to be used in simple compile tests
13564 lt_simple_compile_test_code
="\
13570 # Code to be used in simple link tests
13571 lt_simple_link_test_code
="\
13576 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13583 # If no C compiler was specified, use CC.
13586 # If no C compiler flags were specified, use CFLAGS.
13587 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13589 # Allow CC to be a program name with arguments.
13593 # save warnings/boilerplate of simple test code
13594 ac_outfile
=conftest.
$ac_objext
13595 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13596 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13597 _lt_compiler_boilerplate
=`cat conftest.err`
13600 ac_outfile
=conftest.
$ac_objext
13601 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13602 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13603 _lt_linker_boilerplate
=`cat conftest.err`
13607 # Allow CC to be a program name with arguments.
13612 GCC
=$ac_cv_fc_compiler_gnu
13615 for cc_temp
in $compiler""; do
13617 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13618 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13623 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13626 if test -n "$compiler"; then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13628 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13630 $as_echo "$can_build_shared" >&6; }
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13633 $as_echo_n "checking whether to build shared libraries... " >&6; }
13634 test "$can_build_shared" = "no" && enable_shared
=no
13636 # On AIX, shared libraries and static libraries use the same namespace, and
13637 # are all built from PIC.
13640 test "$enable_shared" = yes && enable_static
=no
13641 if test -n "$RANLIB"; then
13642 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13643 postinstall_cmds
='$RANLIB $lib'
13647 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13648 test "$enable_shared" = yes && enable_static
=no
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13653 $as_echo "$enable_shared" >&6; }
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13656 $as_echo_n "checking whether to build static libraries... " >&6; }
13657 # Make sure either enable_shared or enable_static is yes.
13658 test "$enable_shared" = yes || enable_static
=yes
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13660 $as_echo "$enable_static" >&6; }
13662 GCC_FC
="$ac_cv_fc_compiler_gnu"
13666 ## There is no encapsulation within the following macros, do not change
13667 ## the running order or otherwise move them around unless you know exactly
13668 ## what you are doing...
13669 # Dependencies to place before and after the object being linked:
13671 postdep_objects_FC
=
13674 compiler_lib_search_path_FC
=
13676 cat > conftest.
$ac_ext <<_LT_EOF
13685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13686 (eval $ac_compile) 2>&5
13688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13689 test $ac_status = 0; }; then
13690 # Parse the compiler output and extract the necessary
13691 # objects, libraries and library flags.
13693 # Sentinel used to keep track of whether or not we are before
13694 # the conftest object file.
13695 pre_test_object_deps_done
=no
13697 for p
in `eval "$output_verbose_link_cmd"`; do
13701 # Some compilers place space between "-{L,R}" and the path.
13702 # Remove the space.
13703 if test $p = "-L" ||
13704 test $p = "-R"; then
13711 if test "$pre_test_object_deps_done" = no
; then
13714 # Internal compiler library paths should come after those
13715 # provided the user. The postdeps already come after the
13716 # user supplied libs so there is no need to process them.
13717 if test -z "$compiler_lib_search_path_FC"; then
13718 compiler_lib_search_path_FC
="${prev}${p}"
13720 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13723 # The "-l" case would never come before the object being
13724 # linked, so don't bother handling this case.
13727 if test -z "$postdeps_FC"; then
13728 postdeps_FC
="${prev}${p}"
13730 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13736 # This assumes that the test object file only shows up
13737 # once in the compiler output.
13738 if test "$p" = "conftest.$objext"; then
13739 pre_test_object_deps_done
=yes
13743 if test "$pre_test_object_deps_done" = no
; then
13744 if test -z "$predep_objects_FC"; then
13745 predep_objects_FC
="$p"
13747 predep_objects_FC
="$predep_objects_FC $p"
13750 if test -z "$postdep_objects_FC"; then
13751 postdep_objects_FC
="$p"
13753 postdep_objects_FC
="$postdep_objects_FC $p"
13758 *) ;; # Ignore the rest.
13766 echo "libtool.m4: error: problem compiling FC test program"
13769 $RM -f confest.
$objext
13771 # PORTME: override above test on systems where it is broken
13774 case " $postdeps_FC " in
13775 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13777 compiler_lib_search_dirs_FC
=
13778 if test -n "${compiler_lib_search_path_FC}"; then
13779 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13812 lt_prog_compiler_wl_FC
=
13813 lt_prog_compiler_pic_FC
=
13814 lt_prog_compiler_static_FC
=
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13817 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13819 if test "$GCC" = yes; then
13820 lt_prog_compiler_wl_FC
='-Wl,'
13821 lt_prog_compiler_static_FC
='-static'
13825 # All AIX code is PIC.
13826 if test "$host_cpu" = ia64
; then
13827 # AIX 5 now supports IA64 processor
13828 lt_prog_compiler_static_FC
='-Bstatic'
13830 lt_prog_compiler_pic_FC
='-fPIC'
13836 # see comment about AmigaOS4 .so support
13837 lt_prog_compiler_pic_FC
='-fPIC'
13840 # FIXME: we need at least 68020 code to build shared libraries, but
13841 # adding the `-m68020' flag to GCC prevents building anything better,
13843 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13848 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13849 # PIC is the default for these OSes.
13852 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13853 # This hack is so that the source file can tell whether it is being
13854 # built for inclusion in a dll (and should export symbols for example).
13855 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13856 # (--disable-auto-import) libraries
13857 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13860 darwin
* | rhapsody
*)
13861 # PIC is the default on this platform
13862 # Common symbols not allowed in MH_DYLIB files
13863 lt_prog_compiler_pic_FC
='-fno-common'
13867 # PIC is the default for Haiku.
13868 # The "-static" flag exists, but is broken.
13869 lt_prog_compiler_static_FC
=
13873 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13874 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13875 # sets the default TLS model and affects inlining.
13881 lt_prog_compiler_pic_FC
='-fPIC'
13887 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13888 # Instead, we relocate shared libraries at runtime.
13892 # Just because we use GCC doesn't mean we suddenly get shared libraries
13893 # on systems that don't support them.
13894 lt_prog_compiler_can_build_shared_FC
=no
13899 # QNX uses GNU C++, but need to define -shared option too, otherwise
13900 # it will coredump.
13901 lt_prog_compiler_pic_FC
='-fPIC -shared'
13905 if test -d /usr
/nec
; then
13906 lt_prog_compiler_pic_FC
=-Kconform_pic
13911 lt_prog_compiler_pic_FC
='-fPIC'
13915 case $cc_basename in
13916 nvcc
*) # Cuda Compiler Driver 2.2
13917 lt_prog_compiler_wl_FC
='-Xlinker '
13918 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13922 # PORTME Check for flag to pass linker flags through the system compiler.
13925 lt_prog_compiler_wl_FC
='-Wl,'
13926 if test "$host_cpu" = ia64
; then
13927 # AIX 5 now supports IA64 processor
13928 lt_prog_compiler_static_FC
='-Bstatic'
13930 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13934 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13935 # This hack is so that the source file can tell whether it is being
13936 # built for inclusion in a dll (and should export symbols for example).
13937 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13940 hpux9
* | hpux10
* | hpux11
*)
13941 lt_prog_compiler_wl_FC
='-Wl,'
13942 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13943 # not for PA HP-UX.
13949 lt_prog_compiler_pic_FC
='+Z'
13952 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13953 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13956 irix5
* | irix6
* | nonstopux
*)
13957 lt_prog_compiler_wl_FC
='-Wl,'
13958 # PIC (with -KPIC) is the default.
13959 lt_prog_compiler_static_FC
='-non_shared'
13962 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13963 case $cc_basename in
13964 # old Intel for x86_64 which still supported -KPIC.
13966 lt_prog_compiler_wl_FC
='-Wl,'
13967 lt_prog_compiler_pic_FC
='-KPIC'
13968 lt_prog_compiler_static_FC
='-static'
13970 # icc used to be incompatible with GCC.
13971 # ICC 10 doesn't accept -KPIC any more.
13973 lt_prog_compiler_wl_FC
='-Wl,'
13974 lt_prog_compiler_pic_FC
='-fPIC'
13975 lt_prog_compiler_static_FC
='-static'
13977 # Lahey Fortran 8.1.
13979 lt_prog_compiler_wl_FC
='-Wl,'
13980 lt_prog_compiler_pic_FC
='--shared'
13981 lt_prog_compiler_static_FC
='--static'
13983 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13984 # Portland Group compilers (*not* the Pentium gcc compiler,
13985 # which looks to be a dead project)
13986 lt_prog_compiler_wl_FC
='-Wl,'
13987 lt_prog_compiler_pic_FC
='-fpic'
13988 lt_prog_compiler_static_FC
='-Bstatic'
13991 lt_prog_compiler_wl_FC
='-Wl,'
13992 # All Alpha code is PIC.
13993 lt_prog_compiler_static_FC
='-non_shared'
13995 xl
* | bgxl
* | bgf
* | mpixl
*)
13996 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13997 lt_prog_compiler_wl_FC
='-Wl,'
13998 lt_prog_compiler_pic_FC
='-qpic'
13999 lt_prog_compiler_static_FC
='-qstaticlink'
14002 case `$CC -V 2>&1 | sed 5q` in
14003 *Sun\ F
* |
*Sun
*Fortran
*)
14004 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14005 lt_prog_compiler_pic_FC
='-KPIC'
14006 lt_prog_compiler_static_FC
='-Bstatic'
14007 lt_prog_compiler_wl_FC
=''
14011 lt_prog_compiler_pic_FC
='-KPIC'
14012 lt_prog_compiler_static_FC
='-Bstatic'
14013 lt_prog_compiler_wl_FC
='-Wl,'
14021 lt_prog_compiler_pic_FC
='-KPIC'
14022 lt_prog_compiler_static_FC
='-Bstatic'
14026 # QNX uses GNU C++, but need to define -shared option too, otherwise
14027 # it will coredump.
14028 lt_prog_compiler_pic_FC
='-fPIC -shared'
14031 osf3
* | osf4
* | osf5
*)
14032 lt_prog_compiler_wl_FC
='-Wl,'
14033 # All OSF/1 code is PIC.
14034 lt_prog_compiler_static_FC
='-non_shared'
14038 lt_prog_compiler_static_FC
='-non_shared'
14042 lt_prog_compiler_pic_FC
='-KPIC'
14043 lt_prog_compiler_static_FC
='-Bstatic'
14044 case $cc_basename in
14045 f77
* | f90
* | f95
*)
14046 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14048 lt_prog_compiler_wl_FC
='-Wl,';;
14053 lt_prog_compiler_wl_FC
='-Qoption ld '
14054 lt_prog_compiler_pic_FC
='-PIC'
14055 lt_prog_compiler_static_FC
='-Bstatic'
14058 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14059 lt_prog_compiler_wl_FC
='-Wl,'
14060 lt_prog_compiler_pic_FC
='-KPIC'
14061 lt_prog_compiler_static_FC
='-Bstatic'
14065 if test -d /usr
/nec
;then
14066 lt_prog_compiler_pic_FC
='-Kconform_pic'
14067 lt_prog_compiler_static_FC
='-Bstatic'
14071 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14072 lt_prog_compiler_wl_FC
='-Wl,'
14073 lt_prog_compiler_pic_FC
='-KPIC'
14074 lt_prog_compiler_static_FC
='-Bstatic'
14078 lt_prog_compiler_wl_FC
='-Wl,'
14079 lt_prog_compiler_can_build_shared_FC
=no
14083 lt_prog_compiler_pic_FC
='-pic'
14084 lt_prog_compiler_static_FC
='-Bstatic'
14088 lt_prog_compiler_can_build_shared_FC
=no
14094 # For platforms which do not support PIC, -DPIC is meaningless:
14096 lt_prog_compiler_pic_FC
=
14099 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14103 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14108 # Check to make sure the PIC flag actually works.
14110 if test -n "$lt_prog_compiler_pic_FC"; then
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14112 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14113 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14114 $as_echo_n "(cached) " >&6
14116 lt_cv_prog_compiler_pic_works_FC
=no
14117 ac_outfile
=conftest.
$ac_objext
14118 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14119 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14120 # Insert the option either (1) after the last *FLAGS variable, or
14121 # (2) before a word containing "conftest.", or (3) at the end.
14122 # Note that $ac_compile itself does not contain backslashes and begins
14123 # with a dollar sign (not a hyphen), so the echo should work correctly.
14124 # The option is referenced via a variable to avoid confusing sed.
14125 lt_compile
=`echo "$ac_compile" | $SED \
14126 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14127 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14128 -e 's:$: $lt_compiler_flag:'`
14129 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14130 (eval "$lt_compile" 2>conftest.err
)
14132 cat conftest.err
>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 if (exit $ac_status) && test -s "$ac_outfile"; then
14135 # The compiler can only warn and ignore the option if not recognized
14136 # So say no if there are warnings other than the usual output.
14137 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14138 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14139 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14140 lt_cv_prog_compiler_pic_works_FC
=yes
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14147 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14149 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14150 case $lt_prog_compiler_pic_FC in
14152 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14155 lt_prog_compiler_pic_FC
=
14156 lt_prog_compiler_can_build_shared_FC
=no
14164 # Check to make sure the static flag actually works.
14166 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14168 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14169 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14170 $as_echo_n "(cached) " >&6
14172 lt_cv_prog_compiler_static_works_FC
=no
14173 save_LDFLAGS
="$LDFLAGS"
14174 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14175 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14176 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14177 # The linker can only warn and ignore the option if not recognized
14178 # So say no if there are warnings
14179 if test -s conftest.err
; then
14180 # Append any errors to the config.log.
14181 cat conftest.err
1>&5
14182 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14183 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14184 if diff conftest.exp conftest.er2
>/dev
/null
; then
14185 lt_cv_prog_compiler_static_works_FC
=yes
14188 lt_cv_prog_compiler_static_works_FC
=yes
14192 LDFLAGS
="$save_LDFLAGS"
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14196 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14198 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14201 lt_prog_compiler_static_FC
=
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14208 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14209 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14210 $as_echo_n "(cached) " >&6
14212 lt_cv_prog_compiler_c_o_FC
=no
14213 $RM -r conftest
2>/dev
/null
14217 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14219 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14220 # Insert the option either (1) after the last *FLAGS variable, or
14221 # (2) before a word containing "conftest.", or (3) at the end.
14222 # Note that $ac_compile itself does not contain backslashes and begins
14223 # with a dollar sign (not a hyphen), so the echo should work correctly.
14224 lt_compile
=`echo "$ac_compile" | $SED \
14225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14227 -e 's:$: $lt_compiler_flag:'`
14228 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14229 (eval "$lt_compile" 2>out
/conftest.err
)
14231 cat out
/conftest.err
>&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14235 # The compiler can only warn and ignore the option if not recognized
14236 # So say no if there are warnings
14237 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14238 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14239 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14240 lt_cv_prog_compiler_c_o_FC
=yes
14245 # SGI C++ compiler will create directory out/ii_files/ for
14246 # template instantiation
14247 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14248 $RM out
/* && rmdir out
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14255 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14260 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14261 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14262 $as_echo_n "(cached) " >&6
14264 lt_cv_prog_compiler_c_o_FC
=no
14265 $RM -r conftest
2>/dev
/null
14269 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14271 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14272 # Insert the option either (1) after the last *FLAGS variable, or
14273 # (2) before a word containing "conftest.", or (3) at the end.
14274 # Note that $ac_compile itself does not contain backslashes and begins
14275 # with a dollar sign (not a hyphen), so the echo should work correctly.
14276 lt_compile
=`echo "$ac_compile" | $SED \
14277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14279 -e 's:$: $lt_compiler_flag:'`
14280 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14281 (eval "$lt_compile" 2>out
/conftest.err
)
14283 cat out
/conftest.err
>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14287 # The compiler can only warn and ignore the option if not recognized
14288 # So say no if there are warnings
14289 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14290 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14291 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14292 lt_cv_prog_compiler_c_o_FC
=yes
14297 # SGI C++ compiler will create directory out/ii_files/ for
14298 # template instantiation
14299 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14300 $RM out
/* && rmdir out
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14307 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14312 hard_links
="nottested"
14313 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14314 # do not overwrite the value of need_locks provided by the user
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14316 $as_echo_n "checking if we can lock with hard links... " >&6; }
14319 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14321 ln conftest.a conftest.b
2>&5 || hard_links
=no
14322 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14324 $as_echo "$hard_links" >&6; }
14325 if test "$hard_links" = no
; then
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14327 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14337 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14340 allow_undefined_flag_FC
=
14341 always_export_symbols_FC
=no
14343 archive_expsym_cmds_FC
=
14344 compiler_needs_object_FC
=no
14345 enable_shared_with_static_runtimes_FC
=no
14346 export_dynamic_flag_spec_FC
=
14347 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14348 hardcode_automatic_FC
=no
14349 hardcode_direct_FC
=no
14350 hardcode_direct_absolute_FC
=no
14351 hardcode_libdir_flag_spec_FC
=
14352 hardcode_libdir_flag_spec_ld_FC
=
14353 hardcode_libdir_separator_FC
=
14354 hardcode_minus_L_FC
=no
14355 hardcode_shlibpath_var_FC
=unsupported
14356 inherit_rpath_FC
=no
14357 link_all_deplibs_FC
=unknown
14359 module_expsym_cmds_FC
=
14360 old_archive_from_new_cmds_FC
=
14361 old_archive_from_expsyms_cmds_FC
=
14362 thread_safe_flag_spec_FC
=
14363 whole_archive_flag_spec_FC
=
14364 # include_expsyms should be a list of space-separated symbols to be *always*
14365 # included in the symbol list
14366 include_expsyms_FC
=
14367 # exclude_expsyms can be an extended regexp of symbols to exclude
14368 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14369 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14370 # as well as any symbol that contains `d'.
14371 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14372 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14373 # platforms (ab)use it in PIC code, but their linkers get confused if
14374 # the symbol is explicitly referenced. Since portable code cannot
14375 # rely on this symbol name, it's probably fine to never include it in
14376 # preloaded symbol tables.
14377 # Exclude shared library initialization/finalization symbols.
14378 extract_expsyms_cmds
=
14381 cygwin
* | mingw
* | pw32
* | cegcc
*)
14382 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14383 # When not using gcc, we currently assume that we are using
14384 # Microsoft Visual C++.
14385 if test "$GCC" != yes; then
14390 # we just hope/assume this is gcc and not c89 (= MSVC++)
14400 # On some targets, GNU ld is compatible enough with the native linker
14401 # that we're better off using the native interface for both.
14402 lt_use_gnu_ld_interface
=no
14403 if test "$with_gnu_ld" = yes; then
14406 # The AIX port of GNU ld has always aspired to compatibility
14407 # with the native linker. However, as the warning in the GNU ld
14408 # block says, versions before 2.19.5* couldn't really create working
14409 # shared libraries, regardless of the interface used.
14410 case `$LD -v 2>&1` in
14411 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14412 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14413 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14415 lt_use_gnu_ld_interface
=yes
14420 lt_use_gnu_ld_interface
=yes
14425 if test "$lt_use_gnu_ld_interface" = yes; then
14426 # If archive_cmds runs LD, not CC, wlarc should be empty
14429 # Set some defaults for GNU ld with shared library support. These
14430 # are reset later if shared libraries are not supported. Putting them
14431 # here allows them to be overridden if necessary.
14432 runpath_var
=LD_RUN_PATH
14433 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14434 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14435 # ancient GNU ld didn't support --whole-archive et. al.
14436 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14437 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14439 whole_archive_flag_spec_FC
=
14441 supports_anon_versioning
=no
14442 case `$LD -v 2>&1` in
14443 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14444 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14445 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14446 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14447 *\
2.11.
*) ;; # other 2.11 versions
14448 *) supports_anon_versioning
=yes ;;
14451 # See if GNU ld supports shared libraries.
14454 # On AIX/PPC, the GNU linker is very broken
14455 if test "$host_cpu" != ia64
; then
14459 *** Warning: the GNU linker, at least up to release 2.19, is reported
14460 *** to be unable to reliably create shared libraries on AIX.
14461 *** Therefore, libtool is disabling shared libraries support. If you
14462 *** really care for shared libraries, you may want to install binutils
14463 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14464 *** You will then need to restart the configuration process.
14473 # see comment about AmigaOS4 .so support
14474 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14475 archive_expsym_cmds_FC
=''
14478 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)'
14479 hardcode_libdir_flag_spec_FC
='-L$libdir'
14480 hardcode_minus_L_FC
=yes
14486 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14487 allow_undefined_flag_FC
=unsupported
14488 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14489 # support --undefined. This deserves some investigation. FIXME
14490 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14496 cygwin
* | mingw
* | pw32
* | cegcc
*)
14497 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14498 # as there is no search path for DLLs.
14499 hardcode_libdir_flag_spec_FC
='-L$libdir'
14500 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14501 allow_undefined_flag_FC
=unsupported
14502 always_export_symbols_FC
=no
14503 enable_shared_with_static_runtimes_FC
=yes
14504 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14506 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14507 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14508 # If the export-symbols file already is a .def file (1st line
14509 # is EXPORTS), use it as is; otherwise, prepend...
14510 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14511 cp $export_symbols $output_objdir/$soname.def;
14513 echo EXPORTS > $output_objdir/$soname.def;
14514 cat $export_symbols >> $output_objdir/$soname.def;
14516 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14523 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14524 link_all_deplibs_FC
=yes
14528 hardcode_direct_FC
=no
14529 hardcode_shlibpath_var_FC
=no
14530 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14531 export_dynamic_flag_spec_FC
='${wl}-E'
14532 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14533 # Instead, shared libraries are loaded at an image base (0x10000000 by
14534 # default) and relocated if they conflict, which is a slow very memory
14535 # consuming and fragmenting process. To avoid this, we pick a random,
14536 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14537 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14538 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'
14539 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'
14542 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14544 if test "$host_os" = linux-dietlibc
; then
14545 case $cc_basename in
14546 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14549 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14550 && test "$tmp_diet" = no
14552 tmp_addflag
=' $pic_flag'
14553 tmp_sharedflag
='-shared'
14554 case $cc_basename,$host_cpu in
14555 pgcc
*) # Portland Group C compiler
14556 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'
14557 tmp_addflag
=' $pic_flag'
14559 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14560 # Portland Group f77 and f90 compilers
14561 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'
14562 tmp_addflag
=' $pic_flag -Mnomain' ;;
14563 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14564 tmp_addflag
=' -i_dynamic' ;;
14565 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14566 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14567 ifc
* | ifort
*) # Intel Fortran compiler
14568 tmp_addflag
=' -nofor_main' ;;
14569 lf95
*) # Lahey Fortran 8.1
14570 whole_archive_flag_spec_FC
=
14571 tmp_sharedflag
='--shared' ;;
14572 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14573 tmp_sharedflag
='-qmkshrobj'
14575 nvcc
*) # Cuda Compiler Driver 2.2
14576 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'
14577 compiler_needs_object_FC
=yes
14580 case `$CC -V 2>&1 | sed 5q` in
14581 *Sun\ C
*) # Sun C 5.9
14582 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'
14583 compiler_needs_object_FC
=yes
14584 tmp_sharedflag
='-G' ;;
14585 *Sun\ F
*) # Sun Fortran 8.3
14586 tmp_sharedflag
='-G' ;;
14588 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14590 if test "x$supports_anon_versioning" = xyes
; then
14591 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14592 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14593 echo "local: *; };" >> $output_objdir/$libname.ver~
14594 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14597 case $cc_basename in
14598 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14599 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14600 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14601 hardcode_libdir_flag_spec_FC
=
14602 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14603 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14604 if test "x$supports_anon_versioning" = xyes
; then
14605 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14606 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14607 echo "local: *; };" >> $output_objdir/$libname.ver~
14608 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14618 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14619 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14622 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14623 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14628 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14632 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14633 *** create shared libraries on Solaris systems. Therefore, libtool
14634 *** is disabling shared libraries support. We urge you to upgrade GNU
14635 *** binutils to release 2.9.1 or newer. Another option is to modify
14636 *** your PATH or compiler configuration so that the native linker is
14637 *** used, and then restart.
14640 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14641 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14642 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14648 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14649 case `$LD -v 2>&1` in
14650 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14654 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14655 *** reliably create shared libraries on SCO systems. Therefore, libtool
14656 *** is disabling shared libraries support. We urge you to upgrade GNU
14657 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14658 *** your PATH or compiler configuration so that the native linker is
14659 *** used, and then restart.
14664 # For security reasons, it is highly recommended that you always
14665 # use absolute paths for naming shared libraries, and exclude the
14666 # DT_RUNPATH tag from executables and libraries. But doing so
14667 # requires that you compile everything twice, which is a pain.
14668 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14669 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14670 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14671 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14680 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14682 hardcode_direct_FC
=yes
14683 hardcode_shlibpath_var_FC
=no
14687 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14688 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14689 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14696 if test "$ld_shlibs_FC" = no
; then
14698 hardcode_libdir_flag_spec_FC
=
14699 export_dynamic_flag_spec_FC
=
14700 whole_archive_flag_spec_FC
=
14703 # PORTME fill in a description of your system's linker (not GNU ld)
14706 allow_undefined_flag_FC
=unsupported
14707 always_export_symbols_FC
=yes
14708 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'
14709 # Note: this linker hardcodes the directories in LIBPATH if there
14710 # are no directories specified by -L.
14711 hardcode_minus_L_FC
=yes
14712 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14713 # Neither direct hardcoding nor static linking is supported with a
14715 hardcode_direct_FC
=unsupported
14720 if test "$host_cpu" = ia64
; then
14721 # On IA64, the linker does run time linking by default, so we don't
14722 # have to do anything special.
14723 aix_use_runtimelinking
=no
14724 exp_sym_flag
='-Bexport'
14727 # If we're using GNU nm, then we don't want the "-C" option.
14728 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14729 # Also, AIX nm treats weak defined symbols like other global
14730 # defined symbols, whereas GNU nm marks them as "W".
14731 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14732 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'
14734 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'
14736 aix_use_runtimelinking
=no
14738 # Test if we are trying to use run time linking or normal
14739 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14740 # need to do runtime linking.
14741 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14742 for ld_flag
in $LDFLAGS; do
14743 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14744 aix_use_runtimelinking
=yes
14751 exp_sym_flag
='-bexport'
14752 no_entry_flag
='-bnoentry'
14755 # When large executables or shared objects are built, AIX ld can
14756 # have problems creating the table of contents. If linking a library
14757 # or program results in "error TOC overflow" add -mminimal-toc to
14758 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14759 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14762 hardcode_direct_FC
=yes
14763 hardcode_direct_absolute_FC
=yes
14764 hardcode_libdir_separator_FC
=':'
14765 link_all_deplibs_FC
=yes
14766 file_list_spec_FC
='${wl}-f,'
14768 if test "$GCC" = yes; then
14769 case $host_os in aix4.
[012]|aix4.
[012].
*)
14770 # We only want to do this on AIX 4.2 and lower, the check
14771 # below for broken collect2 doesn't work under 4.3+
14772 collect2name
=`${CC} -print-prog-name=collect2`
14773 if test -f "$collect2name" &&
14774 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14776 # We have reworked collect2
14779 # We have old collect2
14780 hardcode_direct_FC
=unsupported
14781 # It fails to find uninstalled libraries when the uninstalled
14782 # path is not listed in the libpath. Setting hardcode_minus_L
14783 # to unsupported forces relinking
14784 hardcode_minus_L_FC
=yes
14785 hardcode_libdir_flag_spec_FC
='-L$libdir'
14786 hardcode_libdir_separator_FC
=
14790 shared_flag
='-shared'
14791 if test "$aix_use_runtimelinking" = yes; then
14792 shared_flag
="$shared_flag "'${wl}-G'
14796 if test "$host_cpu" = ia64
; then
14797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14798 # chokes on -Wl,-G. The following line is correct:
14801 if test "$aix_use_runtimelinking" = yes; then
14802 shared_flag
='${wl}-G'
14804 shared_flag
='${wl}-bM:SRE'
14809 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14810 # It seems that -bexpall does not export symbols beginning with
14811 # underscore (_), so it is better to generate a list of symbols to export.
14812 always_export_symbols_FC
=yes
14813 if test "$aix_use_runtimelinking" = yes; then
14814 # Warning - without using the other runtime loading flags (-brtl),
14815 # -berok will link without error, but may produce a broken library.
14816 allow_undefined_flag_FC
='-berok'
14817 # Determine the default libpath from the value encoded in an
14818 # empty executable.
14819 if test x
$gcc_no_link = xyes
; then
14820 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14822 cat > conftest.
$ac_ext <<_ACEOF
14827 if ac_fn_fc_try_link
"$LINENO"; then :
14829 lt_aix_libpath_sed
='
14830 /Import File Strings/,/^$/ {
14836 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14837 # Check for a 64-bit object if we didn't find anything.
14838 if test -z "$aix_libpath"; then
14839 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14842 rm -f core conftest.err conftest.
$ac_objext \
14843 conftest
$ac_exeext conftest.
$ac_ext
14844 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14846 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14847 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"
14849 if test "$host_cpu" = ia64
; then
14850 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14851 allow_undefined_flag_FC
="-z nodefs"
14852 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"
14854 # Determine the default libpath from the value encoded in an
14855 # empty executable.
14856 if test x
$gcc_no_link = xyes
; then
14857 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14859 cat > conftest.
$ac_ext <<_ACEOF
14864 if ac_fn_fc_try_link
"$LINENO"; then :
14866 lt_aix_libpath_sed
='
14867 /Import File Strings/,/^$/ {
14873 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14874 # Check for a 64-bit object if we didn't find anything.
14875 if test -z "$aix_libpath"; then
14876 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14879 rm -f core conftest.err conftest.
$ac_objext \
14880 conftest
$ac_exeext conftest.
$ac_ext
14881 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14883 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14884 # Warning - without using the other run time loading flags,
14885 # -berok will link without error, but may produce a broken library.
14886 no_undefined_flag_FC
=' ${wl}-bernotok'
14887 allow_undefined_flag_FC
=' ${wl}-berok'
14888 if test "$with_gnu_ld" = yes; then
14889 # We only use this code for GNU lds that support --whole-archive.
14890 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14892 # Exported symbols can be pulled into shared objects from archives
14893 whole_archive_flag_spec_FC
='$convenience'
14895 archive_cmds_need_lc_FC
=yes
14896 # This is similar to how AIX traditionally builds its shared libraries.
14897 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'
14905 # see comment about AmigaOS4 .so support
14906 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14907 archive_expsym_cmds_FC
=''
14910 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)'
14911 hardcode_libdir_flag_spec_FC
='-L$libdir'
14912 hardcode_minus_L_FC
=yes
14918 export_dynamic_flag_spec_FC
=-rdynamic
14921 cygwin
* | mingw
* | pw32
* | cegcc
*)
14922 # When not using gcc, we currently assume that we are using
14923 # Microsoft Visual C++.
14924 # hardcode_libdir_flag_spec is actually meaningless, as there is
14925 # no search path for DLLs.
14926 hardcode_libdir_flag_spec_FC
=' '
14927 allow_undefined_flag_FC
=unsupported
14928 # Tell ltmain to make .lib files, not .a files.
14930 # Tell ltmain to make .dll files, not .so files.
14932 # FIXME: Setting linknames here is a bad hack.
14933 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14934 # The linker will automatically build a .lib file if we build a DLL.
14935 old_archive_from_new_cmds_FC
='true'
14936 # FIXME: Should let the user specify the lib program.
14937 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14938 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14939 enable_shared_with_static_runtimes_FC
=yes
14942 darwin
* | rhapsody
*)
14945 archive_cmds_need_lc_FC
=no
14946 hardcode_direct_FC
=no
14947 hardcode_automatic_FC
=yes
14948 hardcode_shlibpath_var_FC
=unsupported
14949 if test "$lt_cv_ld_force_load" = "yes"; then
14950 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\"`'
14952 whole_archive_flag_spec_FC
=''
14954 link_all_deplibs_FC
=yes
14955 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14956 case $cc_basename in
14957 ifort
*) _lt_dar_can_shared
=yes ;;
14958 *) _lt_dar_can_shared
=$GCC ;;
14960 if test "$_lt_dar_can_shared" = "yes"; then
14961 output_verbose_link_cmd
=func_echo_all
14962 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}"
14963 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14964 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}"
14965 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}"
14974 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14975 hardcode_libdir_flag_spec_FC
='-L$libdir'
14976 hardcode_shlibpath_var_FC
=no
14979 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14980 # support. Future versions do this automatically, but an explicit c++rt0.o
14981 # does not break anything, and helps significantly (at the cost of a little
14984 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14985 hardcode_libdir_flag_spec_FC
='-R$libdir'
14986 hardcode_direct_FC
=yes
14987 hardcode_shlibpath_var_FC
=no
14990 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14992 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14993 hardcode_direct_FC
=yes
14994 hardcode_minus_L_FC
=yes
14995 hardcode_shlibpath_var_FC
=no
14998 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14999 freebsd
* | dragonfly
*)
15000 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15001 hardcode_libdir_flag_spec_FC
='-R$libdir'
15002 hardcode_direct_FC
=yes
15003 hardcode_shlibpath_var_FC
=no
15007 if test "$GCC" = yes; then
15008 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'
15010 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'
15012 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15013 hardcode_libdir_separator_FC
=:
15014 hardcode_direct_FC
=yes
15016 # hardcode_minus_L: Not really in the search PATH,
15017 # but as the default location of the library.
15018 hardcode_minus_L_FC
=yes
15019 export_dynamic_flag_spec_FC
='${wl}-E'
15023 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15024 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15026 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15028 if test "$with_gnu_ld" = no
; then
15029 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15030 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15031 hardcode_libdir_separator_FC
=:
15032 hardcode_direct_FC
=yes
15033 hardcode_direct_absolute_FC
=yes
15034 export_dynamic_flag_spec_FC
='${wl}-E'
15035 # hardcode_minus_L: Not really in the search PATH,
15036 # but as the default location of the library.
15037 hardcode_minus_L_FC
=yes
15042 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15045 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15048 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15051 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15057 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15060 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15063 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15067 if test "$with_gnu_ld" = no
; then
15068 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15069 hardcode_libdir_separator_FC
=:
15073 hardcode_direct_FC
=no
15074 hardcode_shlibpath_var_FC
=no
15077 hardcode_direct_FC
=yes
15078 hardcode_direct_absolute_FC
=yes
15079 export_dynamic_flag_spec_FC
='${wl}-E'
15081 # hardcode_minus_L: Not really in the search PATH,
15082 # but as the default location of the library.
15083 hardcode_minus_L_FC
=yes
15089 irix5
* | irix6
* | nonstopux
*)
15090 if test "$GCC" = yes; then
15091 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'
15092 # Try to use the -exported_symbol ld option, if it does not
15093 # work, assume that -exports_file does not work either and
15094 # implicitly export all symbols.
15095 save_LDFLAGS
="$LDFLAGS"
15096 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15097 if test x
$gcc_no_link = xyes
; then
15098 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15100 cat > conftest.
$ac_ext <<_ACEOF
15103 if ac_fn_fc_try_link
"$LINENO"; then :
15104 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'
15107 rm -f core conftest.err conftest.
$ac_objext \
15108 conftest
$ac_exeext conftest.
$ac_ext
15109 LDFLAGS
="$save_LDFLAGS"
15111 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'
15112 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'
15114 archive_cmds_need_lc_FC
='no'
15115 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15116 hardcode_libdir_separator_FC
=:
15117 inherit_rpath_FC
=yes
15118 link_all_deplibs_FC
=yes
15122 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15123 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15125 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15127 hardcode_libdir_flag_spec_FC
='-R$libdir'
15128 hardcode_direct_FC
=yes
15129 hardcode_shlibpath_var_FC
=no
15133 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15134 hardcode_direct_FC
=yes
15135 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15136 hardcode_libdir_separator_FC
=:
15137 hardcode_shlibpath_var_FC
=no
15144 if test -f /usr
/libexec
/ld.so
; then
15145 hardcode_direct_FC
=yes
15146 hardcode_shlibpath_var_FC
=no
15147 hardcode_direct_absolute_FC
=yes
15148 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15149 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15150 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15151 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15152 export_dynamic_flag_spec_FC
='${wl}-E'
15155 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15156 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15157 hardcode_libdir_flag_spec_FC
='-R$libdir'
15160 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15161 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15171 hardcode_libdir_flag_spec_FC
='-L$libdir'
15172 hardcode_minus_L_FC
=yes
15173 allow_undefined_flag_FC
=unsupported
15174 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'
15175 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15179 if test "$GCC" = yes; then
15180 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15181 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'
15183 allow_undefined_flag_FC
=' -expect_unresolved \*'
15184 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'
15186 archive_cmds_need_lc_FC
='no'
15187 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15188 hardcode_libdir_separator_FC
=:
15191 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15192 if test "$GCC" = yes; then
15193 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15194 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'
15195 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15197 allow_undefined_flag_FC
=' -expect_unresolved \*'
15198 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'
15199 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~
15200 $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'
15202 # Both c and cxx compiler support -rpath directly
15203 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15205 archive_cmds_need_lc_FC
='no'
15206 hardcode_libdir_separator_FC
=:
15210 no_undefined_flag_FC
=' -z defs'
15211 if test "$GCC" = yes; then
15213 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15214 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15215 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15217 case `$CC -V 2>&1` in
15220 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15221 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15222 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15226 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15227 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15228 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15232 hardcode_libdir_flag_spec_FC
='-R$libdir'
15233 hardcode_shlibpath_var_FC
=no
15235 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15237 # The compiler driver will combine and reorder linker options,
15238 # but understands `-z linker_flag'. GCC discards it without `$wl',
15239 # but is careful enough not to reorder.
15240 # Supported since Solaris 2.6 (maybe 2.5.1?)
15241 if test "$GCC" = yes; then
15242 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15244 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15248 link_all_deplibs_FC
=yes
15252 if test "x$host_vendor" = xsequent
; then
15253 # Use $CC to link under sequent, because it throws in some extra .o
15254 # files that make .init and .fini sections work.
15255 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15257 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15259 hardcode_libdir_flag_spec_FC
='-L$libdir'
15260 hardcode_direct_FC
=yes
15261 hardcode_minus_L_FC
=yes
15262 hardcode_shlibpath_var_FC
=no
15266 case $host_vendor in
15268 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15269 hardcode_direct_FC
=yes # is this really true???
15272 ## LD is ld it makes a PLAMLIB
15273 ## CC just makes a GrossModule.
15274 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15275 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15276 hardcode_direct_FC
=no
15279 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15280 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15283 runpath_var
='LD_RUN_PATH'
15284 hardcode_shlibpath_var_FC
=no
15288 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15289 hardcode_shlibpath_var_FC
=no
15290 export_dynamic_flag_spec_FC
='-Bexport'
15294 if test -d /usr
/nec
; then
15295 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15296 hardcode_shlibpath_var_FC
=no
15297 runpath_var
=LD_RUN_PATH
15298 hardcode_runpath_var
=yes
15303 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15304 no_undefined_flag_FC
='${wl}-z,text'
15305 archive_cmds_need_lc_FC
=no
15306 hardcode_shlibpath_var_FC
=no
15307 runpath_var
='LD_RUN_PATH'
15309 if test "$GCC" = yes; then
15310 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15311 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15313 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15314 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15318 sysv5
* | sco3.2v5
* | sco5v6
*)
15319 # Note: We can NOT use -z defs as we might desire, because we do not
15320 # link with -lc, and that would cause any symbols used from libc to
15321 # always be unresolved, which means just about no library would
15322 # ever link correctly. If we're not using GNU ld we use -z text
15323 # though, which does catch some bad symbols but isn't as heavy-handed
15325 no_undefined_flag_FC
='${wl}-z,text'
15326 allow_undefined_flag_FC
='${wl}-z,nodefs'
15327 archive_cmds_need_lc_FC
=no
15328 hardcode_shlibpath_var_FC
=no
15329 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15330 hardcode_libdir_separator_FC
=':'
15331 link_all_deplibs_FC
=yes
15332 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15333 runpath_var
='LD_RUN_PATH'
15335 if test "$GCC" = yes; then
15336 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15337 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15339 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15340 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15345 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15346 hardcode_libdir_flag_spec_FC
='-L$libdir'
15347 hardcode_shlibpath_var_FC
=no
15355 if test x
$host_vendor = xsni
; then
15357 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15358 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15365 $as_echo "$ld_shlibs_FC" >&6; }
15366 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15368 with_gnu_ld_FC
=$with_gnu_ld
15376 # Do we need to explicitly link libc?
15378 case "x$archive_cmds_need_lc_FC" in
15380 # Assume -lc should be added
15381 archive_cmds_need_lc_FC
=yes
15383 if test "$enable_shared" = yes && test "$GCC" = yes; then
15384 case $archive_cmds_FC in
15386 # FIXME: we may have to deal with multi-command sequences.
15389 # Test whether the compiler implicitly links with -lc since on some
15390 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15391 # to ld, don't add -lc before -lgcc.
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15393 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15394 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15395 $as_echo_n "(cached) " >&6
15398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15401 (eval $ac_compile) 2>&5
15403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15404 test $ac_status = 0; } 2>conftest.err
; then
15407 libobjs
=conftest.
$ac_objext
15409 wl
=$lt_prog_compiler_wl_FC
15410 pic_flag
=$lt_prog_compiler_pic_FC
15416 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15417 allow_undefined_flag_FC
=
15418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15419 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422 test $ac_status = 0; }
15424 lt_cv_archive_cmds_need_lc_FC
=no
15426 lt_cv_archive_cmds_need_lc_FC
=yes
15428 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15430 cat conftest.err
1>&5
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15436 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15437 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15508 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15510 library_names_spec
=
15511 libname_spec
='lib$name'
15515 postuninstall_cmds
=
15519 shlibpath_overrides_runpath
=unknown
15521 dynamic_linker
="$host_os ld.so"
15522 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15523 need_lib_prefix
=unknown
15524 hardcode_into_libs
=no
15526 # when you set need_version to no, make sure it does not cause -set_version
15527 # flags to be left without arguments
15528 need_version
=unknown
15533 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15534 shlibpath_var
=LIBPATH
15536 # AIX 3 has no versioning support, so we append a major version to the name.
15537 soname_spec
='${libname}${release}${shared_ext}$major'
15544 hardcode_into_libs
=yes
15545 if test "$host_cpu" = ia64
; then
15546 # AIX 5 supports IA64
15547 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15548 shlibpath_var
=LD_LIBRARY_PATH
15550 # With GCC up to 2.95.x, collect2 would create an import file
15551 # for dependence libraries. The import file would start with
15552 # the line `#! .'. This would cause the generated library to
15553 # depend on `.', always an invalid library. This was fixed in
15554 # development snapshots of GCC prior to 3.0.
15556 aix4 | aix4.
[01] | aix4.
[01].
*)
15557 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15559 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15562 can_build_shared
=no
15566 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15567 # soname into executable. Probably we can add versioning support to
15568 # collect2, so additional links can be useful in future.
15569 if test "$aix_use_runtimelinking" = yes; then
15570 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15571 # instead of lib<name>.a to let people know that these are not
15572 # typical AIX shared libraries.
15573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15575 # We preserve .a as extension for shared libraries through AIX4.2
15576 # and later when we are not doing run time linking.
15577 library_names_spec
='${libname}${release}.a $libname.a'
15578 soname_spec
='${libname}${release}${shared_ext}$major'
15580 shlibpath_var
=LIBPATH
15587 # Since July 2007 AmigaOS4 officially supports .so libraries.
15588 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15592 library_names_spec
='$libname.ixlibrary $libname.a'
15593 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15594 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'
15600 library_names_spec
='${libname}${shared_ext}'
15601 dynamic_linker
="$host_os ld.so"
15602 shlibpath_var
=LIBRARY_PATH
15608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15609 soname_spec
='${libname}${release}${shared_ext}$major'
15610 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15611 shlibpath_var
=LD_LIBRARY_PATH
15612 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15613 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15614 # the default ld.so.conf also contains /usr/contrib/lib and
15615 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15616 # libtool to hard-code these into programs
15619 cygwin
* | mingw
* | pw32
* | cegcc
*)
15620 version_type
=windows
15625 case $GCC,$host_os in
15626 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15627 library_names_spec
='$libname.dll.a'
15628 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15629 postinstall_cmds
='base_file=`basename \${file}`~
15630 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15631 dldir=$destdir/`dirname \$dlpath`~
15632 test -d \$dldir || mkdir -p \$dldir~
15633 $install_prog $dir/$dlname \$dldir/$dlname~
15634 chmod a+x \$dldir/$dlname~
15635 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15636 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15638 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15639 dlpath=$dir/\$dldll~
15641 shlibpath_overrides_runpath
=yes
15645 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15646 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15650 # MinGW DLLs use traditional 'lib' prefix
15651 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15654 # pw32 DLLs use 'pw' prefix rather than 'lib'
15655 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15661 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15664 dynamic_linker
='Win32 ld.exe'
15665 # FIXME: first we should search . and the directory the executable is in
15669 darwin
* | rhapsody
*)
15670 dynamic_linker
="$host_os dyld"
15671 version_type
=darwin
15674 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15675 soname_spec
='${libname}${release}${major}$shared_ext'
15676 shlibpath_overrides_runpath
=yes
15677 shlibpath_var
=DYLD_LIBRARY_PATH
15678 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15680 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15688 soname_spec
='${libname}${release}${shared_ext}$major'
15689 shlibpath_var
=LD_LIBRARY_PATH
15692 freebsd
* | dragonfly
*)
15693 # DragonFly does not have aout. When/if they implement a new
15694 # versioning mechanism, adjust this.
15695 if test -x /usr
/bin
/objformat
; then
15696 objformat
=`/usr/bin/objformat`
15699 freebsd
[23].
*) objformat
=aout
;;
15700 *) objformat
=elf
;;
15703 version_type
=freebsd-
$objformat
15704 case $version_type in
15706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15715 shlibpath_var
=LD_LIBRARY_PATH
15718 shlibpath_overrides_runpath
=yes
15720 freebsd3.
[01]* | freebsdelf3.
[01]*)
15721 shlibpath_overrides_runpath
=yes
15722 hardcode_into_libs
=yes
15724 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15725 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15726 shlibpath_overrides_runpath
=no
15727 hardcode_into_libs
=yes
15729 *) # from 4.6 on, and DragonFly
15730 shlibpath_overrides_runpath
=yes
15731 hardcode_into_libs
=yes
15740 dynamic_linker
="$host_os runtime_loader"
15741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15742 soname_spec
='${libname}${release}${shared_ext}$major'
15743 shlibpath_var
=LIBRARY_PATH
15744 shlibpath_overrides_runpath
=yes
15745 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15746 hardcode_into_libs
=yes
15749 hpux9
* | hpux10
* | hpux11
*)
15750 # Give a soname corresponding to the major version so that dld.sl refuses to
15751 # link against other versions.
15758 hardcode_into_libs
=yes
15759 dynamic_linker
="$host_os dld.so"
15760 shlibpath_var
=LD_LIBRARY_PATH
15761 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15763 soname_spec
='${libname}${release}${shared_ext}$major'
15764 if test "X$HPUX_IA64_MODE" = X32
; then
15765 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15767 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15769 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15773 hardcode_into_libs
=yes
15774 dynamic_linker
="$host_os dld.sl"
15775 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15776 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15780 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15784 dynamic_linker
="$host_os dld.sl"
15785 shlibpath_var
=SHLIB_PATH
15786 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15788 soname_spec
='${libname}${release}${shared_ext}$major'
15791 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15792 postinstall_cmds
='chmod 555 $lib'
15793 # or fails outright, so override atomically:
15794 install_override_mode
=555
15801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15802 soname_spec
='${libname}${release}${shared_ext}$major'
15803 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15804 shlibpath_var
=LD_LIBRARY_PATH
15805 shlibpath_overrides_runpath
=no
15806 hardcode_into_libs
=yes
15809 irix5
* | irix6
* | nonstopux
*)
15811 nonstopux
*) version_type
=nonstopux
;;
15813 if test "$lt_cv_prog_gnu_ld" = yes; then
15821 soname_spec
='${libname}${release}${shared_ext}$major'
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15824 irix5
* | nonstopux
*)
15825 libsuff
= shlibsuff
=
15828 case $LD in # libtool.m4 will add one of these switches to LD
15829 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15830 libsuff
= shlibsuff
= libmagic
=32-bit;;
15831 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15832 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15833 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15834 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15835 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15839 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15840 shlibpath_overrides_runpath
=no
15841 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15842 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15843 hardcode_into_libs
=yes
15846 # No shared lib support for Linux oldld, aout, or coff.
15847 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15851 # This must be Linux ELF.
15853 # uclinux* changes (here and below) have been submitted to the libtool
15854 # project, but have not yet been accepted: they are GCC-local changes
15855 # for the time being. (See
15856 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15857 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15862 soname_spec
='${libname}${release}${shared_ext}$major'
15863 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15864 shlibpath_var
=LD_LIBRARY_PATH
15865 shlibpath_overrides_runpath
=no
15867 # Some binutils ld are patched to set DT_RUNPATH
15868 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15869 $as_echo_n "(cached) " >&6
15871 lt_cv_shlibpath_overrides_runpath
=no
15872 save_LDFLAGS
=$LDFLAGS
15873 save_libdir
=$libdir
15874 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15875 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15876 if test x
$gcc_no_link = xyes
; then
15877 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15879 cat > conftest.
$ac_ext <<_ACEOF
15884 if ac_fn_fc_try_link
"$LINENO"; then :
15885 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15886 lt_cv_shlibpath_overrides_runpath
=yes
15889 rm -f core conftest.err conftest.
$ac_objext \
15890 conftest
$ac_exeext conftest.
$ac_ext
15891 LDFLAGS
=$save_LDFLAGS
15892 libdir
=$save_libdir
15896 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15898 # This implies no fast_install, which is unacceptable.
15899 # Some rework will be needed to allow for fast_install
15900 # before this can be enabled.
15901 hardcode_into_libs
=yes
15903 # Append ld.so.conf contents to the search path
15904 if test -f /etc
/ld.so.conf
; then
15905 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' ' '`
15906 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15909 # We used to test for /lib/ld.so.1 and disable shared libraries on
15910 # powerpc, because MkLinux only supported shared libraries with the
15911 # GNU dynamic linker. Since this was broken with cross compilers,
15912 # most powerpc-linux boxes support dynamic linking these days and
15913 # people can always --disable-shared, the test was removed, and we
15914 # assume the GNU/Linux dynamic linker is in use.
15915 dynamic_linker
='GNU/Linux ld.so'
15922 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15924 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15925 dynamic_linker
='NetBSD (a.out) ld.so'
15927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15928 soname_spec
='${libname}${release}${shared_ext}$major'
15929 dynamic_linker
='NetBSD ld.elf_so'
15931 shlibpath_var
=LD_LIBRARY_PATH
15932 shlibpath_overrides_runpath
=yes
15933 hardcode_into_libs
=yes
15938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15939 shlibpath_var
=LD_LIBRARY_PATH
15940 shlibpath_overrides_runpath
=yes
15947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 soname_spec
='${libname}${release}${shared_ext}$major'
15949 shlibpath_var
=LD_LIBRARY_PATH
15950 shlibpath_overrides_runpath
=no
15951 hardcode_into_libs
=yes
15952 dynamic_linker
='ldqnx.so'
15957 sys_lib_dlsearch_path_spec
="/usr/lib"
15959 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15961 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15962 *) need_version
=no
;;
15964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15965 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15966 shlibpath_var
=LD_LIBRARY_PATH
15967 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15969 openbsd2.
[89] | openbsd2.
[89].
*)
15970 shlibpath_overrides_runpath
=no
15973 shlibpath_overrides_runpath
=yes
15977 shlibpath_overrides_runpath
=yes
15982 libname_spec
='$name'
15985 library_names_spec
='$libname${shared_ext} $libname.a'
15986 dynamic_linker
='OS/2 ld.exe'
15987 shlibpath_var
=LIBPATH
15990 osf3
* | osf4
* | osf5
*)
15994 soname_spec
='${libname}${release}${shared_ext}$major'
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15996 shlibpath_var
=LD_LIBRARY_PATH
15997 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15998 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16010 soname_spec
='${libname}${release}${shared_ext}$major'
16011 shlibpath_var
=LD_LIBRARY_PATH
16012 shlibpath_overrides_runpath
=yes
16013 hardcode_into_libs
=yes
16014 # ldd complains unless libraries are executable
16015 postinstall_cmds
='chmod +x $lib'
16020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16021 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16022 shlibpath_var
=LD_LIBRARY_PATH
16023 shlibpath_overrides_runpath
=yes
16024 if test "$with_gnu_ld" = yes; then
16032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16033 soname_spec
='${libname}${release}${shared_ext}$major'
16034 shlibpath_var
=LD_LIBRARY_PATH
16035 case $host_vendor in
16037 shlibpath_overrides_runpath
=no
16039 runpath_var
=LD_RUN_PATH
16047 shlibpath_overrides_runpath
=no
16048 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16054 if test -d /usr
/nec
;then
16056 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16057 soname_spec
='$libname${shared_ext}.$major'
16058 shlibpath_var
=LD_LIBRARY_PATH
16062 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16063 version_type
=freebsd-elf
16066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16067 soname_spec
='${libname}${release}${shared_ext}$major'
16068 shlibpath_var
=LD_LIBRARY_PATH
16069 shlibpath_overrides_runpath
=yes
16070 hardcode_into_libs
=yes
16071 if test "$with_gnu_ld" = yes; then
16072 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16074 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16077 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16081 sys_lib_dlsearch_path_spec
='/usr/lib'
16085 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16090 shlibpath_var
=LD_LIBRARY_PATH
16091 shlibpath_overrides_runpath
=no
16092 hardcode_into_libs
=yes
16097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16098 soname_spec
='${libname}${release}${shared_ext}$major'
16099 shlibpath_var
=LD_LIBRARY_PATH
16102 # Shared libraries for VwWorks, >= 7 only at this stage
16103 # and (fpic) still incompatible with "large" code models
16104 # in a few configurations. Only for RTP mode in any case,
16105 # and upon explicit request at configure time.
16108 case ${with_multisubdir}-${enable_shared} in
16115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16116 soname_spec
='${libname}${release}${shared_ext}$major'
16117 dynamic_linker
="$host_os module_loader"
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16126 $as_echo "$dynamic_linker" >&6; }
16127 test "$dynamic_linker" = no
&& can_build_shared
=no
16129 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16130 if test "$GCC" = yes; then
16131 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16134 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16135 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16137 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16138 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16180 hardcode_action_FC
=
16181 if test -n "$hardcode_libdir_flag_spec_FC" ||
16182 test -n "$runpath_var_FC" ||
16183 test "X$hardcode_automatic_FC" = "Xyes" ; then
16185 # We can hardcode non-existent directories.
16186 if test "$hardcode_direct_FC" != no
&&
16187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16188 # have to relink, otherwise we might link with an installed library
16189 # when we should be linking with a yet-to-be-installed one
16190 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16191 test "$hardcode_minus_L_FC" != no
; then
16192 # Linking always hardcodes the temporary library directory.
16193 hardcode_action_FC
=relink
16195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16196 hardcode_action_FC
=immediate
16199 # We cannot hardcode anything, or else we can only hardcode existing
16201 hardcode_action_FC
=unsupported
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16204 $as_echo "$hardcode_action_FC" >&6; }
16206 if test "$hardcode_action_FC" = relink ||
16207 test "$inherit_rpath_FC" = yes; then
16208 # Fast installation is not supported
16209 enable_fast_install
=no
16210 elif test "$shlibpath_overrides_runpath" = yes ||
16211 test "$enable_shared" = no
; then
16212 # Fast installation is not necessary
16213 enable_fast_install
=needless
16222 fi # test -n "$compiler"
16226 fi # test "$_lt_disable_FC" != yes
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 # extra LD Flags which are required for targets
16239 # Darwin needs -single_module when linking libgfortran
16240 extra_ldflags_libgfortran
=-Wl,-single_module
16245 # We need a working compiler at that point, otherwise give a clear
16246 # error message and bail out.
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16249 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16250 ac_ext
=${ac_fc_srcext-f}
16251 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16252 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16255 cat > conftest.
$ac_ext <<_ACEOF
16258 real, parameter :: bar = sin (12.34 / 2.5)
16261 if ac_fn_fc_try_compile
"$LINENO"; then :
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 $as_echo "yes" >&6; }
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16266 $as_echo "no" >&6; }
16267 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16272 ac_cpp
='$CPP $CPPFLAGS'
16273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16279 # Check whether --enable-largefile was given.
16280 if test "${enable_largefile+set}" = set; then :
16281 enableval
=$enable_largefile;
16284 if test "$enable_largefile" != no
; then
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16287 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16288 if ${ac_cv_sys_largefile_CC+:} false
; then :
16289 $as_echo_n "(cached) " >&6
16291 ac_cv_sys_largefile_CC
=no
16292 if test "$GCC" != yes; then
16295 # IRIX 6.2 and later do not support large files by default,
16296 # so use the C compiler's -n32 option if that helps.
16297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16298 /* end confdefs.h. */
16299 #include <sys/types.h>
16300 /* Check that off_t can represent 2**63 - 1 correctly.
16301 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16302 since some C++ compilers masquerading as C compilers
16303 incorrectly reject 9223372036854775807. */
16304 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16305 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16306 && LARGE_OFF_T % 2147483647 == 1)
16316 if ac_fn_c_try_compile
"$LINENO"; then :
16319 rm -f core conftest.err conftest.
$ac_objext
16321 if ac_fn_c_try_compile
"$LINENO"; then :
16322 ac_cv_sys_largefile_CC
=' -n32'; break
16324 rm -f core conftest.err conftest.
$ac_objext
16328 rm -f conftest.
$ac_ext
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16332 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16333 if test "$ac_cv_sys_largefile_CC" != no
; then
16334 CC
=$CC$ac_cv_sys_largefile_CC
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16338 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16339 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16340 $as_echo_n "(cached) " >&6
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #include <sys/types.h>
16346 /* Check that off_t can represent 2**63 - 1 correctly.
16347 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16348 since some C++ compilers masquerading as C compilers
16349 incorrectly reject 9223372036854775807. */
16350 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16351 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16352 && LARGE_OFF_T % 2147483647 == 1)
16362 if ac_fn_c_try_compile
"$LINENO"; then :
16363 ac_cv_sys_file_offset_bits
=no
; break
16365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #define _FILE_OFFSET_BITS 64
16369 #include <sys/types.h>
16370 /* Check that off_t can represent 2**63 - 1 correctly.
16371 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16372 since some C++ compilers masquerading as C compilers
16373 incorrectly reject 9223372036854775807. */
16374 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16375 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16376 && LARGE_OFF_T % 2147483647 == 1)
16386 if ac_fn_c_try_compile
"$LINENO"; then :
16387 ac_cv_sys_file_offset_bits
=64; break
16389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16390 ac_cv_sys_file_offset_bits
=unknown
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16395 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16396 case $ac_cv_sys_file_offset_bits in #(
16399 cat >>confdefs.h
<<_ACEOF
16400 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16405 if test $ac_cv_sys_file_offset_bits = unknown
; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16407 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16408 if ${ac_cv_sys_large_files+:} false
; then :
16409 $as_echo_n "(cached) " >&6
16412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16414 #include <sys/types.h>
16415 /* Check that off_t can represent 2**63 - 1 correctly.
16416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16417 since some C++ compilers masquerading as C compilers
16418 incorrectly reject 9223372036854775807. */
16419 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16421 && LARGE_OFF_T % 2147483647 == 1)
16431 if ac_fn_c_try_compile
"$LINENO"; then :
16432 ac_cv_sys_large_files
=no
; break
16434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #define _LARGE_FILES 1
16438 #include <sys/types.h>
16439 /* Check that off_t can represent 2**63 - 1 correctly.
16440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16441 since some C++ compilers masquerading as C compilers
16442 incorrectly reject 9223372036854775807. */
16443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16445 && LARGE_OFF_T % 2147483647 == 1)
16455 if ac_fn_c_try_compile
"$LINENO"; then :
16456 ac_cv_sys_large_files
=1; break
16458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16459 ac_cv_sys_large_files
=unknown
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16464 $as_echo "$ac_cv_sys_large_files" >&6; }
16465 case $ac_cv_sys_large_files in #(
16468 cat >>confdefs.h
<<_ACEOF
16469 #define _LARGE_FILES $ac_cv_sys_large_files
16481 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16482 if test "x$ac_cv_type_off_t" = xyes
; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define off_t long int
16493 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16494 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16496 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16499 for ac_type
in 'int' 'long int' 'long long int'; do
16500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h. */
16502 $ac_includes_default
16506 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16507 test_array [0] = 0;
16508 return test_array [0];
16514 if ac_fn_c_try_compile
"$LINENO"; then :
16516 cat >>confdefs.h
<<_ACEOF
16517 #define intptr_t $ac_type
16522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16523 test -z "$ac_type" && break
16529 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16530 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16532 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16535 for ac_type
in 'unsigned int' 'unsigned long int' \
16536 'unsigned long long int'; do
16537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 $ac_includes_default
16543 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16544 test_array [0] = 0;
16545 return test_array [0];
16551 if ac_fn_c_try_compile
"$LINENO"; then :
16553 cat >>confdefs.h
<<_ACEOF
16554 #define uintptr_t $ac_type
16559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 test -z "$ac_type" && break
16565 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16566 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16568 cat >>confdefs.h
<<_ACEOF
16569 #define HAVE_PTRDIFF_T 1
16576 # check header files (we assume C89 is available, so don't check for that)
16580 for ac_header
in $ac_header_list
16582 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16583 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16585 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16586 cat >>confdefs.h
<<_ACEOF
16587 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16632 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16634 acx_cv_header_stdint
=stddef.h
16635 acx_cv_header_stdint_kind
="(already complete)"
16636 for i
in stdint.h
$inttype_headers; do
16637 unset ac_cv_type_uintptr_t
16638 unset ac_cv_type_uintmax_t
16639 unset ac_cv_type_int_least32_t
16640 unset ac_cv_type_int_fast32_t
16641 unset ac_cv_type_uint64_t
16642 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16643 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16646 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16647 acx_cv_header_stdint
=$i
16652 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16655 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16658 acx_cv_header_stdint_kind
="(mostly complete)"
16661 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16664 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16667 acx_cv_header_stdint_kind
="(mostly complete)"
16670 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16673 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16676 acx_cv_header_stdint_kind
="(mostly complete)"
16679 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16682 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16685 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16690 if test "$acx_cv_header_stdint" = stddef.h
; then
16691 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16692 for i
in stdint.h
$inttype_headers; do
16693 unset ac_cv_type_uintptr_t
16694 unset ac_cv_type_uint32_t
16695 unset ac_cv_type_uint64_t
16696 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16697 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16700 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16701 acx_cv_header_stdint
=$i
16706 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16709 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16713 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16716 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16723 if test "$acx_cv_header_stdint" = stddef.h
; then
16724 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16725 for i
in sys
/types.h
$inttype_headers; do
16726 unset ac_cv_type_u_int32_t
16727 unset ac_cv_type_u_int64_t
16728 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16729 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16732 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16733 acx_cv_header_stdint
=$i
16738 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16741 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16748 if test "$acx_cv_header_stdint" = stddef.h
; then
16749 acx_cv_header_stdint_kind
="(using manual detection)"
16752 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16753 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16754 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16755 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16756 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16758 # ----------------- Summarize what we found so far
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16761 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16763 case `$as_basename -- gstdint.h ||
16764 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16765 Xgstdint.h : 'X\(//\)$' \| \
16766 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16767 $as_echo X/gstdint.h |
16768 sed '/^.*\/\([^/][^/]*\)\/*$/{
16781 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16782 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16783 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16784 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16789 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16791 # ----------------- done included file, check C basic types --------
16793 # Lacking an uintptr_t? Test size of void *
16794 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16795 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16798 # This bug is HP SR number 8606223364.
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16800 $as_echo_n "checking size of void *... " >&6; }
16801 if ${ac_cv_sizeof_void_p+:} false
; then :
16802 $as_echo_n "(cached) " >&6
16804 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16807 if test "$ac_cv_type_void_p" = yes; then
16808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16810 as_fn_error
77 "cannot compute sizeof (void *)
16811 See \`config.log' for more details" "$LINENO" 5; }
16813 ac_cv_sizeof_void_p
=0
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16819 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16823 cat >>confdefs.h
<<_ACEOF
16824 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16830 # Lacking an uint64_t? Test size of long
16831 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16832 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16835 # This bug is HP SR number 8606223364.
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16837 $as_echo_n "checking size of long... " >&6; }
16838 if ${ac_cv_sizeof_long+:} false
; then :
16839 $as_echo_n "(cached) " >&6
16841 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16844 if test "$ac_cv_type_long" = yes; then
16845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16847 as_fn_error
77 "cannot compute sizeof (long)
16848 See \`config.log' for more details" "$LINENO" 5; }
16850 ac_cv_sizeof_long
=0
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16856 $as_echo "$ac_cv_sizeof_long" >&6; }
16860 cat >>confdefs.h
<<_ACEOF
16861 #define SIZEOF_LONG $ac_cv_sizeof_long
16867 if test $acx_cv_header_stdint = stddef.h
; then
16868 # Lacking a good header? Test size of everything and deduce all types.
16869 # The cast to long int works around a bug in the HP C Compiler
16870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16872 # This bug is HP SR number 8606223364.
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16874 $as_echo_n "checking size of int... " >&6; }
16875 if ${ac_cv_sizeof_int+:} false
; then :
16876 $as_echo_n "(cached) " >&6
16878 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16881 if test "$ac_cv_type_int" = yes; then
16882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16884 as_fn_error
77 "cannot compute sizeof (int)
16885 See \`config.log' for more details" "$LINENO" 5; }
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16893 $as_echo "$ac_cv_sizeof_int" >&6; }
16897 cat >>confdefs.h
<<_ACEOF
16898 #define SIZEOF_INT $ac_cv_sizeof_int
16902 # The cast to long int works around a bug in the HP C Compiler
16903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16905 # This bug is HP SR number 8606223364.
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16907 $as_echo_n "checking size of short... " >&6; }
16908 if ${ac_cv_sizeof_short+:} false
; then :
16909 $as_echo_n "(cached) " >&6
16911 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16914 if test "$ac_cv_type_short" = yes; then
16915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16917 as_fn_error
77 "cannot compute sizeof (short)
16918 See \`config.log' for more details" "$LINENO" 5; }
16920 ac_cv_sizeof_short
=0
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16926 $as_echo "$ac_cv_sizeof_short" >&6; }
16930 cat >>confdefs.h
<<_ACEOF
16931 #define SIZEOF_SHORT $ac_cv_sizeof_short
16935 # The cast to long int works around a bug in the HP C Compiler
16936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16938 # This bug is HP SR number 8606223364.
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16940 $as_echo_n "checking size of char... " >&6; }
16941 if ${ac_cv_sizeof_char+:} false
; then :
16942 $as_echo_n "(cached) " >&6
16944 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16947 if test "$ac_cv_type_char" = yes; then
16948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16950 as_fn_error
77 "cannot compute sizeof (char)
16951 See \`config.log' for more details" "$LINENO" 5; }
16953 ac_cv_sizeof_char
=0
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16959 $as_echo "$ac_cv_sizeof_char" >&6; }
16963 cat >>confdefs.h
<<_ACEOF
16964 #define SIZEOF_CHAR $ac_cv_sizeof_char
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16970 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16971 case "$ac_cv_sizeof_char" in
16972 1) acx_cv_type_int8_t
=char
;;
16973 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16976 $as_echo "$acx_cv_type_int8_t" >&6; }
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16979 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16980 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16981 2:*) acx_cv_type_int16_t
=int
;;
16982 *:2) acx_cv_type_int16_t
=short
;;
16983 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16986 $as_echo "$acx_cv_type_int16_t" >&6; }
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16989 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16990 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16991 4:*) acx_cv_type_int32_t
=int
;;
16992 *:4) acx_cv_type_int32_t
=long
;;
16993 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16996 $as_echo "$acx_cv_type_int32_t" >&6; }
16999 # These tests are here to make the output prettier
17001 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17002 case "$ac_cv_sizeof_long" in
17003 8) acx_cv_type_int64_t
=long
;;
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17006 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17008 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17011 # Now we can use the above types
17013 if test "$ac_cv_type_uintptr_t" != yes; then
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17015 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17016 case $ac_cv_sizeof_void_p in
17017 2) acx_cv_type_intptr_t
=int16_t
;;
17018 4) acx_cv_type_intptr_t
=int32_t
;;
17019 8) acx_cv_type_intptr_t
=int64_t
;;
17020 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17023 $as_echo "$acx_cv_type_intptr_t" >&6; }
17026 # ----------------- done all checks, emit header -------------
17027 ac_config_commands
="$ac_config_commands gstdint.h"
17032 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17033 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
17035 cat >>confdefs.h
<<_ACEOF
17036 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17041 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17042 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17044 cat >>confdefs.h
<<_ACEOF
17045 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17050 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17051 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17053 cat >>confdefs.h
<<_ACEOF
17054 #define HAVE_STRUCT_STAT_ST_RDEV 1
17061 case "${host}--x${with_newlib}" in
17063 hardwire_newlib
=1;;
17065 hardwire_newlib
=1;;
17068 # Check for library functions.
17069 if test "${hardwire_newlib:-0}" -eq 1; then
17070 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17071 # may not work correctly, because the compiler may not be able to
17072 # link executables.
17074 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17077 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17080 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17083 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17086 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17089 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17092 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17095 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17098 # At some point, we should differentiate between architectures
17099 # like x86, which have long double versions, and alpha/powerpc/etc.,
17100 # which don't. For the time being, punt.
17101 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17103 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17110 for ac_func
in $ac_func_list
17112 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17113 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17114 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17115 cat >>confdefs.h
<<_ACEOF
17116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17237 # Check strerror_r, cannot be above as versions with two and three arguments exist
17239 ac_save_CFLAGS
="$CFLAGS"
17240 CFLAGS
="-Wimplicit-function-declaration -Werror"
17241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17243 #define _GNU_SOURCE 1
17244 #include <string.h>
17245 #include <locale.h>
17249 char s[128]; strerror_r(5, s, 128);
17254 if ac_fn_c_try_compile
"$LINENO"; then :
17256 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17260 CFLAGS
="$ac_save_CFLAGS"
17262 ac_save_CFLAGS
="$CFLAGS"
17263 CFLAGS
="-Wimplicit-function-declaration -Werror"
17264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 #define _GNU_SOURCE 1
17267 #include <string.h>
17268 #include <locale.h>
17272 char s[128]; strerror_r(5, s);
17277 if ac_fn_c_try_compile
"$LINENO"; then :
17279 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17283 CFLAGS
="$ac_save_CFLAGS"
17286 # Check for C99 (and other IEEE) math functions
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17288 $as_echo_n "checking for sin in -lm... " >&6; }
17289 if ${ac_cv_lib_m_sin+:} false
; then :
17290 $as_echo_n "(cached) " >&6
17292 ac_check_lib_save_LIBS
=$LIBS
17294 if test x
$gcc_no_link = xyes
; then
17295 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17300 /* Override any GCC internal prototype to avoid an error.
17301 Use char because int might match the return type of a GCC
17302 builtin and then its argument prototype would still apply. */
17315 if ac_fn_c_try_link
"$LINENO"; then :
17316 ac_cv_lib_m_sin
=yes
17320 rm -f core conftest.err conftest.
$ac_objext \
17321 conftest
$ac_exeext conftest.
$ac_ext
17322 LIBS
=$ac_check_lib_save_LIBS
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17325 $as_echo "$ac_cv_lib_m_sin" >&6; }
17326 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17327 cat >>confdefs.h
<<_ACEOF
17328 #define HAVE_LIBM 1
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17342 $as_echo_n "checking for acosf... " >&6; }
17343 if ${gcc_cv_math_func_acosf+:} false
; then :
17344 $as_echo_n "(cached) " >&6
17346 if test x
$gcc_no_link = xyes
; then
17347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17352 #ifdef HAVE_COMPLEX_H
17353 #include <complex.h>
17359 int (*ptr)() = (int (*)())acosf;
17368 if ac_fn_c_try_link
"$LINENO"; then :
17369 gcc_cv_math_func_acosf
=yes
17371 gcc_cv_math_func_acosf
=no
17373 rm -f core conftest.err conftest.
$ac_objext \
17374 conftest
$ac_exeext conftest.
$ac_ext
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17377 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17378 if test $gcc_cv_math_func_acosf = yes; then
17380 cat >>confdefs.h
<<_ACEOF
17381 #define HAVE_ACOSF 1
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17390 $as_echo_n "checking for acos... " >&6; }
17391 if ${gcc_cv_math_func_acos+:} false
; then :
17392 $as_echo_n "(cached) " >&6
17394 if test x
$gcc_no_link = xyes
; then
17395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17400 #ifdef HAVE_COMPLEX_H
17401 #include <complex.h>
17407 int (*ptr)() = (int (*)())acos;
17416 if ac_fn_c_try_link
"$LINENO"; then :
17417 gcc_cv_math_func_acos
=yes
17419 gcc_cv_math_func_acos
=no
17421 rm -f core conftest.err conftest.
$ac_objext \
17422 conftest
$ac_exeext conftest.
$ac_ext
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17425 $as_echo "$gcc_cv_math_func_acos" >&6; }
17426 if test $gcc_cv_math_func_acos = yes; then
17428 cat >>confdefs.h
<<_ACEOF
17429 #define HAVE_ACOS 1
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17438 $as_echo_n "checking for acosl... " >&6; }
17439 if ${gcc_cv_math_func_acosl+:} false
; then :
17440 $as_echo_n "(cached) " >&6
17442 if test x
$gcc_no_link = xyes
; then
17443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17448 #ifdef HAVE_COMPLEX_H
17449 #include <complex.h>
17455 int (*ptr)() = (int (*)())acosl;
17464 if ac_fn_c_try_link
"$LINENO"; then :
17465 gcc_cv_math_func_acosl
=yes
17467 gcc_cv_math_func_acosl
=no
17469 rm -f core conftest.err conftest.
$ac_objext \
17470 conftest
$ac_exeext conftest.
$ac_ext
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17473 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17474 if test $gcc_cv_math_func_acosl = yes; then
17476 cat >>confdefs.h
<<_ACEOF
17477 #define HAVE_ACOSL 1
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17486 $as_echo_n "checking for acoshf... " >&6; }
17487 if ${gcc_cv_math_func_acoshf+:} false
; then :
17488 $as_echo_n "(cached) " >&6
17490 if test x
$gcc_no_link = xyes
; then
17491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17496 #ifdef HAVE_COMPLEX_H
17497 #include <complex.h>
17503 int (*ptr)() = (int (*)())acoshf;
17512 if ac_fn_c_try_link
"$LINENO"; then :
17513 gcc_cv_math_func_acoshf
=yes
17515 gcc_cv_math_func_acoshf
=no
17517 rm -f core conftest.err conftest.
$ac_objext \
17518 conftest
$ac_exeext conftest.
$ac_ext
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17521 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17522 if test $gcc_cv_math_func_acoshf = yes; then
17524 cat >>confdefs.h
<<_ACEOF
17525 #define HAVE_ACOSHF 1
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17534 $as_echo_n "checking for acosh... " >&6; }
17535 if ${gcc_cv_math_func_acosh+:} false
; then :
17536 $as_echo_n "(cached) " >&6
17538 if test x
$gcc_no_link = xyes
; then
17539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17544 #ifdef HAVE_COMPLEX_H
17545 #include <complex.h>
17551 int (*ptr)() = (int (*)())acosh;
17560 if ac_fn_c_try_link
"$LINENO"; then :
17561 gcc_cv_math_func_acosh
=yes
17563 gcc_cv_math_func_acosh
=no
17565 rm -f core conftest.err conftest.
$ac_objext \
17566 conftest
$ac_exeext conftest.
$ac_ext
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17569 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17570 if test $gcc_cv_math_func_acosh = yes; then
17572 cat >>confdefs.h
<<_ACEOF
17573 #define HAVE_ACOSH 1
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17582 $as_echo_n "checking for acoshl... " >&6; }
17583 if ${gcc_cv_math_func_acoshl+:} false
; then :
17584 $as_echo_n "(cached) " >&6
17586 if test x
$gcc_no_link = xyes
; then
17587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17592 #ifdef HAVE_COMPLEX_H
17593 #include <complex.h>
17599 int (*ptr)() = (int (*)())acoshl;
17608 if ac_fn_c_try_link
"$LINENO"; then :
17609 gcc_cv_math_func_acoshl
=yes
17611 gcc_cv_math_func_acoshl
=no
17613 rm -f core conftest.err conftest.
$ac_objext \
17614 conftest
$ac_exeext conftest.
$ac_ext
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17617 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17618 if test $gcc_cv_math_func_acoshl = yes; then
17620 cat >>confdefs.h
<<_ACEOF
17621 #define HAVE_ACOSHL 1
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17630 $as_echo_n "checking for asinf... " >&6; }
17631 if ${gcc_cv_math_func_asinf+:} false
; then :
17632 $as_echo_n "(cached) " >&6
17634 if test x
$gcc_no_link = xyes
; then
17635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 #ifdef HAVE_COMPLEX_H
17641 #include <complex.h>
17647 int (*ptr)() = (int (*)())asinf;
17656 if ac_fn_c_try_link
"$LINENO"; then :
17657 gcc_cv_math_func_asinf
=yes
17659 gcc_cv_math_func_asinf
=no
17661 rm -f core conftest.err conftest.
$ac_objext \
17662 conftest
$ac_exeext conftest.
$ac_ext
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17665 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17666 if test $gcc_cv_math_func_asinf = yes; then
17668 cat >>confdefs.h
<<_ACEOF
17669 #define HAVE_ASINF 1
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17678 $as_echo_n "checking for asin... " >&6; }
17679 if ${gcc_cv_math_func_asin+:} false
; then :
17680 $as_echo_n "(cached) " >&6
17682 if test x
$gcc_no_link = xyes
; then
17683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17688 #ifdef HAVE_COMPLEX_H
17689 #include <complex.h>
17695 int (*ptr)() = (int (*)())asin;
17704 if ac_fn_c_try_link
"$LINENO"; then :
17705 gcc_cv_math_func_asin
=yes
17707 gcc_cv_math_func_asin
=no
17709 rm -f core conftest.err conftest.
$ac_objext \
17710 conftest
$ac_exeext conftest.
$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17713 $as_echo "$gcc_cv_math_func_asin" >&6; }
17714 if test $gcc_cv_math_func_asin = yes; then
17716 cat >>confdefs.h
<<_ACEOF
17717 #define HAVE_ASIN 1
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17726 $as_echo_n "checking for asinl... " >&6; }
17727 if ${gcc_cv_math_func_asinl+:} false
; then :
17728 $as_echo_n "(cached) " >&6
17730 if test x
$gcc_no_link = xyes
; then
17731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17736 #ifdef HAVE_COMPLEX_H
17737 #include <complex.h>
17743 int (*ptr)() = (int (*)())asinl;
17752 if ac_fn_c_try_link
"$LINENO"; then :
17753 gcc_cv_math_func_asinl
=yes
17755 gcc_cv_math_func_asinl
=no
17757 rm -f core conftest.err conftest.
$ac_objext \
17758 conftest
$ac_exeext conftest.
$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17761 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17762 if test $gcc_cv_math_func_asinl = yes; then
17764 cat >>confdefs.h
<<_ACEOF
17765 #define HAVE_ASINL 1
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17774 $as_echo_n "checking for asinhf... " >&6; }
17775 if ${gcc_cv_math_func_asinhf+:} false
; then :
17776 $as_echo_n "(cached) " >&6
17778 if test x
$gcc_no_link = xyes
; then
17779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 #ifdef HAVE_COMPLEX_H
17785 #include <complex.h>
17791 int (*ptr)() = (int (*)())asinhf;
17800 if ac_fn_c_try_link
"$LINENO"; then :
17801 gcc_cv_math_func_asinhf
=yes
17803 gcc_cv_math_func_asinhf
=no
17805 rm -f core conftest.err conftest.
$ac_objext \
17806 conftest
$ac_exeext conftest.
$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17809 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17810 if test $gcc_cv_math_func_asinhf = yes; then
17812 cat >>confdefs.h
<<_ACEOF
17813 #define HAVE_ASINHF 1
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17822 $as_echo_n "checking for asinh... " >&6; }
17823 if ${gcc_cv_math_func_asinh+:} false
; then :
17824 $as_echo_n "(cached) " >&6
17826 if test x
$gcc_no_link = xyes
; then
17827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 #ifdef HAVE_COMPLEX_H
17833 #include <complex.h>
17839 int (*ptr)() = (int (*)())asinh;
17848 if ac_fn_c_try_link
"$LINENO"; then :
17849 gcc_cv_math_func_asinh
=yes
17851 gcc_cv_math_func_asinh
=no
17853 rm -f core conftest.err conftest.
$ac_objext \
17854 conftest
$ac_exeext conftest.
$ac_ext
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17857 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17858 if test $gcc_cv_math_func_asinh = yes; then
17860 cat >>confdefs.h
<<_ACEOF
17861 #define HAVE_ASINH 1
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17870 $as_echo_n "checking for asinhl... " >&6; }
17871 if ${gcc_cv_math_func_asinhl+:} false
; then :
17872 $as_echo_n "(cached) " >&6
17874 if test x
$gcc_no_link = xyes
; then
17875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 #ifdef HAVE_COMPLEX_H
17881 #include <complex.h>
17887 int (*ptr)() = (int (*)())asinhl;
17896 if ac_fn_c_try_link
"$LINENO"; then :
17897 gcc_cv_math_func_asinhl
=yes
17899 gcc_cv_math_func_asinhl
=no
17901 rm -f core conftest.err conftest.
$ac_objext \
17902 conftest
$ac_exeext conftest.
$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17905 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17906 if test $gcc_cv_math_func_asinhl = yes; then
17908 cat >>confdefs.h
<<_ACEOF
17909 #define HAVE_ASINHL 1
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17918 $as_echo_n "checking for atan2f... " >&6; }
17919 if ${gcc_cv_math_func_atan2f+:} false
; then :
17920 $as_echo_n "(cached) " >&6
17922 if test x
$gcc_no_link = xyes
; then
17923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17928 #ifdef HAVE_COMPLEX_H
17929 #include <complex.h>
17935 int (*ptr)() = (int (*)())atan2f;
17944 if ac_fn_c_try_link
"$LINENO"; then :
17945 gcc_cv_math_func_atan2f
=yes
17947 gcc_cv_math_func_atan2f
=no
17949 rm -f core conftest.err conftest.
$ac_objext \
17950 conftest
$ac_exeext conftest.
$ac_ext
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17953 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17954 if test $gcc_cv_math_func_atan2f = yes; then
17956 cat >>confdefs.h
<<_ACEOF
17957 #define HAVE_ATAN2F 1
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17966 $as_echo_n "checking for atan2... " >&6; }
17967 if ${gcc_cv_math_func_atan2+:} false
; then :
17968 $as_echo_n "(cached) " >&6
17970 if test x
$gcc_no_link = xyes
; then
17971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17976 #ifdef HAVE_COMPLEX_H
17977 #include <complex.h>
17983 int (*ptr)() = (int (*)())atan2;
17992 if ac_fn_c_try_link
"$LINENO"; then :
17993 gcc_cv_math_func_atan2
=yes
17995 gcc_cv_math_func_atan2
=no
17997 rm -f core conftest.err conftest.
$ac_objext \
17998 conftest
$ac_exeext conftest.
$ac_ext
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18001 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18002 if test $gcc_cv_math_func_atan2 = yes; then
18004 cat >>confdefs.h
<<_ACEOF
18005 #define HAVE_ATAN2 1
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18014 $as_echo_n "checking for atan2l... " >&6; }
18015 if ${gcc_cv_math_func_atan2l+:} false
; then :
18016 $as_echo_n "(cached) " >&6
18018 if test x
$gcc_no_link = xyes
; then
18019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 #ifdef HAVE_COMPLEX_H
18025 #include <complex.h>
18031 int (*ptr)() = (int (*)())atan2l;
18040 if ac_fn_c_try_link
"$LINENO"; then :
18041 gcc_cv_math_func_atan2l
=yes
18043 gcc_cv_math_func_atan2l
=no
18045 rm -f core conftest.err conftest.
$ac_objext \
18046 conftest
$ac_exeext conftest.
$ac_ext
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18049 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18050 if test $gcc_cv_math_func_atan2l = yes; then
18052 cat >>confdefs.h
<<_ACEOF
18053 #define HAVE_ATAN2L 1
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18062 $as_echo_n "checking for atanf... " >&6; }
18063 if ${gcc_cv_math_func_atanf+:} false
; then :
18064 $as_echo_n "(cached) " >&6
18066 if test x
$gcc_no_link = xyes
; then
18067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h. */
18072 #ifdef HAVE_COMPLEX_H
18073 #include <complex.h>
18079 int (*ptr)() = (int (*)())atanf;
18088 if ac_fn_c_try_link
"$LINENO"; then :
18089 gcc_cv_math_func_atanf
=yes
18091 gcc_cv_math_func_atanf
=no
18093 rm -f core conftest.err conftest.
$ac_objext \
18094 conftest
$ac_exeext conftest.
$ac_ext
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18097 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18098 if test $gcc_cv_math_func_atanf = yes; then
18100 cat >>confdefs.h
<<_ACEOF
18101 #define HAVE_ATANF 1
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18110 $as_echo_n "checking for atan... " >&6; }
18111 if ${gcc_cv_math_func_atan+:} false
; then :
18112 $as_echo_n "(cached) " >&6
18114 if test x
$gcc_no_link = xyes
; then
18115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 #ifdef HAVE_COMPLEX_H
18121 #include <complex.h>
18127 int (*ptr)() = (int (*)())atan;
18136 if ac_fn_c_try_link
"$LINENO"; then :
18137 gcc_cv_math_func_atan
=yes
18139 gcc_cv_math_func_atan
=no
18141 rm -f core conftest.err conftest.
$ac_objext \
18142 conftest
$ac_exeext conftest.
$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18145 $as_echo "$gcc_cv_math_func_atan" >&6; }
18146 if test $gcc_cv_math_func_atan = yes; then
18148 cat >>confdefs.h
<<_ACEOF
18149 #define HAVE_ATAN 1
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18158 $as_echo_n "checking for atanl... " >&6; }
18159 if ${gcc_cv_math_func_atanl+:} false
; then :
18160 $as_echo_n "(cached) " >&6
18162 if test x
$gcc_no_link = xyes
; then
18163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 #ifdef HAVE_COMPLEX_H
18169 #include <complex.h>
18175 int (*ptr)() = (int (*)())atanl;
18184 if ac_fn_c_try_link
"$LINENO"; then :
18185 gcc_cv_math_func_atanl
=yes
18187 gcc_cv_math_func_atanl
=no
18189 rm -f core conftest.err conftest.
$ac_objext \
18190 conftest
$ac_exeext conftest.
$ac_ext
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18193 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18194 if test $gcc_cv_math_func_atanl = yes; then
18196 cat >>confdefs.h
<<_ACEOF
18197 #define HAVE_ATANL 1
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18206 $as_echo_n "checking for atanhf... " >&6; }
18207 if ${gcc_cv_math_func_atanhf+:} false
; then :
18208 $as_echo_n "(cached) " >&6
18210 if test x
$gcc_no_link = xyes
; then
18211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 #ifdef HAVE_COMPLEX_H
18217 #include <complex.h>
18223 int (*ptr)() = (int (*)())atanhf;
18232 if ac_fn_c_try_link
"$LINENO"; then :
18233 gcc_cv_math_func_atanhf
=yes
18235 gcc_cv_math_func_atanhf
=no
18237 rm -f core conftest.err conftest.
$ac_objext \
18238 conftest
$ac_exeext conftest.
$ac_ext
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18241 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18242 if test $gcc_cv_math_func_atanhf = yes; then
18244 cat >>confdefs.h
<<_ACEOF
18245 #define HAVE_ATANHF 1
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18254 $as_echo_n "checking for atanh... " >&6; }
18255 if ${gcc_cv_math_func_atanh+:} false
; then :
18256 $as_echo_n "(cached) " >&6
18258 if test x
$gcc_no_link = xyes
; then
18259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 #ifdef HAVE_COMPLEX_H
18265 #include <complex.h>
18271 int (*ptr)() = (int (*)())atanh;
18280 if ac_fn_c_try_link
"$LINENO"; then :
18281 gcc_cv_math_func_atanh
=yes
18283 gcc_cv_math_func_atanh
=no
18285 rm -f core conftest.err conftest.
$ac_objext \
18286 conftest
$ac_exeext conftest.
$ac_ext
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18289 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18290 if test $gcc_cv_math_func_atanh = yes; then
18292 cat >>confdefs.h
<<_ACEOF
18293 #define HAVE_ATANH 1
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18302 $as_echo_n "checking for atanhl... " >&6; }
18303 if ${gcc_cv_math_func_atanhl+:} false
; then :
18304 $as_echo_n "(cached) " >&6
18306 if test x
$gcc_no_link = xyes
; then
18307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 #ifdef HAVE_COMPLEX_H
18313 #include <complex.h>
18319 int (*ptr)() = (int (*)())atanhl;
18328 if ac_fn_c_try_link
"$LINENO"; then :
18329 gcc_cv_math_func_atanhl
=yes
18331 gcc_cv_math_func_atanhl
=no
18333 rm -f core conftest.err conftest.
$ac_objext \
18334 conftest
$ac_exeext conftest.
$ac_ext
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18337 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18338 if test $gcc_cv_math_func_atanhl = yes; then
18340 cat >>confdefs.h
<<_ACEOF
18341 #define HAVE_ATANHL 1
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18350 $as_echo_n "checking for cargf... " >&6; }
18351 if ${gcc_cv_math_func_cargf+:} false
; then :
18352 $as_echo_n "(cached) " >&6
18354 if test x
$gcc_no_link = xyes
; then
18355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18360 #ifdef HAVE_COMPLEX_H
18361 #include <complex.h>
18367 int (*ptr)() = (int (*)())cargf;
18376 if ac_fn_c_try_link
"$LINENO"; then :
18377 gcc_cv_math_func_cargf
=yes
18379 gcc_cv_math_func_cargf
=no
18381 rm -f core conftest.err conftest.
$ac_objext \
18382 conftest
$ac_exeext conftest.
$ac_ext
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18385 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18386 if test $gcc_cv_math_func_cargf = yes; then
18388 cat >>confdefs.h
<<_ACEOF
18389 #define HAVE_CARGF 1
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18398 $as_echo_n "checking for carg... " >&6; }
18399 if ${gcc_cv_math_func_carg+:} false
; then :
18400 $as_echo_n "(cached) " >&6
18402 if test x
$gcc_no_link = xyes
; then
18403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18408 #ifdef HAVE_COMPLEX_H
18409 #include <complex.h>
18415 int (*ptr)() = (int (*)())carg;
18424 if ac_fn_c_try_link
"$LINENO"; then :
18425 gcc_cv_math_func_carg
=yes
18427 gcc_cv_math_func_carg
=no
18429 rm -f core conftest.err conftest.
$ac_objext \
18430 conftest
$ac_exeext conftest.
$ac_ext
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18433 $as_echo "$gcc_cv_math_func_carg" >&6; }
18434 if test $gcc_cv_math_func_carg = yes; then
18436 cat >>confdefs.h
<<_ACEOF
18437 #define HAVE_CARG 1
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18446 $as_echo_n "checking for cargl... " >&6; }
18447 if ${gcc_cv_math_func_cargl+:} false
; then :
18448 $as_echo_n "(cached) " >&6
18450 if test x
$gcc_no_link = xyes
; then
18451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18454 /* end confdefs.h. */
18456 #ifdef HAVE_COMPLEX_H
18457 #include <complex.h>
18463 int (*ptr)() = (int (*)())cargl;
18472 if ac_fn_c_try_link
"$LINENO"; then :
18473 gcc_cv_math_func_cargl
=yes
18475 gcc_cv_math_func_cargl
=no
18477 rm -f core conftest.err conftest.
$ac_objext \
18478 conftest
$ac_exeext conftest.
$ac_ext
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18481 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18482 if test $gcc_cv_math_func_cargl = yes; then
18484 cat >>confdefs.h
<<_ACEOF
18485 #define HAVE_CARGL 1
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18494 $as_echo_n "checking for ceilf... " >&6; }
18495 if ${gcc_cv_math_func_ceilf+:} false
; then :
18496 $as_echo_n "(cached) " >&6
18498 if test x
$gcc_no_link = xyes
; then
18499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18504 #ifdef HAVE_COMPLEX_H
18505 #include <complex.h>
18511 int (*ptr)() = (int (*)())ceilf;
18520 if ac_fn_c_try_link
"$LINENO"; then :
18521 gcc_cv_math_func_ceilf
=yes
18523 gcc_cv_math_func_ceilf
=no
18525 rm -f core conftest.err conftest.
$ac_objext \
18526 conftest
$ac_exeext conftest.
$ac_ext
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18529 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18530 if test $gcc_cv_math_func_ceilf = yes; then
18532 cat >>confdefs.h
<<_ACEOF
18533 #define HAVE_CEILF 1
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18542 $as_echo_n "checking for ceil... " >&6; }
18543 if ${gcc_cv_math_func_ceil+:} false
; then :
18544 $as_echo_n "(cached) " >&6
18546 if test x
$gcc_no_link = xyes
; then
18547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18552 #ifdef HAVE_COMPLEX_H
18553 #include <complex.h>
18559 int (*ptr)() = (int (*)())ceil;
18568 if ac_fn_c_try_link
"$LINENO"; then :
18569 gcc_cv_math_func_ceil
=yes
18571 gcc_cv_math_func_ceil
=no
18573 rm -f core conftest.err conftest.
$ac_objext \
18574 conftest
$ac_exeext conftest.
$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18577 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18578 if test $gcc_cv_math_func_ceil = yes; then
18580 cat >>confdefs.h
<<_ACEOF
18581 #define HAVE_CEIL 1
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18590 $as_echo_n "checking for ceill... " >&6; }
18591 if ${gcc_cv_math_func_ceill+:} false
; then :
18592 $as_echo_n "(cached) " >&6
18594 if test x
$gcc_no_link = xyes
; then
18595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18600 #ifdef HAVE_COMPLEX_H
18601 #include <complex.h>
18607 int (*ptr)() = (int (*)())ceill;
18616 if ac_fn_c_try_link
"$LINENO"; then :
18617 gcc_cv_math_func_ceill
=yes
18619 gcc_cv_math_func_ceill
=no
18621 rm -f core conftest.err conftest.
$ac_objext \
18622 conftest
$ac_exeext conftest.
$ac_ext
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18625 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18626 if test $gcc_cv_math_func_ceill = yes; then
18628 cat >>confdefs.h
<<_ACEOF
18629 #define HAVE_CEILL 1
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18638 $as_echo_n "checking for copysignf... " >&6; }
18639 if ${gcc_cv_math_func_copysignf+:} false
; then :
18640 $as_echo_n "(cached) " >&6
18642 if test x
$gcc_no_link = xyes
; then
18643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 #ifdef HAVE_COMPLEX_H
18649 #include <complex.h>
18655 int (*ptr)() = (int (*)())copysignf;
18664 if ac_fn_c_try_link
"$LINENO"; then :
18665 gcc_cv_math_func_copysignf
=yes
18667 gcc_cv_math_func_copysignf
=no
18669 rm -f core conftest.err conftest.
$ac_objext \
18670 conftest
$ac_exeext conftest.
$ac_ext
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18673 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18674 if test $gcc_cv_math_func_copysignf = yes; then
18676 cat >>confdefs.h
<<_ACEOF
18677 #define HAVE_COPYSIGNF 1
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18686 $as_echo_n "checking for copysign... " >&6; }
18687 if ${gcc_cv_math_func_copysign+:} false
; then :
18688 $as_echo_n "(cached) " >&6
18690 if test x
$gcc_no_link = xyes
; then
18691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18696 #ifdef HAVE_COMPLEX_H
18697 #include <complex.h>
18703 int (*ptr)() = (int (*)())copysign;
18712 if ac_fn_c_try_link
"$LINENO"; then :
18713 gcc_cv_math_func_copysign
=yes
18715 gcc_cv_math_func_copysign
=no
18717 rm -f core conftest.err conftest.
$ac_objext \
18718 conftest
$ac_exeext conftest.
$ac_ext
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18721 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18722 if test $gcc_cv_math_func_copysign = yes; then
18724 cat >>confdefs.h
<<_ACEOF
18725 #define HAVE_COPYSIGN 1
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18734 $as_echo_n "checking for copysignl... " >&6; }
18735 if ${gcc_cv_math_func_copysignl+:} false
; then :
18736 $as_echo_n "(cached) " >&6
18738 if test x
$gcc_no_link = xyes
; then
18739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18744 #ifdef HAVE_COMPLEX_H
18745 #include <complex.h>
18751 int (*ptr)() = (int (*)())copysignl;
18760 if ac_fn_c_try_link
"$LINENO"; then :
18761 gcc_cv_math_func_copysignl
=yes
18763 gcc_cv_math_func_copysignl
=no
18765 rm -f core conftest.err conftest.
$ac_objext \
18766 conftest
$ac_exeext conftest.
$ac_ext
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18769 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18770 if test $gcc_cv_math_func_copysignl = yes; then
18772 cat >>confdefs.h
<<_ACEOF
18773 #define HAVE_COPYSIGNL 1
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18782 $as_echo_n "checking for cosf... " >&6; }
18783 if ${gcc_cv_math_func_cosf+:} false
; then :
18784 $as_echo_n "(cached) " >&6
18786 if test x
$gcc_no_link = xyes
; then
18787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18792 #ifdef HAVE_COMPLEX_H
18793 #include <complex.h>
18799 int (*ptr)() = (int (*)())cosf;
18808 if ac_fn_c_try_link
"$LINENO"; then :
18809 gcc_cv_math_func_cosf
=yes
18811 gcc_cv_math_func_cosf
=no
18813 rm -f core conftest.err conftest.
$ac_objext \
18814 conftest
$ac_exeext conftest.
$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18817 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18818 if test $gcc_cv_math_func_cosf = yes; then
18820 cat >>confdefs.h
<<_ACEOF
18821 #define HAVE_COSF 1
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18830 $as_echo_n "checking for cos... " >&6; }
18831 if ${gcc_cv_math_func_cos+:} false
; then :
18832 $as_echo_n "(cached) " >&6
18834 if test x
$gcc_no_link = xyes
; then
18835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18840 #ifdef HAVE_COMPLEX_H
18841 #include <complex.h>
18847 int (*ptr)() = (int (*)())cos;
18856 if ac_fn_c_try_link
"$LINENO"; then :
18857 gcc_cv_math_func_cos
=yes
18859 gcc_cv_math_func_cos
=no
18861 rm -f core conftest.err conftest.
$ac_objext \
18862 conftest
$ac_exeext conftest.
$ac_ext
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18865 $as_echo "$gcc_cv_math_func_cos" >&6; }
18866 if test $gcc_cv_math_func_cos = yes; then
18868 cat >>confdefs.h
<<_ACEOF
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18878 $as_echo_n "checking for cosl... " >&6; }
18879 if ${gcc_cv_math_func_cosl+:} false
; then :
18880 $as_echo_n "(cached) " >&6
18882 if test x
$gcc_no_link = xyes
; then
18883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18888 #ifdef HAVE_COMPLEX_H
18889 #include <complex.h>
18895 int (*ptr)() = (int (*)())cosl;
18904 if ac_fn_c_try_link
"$LINENO"; then :
18905 gcc_cv_math_func_cosl
=yes
18907 gcc_cv_math_func_cosl
=no
18909 rm -f core conftest.err conftest.
$ac_objext \
18910 conftest
$ac_exeext conftest.
$ac_ext
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18913 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18914 if test $gcc_cv_math_func_cosl = yes; then
18916 cat >>confdefs.h
<<_ACEOF
18917 #define HAVE_COSL 1
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18926 $as_echo_n "checking for ccosf... " >&6; }
18927 if ${gcc_cv_math_func_ccosf+:} false
; then :
18928 $as_echo_n "(cached) " >&6
18930 if test x
$gcc_no_link = xyes
; then
18931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18936 #ifdef HAVE_COMPLEX_H
18937 #include <complex.h>
18943 int (*ptr)() = (int (*)())ccosf;
18952 if ac_fn_c_try_link
"$LINENO"; then :
18953 gcc_cv_math_func_ccosf
=yes
18955 gcc_cv_math_func_ccosf
=no
18957 rm -f core conftest.err conftest.
$ac_objext \
18958 conftest
$ac_exeext conftest.
$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18961 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18962 if test $gcc_cv_math_func_ccosf = yes; then
18964 cat >>confdefs.h
<<_ACEOF
18965 #define HAVE_CCOSF 1
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18974 $as_echo_n "checking for ccos... " >&6; }
18975 if ${gcc_cv_math_func_ccos+:} false
; then :
18976 $as_echo_n "(cached) " >&6
18978 if test x
$gcc_no_link = xyes
; then
18979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18984 #ifdef HAVE_COMPLEX_H
18985 #include <complex.h>
18991 int (*ptr)() = (int (*)())ccos;
19000 if ac_fn_c_try_link
"$LINENO"; then :
19001 gcc_cv_math_func_ccos
=yes
19003 gcc_cv_math_func_ccos
=no
19005 rm -f core conftest.err conftest.
$ac_objext \
19006 conftest
$ac_exeext conftest.
$ac_ext
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19009 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19010 if test $gcc_cv_math_func_ccos = yes; then
19012 cat >>confdefs.h
<<_ACEOF
19013 #define HAVE_CCOS 1
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19022 $as_echo_n "checking for ccosl... " >&6; }
19023 if ${gcc_cv_math_func_ccosl+:} false
; then :
19024 $as_echo_n "(cached) " >&6
19026 if test x
$gcc_no_link = xyes
; then
19027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19032 #ifdef HAVE_COMPLEX_H
19033 #include <complex.h>
19039 int (*ptr)() = (int (*)())ccosl;
19048 if ac_fn_c_try_link
"$LINENO"; then :
19049 gcc_cv_math_func_ccosl
=yes
19051 gcc_cv_math_func_ccosl
=no
19053 rm -f core conftest.err conftest.
$ac_objext \
19054 conftest
$ac_exeext conftest.
$ac_ext
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19057 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19058 if test $gcc_cv_math_func_ccosl = yes; then
19060 cat >>confdefs.h
<<_ACEOF
19061 #define HAVE_CCOSL 1
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19070 $as_echo_n "checking for coshf... " >&6; }
19071 if ${gcc_cv_math_func_coshf+:} false
; then :
19072 $as_echo_n "(cached) " >&6
19074 if test x
$gcc_no_link = xyes
; then
19075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19080 #ifdef HAVE_COMPLEX_H
19081 #include <complex.h>
19087 int (*ptr)() = (int (*)())coshf;
19096 if ac_fn_c_try_link
"$LINENO"; then :
19097 gcc_cv_math_func_coshf
=yes
19099 gcc_cv_math_func_coshf
=no
19101 rm -f core conftest.err conftest.
$ac_objext \
19102 conftest
$ac_exeext conftest.
$ac_ext
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19105 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19106 if test $gcc_cv_math_func_coshf = yes; then
19108 cat >>confdefs.h
<<_ACEOF
19109 #define HAVE_COSHF 1
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19118 $as_echo_n "checking for cosh... " >&6; }
19119 if ${gcc_cv_math_func_cosh+:} false
; then :
19120 $as_echo_n "(cached) " >&6
19122 if test x
$gcc_no_link = xyes
; then
19123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h. */
19128 #ifdef HAVE_COMPLEX_H
19129 #include <complex.h>
19135 int (*ptr)() = (int (*)())cosh;
19144 if ac_fn_c_try_link
"$LINENO"; then :
19145 gcc_cv_math_func_cosh
=yes
19147 gcc_cv_math_func_cosh
=no
19149 rm -f core conftest.err conftest.
$ac_objext \
19150 conftest
$ac_exeext conftest.
$ac_ext
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19153 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19154 if test $gcc_cv_math_func_cosh = yes; then
19156 cat >>confdefs.h
<<_ACEOF
19157 #define HAVE_COSH 1
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19166 $as_echo_n "checking for coshl... " >&6; }
19167 if ${gcc_cv_math_func_coshl+:} false
; then :
19168 $as_echo_n "(cached) " >&6
19170 if test x
$gcc_no_link = xyes
; then
19171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19176 #ifdef HAVE_COMPLEX_H
19177 #include <complex.h>
19183 int (*ptr)() = (int (*)())coshl;
19192 if ac_fn_c_try_link
"$LINENO"; then :
19193 gcc_cv_math_func_coshl
=yes
19195 gcc_cv_math_func_coshl
=no
19197 rm -f core conftest.err conftest.
$ac_objext \
19198 conftest
$ac_exeext conftest.
$ac_ext
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19201 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19202 if test $gcc_cv_math_func_coshl = yes; then
19204 cat >>confdefs.h
<<_ACEOF
19205 #define HAVE_COSHL 1
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19214 $as_echo_n "checking for ccoshf... " >&6; }
19215 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19216 $as_echo_n "(cached) " >&6
19218 if test x
$gcc_no_link = xyes
; then
19219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19224 #ifdef HAVE_COMPLEX_H
19225 #include <complex.h>
19231 int (*ptr)() = (int (*)())ccoshf;
19240 if ac_fn_c_try_link
"$LINENO"; then :
19241 gcc_cv_math_func_ccoshf
=yes
19243 gcc_cv_math_func_ccoshf
=no
19245 rm -f core conftest.err conftest.
$ac_objext \
19246 conftest
$ac_exeext conftest.
$ac_ext
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19249 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19250 if test $gcc_cv_math_func_ccoshf = yes; then
19252 cat >>confdefs.h
<<_ACEOF
19253 #define HAVE_CCOSHF 1
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19262 $as_echo_n "checking for ccosh... " >&6; }
19263 if ${gcc_cv_math_func_ccosh+:} false
; then :
19264 $as_echo_n "(cached) " >&6
19266 if test x
$gcc_no_link = xyes
; then
19267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19272 #ifdef HAVE_COMPLEX_H
19273 #include <complex.h>
19279 int (*ptr)() = (int (*)())ccosh;
19288 if ac_fn_c_try_link
"$LINENO"; then :
19289 gcc_cv_math_func_ccosh
=yes
19291 gcc_cv_math_func_ccosh
=no
19293 rm -f core conftest.err conftest.
$ac_objext \
19294 conftest
$ac_exeext conftest.
$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19297 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19298 if test $gcc_cv_math_func_ccosh = yes; then
19300 cat >>confdefs.h
<<_ACEOF
19301 #define HAVE_CCOSH 1
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19310 $as_echo_n "checking for ccoshl... " >&6; }
19311 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19312 $as_echo_n "(cached) " >&6
19314 if test x
$gcc_no_link = xyes
; then
19315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19320 #ifdef HAVE_COMPLEX_H
19321 #include <complex.h>
19327 int (*ptr)() = (int (*)())ccoshl;
19336 if ac_fn_c_try_link
"$LINENO"; then :
19337 gcc_cv_math_func_ccoshl
=yes
19339 gcc_cv_math_func_ccoshl
=no
19341 rm -f core conftest.err conftest.
$ac_objext \
19342 conftest
$ac_exeext conftest.
$ac_ext
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19345 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19346 if test $gcc_cv_math_func_ccoshl = yes; then
19348 cat >>confdefs.h
<<_ACEOF
19349 #define HAVE_CCOSHL 1
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19358 $as_echo_n "checking for expf... " >&6; }
19359 if ${gcc_cv_math_func_expf+:} false
; then :
19360 $as_echo_n "(cached) " >&6
19362 if test x
$gcc_no_link = xyes
; then
19363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19368 #ifdef HAVE_COMPLEX_H
19369 #include <complex.h>
19375 int (*ptr)() = (int (*)())expf;
19384 if ac_fn_c_try_link
"$LINENO"; then :
19385 gcc_cv_math_func_expf
=yes
19387 gcc_cv_math_func_expf
=no
19389 rm -f core conftest.err conftest.
$ac_objext \
19390 conftest
$ac_exeext conftest.
$ac_ext
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19393 $as_echo "$gcc_cv_math_func_expf" >&6; }
19394 if test $gcc_cv_math_func_expf = yes; then
19396 cat >>confdefs.h
<<_ACEOF
19397 #define HAVE_EXPF 1
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19406 $as_echo_n "checking for exp... " >&6; }
19407 if ${gcc_cv_math_func_exp+:} false
; then :
19408 $as_echo_n "(cached) " >&6
19410 if test x
$gcc_no_link = xyes
; then
19411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19416 #ifdef HAVE_COMPLEX_H
19417 #include <complex.h>
19423 int (*ptr)() = (int (*)())exp;
19432 if ac_fn_c_try_link
"$LINENO"; then :
19433 gcc_cv_math_func_exp
=yes
19435 gcc_cv_math_func_exp
=no
19437 rm -f core conftest.err conftest.
$ac_objext \
19438 conftest
$ac_exeext conftest.
$ac_ext
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19441 $as_echo "$gcc_cv_math_func_exp" >&6; }
19442 if test $gcc_cv_math_func_exp = yes; then
19444 cat >>confdefs.h
<<_ACEOF
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19454 $as_echo_n "checking for expl... " >&6; }
19455 if ${gcc_cv_math_func_expl+:} false
; then :
19456 $as_echo_n "(cached) " >&6
19458 if test x
$gcc_no_link = xyes
; then
19459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19464 #ifdef HAVE_COMPLEX_H
19465 #include <complex.h>
19471 int (*ptr)() = (int (*)())expl;
19480 if ac_fn_c_try_link
"$LINENO"; then :
19481 gcc_cv_math_func_expl
=yes
19483 gcc_cv_math_func_expl
=no
19485 rm -f core conftest.err conftest.
$ac_objext \
19486 conftest
$ac_exeext conftest.
$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19489 $as_echo "$gcc_cv_math_func_expl" >&6; }
19490 if test $gcc_cv_math_func_expl = yes; then
19492 cat >>confdefs.h
<<_ACEOF
19493 #define HAVE_EXPL 1
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19502 $as_echo_n "checking for cexpf... " >&6; }
19503 if ${gcc_cv_math_func_cexpf+:} false
; then :
19504 $as_echo_n "(cached) " >&6
19506 if test x
$gcc_no_link = xyes
; then
19507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 #ifdef HAVE_COMPLEX_H
19513 #include <complex.h>
19519 int (*ptr)() = (int (*)())cexpf;
19528 if ac_fn_c_try_link
"$LINENO"; then :
19529 gcc_cv_math_func_cexpf
=yes
19531 gcc_cv_math_func_cexpf
=no
19533 rm -f core conftest.err conftest.
$ac_objext \
19534 conftest
$ac_exeext conftest.
$ac_ext
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19537 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19538 if test $gcc_cv_math_func_cexpf = yes; then
19540 cat >>confdefs.h
<<_ACEOF
19541 #define HAVE_CEXPF 1
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19550 $as_echo_n "checking for cexp... " >&6; }
19551 if ${gcc_cv_math_func_cexp+:} false
; then :
19552 $as_echo_n "(cached) " >&6
19554 if test x
$gcc_no_link = xyes
; then
19555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19560 #ifdef HAVE_COMPLEX_H
19561 #include <complex.h>
19567 int (*ptr)() = (int (*)())cexp;
19576 if ac_fn_c_try_link
"$LINENO"; then :
19577 gcc_cv_math_func_cexp
=yes
19579 gcc_cv_math_func_cexp
=no
19581 rm -f core conftest.err conftest.
$ac_objext \
19582 conftest
$ac_exeext conftest.
$ac_ext
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19585 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19586 if test $gcc_cv_math_func_cexp = yes; then
19588 cat >>confdefs.h
<<_ACEOF
19589 #define HAVE_CEXP 1
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19598 $as_echo_n "checking for cexpl... " >&6; }
19599 if ${gcc_cv_math_func_cexpl+:} false
; then :
19600 $as_echo_n "(cached) " >&6
19602 if test x
$gcc_no_link = xyes
; then
19603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19608 #ifdef HAVE_COMPLEX_H
19609 #include <complex.h>
19615 int (*ptr)() = (int (*)())cexpl;
19624 if ac_fn_c_try_link
"$LINENO"; then :
19625 gcc_cv_math_func_cexpl
=yes
19627 gcc_cv_math_func_cexpl
=no
19629 rm -f core conftest.err conftest.
$ac_objext \
19630 conftest
$ac_exeext conftest.
$ac_ext
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19633 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19634 if test $gcc_cv_math_func_cexpl = yes; then
19636 cat >>confdefs.h
<<_ACEOF
19637 #define HAVE_CEXPL 1
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19646 $as_echo_n "checking for fabsf... " >&6; }
19647 if ${gcc_cv_math_func_fabsf+:} false
; then :
19648 $as_echo_n "(cached) " >&6
19650 if test x
$gcc_no_link = xyes
; then
19651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19656 #ifdef HAVE_COMPLEX_H
19657 #include <complex.h>
19663 int (*ptr)() = (int (*)())fabsf;
19672 if ac_fn_c_try_link
"$LINENO"; then :
19673 gcc_cv_math_func_fabsf
=yes
19675 gcc_cv_math_func_fabsf
=no
19677 rm -f core conftest.err conftest.
$ac_objext \
19678 conftest
$ac_exeext conftest.
$ac_ext
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19681 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19682 if test $gcc_cv_math_func_fabsf = yes; then
19684 cat >>confdefs.h
<<_ACEOF
19685 #define HAVE_FABSF 1
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19694 $as_echo_n "checking for fabs... " >&6; }
19695 if ${gcc_cv_math_func_fabs+:} false
; then :
19696 $as_echo_n "(cached) " >&6
19698 if test x
$gcc_no_link = xyes
; then
19699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19704 #ifdef HAVE_COMPLEX_H
19705 #include <complex.h>
19711 int (*ptr)() = (int (*)())fabs;
19720 if ac_fn_c_try_link
"$LINENO"; then :
19721 gcc_cv_math_func_fabs
=yes
19723 gcc_cv_math_func_fabs
=no
19725 rm -f core conftest.err conftest.
$ac_objext \
19726 conftest
$ac_exeext conftest.
$ac_ext
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19729 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19730 if test $gcc_cv_math_func_fabs = yes; then
19732 cat >>confdefs.h
<<_ACEOF
19733 #define HAVE_FABS 1
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19742 $as_echo_n "checking for fabsl... " >&6; }
19743 if ${gcc_cv_math_func_fabsl+:} false
; then :
19744 $as_echo_n "(cached) " >&6
19746 if test x
$gcc_no_link = xyes
; then
19747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19752 #ifdef HAVE_COMPLEX_H
19753 #include <complex.h>
19759 int (*ptr)() = (int (*)())fabsl;
19768 if ac_fn_c_try_link
"$LINENO"; then :
19769 gcc_cv_math_func_fabsl
=yes
19771 gcc_cv_math_func_fabsl
=no
19773 rm -f core conftest.err conftest.
$ac_objext \
19774 conftest
$ac_exeext conftest.
$ac_ext
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19777 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19778 if test $gcc_cv_math_func_fabsl = yes; then
19780 cat >>confdefs.h
<<_ACEOF
19781 #define HAVE_FABSL 1
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19790 $as_echo_n "checking for cabsf... " >&6; }
19791 if ${gcc_cv_math_func_cabsf+:} false
; then :
19792 $as_echo_n "(cached) " >&6
19794 if test x
$gcc_no_link = xyes
; then
19795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19800 #ifdef HAVE_COMPLEX_H
19801 #include <complex.h>
19807 int (*ptr)() = (int (*)())cabsf;
19816 if ac_fn_c_try_link
"$LINENO"; then :
19817 gcc_cv_math_func_cabsf
=yes
19819 gcc_cv_math_func_cabsf
=no
19821 rm -f core conftest.err conftest.
$ac_objext \
19822 conftest
$ac_exeext conftest.
$ac_ext
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19825 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19826 if test $gcc_cv_math_func_cabsf = yes; then
19828 cat >>confdefs.h
<<_ACEOF
19829 #define HAVE_CABSF 1
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19838 $as_echo_n "checking for cabs... " >&6; }
19839 if ${gcc_cv_math_func_cabs+:} false
; then :
19840 $as_echo_n "(cached) " >&6
19842 if test x
$gcc_no_link = xyes
; then
19843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19848 #ifdef HAVE_COMPLEX_H
19849 #include <complex.h>
19855 int (*ptr)() = (int (*)())cabs;
19864 if ac_fn_c_try_link
"$LINENO"; then :
19865 gcc_cv_math_func_cabs
=yes
19867 gcc_cv_math_func_cabs
=no
19869 rm -f core conftest.err conftest.
$ac_objext \
19870 conftest
$ac_exeext conftest.
$ac_ext
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19873 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19874 if test $gcc_cv_math_func_cabs = yes; then
19876 cat >>confdefs.h
<<_ACEOF
19877 #define HAVE_CABS 1
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19886 $as_echo_n "checking for cabsl... " >&6; }
19887 if ${gcc_cv_math_func_cabsl+:} false
; then :
19888 $as_echo_n "(cached) " >&6
19890 if test x
$gcc_no_link = xyes
; then
19891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 #ifdef HAVE_COMPLEX_H
19897 #include <complex.h>
19903 int (*ptr)() = (int (*)())cabsl;
19912 if ac_fn_c_try_link
"$LINENO"; then :
19913 gcc_cv_math_func_cabsl
=yes
19915 gcc_cv_math_func_cabsl
=no
19917 rm -f core conftest.err conftest.
$ac_objext \
19918 conftest
$ac_exeext conftest.
$ac_ext
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19921 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19922 if test $gcc_cv_math_func_cabsl = yes; then
19924 cat >>confdefs.h
<<_ACEOF
19925 #define HAVE_CABSL 1
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19934 $as_echo_n "checking for floorf... " >&6; }
19935 if ${gcc_cv_math_func_floorf+:} false
; then :
19936 $as_echo_n "(cached) " >&6
19938 if test x
$gcc_no_link = xyes
; then
19939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19944 #ifdef HAVE_COMPLEX_H
19945 #include <complex.h>
19951 int (*ptr)() = (int (*)())floorf;
19960 if ac_fn_c_try_link
"$LINENO"; then :
19961 gcc_cv_math_func_floorf
=yes
19963 gcc_cv_math_func_floorf
=no
19965 rm -f core conftest.err conftest.
$ac_objext \
19966 conftest
$ac_exeext conftest.
$ac_ext
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19969 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19970 if test $gcc_cv_math_func_floorf = yes; then
19972 cat >>confdefs.h
<<_ACEOF
19973 #define HAVE_FLOORF 1
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19982 $as_echo_n "checking for floor... " >&6; }
19983 if ${gcc_cv_math_func_floor+:} false
; then :
19984 $as_echo_n "(cached) " >&6
19986 if test x
$gcc_no_link = xyes
; then
19987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19992 #ifdef HAVE_COMPLEX_H
19993 #include <complex.h>
19999 int (*ptr)() = (int (*)())floor;
20008 if ac_fn_c_try_link
"$LINENO"; then :
20009 gcc_cv_math_func_floor
=yes
20011 gcc_cv_math_func_floor
=no
20013 rm -f core conftest.err conftest.
$ac_objext \
20014 conftest
$ac_exeext conftest.
$ac_ext
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20017 $as_echo "$gcc_cv_math_func_floor" >&6; }
20018 if test $gcc_cv_math_func_floor = yes; then
20020 cat >>confdefs.h
<<_ACEOF
20021 #define HAVE_FLOOR 1
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20030 $as_echo_n "checking for floorl... " >&6; }
20031 if ${gcc_cv_math_func_floorl+:} false
; then :
20032 $as_echo_n "(cached) " >&6
20034 if test x
$gcc_no_link = xyes
; then
20035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20040 #ifdef HAVE_COMPLEX_H
20041 #include <complex.h>
20047 int (*ptr)() = (int (*)())floorl;
20056 if ac_fn_c_try_link
"$LINENO"; then :
20057 gcc_cv_math_func_floorl
=yes
20059 gcc_cv_math_func_floorl
=no
20061 rm -f core conftest.err conftest.
$ac_objext \
20062 conftest
$ac_exeext conftest.
$ac_ext
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20065 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20066 if test $gcc_cv_math_func_floorl = yes; then
20068 cat >>confdefs.h
<<_ACEOF
20069 #define HAVE_FLOORL 1
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20078 $as_echo_n "checking for fmaf... " >&6; }
20079 if ${gcc_cv_math_func_fmaf+:} false
; then :
20080 $as_echo_n "(cached) " >&6
20082 if test x
$gcc_no_link = xyes
; then
20083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20088 #ifdef HAVE_COMPLEX_H
20089 #include <complex.h>
20095 int (*ptr)() = (int (*)())fmaf;
20104 if ac_fn_c_try_link
"$LINENO"; then :
20105 gcc_cv_math_func_fmaf
=yes
20107 gcc_cv_math_func_fmaf
=no
20109 rm -f core conftest.err conftest.
$ac_objext \
20110 conftest
$ac_exeext conftest.
$ac_ext
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20113 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20114 if test $gcc_cv_math_func_fmaf = yes; then
20116 cat >>confdefs.h
<<_ACEOF
20117 #define HAVE_FMAF 1
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20126 $as_echo_n "checking for fma... " >&6; }
20127 if ${gcc_cv_math_func_fma+:} false
; then :
20128 $as_echo_n "(cached) " >&6
20130 if test x
$gcc_no_link = xyes
; then
20131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20136 #ifdef HAVE_COMPLEX_H
20137 #include <complex.h>
20143 int (*ptr)() = (int (*)())fma;
20152 if ac_fn_c_try_link
"$LINENO"; then :
20153 gcc_cv_math_func_fma
=yes
20155 gcc_cv_math_func_fma
=no
20157 rm -f core conftest.err conftest.
$ac_objext \
20158 conftest
$ac_exeext conftest.
$ac_ext
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20161 $as_echo "$gcc_cv_math_func_fma" >&6; }
20162 if test $gcc_cv_math_func_fma = yes; then
20164 cat >>confdefs.h
<<_ACEOF
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20174 $as_echo_n "checking for fmal... " >&6; }
20175 if ${gcc_cv_math_func_fmal+:} false
; then :
20176 $as_echo_n "(cached) " >&6
20178 if test x
$gcc_no_link = xyes
; then
20179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20184 #ifdef HAVE_COMPLEX_H
20185 #include <complex.h>
20191 int (*ptr)() = (int (*)())fmal;
20200 if ac_fn_c_try_link
"$LINENO"; then :
20201 gcc_cv_math_func_fmal
=yes
20203 gcc_cv_math_func_fmal
=no
20205 rm -f core conftest.err conftest.
$ac_objext \
20206 conftest
$ac_exeext conftest.
$ac_ext
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20209 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20210 if test $gcc_cv_math_func_fmal = yes; then
20212 cat >>confdefs.h
<<_ACEOF
20213 #define HAVE_FMAL 1
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20222 $as_echo_n "checking for fmodf... " >&6; }
20223 if ${gcc_cv_math_func_fmodf+:} false
; then :
20224 $as_echo_n "(cached) " >&6
20226 if test x
$gcc_no_link = xyes
; then
20227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20230 /* end confdefs.h. */
20232 #ifdef HAVE_COMPLEX_H
20233 #include <complex.h>
20239 int (*ptr)() = (int (*)())fmodf;
20248 if ac_fn_c_try_link
"$LINENO"; then :
20249 gcc_cv_math_func_fmodf
=yes
20251 gcc_cv_math_func_fmodf
=no
20253 rm -f core conftest.err conftest.
$ac_objext \
20254 conftest
$ac_exeext conftest.
$ac_ext
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20257 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20258 if test $gcc_cv_math_func_fmodf = yes; then
20260 cat >>confdefs.h
<<_ACEOF
20261 #define HAVE_FMODF 1
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20270 $as_echo_n "checking for fmod... " >&6; }
20271 if ${gcc_cv_math_func_fmod+:} false
; then :
20272 $as_echo_n "(cached) " >&6
20274 if test x
$gcc_no_link = xyes
; then
20275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20278 /* end confdefs.h. */
20280 #ifdef HAVE_COMPLEX_H
20281 #include <complex.h>
20287 int (*ptr)() = (int (*)())fmod;
20296 if ac_fn_c_try_link
"$LINENO"; then :
20297 gcc_cv_math_func_fmod
=yes
20299 gcc_cv_math_func_fmod
=no
20301 rm -f core conftest.err conftest.
$ac_objext \
20302 conftest
$ac_exeext conftest.
$ac_ext
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20305 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20306 if test $gcc_cv_math_func_fmod = yes; then
20308 cat >>confdefs.h
<<_ACEOF
20309 #define HAVE_FMOD 1
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20318 $as_echo_n "checking for fmodl... " >&6; }
20319 if ${gcc_cv_math_func_fmodl+:} false
; then :
20320 $as_echo_n "(cached) " >&6
20322 if test x
$gcc_no_link = xyes
; then
20323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20326 /* end confdefs.h. */
20328 #ifdef HAVE_COMPLEX_H
20329 #include <complex.h>
20335 int (*ptr)() = (int (*)())fmodl;
20344 if ac_fn_c_try_link
"$LINENO"; then :
20345 gcc_cv_math_func_fmodl
=yes
20347 gcc_cv_math_func_fmodl
=no
20349 rm -f core conftest.err conftest.
$ac_objext \
20350 conftest
$ac_exeext conftest.
$ac_ext
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20353 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20354 if test $gcc_cv_math_func_fmodl = yes; then
20356 cat >>confdefs.h
<<_ACEOF
20357 #define HAVE_FMODL 1
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20366 $as_echo_n "checking for frexpf... " >&6; }
20367 if ${gcc_cv_math_func_frexpf+:} false
; then :
20368 $as_echo_n "(cached) " >&6
20370 if test x
$gcc_no_link = xyes
; then
20371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20374 /* end confdefs.h. */
20376 #ifdef HAVE_COMPLEX_H
20377 #include <complex.h>
20383 int (*ptr)() = (int (*)())frexpf;
20392 if ac_fn_c_try_link
"$LINENO"; then :
20393 gcc_cv_math_func_frexpf
=yes
20395 gcc_cv_math_func_frexpf
=no
20397 rm -f core conftest.err conftest.
$ac_objext \
20398 conftest
$ac_exeext conftest.
$ac_ext
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20401 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20402 if test $gcc_cv_math_func_frexpf = yes; then
20404 cat >>confdefs.h
<<_ACEOF
20405 #define HAVE_FREXPF 1
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20414 $as_echo_n "checking for frexp... " >&6; }
20415 if ${gcc_cv_math_func_frexp+:} false
; then :
20416 $as_echo_n "(cached) " >&6
20418 if test x
$gcc_no_link = xyes
; then
20419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20422 /* end confdefs.h. */
20424 #ifdef HAVE_COMPLEX_H
20425 #include <complex.h>
20431 int (*ptr)() = (int (*)())frexp;
20440 if ac_fn_c_try_link
"$LINENO"; then :
20441 gcc_cv_math_func_frexp
=yes
20443 gcc_cv_math_func_frexp
=no
20445 rm -f core conftest.err conftest.
$ac_objext \
20446 conftest
$ac_exeext conftest.
$ac_ext
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20449 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20450 if test $gcc_cv_math_func_frexp = yes; then
20452 cat >>confdefs.h
<<_ACEOF
20453 #define HAVE_FREXP 1
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20462 $as_echo_n "checking for frexpl... " >&6; }
20463 if ${gcc_cv_math_func_frexpl+:} false
; then :
20464 $as_echo_n "(cached) " >&6
20466 if test x
$gcc_no_link = xyes
; then
20467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20472 #ifdef HAVE_COMPLEX_H
20473 #include <complex.h>
20479 int (*ptr)() = (int (*)())frexpl;
20488 if ac_fn_c_try_link
"$LINENO"; then :
20489 gcc_cv_math_func_frexpl
=yes
20491 gcc_cv_math_func_frexpl
=no
20493 rm -f core conftest.err conftest.
$ac_objext \
20494 conftest
$ac_exeext conftest.
$ac_ext
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20497 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20498 if test $gcc_cv_math_func_frexpl = yes; then
20500 cat >>confdefs.h
<<_ACEOF
20501 #define HAVE_FREXPL 1
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20510 $as_echo_n "checking for hypotf... " >&6; }
20511 if ${gcc_cv_math_func_hypotf+:} false
; then :
20512 $as_echo_n "(cached) " >&6
20514 if test x
$gcc_no_link = xyes
; then
20515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20518 /* end confdefs.h. */
20520 #ifdef HAVE_COMPLEX_H
20521 #include <complex.h>
20527 int (*ptr)() = (int (*)())hypotf;
20536 if ac_fn_c_try_link
"$LINENO"; then :
20537 gcc_cv_math_func_hypotf
=yes
20539 gcc_cv_math_func_hypotf
=no
20541 rm -f core conftest.err conftest.
$ac_objext \
20542 conftest
$ac_exeext conftest.
$ac_ext
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20545 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20546 if test $gcc_cv_math_func_hypotf = yes; then
20548 cat >>confdefs.h
<<_ACEOF
20549 #define HAVE_HYPOTF 1
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20558 $as_echo_n "checking for hypot... " >&6; }
20559 if ${gcc_cv_math_func_hypot+:} false
; then :
20560 $as_echo_n "(cached) " >&6
20562 if test x
$gcc_no_link = xyes
; then
20563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20568 #ifdef HAVE_COMPLEX_H
20569 #include <complex.h>
20575 int (*ptr)() = (int (*)())hypot;
20584 if ac_fn_c_try_link
"$LINENO"; then :
20585 gcc_cv_math_func_hypot
=yes
20587 gcc_cv_math_func_hypot
=no
20589 rm -f core conftest.err conftest.
$ac_objext \
20590 conftest
$ac_exeext conftest.
$ac_ext
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20593 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20594 if test $gcc_cv_math_func_hypot = yes; then
20596 cat >>confdefs.h
<<_ACEOF
20597 #define HAVE_HYPOT 1
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20606 $as_echo_n "checking for hypotl... " >&6; }
20607 if ${gcc_cv_math_func_hypotl+:} false
; then :
20608 $as_echo_n "(cached) " >&6
20610 if test x
$gcc_no_link = xyes
; then
20611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20616 #ifdef HAVE_COMPLEX_H
20617 #include <complex.h>
20623 int (*ptr)() = (int (*)())hypotl;
20632 if ac_fn_c_try_link
"$LINENO"; then :
20633 gcc_cv_math_func_hypotl
=yes
20635 gcc_cv_math_func_hypotl
=no
20637 rm -f core conftest.err conftest.
$ac_objext \
20638 conftest
$ac_exeext conftest.
$ac_ext
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20641 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20642 if test $gcc_cv_math_func_hypotl = yes; then
20644 cat >>confdefs.h
<<_ACEOF
20645 #define HAVE_HYPOTL 1
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20654 $as_echo_n "checking for ldexpf... " >&6; }
20655 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20656 $as_echo_n "(cached) " >&6
20658 if test x
$gcc_no_link = xyes
; then
20659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20664 #ifdef HAVE_COMPLEX_H
20665 #include <complex.h>
20671 int (*ptr)() = (int (*)())ldexpf;
20680 if ac_fn_c_try_link
"$LINENO"; then :
20681 gcc_cv_math_func_ldexpf
=yes
20683 gcc_cv_math_func_ldexpf
=no
20685 rm -f core conftest.err conftest.
$ac_objext \
20686 conftest
$ac_exeext conftest.
$ac_ext
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20689 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20690 if test $gcc_cv_math_func_ldexpf = yes; then
20692 cat >>confdefs.h
<<_ACEOF
20693 #define HAVE_LDEXPF 1
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20702 $as_echo_n "checking for ldexp... " >&6; }
20703 if ${gcc_cv_math_func_ldexp+:} false
; then :
20704 $as_echo_n "(cached) " >&6
20706 if test x
$gcc_no_link = xyes
; then
20707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20712 #ifdef HAVE_COMPLEX_H
20713 #include <complex.h>
20719 int (*ptr)() = (int (*)())ldexp;
20728 if ac_fn_c_try_link
"$LINENO"; then :
20729 gcc_cv_math_func_ldexp
=yes
20731 gcc_cv_math_func_ldexp
=no
20733 rm -f core conftest.err conftest.
$ac_objext \
20734 conftest
$ac_exeext conftest.
$ac_ext
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20737 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20738 if test $gcc_cv_math_func_ldexp = yes; then
20740 cat >>confdefs.h
<<_ACEOF
20741 #define HAVE_LDEXP 1
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20750 $as_echo_n "checking for ldexpl... " >&6; }
20751 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20752 $as_echo_n "(cached) " >&6
20754 if test x
$gcc_no_link = xyes
; then
20755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20758 /* end confdefs.h. */
20760 #ifdef HAVE_COMPLEX_H
20761 #include <complex.h>
20767 int (*ptr)() = (int (*)())ldexpl;
20776 if ac_fn_c_try_link
"$LINENO"; then :
20777 gcc_cv_math_func_ldexpl
=yes
20779 gcc_cv_math_func_ldexpl
=no
20781 rm -f core conftest.err conftest.
$ac_objext \
20782 conftest
$ac_exeext conftest.
$ac_ext
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20785 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20786 if test $gcc_cv_math_func_ldexpl = yes; then
20788 cat >>confdefs.h
<<_ACEOF
20789 #define HAVE_LDEXPL 1
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20798 $as_echo_n "checking for logf... " >&6; }
20799 if ${gcc_cv_math_func_logf+:} false
; then :
20800 $as_echo_n "(cached) " >&6
20802 if test x
$gcc_no_link = xyes
; then
20803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 #ifdef HAVE_COMPLEX_H
20809 #include <complex.h>
20815 int (*ptr)() = (int (*)())logf;
20824 if ac_fn_c_try_link
"$LINENO"; then :
20825 gcc_cv_math_func_logf
=yes
20827 gcc_cv_math_func_logf
=no
20829 rm -f core conftest.err conftest.
$ac_objext \
20830 conftest
$ac_exeext conftest.
$ac_ext
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20833 $as_echo "$gcc_cv_math_func_logf" >&6; }
20834 if test $gcc_cv_math_func_logf = yes; then
20836 cat >>confdefs.h
<<_ACEOF
20837 #define HAVE_LOGF 1
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20846 $as_echo_n "checking for log... " >&6; }
20847 if ${gcc_cv_math_func_log+:} false
; then :
20848 $as_echo_n "(cached) " >&6
20850 if test x
$gcc_no_link = xyes
; then
20851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20856 #ifdef HAVE_COMPLEX_H
20857 #include <complex.h>
20863 int (*ptr)() = (int (*)())log;
20872 if ac_fn_c_try_link
"$LINENO"; then :
20873 gcc_cv_math_func_log
=yes
20875 gcc_cv_math_func_log
=no
20877 rm -f core conftest.err conftest.
$ac_objext \
20878 conftest
$ac_exeext conftest.
$ac_ext
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20881 $as_echo "$gcc_cv_math_func_log" >&6; }
20882 if test $gcc_cv_math_func_log = yes; then
20884 cat >>confdefs.h
<<_ACEOF
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20894 $as_echo_n "checking for logl... " >&6; }
20895 if ${gcc_cv_math_func_logl+:} false
; then :
20896 $as_echo_n "(cached) " >&6
20898 if test x
$gcc_no_link = xyes
; then
20899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20904 #ifdef HAVE_COMPLEX_H
20905 #include <complex.h>
20911 int (*ptr)() = (int (*)())logl;
20920 if ac_fn_c_try_link
"$LINENO"; then :
20921 gcc_cv_math_func_logl
=yes
20923 gcc_cv_math_func_logl
=no
20925 rm -f core conftest.err conftest.
$ac_objext \
20926 conftest
$ac_exeext conftest.
$ac_ext
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20929 $as_echo "$gcc_cv_math_func_logl" >&6; }
20930 if test $gcc_cv_math_func_logl = yes; then
20932 cat >>confdefs.h
<<_ACEOF
20933 #define HAVE_LOGL 1
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20942 $as_echo_n "checking for clogf... " >&6; }
20943 if ${gcc_cv_math_func_clogf+:} false
; then :
20944 $as_echo_n "(cached) " >&6
20946 if test x
$gcc_no_link = xyes
; then
20947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20952 #ifdef HAVE_COMPLEX_H
20953 #include <complex.h>
20959 int (*ptr)() = (int (*)())clogf;
20968 if ac_fn_c_try_link
"$LINENO"; then :
20969 gcc_cv_math_func_clogf
=yes
20971 gcc_cv_math_func_clogf
=no
20973 rm -f core conftest.err conftest.
$ac_objext \
20974 conftest
$ac_exeext conftest.
$ac_ext
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20977 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20978 if test $gcc_cv_math_func_clogf = yes; then
20980 cat >>confdefs.h
<<_ACEOF
20981 #define HAVE_CLOGF 1
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20990 $as_echo_n "checking for clog... " >&6; }
20991 if ${gcc_cv_math_func_clog+:} false
; then :
20992 $as_echo_n "(cached) " >&6
20994 if test x
$gcc_no_link = xyes
; then
20995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
21000 #ifdef HAVE_COMPLEX_H
21001 #include <complex.h>
21007 int (*ptr)() = (int (*)())clog;
21016 if ac_fn_c_try_link
"$LINENO"; then :
21017 gcc_cv_math_func_clog
=yes
21019 gcc_cv_math_func_clog
=no
21021 rm -f core conftest.err conftest.
$ac_objext \
21022 conftest
$ac_exeext conftest.
$ac_ext
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21025 $as_echo "$gcc_cv_math_func_clog" >&6; }
21026 if test $gcc_cv_math_func_clog = yes; then
21028 cat >>confdefs.h
<<_ACEOF
21029 #define HAVE_CLOG 1
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21038 $as_echo_n "checking for clogl... " >&6; }
21039 if ${gcc_cv_math_func_clogl+:} false
; then :
21040 $as_echo_n "(cached) " >&6
21042 if test x
$gcc_no_link = xyes
; then
21043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21048 #ifdef HAVE_COMPLEX_H
21049 #include <complex.h>
21055 int (*ptr)() = (int (*)())clogl;
21064 if ac_fn_c_try_link
"$LINENO"; then :
21065 gcc_cv_math_func_clogl
=yes
21067 gcc_cv_math_func_clogl
=no
21069 rm -f core conftest.err conftest.
$ac_objext \
21070 conftest
$ac_exeext conftest.
$ac_ext
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21073 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21074 if test $gcc_cv_math_func_clogl = yes; then
21076 cat >>confdefs.h
<<_ACEOF
21077 #define HAVE_CLOGL 1
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21086 $as_echo_n "checking for log10f... " >&6; }
21087 if ${gcc_cv_math_func_log10f+:} false
; then :
21088 $as_echo_n "(cached) " >&6
21090 if test x
$gcc_no_link = xyes
; then
21091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21096 #ifdef HAVE_COMPLEX_H
21097 #include <complex.h>
21103 int (*ptr)() = (int (*)())log10f;
21112 if ac_fn_c_try_link
"$LINENO"; then :
21113 gcc_cv_math_func_log10f
=yes
21115 gcc_cv_math_func_log10f
=no
21117 rm -f core conftest.err conftest.
$ac_objext \
21118 conftest
$ac_exeext conftest.
$ac_ext
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21121 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21122 if test $gcc_cv_math_func_log10f = yes; then
21124 cat >>confdefs.h
<<_ACEOF
21125 #define HAVE_LOG10F 1
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21134 $as_echo_n "checking for log10... " >&6; }
21135 if ${gcc_cv_math_func_log10+:} false
; then :
21136 $as_echo_n "(cached) " >&6
21138 if test x
$gcc_no_link = xyes
; then
21139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h. */
21144 #ifdef HAVE_COMPLEX_H
21145 #include <complex.h>
21151 int (*ptr)() = (int (*)())log10;
21160 if ac_fn_c_try_link
"$LINENO"; then :
21161 gcc_cv_math_func_log10
=yes
21163 gcc_cv_math_func_log10
=no
21165 rm -f core conftest.err conftest.
$ac_objext \
21166 conftest
$ac_exeext conftest.
$ac_ext
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21169 $as_echo "$gcc_cv_math_func_log10" >&6; }
21170 if test $gcc_cv_math_func_log10 = yes; then
21172 cat >>confdefs.h
<<_ACEOF
21173 #define HAVE_LOG10 1
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21182 $as_echo_n "checking for log10l... " >&6; }
21183 if ${gcc_cv_math_func_log10l+:} false
; then :
21184 $as_echo_n "(cached) " >&6
21186 if test x
$gcc_no_link = xyes
; then
21187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21192 #ifdef HAVE_COMPLEX_H
21193 #include <complex.h>
21199 int (*ptr)() = (int (*)())log10l;
21208 if ac_fn_c_try_link
"$LINENO"; then :
21209 gcc_cv_math_func_log10l
=yes
21211 gcc_cv_math_func_log10l
=no
21213 rm -f core conftest.err conftest.
$ac_objext \
21214 conftest
$ac_exeext conftest.
$ac_ext
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21217 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21218 if test $gcc_cv_math_func_log10l = yes; then
21220 cat >>confdefs.h
<<_ACEOF
21221 #define HAVE_LOG10L 1
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21230 $as_echo_n "checking for clog10f... " >&6; }
21231 if ${gcc_cv_math_func_clog10f+:} false
; then :
21232 $as_echo_n "(cached) " >&6
21234 if test x
$gcc_no_link = xyes
; then
21235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h. */
21240 #ifdef HAVE_COMPLEX_H
21241 #include <complex.h>
21247 int (*ptr)() = (int (*)())clog10f;
21256 if ac_fn_c_try_link
"$LINENO"; then :
21257 gcc_cv_math_func_clog10f
=yes
21259 gcc_cv_math_func_clog10f
=no
21261 rm -f core conftest.err conftest.
$ac_objext \
21262 conftest
$ac_exeext conftest.
$ac_ext
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21265 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21266 if test $gcc_cv_math_func_clog10f = yes; then
21268 cat >>confdefs.h
<<_ACEOF
21269 #define HAVE_CLOG10F 1
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21278 $as_echo_n "checking for clog10... " >&6; }
21279 if ${gcc_cv_math_func_clog10+:} false
; then :
21280 $as_echo_n "(cached) " >&6
21282 if test x
$gcc_no_link = xyes
; then
21283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21288 #ifdef HAVE_COMPLEX_H
21289 #include <complex.h>
21295 int (*ptr)() = (int (*)())clog10;
21304 if ac_fn_c_try_link
"$LINENO"; then :
21305 gcc_cv_math_func_clog10
=yes
21307 gcc_cv_math_func_clog10
=no
21309 rm -f core conftest.err conftest.
$ac_objext \
21310 conftest
$ac_exeext conftest.
$ac_ext
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21313 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21314 if test $gcc_cv_math_func_clog10 = yes; then
21316 cat >>confdefs.h
<<_ACEOF
21317 #define HAVE_CLOG10 1
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21326 $as_echo_n "checking for clog10l... " >&6; }
21327 if ${gcc_cv_math_func_clog10l+:} false
; then :
21328 $as_echo_n "(cached) " >&6
21330 if test x
$gcc_no_link = xyes
; then
21331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21334 /* end confdefs.h. */
21336 #ifdef HAVE_COMPLEX_H
21337 #include <complex.h>
21343 int (*ptr)() = (int (*)())clog10l;
21352 if ac_fn_c_try_link
"$LINENO"; then :
21353 gcc_cv_math_func_clog10l
=yes
21355 gcc_cv_math_func_clog10l
=no
21357 rm -f core conftest.err conftest.
$ac_objext \
21358 conftest
$ac_exeext conftest.
$ac_ext
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21361 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21362 if test $gcc_cv_math_func_clog10l = yes; then
21364 cat >>confdefs.h
<<_ACEOF
21365 #define HAVE_CLOG10L 1
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21374 $as_echo_n "checking for nextafterf... " >&6; }
21375 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21376 $as_echo_n "(cached) " >&6
21378 if test x
$gcc_no_link = xyes
; then
21379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21384 #ifdef HAVE_COMPLEX_H
21385 #include <complex.h>
21391 int (*ptr)() = (int (*)())nextafterf;
21400 if ac_fn_c_try_link
"$LINENO"; then :
21401 gcc_cv_math_func_nextafterf
=yes
21403 gcc_cv_math_func_nextafterf
=no
21405 rm -f core conftest.err conftest.
$ac_objext \
21406 conftest
$ac_exeext conftest.
$ac_ext
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21409 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21410 if test $gcc_cv_math_func_nextafterf = yes; then
21412 cat >>confdefs.h
<<_ACEOF
21413 #define HAVE_NEXTAFTERF 1
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21422 $as_echo_n "checking for nextafter... " >&6; }
21423 if ${gcc_cv_math_func_nextafter+:} false
; then :
21424 $as_echo_n "(cached) " >&6
21426 if test x
$gcc_no_link = xyes
; then
21427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21432 #ifdef HAVE_COMPLEX_H
21433 #include <complex.h>
21439 int (*ptr)() = (int (*)())nextafter;
21448 if ac_fn_c_try_link
"$LINENO"; then :
21449 gcc_cv_math_func_nextafter
=yes
21451 gcc_cv_math_func_nextafter
=no
21453 rm -f core conftest.err conftest.
$ac_objext \
21454 conftest
$ac_exeext conftest.
$ac_ext
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21457 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21458 if test $gcc_cv_math_func_nextafter = yes; then
21460 cat >>confdefs.h
<<_ACEOF
21461 #define HAVE_NEXTAFTER 1
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21470 $as_echo_n "checking for nextafterl... " >&6; }
21471 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21472 $as_echo_n "(cached) " >&6
21474 if test x
$gcc_no_link = xyes
; then
21475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21480 #ifdef HAVE_COMPLEX_H
21481 #include <complex.h>
21487 int (*ptr)() = (int (*)())nextafterl;
21496 if ac_fn_c_try_link
"$LINENO"; then :
21497 gcc_cv_math_func_nextafterl
=yes
21499 gcc_cv_math_func_nextafterl
=no
21501 rm -f core conftest.err conftest.
$ac_objext \
21502 conftest
$ac_exeext conftest.
$ac_ext
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21505 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21506 if test $gcc_cv_math_func_nextafterl = yes; then
21508 cat >>confdefs.h
<<_ACEOF
21509 #define HAVE_NEXTAFTERL 1
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21518 $as_echo_n "checking for powf... " >&6; }
21519 if ${gcc_cv_math_func_powf+:} false
; then :
21520 $as_echo_n "(cached) " >&6
21522 if test x
$gcc_no_link = xyes
; then
21523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h. */
21528 #ifdef HAVE_COMPLEX_H
21529 #include <complex.h>
21535 int (*ptr)() = (int (*)())powf;
21544 if ac_fn_c_try_link
"$LINENO"; then :
21545 gcc_cv_math_func_powf
=yes
21547 gcc_cv_math_func_powf
=no
21549 rm -f core conftest.err conftest.
$ac_objext \
21550 conftest
$ac_exeext conftest.
$ac_ext
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21553 $as_echo "$gcc_cv_math_func_powf" >&6; }
21554 if test $gcc_cv_math_func_powf = yes; then
21556 cat >>confdefs.h
<<_ACEOF
21557 #define HAVE_POWF 1
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21566 $as_echo_n "checking for pow... " >&6; }
21567 if ${gcc_cv_math_func_pow+:} false
; then :
21568 $as_echo_n "(cached) " >&6
21570 if test x
$gcc_no_link = xyes
; then
21571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21574 /* end confdefs.h. */
21576 #ifdef HAVE_COMPLEX_H
21577 #include <complex.h>
21583 int (*ptr)() = (int (*)())pow;
21592 if ac_fn_c_try_link
"$LINENO"; then :
21593 gcc_cv_math_func_pow
=yes
21595 gcc_cv_math_func_pow
=no
21597 rm -f core conftest.err conftest.
$ac_objext \
21598 conftest
$ac_exeext conftest.
$ac_ext
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21601 $as_echo "$gcc_cv_math_func_pow" >&6; }
21602 if test $gcc_cv_math_func_pow = yes; then
21604 cat >>confdefs.h
<<_ACEOF
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21614 $as_echo_n "checking for cpowf... " >&6; }
21615 if ${gcc_cv_math_func_cpowf+:} false
; then :
21616 $as_echo_n "(cached) " >&6
21618 if test x
$gcc_no_link = xyes
; then
21619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21624 #ifdef HAVE_COMPLEX_H
21625 #include <complex.h>
21631 int (*ptr)() = (int (*)())cpowf;
21640 if ac_fn_c_try_link
"$LINENO"; then :
21641 gcc_cv_math_func_cpowf
=yes
21643 gcc_cv_math_func_cpowf
=no
21645 rm -f core conftest.err conftest.
$ac_objext \
21646 conftest
$ac_exeext conftest.
$ac_ext
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21649 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21650 if test $gcc_cv_math_func_cpowf = yes; then
21652 cat >>confdefs.h
<<_ACEOF
21653 #define HAVE_CPOWF 1
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21662 $as_echo_n "checking for cpow... " >&6; }
21663 if ${gcc_cv_math_func_cpow+:} false
; then :
21664 $as_echo_n "(cached) " >&6
21666 if test x
$gcc_no_link = xyes
; then
21667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21672 #ifdef HAVE_COMPLEX_H
21673 #include <complex.h>
21679 int (*ptr)() = (int (*)())cpow;
21688 if ac_fn_c_try_link
"$LINENO"; then :
21689 gcc_cv_math_func_cpow
=yes
21691 gcc_cv_math_func_cpow
=no
21693 rm -f core conftest.err conftest.
$ac_objext \
21694 conftest
$ac_exeext conftest.
$ac_ext
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21697 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21698 if test $gcc_cv_math_func_cpow = yes; then
21700 cat >>confdefs.h
<<_ACEOF
21701 #define HAVE_CPOW 1
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21710 $as_echo_n "checking for cpowl... " >&6; }
21711 if ${gcc_cv_math_func_cpowl+:} false
; then :
21712 $as_echo_n "(cached) " >&6
21714 if test x
$gcc_no_link = xyes
; then
21715 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21720 #ifdef HAVE_COMPLEX_H
21721 #include <complex.h>
21727 int (*ptr)() = (int (*)())cpowl;
21736 if ac_fn_c_try_link
"$LINENO"; then :
21737 gcc_cv_math_func_cpowl
=yes
21739 gcc_cv_math_func_cpowl
=no
21741 rm -f core conftest.err conftest.
$ac_objext \
21742 conftest
$ac_exeext conftest.
$ac_ext
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21745 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21746 if test $gcc_cv_math_func_cpowl = yes; then
21748 cat >>confdefs.h
<<_ACEOF
21749 #define HAVE_CPOWL 1
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21758 $as_echo_n "checking for roundf... " >&6; }
21759 if ${gcc_cv_math_func_roundf+:} false
; then :
21760 $as_echo_n "(cached) " >&6
21762 if test x
$gcc_no_link = xyes
; then
21763 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21768 #ifdef HAVE_COMPLEX_H
21769 #include <complex.h>
21775 int (*ptr)() = (int (*)())roundf;
21784 if ac_fn_c_try_link
"$LINENO"; then :
21785 gcc_cv_math_func_roundf
=yes
21787 gcc_cv_math_func_roundf
=no
21789 rm -f core conftest.err conftest.
$ac_objext \
21790 conftest
$ac_exeext conftest.
$ac_ext
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21793 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21794 if test $gcc_cv_math_func_roundf = yes; then
21796 cat >>confdefs.h
<<_ACEOF
21797 #define HAVE_ROUNDF 1
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21806 $as_echo_n "checking for round... " >&6; }
21807 if ${gcc_cv_math_func_round+:} false
; then :
21808 $as_echo_n "(cached) " >&6
21810 if test x
$gcc_no_link = xyes
; then
21811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h. */
21816 #ifdef HAVE_COMPLEX_H
21817 #include <complex.h>
21823 int (*ptr)() = (int (*)())round;
21832 if ac_fn_c_try_link
"$LINENO"; then :
21833 gcc_cv_math_func_round
=yes
21835 gcc_cv_math_func_round
=no
21837 rm -f core conftest.err conftest.
$ac_objext \
21838 conftest
$ac_exeext conftest.
$ac_ext
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21841 $as_echo "$gcc_cv_math_func_round" >&6; }
21842 if test $gcc_cv_math_func_round = yes; then
21844 cat >>confdefs.h
<<_ACEOF
21845 #define HAVE_ROUND 1
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21854 $as_echo_n "checking for roundl... " >&6; }
21855 if ${gcc_cv_math_func_roundl+:} false
; then :
21856 $as_echo_n "(cached) " >&6
21858 if test x
$gcc_no_link = xyes
; then
21859 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21862 /* end confdefs.h. */
21864 #ifdef HAVE_COMPLEX_H
21865 #include <complex.h>
21871 int (*ptr)() = (int (*)())roundl;
21880 if ac_fn_c_try_link
"$LINENO"; then :
21881 gcc_cv_math_func_roundl
=yes
21883 gcc_cv_math_func_roundl
=no
21885 rm -f core conftest.err conftest.
$ac_objext \
21886 conftest
$ac_exeext conftest.
$ac_ext
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21889 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21890 if test $gcc_cv_math_func_roundl = yes; then
21892 cat >>confdefs.h
<<_ACEOF
21893 #define HAVE_ROUNDL 1
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21902 $as_echo_n "checking for lroundf... " >&6; }
21903 if ${gcc_cv_math_func_lroundf+:} false
; then :
21904 $as_echo_n "(cached) " >&6
21906 if test x
$gcc_no_link = xyes
; then
21907 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21912 #ifdef HAVE_COMPLEX_H
21913 #include <complex.h>
21919 int (*ptr)() = (int (*)())lroundf;
21928 if ac_fn_c_try_link
"$LINENO"; then :
21929 gcc_cv_math_func_lroundf
=yes
21931 gcc_cv_math_func_lroundf
=no
21933 rm -f core conftest.err conftest.
$ac_objext \
21934 conftest
$ac_exeext conftest.
$ac_ext
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21937 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21938 if test $gcc_cv_math_func_lroundf = yes; then
21940 cat >>confdefs.h
<<_ACEOF
21941 #define HAVE_LROUNDF 1
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21950 $as_echo_n "checking for lround... " >&6; }
21951 if ${gcc_cv_math_func_lround+:} false
; then :
21952 $as_echo_n "(cached) " >&6
21954 if test x
$gcc_no_link = xyes
; then
21955 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h. */
21960 #ifdef HAVE_COMPLEX_H
21961 #include <complex.h>
21967 int (*ptr)() = (int (*)())lround;
21976 if ac_fn_c_try_link
"$LINENO"; then :
21977 gcc_cv_math_func_lround
=yes
21979 gcc_cv_math_func_lround
=no
21981 rm -f core conftest.err conftest.
$ac_objext \
21982 conftest
$ac_exeext conftest.
$ac_ext
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21985 $as_echo "$gcc_cv_math_func_lround" >&6; }
21986 if test $gcc_cv_math_func_lround = yes; then
21988 cat >>confdefs.h
<<_ACEOF
21989 #define HAVE_LROUND 1
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21998 $as_echo_n "checking for lroundl... " >&6; }
21999 if ${gcc_cv_math_func_lroundl+:} false
; then :
22000 $as_echo_n "(cached) " >&6
22002 if test x
$gcc_no_link = xyes
; then
22003 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22006 /* end confdefs.h. */
22008 #ifdef HAVE_COMPLEX_H
22009 #include <complex.h>
22015 int (*ptr)() = (int (*)())lroundl;
22024 if ac_fn_c_try_link
"$LINENO"; then :
22025 gcc_cv_math_func_lroundl
=yes
22027 gcc_cv_math_func_lroundl
=no
22029 rm -f core conftest.err conftest.
$ac_objext \
22030 conftest
$ac_exeext conftest.
$ac_ext
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22033 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22034 if test $gcc_cv_math_func_lroundl = yes; then
22036 cat >>confdefs.h
<<_ACEOF
22037 #define HAVE_LROUNDL 1
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22046 $as_echo_n "checking for llroundf... " >&6; }
22047 if ${gcc_cv_math_func_llroundf+:} false
; then :
22048 $as_echo_n "(cached) " >&6
22050 if test x
$gcc_no_link = xyes
; then
22051 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h. */
22056 #ifdef HAVE_COMPLEX_H
22057 #include <complex.h>
22063 int (*ptr)() = (int (*)())llroundf;
22072 if ac_fn_c_try_link
"$LINENO"; then :
22073 gcc_cv_math_func_llroundf
=yes
22075 gcc_cv_math_func_llroundf
=no
22077 rm -f core conftest.err conftest.
$ac_objext \
22078 conftest
$ac_exeext conftest.
$ac_ext
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22081 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22082 if test $gcc_cv_math_func_llroundf = yes; then
22084 cat >>confdefs.h
<<_ACEOF
22085 #define HAVE_LLROUNDF 1
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22094 $as_echo_n "checking for llround... " >&6; }
22095 if ${gcc_cv_math_func_llround+:} false
; then :
22096 $as_echo_n "(cached) " >&6
22098 if test x
$gcc_no_link = xyes
; then
22099 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h. */
22104 #ifdef HAVE_COMPLEX_H
22105 #include <complex.h>
22111 int (*ptr)() = (int (*)())llround;
22120 if ac_fn_c_try_link
"$LINENO"; then :
22121 gcc_cv_math_func_llround
=yes
22123 gcc_cv_math_func_llround
=no
22125 rm -f core conftest.err conftest.
$ac_objext \
22126 conftest
$ac_exeext conftest.
$ac_ext
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22129 $as_echo "$gcc_cv_math_func_llround" >&6; }
22130 if test $gcc_cv_math_func_llround = yes; then
22132 cat >>confdefs.h
<<_ACEOF
22133 #define HAVE_LLROUND 1
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22142 $as_echo_n "checking for llroundl... " >&6; }
22143 if ${gcc_cv_math_func_llroundl+:} false
; then :
22144 $as_echo_n "(cached) " >&6
22146 if test x
$gcc_no_link = xyes
; then
22147 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h. */
22152 #ifdef HAVE_COMPLEX_H
22153 #include <complex.h>
22159 int (*ptr)() = (int (*)())llroundl;
22168 if ac_fn_c_try_link
"$LINENO"; then :
22169 gcc_cv_math_func_llroundl
=yes
22171 gcc_cv_math_func_llroundl
=no
22173 rm -f core conftest.err conftest.
$ac_objext \
22174 conftest
$ac_exeext conftest.
$ac_ext
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22177 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22178 if test $gcc_cv_math_func_llroundl = yes; then
22180 cat >>confdefs.h
<<_ACEOF
22181 #define HAVE_LLROUNDL 1
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22190 $as_echo_n "checking for scalbnf... " >&6; }
22191 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22192 $as_echo_n "(cached) " >&6
22194 if test x
$gcc_no_link = xyes
; then
22195 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22198 /* end confdefs.h. */
22200 #ifdef HAVE_COMPLEX_H
22201 #include <complex.h>
22207 int (*ptr)() = (int (*)())scalbnf;
22216 if ac_fn_c_try_link
"$LINENO"; then :
22217 gcc_cv_math_func_scalbnf
=yes
22219 gcc_cv_math_func_scalbnf
=no
22221 rm -f core conftest.err conftest.
$ac_objext \
22222 conftest
$ac_exeext conftest.
$ac_ext
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22225 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22226 if test $gcc_cv_math_func_scalbnf = yes; then
22228 cat >>confdefs.h
<<_ACEOF
22229 #define HAVE_SCALBNF 1
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22238 $as_echo_n "checking for scalbn... " >&6; }
22239 if ${gcc_cv_math_func_scalbn+:} false
; then :
22240 $as_echo_n "(cached) " >&6
22242 if test x
$gcc_no_link = xyes
; then
22243 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h. */
22248 #ifdef HAVE_COMPLEX_H
22249 #include <complex.h>
22255 int (*ptr)() = (int (*)())scalbn;
22264 if ac_fn_c_try_link
"$LINENO"; then :
22265 gcc_cv_math_func_scalbn
=yes
22267 gcc_cv_math_func_scalbn
=no
22269 rm -f core conftest.err conftest.
$ac_objext \
22270 conftest
$ac_exeext conftest.
$ac_ext
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22273 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22274 if test $gcc_cv_math_func_scalbn = yes; then
22276 cat >>confdefs.h
<<_ACEOF
22277 #define HAVE_SCALBN 1
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22286 $as_echo_n "checking for scalbnl... " >&6; }
22287 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22288 $as_echo_n "(cached) " >&6
22290 if test x
$gcc_no_link = xyes
; then
22291 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22294 /* end confdefs.h. */
22296 #ifdef HAVE_COMPLEX_H
22297 #include <complex.h>
22303 int (*ptr)() = (int (*)())scalbnl;
22312 if ac_fn_c_try_link
"$LINENO"; then :
22313 gcc_cv_math_func_scalbnl
=yes
22315 gcc_cv_math_func_scalbnl
=no
22317 rm -f core conftest.err conftest.
$ac_objext \
22318 conftest
$ac_exeext conftest.
$ac_ext
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22321 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22322 if test $gcc_cv_math_func_scalbnl = yes; then
22324 cat >>confdefs.h
<<_ACEOF
22325 #define HAVE_SCALBNL 1
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22334 $as_echo_n "checking for sinf... " >&6; }
22335 if ${gcc_cv_math_func_sinf+:} false
; then :
22336 $as_echo_n "(cached) " >&6
22338 if test x
$gcc_no_link = xyes
; then
22339 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22342 /* end confdefs.h. */
22344 #ifdef HAVE_COMPLEX_H
22345 #include <complex.h>
22351 int (*ptr)() = (int (*)())sinf;
22360 if ac_fn_c_try_link
"$LINENO"; then :
22361 gcc_cv_math_func_sinf
=yes
22363 gcc_cv_math_func_sinf
=no
22365 rm -f core conftest.err conftest.
$ac_objext \
22366 conftest
$ac_exeext conftest.
$ac_ext
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22369 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22370 if test $gcc_cv_math_func_sinf = yes; then
22372 cat >>confdefs.h
<<_ACEOF
22373 #define HAVE_SINF 1
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22382 $as_echo_n "checking for sin... " >&6; }
22383 if ${gcc_cv_math_func_sin+:} false
; then :
22384 $as_echo_n "(cached) " >&6
22386 if test x
$gcc_no_link = xyes
; then
22387 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22392 #ifdef HAVE_COMPLEX_H
22393 #include <complex.h>
22399 int (*ptr)() = (int (*)())sin;
22408 if ac_fn_c_try_link
"$LINENO"; then :
22409 gcc_cv_math_func_sin
=yes
22411 gcc_cv_math_func_sin
=no
22413 rm -f core conftest.err conftest.
$ac_objext \
22414 conftest
$ac_exeext conftest.
$ac_ext
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22417 $as_echo "$gcc_cv_math_func_sin" >&6; }
22418 if test $gcc_cv_math_func_sin = yes; then
22420 cat >>confdefs.h
<<_ACEOF
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22430 $as_echo_n "checking for sinl... " >&6; }
22431 if ${gcc_cv_math_func_sinl+:} false
; then :
22432 $as_echo_n "(cached) " >&6
22434 if test x
$gcc_no_link = xyes
; then
22435 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h. */
22440 #ifdef HAVE_COMPLEX_H
22441 #include <complex.h>
22447 int (*ptr)() = (int (*)())sinl;
22456 if ac_fn_c_try_link
"$LINENO"; then :
22457 gcc_cv_math_func_sinl
=yes
22459 gcc_cv_math_func_sinl
=no
22461 rm -f core conftest.err conftest.
$ac_objext \
22462 conftest
$ac_exeext conftest.
$ac_ext
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22465 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22466 if test $gcc_cv_math_func_sinl = yes; then
22468 cat >>confdefs.h
<<_ACEOF
22469 #define HAVE_SINL 1
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22478 $as_echo_n "checking for csinf... " >&6; }
22479 if ${gcc_cv_math_func_csinf+:} false
; then :
22480 $as_echo_n "(cached) " >&6
22482 if test x
$gcc_no_link = xyes
; then
22483 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h. */
22488 #ifdef HAVE_COMPLEX_H
22489 #include <complex.h>
22495 int (*ptr)() = (int (*)())csinf;
22504 if ac_fn_c_try_link
"$LINENO"; then :
22505 gcc_cv_math_func_csinf
=yes
22507 gcc_cv_math_func_csinf
=no
22509 rm -f core conftest.err conftest.
$ac_objext \
22510 conftest
$ac_exeext conftest.
$ac_ext
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22513 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22514 if test $gcc_cv_math_func_csinf = yes; then
22516 cat >>confdefs.h
<<_ACEOF
22517 #define HAVE_CSINF 1
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22526 $as_echo_n "checking for csin... " >&6; }
22527 if ${gcc_cv_math_func_csin+:} false
; then :
22528 $as_echo_n "(cached) " >&6
22530 if test x
$gcc_no_link = xyes
; then
22531 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22534 /* end confdefs.h. */
22536 #ifdef HAVE_COMPLEX_H
22537 #include <complex.h>
22543 int (*ptr)() = (int (*)())csin;
22552 if ac_fn_c_try_link
"$LINENO"; then :
22553 gcc_cv_math_func_csin
=yes
22555 gcc_cv_math_func_csin
=no
22557 rm -f core conftest.err conftest.
$ac_objext \
22558 conftest
$ac_exeext conftest.
$ac_ext
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22561 $as_echo "$gcc_cv_math_func_csin" >&6; }
22562 if test $gcc_cv_math_func_csin = yes; then
22564 cat >>confdefs.h
<<_ACEOF
22565 #define HAVE_CSIN 1
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22574 $as_echo_n "checking for csinl... " >&6; }
22575 if ${gcc_cv_math_func_csinl+:} false
; then :
22576 $as_echo_n "(cached) " >&6
22578 if test x
$gcc_no_link = xyes
; then
22579 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22582 /* end confdefs.h. */
22584 #ifdef HAVE_COMPLEX_H
22585 #include <complex.h>
22591 int (*ptr)() = (int (*)())csinl;
22600 if ac_fn_c_try_link
"$LINENO"; then :
22601 gcc_cv_math_func_csinl
=yes
22603 gcc_cv_math_func_csinl
=no
22605 rm -f core conftest.err conftest.
$ac_objext \
22606 conftest
$ac_exeext conftest.
$ac_ext
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22609 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22610 if test $gcc_cv_math_func_csinl = yes; then
22612 cat >>confdefs.h
<<_ACEOF
22613 #define HAVE_CSINL 1
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22622 $as_echo_n "checking for sinhf... " >&6; }
22623 if ${gcc_cv_math_func_sinhf+:} false
; then :
22624 $as_echo_n "(cached) " >&6
22626 if test x
$gcc_no_link = xyes
; then
22627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22632 #ifdef HAVE_COMPLEX_H
22633 #include <complex.h>
22639 int (*ptr)() = (int (*)())sinhf;
22648 if ac_fn_c_try_link
"$LINENO"; then :
22649 gcc_cv_math_func_sinhf
=yes
22651 gcc_cv_math_func_sinhf
=no
22653 rm -f core conftest.err conftest.
$ac_objext \
22654 conftest
$ac_exeext conftest.
$ac_ext
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22657 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22658 if test $gcc_cv_math_func_sinhf = yes; then
22660 cat >>confdefs.h
<<_ACEOF
22661 #define HAVE_SINHF 1
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22670 $as_echo_n "checking for sinh... " >&6; }
22671 if ${gcc_cv_math_func_sinh+:} false
; then :
22672 $as_echo_n "(cached) " >&6
22674 if test x
$gcc_no_link = xyes
; then
22675 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22678 /* end confdefs.h. */
22680 #ifdef HAVE_COMPLEX_H
22681 #include <complex.h>
22687 int (*ptr)() = (int (*)())sinh;
22696 if ac_fn_c_try_link
"$LINENO"; then :
22697 gcc_cv_math_func_sinh
=yes
22699 gcc_cv_math_func_sinh
=no
22701 rm -f core conftest.err conftest.
$ac_objext \
22702 conftest
$ac_exeext conftest.
$ac_ext
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22705 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22706 if test $gcc_cv_math_func_sinh = yes; then
22708 cat >>confdefs.h
<<_ACEOF
22709 #define HAVE_SINH 1
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22718 $as_echo_n "checking for sinhl... " >&6; }
22719 if ${gcc_cv_math_func_sinhl+:} false
; then :
22720 $as_echo_n "(cached) " >&6
22722 if test x
$gcc_no_link = xyes
; then
22723 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22726 /* end confdefs.h. */
22728 #ifdef HAVE_COMPLEX_H
22729 #include <complex.h>
22735 int (*ptr)() = (int (*)())sinhl;
22744 if ac_fn_c_try_link
"$LINENO"; then :
22745 gcc_cv_math_func_sinhl
=yes
22747 gcc_cv_math_func_sinhl
=no
22749 rm -f core conftest.err conftest.
$ac_objext \
22750 conftest
$ac_exeext conftest.
$ac_ext
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22753 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22754 if test $gcc_cv_math_func_sinhl = yes; then
22756 cat >>confdefs.h
<<_ACEOF
22757 #define HAVE_SINHL 1
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22766 $as_echo_n "checking for csinhf... " >&6; }
22767 if ${gcc_cv_math_func_csinhf+:} false
; then :
22768 $as_echo_n "(cached) " >&6
22770 if test x
$gcc_no_link = xyes
; then
22771 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22776 #ifdef HAVE_COMPLEX_H
22777 #include <complex.h>
22783 int (*ptr)() = (int (*)())csinhf;
22792 if ac_fn_c_try_link
"$LINENO"; then :
22793 gcc_cv_math_func_csinhf
=yes
22795 gcc_cv_math_func_csinhf
=no
22797 rm -f core conftest.err conftest.
$ac_objext \
22798 conftest
$ac_exeext conftest.
$ac_ext
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22801 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22802 if test $gcc_cv_math_func_csinhf = yes; then
22804 cat >>confdefs.h
<<_ACEOF
22805 #define HAVE_CSINHF 1
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22814 $as_echo_n "checking for csinh... " >&6; }
22815 if ${gcc_cv_math_func_csinh+:} false
; then :
22816 $as_echo_n "(cached) " >&6
22818 if test x
$gcc_no_link = xyes
; then
22819 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h. */
22824 #ifdef HAVE_COMPLEX_H
22825 #include <complex.h>
22831 int (*ptr)() = (int (*)())csinh;
22840 if ac_fn_c_try_link
"$LINENO"; then :
22841 gcc_cv_math_func_csinh
=yes
22843 gcc_cv_math_func_csinh
=no
22845 rm -f core conftest.err conftest.
$ac_objext \
22846 conftest
$ac_exeext conftest.
$ac_ext
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22849 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22850 if test $gcc_cv_math_func_csinh = yes; then
22852 cat >>confdefs.h
<<_ACEOF
22853 #define HAVE_CSINH 1
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22862 $as_echo_n "checking for csinhl... " >&6; }
22863 if ${gcc_cv_math_func_csinhl+:} false
; then :
22864 $as_echo_n "(cached) " >&6
22866 if test x
$gcc_no_link = xyes
; then
22867 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22870 /* end confdefs.h. */
22872 #ifdef HAVE_COMPLEX_H
22873 #include <complex.h>
22879 int (*ptr)() = (int (*)())csinhl;
22888 if ac_fn_c_try_link
"$LINENO"; then :
22889 gcc_cv_math_func_csinhl
=yes
22891 gcc_cv_math_func_csinhl
=no
22893 rm -f core conftest.err conftest.
$ac_objext \
22894 conftest
$ac_exeext conftest.
$ac_ext
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22897 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22898 if test $gcc_cv_math_func_csinhl = yes; then
22900 cat >>confdefs.h
<<_ACEOF
22901 #define HAVE_CSINHL 1
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22910 $as_echo_n "checking for sqrtf... " >&6; }
22911 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22912 $as_echo_n "(cached) " >&6
22914 if test x
$gcc_no_link = xyes
; then
22915 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22920 #ifdef HAVE_COMPLEX_H
22921 #include <complex.h>
22927 int (*ptr)() = (int (*)())sqrtf;
22936 if ac_fn_c_try_link
"$LINENO"; then :
22937 gcc_cv_math_func_sqrtf
=yes
22939 gcc_cv_math_func_sqrtf
=no
22941 rm -f core conftest.err conftest.
$ac_objext \
22942 conftest
$ac_exeext conftest.
$ac_ext
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22945 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22946 if test $gcc_cv_math_func_sqrtf = yes; then
22948 cat >>confdefs.h
<<_ACEOF
22949 #define HAVE_SQRTF 1
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22958 $as_echo_n "checking for sqrt... " >&6; }
22959 if ${gcc_cv_math_func_sqrt+:} false
; then :
22960 $as_echo_n "(cached) " >&6
22962 if test x
$gcc_no_link = xyes
; then
22963 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22966 /* end confdefs.h. */
22968 #ifdef HAVE_COMPLEX_H
22969 #include <complex.h>
22975 int (*ptr)() = (int (*)())sqrt;
22984 if ac_fn_c_try_link
"$LINENO"; then :
22985 gcc_cv_math_func_sqrt
=yes
22987 gcc_cv_math_func_sqrt
=no
22989 rm -f core conftest.err conftest.
$ac_objext \
22990 conftest
$ac_exeext conftest.
$ac_ext
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22993 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22994 if test $gcc_cv_math_func_sqrt = yes; then
22996 cat >>confdefs.h
<<_ACEOF
22997 #define HAVE_SQRT 1
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23006 $as_echo_n "checking for sqrtl... " >&6; }
23007 if ${gcc_cv_math_func_sqrtl+:} false
; then :
23008 $as_echo_n "(cached) " >&6
23010 if test x
$gcc_no_link = xyes
; then
23011 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23014 /* end confdefs.h. */
23016 #ifdef HAVE_COMPLEX_H
23017 #include <complex.h>
23023 int (*ptr)() = (int (*)())sqrtl;
23032 if ac_fn_c_try_link
"$LINENO"; then :
23033 gcc_cv_math_func_sqrtl
=yes
23035 gcc_cv_math_func_sqrtl
=no
23037 rm -f core conftest.err conftest.
$ac_objext \
23038 conftest
$ac_exeext conftest.
$ac_ext
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23041 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23042 if test $gcc_cv_math_func_sqrtl = yes; then
23044 cat >>confdefs.h
<<_ACEOF
23045 #define HAVE_SQRTL 1
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23054 $as_echo_n "checking for csqrtf... " >&6; }
23055 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23056 $as_echo_n "(cached) " >&6
23058 if test x
$gcc_no_link = xyes
; then
23059 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23064 #ifdef HAVE_COMPLEX_H
23065 #include <complex.h>
23071 int (*ptr)() = (int (*)())csqrtf;
23080 if ac_fn_c_try_link
"$LINENO"; then :
23081 gcc_cv_math_func_csqrtf
=yes
23083 gcc_cv_math_func_csqrtf
=no
23085 rm -f core conftest.err conftest.
$ac_objext \
23086 conftest
$ac_exeext conftest.
$ac_ext
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23089 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23090 if test $gcc_cv_math_func_csqrtf = yes; then
23092 cat >>confdefs.h
<<_ACEOF
23093 #define HAVE_CSQRTF 1
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23102 $as_echo_n "checking for csqrt... " >&6; }
23103 if ${gcc_cv_math_func_csqrt+:} false
; then :
23104 $as_echo_n "(cached) " >&6
23106 if test x
$gcc_no_link = xyes
; then
23107 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23110 /* end confdefs.h. */
23112 #ifdef HAVE_COMPLEX_H
23113 #include <complex.h>
23119 int (*ptr)() = (int (*)())csqrt;
23128 if ac_fn_c_try_link
"$LINENO"; then :
23129 gcc_cv_math_func_csqrt
=yes
23131 gcc_cv_math_func_csqrt
=no
23133 rm -f core conftest.err conftest.
$ac_objext \
23134 conftest
$ac_exeext conftest.
$ac_ext
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23137 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23138 if test $gcc_cv_math_func_csqrt = yes; then
23140 cat >>confdefs.h
<<_ACEOF
23141 #define HAVE_CSQRT 1
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23150 $as_echo_n "checking for csqrtl... " >&6; }
23151 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23152 $as_echo_n "(cached) " >&6
23154 if test x
$gcc_no_link = xyes
; then
23155 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23158 /* end confdefs.h. */
23160 #ifdef HAVE_COMPLEX_H
23161 #include <complex.h>
23167 int (*ptr)() = (int (*)())csqrtl;
23176 if ac_fn_c_try_link
"$LINENO"; then :
23177 gcc_cv_math_func_csqrtl
=yes
23179 gcc_cv_math_func_csqrtl
=no
23181 rm -f core conftest.err conftest.
$ac_objext \
23182 conftest
$ac_exeext conftest.
$ac_ext
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23185 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23186 if test $gcc_cv_math_func_csqrtl = yes; then
23188 cat >>confdefs.h
<<_ACEOF
23189 #define HAVE_CSQRTL 1
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23198 $as_echo_n "checking for tanf... " >&6; }
23199 if ${gcc_cv_math_func_tanf+:} false
; then :
23200 $as_echo_n "(cached) " >&6
23202 if test x
$gcc_no_link = xyes
; then
23203 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23208 #ifdef HAVE_COMPLEX_H
23209 #include <complex.h>
23215 int (*ptr)() = (int (*)())tanf;
23224 if ac_fn_c_try_link
"$LINENO"; then :
23225 gcc_cv_math_func_tanf
=yes
23227 gcc_cv_math_func_tanf
=no
23229 rm -f core conftest.err conftest.
$ac_objext \
23230 conftest
$ac_exeext conftest.
$ac_ext
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23233 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23234 if test $gcc_cv_math_func_tanf = yes; then
23236 cat >>confdefs.h
<<_ACEOF
23237 #define HAVE_TANF 1
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23246 $as_echo_n "checking for tan... " >&6; }
23247 if ${gcc_cv_math_func_tan+:} false
; then :
23248 $as_echo_n "(cached) " >&6
23250 if test x
$gcc_no_link = xyes
; then
23251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23254 /* end confdefs.h. */
23256 #ifdef HAVE_COMPLEX_H
23257 #include <complex.h>
23263 int (*ptr)() = (int (*)())tan;
23272 if ac_fn_c_try_link
"$LINENO"; then :
23273 gcc_cv_math_func_tan
=yes
23275 gcc_cv_math_func_tan
=no
23277 rm -f core conftest.err conftest.
$ac_objext \
23278 conftest
$ac_exeext conftest.
$ac_ext
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23281 $as_echo "$gcc_cv_math_func_tan" >&6; }
23282 if test $gcc_cv_math_func_tan = yes; then
23284 cat >>confdefs.h
<<_ACEOF
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23294 $as_echo_n "checking for tanl... " >&6; }
23295 if ${gcc_cv_math_func_tanl+:} false
; then :
23296 $as_echo_n "(cached) " >&6
23298 if test x
$gcc_no_link = xyes
; then
23299 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23302 /* end confdefs.h. */
23304 #ifdef HAVE_COMPLEX_H
23305 #include <complex.h>
23311 int (*ptr)() = (int (*)())tanl;
23320 if ac_fn_c_try_link
"$LINENO"; then :
23321 gcc_cv_math_func_tanl
=yes
23323 gcc_cv_math_func_tanl
=no
23325 rm -f core conftest.err conftest.
$ac_objext \
23326 conftest
$ac_exeext conftest.
$ac_ext
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23329 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23330 if test $gcc_cv_math_func_tanl = yes; then
23332 cat >>confdefs.h
<<_ACEOF
23333 #define HAVE_TANL 1
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23342 $as_echo_n "checking for ctanf... " >&6; }
23343 if ${gcc_cv_math_func_ctanf+:} false
; then :
23344 $as_echo_n "(cached) " >&6
23346 if test x
$gcc_no_link = xyes
; then
23347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23352 #ifdef HAVE_COMPLEX_H
23353 #include <complex.h>
23359 int (*ptr)() = (int (*)())ctanf;
23368 if ac_fn_c_try_link
"$LINENO"; then :
23369 gcc_cv_math_func_ctanf
=yes
23371 gcc_cv_math_func_ctanf
=no
23373 rm -f core conftest.err conftest.
$ac_objext \
23374 conftest
$ac_exeext conftest.
$ac_ext
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23377 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23378 if test $gcc_cv_math_func_ctanf = yes; then
23380 cat >>confdefs.h
<<_ACEOF
23381 #define HAVE_CTANF 1
23389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23390 $as_echo_n "checking for ctan... " >&6; }
23391 if ${gcc_cv_math_func_ctan+:} false
; then :
23392 $as_echo_n "(cached) " >&6
23394 if test x
$gcc_no_link = xyes
; then
23395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23400 #ifdef HAVE_COMPLEX_H
23401 #include <complex.h>
23407 int (*ptr)() = (int (*)())ctan;
23416 if ac_fn_c_try_link
"$LINENO"; then :
23417 gcc_cv_math_func_ctan
=yes
23419 gcc_cv_math_func_ctan
=no
23421 rm -f core conftest.err conftest.
$ac_objext \
23422 conftest
$ac_exeext conftest.
$ac_ext
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23425 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23426 if test $gcc_cv_math_func_ctan = yes; then
23428 cat >>confdefs.h
<<_ACEOF
23429 #define HAVE_CTAN 1
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23438 $as_echo_n "checking for ctanl... " >&6; }
23439 if ${gcc_cv_math_func_ctanl+:} false
; then :
23440 $as_echo_n "(cached) " >&6
23442 if test x
$gcc_no_link = xyes
; then
23443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h. */
23448 #ifdef HAVE_COMPLEX_H
23449 #include <complex.h>
23455 int (*ptr)() = (int (*)())ctanl;
23464 if ac_fn_c_try_link
"$LINENO"; then :
23465 gcc_cv_math_func_ctanl
=yes
23467 gcc_cv_math_func_ctanl
=no
23469 rm -f core conftest.err conftest.
$ac_objext \
23470 conftest
$ac_exeext conftest.
$ac_ext
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23473 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23474 if test $gcc_cv_math_func_ctanl = yes; then
23476 cat >>confdefs.h
<<_ACEOF
23477 #define HAVE_CTANL 1
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23486 $as_echo_n "checking for tanhf... " >&6; }
23487 if ${gcc_cv_math_func_tanhf+:} false
; then :
23488 $as_echo_n "(cached) " >&6
23490 if test x
$gcc_no_link = xyes
; then
23491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23496 #ifdef HAVE_COMPLEX_H
23497 #include <complex.h>
23503 int (*ptr)() = (int (*)())tanhf;
23512 if ac_fn_c_try_link
"$LINENO"; then :
23513 gcc_cv_math_func_tanhf
=yes
23515 gcc_cv_math_func_tanhf
=no
23517 rm -f core conftest.err conftest.
$ac_objext \
23518 conftest
$ac_exeext conftest.
$ac_ext
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23521 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23522 if test $gcc_cv_math_func_tanhf = yes; then
23524 cat >>confdefs.h
<<_ACEOF
23525 #define HAVE_TANHF 1
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23534 $as_echo_n "checking for tanh... " >&6; }
23535 if ${gcc_cv_math_func_tanh+:} false
; then :
23536 $as_echo_n "(cached) " >&6
23538 if test x
$gcc_no_link = xyes
; then
23539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23544 #ifdef HAVE_COMPLEX_H
23545 #include <complex.h>
23551 int (*ptr)() = (int (*)())tanh;
23560 if ac_fn_c_try_link
"$LINENO"; then :
23561 gcc_cv_math_func_tanh
=yes
23563 gcc_cv_math_func_tanh
=no
23565 rm -f core conftest.err conftest.
$ac_objext \
23566 conftest
$ac_exeext conftest.
$ac_ext
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23569 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23570 if test $gcc_cv_math_func_tanh = yes; then
23572 cat >>confdefs.h
<<_ACEOF
23573 #define HAVE_TANH 1
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23582 $as_echo_n "checking for tanhl... " >&6; }
23583 if ${gcc_cv_math_func_tanhl+:} false
; then :
23584 $as_echo_n "(cached) " >&6
23586 if test x
$gcc_no_link = xyes
; then
23587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23592 #ifdef HAVE_COMPLEX_H
23593 #include <complex.h>
23599 int (*ptr)() = (int (*)())tanhl;
23608 if ac_fn_c_try_link
"$LINENO"; then :
23609 gcc_cv_math_func_tanhl
=yes
23611 gcc_cv_math_func_tanhl
=no
23613 rm -f core conftest.err conftest.
$ac_objext \
23614 conftest
$ac_exeext conftest.
$ac_ext
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23617 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23618 if test $gcc_cv_math_func_tanhl = yes; then
23620 cat >>confdefs.h
<<_ACEOF
23621 #define HAVE_TANHL 1
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23630 $as_echo_n "checking for ctanhf... " >&6; }
23631 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23632 $as_echo_n "(cached) " >&6
23634 if test x
$gcc_no_link = xyes
; then
23635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23638 /* end confdefs.h. */
23640 #ifdef HAVE_COMPLEX_H
23641 #include <complex.h>
23647 int (*ptr)() = (int (*)())ctanhf;
23656 if ac_fn_c_try_link
"$LINENO"; then :
23657 gcc_cv_math_func_ctanhf
=yes
23659 gcc_cv_math_func_ctanhf
=no
23661 rm -f core conftest.err conftest.
$ac_objext \
23662 conftest
$ac_exeext conftest.
$ac_ext
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23665 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23666 if test $gcc_cv_math_func_ctanhf = yes; then
23668 cat >>confdefs.h
<<_ACEOF
23669 #define HAVE_CTANHF 1
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23678 $as_echo_n "checking for ctanh... " >&6; }
23679 if ${gcc_cv_math_func_ctanh+:} false
; then :
23680 $as_echo_n "(cached) " >&6
23682 if test x
$gcc_no_link = xyes
; then
23683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23688 #ifdef HAVE_COMPLEX_H
23689 #include <complex.h>
23695 int (*ptr)() = (int (*)())ctanh;
23704 if ac_fn_c_try_link
"$LINENO"; then :
23705 gcc_cv_math_func_ctanh
=yes
23707 gcc_cv_math_func_ctanh
=no
23709 rm -f core conftest.err conftest.
$ac_objext \
23710 conftest
$ac_exeext conftest.
$ac_ext
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23713 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23714 if test $gcc_cv_math_func_ctanh = yes; then
23716 cat >>confdefs.h
<<_ACEOF
23717 #define HAVE_CTANH 1
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23726 $as_echo_n "checking for ctanhl... " >&6; }
23727 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23728 $as_echo_n "(cached) " >&6
23730 if test x
$gcc_no_link = xyes
; then
23731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h. */
23736 #ifdef HAVE_COMPLEX_H
23737 #include <complex.h>
23743 int (*ptr)() = (int (*)())ctanhl;
23752 if ac_fn_c_try_link
"$LINENO"; then :
23753 gcc_cv_math_func_ctanhl
=yes
23755 gcc_cv_math_func_ctanhl
=no
23757 rm -f core conftest.err conftest.
$ac_objext \
23758 conftest
$ac_exeext conftest.
$ac_ext
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23761 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23762 if test $gcc_cv_math_func_ctanhl = yes; then
23764 cat >>confdefs.h
<<_ACEOF
23765 #define HAVE_CTANHL 1
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23774 $as_echo_n "checking for truncf... " >&6; }
23775 if ${gcc_cv_math_func_truncf+:} false
; then :
23776 $as_echo_n "(cached) " >&6
23778 if test x
$gcc_no_link = xyes
; then
23779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23784 #ifdef HAVE_COMPLEX_H
23785 #include <complex.h>
23791 int (*ptr)() = (int (*)())truncf;
23800 if ac_fn_c_try_link
"$LINENO"; then :
23801 gcc_cv_math_func_truncf
=yes
23803 gcc_cv_math_func_truncf
=no
23805 rm -f core conftest.err conftest.
$ac_objext \
23806 conftest
$ac_exeext conftest.
$ac_ext
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23809 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23810 if test $gcc_cv_math_func_truncf = yes; then
23812 cat >>confdefs.h
<<_ACEOF
23813 #define HAVE_TRUNCF 1
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23822 $as_echo_n "checking for trunc... " >&6; }
23823 if ${gcc_cv_math_func_trunc+:} false
; then :
23824 $as_echo_n "(cached) " >&6
23826 if test x
$gcc_no_link = xyes
; then
23827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23832 #ifdef HAVE_COMPLEX_H
23833 #include <complex.h>
23839 int (*ptr)() = (int (*)())trunc;
23848 if ac_fn_c_try_link
"$LINENO"; then :
23849 gcc_cv_math_func_trunc
=yes
23851 gcc_cv_math_func_trunc
=no
23853 rm -f core conftest.err conftest.
$ac_objext \
23854 conftest
$ac_exeext conftest.
$ac_ext
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23857 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23858 if test $gcc_cv_math_func_trunc = yes; then
23860 cat >>confdefs.h
<<_ACEOF
23861 #define HAVE_TRUNC 1
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23870 $as_echo_n "checking for truncl... " >&6; }
23871 if ${gcc_cv_math_func_truncl+:} false
; then :
23872 $as_echo_n "(cached) " >&6
23874 if test x
$gcc_no_link = xyes
; then
23875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23878 /* end confdefs.h. */
23880 #ifdef HAVE_COMPLEX_H
23881 #include <complex.h>
23887 int (*ptr)() = (int (*)())truncl;
23896 if ac_fn_c_try_link
"$LINENO"; then :
23897 gcc_cv_math_func_truncl
=yes
23899 gcc_cv_math_func_truncl
=no
23901 rm -f core conftest.err conftest.
$ac_objext \
23902 conftest
$ac_exeext conftest.
$ac_ext
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23905 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23906 if test $gcc_cv_math_func_truncl = yes; then
23908 cat >>confdefs.h
<<_ACEOF
23909 #define HAVE_TRUNCL 1
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23918 $as_echo_n "checking for erff... " >&6; }
23919 if ${gcc_cv_math_func_erff+:} false
; then :
23920 $as_echo_n "(cached) " >&6
23922 if test x
$gcc_no_link = xyes
; then
23923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23928 #ifdef HAVE_COMPLEX_H
23929 #include <complex.h>
23935 int (*ptr)() = (int (*)())erff;
23944 if ac_fn_c_try_link
"$LINENO"; then :
23945 gcc_cv_math_func_erff
=yes
23947 gcc_cv_math_func_erff
=no
23949 rm -f core conftest.err conftest.
$ac_objext \
23950 conftest
$ac_exeext conftest.
$ac_ext
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23953 $as_echo "$gcc_cv_math_func_erff" >&6; }
23954 if test $gcc_cv_math_func_erff = yes; then
23956 cat >>confdefs.h
<<_ACEOF
23957 #define HAVE_ERFF 1
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23966 $as_echo_n "checking for erf... " >&6; }
23967 if ${gcc_cv_math_func_erf+:} false
; then :
23968 $as_echo_n "(cached) " >&6
23970 if test x
$gcc_no_link = xyes
; then
23971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23976 #ifdef HAVE_COMPLEX_H
23977 #include <complex.h>
23983 int (*ptr)() = (int (*)())erf;
23992 if ac_fn_c_try_link
"$LINENO"; then :
23993 gcc_cv_math_func_erf
=yes
23995 gcc_cv_math_func_erf
=no
23997 rm -f core conftest.err conftest.
$ac_objext \
23998 conftest
$ac_exeext conftest.
$ac_ext
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24001 $as_echo "$gcc_cv_math_func_erf" >&6; }
24002 if test $gcc_cv_math_func_erf = yes; then
24004 cat >>confdefs.h
<<_ACEOF
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24014 $as_echo_n "checking for erfcf... " >&6; }
24015 if ${gcc_cv_math_func_erfcf+:} false
; then :
24016 $as_echo_n "(cached) " >&6
24018 if test x
$gcc_no_link = xyes
; then
24019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24024 #ifdef HAVE_COMPLEX_H
24025 #include <complex.h>
24031 int (*ptr)() = (int (*)())erfcf;
24040 if ac_fn_c_try_link
"$LINENO"; then :
24041 gcc_cv_math_func_erfcf
=yes
24043 gcc_cv_math_func_erfcf
=no
24045 rm -f core conftest.err conftest.
$ac_objext \
24046 conftest
$ac_exeext conftest.
$ac_ext
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24049 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24050 if test $gcc_cv_math_func_erfcf = yes; then
24052 cat >>confdefs.h
<<_ACEOF
24053 #define HAVE_ERFCF 1
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24062 $as_echo_n "checking for erfc... " >&6; }
24063 if ${gcc_cv_math_func_erfc+:} false
; then :
24064 $as_echo_n "(cached) " >&6
24066 if test x
$gcc_no_link = xyes
; then
24067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h. */
24072 #ifdef HAVE_COMPLEX_H
24073 #include <complex.h>
24079 int (*ptr)() = (int (*)())erfc;
24088 if ac_fn_c_try_link
"$LINENO"; then :
24089 gcc_cv_math_func_erfc
=yes
24091 gcc_cv_math_func_erfc
=no
24093 rm -f core conftest.err conftest.
$ac_objext \
24094 conftest
$ac_exeext conftest.
$ac_ext
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24097 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24098 if test $gcc_cv_math_func_erfc = yes; then
24100 cat >>confdefs.h
<<_ACEOF
24101 #define HAVE_ERFC 1
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24110 $as_echo_n "checking for erfcl... " >&6; }
24111 if ${gcc_cv_math_func_erfcl+:} false
; then :
24112 $as_echo_n "(cached) " >&6
24114 if test x
$gcc_no_link = xyes
; then
24115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24118 /* end confdefs.h. */
24120 #ifdef HAVE_COMPLEX_H
24121 #include <complex.h>
24127 int (*ptr)() = (int (*)())erfcl;
24136 if ac_fn_c_try_link
"$LINENO"; then :
24137 gcc_cv_math_func_erfcl
=yes
24139 gcc_cv_math_func_erfcl
=no
24141 rm -f core conftest.err conftest.
$ac_objext \
24142 conftest
$ac_exeext conftest.
$ac_ext
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24145 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24146 if test $gcc_cv_math_func_erfcl = yes; then
24148 cat >>confdefs.h
<<_ACEOF
24149 #define HAVE_ERFCL 1
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24158 $as_echo_n "checking for j0f... " >&6; }
24159 if ${gcc_cv_math_func_j0f+:} false
; then :
24160 $as_echo_n "(cached) " >&6
24162 if test x
$gcc_no_link = xyes
; then
24163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24166 /* end confdefs.h. */
24168 #ifdef HAVE_COMPLEX_H
24169 #include <complex.h>
24175 int (*ptr)() = (int (*)())j0f;
24184 if ac_fn_c_try_link
"$LINENO"; then :
24185 gcc_cv_math_func_j0f
=yes
24187 gcc_cv_math_func_j0f
=no
24189 rm -f core conftest.err conftest.
$ac_objext \
24190 conftest
$ac_exeext conftest.
$ac_ext
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24193 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24194 if test $gcc_cv_math_func_j0f = yes; then
24196 cat >>confdefs.h
<<_ACEOF
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24206 $as_echo_n "checking for j0... " >&6; }
24207 if ${gcc_cv_math_func_j0+:} false
; then :
24208 $as_echo_n "(cached) " >&6
24210 if test x
$gcc_no_link = xyes
; then
24211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h. */
24216 #ifdef HAVE_COMPLEX_H
24217 #include <complex.h>
24223 int (*ptr)() = (int (*)())j0;
24232 if ac_fn_c_try_link
"$LINENO"; then :
24233 gcc_cv_math_func_j0
=yes
24235 gcc_cv_math_func_j0
=no
24237 rm -f core conftest.err conftest.
$ac_objext \
24238 conftest
$ac_exeext conftest.
$ac_ext
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24241 $as_echo "$gcc_cv_math_func_j0" >&6; }
24242 if test $gcc_cv_math_func_j0 = yes; then
24244 cat >>confdefs.h
<<_ACEOF
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24254 $as_echo_n "checking for j1f... " >&6; }
24255 if ${gcc_cv_math_func_j1f+:} false
; then :
24256 $as_echo_n "(cached) " >&6
24258 if test x
$gcc_no_link = xyes
; then
24259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24262 /* end confdefs.h. */
24264 #ifdef HAVE_COMPLEX_H
24265 #include <complex.h>
24271 int (*ptr)() = (int (*)())j1f;
24280 if ac_fn_c_try_link
"$LINENO"; then :
24281 gcc_cv_math_func_j1f
=yes
24283 gcc_cv_math_func_j1f
=no
24285 rm -f core conftest.err conftest.
$ac_objext \
24286 conftest
$ac_exeext conftest.
$ac_ext
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24289 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24290 if test $gcc_cv_math_func_j1f = yes; then
24292 cat >>confdefs.h
<<_ACEOF
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24302 $as_echo_n "checking for j1... " >&6; }
24303 if ${gcc_cv_math_func_j1+:} false
; then :
24304 $as_echo_n "(cached) " >&6
24306 if test x
$gcc_no_link = xyes
; then
24307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24310 /* end confdefs.h. */
24312 #ifdef HAVE_COMPLEX_H
24313 #include <complex.h>
24319 int (*ptr)() = (int (*)())j1;
24328 if ac_fn_c_try_link
"$LINENO"; then :
24329 gcc_cv_math_func_j1
=yes
24331 gcc_cv_math_func_j1
=no
24333 rm -f core conftest.err conftest.
$ac_objext \
24334 conftest
$ac_exeext conftest.
$ac_ext
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24337 $as_echo "$gcc_cv_math_func_j1" >&6; }
24338 if test $gcc_cv_math_func_j1 = yes; then
24340 cat >>confdefs.h
<<_ACEOF
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24350 $as_echo_n "checking for jnf... " >&6; }
24351 if ${gcc_cv_math_func_jnf+:} false
; then :
24352 $as_echo_n "(cached) " >&6
24354 if test x
$gcc_no_link = xyes
; then
24355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24358 /* end confdefs.h. */
24360 #ifdef HAVE_COMPLEX_H
24361 #include <complex.h>
24367 int (*ptr)() = (int (*)())jnf;
24376 if ac_fn_c_try_link
"$LINENO"; then :
24377 gcc_cv_math_func_jnf
=yes
24379 gcc_cv_math_func_jnf
=no
24381 rm -f core conftest.err conftest.
$ac_objext \
24382 conftest
$ac_exeext conftest.
$ac_ext
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24385 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24386 if test $gcc_cv_math_func_jnf = yes; then
24388 cat >>confdefs.h
<<_ACEOF
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24398 $as_echo_n "checking for jn... " >&6; }
24399 if ${gcc_cv_math_func_jn+:} false
; then :
24400 $as_echo_n "(cached) " >&6
24402 if test x
$gcc_no_link = xyes
; then
24403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24406 /* end confdefs.h. */
24408 #ifdef HAVE_COMPLEX_H
24409 #include <complex.h>
24415 int (*ptr)() = (int (*)())jn;
24424 if ac_fn_c_try_link
"$LINENO"; then :
24425 gcc_cv_math_func_jn
=yes
24427 gcc_cv_math_func_jn
=no
24429 rm -f core conftest.err conftest.
$ac_objext \
24430 conftest
$ac_exeext conftest.
$ac_ext
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24433 $as_echo "$gcc_cv_math_func_jn" >&6; }
24434 if test $gcc_cv_math_func_jn = yes; then
24436 cat >>confdefs.h
<<_ACEOF
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24446 $as_echo_n "checking for jnl... " >&6; }
24447 if ${gcc_cv_math_func_jnl+:} false
; then :
24448 $as_echo_n "(cached) " >&6
24450 if test x
$gcc_no_link = xyes
; then
24451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h. */
24456 #ifdef HAVE_COMPLEX_H
24457 #include <complex.h>
24463 int (*ptr)() = (int (*)())jnl;
24472 if ac_fn_c_try_link
"$LINENO"; then :
24473 gcc_cv_math_func_jnl
=yes
24475 gcc_cv_math_func_jnl
=no
24477 rm -f core conftest.err conftest.
$ac_objext \
24478 conftest
$ac_exeext conftest.
$ac_ext
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24481 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24482 if test $gcc_cv_math_func_jnl = yes; then
24484 cat >>confdefs.h
<<_ACEOF
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24494 $as_echo_n "checking for y0f... " >&6; }
24495 if ${gcc_cv_math_func_y0f+:} false
; then :
24496 $as_echo_n "(cached) " >&6
24498 if test x
$gcc_no_link = xyes
; then
24499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24504 #ifdef HAVE_COMPLEX_H
24505 #include <complex.h>
24511 int (*ptr)() = (int (*)())y0f;
24520 if ac_fn_c_try_link
"$LINENO"; then :
24521 gcc_cv_math_func_y0f
=yes
24523 gcc_cv_math_func_y0f
=no
24525 rm -f core conftest.err conftest.
$ac_objext \
24526 conftest
$ac_exeext conftest.
$ac_ext
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24529 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24530 if test $gcc_cv_math_func_y0f = yes; then
24532 cat >>confdefs.h
<<_ACEOF
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24542 $as_echo_n "checking for y0... " >&6; }
24543 if ${gcc_cv_math_func_y0+:} false
; then :
24544 $as_echo_n "(cached) " >&6
24546 if test x
$gcc_no_link = xyes
; then
24547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24550 /* end confdefs.h. */
24552 #ifdef HAVE_COMPLEX_H
24553 #include <complex.h>
24559 int (*ptr)() = (int (*)())y0;
24568 if ac_fn_c_try_link
"$LINENO"; then :
24569 gcc_cv_math_func_y0
=yes
24571 gcc_cv_math_func_y0
=no
24573 rm -f core conftest.err conftest.
$ac_objext \
24574 conftest
$ac_exeext conftest.
$ac_ext
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24577 $as_echo "$gcc_cv_math_func_y0" >&6; }
24578 if test $gcc_cv_math_func_y0 = yes; then
24580 cat >>confdefs.h
<<_ACEOF
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24590 $as_echo_n "checking for y1f... " >&6; }
24591 if ${gcc_cv_math_func_y1f+:} false
; then :
24592 $as_echo_n "(cached) " >&6
24594 if test x
$gcc_no_link = xyes
; then
24595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h. */
24600 #ifdef HAVE_COMPLEX_H
24601 #include <complex.h>
24607 int (*ptr)() = (int (*)())y1f;
24616 if ac_fn_c_try_link
"$LINENO"; then :
24617 gcc_cv_math_func_y1f
=yes
24619 gcc_cv_math_func_y1f
=no
24621 rm -f core conftest.err conftest.
$ac_objext \
24622 conftest
$ac_exeext conftest.
$ac_ext
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24625 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24626 if test $gcc_cv_math_func_y1f = yes; then
24628 cat >>confdefs.h
<<_ACEOF
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24638 $as_echo_n "checking for y1... " >&6; }
24639 if ${gcc_cv_math_func_y1+:} false
; then :
24640 $as_echo_n "(cached) " >&6
24642 if test x
$gcc_no_link = xyes
; then
24643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24646 /* end confdefs.h. */
24648 #ifdef HAVE_COMPLEX_H
24649 #include <complex.h>
24655 int (*ptr)() = (int (*)())y1;
24664 if ac_fn_c_try_link
"$LINENO"; then :
24665 gcc_cv_math_func_y1
=yes
24667 gcc_cv_math_func_y1
=no
24669 rm -f core conftest.err conftest.
$ac_objext \
24670 conftest
$ac_exeext conftest.
$ac_ext
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24673 $as_echo "$gcc_cv_math_func_y1" >&6; }
24674 if test $gcc_cv_math_func_y1 = yes; then
24676 cat >>confdefs.h
<<_ACEOF
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24686 $as_echo_n "checking for ynf... " >&6; }
24687 if ${gcc_cv_math_func_ynf+:} false
; then :
24688 $as_echo_n "(cached) " >&6
24690 if test x
$gcc_no_link = xyes
; then
24691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h. */
24696 #ifdef HAVE_COMPLEX_H
24697 #include <complex.h>
24703 int (*ptr)() = (int (*)())ynf;
24712 if ac_fn_c_try_link
"$LINENO"; then :
24713 gcc_cv_math_func_ynf
=yes
24715 gcc_cv_math_func_ynf
=no
24717 rm -f core conftest.err conftest.
$ac_objext \
24718 conftest
$ac_exeext conftest.
$ac_ext
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24721 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24722 if test $gcc_cv_math_func_ynf = yes; then
24724 cat >>confdefs.h
<<_ACEOF
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24734 $as_echo_n "checking for yn... " >&6; }
24735 if ${gcc_cv_math_func_yn+:} false
; then :
24736 $as_echo_n "(cached) " >&6
24738 if test x
$gcc_no_link = xyes
; then
24739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24744 #ifdef HAVE_COMPLEX_H
24745 #include <complex.h>
24751 int (*ptr)() = (int (*)())yn;
24760 if ac_fn_c_try_link
"$LINENO"; then :
24761 gcc_cv_math_func_yn
=yes
24763 gcc_cv_math_func_yn
=no
24765 rm -f core conftest.err conftest.
$ac_objext \
24766 conftest
$ac_exeext conftest.
$ac_ext
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24769 $as_echo "$gcc_cv_math_func_yn" >&6; }
24770 if test $gcc_cv_math_func_yn = yes; then
24772 cat >>confdefs.h
<<_ACEOF
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24782 $as_echo_n "checking for ynl... " >&6; }
24783 if ${gcc_cv_math_func_ynl+:} false
; then :
24784 $as_echo_n "(cached) " >&6
24786 if test x
$gcc_no_link = xyes
; then
24787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24790 /* end confdefs.h. */
24792 #ifdef HAVE_COMPLEX_H
24793 #include <complex.h>
24799 int (*ptr)() = (int (*)())ynl;
24808 if ac_fn_c_try_link
"$LINENO"; then :
24809 gcc_cv_math_func_ynl
=yes
24811 gcc_cv_math_func_ynl
=no
24813 rm -f core conftest.err conftest.
$ac_objext \
24814 conftest
$ac_exeext conftest.
$ac_ext
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24817 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24818 if test $gcc_cv_math_func_ynl = yes; then
24820 cat >>confdefs.h
<<_ACEOF
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24830 $as_echo_n "checking for tgamma... " >&6; }
24831 if ${gcc_cv_math_func_tgamma+:} false
; then :
24832 $as_echo_n "(cached) " >&6
24834 if test x
$gcc_no_link = xyes
; then
24835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24838 /* end confdefs.h. */
24840 #ifdef HAVE_COMPLEX_H
24841 #include <complex.h>
24847 int (*ptr)() = (int (*)())tgamma;
24856 if ac_fn_c_try_link
"$LINENO"; then :
24857 gcc_cv_math_func_tgamma
=yes
24859 gcc_cv_math_func_tgamma
=no
24861 rm -f core conftest.err conftest.
$ac_objext \
24862 conftest
$ac_exeext conftest.
$ac_ext
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24865 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24866 if test $gcc_cv_math_func_tgamma = yes; then
24868 cat >>confdefs.h
<<_ACEOF
24869 #define HAVE_TGAMMA 1
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24878 $as_echo_n "checking for tgammaf... " >&6; }
24879 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24880 $as_echo_n "(cached) " >&6
24882 if test x
$gcc_no_link = xyes
; then
24883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24886 /* end confdefs.h. */
24888 #ifdef HAVE_COMPLEX_H
24889 #include <complex.h>
24895 int (*ptr)() = (int (*)())tgammaf;
24904 if ac_fn_c_try_link
"$LINENO"; then :
24905 gcc_cv_math_func_tgammaf
=yes
24907 gcc_cv_math_func_tgammaf
=no
24909 rm -f core conftest.err conftest.
$ac_objext \
24910 conftest
$ac_exeext conftest.
$ac_ext
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24913 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24914 if test $gcc_cv_math_func_tgammaf = yes; then
24916 cat >>confdefs.h
<<_ACEOF
24917 #define HAVE_TGAMMAF 1
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24926 $as_echo_n "checking for lgamma... " >&6; }
24927 if ${gcc_cv_math_func_lgamma+:} false
; then :
24928 $as_echo_n "(cached) " >&6
24930 if test x
$gcc_no_link = xyes
; then
24931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24934 /* end confdefs.h. */
24936 #ifdef HAVE_COMPLEX_H
24937 #include <complex.h>
24943 int (*ptr)() = (int (*)())lgamma;
24952 if ac_fn_c_try_link
"$LINENO"; then :
24953 gcc_cv_math_func_lgamma
=yes
24955 gcc_cv_math_func_lgamma
=no
24957 rm -f core conftest.err conftest.
$ac_objext \
24958 conftest
$ac_exeext conftest.
$ac_ext
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24961 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24962 if test $gcc_cv_math_func_lgamma = yes; then
24964 cat >>confdefs.h
<<_ACEOF
24965 #define HAVE_LGAMMA 1
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24974 $as_echo_n "checking for lgammaf... " >&6; }
24975 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24976 $as_echo_n "(cached) " >&6
24978 if test x
$gcc_no_link = xyes
; then
24979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24984 #ifdef HAVE_COMPLEX_H
24985 #include <complex.h>
24991 int (*ptr)() = (int (*)())lgammaf;
25000 if ac_fn_c_try_link
"$LINENO"; then :
25001 gcc_cv_math_func_lgammaf
=yes
25003 gcc_cv_math_func_lgammaf
=no
25005 rm -f core conftest.err conftest.
$ac_objext \
25006 conftest
$ac_exeext conftest.
$ac_ext
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25009 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25010 if test $gcc_cv_math_func_lgammaf = yes; then
25012 cat >>confdefs.h
<<_ACEOF
25013 #define HAVE_LGAMMAF 1
25019 # Check for GFORTRAN_C99_1.1 funcs
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25024 $as_echo_n "checking for cacos... " >&6; }
25025 if ${gcc_cv_math_func_cacos+:} false
; then :
25026 $as_echo_n "(cached) " >&6
25028 if test x
$gcc_no_link = xyes
; then
25029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25034 #ifdef HAVE_COMPLEX_H
25035 #include <complex.h>
25041 int (*ptr)() = (int (*)())cacos;
25050 if ac_fn_c_try_link
"$LINENO"; then :
25051 gcc_cv_math_func_cacos
=yes
25053 gcc_cv_math_func_cacos
=no
25055 rm -f core conftest.err conftest.
$ac_objext \
25056 conftest
$ac_exeext conftest.
$ac_ext
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25059 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25060 if test $gcc_cv_math_func_cacos = yes; then
25062 cat >>confdefs.h
<<_ACEOF
25063 #define HAVE_CACOS 1
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25072 $as_echo_n "checking for cacosf... " >&6; }
25073 if ${gcc_cv_math_func_cacosf+:} false
; then :
25074 $as_echo_n "(cached) " >&6
25076 if test x
$gcc_no_link = xyes
; then
25077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25082 #ifdef HAVE_COMPLEX_H
25083 #include <complex.h>
25089 int (*ptr)() = (int (*)())cacosf;
25098 if ac_fn_c_try_link
"$LINENO"; then :
25099 gcc_cv_math_func_cacosf
=yes
25101 gcc_cv_math_func_cacosf
=no
25103 rm -f core conftest.err conftest.
$ac_objext \
25104 conftest
$ac_exeext conftest.
$ac_ext
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25107 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25108 if test $gcc_cv_math_func_cacosf = yes; then
25110 cat >>confdefs.h
<<_ACEOF
25111 #define HAVE_CACOSF 1
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25120 $as_echo_n "checking for cacosh... " >&6; }
25121 if ${gcc_cv_math_func_cacosh+:} false
; then :
25122 $as_echo_n "(cached) " >&6
25124 if test x
$gcc_no_link = xyes
; then
25125 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25130 #ifdef HAVE_COMPLEX_H
25131 #include <complex.h>
25137 int (*ptr)() = (int (*)())cacosh;
25146 if ac_fn_c_try_link
"$LINENO"; then :
25147 gcc_cv_math_func_cacosh
=yes
25149 gcc_cv_math_func_cacosh
=no
25151 rm -f core conftest.err conftest.
$ac_objext \
25152 conftest
$ac_exeext conftest.
$ac_ext
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25155 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25156 if test $gcc_cv_math_func_cacosh = yes; then
25158 cat >>confdefs.h
<<_ACEOF
25159 #define HAVE_CACOSH 1
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25168 $as_echo_n "checking for cacoshf... " >&6; }
25169 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25170 $as_echo_n "(cached) " >&6
25172 if test x
$gcc_no_link = xyes
; then
25173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25176 /* end confdefs.h. */
25178 #ifdef HAVE_COMPLEX_H
25179 #include <complex.h>
25185 int (*ptr)() = (int (*)())cacoshf;
25194 if ac_fn_c_try_link
"$LINENO"; then :
25195 gcc_cv_math_func_cacoshf
=yes
25197 gcc_cv_math_func_cacoshf
=no
25199 rm -f core conftest.err conftest.
$ac_objext \
25200 conftest
$ac_exeext conftest.
$ac_ext
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25203 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25204 if test $gcc_cv_math_func_cacoshf = yes; then
25206 cat >>confdefs.h
<<_ACEOF
25207 #define HAVE_CACOSHF 1
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25216 $as_echo_n "checking for cacoshl... " >&6; }
25217 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25218 $as_echo_n "(cached) " >&6
25220 if test x
$gcc_no_link = xyes
; then
25221 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25226 #ifdef HAVE_COMPLEX_H
25227 #include <complex.h>
25233 int (*ptr)() = (int (*)())cacoshl;
25242 if ac_fn_c_try_link
"$LINENO"; then :
25243 gcc_cv_math_func_cacoshl
=yes
25245 gcc_cv_math_func_cacoshl
=no
25247 rm -f core conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25251 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25252 if test $gcc_cv_math_func_cacoshl = yes; then
25254 cat >>confdefs.h
<<_ACEOF
25255 #define HAVE_CACOSHL 1
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25264 $as_echo_n "checking for cacosl... " >&6; }
25265 if ${gcc_cv_math_func_cacosl+:} false
; then :
25266 $as_echo_n "(cached) " >&6
25268 if test x
$gcc_no_link = xyes
; then
25269 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25272 /* end confdefs.h. */
25274 #ifdef HAVE_COMPLEX_H
25275 #include <complex.h>
25281 int (*ptr)() = (int (*)())cacosl;
25290 if ac_fn_c_try_link
"$LINENO"; then :
25291 gcc_cv_math_func_cacosl
=yes
25293 gcc_cv_math_func_cacosl
=no
25295 rm -f core conftest.err conftest.
$ac_objext \
25296 conftest
$ac_exeext conftest.
$ac_ext
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25299 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25300 if test $gcc_cv_math_func_cacosl = yes; then
25302 cat >>confdefs.h
<<_ACEOF
25303 #define HAVE_CACOSL 1
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25312 $as_echo_n "checking for casin... " >&6; }
25313 if ${gcc_cv_math_func_casin+:} false
; then :
25314 $as_echo_n "(cached) " >&6
25316 if test x
$gcc_no_link = xyes
; then
25317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25320 /* end confdefs.h. */
25322 #ifdef HAVE_COMPLEX_H
25323 #include <complex.h>
25329 int (*ptr)() = (int (*)())casin;
25338 if ac_fn_c_try_link
"$LINENO"; then :
25339 gcc_cv_math_func_casin
=yes
25341 gcc_cv_math_func_casin
=no
25343 rm -f core conftest.err conftest.
$ac_objext \
25344 conftest
$ac_exeext conftest.
$ac_ext
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25347 $as_echo "$gcc_cv_math_func_casin" >&6; }
25348 if test $gcc_cv_math_func_casin = yes; then
25350 cat >>confdefs.h
<<_ACEOF
25351 #define HAVE_CASIN 1
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25360 $as_echo_n "checking for casinf... " >&6; }
25361 if ${gcc_cv_math_func_casinf+:} false
; then :
25362 $as_echo_n "(cached) " >&6
25364 if test x
$gcc_no_link = xyes
; then
25365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25368 /* end confdefs.h. */
25370 #ifdef HAVE_COMPLEX_H
25371 #include <complex.h>
25377 int (*ptr)() = (int (*)())casinf;
25386 if ac_fn_c_try_link
"$LINENO"; then :
25387 gcc_cv_math_func_casinf
=yes
25389 gcc_cv_math_func_casinf
=no
25391 rm -f core conftest.err conftest.
$ac_objext \
25392 conftest
$ac_exeext conftest.
$ac_ext
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25395 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25396 if test $gcc_cv_math_func_casinf = yes; then
25398 cat >>confdefs.h
<<_ACEOF
25399 #define HAVE_CASINF 1
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25408 $as_echo_n "checking for casinh... " >&6; }
25409 if ${gcc_cv_math_func_casinh+:} false
; then :
25410 $as_echo_n "(cached) " >&6
25412 if test x
$gcc_no_link = xyes
; then
25413 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25418 #ifdef HAVE_COMPLEX_H
25419 #include <complex.h>
25425 int (*ptr)() = (int (*)())casinh;
25434 if ac_fn_c_try_link
"$LINENO"; then :
25435 gcc_cv_math_func_casinh
=yes
25437 gcc_cv_math_func_casinh
=no
25439 rm -f core conftest.err conftest.
$ac_objext \
25440 conftest
$ac_exeext conftest.
$ac_ext
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25443 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25444 if test $gcc_cv_math_func_casinh = yes; then
25446 cat >>confdefs.h
<<_ACEOF
25447 #define HAVE_CASINH 1
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25456 $as_echo_n "checking for casinhf... " >&6; }
25457 if ${gcc_cv_math_func_casinhf+:} false
; then :
25458 $as_echo_n "(cached) " >&6
25460 if test x
$gcc_no_link = xyes
; then
25461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25464 /* end confdefs.h. */
25466 #ifdef HAVE_COMPLEX_H
25467 #include <complex.h>
25473 int (*ptr)() = (int (*)())casinhf;
25482 if ac_fn_c_try_link
"$LINENO"; then :
25483 gcc_cv_math_func_casinhf
=yes
25485 gcc_cv_math_func_casinhf
=no
25487 rm -f core conftest.err conftest.
$ac_objext \
25488 conftest
$ac_exeext conftest.
$ac_ext
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25491 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25492 if test $gcc_cv_math_func_casinhf = yes; then
25494 cat >>confdefs.h
<<_ACEOF
25495 #define HAVE_CASINHF 1
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25504 $as_echo_n "checking for casinhl... " >&6; }
25505 if ${gcc_cv_math_func_casinhl+:} false
; then :
25506 $as_echo_n "(cached) " >&6
25508 if test x
$gcc_no_link = xyes
; then
25509 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25514 #ifdef HAVE_COMPLEX_H
25515 #include <complex.h>
25521 int (*ptr)() = (int (*)())casinhl;
25530 if ac_fn_c_try_link
"$LINENO"; then :
25531 gcc_cv_math_func_casinhl
=yes
25533 gcc_cv_math_func_casinhl
=no
25535 rm -f core conftest.err conftest.
$ac_objext \
25536 conftest
$ac_exeext conftest.
$ac_ext
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25539 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25540 if test $gcc_cv_math_func_casinhl = yes; then
25542 cat >>confdefs.h
<<_ACEOF
25543 #define HAVE_CASINHL 1
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25552 $as_echo_n "checking for casinl... " >&6; }
25553 if ${gcc_cv_math_func_casinl+:} false
; then :
25554 $as_echo_n "(cached) " >&6
25556 if test x
$gcc_no_link = xyes
; then
25557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25562 #ifdef HAVE_COMPLEX_H
25563 #include <complex.h>
25569 int (*ptr)() = (int (*)())casinl;
25578 if ac_fn_c_try_link
"$LINENO"; then :
25579 gcc_cv_math_func_casinl
=yes
25581 gcc_cv_math_func_casinl
=no
25583 rm -f core conftest.err conftest.
$ac_objext \
25584 conftest
$ac_exeext conftest.
$ac_ext
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25587 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25588 if test $gcc_cv_math_func_casinl = yes; then
25590 cat >>confdefs.h
<<_ACEOF
25591 #define HAVE_CASINL 1
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25600 $as_echo_n "checking for catan... " >&6; }
25601 if ${gcc_cv_math_func_catan+:} false
; then :
25602 $as_echo_n "(cached) " >&6
25604 if test x
$gcc_no_link = xyes
; then
25605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25608 /* end confdefs.h. */
25610 #ifdef HAVE_COMPLEX_H
25611 #include <complex.h>
25617 int (*ptr)() = (int (*)())catan;
25626 if ac_fn_c_try_link
"$LINENO"; then :
25627 gcc_cv_math_func_catan
=yes
25629 gcc_cv_math_func_catan
=no
25631 rm -f core conftest.err conftest.
$ac_objext \
25632 conftest
$ac_exeext conftest.
$ac_ext
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25635 $as_echo "$gcc_cv_math_func_catan" >&6; }
25636 if test $gcc_cv_math_func_catan = yes; then
25638 cat >>confdefs.h
<<_ACEOF
25639 #define HAVE_CATAN 1
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25648 $as_echo_n "checking for catanf... " >&6; }
25649 if ${gcc_cv_math_func_catanf+:} false
; then :
25650 $as_echo_n "(cached) " >&6
25652 if test x
$gcc_no_link = xyes
; then
25653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25656 /* end confdefs.h. */
25658 #ifdef HAVE_COMPLEX_H
25659 #include <complex.h>
25665 int (*ptr)() = (int (*)())catanf;
25674 if ac_fn_c_try_link
"$LINENO"; then :
25675 gcc_cv_math_func_catanf
=yes
25677 gcc_cv_math_func_catanf
=no
25679 rm -f core conftest.err conftest.
$ac_objext \
25680 conftest
$ac_exeext conftest.
$ac_ext
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25683 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25684 if test $gcc_cv_math_func_catanf = yes; then
25686 cat >>confdefs.h
<<_ACEOF
25687 #define HAVE_CATANF 1
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25696 $as_echo_n "checking for catanh... " >&6; }
25697 if ${gcc_cv_math_func_catanh+:} false
; then :
25698 $as_echo_n "(cached) " >&6
25700 if test x
$gcc_no_link = xyes
; then
25701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25704 /* end confdefs.h. */
25706 #ifdef HAVE_COMPLEX_H
25707 #include <complex.h>
25713 int (*ptr)() = (int (*)())catanh;
25722 if ac_fn_c_try_link
"$LINENO"; then :
25723 gcc_cv_math_func_catanh
=yes
25725 gcc_cv_math_func_catanh
=no
25727 rm -f core conftest.err conftest.
$ac_objext \
25728 conftest
$ac_exeext conftest.
$ac_ext
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25731 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25732 if test $gcc_cv_math_func_catanh = yes; then
25734 cat >>confdefs.h
<<_ACEOF
25735 #define HAVE_CATANH 1
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25744 $as_echo_n "checking for catanhf... " >&6; }
25745 if ${gcc_cv_math_func_catanhf+:} false
; then :
25746 $as_echo_n "(cached) " >&6
25748 if test x
$gcc_no_link = xyes
; then
25749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25754 #ifdef HAVE_COMPLEX_H
25755 #include <complex.h>
25761 int (*ptr)() = (int (*)())catanhf;
25770 if ac_fn_c_try_link
"$LINENO"; then :
25771 gcc_cv_math_func_catanhf
=yes
25773 gcc_cv_math_func_catanhf
=no
25775 rm -f core conftest.err conftest.
$ac_objext \
25776 conftest
$ac_exeext conftest.
$ac_ext
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25779 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25780 if test $gcc_cv_math_func_catanhf = yes; then
25782 cat >>confdefs.h
<<_ACEOF
25783 #define HAVE_CATANHF 1
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25792 $as_echo_n "checking for catanhl... " >&6; }
25793 if ${gcc_cv_math_func_catanhl+:} false
; then :
25794 $as_echo_n "(cached) " >&6
25796 if test x
$gcc_no_link = xyes
; then
25797 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25800 /* end confdefs.h. */
25802 #ifdef HAVE_COMPLEX_H
25803 #include <complex.h>
25809 int (*ptr)() = (int (*)())catanhl;
25818 if ac_fn_c_try_link
"$LINENO"; then :
25819 gcc_cv_math_func_catanhl
=yes
25821 gcc_cv_math_func_catanhl
=no
25823 rm -f core conftest.err conftest.
$ac_objext \
25824 conftest
$ac_exeext conftest.
$ac_ext
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25827 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25828 if test $gcc_cv_math_func_catanhl = yes; then
25830 cat >>confdefs.h
<<_ACEOF
25831 #define HAVE_CATANHL 1
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25840 $as_echo_n "checking for catanl... " >&6; }
25841 if ${gcc_cv_math_func_catanl+:} false
; then :
25842 $as_echo_n "(cached) " >&6
25844 if test x
$gcc_no_link = xyes
; then
25845 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25848 /* end confdefs.h. */
25850 #ifdef HAVE_COMPLEX_H
25851 #include <complex.h>
25857 int (*ptr)() = (int (*)())catanl;
25866 if ac_fn_c_try_link
"$LINENO"; then :
25867 gcc_cv_math_func_catanl
=yes
25869 gcc_cv_math_func_catanl
=no
25871 rm -f core conftest.err conftest.
$ac_objext \
25872 conftest
$ac_exeext conftest.
$ac_ext
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25875 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25876 if test $gcc_cv_math_func_catanl = yes; then
25878 cat >>confdefs.h
<<_ACEOF
25879 #define HAVE_CATANL 1
25885 # For POWER, check the ieee128 math functions
25887 if test "x$have_real_17" = "xyes"; then
25889 cat >>confdefs.h
<<_ACEOF
25890 #define HAVE_REAL_17 1
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25898 $as_echo_n "checking for __acoshieee128... " >&6; }
25899 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
25900 $as_echo_n "(cached) " >&6
25902 if test x
$gcc_no_link = xyes
; then
25903 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25906 /* end confdefs.h. */
25908 _Float128 __acoshieee128 (_Float128);
25909 _Float128 (*ptr)(_Float128) = __acoshieee128;
25918 if ac_fn_c_try_link
"$LINENO"; then :
25919 gcc_cv_math_func___acoshieee128
=yes
25921 gcc_cv_math_func___acoshieee128
=no
25923 rm -f core conftest.err conftest.
$ac_objext \
25924 conftest
$ac_exeext conftest.
$ac_ext
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25927 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25928 if test $gcc_cv_math_func___acoshieee128 = yes; then
25930 cat >>confdefs.h
<<_ACEOF
25931 #define HAVE___ACOSHIEEE128 1
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25940 $as_echo_n "checking for __acosieee128... " >&6; }
25941 if ${gcc_cv_math_func___acosieee128+:} false
; then :
25942 $as_echo_n "(cached) " >&6
25944 if test x
$gcc_no_link = xyes
; then
25945 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25950 _Float128 __acosieee128 (_Float128);
25951 _Float128 (*ptr)(_Float128) = __acosieee128;
25960 if ac_fn_c_try_link
"$LINENO"; then :
25961 gcc_cv_math_func___acosieee128
=yes
25963 gcc_cv_math_func___acosieee128
=no
25965 rm -f core conftest.err conftest.
$ac_objext \
25966 conftest
$ac_exeext conftest.
$ac_ext
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25969 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25970 if test $gcc_cv_math_func___acosieee128 = yes; then
25972 cat >>confdefs.h
<<_ACEOF
25973 #define HAVE___ACOSIEEE128 1
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25982 $as_echo_n "checking for __asinhieee128... " >&6; }
25983 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
25984 $as_echo_n "(cached) " >&6
25986 if test x
$gcc_no_link = xyes
; then
25987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25990 /* end confdefs.h. */
25992 _Float128 __asinhieee128 (_Float128);
25993 _Float128 (*ptr)(_Float128) = __asinhieee128;
26002 if ac_fn_c_try_link
"$LINENO"; then :
26003 gcc_cv_math_func___asinhieee128
=yes
26005 gcc_cv_math_func___asinhieee128
=no
26007 rm -f core conftest.err conftest.
$ac_objext \
26008 conftest
$ac_exeext conftest.
$ac_ext
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26011 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26012 if test $gcc_cv_math_func___asinhieee128 = yes; then
26014 cat >>confdefs.h
<<_ACEOF
26015 #define HAVE___ASINHIEEE128 1
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26024 $as_echo_n "checking for __asinieee128... " >&6; }
26025 if ${gcc_cv_math_func___asinieee128+:} false
; then :
26026 $as_echo_n "(cached) " >&6
26028 if test x
$gcc_no_link = xyes
; then
26029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26032 /* end confdefs.h. */
26034 _Float128 __asinieee128 (_Float128);
26035 _Float128 (*ptr)(_Float128) = __asinieee128;
26044 if ac_fn_c_try_link
"$LINENO"; then :
26045 gcc_cv_math_func___asinieee128
=yes
26047 gcc_cv_math_func___asinieee128
=no
26049 rm -f core conftest.err conftest.
$ac_objext \
26050 conftest
$ac_exeext conftest.
$ac_ext
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26053 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26054 if test $gcc_cv_math_func___asinieee128 = yes; then
26056 cat >>confdefs.h
<<_ACEOF
26057 #define HAVE___ASINIEEE128 1
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26066 $as_echo_n "checking for __atan2ieee128... " >&6; }
26067 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26068 $as_echo_n "(cached) " >&6
26070 if test x
$gcc_no_link = xyes
; then
26071 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h. */
26076 _Float128 __atan2ieee128 (_Float128);
26077 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26086 if ac_fn_c_try_link
"$LINENO"; then :
26087 gcc_cv_math_func___atan2ieee128
=yes
26089 gcc_cv_math_func___atan2ieee128
=no
26091 rm -f core conftest.err conftest.
$ac_objext \
26092 conftest
$ac_exeext conftest.
$ac_ext
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26095 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26096 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26098 cat >>confdefs.h
<<_ACEOF
26099 #define HAVE___ATAN2IEEE128 1
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26108 $as_echo_n "checking for __atanhieee128... " >&6; }
26109 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26110 $as_echo_n "(cached) " >&6
26112 if test x
$gcc_no_link = xyes
; then
26113 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h. */
26118 _Float128 __atanhieee128 (_Float128);
26119 _Float128 (*ptr)(_Float128) = __atanhieee128;
26128 if ac_fn_c_try_link
"$LINENO"; then :
26129 gcc_cv_math_func___atanhieee128
=yes
26131 gcc_cv_math_func___atanhieee128
=no
26133 rm -f core conftest.err conftest.
$ac_objext \
26134 conftest
$ac_exeext conftest.
$ac_ext
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26137 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26138 if test $gcc_cv_math_func___atanhieee128 = yes; then
26140 cat >>confdefs.h
<<_ACEOF
26141 #define HAVE___ATANHIEEE128 1
26149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26150 $as_echo_n "checking for __atanieee128... " >&6; }
26151 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26152 $as_echo_n "(cached) " >&6
26154 if test x
$gcc_no_link = xyes
; then
26155 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26158 /* end confdefs.h. */
26160 _Float128 __atanieee128 (_Float128);
26161 _Float128 (*ptr)(_Float128) = __atanieee128;
26170 if ac_fn_c_try_link
"$LINENO"; then :
26171 gcc_cv_math_func___atanieee128
=yes
26173 gcc_cv_math_func___atanieee128
=no
26175 rm -f core conftest.err conftest.
$ac_objext \
26176 conftest
$ac_exeext conftest.
$ac_ext
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26179 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26180 if test $gcc_cv_math_func___atanieee128 = yes; then
26182 cat >>confdefs.h
<<_ACEOF
26183 #define HAVE___ATANIEEE128 1
26191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26192 $as_echo_n "checking for __coshieee128... " >&6; }
26193 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26194 $as_echo_n "(cached) " >&6
26196 if test x
$gcc_no_link = xyes
; then
26197 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26200 /* end confdefs.h. */
26202 _Float128 __coshieee128 (_Float128);
26203 _Float128 (*ptr)(_Float128) = __coshieee128;
26212 if ac_fn_c_try_link
"$LINENO"; then :
26213 gcc_cv_math_func___coshieee128
=yes
26215 gcc_cv_math_func___coshieee128
=no
26217 rm -f core conftest.err conftest.
$ac_objext \
26218 conftest
$ac_exeext conftest.
$ac_ext
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26221 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26222 if test $gcc_cv_math_func___coshieee128 = yes; then
26224 cat >>confdefs.h
<<_ACEOF
26225 #define HAVE___COSHIEEE128 1
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26234 $as_echo_n "checking for __cosieee128... " >&6; }
26235 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26236 $as_echo_n "(cached) " >&6
26238 if test x
$gcc_no_link = xyes
; then
26239 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26244 _Float128 __cosieee128 (_Float128);
26245 _Float128 (*ptr)(_Float128) = __cosieee128;
26254 if ac_fn_c_try_link
"$LINENO"; then :
26255 gcc_cv_math_func___cosieee128
=yes
26257 gcc_cv_math_func___cosieee128
=no
26259 rm -f core conftest.err conftest.
$ac_objext \
26260 conftest
$ac_exeext conftest.
$ac_ext
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26263 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26264 if test $gcc_cv_math_func___cosieee128 = yes; then
26266 cat >>confdefs.h
<<_ACEOF
26267 #define HAVE___COSIEEE128 1
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26276 $as_echo_n "checking for __erfieee128... " >&6; }
26277 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26278 $as_echo_n "(cached) " >&6
26280 if test x
$gcc_no_link = xyes
; then
26281 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26284 /* end confdefs.h. */
26286 _Float128 __erfieee128 (_Float128);
26287 _Float128 (*ptr)(_Float128) = __erfieee128;
26296 if ac_fn_c_try_link
"$LINENO"; then :
26297 gcc_cv_math_func___erfieee128
=yes
26299 gcc_cv_math_func___erfieee128
=no
26301 rm -f core conftest.err conftest.
$ac_objext \
26302 conftest
$ac_exeext conftest.
$ac_ext
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26305 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26306 if test $gcc_cv_math_func___erfieee128 = yes; then
26308 cat >>confdefs.h
<<_ACEOF
26309 #define HAVE___ERFIEEE128 1
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26318 $as_echo_n "checking for __expieee128... " >&6; }
26319 if ${gcc_cv_math_func___expieee128+:} false
; then :
26320 $as_echo_n "(cached) " >&6
26322 if test x
$gcc_no_link = xyes
; then
26323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26326 /* end confdefs.h. */
26328 _Float128 __expieee128 (_Float128);
26329 _Float128 (*ptr)(_Float128) = __expieee128;
26338 if ac_fn_c_try_link
"$LINENO"; then :
26339 gcc_cv_math_func___expieee128
=yes
26341 gcc_cv_math_func___expieee128
=no
26343 rm -f core conftest.err conftest.
$ac_objext \
26344 conftest
$ac_exeext conftest.
$ac_ext
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26347 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26348 if test $gcc_cv_math_func___expieee128 = yes; then
26350 cat >>confdefs.h
<<_ACEOF
26351 #define HAVE___EXPIEEE128 1
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26360 $as_echo_n "checking for __fabsieee128... " >&6; }
26361 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26362 $as_echo_n "(cached) " >&6
26364 if test x
$gcc_no_link = xyes
; then
26365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26368 /* end confdefs.h. */
26370 _Float128 __fabsieee128 (_Float128);
26371 _Float128 (*ptr)(_Float128) = __fabsieee128;
26380 if ac_fn_c_try_link
"$LINENO"; then :
26381 gcc_cv_math_func___fabsieee128
=yes
26383 gcc_cv_math_func___fabsieee128
=no
26385 rm -f core conftest.err conftest.
$ac_objext \
26386 conftest
$ac_exeext conftest.
$ac_ext
26388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26389 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26390 if test $gcc_cv_math_func___fabsieee128 = yes; then
26392 cat >>confdefs.h
<<_ACEOF
26393 #define HAVE___FABSIEEE128 1
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26402 $as_echo_n "checking for __jnieee128... " >&6; }
26403 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26404 $as_echo_n "(cached) " >&6
26406 if test x
$gcc_no_link = xyes
; then
26407 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26410 /* end confdefs.h. */
26412 _Float128 __jnieee128 (_Float128);
26413 _Float128 (*ptr)(_Float128) = __jnieee128;
26422 if ac_fn_c_try_link
"$LINENO"; then :
26423 gcc_cv_math_func___jnieee128
=yes
26425 gcc_cv_math_func___jnieee128
=no
26427 rm -f core conftest.err conftest.
$ac_objext \
26428 conftest
$ac_exeext conftest.
$ac_ext
26430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26431 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26432 if test $gcc_cv_math_func___jnieee128 = yes; then
26434 cat >>confdefs.h
<<_ACEOF
26435 #define HAVE___JNIEEE128 1
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26444 $as_echo_n "checking for __log10ieee128... " >&6; }
26445 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26446 $as_echo_n "(cached) " >&6
26448 if test x
$gcc_no_link = xyes
; then
26449 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26452 /* end confdefs.h. */
26454 _Float128 __log10ieee128 (_Float128);
26455 _Float128 (*ptr)(_Float128) = __log10ieee128;
26464 if ac_fn_c_try_link
"$LINENO"; then :
26465 gcc_cv_math_func___log10ieee128
=yes
26467 gcc_cv_math_func___log10ieee128
=no
26469 rm -f core conftest.err conftest.
$ac_objext \
26470 conftest
$ac_exeext conftest.
$ac_ext
26472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26473 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26474 if test $gcc_cv_math_func___log10ieee128 = yes; then
26476 cat >>confdefs.h
<<_ACEOF
26477 #define HAVE___LOG10IEEE128 1
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26486 $as_echo_n "checking for __logieee128... " >&6; }
26487 if ${gcc_cv_math_func___logieee128+:} false
; then :
26488 $as_echo_n "(cached) " >&6
26490 if test x
$gcc_no_link = xyes
; then
26491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26494 /* end confdefs.h. */
26496 _Float128 __logieee128 (_Float128);
26497 _Float128 (*ptr)(_Float128) = __logieee128;
26506 if ac_fn_c_try_link
"$LINENO"; then :
26507 gcc_cv_math_func___logieee128
=yes
26509 gcc_cv_math_func___logieee128
=no
26511 rm -f core conftest.err conftest.
$ac_objext \
26512 conftest
$ac_exeext conftest.
$ac_ext
26514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26515 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26516 if test $gcc_cv_math_func___logieee128 = yes; then
26518 cat >>confdefs.h
<<_ACEOF
26519 #define HAVE___LOGIEEE128 1
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26528 $as_echo_n "checking for __powieee128... " >&6; }
26529 if ${gcc_cv_math_func___powieee128+:} false
; then :
26530 $as_echo_n "(cached) " >&6
26532 if test x
$gcc_no_link = xyes
; then
26533 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26536 /* end confdefs.h. */
26538 _Float128 __powieee128 (_Float128);
26539 _Float128 (*ptr)(_Float128) = __powieee128;
26548 if ac_fn_c_try_link
"$LINENO"; then :
26549 gcc_cv_math_func___powieee128
=yes
26551 gcc_cv_math_func___powieee128
=no
26553 rm -f core conftest.err conftest.
$ac_objext \
26554 conftest
$ac_exeext conftest.
$ac_ext
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26557 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26558 if test $gcc_cv_math_func___powieee128 = yes; then
26560 cat >>confdefs.h
<<_ACEOF
26561 #define HAVE___POWIEEE128 1
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26570 $as_echo_n "checking for __sinhieee128... " >&6; }
26571 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26572 $as_echo_n "(cached) " >&6
26574 if test x
$gcc_no_link = xyes
; then
26575 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26578 /* end confdefs.h. */
26580 _Float128 __sinhieee128 (_Float128);
26581 _Float128 (*ptr)(_Float128) = __sinhieee128;
26590 if ac_fn_c_try_link
"$LINENO"; then :
26591 gcc_cv_math_func___sinhieee128
=yes
26593 gcc_cv_math_func___sinhieee128
=no
26595 rm -f core conftest.err conftest.
$ac_objext \
26596 conftest
$ac_exeext conftest.
$ac_ext
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26599 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26600 if test $gcc_cv_math_func___sinhieee128 = yes; then
26602 cat >>confdefs.h
<<_ACEOF
26603 #define HAVE___SINHIEEE128 1
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26612 $as_echo_n "checking for __sinieee128... " >&6; }
26613 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26614 $as_echo_n "(cached) " >&6
26616 if test x
$gcc_no_link = xyes
; then
26617 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26620 /* end confdefs.h. */
26622 _Float128 __sinieee128 (_Float128);
26623 _Float128 (*ptr)(_Float128) = __sinieee128;
26632 if ac_fn_c_try_link
"$LINENO"; then :
26633 gcc_cv_math_func___sinieee128
=yes
26635 gcc_cv_math_func___sinieee128
=no
26637 rm -f core conftest.err conftest.
$ac_objext \
26638 conftest
$ac_exeext conftest.
$ac_ext
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26641 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26642 if test $gcc_cv_math_func___sinieee128 = yes; then
26644 cat >>confdefs.h
<<_ACEOF
26645 #define HAVE___SINIEEE128 1
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26654 $as_echo_n "checking for __sqrtieee128... " >&6; }
26655 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26656 $as_echo_n "(cached) " >&6
26658 if test x
$gcc_no_link = xyes
; then
26659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26662 /* end confdefs.h. */
26664 _Float128 __sqrtieee128 (_Float128);
26665 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26674 if ac_fn_c_try_link
"$LINENO"; then :
26675 gcc_cv_math_func___sqrtieee128
=yes
26677 gcc_cv_math_func___sqrtieee128
=no
26679 rm -f core conftest.err conftest.
$ac_objext \
26680 conftest
$ac_exeext conftest.
$ac_ext
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26683 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26684 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26686 cat >>confdefs.h
<<_ACEOF
26687 #define HAVE___SQRTIEEE128 1
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26696 $as_echo_n "checking for __tanhieee128... " >&6; }
26697 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26698 $as_echo_n "(cached) " >&6
26700 if test x
$gcc_no_link = xyes
; then
26701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26704 /* end confdefs.h. */
26706 _Float128 __tanhieee128 (_Float128);
26707 _Float128 (*ptr)(_Float128) = __tanhieee128;
26716 if ac_fn_c_try_link
"$LINENO"; then :
26717 gcc_cv_math_func___tanhieee128
=yes
26719 gcc_cv_math_func___tanhieee128
=no
26721 rm -f core conftest.err conftest.
$ac_objext \
26722 conftest
$ac_exeext conftest.
$ac_ext
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26725 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26726 if test $gcc_cv_math_func___tanhieee128 = yes; then
26728 cat >>confdefs.h
<<_ACEOF
26729 #define HAVE___TANHIEEE128 1
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26738 $as_echo_n "checking for __tanieee128... " >&6; }
26739 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26740 $as_echo_n "(cached) " >&6
26742 if test x
$gcc_no_link = xyes
; then
26743 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26746 /* end confdefs.h. */
26748 _Float128 __tanieee128 (_Float128);
26749 _Float128 (*ptr)(_Float128) = __tanieee128;
26758 if ac_fn_c_try_link
"$LINENO"; then :
26759 gcc_cv_math_func___tanieee128
=yes
26761 gcc_cv_math_func___tanieee128
=no
26763 rm -f core conftest.err conftest.
$ac_objext \
26764 conftest
$ac_exeext conftest.
$ac_ext
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26767 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26768 if test $gcc_cv_math_func___tanieee128 = yes; then
26770 cat >>confdefs.h
<<_ACEOF
26771 #define HAVE___TANIEEE128 1
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26780 $as_echo_n "checking for __ynieee128... " >&6; }
26781 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26782 $as_echo_n "(cached) " >&6
26784 if test x
$gcc_no_link = xyes
; then
26785 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26788 /* end confdefs.h. */
26790 _Float128 __ynieee128 (_Float128);
26791 _Float128 (*ptr)(_Float128) = __ynieee128;
26800 if ac_fn_c_try_link
"$LINENO"; then :
26801 gcc_cv_math_func___ynieee128
=yes
26803 gcc_cv_math_func___ynieee128
=no
26805 rm -f core conftest.err conftest.
$ac_objext \
26806 conftest
$ac_exeext conftest.
$ac_ext
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26809 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26810 if test $gcc_cv_math_func___ynieee128 = yes; then
26812 cat >>confdefs.h
<<_ACEOF
26813 #define HAVE___YNIEEE128 1
26820 # On AIX, clog is present in libm as __clog
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26822 $as_echo_n "checking for __clog in -lm... " >&6; }
26823 if ${ac_cv_lib_m___clog+:} false
; then :
26824 $as_echo_n "(cached) " >&6
26826 ac_check_lib_save_LIBS
=$LIBS
26828 if test x
$gcc_no_link = xyes
; then
26829 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26832 /* end confdefs.h. */
26834 /* Override any GCC internal prototype to avoid an error.
26835 Use char because int might match the return type of a GCC
26836 builtin and then its argument prototype would still apply. */
26849 if ac_fn_c_try_link
"$LINENO"; then :
26850 ac_cv_lib_m___clog
=yes
26852 ac_cv_lib_m___clog
=no
26854 rm -f core conftest.err conftest.
$ac_objext \
26855 conftest
$ac_exeext conftest.
$ac_ext
26856 LIBS
=$ac_check_lib_save_LIBS
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26859 $as_echo "$ac_cv_lib_m___clog" >&6; }
26860 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26862 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26869 if test $gcc_cv_math_func_copysign = no
; then
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26871 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26872 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26873 $as_echo_n "(cached) " >&6
26875 if test x
$gcc_no_link = xyes
; then
26876 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h. */
26882 copysign_fallback (double x, double y)
26884 return __builtin_copysign (x, y);
26894 if ac_fn_c_try_link
"$LINENO"; then :
26895 gcc_cv_math_inline_builtin_copysign
=yes
26897 gcc_cv_math_inline_builtin_copysign
=no
26899 rm -f core conftest.err conftest.
$ac_objext \
26900 conftest
$ac_exeext conftest.
$ac_ext
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26903 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26904 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26906 cat >>confdefs.h
<<_ACEOF
26907 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26914 if test $gcc_cv_math_func_copysignl = no
; then
26915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26916 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26917 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
26918 $as_echo_n "(cached) " >&6
26920 if test x
$gcc_no_link = xyes
; then
26921 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26924 /* end confdefs.h. */
26927 copysignl_fallback (long double x, long double y)
26929 return __builtin_copysignl (x, y);
26939 if ac_fn_c_try_link
"$LINENO"; then :
26940 gcc_cv_math_inline_builtin_copysignl
=yes
26942 gcc_cv_math_inline_builtin_copysignl
=no
26944 rm -f core conftest.err conftest.
$ac_objext \
26945 conftest
$ac_exeext conftest.
$ac_ext
26947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26948 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26949 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26951 cat >>confdefs.h
<<_ACEOF
26952 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26959 if test $gcc_cv_math_func_fabs = no
; then
26960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26961 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26962 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
26963 $as_echo_n "(cached) " >&6
26965 if test x
$gcc_no_link = xyes
; then
26966 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26969 /* end confdefs.h. */
26972 fabs_fallback (double x)
26974 return __builtin_fabs (x);
26984 if ac_fn_c_try_link
"$LINENO"; then :
26985 gcc_cv_math_inline_builtin_fabs
=yes
26987 gcc_cv_math_inline_builtin_fabs
=no
26989 rm -f core conftest.err conftest.
$ac_objext \
26990 conftest
$ac_exeext conftest.
$ac_ext
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26993 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26994 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26996 cat >>confdefs.h
<<_ACEOF
26997 #define HAVE_INLINE_BUILTIN_FABS 1
27004 if test $gcc_cv_math_func_fabsl = no
; then
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27006 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27007 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
27008 $as_echo_n "(cached) " >&6
27010 if test x
$gcc_no_link = xyes
; then
27011 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27014 /* end confdefs.h. */
27017 fabsl_fallback (long double x)
27019 return __builtin_fabsl (x);
27029 if ac_fn_c_try_link
"$LINENO"; then :
27030 gcc_cv_math_inline_builtin_fabsl
=yes
27032 gcc_cv_math_inline_builtin_fabsl
=no
27034 rm -f core conftest.err conftest.
$ac_objext \
27035 conftest
$ac_exeext conftest.
$ac_ext
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27038 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27039 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27041 cat >>confdefs.h
<<_ACEOF
27042 #define HAVE_INLINE_BUILTIN_FABSL 1
27051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27052 $as_echo_n "checking for acosf128... " >&6; }
27053 if ${gcc_cv_math_func_acosf128+:} false
; then :
27054 $as_echo_n "(cached) " >&6
27056 if test x
$gcc_no_link = xyes
; then
27057 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27060 /* end confdefs.h. */
27062 #ifdef HAVE_COMPLEX_H
27063 #include <complex.h>
27069 int (*ptr)() = (int (*)())acosf128;
27078 if ac_fn_c_try_link
"$LINENO"; then :
27079 gcc_cv_math_func_acosf128
=yes
27081 gcc_cv_math_func_acosf128
=no
27083 rm -f core conftest.err conftest.
$ac_objext \
27084 conftest
$ac_exeext conftest.
$ac_ext
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27087 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27088 if test $gcc_cv_math_func_acosf128 = yes; then
27090 cat >>confdefs.h
<<_ACEOF
27091 #define HAVE_ACOSF128 1
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27100 $as_echo_n "checking for acoshf128... " >&6; }
27101 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27102 $as_echo_n "(cached) " >&6
27104 if test x
$gcc_no_link = xyes
; then
27105 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27108 /* end confdefs.h. */
27110 #ifdef HAVE_COMPLEX_H
27111 #include <complex.h>
27117 int (*ptr)() = (int (*)())acoshf128;
27126 if ac_fn_c_try_link
"$LINENO"; then :
27127 gcc_cv_math_func_acoshf128
=yes
27129 gcc_cv_math_func_acoshf128
=no
27131 rm -f core conftest.err conftest.
$ac_objext \
27132 conftest
$ac_exeext conftest.
$ac_ext
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27135 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27136 if test $gcc_cv_math_func_acoshf128 = yes; then
27138 cat >>confdefs.h
<<_ACEOF
27139 #define HAVE_ACOSHF128 1
27147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27148 $as_echo_n "checking for asinf128... " >&6; }
27149 if ${gcc_cv_math_func_asinf128+:} false
; then :
27150 $as_echo_n "(cached) " >&6
27152 if test x
$gcc_no_link = xyes
; then
27153 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27156 /* end confdefs.h. */
27158 #ifdef HAVE_COMPLEX_H
27159 #include <complex.h>
27165 int (*ptr)() = (int (*)())asinf128;
27174 if ac_fn_c_try_link
"$LINENO"; then :
27175 gcc_cv_math_func_asinf128
=yes
27177 gcc_cv_math_func_asinf128
=no
27179 rm -f core conftest.err conftest.
$ac_objext \
27180 conftest
$ac_exeext conftest.
$ac_ext
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27183 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27184 if test $gcc_cv_math_func_asinf128 = yes; then
27186 cat >>confdefs.h
<<_ACEOF
27187 #define HAVE_ASINF128 1
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27196 $as_echo_n "checking for asinhf128... " >&6; }
27197 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27198 $as_echo_n "(cached) " >&6
27200 if test x
$gcc_no_link = xyes
; then
27201 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27204 /* end confdefs.h. */
27206 #ifdef HAVE_COMPLEX_H
27207 #include <complex.h>
27213 int (*ptr)() = (int (*)())asinhf128;
27222 if ac_fn_c_try_link
"$LINENO"; then :
27223 gcc_cv_math_func_asinhf128
=yes
27225 gcc_cv_math_func_asinhf128
=no
27227 rm -f core conftest.err conftest.
$ac_objext \
27228 conftest
$ac_exeext conftest.
$ac_ext
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27231 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27232 if test $gcc_cv_math_func_asinhf128 = yes; then
27234 cat >>confdefs.h
<<_ACEOF
27235 #define HAVE_ASINHF128 1
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27244 $as_echo_n "checking for atan2f128... " >&6; }
27245 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27246 $as_echo_n "(cached) " >&6
27248 if test x
$gcc_no_link = xyes
; then
27249 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27254 #ifdef HAVE_COMPLEX_H
27255 #include <complex.h>
27261 int (*ptr)() = (int (*)())atan2f128;
27270 if ac_fn_c_try_link
"$LINENO"; then :
27271 gcc_cv_math_func_atan2f128
=yes
27273 gcc_cv_math_func_atan2f128
=no
27275 rm -f core conftest.err conftest.
$ac_objext \
27276 conftest
$ac_exeext conftest.
$ac_ext
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27279 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27280 if test $gcc_cv_math_func_atan2f128 = yes; then
27282 cat >>confdefs.h
<<_ACEOF
27283 #define HAVE_ATAN2F128 1
27291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27292 $as_echo_n "checking for atanf128... " >&6; }
27293 if ${gcc_cv_math_func_atanf128+:} false
; then :
27294 $as_echo_n "(cached) " >&6
27296 if test x
$gcc_no_link = xyes
; then
27297 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27300 /* end confdefs.h. */
27302 #ifdef HAVE_COMPLEX_H
27303 #include <complex.h>
27309 int (*ptr)() = (int (*)())atanf128;
27318 if ac_fn_c_try_link
"$LINENO"; then :
27319 gcc_cv_math_func_atanf128
=yes
27321 gcc_cv_math_func_atanf128
=no
27323 rm -f core conftest.err conftest.
$ac_objext \
27324 conftest
$ac_exeext conftest.
$ac_ext
27326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27327 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27328 if test $gcc_cv_math_func_atanf128 = yes; then
27330 cat >>confdefs.h
<<_ACEOF
27331 #define HAVE_ATANF128 1
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27340 $as_echo_n "checking for atanhf128... " >&6; }
27341 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27342 $as_echo_n "(cached) " >&6
27344 if test x
$gcc_no_link = xyes
; then
27345 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27348 /* end confdefs.h. */
27350 #ifdef HAVE_COMPLEX_H
27351 #include <complex.h>
27357 int (*ptr)() = (int (*)())atanhf128;
27366 if ac_fn_c_try_link
"$LINENO"; then :
27367 gcc_cv_math_func_atanhf128
=yes
27369 gcc_cv_math_func_atanhf128
=no
27371 rm -f core conftest.err conftest.
$ac_objext \
27372 conftest
$ac_exeext conftest.
$ac_ext
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27375 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27376 if test $gcc_cv_math_func_atanhf128 = yes; then
27378 cat >>confdefs.h
<<_ACEOF
27379 #define HAVE_ATANHF128 1
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27388 $as_echo_n "checking for cargf128... " >&6; }
27389 if ${gcc_cv_math_func_cargf128+:} false
; then :
27390 $as_echo_n "(cached) " >&6
27392 if test x
$gcc_no_link = xyes
; then
27393 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27396 /* end confdefs.h. */
27398 #ifdef HAVE_COMPLEX_H
27399 #include <complex.h>
27405 int (*ptr)() = (int (*)())cargf128;
27414 if ac_fn_c_try_link
"$LINENO"; then :
27415 gcc_cv_math_func_cargf128
=yes
27417 gcc_cv_math_func_cargf128
=no
27419 rm -f core conftest.err conftest.
$ac_objext \
27420 conftest
$ac_exeext conftest.
$ac_ext
27422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27423 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27424 if test $gcc_cv_math_func_cargf128 = yes; then
27426 cat >>confdefs.h
<<_ACEOF
27427 #define HAVE_CARGF128 1
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27436 $as_echo_n "checking for ceilf128... " >&6; }
27437 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27438 $as_echo_n "(cached) " >&6
27440 if test x
$gcc_no_link = xyes
; then
27441 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27444 /* end confdefs.h. */
27446 #ifdef HAVE_COMPLEX_H
27447 #include <complex.h>
27453 int (*ptr)() = (int (*)())ceilf128;
27462 if ac_fn_c_try_link
"$LINENO"; then :
27463 gcc_cv_math_func_ceilf128
=yes
27465 gcc_cv_math_func_ceilf128
=no
27467 rm -f core conftest.err conftest.
$ac_objext \
27468 conftest
$ac_exeext conftest.
$ac_ext
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27471 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27472 if test $gcc_cv_math_func_ceilf128 = yes; then
27474 cat >>confdefs.h
<<_ACEOF
27475 #define HAVE_CEILF128 1
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27484 $as_echo_n "checking for copysignf128... " >&6; }
27485 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27486 $as_echo_n "(cached) " >&6
27488 if test x
$gcc_no_link = xyes
; then
27489 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27492 /* end confdefs.h. */
27494 #ifdef HAVE_COMPLEX_H
27495 #include <complex.h>
27501 int (*ptr)() = (int (*)())copysignf128;
27510 if ac_fn_c_try_link
"$LINENO"; then :
27511 gcc_cv_math_func_copysignf128
=yes
27513 gcc_cv_math_func_copysignf128
=no
27515 rm -f core conftest.err conftest.
$ac_objext \
27516 conftest
$ac_exeext conftest.
$ac_ext
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27519 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27520 if test $gcc_cv_math_func_copysignf128 = yes; then
27522 cat >>confdefs.h
<<_ACEOF
27523 #define HAVE_COPYSIGNF128 1
27531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27532 $as_echo_n "checking for cosf128... " >&6; }
27533 if ${gcc_cv_math_func_cosf128+:} false
; then :
27534 $as_echo_n "(cached) " >&6
27536 if test x
$gcc_no_link = xyes
; then
27537 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27540 /* end confdefs.h. */
27542 #ifdef HAVE_COMPLEX_H
27543 #include <complex.h>
27549 int (*ptr)() = (int (*)())cosf128;
27558 if ac_fn_c_try_link
"$LINENO"; then :
27559 gcc_cv_math_func_cosf128
=yes
27561 gcc_cv_math_func_cosf128
=no
27563 rm -f core conftest.err conftest.
$ac_objext \
27564 conftest
$ac_exeext conftest.
$ac_ext
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27567 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27568 if test $gcc_cv_math_func_cosf128 = yes; then
27570 cat >>confdefs.h
<<_ACEOF
27571 #define HAVE_COSF128 1
27579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27580 $as_echo_n "checking for ccosf128... " >&6; }
27581 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27582 $as_echo_n "(cached) " >&6
27584 if test x
$gcc_no_link = xyes
; then
27585 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27588 /* end confdefs.h. */
27590 #ifdef HAVE_COMPLEX_H
27591 #include <complex.h>
27597 int (*ptr)() = (int (*)())ccosf128;
27606 if ac_fn_c_try_link
"$LINENO"; then :
27607 gcc_cv_math_func_ccosf128
=yes
27609 gcc_cv_math_func_ccosf128
=no
27611 rm -f core conftest.err conftest.
$ac_objext \
27612 conftest
$ac_exeext conftest.
$ac_ext
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27615 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27616 if test $gcc_cv_math_func_ccosf128 = yes; then
27618 cat >>confdefs.h
<<_ACEOF
27619 #define HAVE_CCOSF128 1
27627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27628 $as_echo_n "checking for coshf128... " >&6; }
27629 if ${gcc_cv_math_func_coshf128+:} false
; then :
27630 $as_echo_n "(cached) " >&6
27632 if test x
$gcc_no_link = xyes
; then
27633 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27636 /* end confdefs.h. */
27638 #ifdef HAVE_COMPLEX_H
27639 #include <complex.h>
27645 int (*ptr)() = (int (*)())coshf128;
27654 if ac_fn_c_try_link
"$LINENO"; then :
27655 gcc_cv_math_func_coshf128
=yes
27657 gcc_cv_math_func_coshf128
=no
27659 rm -f core conftest.err conftest.
$ac_objext \
27660 conftest
$ac_exeext conftest.
$ac_ext
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27663 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27664 if test $gcc_cv_math_func_coshf128 = yes; then
27666 cat >>confdefs.h
<<_ACEOF
27667 #define HAVE_COSHF128 1
27675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27676 $as_echo_n "checking for ccoshf128... " >&6; }
27677 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27678 $as_echo_n "(cached) " >&6
27680 if test x
$gcc_no_link = xyes
; then
27681 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27684 /* end confdefs.h. */
27686 #ifdef HAVE_COMPLEX_H
27687 #include <complex.h>
27693 int (*ptr)() = (int (*)())ccoshf128;
27702 if ac_fn_c_try_link
"$LINENO"; then :
27703 gcc_cv_math_func_ccoshf128
=yes
27705 gcc_cv_math_func_ccoshf128
=no
27707 rm -f core conftest.err conftest.
$ac_objext \
27708 conftest
$ac_exeext conftest.
$ac_ext
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27711 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27712 if test $gcc_cv_math_func_ccoshf128 = yes; then
27714 cat >>confdefs.h
<<_ACEOF
27715 #define HAVE_CCOSHF128 1
27723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27724 $as_echo_n "checking for expf128... " >&6; }
27725 if ${gcc_cv_math_func_expf128+:} false
; then :
27726 $as_echo_n "(cached) " >&6
27728 if test x
$gcc_no_link = xyes
; then
27729 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27732 /* end confdefs.h. */
27734 #ifdef HAVE_COMPLEX_H
27735 #include <complex.h>
27741 int (*ptr)() = (int (*)())expf128;
27750 if ac_fn_c_try_link
"$LINENO"; then :
27751 gcc_cv_math_func_expf128
=yes
27753 gcc_cv_math_func_expf128
=no
27755 rm -f core conftest.err conftest.
$ac_objext \
27756 conftest
$ac_exeext conftest.
$ac_ext
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27759 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27760 if test $gcc_cv_math_func_expf128 = yes; then
27762 cat >>confdefs.h
<<_ACEOF
27763 #define HAVE_EXPF128 1
27771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27772 $as_echo_n "checking for cexpf128... " >&6; }
27773 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27774 $as_echo_n "(cached) " >&6
27776 if test x
$gcc_no_link = xyes
; then
27777 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27780 /* end confdefs.h. */
27782 #ifdef HAVE_COMPLEX_H
27783 #include <complex.h>
27789 int (*ptr)() = (int (*)())cexpf128;
27798 if ac_fn_c_try_link
"$LINENO"; then :
27799 gcc_cv_math_func_cexpf128
=yes
27801 gcc_cv_math_func_cexpf128
=no
27803 rm -f core conftest.err conftest.
$ac_objext \
27804 conftest
$ac_exeext conftest.
$ac_ext
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27807 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27808 if test $gcc_cv_math_func_cexpf128 = yes; then
27810 cat >>confdefs.h
<<_ACEOF
27811 #define HAVE_CEXPF128 1
27819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27820 $as_echo_n "checking for fabsf128... " >&6; }
27821 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27822 $as_echo_n "(cached) " >&6
27824 if test x
$gcc_no_link = xyes
; then
27825 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27828 /* end confdefs.h. */
27830 #ifdef HAVE_COMPLEX_H
27831 #include <complex.h>
27837 int (*ptr)() = (int (*)())fabsf128;
27846 if ac_fn_c_try_link
"$LINENO"; then :
27847 gcc_cv_math_func_fabsf128
=yes
27849 gcc_cv_math_func_fabsf128
=no
27851 rm -f core conftest.err conftest.
$ac_objext \
27852 conftest
$ac_exeext conftest.
$ac_ext
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27855 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27856 if test $gcc_cv_math_func_fabsf128 = yes; then
27858 cat >>confdefs.h
<<_ACEOF
27859 #define HAVE_FABSF128 1
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27868 $as_echo_n "checking for cabsf128... " >&6; }
27869 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27870 $as_echo_n "(cached) " >&6
27872 if test x
$gcc_no_link = xyes
; then
27873 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27876 /* end confdefs.h. */
27878 #ifdef HAVE_COMPLEX_H
27879 #include <complex.h>
27885 int (*ptr)() = (int (*)())cabsf128;
27894 if ac_fn_c_try_link
"$LINENO"; then :
27895 gcc_cv_math_func_cabsf128
=yes
27897 gcc_cv_math_func_cabsf128
=no
27899 rm -f core conftest.err conftest.
$ac_objext \
27900 conftest
$ac_exeext conftest.
$ac_ext
27902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27903 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27904 if test $gcc_cv_math_func_cabsf128 = yes; then
27906 cat >>confdefs.h
<<_ACEOF
27907 #define HAVE_CABSF128 1
27915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27916 $as_echo_n "checking for floorf128... " >&6; }
27917 if ${gcc_cv_math_func_floorf128+:} false
; then :
27918 $as_echo_n "(cached) " >&6
27920 if test x
$gcc_no_link = xyes
; then
27921 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27924 /* end confdefs.h. */
27926 #ifdef HAVE_COMPLEX_H
27927 #include <complex.h>
27933 int (*ptr)() = (int (*)())floorf128;
27942 if ac_fn_c_try_link
"$LINENO"; then :
27943 gcc_cv_math_func_floorf128
=yes
27945 gcc_cv_math_func_floorf128
=no
27947 rm -f core conftest.err conftest.
$ac_objext \
27948 conftest
$ac_exeext conftest.
$ac_ext
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27951 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27952 if test $gcc_cv_math_func_floorf128 = yes; then
27954 cat >>confdefs.h
<<_ACEOF
27955 #define HAVE_FLOORF128 1
27963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27964 $as_echo_n "checking for fmaf128... " >&6; }
27965 if ${gcc_cv_math_func_fmaf128+:} false
; then :
27966 $as_echo_n "(cached) " >&6
27968 if test x
$gcc_no_link = xyes
; then
27969 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27972 /* end confdefs.h. */
27974 #ifdef HAVE_COMPLEX_H
27975 #include <complex.h>
27981 int (*ptr)() = (int (*)())fmaf128;
27990 if ac_fn_c_try_link
"$LINENO"; then :
27991 gcc_cv_math_func_fmaf128
=yes
27993 gcc_cv_math_func_fmaf128
=no
27995 rm -f core conftest.err conftest.
$ac_objext \
27996 conftest
$ac_exeext conftest.
$ac_ext
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27999 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28000 if test $gcc_cv_math_func_fmaf128 = yes; then
28002 cat >>confdefs.h
<<_ACEOF
28003 #define HAVE_FMAF128 1
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28012 $as_echo_n "checking for fmodf128... " >&6; }
28013 if ${gcc_cv_math_func_fmodf128+:} false
; then :
28014 $as_echo_n "(cached) " >&6
28016 if test x
$gcc_no_link = xyes
; then
28017 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28020 /* end confdefs.h. */
28022 #ifdef HAVE_COMPLEX_H
28023 #include <complex.h>
28029 int (*ptr)() = (int (*)())fmodf128;
28038 if ac_fn_c_try_link
"$LINENO"; then :
28039 gcc_cv_math_func_fmodf128
=yes
28041 gcc_cv_math_func_fmodf128
=no
28043 rm -f core conftest.err conftest.
$ac_objext \
28044 conftest
$ac_exeext conftest.
$ac_ext
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28047 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28048 if test $gcc_cv_math_func_fmodf128 = yes; then
28050 cat >>confdefs.h
<<_ACEOF
28051 #define HAVE_FMODF128 1
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28060 $as_echo_n "checking for frexpf128... " >&6; }
28061 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28062 $as_echo_n "(cached) " >&6
28064 if test x
$gcc_no_link = xyes
; then
28065 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28068 /* end confdefs.h. */
28070 #ifdef HAVE_COMPLEX_H
28071 #include <complex.h>
28077 int (*ptr)() = (int (*)())frexpf128;
28086 if ac_fn_c_try_link
"$LINENO"; then :
28087 gcc_cv_math_func_frexpf128
=yes
28089 gcc_cv_math_func_frexpf128
=no
28091 rm -f core conftest.err conftest.
$ac_objext \
28092 conftest
$ac_exeext conftest.
$ac_ext
28094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28095 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28096 if test $gcc_cv_math_func_frexpf128 = yes; then
28098 cat >>confdefs.h
<<_ACEOF
28099 #define HAVE_FREXPF128 1
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28108 $as_echo_n "checking for hypotf128... " >&6; }
28109 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28110 $as_echo_n "(cached) " >&6
28112 if test x
$gcc_no_link = xyes
; then
28113 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28116 /* end confdefs.h. */
28118 #ifdef HAVE_COMPLEX_H
28119 #include <complex.h>
28125 int (*ptr)() = (int (*)())hypotf128;
28134 if ac_fn_c_try_link
"$LINENO"; then :
28135 gcc_cv_math_func_hypotf128
=yes
28137 gcc_cv_math_func_hypotf128
=no
28139 rm -f core conftest.err conftest.
$ac_objext \
28140 conftest
$ac_exeext conftest.
$ac_ext
28142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28143 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28144 if test $gcc_cv_math_func_hypotf128 = yes; then
28146 cat >>confdefs.h
<<_ACEOF
28147 #define HAVE_HYPOTF128 1
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28156 $as_echo_n "checking for ldexpf128... " >&6; }
28157 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28158 $as_echo_n "(cached) " >&6
28160 if test x
$gcc_no_link = xyes
; then
28161 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h. */
28166 #ifdef HAVE_COMPLEX_H
28167 #include <complex.h>
28173 int (*ptr)() = (int (*)())ldexpf128;
28182 if ac_fn_c_try_link
"$LINENO"; then :
28183 gcc_cv_math_func_ldexpf128
=yes
28185 gcc_cv_math_func_ldexpf128
=no
28187 rm -f core conftest.err conftest.
$ac_objext \
28188 conftest
$ac_exeext conftest.
$ac_ext
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28191 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28192 if test $gcc_cv_math_func_ldexpf128 = yes; then
28194 cat >>confdefs.h
<<_ACEOF
28195 #define HAVE_LDEXPF128 1
28203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28204 $as_echo_n "checking for logf128... " >&6; }
28205 if ${gcc_cv_math_func_logf128+:} false
; then :
28206 $as_echo_n "(cached) " >&6
28208 if test x
$gcc_no_link = xyes
; then
28209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28212 /* end confdefs.h. */
28214 #ifdef HAVE_COMPLEX_H
28215 #include <complex.h>
28221 int (*ptr)() = (int (*)())logf128;
28230 if ac_fn_c_try_link
"$LINENO"; then :
28231 gcc_cv_math_func_logf128
=yes
28233 gcc_cv_math_func_logf128
=no
28235 rm -f core conftest.err conftest.
$ac_objext \
28236 conftest
$ac_exeext conftest.
$ac_ext
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28239 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28240 if test $gcc_cv_math_func_logf128 = yes; then
28242 cat >>confdefs.h
<<_ACEOF
28243 #define HAVE_LOGF128 1
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28252 $as_echo_n "checking for clogf128... " >&6; }
28253 if ${gcc_cv_math_func_clogf128+:} false
; then :
28254 $as_echo_n "(cached) " >&6
28256 if test x
$gcc_no_link = xyes
; then
28257 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28260 /* end confdefs.h. */
28262 #ifdef HAVE_COMPLEX_H
28263 #include <complex.h>
28269 int (*ptr)() = (int (*)())clogf128;
28278 if ac_fn_c_try_link
"$LINENO"; then :
28279 gcc_cv_math_func_clogf128
=yes
28281 gcc_cv_math_func_clogf128
=no
28283 rm -f core conftest.err conftest.
$ac_objext \
28284 conftest
$ac_exeext conftest.
$ac_ext
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28287 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28288 if test $gcc_cv_math_func_clogf128 = yes; then
28290 cat >>confdefs.h
<<_ACEOF
28291 #define HAVE_CLOGF128 1
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28300 $as_echo_n "checking for log10f128... " >&6; }
28301 if ${gcc_cv_math_func_log10f128+:} false
; then :
28302 $as_echo_n "(cached) " >&6
28304 if test x
$gcc_no_link = xyes
; then
28305 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28308 /* end confdefs.h. */
28310 #ifdef HAVE_COMPLEX_H
28311 #include <complex.h>
28317 int (*ptr)() = (int (*)())log10f128;
28326 if ac_fn_c_try_link
"$LINENO"; then :
28327 gcc_cv_math_func_log10f128
=yes
28329 gcc_cv_math_func_log10f128
=no
28331 rm -f core conftest.err conftest.
$ac_objext \
28332 conftest
$ac_exeext conftest.
$ac_ext
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28335 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28336 if test $gcc_cv_math_func_log10f128 = yes; then
28338 cat >>confdefs.h
<<_ACEOF
28339 #define HAVE_LOG10F128 1
28347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28348 $as_echo_n "checking for clog10f128... " >&6; }
28349 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28350 $as_echo_n "(cached) " >&6
28352 if test x
$gcc_no_link = xyes
; then
28353 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28356 /* end confdefs.h. */
28358 #ifdef HAVE_COMPLEX_H
28359 #include <complex.h>
28365 int (*ptr)() = (int (*)())clog10f128;
28374 if ac_fn_c_try_link
"$LINENO"; then :
28375 gcc_cv_math_func_clog10f128
=yes
28377 gcc_cv_math_func_clog10f128
=no
28379 rm -f core conftest.err conftest.
$ac_objext \
28380 conftest
$ac_exeext conftest.
$ac_ext
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28383 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28384 if test $gcc_cv_math_func_clog10f128 = yes; then
28386 cat >>confdefs.h
<<_ACEOF
28387 #define HAVE_CLOG10F128 1
28395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28396 $as_echo_n "checking for nextafterf128... " >&6; }
28397 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28398 $as_echo_n "(cached) " >&6
28400 if test x
$gcc_no_link = xyes
; then
28401 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28404 /* end confdefs.h. */
28406 #ifdef HAVE_COMPLEX_H
28407 #include <complex.h>
28413 int (*ptr)() = (int (*)())nextafterf128;
28422 if ac_fn_c_try_link
"$LINENO"; then :
28423 gcc_cv_math_func_nextafterf128
=yes
28425 gcc_cv_math_func_nextafterf128
=no
28427 rm -f core conftest.err conftest.
$ac_objext \
28428 conftest
$ac_exeext conftest.
$ac_ext
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28431 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28432 if test $gcc_cv_math_func_nextafterf128 = yes; then
28434 cat >>confdefs.h
<<_ACEOF
28435 #define HAVE_NEXTAFTERF128 1
28443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28444 $as_echo_n "checking for powf128... " >&6; }
28445 if ${gcc_cv_math_func_powf128+:} false
; then :
28446 $as_echo_n "(cached) " >&6
28448 if test x
$gcc_no_link = xyes
; then
28449 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28452 /* end confdefs.h. */
28454 #ifdef HAVE_COMPLEX_H
28455 #include <complex.h>
28461 int (*ptr)() = (int (*)())powf128;
28470 if ac_fn_c_try_link
"$LINENO"; then :
28471 gcc_cv_math_func_powf128
=yes
28473 gcc_cv_math_func_powf128
=no
28475 rm -f core conftest.err conftest.
$ac_objext \
28476 conftest
$ac_exeext conftest.
$ac_ext
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28479 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28480 if test $gcc_cv_math_func_powf128 = yes; then
28482 cat >>confdefs.h
<<_ACEOF
28483 #define HAVE_POWF128 1
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28492 $as_echo_n "checking for cpowf128... " >&6; }
28493 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28494 $as_echo_n "(cached) " >&6
28496 if test x
$gcc_no_link = xyes
; then
28497 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28500 /* end confdefs.h. */
28502 #ifdef HAVE_COMPLEX_H
28503 #include <complex.h>
28509 int (*ptr)() = (int (*)())cpowf128;
28518 if ac_fn_c_try_link
"$LINENO"; then :
28519 gcc_cv_math_func_cpowf128
=yes
28521 gcc_cv_math_func_cpowf128
=no
28523 rm -f core conftest.err conftest.
$ac_objext \
28524 conftest
$ac_exeext conftest.
$ac_ext
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28527 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28528 if test $gcc_cv_math_func_cpowf128 = yes; then
28530 cat >>confdefs.h
<<_ACEOF
28531 #define HAVE_CPOWF128 1
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28540 $as_echo_n "checking for roundf128... " >&6; }
28541 if ${gcc_cv_math_func_roundf128+:} false
; then :
28542 $as_echo_n "(cached) " >&6
28544 if test x
$gcc_no_link = xyes
; then
28545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28548 /* end confdefs.h. */
28550 #ifdef HAVE_COMPLEX_H
28551 #include <complex.h>
28557 int (*ptr)() = (int (*)())roundf128;
28566 if ac_fn_c_try_link
"$LINENO"; then :
28567 gcc_cv_math_func_roundf128
=yes
28569 gcc_cv_math_func_roundf128
=no
28571 rm -f core conftest.err conftest.
$ac_objext \
28572 conftest
$ac_exeext conftest.
$ac_ext
28574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28575 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28576 if test $gcc_cv_math_func_roundf128 = yes; then
28578 cat >>confdefs.h
<<_ACEOF
28579 #define HAVE_ROUNDF128 1
28587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28588 $as_echo_n "checking for lroundf128... " >&6; }
28589 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28590 $as_echo_n "(cached) " >&6
28592 if test x
$gcc_no_link = xyes
; then
28593 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28596 /* end confdefs.h. */
28598 #ifdef HAVE_COMPLEX_H
28599 #include <complex.h>
28605 int (*ptr)() = (int (*)())lroundf128;
28614 if ac_fn_c_try_link
"$LINENO"; then :
28615 gcc_cv_math_func_lroundf128
=yes
28617 gcc_cv_math_func_lroundf128
=no
28619 rm -f core conftest.err conftest.
$ac_objext \
28620 conftest
$ac_exeext conftest.
$ac_ext
28622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28623 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28624 if test $gcc_cv_math_func_lroundf128 = yes; then
28626 cat >>confdefs.h
<<_ACEOF
28627 #define HAVE_LROUNDF128 1
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28636 $as_echo_n "checking for llroundf128... " >&6; }
28637 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28638 $as_echo_n "(cached) " >&6
28640 if test x
$gcc_no_link = xyes
; then
28641 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28644 /* end confdefs.h. */
28646 #ifdef HAVE_COMPLEX_H
28647 #include <complex.h>
28653 int (*ptr)() = (int (*)())llroundf128;
28662 if ac_fn_c_try_link
"$LINENO"; then :
28663 gcc_cv_math_func_llroundf128
=yes
28665 gcc_cv_math_func_llroundf128
=no
28667 rm -f core conftest.err conftest.
$ac_objext \
28668 conftest
$ac_exeext conftest.
$ac_ext
28670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28671 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28672 if test $gcc_cv_math_func_llroundf128 = yes; then
28674 cat >>confdefs.h
<<_ACEOF
28675 #define HAVE_LLROUNDF128 1
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28684 $as_echo_n "checking for scalbnf128... " >&6; }
28685 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28686 $as_echo_n "(cached) " >&6
28688 if test x
$gcc_no_link = xyes
; then
28689 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28692 /* end confdefs.h. */
28694 #ifdef HAVE_COMPLEX_H
28695 #include <complex.h>
28701 int (*ptr)() = (int (*)())scalbnf128;
28710 if ac_fn_c_try_link
"$LINENO"; then :
28711 gcc_cv_math_func_scalbnf128
=yes
28713 gcc_cv_math_func_scalbnf128
=no
28715 rm -f core conftest.err conftest.
$ac_objext \
28716 conftest
$ac_exeext conftest.
$ac_ext
28718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28719 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28720 if test $gcc_cv_math_func_scalbnf128 = yes; then
28722 cat >>confdefs.h
<<_ACEOF
28723 #define HAVE_SCALBNF128 1
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28732 $as_echo_n "checking for sinf128... " >&6; }
28733 if ${gcc_cv_math_func_sinf128+:} false
; then :
28734 $as_echo_n "(cached) " >&6
28736 if test x
$gcc_no_link = xyes
; then
28737 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28740 /* end confdefs.h. */
28742 #ifdef HAVE_COMPLEX_H
28743 #include <complex.h>
28749 int (*ptr)() = (int (*)())sinf128;
28758 if ac_fn_c_try_link
"$LINENO"; then :
28759 gcc_cv_math_func_sinf128
=yes
28761 gcc_cv_math_func_sinf128
=no
28763 rm -f core conftest.err conftest.
$ac_objext \
28764 conftest
$ac_exeext conftest.
$ac_ext
28766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28767 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28768 if test $gcc_cv_math_func_sinf128 = yes; then
28770 cat >>confdefs.h
<<_ACEOF
28771 #define HAVE_SINF128 1
28779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28780 $as_echo_n "checking for csinf128... " >&6; }
28781 if ${gcc_cv_math_func_csinf128+:} false
; then :
28782 $as_echo_n "(cached) " >&6
28784 if test x
$gcc_no_link = xyes
; then
28785 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28788 /* end confdefs.h. */
28790 #ifdef HAVE_COMPLEX_H
28791 #include <complex.h>
28797 int (*ptr)() = (int (*)())csinf128;
28806 if ac_fn_c_try_link
"$LINENO"; then :
28807 gcc_cv_math_func_csinf128
=yes
28809 gcc_cv_math_func_csinf128
=no
28811 rm -f core conftest.err conftest.
$ac_objext \
28812 conftest
$ac_exeext conftest.
$ac_ext
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28815 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28816 if test $gcc_cv_math_func_csinf128 = yes; then
28818 cat >>confdefs.h
<<_ACEOF
28819 #define HAVE_CSINF128 1
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28828 $as_echo_n "checking for sinhf128... " >&6; }
28829 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28830 $as_echo_n "(cached) " >&6
28832 if test x
$gcc_no_link = xyes
; then
28833 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28836 /* end confdefs.h. */
28838 #ifdef HAVE_COMPLEX_H
28839 #include <complex.h>
28845 int (*ptr)() = (int (*)())sinhf128;
28854 if ac_fn_c_try_link
"$LINENO"; then :
28855 gcc_cv_math_func_sinhf128
=yes
28857 gcc_cv_math_func_sinhf128
=no
28859 rm -f core conftest.err conftest.
$ac_objext \
28860 conftest
$ac_exeext conftest.
$ac_ext
28862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28863 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28864 if test $gcc_cv_math_func_sinhf128 = yes; then
28866 cat >>confdefs.h
<<_ACEOF
28867 #define HAVE_SINHF128 1
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28876 $as_echo_n "checking for csinhf128... " >&6; }
28877 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28878 $as_echo_n "(cached) " >&6
28880 if test x
$gcc_no_link = xyes
; then
28881 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28884 /* end confdefs.h. */
28886 #ifdef HAVE_COMPLEX_H
28887 #include <complex.h>
28893 int (*ptr)() = (int (*)())csinhf128;
28902 if ac_fn_c_try_link
"$LINENO"; then :
28903 gcc_cv_math_func_csinhf128
=yes
28905 gcc_cv_math_func_csinhf128
=no
28907 rm -f core conftest.err conftest.
$ac_objext \
28908 conftest
$ac_exeext conftest.
$ac_ext
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28911 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28912 if test $gcc_cv_math_func_csinhf128 = yes; then
28914 cat >>confdefs.h
<<_ACEOF
28915 #define HAVE_CSINHF128 1
28923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28924 $as_echo_n "checking for sqrtf128... " >&6; }
28925 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
28926 $as_echo_n "(cached) " >&6
28928 if test x
$gcc_no_link = xyes
; then
28929 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28932 /* end confdefs.h. */
28934 #ifdef HAVE_COMPLEX_H
28935 #include <complex.h>
28941 int (*ptr)() = (int (*)())sqrtf128;
28950 if ac_fn_c_try_link
"$LINENO"; then :
28951 gcc_cv_math_func_sqrtf128
=yes
28953 gcc_cv_math_func_sqrtf128
=no
28955 rm -f core conftest.err conftest.
$ac_objext \
28956 conftest
$ac_exeext conftest.
$ac_ext
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28959 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28960 if test $gcc_cv_math_func_sqrtf128 = yes; then
28962 cat >>confdefs.h
<<_ACEOF
28963 #define HAVE_SQRTF128 1
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28972 $as_echo_n "checking for csqrtf128... " >&6; }
28973 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
28974 $as_echo_n "(cached) " >&6
28976 if test x
$gcc_no_link = xyes
; then
28977 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28980 /* end confdefs.h. */
28982 #ifdef HAVE_COMPLEX_H
28983 #include <complex.h>
28989 int (*ptr)() = (int (*)())csqrtf128;
28998 if ac_fn_c_try_link
"$LINENO"; then :
28999 gcc_cv_math_func_csqrtf128
=yes
29001 gcc_cv_math_func_csqrtf128
=no
29003 rm -f core conftest.err conftest.
$ac_objext \
29004 conftest
$ac_exeext conftest.
$ac_ext
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29007 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29008 if test $gcc_cv_math_func_csqrtf128 = yes; then
29010 cat >>confdefs.h
<<_ACEOF
29011 #define HAVE_CSQRTF128 1
29019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29020 $as_echo_n "checking for tanf128... " >&6; }
29021 if ${gcc_cv_math_func_tanf128+:} false
; then :
29022 $as_echo_n "(cached) " >&6
29024 if test x
$gcc_no_link = xyes
; then
29025 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29028 /* end confdefs.h. */
29030 #ifdef HAVE_COMPLEX_H
29031 #include <complex.h>
29037 int (*ptr)() = (int (*)())tanf128;
29046 if ac_fn_c_try_link
"$LINENO"; then :
29047 gcc_cv_math_func_tanf128
=yes
29049 gcc_cv_math_func_tanf128
=no
29051 rm -f core conftest.err conftest.
$ac_objext \
29052 conftest
$ac_exeext conftest.
$ac_ext
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29055 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29056 if test $gcc_cv_math_func_tanf128 = yes; then
29058 cat >>confdefs.h
<<_ACEOF
29059 #define HAVE_TANF128 1
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29068 $as_echo_n "checking for ctanf128... " >&6; }
29069 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29070 $as_echo_n "(cached) " >&6
29072 if test x
$gcc_no_link = xyes
; then
29073 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29076 /* end confdefs.h. */
29078 #ifdef HAVE_COMPLEX_H
29079 #include <complex.h>
29085 int (*ptr)() = (int (*)())ctanf128;
29094 if ac_fn_c_try_link
"$LINENO"; then :
29095 gcc_cv_math_func_ctanf128
=yes
29097 gcc_cv_math_func_ctanf128
=no
29099 rm -f core conftest.err conftest.
$ac_objext \
29100 conftest
$ac_exeext conftest.
$ac_ext
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29103 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29104 if test $gcc_cv_math_func_ctanf128 = yes; then
29106 cat >>confdefs.h
<<_ACEOF
29107 #define HAVE_CTANF128 1
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29116 $as_echo_n "checking for tanhf128... " >&6; }
29117 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29118 $as_echo_n "(cached) " >&6
29120 if test x
$gcc_no_link = xyes
; then
29121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29124 /* end confdefs.h. */
29126 #ifdef HAVE_COMPLEX_H
29127 #include <complex.h>
29133 int (*ptr)() = (int (*)())tanhf128;
29142 if ac_fn_c_try_link
"$LINENO"; then :
29143 gcc_cv_math_func_tanhf128
=yes
29145 gcc_cv_math_func_tanhf128
=no
29147 rm -f core conftest.err conftest.
$ac_objext \
29148 conftest
$ac_exeext conftest.
$ac_ext
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29151 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29152 if test $gcc_cv_math_func_tanhf128 = yes; then
29154 cat >>confdefs.h
<<_ACEOF
29155 #define HAVE_TANHF128 1
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29164 $as_echo_n "checking for ctanhf128... " >&6; }
29165 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29166 $as_echo_n "(cached) " >&6
29168 if test x
$gcc_no_link = xyes
; then
29169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29172 /* end confdefs.h. */
29174 #ifdef HAVE_COMPLEX_H
29175 #include <complex.h>
29181 int (*ptr)() = (int (*)())ctanhf128;
29190 if ac_fn_c_try_link
"$LINENO"; then :
29191 gcc_cv_math_func_ctanhf128
=yes
29193 gcc_cv_math_func_ctanhf128
=no
29195 rm -f core conftest.err conftest.
$ac_objext \
29196 conftest
$ac_exeext conftest.
$ac_ext
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29199 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29200 if test $gcc_cv_math_func_ctanhf128 = yes; then
29202 cat >>confdefs.h
<<_ACEOF
29203 #define HAVE_CTANHF128 1
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29212 $as_echo_n "checking for truncf128... " >&6; }
29213 if ${gcc_cv_math_func_truncf128+:} false
; then :
29214 $as_echo_n "(cached) " >&6
29216 if test x
$gcc_no_link = xyes
; then
29217 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29220 /* end confdefs.h. */
29222 #ifdef HAVE_COMPLEX_H
29223 #include <complex.h>
29229 int (*ptr)() = (int (*)())truncf128;
29238 if ac_fn_c_try_link
"$LINENO"; then :
29239 gcc_cv_math_func_truncf128
=yes
29241 gcc_cv_math_func_truncf128
=no
29243 rm -f core conftest.err conftest.
$ac_objext \
29244 conftest
$ac_exeext conftest.
$ac_ext
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29247 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29248 if test $gcc_cv_math_func_truncf128 = yes; then
29250 cat >>confdefs.h
<<_ACEOF
29251 #define HAVE_TRUNCF128 1
29259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29260 $as_echo_n "checking for erff128... " >&6; }
29261 if ${gcc_cv_math_func_erff128+:} false
; then :
29262 $as_echo_n "(cached) " >&6
29264 if test x
$gcc_no_link = xyes
; then
29265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29268 /* end confdefs.h. */
29270 #ifdef HAVE_COMPLEX_H
29271 #include <complex.h>
29277 int (*ptr)() = (int (*)())erff128;
29286 if ac_fn_c_try_link
"$LINENO"; then :
29287 gcc_cv_math_func_erff128
=yes
29289 gcc_cv_math_func_erff128
=no
29291 rm -f core conftest.err conftest.
$ac_objext \
29292 conftest
$ac_exeext conftest.
$ac_ext
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29295 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29296 if test $gcc_cv_math_func_erff128 = yes; then
29298 cat >>confdefs.h
<<_ACEOF
29299 #define HAVE_ERFF128 1
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29308 $as_echo_n "checking for erfcf128... " >&6; }
29309 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29310 $as_echo_n "(cached) " >&6
29312 if test x
$gcc_no_link = xyes
; then
29313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h. */
29318 #ifdef HAVE_COMPLEX_H
29319 #include <complex.h>
29325 int (*ptr)() = (int (*)())erfcf128;
29334 if ac_fn_c_try_link
"$LINENO"; then :
29335 gcc_cv_math_func_erfcf128
=yes
29337 gcc_cv_math_func_erfcf128
=no
29339 rm -f core conftest.err conftest.
$ac_objext \
29340 conftest
$ac_exeext conftest.
$ac_ext
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29343 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29344 if test $gcc_cv_math_func_erfcf128 = yes; then
29346 cat >>confdefs.h
<<_ACEOF
29347 #define HAVE_ERFCF128 1
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29356 $as_echo_n "checking for j0f128... " >&6; }
29357 if ${gcc_cv_math_func_j0f128+:} false
; then :
29358 $as_echo_n "(cached) " >&6
29360 if test x
$gcc_no_link = xyes
; then
29361 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29364 /* end confdefs.h. */
29366 #ifdef HAVE_COMPLEX_H
29367 #include <complex.h>
29373 int (*ptr)() = (int (*)())j0f128;
29382 if ac_fn_c_try_link
"$LINENO"; then :
29383 gcc_cv_math_func_j0f128
=yes
29385 gcc_cv_math_func_j0f128
=no
29387 rm -f core conftest.err conftest.
$ac_objext \
29388 conftest
$ac_exeext conftest.
$ac_ext
29390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29391 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29392 if test $gcc_cv_math_func_j0f128 = yes; then
29394 cat >>confdefs.h
<<_ACEOF
29395 #define HAVE_J0F128 1
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29404 $as_echo_n "checking for j1f128... " >&6; }
29405 if ${gcc_cv_math_func_j1f128+:} false
; then :
29406 $as_echo_n "(cached) " >&6
29408 if test x
$gcc_no_link = xyes
; then
29409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29412 /* end confdefs.h. */
29414 #ifdef HAVE_COMPLEX_H
29415 #include <complex.h>
29421 int (*ptr)() = (int (*)())j1f128;
29430 if ac_fn_c_try_link
"$LINENO"; then :
29431 gcc_cv_math_func_j1f128
=yes
29433 gcc_cv_math_func_j1f128
=no
29435 rm -f core conftest.err conftest.
$ac_objext \
29436 conftest
$ac_exeext conftest.
$ac_ext
29438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29439 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29440 if test $gcc_cv_math_func_j1f128 = yes; then
29442 cat >>confdefs.h
<<_ACEOF
29443 #define HAVE_J1F128 1
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29452 $as_echo_n "checking for jnf128... " >&6; }
29453 if ${gcc_cv_math_func_jnf128+:} false
; then :
29454 $as_echo_n "(cached) " >&6
29456 if test x
$gcc_no_link = xyes
; then
29457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29460 /* end confdefs.h. */
29462 #ifdef HAVE_COMPLEX_H
29463 #include <complex.h>
29469 int (*ptr)() = (int (*)())jnf128;
29478 if ac_fn_c_try_link
"$LINENO"; then :
29479 gcc_cv_math_func_jnf128
=yes
29481 gcc_cv_math_func_jnf128
=no
29483 rm -f core conftest.err conftest.
$ac_objext \
29484 conftest
$ac_exeext conftest.
$ac_ext
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29487 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29488 if test $gcc_cv_math_func_jnf128 = yes; then
29490 cat >>confdefs.h
<<_ACEOF
29491 #define HAVE_JNF128 1
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29500 $as_echo_n "checking for y0f128... " >&6; }
29501 if ${gcc_cv_math_func_y0f128+:} false
; then :
29502 $as_echo_n "(cached) " >&6
29504 if test x
$gcc_no_link = xyes
; then
29505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h. */
29510 #ifdef HAVE_COMPLEX_H
29511 #include <complex.h>
29517 int (*ptr)() = (int (*)())y0f128;
29526 if ac_fn_c_try_link
"$LINENO"; then :
29527 gcc_cv_math_func_y0f128
=yes
29529 gcc_cv_math_func_y0f128
=no
29531 rm -f core conftest.err conftest.
$ac_objext \
29532 conftest
$ac_exeext conftest.
$ac_ext
29534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29535 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29536 if test $gcc_cv_math_func_y0f128 = yes; then
29538 cat >>confdefs.h
<<_ACEOF
29539 #define HAVE_Y0F128 1
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29548 $as_echo_n "checking for y1f128... " >&6; }
29549 if ${gcc_cv_math_func_y1f128+:} false
; then :
29550 $as_echo_n "(cached) " >&6
29552 if test x
$gcc_no_link = xyes
; then
29553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29556 /* end confdefs.h. */
29558 #ifdef HAVE_COMPLEX_H
29559 #include <complex.h>
29565 int (*ptr)() = (int (*)())y1f128;
29574 if ac_fn_c_try_link
"$LINENO"; then :
29575 gcc_cv_math_func_y1f128
=yes
29577 gcc_cv_math_func_y1f128
=no
29579 rm -f core conftest.err conftest.
$ac_objext \
29580 conftest
$ac_exeext conftest.
$ac_ext
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29583 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29584 if test $gcc_cv_math_func_y1f128 = yes; then
29586 cat >>confdefs.h
<<_ACEOF
29587 #define HAVE_Y1F128 1
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29596 $as_echo_n "checking for ynf128... " >&6; }
29597 if ${gcc_cv_math_func_ynf128+:} false
; then :
29598 $as_echo_n "(cached) " >&6
29600 if test x
$gcc_no_link = xyes
; then
29601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29604 /* end confdefs.h. */
29606 #ifdef HAVE_COMPLEX_H
29607 #include <complex.h>
29613 int (*ptr)() = (int (*)())ynf128;
29622 if ac_fn_c_try_link
"$LINENO"; then :
29623 gcc_cv_math_func_ynf128
=yes
29625 gcc_cv_math_func_ynf128
=no
29627 rm -f core conftest.err conftest.
$ac_objext \
29628 conftest
$ac_exeext conftest.
$ac_ext
29630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29631 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29632 if test $gcc_cv_math_func_ynf128 = yes; then
29634 cat >>confdefs.h
<<_ACEOF
29635 #define HAVE_YNF128 1
29643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29644 $as_echo_n "checking for tgammaf128... " >&6; }
29645 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29646 $as_echo_n "(cached) " >&6
29648 if test x
$gcc_no_link = xyes
; then
29649 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29652 /* end confdefs.h. */
29654 #ifdef HAVE_COMPLEX_H
29655 #include <complex.h>
29661 int (*ptr)() = (int (*)())tgammaf128;
29670 if ac_fn_c_try_link
"$LINENO"; then :
29671 gcc_cv_math_func_tgammaf128
=yes
29673 gcc_cv_math_func_tgammaf128
=no
29675 rm -f core conftest.err conftest.
$ac_objext \
29676 conftest
$ac_exeext conftest.
$ac_ext
29678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29679 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29680 if test $gcc_cv_math_func_tgammaf128 = yes; then
29682 cat >>confdefs.h
<<_ACEOF
29683 #define HAVE_TGAMMAF128 1
29691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29692 $as_echo_n "checking for lgammaf128... " >&6; }
29693 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29694 $as_echo_n "(cached) " >&6
29696 if test x
$gcc_no_link = xyes
; then
29697 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29700 /* end confdefs.h. */
29702 #ifdef HAVE_COMPLEX_H
29703 #include <complex.h>
29709 int (*ptr)() = (int (*)())lgammaf128;
29718 if ac_fn_c_try_link
"$LINENO"; then :
29719 gcc_cv_math_func_lgammaf128
=yes
29721 gcc_cv_math_func_lgammaf128
=no
29723 rm -f core conftest.err conftest.
$ac_objext \
29724 conftest
$ac_exeext conftest.
$ac_ext
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29727 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29728 if test $gcc_cv_math_func_lgammaf128 = yes; then
29730 cat >>confdefs.h
<<_ACEOF
29731 #define HAVE_LGAMMAF128 1
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29741 $as_echo_n "checking for cacosf128... " >&6; }
29742 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29743 $as_echo_n "(cached) " >&6
29745 if test x
$gcc_no_link = xyes
; then
29746 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29751 #ifdef HAVE_COMPLEX_H
29752 #include <complex.h>
29758 int (*ptr)() = (int (*)())cacosf128;
29767 if ac_fn_c_try_link
"$LINENO"; then :
29768 gcc_cv_math_func_cacosf128
=yes
29770 gcc_cv_math_func_cacosf128
=no
29772 rm -f core conftest.err conftest.
$ac_objext \
29773 conftest
$ac_exeext conftest.
$ac_ext
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29776 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29777 if test $gcc_cv_math_func_cacosf128 = yes; then
29779 cat >>confdefs.h
<<_ACEOF
29780 #define HAVE_CACOSF128 1
29788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29789 $as_echo_n "checking for cacoshf128... " >&6; }
29790 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29791 $as_echo_n "(cached) " >&6
29793 if test x
$gcc_no_link = xyes
; then
29794 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29797 /* end confdefs.h. */
29799 #ifdef HAVE_COMPLEX_H
29800 #include <complex.h>
29806 int (*ptr)() = (int (*)())cacoshf128;
29815 if ac_fn_c_try_link
"$LINENO"; then :
29816 gcc_cv_math_func_cacoshf128
=yes
29818 gcc_cv_math_func_cacoshf128
=no
29820 rm -f core conftest.err conftest.
$ac_objext \
29821 conftest
$ac_exeext conftest.
$ac_ext
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29824 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29825 if test $gcc_cv_math_func_cacoshf128 = yes; then
29827 cat >>confdefs.h
<<_ACEOF
29828 #define HAVE_CACOSHF128 1
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29837 $as_echo_n "checking for casinf128... " >&6; }
29838 if ${gcc_cv_math_func_casinf128+:} false
; then :
29839 $as_echo_n "(cached) " >&6
29841 if test x
$gcc_no_link = xyes
; then
29842 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29845 /* end confdefs.h. */
29847 #ifdef HAVE_COMPLEX_H
29848 #include <complex.h>
29854 int (*ptr)() = (int (*)())casinf128;
29863 if ac_fn_c_try_link
"$LINENO"; then :
29864 gcc_cv_math_func_casinf128
=yes
29866 gcc_cv_math_func_casinf128
=no
29868 rm -f core conftest.err conftest.
$ac_objext \
29869 conftest
$ac_exeext conftest.
$ac_ext
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29872 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29873 if test $gcc_cv_math_func_casinf128 = yes; then
29875 cat >>confdefs.h
<<_ACEOF
29876 #define HAVE_CASINF128 1
29884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29885 $as_echo_n "checking for casinhf128... " >&6; }
29886 if ${gcc_cv_math_func_casinhf128+:} false
; then :
29887 $as_echo_n "(cached) " >&6
29889 if test x
$gcc_no_link = xyes
; then
29890 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29893 /* end confdefs.h. */
29895 #ifdef HAVE_COMPLEX_H
29896 #include <complex.h>
29902 int (*ptr)() = (int (*)())casinhf128;
29911 if ac_fn_c_try_link
"$LINENO"; then :
29912 gcc_cv_math_func_casinhf128
=yes
29914 gcc_cv_math_func_casinhf128
=no
29916 rm -f core conftest.err conftest.
$ac_objext \
29917 conftest
$ac_exeext conftest.
$ac_ext
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29920 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29921 if test $gcc_cv_math_func_casinhf128 = yes; then
29923 cat >>confdefs.h
<<_ACEOF
29924 #define HAVE_CASINHF128 1
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29933 $as_echo_n "checking for catanf128... " >&6; }
29934 if ${gcc_cv_math_func_catanf128+:} false
; then :
29935 $as_echo_n "(cached) " >&6
29937 if test x
$gcc_no_link = xyes
; then
29938 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29943 #ifdef HAVE_COMPLEX_H
29944 #include <complex.h>
29950 int (*ptr)() = (int (*)())catanf128;
29959 if ac_fn_c_try_link
"$LINENO"; then :
29960 gcc_cv_math_func_catanf128
=yes
29962 gcc_cv_math_func_catanf128
=no
29964 rm -f core conftest.err conftest.
$ac_objext \
29965 conftest
$ac_exeext conftest.
$ac_ext
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29968 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29969 if test $gcc_cv_math_func_catanf128 = yes; then
29971 cat >>confdefs.h
<<_ACEOF
29972 #define HAVE_CATANF128 1
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29981 $as_echo_n "checking for catanhf128... " >&6; }
29982 if ${gcc_cv_math_func_catanhf128+:} false
; then :
29983 $as_echo_n "(cached) " >&6
29985 if test x
$gcc_no_link = xyes
; then
29986 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29989 /* end confdefs.h. */
29991 #ifdef HAVE_COMPLEX_H
29992 #include <complex.h>
29998 int (*ptr)() = (int (*)())catanhf128;
30007 if ac_fn_c_try_link
"$LINENO"; then :
30008 gcc_cv_math_func_catanhf128
=yes
30010 gcc_cv_math_func_catanhf128
=no
30012 rm -f core conftest.err conftest.
$ac_objext \
30013 conftest
$ac_exeext conftest.
$ac_ext
30015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30016 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30017 if test $gcc_cv_math_func_catanhf128 = yes; then
30019 cat >>confdefs.h
<<_ACEOF
30020 #define HAVE_CATANHF128 1
30026 # Check whether the system has a working stat()
30028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30029 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30030 if ${libgfor_cv_have_working_stat+:} false
; then :
30031 $as_echo_n "(cached) " >&6
30034 if test "$cross_compiling" = yes; then :
30036 case "${target}" in
30037 *mingw
*) libgfor_cv_have_working_stat
=no
;;
30038 *) libgfor_cv_have_working_stat
=yes;;
30041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30042 /* end confdefs.h. */
30045 #include <sys/types.h>
30046 #include <sys/stat.h>
30047 #include <unistd.h>
30052 struct stat st1, st2;
30054 f = fopen ("foo", "w");
30055 g = fopen ("bar", "w");
30056 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30058 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30065 if ac_fn_c_try_run
"$LINENO"; then :
30066 libgfor_cv_have_working_stat
=yes
30068 libgfor_cv_have_working_stat
=no
30070 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30071 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30076 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30077 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30079 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30083 # Check whether __mingw_snprintf() is present
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30086 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30087 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30088 $as_echo_n "(cached) " >&6
30091 if test x
$gcc_no_link = xyes
; then
30092 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30095 /* end confdefs.h. */
30098 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30104 __mingw_snprintf (NULL, 0, "%d\n", 1);
30110 if ac_fn_c_try_link
"$LINENO"; then :
30111 eval "libgfor_cv_have_mingw_snprintf=yes"
30113 eval "libgfor_cv_have_mingw_snprintf=no"
30115 rm -f core conftest.err conftest.
$ac_objext \
30116 conftest
$ac_exeext conftest.
$ac_ext
30119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30120 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30121 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30123 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30128 have_iec_60559_libc_support
=no
30129 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30130 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30131 have_iec_60559_libc_support
=yes
30134 # Check whether libquadmath should be used
30135 # Check whether --enable-libquadmath-support was given.
30136 if test "${enable_libquadmath_support+set}" = set; then :
30137 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30139 if test "x$have_iec_60559_libc_support" = xyes
; then
30140 ENABLE_LIBQUADMATH_SUPPORT
=default
30142 ENABLE_LIBQUADMATH_SUPPORT
=yes
30146 enable_libquadmath_support
=
30147 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30148 enable_libquadmath_support
=no
30149 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30150 enable_libquadmath_support
=default
30153 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30154 # and have_iec_60559_libc_support.
30162 if test "x$enable_libquadmath_support" != xno
; then
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30165 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30166 if ${libgfor_cv_have_float128+:} false
; then :
30167 $as_echo_n "(cached) " >&6
30170 if test x
$gcc_no_link = xyes
; then
30171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30172 /* end confdefs.h. */
30174 _Float128 foo (_Float128 x)
30176 _Complex _Float128 z1, z2;
30182 return (_Float128) z2;
30185 _Float128 bar (_Float128 x)
30187 return x * __builtin_huge_valf128 ();
30190 __float128 baz (__float128 x)
30192 return x * __builtin_huge_valf128 ();
30210 if ac_fn_c_try_compile
"$LINENO"; then :
30212 libgfor_cv_have_float128
=yes
30216 libgfor_cv_have_float128
=no
30219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30221 if test x
$gcc_no_link = xyes
; then
30222 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30225 /* end confdefs.h. */
30227 _Float128 foo (_Float128 x)
30229 _Complex _Float128 z1, z2;
30235 return (_Float128) z2;
30238 _Float128 bar (_Float128 x)
30240 return x * __builtin_huge_valf128 ();
30243 __float128 baz (__float128 x)
30245 return x * __builtin_huge_valf128 ();
30263 if ac_fn_c_try_link
"$LINENO"; then :
30265 libgfor_cv_have_float128
=yes
30269 libgfor_cv_have_float128
=no
30272 rm -f core conftest.err conftest.
$ac_objext \
30273 conftest
$ac_exeext conftest.
$ac_ext
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30277 $as_echo "$libgfor_cv_have_float128" >&6; }
30279 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30284 if test "x$libgfor_cv_have_float128" = xyes
; then
30285 if test "x$USE_IEC_60559" = xyes
; then
30287 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30291 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30294 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30296 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30297 if ${libgfor_cv_have_as_needed+:} false
; then :
30298 $as_echo_n "(cached) " >&6
30301 # Test for native Solaris options first.
30302 # No whitespace after -z to pass it through -Wl.
30303 libgfor_cv_as_needed_option
="-zignore"
30304 libgfor_cv_no_as_needed_option
="-zrecord"
30305 save_LDFLAGS
="$LDFLAGS"
30306 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30307 libgfor_cv_have_as_needed
=no
30309 ac_c_werror_flag
=yes
30310 if test x
$gcc_no_link = xyes
; then
30311 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30324 if ac_fn_c_try_link
"$LINENO"; then :
30325 libgfor_cv_have_as_needed
=yes
30327 libgfor_cv_have_as_needed
=no
30329 rm -f core conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30331 LDFLAGS
="$save_LDFLAGS"
30332 if test "x$libgfor_cv_have_as_needed" = xno
; then
30333 libgfor_cv_as_needed_option
="--as-needed"
30334 libgfor_cv_no_as_needed_option
="--no-as-needed"
30335 save_LDFLAGS
="$LDFLAGS"
30336 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30337 libgfor_cv_have_as_needed
=no
30339 ac_c_werror_flag
=yes
30340 if test x
$gcc_no_link = xyes
; then
30341 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30344 /* end confdefs.h. */
30354 if ac_fn_c_try_link
"$LINENO"; then :
30355 libgfor_cv_have_as_needed
=yes
30357 libgfor_cv_have_as_needed
=no
30359 rm -f core conftest.err conftest.
$ac_objext \
30360 conftest
$ac_exeext conftest.
$ac_ext
30361 LDFLAGS
="$save_LDFLAGS"
30363 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30367 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30369 touch conftest1.
$ac_objext conftest2.
$ac_objext
30370 LQUADMATH
=-lquadmath
30371 $FC -static-libgfortran -### -o conftest \
30372 conftest1.
$ac_objext -lgfortran conftest2.
$ac_objext 2>&1 >/dev
/null \
30373 |
grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30374 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30375 conftest.cmd
>/dev
/null
2>&1; then
30376 LQUADMATH
="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30377 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30378 conftest.cmd
>/dev
/null
2>&1; then
30379 LQUADMATH
="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30380 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30381 conftest.cmd
>/dev
/null
2>&1; then
30382 LQUADMATH
="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30383 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30384 conftest.cmd
>/dev
/null
2>&1; then
30385 LQUADMATH
="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30387 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest conftest.cmd
30389 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30390 if test "x$USE_IEC_60559" = xyes
; then
30391 LIBQUADSPEC
="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30393 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30396 LIBQUADSPEC
="$LQUADMATH"
30398 if test "x$USE_IEC_60559" != xyes
; then
30399 if test -f ..
/libquadmath
/libquadmath.la
; then
30400 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30401 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30402 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30404 LIBQUADLIB
="-lquadmath"
30419 # Check for GNU libc feenableexcept
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30421 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30422 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30423 $as_echo_n "(cached) " >&6
30425 ac_check_lib_save_LIBS
=$LIBS
30427 if test x
$gcc_no_link = xyes
; then
30428 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h. */
30433 /* Override any GCC internal prototype to avoid an error.
30434 Use char because int might match the return type of a GCC
30435 builtin and then its argument prototype would still apply. */
30439 char feenableexcept ();
30443 return feenableexcept ();
30448 if ac_fn_c_try_link
"$LINENO"; then :
30449 ac_cv_lib_m_feenableexcept
=yes
30451 ac_cv_lib_m_feenableexcept
=no
30453 rm -f core conftest.err conftest.
$ac_objext \
30454 conftest
$ac_exeext conftest.
$ac_ext
30455 LIBS
=$ac_check_lib_save_LIBS
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30458 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30459 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30460 have_feenableexcept
=yes
30461 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30466 # At least for glibc, clock_gettime is in librt. But don't
30467 # pull that in if it still doesn't give us the function we want. This
30468 # test is copied from libgomp, and modified to not link in -lrt as
30469 # libgfortran calls clock_gettime via a weak reference if it's found
30471 if test "$ac_cv_func_clock_gettime" = no
; then
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30473 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30474 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30475 $as_echo_n "(cached) " >&6
30477 ac_check_lib_save_LIBS
=$LIBS
30479 if test x
$gcc_no_link = xyes
; then
30480 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30483 /* end confdefs.h. */
30485 /* Override any GCC internal prototype to avoid an error.
30486 Use char because int might match the return type of a GCC
30487 builtin and then its argument prototype would still apply. */
30491 char clock_gettime ();
30495 return clock_gettime ();
30500 if ac_fn_c_try_link
"$LINENO"; then :
30501 ac_cv_lib_rt_clock_gettime
=yes
30503 ac_cv_lib_rt_clock_gettime
=no
30505 rm -f core conftest.err conftest.
$ac_objext \
30506 conftest
$ac_exeext conftest.
$ac_ext
30507 LIBS
=$ac_check_lib_save_LIBS
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30510 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30511 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30513 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30519 # Check for SysV fpsetmask
30521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30522 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30523 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30524 $as_echo_n "(cached) " >&6
30527 if test x
$gcc_no_link = xyes
; then
30528 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30531 /* end confdefs.h. */
30533 #if HAVE_FLOATINGPOINT_H
30534 # include <floatingpoint.h>
30535 #endif /* HAVE_FLOATINGPOINT_H */
30537 # include <ieeefp.h>
30538 #endif /* HAVE_IEEEFP_H */
30547 if ac_fn_c_try_link
"$LINENO"; then :
30548 eval "libgfor_cv_have_fpsetmask=yes"
30550 eval "libgfor_cv_have_fpsetmask=no"
30552 rm -f core conftest.err conftest.
$ac_objext \
30553 conftest
$ac_exeext conftest.
$ac_ext
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30557 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30558 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30561 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30565 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30566 #ifdef HAVE_IEEEFP_H
30567 #include <ieeefp.h>
30572 if test "x$ac_cv_type_fp_except" = xyes
; then :
30574 cat >>confdefs.h
<<_ACEOF
30575 #define HAVE_FP_EXCEPT 1
30580 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30581 #ifdef HAVE_IEEEFP_H
30582 #include <ieeefp.h>
30587 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30589 cat >>confdefs.h
<<_ACEOF
30590 #define HAVE_FP_EXCEPT_T 1
30596 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30597 #ifdef HAVE_IEEEFP_H
30598 #include <ieeefp.h>
30603 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30605 cat >>confdefs.h
<<_ACEOF
30606 #define HAVE_FP_RND 1
30611 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30612 #ifdef HAVE_IEEEFP_H
30613 #include <ieeefp.h>
30618 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30620 cat >>confdefs.h
<<_ACEOF
30621 #define HAVE_FP_RND_T 1
30628 # Check whether we have fpsetsticky or fpresetsticky
30629 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30630 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30631 have_fpsetsticky
=yes
30632 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30636 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30637 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30638 have_fpresetsticky
=yes
30639 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30644 # Check for AIX fp_trap and fp_enable
30645 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30646 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30648 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30652 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30653 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30655 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30660 # Check if _SOFT_FLOAT is defined
30662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30663 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30664 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30665 $as_echo_n "(cached) " >&6
30667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30668 /* end confdefs.h. */
30684 if ac_fn_c_try_compile
"$LINENO"; then :
30685 ac_cv_defined__SOFT_FLOAT
=yes
30687 ac_cv_defined__SOFT_FLOAT
=no
30689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30692 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30693 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30694 have_soft_float
=yes
30697 # Runs configure.host to set up necessary host-dependent shell variables.
30698 # We then display a message about it, and propagate them through the
30700 .
${srcdir}/configure.
host
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30702 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30704 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30705 FPU_HOST_HEADER
=config
/${fpu_host}.h
30708 # Whether we will build the IEEE modules
30709 if test x
${ieee_support} = xyes
; then
30711 IEEE_SUPPORT_FALSE
='#'
30713 IEEE_SUPPORT_TRUE
='#'
30714 IEEE_SUPPORT_FALSE
=
30719 # Some targets require additional compiler options for IEEE compatibility.
30720 IEEE_FLAGS
="${ieee_flags}"
30723 # Conditionalize the makefile for this target machine.
30725 for f
in ${tmake_file}
30727 if test -f ${srcdir}/config
/$f
30729 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30732 tmake_file
="${tmake_file_}"
30736 # Check for POSIX getpwuid_r
30738 # There are two versions of getpwuid_r, the POSIX one with 5
30739 # arguments, and another one with 4 arguments used by at least HP-UX
30741 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30743 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30744 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30745 $as_echo_n "(cached) " >&6
30748 if test x
$gcc_no_link = xyes
; then
30749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30752 /* end confdefs.h. */
30755 #include <sys/types.h>
30761 getpwuid_r(0, NULL, NULL, 0, NULL);
30767 if ac_fn_c_try_link
"$LINENO"; then :
30768 libgfor_cv_posix_getpwuid_r
="yes"
30770 libgfor_cv_posix_getpwuid_r
="no"
30772 rm -f core conftest.err conftest.
$ac_objext \
30773 conftest
$ac_exeext conftest.
$ac_ext
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30776 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30778 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30780 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30785 # Check out attribute support.
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30788 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30789 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30790 $as_echo_n "(cached) " >&6
30793 save_CFLAGS
="$CFLAGS"
30794 CFLAGS
="$CFLAGS -Werror"
30795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30796 /* end confdefs.h. */
30797 void __attribute__((visibility("hidden"))) foo(void) { }
30806 if ac_fn_c_try_compile
"$LINENO"; then :
30807 libgfor_cv_have_attribute_visibility
=yes
30809 libgfor_cv_have_attribute_visibility
=no
30811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30812 CFLAGS
="$save_CFLAGS"
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30815 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30816 if test $libgfor_cv_have_attribute_visibility = yes; then
30818 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30823 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30824 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30825 $as_echo_n "(cached) " >&6
30828 if test x
$gcc_no_link = xyes
; then
30829 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30832 /* end confdefs.h. */
30835 extern void bar(void) __attribute__((alias("foo")));
30844 if ac_fn_c_try_link
"$LINENO"; then :
30845 libgfor_cv_have_attribute_alias
=yes
30847 libgfor_cv_have_attribute_alias
=no
30849 rm -f core conftest.err conftest.
$ac_objext \
30850 conftest
$ac_exeext conftest.
$ac_ext
30852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30853 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30854 if test $libgfor_cv_have_attribute_alias = yes; then
30856 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30860 # Check out atomic builtins support.
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30863 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30864 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30865 $as_echo_n "(cached) " >&6
30868 if test x
$gcc_no_link = xyes
; then
30869 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30872 /* end confdefs.h. */
30878 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30879 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30884 if ac_fn_c_try_link
"$LINENO"; then :
30885 libgfor_cv_have_atomic_fetch_add
=yes
30887 libgfor_cv_have_atomic_fetch_add
=no
30889 rm -f core conftest.err conftest.
$ac_objext \
30890 conftest
$ac_exeext conftest.
$ac_ext
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30893 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30894 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30896 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30900 # Check out #pragma weak.
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30903 $as_echo_n "checking whether pragma weak works... " >&6; }
30904 if ${libgfor_cv_have_pragma_weak+:} false
; then :
30905 $as_echo_n "(cached) " >&6
30908 gfor_save_CFLAGS
="$CFLAGS"
30909 CFLAGS
="$CFLAGS -Wunknown-pragmas"
30910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30911 /* end confdefs.h. */
30924 if ac_fn_c_try_compile
"$LINENO"; then :
30925 libgfor_cv_have_pragma_weak
=yes
30927 libgfor_cv_have_pragma_weak
=no
30929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30932 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30933 if test $libgfor_cv_have_pragma_weak = yes; then
30935 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30939 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
30941 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30946 # Check out weakref support.
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30949 $as_echo_n "checking whether the target supports weakref... " >&6; }
30950 if ${libgfor_cv_have_weakref+:} false
; then :
30951 $as_echo_n "(cached) " >&6
30954 save_CFLAGS
="$CFLAGS"
30955 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
30956 if test x
$gcc_no_link = xyes
; then
30957 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30960 /* end confdefs.h. */
30962 static int mytoto (int) __attribute__((__weakref__("toto")));
30967 return (mytoto != 0);
30972 if ac_fn_c_try_link
"$LINENO"; then :
30973 libgfor_cv_have_weakref
=yes
30975 libgfor_cv_have_weakref
=no
30977 rm -f core conftest.err conftest.
$ac_objext \
30978 conftest
$ac_exeext conftest.
$ac_ext
30979 CFLAGS
="$save_CFLAGS"
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30982 $as_echo "$libgfor_cv_have_weakref" >&6; }
30983 if test $libgfor_cv_have_weakref = yes; then
30985 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30989 # Various other checks on target
30991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30992 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30993 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
30994 $as_echo_n "(cached) " >&6
30997 if test "$cross_compiling" = yes; then :
30999 case "${target}" in
31000 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
31001 *) libgfor_cv_have_unlink_open_file
=yes;;
31004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31005 /* end confdefs.h. */
31009 #include <unistd.h>
31010 #include <sys/stat.h>
31016 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31019 if (unlink ("testfile") == -1)
31021 write (fd, "This is a test\n", 15);
31024 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31030 if ac_fn_c_try_run
"$LINENO"; then :
31031 libgfor_cv_have_unlink_open_file
=yes
31033 libgfor_cv_have_unlink_open_file
=no
31035 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31036 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31041 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31042 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
31044 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31048 # Check whether line terminator is LF or CRLF
31050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31051 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31052 if ${libgfor_cv_have_crlf+:} false
; then :
31053 $as_echo_n "(cached) " >&6
31056 if test "$cross_compiling" = yes; then :
31058 case "${target}" in
31059 *mingw
*) libgfor_cv_have_crlf
=yes ;;
31060 *) libgfor_cv_have_crlf
=no
;;
31063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31064 /* end confdefs.h. */
31066 /* This test program should exit with status 0 if system uses a CRLF as
31067 line terminator, and status 1 otherwise.
31068 Since it is used to check for mingw systems, and should return 0 in any
31069 other case, in case of a failure we will not use CRLF. */
31070 #include <sys/stat.h>
31071 #include <stdlib.h>
31083 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31086 if (write (fd, "\n", 1) < 0)
31091 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31093 bytes = read (fd, buff, 5);
31094 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31101 if ac_fn_c_try_run
"$LINENO"; then :
31102 libgfor_cv_have_crlf
=yes
31104 libgfor_cv_have_crlf
=no
31106 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31107 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31112 $as_echo "$libgfor_cv_have_crlf" >&6; }
31113 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31115 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31119 # Check whether we support AVX extensions
31121 ac_save_CFLAGS
="$CFLAGS"
31123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31126 void _mm256_zeroall (void)
31128 __builtin_ia32_vzeroall ();
31138 if ac_fn_c_try_compile
"$LINENO"; then :
31140 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31144 CFLAGS
="$ac_save_CFLAGS"
31147 # Check whether we support AVX2 extensions
31149 ac_save_CFLAGS
="$CFLAGS"
31150 CFLAGS
="-O2 -mavx2"
31151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31152 /* end confdefs.h. */
31154 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31156 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31158 return __builtin_ia32_andnotsi256 (__X, __Y);
31168 if ac_fn_c_try_compile
"$LINENO"; then :
31170 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31174 CFLAGS
="$ac_save_CFLAGS"
31177 # Check whether we support AVX512f extensions
31179 ac_save_CFLAGS
="$CFLAGS"
31180 CFLAGS
="-O2 -mavx512f"
31181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h. */
31184 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31185 __m512d _mm512_add (__m512d a)
31187 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31188 /* For -m64/-mx32 also verify that code will work even if
31189 the target uses call saved zmm16+ and needs to emit
31190 unwind info for them (e.g. on mingw). See PR79127. */
31192 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31204 if ac_fn_c_try_compile
"$LINENO"; then :
31206 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31210 CFLAGS
="$ac_save_CFLAGS"
31213 # Check for FMA3 extensions
31215 ac_save_CFLAGS
="$CFLAGS"
31216 CFLAGS
="-O2 -mfma -mno-fma4"
31217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31218 /* end confdefs.h. */
31220 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31221 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31222 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31224 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31236 if ac_fn_c_try_compile
"$LINENO"; then :
31238 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31242 CFLAGS
="$ac_save_CFLAGS"
31245 # Check for FMA4 extensions
31247 ac_save_CFLAGS
="$CFLAGS"
31248 CFLAGS
="-O2 -mfma4 -mno-fma"
31249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31250 /* end confdefs.h. */
31252 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31253 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31254 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31256 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31268 if ac_fn_c_try_compile
"$LINENO"; then :
31270 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31274 CFLAGS
="$ac_save_CFLAGS"
31277 # Check if AVX128 works
31279 ac_save_CFLAGS
="$CFLAGS"
31280 CFLAGS
="-O2 -mavx -mprefer-avx128"
31281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31282 /* end confdefs.h. */
31295 if ac_fn_c_try_compile
"$LINENO"; then :
31297 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31301 HAVE_AVX128_FALSE
='#'
31303 HAVE_AVX128_TRUE
='#'
31310 HAVE_AVX128_FALSE
='#'
31312 HAVE_AVX128_TRUE
='#'
31317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31318 CFLAGS
="$ac_save_CFLAGS"
31321 # Determine what GCC version number to use in filesystem paths.
31323 get_gcc_base_ver
="cat"
31325 # Check whether --with-gcc-major-version-only was given.
31326 if test "${with_gcc_major_version_only+set}" = set; then :
31327 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31328 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31336 cat >confcache
<<\_ACEOF
31337 # This file is a shell script that caches the results of configure
31338 # tests run on this system so they can be shared between configure
31339 # scripts and configure runs, see configure's option --config-cache.
31340 # It is not useful on other systems. If it contains results you don't
31341 # want to keep, you may remove or edit it.
31343 # config.status only pays attention to the cache file if you give it
31344 # the --recheck option to rerun configure.
31346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31348 # following values.
31352 # The following way of writing the cache mishandles newlines in values,
31353 # but we know of no workaround that is simple, portable, and efficient.
31354 # So, we kill variables containing newlines.
31355 # Ultrix sh set writes to stderr and can't be redirected directly,
31356 # and sets the high bit in the cache file unless we assign to the vars.
31358 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31359 eval ac_val
=\$
$ac_var
31363 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31364 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31367 _ | IFS | as_nl
) ;; #(
31368 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31369 *) { eval $ac_var=; unset $ac_var;} ;;
31375 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31376 *${as_nl}ac_space
=\
*)
31377 # `set' does not quote correctly, so add quotes: double-quote
31378 # substitution turns \\\\ into \\, and sed turns \\ into \.
31381 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31384 # `set' quotes correctly as required by POSIX, so do not add quotes.
31385 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31394 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31396 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31398 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31399 if test -w "$cache_file"; then
31400 if test "x$cache_file" != "x/dev/null"; then
31401 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31402 $as_echo "$as_me: updating cache $cache_file" >&6;}
31403 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31404 cat confcache
>"$cache_file"
31406 case $cache_file in #(
31408 mv -f confcache
"$cache_file"$$
&&
31409 mv -f "$cache_file"$$
"$cache_file" ;; #(
31411 mv -f confcache
"$cache_file" ;;
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31417 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31422 if test ${multilib} = yes; then
31423 multilib_arg
="--enable-multilib"
31428 # Write our Makefile and spec file.
31429 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31431 cat >confcache
<<\_ACEOF
31432 # This file is a shell script that caches the results of configure
31433 # tests run on this system so they can be shared between configure
31434 # scripts and configure runs, see configure's option --config-cache.
31435 # It is not useful on other systems. If it contains results you don't
31436 # want to keep, you may remove or edit it.
31438 # config.status only pays attention to the cache file if you give it
31439 # the --recheck option to rerun configure.
31441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31443 # following values.
31447 # The following way of writing the cache mishandles newlines in values,
31448 # but we know of no workaround that is simple, portable, and efficient.
31449 # So, we kill variables containing newlines.
31450 # Ultrix sh set writes to stderr and can't be redirected directly,
31451 # and sets the high bit in the cache file unless we assign to the vars.
31453 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31454 eval ac_val
=\$
$ac_var
31458 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31462 _ | IFS | as_nl
) ;; #(
31463 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31464 *) { eval $ac_var=; unset $ac_var;} ;;
31470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31471 *${as_nl}ac_space
=\
*)
31472 # `set' does not quote correctly, so add quotes: double-quote
31473 # substitution turns \\\\ into \\, and sed turns \\ into \.
31476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31479 # `set' quotes correctly as required by POSIX, so do not add quotes.
31480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31493 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31494 if test -w "$cache_file"; then
31495 if test "x$cache_file" != "x/dev/null"; then
31496 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31497 $as_echo "$as_me: updating cache $cache_file" >&6;}
31498 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31499 cat confcache
>"$cache_file"
31501 case $cache_file in #(
31503 mv -f confcache
"$cache_file"$$
&&
31504 mv -f "$cache_file"$$
"$cache_file" ;; #(
31506 mv -f confcache
"$cache_file" ;;
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31517 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31518 # Let make expand exec_prefix.
31519 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31521 DEFS
=-DHAVE_CONFIG_H
31526 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31527 # 1. Remove the extension, and $U if already installed.
31528 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31529 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31531 # will be set to the directory where LIBOBJS objects are built.
31532 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31533 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31535 LIBOBJS
=$ac_libobjs
31537 LTLIBOBJS
=$ac_ltlibobjs
31540 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
31541 as_fn_error $?
"conditional \"onestep\" was never defined.
31542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31545 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31546 if test -n "$am_sleep_pid"; then
31547 # Hide warnings about reused PIDs.
31548 wait $am_sleep_pid 2>/dev
/null
31550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31551 $as_echo "done" >&6; }
31552 if test -n "$EXEEXT"; then
31554 am__EXEEXT_FALSE
='#'
31556 am__EXEEXT_TRUE
='#'
31560 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31561 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31564 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31565 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31568 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31569 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31573 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31576 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31577 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31580 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31581 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31584 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31585 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31588 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31589 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31592 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31593 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31596 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31597 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31600 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31601 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31604 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31605 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31608 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31609 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31613 : "${CONFIG_STATUS=./config.status}"
31615 ac_clean_files_save
=$ac_clean_files
31616 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31618 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31620 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31622 # Generated by $as_me.
31623 # Run this file to recreate the current configuration.
31624 # Compiler output produced by configure, useful for debugging
31625 # configure, is in config.log if it exists.
31628 ac_cs_recheck=false
31631 SHELL=\${CONFIG_SHELL-$SHELL}
31634 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31635 ## -------------------- ##
31636 ## M4sh Initialization. ##
31637 ## -------------------- ##
31639 # Be more Bourne compatible
31640 DUALCASE
=1; export DUALCASE
# for MKS sh
31641 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31644 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31645 # is contrary to our usage. Disable this feature.
31646 alias -g '${1+"$@"}'='"$@"'
31647 setopt NO_GLOB_SUBST
31649 case `(set -o) 2>/dev/null` in #(
31661 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31662 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31663 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31664 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31665 # Prefer a ksh shell builtin over an external printf program on Solaris,
31666 # but without wasting forks for bash or zsh.
31667 if test -z "$BASH_VERSION$ZSH_VERSION" \
31668 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31669 as_echo='print
-r --'
31670 as_echo_n='print
-rn --'
31671 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31672 as_echo='printf %s
\n'
31673 as_echo_n='printf %s
'
31675 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31676 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31677 as_echo_n='/usr
/ucb
/echo -n'
31679 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31680 as_echo_n_body='eval
31684 expr "X$arg" : "X\\(.*\\)$as_nl";
31685 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31687 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31689 export as_echo_n_body
31690 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31692 export as_echo_body
31693 as_echo='sh
-c $as_echo_body as_echo
'
31696 # The user is always right.
31697 if test "${PATH_SEPARATOR+set}" != set; then
31699 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31700 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31707 # We need space, tab and new line, in precisely that order. Quoting is
31708 # there to prevent editors from complaining about space-tab.
31709 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31710 # splitting by setting IFS to empty value.)
31713 # Find who we are. Look in the path if we contain no directory separator.
31716 *[\\/]* ) as_myself=$0 ;;
31717 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31718 for as_dir in $PATH
31721 test -z "$as_dir" && as_dir=.
31722 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31728 # We did not find ourselves, most probably we were run as `sh COMMAND'
31729 # in which case we are not to be found in the path.
31730 if test "x$as_myself" = x
; then
31733 if test ! -f "$as_myself"; then
31734 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31738 # Unset variables that we do not need and which cause bugs (e.g. in
31739 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31740 # suppresses any "Segmentation fault" message there. '((' could
31741 # trigger a bug in pdksh 5.2.14.
31742 for as_var
in BASH_ENV ENV MAIL MAILPATH
31743 do eval test x\
${$as_var+set} = xset \
31744 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31757 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31760 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31761 # ----------------------------------------
31762 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31763 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31764 # script with STATUS, using 1 if that was 0.
31767 as_status
=$1; test $as_status -eq 0 && as_status
=1
31769 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31770 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31772 $as_echo "$as_me: error: $2" >&2
31773 as_fn_exit
$as_status
31777 # as_fn_set_status STATUS
31778 # -----------------------
31779 # Set $? to STATUS, without forking.
31780 as_fn_set_status
()
31783 } # as_fn_set_status
31785 # as_fn_exit STATUS
31786 # -----------------
31787 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31791 as_fn_set_status
$1
31797 # Portably unset VAR.
31800 { eval $1=; unset $1;}
31802 as_unset
=as_fn_unset
31803 # as_fn_append VAR VALUE
31804 # ----------------------
31805 # Append the text in VALUE to the end of the definition contained in VAR. Take
31806 # advantage of any shell optimizations that allow amortized linear growth over
31807 # repeated appends, instead of the typical quadratic growth present in naive
31809 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31810 eval 'as_fn_append ()
31821 # as_fn_arith ARG...
31822 # ------------------
31823 # Perform arithmetic evaluation on the ARGs, and store the result in the
31824 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31825 # must be portable across $(()) and expr.
31826 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31827 eval 'as_fn_arith ()
31834 as_val
=`expr "$@" || test $? -eq 1`
31839 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31840 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31846 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31847 as_basename
=basename
31852 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31858 as_me
=`$as_basename -- "$0" ||
31859 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31860 X"$0" : 'X\(//\)$' \| \
31861 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31863 sed '/^.*\/\([^/][^/]*\)\/*$/{
31877 # Avoid depending upon Character Ranges.
31878 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31879 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31880 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31881 as_cr_digits
='0123456789'
31882 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31884 ECHO_C
= ECHO_N
= ECHO_T
=
31885 case `echo -n x` in #(((((
31887 case `echo 'xy\c'` in
31888 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31890 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
31897 rm -f conf$$ conf$$.exe conf$$.
file
31898 if test -d conf$$.dir
; then
31899 rm -f conf$$.dir
/conf$$.
file
31902 mkdir conf$$.dir
2>/dev
/null
31904 if (echo >conf$$.
file) 2>/dev
/null
; then
31905 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31907 # ... but there are two gotchas:
31908 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31909 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31910 # In both cases, we have to default to `cp -pR'.
31911 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31913 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31921 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31922 rmdir conf$$.dir
2>/dev
/null
31927 # Create "$as_dir" as a directory, including parents if necessary.
31932 -*) as_dir
=.
/$as_dir;;
31934 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
31938 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31939 *) as_qdir
=$as_dir;;
31941 as_dirs
="'$as_qdir' $as_dirs"
31942 as_dir
=`$as_dirname -- "$as_dir" ||
31943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31944 X"$as_dir" : 'X\(//\)[^/]' \| \
31945 X"$as_dir" : 'X\(//\)$' \| \
31946 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31947 $as_echo X"$as_dir" |
31948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31952 /^X\(\/\/\)[^/].*/{
31965 test -d "$as_dir" && break
31967 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31968 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
31972 if mkdir
-p .
2>/dev
/null
; then
31973 as_mkdir_p
='mkdir -p "$as_dir"'
31975 test -d .
/-p && rmdir .
/-p
31980 # as_fn_executable_p FILE
31981 # -----------------------
31982 # Test if FILE is an executable regular file.
31983 as_fn_executable_p
()
31985 test -f "$1" && test -x "$1"
31986 } # as_fn_executable_p
31987 as_test_x
='test -x'
31988 as_executable_p
=as_fn_executable_p
31990 # Sed expression to map a string onto a valid CPP name.
31991 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31993 # Sed expression to map a string onto a valid variable name.
31994 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31998 ## ----------------------------------- ##
31999 ## Main body of $CONFIG_STATUS script. ##
32000 ## ----------------------------------- ##
32002 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
32004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32005 # Save the log message, to keep $0 and so on meaningful, and to
32006 # report actual input values of CONFIG_FILES etc. instead of their
32007 # values after options handling.
32009 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32010 generated by GNU Autoconf 2.69. Invocation command line was
32012 CONFIG_FILES = $CONFIG_FILES
32013 CONFIG_HEADERS = $CONFIG_HEADERS
32014 CONFIG_LINKS = $CONFIG_LINKS
32015 CONFIG_COMMANDS = $CONFIG_COMMANDS
32018 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32023 case $ac_config_files in *"
32024 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
32027 case $ac_config_headers in *"
32028 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
32032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32033 # Files that config.status was made for.
32034 config_files="$ac_config_files"
32035 config_headers="$ac_config_headers"
32036 config_commands="$ac_config_commands"
32040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32042 \`$as_me' instantiates files and other configuration actions
32043 from templates according to the current configuration. Unless the files
32044 and actions are specified as TAGs, all are instantiated by default.
32046 Usage: $0 [OPTION]... [TAG]...
32048 -h, --help print this help, then exit
32049 -V, --version print version number and configuration settings, then exit
32050 --config print configuration, then exit
32051 -q, --quiet, --silent
32052 do not print progress messages
32053 -d, --debug don't remove temporary files
32054 --recheck update $as_me by reconfiguring in the same conditions
32055 --file=FILE[:TEMPLATE]
32056 instantiate the configuration file FILE
32057 --header=FILE[:TEMPLATE]
32058 instantiate the configuration header FILE
32060 Configuration files:
32063 Configuration headers:
32066 Configuration commands:
32069 Report bugs to the package provider.
32070 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32071 General help using GNU software: <http://www.gnu.org/gethelp/>."
32074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32075 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32077 GNU Fortran Runtime Library config.status 0.3
32078 configured by $0, generated by GNU Autoconf 2.69,
32079 with options \\"\$ac_cs_config\\"
32081 Copyright (C) 2012 Free Software Foundation, Inc.
32082 This config.status script is free software; the Free Software Foundation
32083 gives unlimited permission to copy, distribute and modify it."
32090 test -n "\$AWK" || AWK=awk
32093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32094 # The default lists apply if the user does not specify any file.
32100 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32101 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32105 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32117 # Handling of the options.
32118 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32120 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32121 $as_echo "$ac_cs_version"; exit ;;
32122 --config |
--confi |
--conf |
--con |
--co |
--c )
32123 $as_echo "$ac_cs_config"; exit ;;
32124 --debug |
--debu |
--deb |
--de |
--d |
-d )
32126 --file |
--fil |
--fi |
--f )
32129 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32130 '') as_fn_error $?
"missing file argument" ;;
32132 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32133 ac_need_defaults
=false
;;
32134 --header |
--heade |
--head |
--hea )
32137 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32139 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32140 ac_need_defaults
=false
;;
32142 # Conflict between --help and --header
32143 as_fn_error $?
"ambiguous option: \`$1'
32144 Try \`$0 --help' for more information.";;
32145 --help |
--hel |
-h )
32146 $as_echo "$ac_cs_usage"; exit ;;
32147 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32148 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32151 # This is an error.
32152 -*) as_fn_error $?
"unrecognized option: \`$1'
32153 Try \`$0 --help' for more information." ;;
32155 *) as_fn_append ac_config_targets
" $1"
32156 ac_need_defaults
=false
;;
32162 ac_configure_extra_args
=
32164 if $ac_cs_silent; then
32166 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32171 if \$ac_cs_recheck; then
32172 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32174 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32175 CONFIG_SHELL='$SHELL'
32176 export CONFIG_SHELL
32181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32185 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32186 ## Running $as_me. ##
32192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32200 with_multisubdir="$with_multisubdir"
32201 with_multisrctop="$with_multisrctop"
32202 with_target_subdir="$with_target_subdir"
32203 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32204 multi_basedir="$multi_basedir"
32205 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32208 GFORTRAN="$GFORTRAN"
32210 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32213 # The HP-UX ksh and POSIX shell print the target directory to stdout
32214 # if CDPATH is set.
32215 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32217 sed_quote_subst='$sed_quote_subst'
32218 double_quote_subst='$double_quote_subst'
32219 delay_variable_subst='$delay_variable_subst'
32220 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32221 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32222 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32223 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32224 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32225 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32226 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32227 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32228 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32229 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32230 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32231 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32232 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32233 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32234 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32235 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32236 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32237 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32238 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32239 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32240 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32241 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32242 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32243 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32244 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32245 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32246 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32247 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32248 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32249 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32250 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32251 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32252 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32253 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32254 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32255 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32256 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32257 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32258 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32259 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32260 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32261 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32262 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32263 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32264 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32265 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32266 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32267 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32268 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"`'
32269 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32270 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32271 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32272 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32273 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32274 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32275 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32276 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32277 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32278 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32279 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32280 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32281 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32282 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32283 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32284 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32285 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32286 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32287 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32288 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32289 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32290 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32291 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32292 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32293 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32294 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32295 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32296 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32297 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32298 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32299 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32300 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32301 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32302 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32303 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32304 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32305 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32306 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32307 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32308 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32309 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32310 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32311 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32312 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32313 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32314 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32315 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32316 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32317 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32318 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32319 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32320 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32321 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32322 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32323 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32324 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32325 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32326 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32327 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32328 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32329 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32330 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32331 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32332 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32333 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32334 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32335 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32336 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32337 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32338 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32339 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32340 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32341 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32342 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32343 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32344 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32345 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32346 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32347 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32348 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32349 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32350 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32351 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32352 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32353 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32354 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32355 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32356 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32357 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32358 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32359 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32360 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32361 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32362 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32363 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32364 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32365 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32366 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32367 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32368 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32369 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32370 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32371 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32372 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32373 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32374 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32375 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32376 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32377 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32378 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32379 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32380 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32381 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32382 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32383 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32384 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32385 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32386 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32387 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32388 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32389 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32390 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32391 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32392 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32393 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32394 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32397 LTCFLAGS='$LTCFLAGS'
32398 compiler='$compiler_DEFAULT'
32400 # A function that is used when there is no print builtin or printf.
32401 func_fallback_echo ()
32403 eval 'cat <<_LTECHO_EOF
32408 # Quote evaled strings.
32422 deplibs_check_method \
32431 lt_cv_sys_global_symbol_pipe \
32432 lt_cv_sys_global_symbol_to_cdecl \
32433 lt_cv_sys_global_symbol_to_c_name_address \
32434 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32435 lt_prog_compiler_no_builtin_flag \
32436 lt_prog_compiler_wl \
32437 lt_prog_compiler_pic \
32438 lt_prog_compiler_static \
32439 lt_cv_prog_compiler_c_o \
32447 export_dynamic_flag_spec \
32448 whole_archive_flag_spec \
32449 compiler_needs_object \
32451 allow_undefined_flag \
32452 no_undefined_flag \
32453 hardcode_libdir_flag_spec \
32454 hardcode_libdir_flag_spec_ld \
32455 hardcode_libdir_separator \
32460 variables_saved_for_relink \
32462 library_names_spec \
32464 install_override_mode \
32468 compiler_lib_search_dirs \
32473 compiler_lib_search_path \
32477 lt_prog_compiler_no_builtin_flag_FC \
32478 lt_prog_compiler_wl_FC \
32479 lt_prog_compiler_pic_FC \
32480 lt_prog_compiler_static_FC \
32481 lt_cv_prog_compiler_c_o_FC \
32482 export_dynamic_flag_spec_FC \
32483 whole_archive_flag_spec_FC \
32484 compiler_needs_object_FC \
32486 allow_undefined_flag_FC \
32487 no_undefined_flag_FC \
32488 hardcode_libdir_flag_spec_FC \
32489 hardcode_libdir_flag_spec_ld_FC \
32490 hardcode_libdir_separator_FC \
32491 fix_srcfile_path_FC \
32492 exclude_expsyms_FC \
32493 include_expsyms_FC \
32494 file_list_spec_FC \
32495 compiler_lib_search_dirs_FC \
32496 predep_objects_FC \
32497 postdep_objects_FC \
32500 compiler_lib_search_path_FC; do
32501 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32502 *[\\\\\\\`\\"\\\$]*)
32503 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32506 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32511 # Double-quote double-evaled strings.
32512 for var in reload_cmds \
32513 old_postinstall_cmds \
32514 old_postuninstall_cmds \
32516 extract_expsyms_cmds \
32517 old_archive_from_new_cmds \
32518 old_archive_from_expsyms_cmds \
32520 archive_expsym_cmds \
32522 module_expsym_cmds \
32523 export_symbols_cmds \
32526 postuninstall_cmds \
32528 sys_lib_search_path_spec \
32529 sys_lib_dlsearch_path_spec \
32531 old_archive_cmds_FC \
32532 old_archive_from_new_cmds_FC \
32533 old_archive_from_expsyms_cmds_FC \
32535 archive_expsym_cmds_FC \
32537 module_expsym_cmds_FC \
32538 export_symbols_cmds_FC \
32539 prelink_cmds_FC; do
32540 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32541 *[\\\\\\\`\\"\\\$]*)
32542 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32545 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32550 ac_aux_dir='$ac_aux_dir'
32551 xsi_shell='$xsi_shell'
32552 lt_shell_append='$lt_shell_append'
32554 # See if we are running on zsh, and set the options which allow our
32555 # commands through without removal of \ escapes INIT.
32556 if test -n "\${ZSH_VERSION+set}" ; then
32557 setopt NO_GLOB_SUBST
32563 TIMESTAMP='$TIMESTAMP'
32574 acx_cv_header_stdint="$acx_cv_header_stdint"
32575 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32576 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32577 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32578 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32579 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32580 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32581 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32582 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32583 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32584 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32585 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32586 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32587 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32594 # Handling of arguments.
32595 for ac_config_target
in $ac_config_targets
32597 case $ac_config_target in
32598 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32599 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32600 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32601 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32602 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32603 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32604 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32606 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32611 # If the user did not use the arguments to specify the items to instantiate,
32612 # then the envvar interface is used. Set only those that are not.
32613 # We use the long form for the default assignment because of an extremely
32614 # bizarre bug on SunOS 4.1.3.
32615 if $ac_need_defaults; then
32616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32617 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32618 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32621 # Have a temporary directory for convenience. Make it in the build tree
32622 # simply because there is no reason against having it here, and in addition,
32623 # creating and moving files from /tmp can sometimes cause problems.
32624 # Hook for its removal unless debugging.
32625 # Note that there is a small window in which the directory will not be cleaned:
32626 # after its creation but before its name has been assigned to `$tmp'.
32630 trap 'exit_status=$?
32631 : "${ac_tmp:=$tmp}"
32632 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32634 trap 'as_fn_exit 1' 1 2 13 15
32636 # Create a (secure) tmp directory for tmp files.
32639 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32643 tmp
=.
/conf$$
-$RANDOM
32644 (umask 077 && mkdir
"$tmp")
32645 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32648 # Set up the scripts for CONFIG_FILES section.
32649 # No need to generate them if there are no CONFIG_FILES.
32650 # This happens for instance with `./config.status config.h'.
32651 if test -n "$CONFIG_FILES"; then
32654 ac_cr
=`echo X | tr X '\015'`
32655 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32656 # But we know of no other shell where ac_cr would be empty at this
32657 # point, so we can use a bashism as a fallback.
32658 if test "x$ac_cr" = x
; then
32659 eval ac_cr
=\$
\'\\r
\'
32661 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32662 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32665 ac_cs_awk_cr
=$ac_cr
32668 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32673 echo "cat >conf$$subs.awk <<_ACEOF" &&
32674 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32676 } >conf$$subs.sh ||
32677 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32678 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32680 for ac_last_try in false false false false false :; do
32681 . ./conf$$subs.sh ||
32682 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32684 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32685 if test $ac_delim_n = $ac_delim_num; then
32687 elif $ac_last_try; then
32688 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32690 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32693 rm -f conf$$subs.sh
32695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32696 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32700 s/^/S["/; s
/!.
*/"]=/
32710 s/\(.\{148\}\)..*/\1/
32712 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32717 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32724 s/\(.\{148\}\)..*/\1/
32726 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32730 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32735 ' <conf$$subs.awk | sed '
32740 ' >>$CONFIG_STATUS || ac_write_fail=1
32741 rm -f conf$$subs.awk
32742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32744 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32745 for (key in S) S_is_set[key] = 1
32751 nfields = split(line, field, "@
")
32753 len = length(field[1])
32754 for (i = 2; i < nfields; i++) {
32756 keylen = length(key)
32757 if (S_is_set[key]) {
32759 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32760 len += length(value) + length(field[++i])
32771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32772 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32773 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32776 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32777 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32780 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32781 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32782 # trailing colons and then remove the whole line if VPATH becomes empty
32783 # (actually we leave an empty line to preserve line numbers).
32784 if test "x
$srcdir" = x.; then
32785 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32804 fi # test -n "$CONFIG_FILES"
32806 # Set up the scripts for CONFIG_HEADERS section.
32807 # No need to generate them if there are no CONFIG_HEADERS.
32808 # This happens for instance with `./config.status Makefile'.
32809 if test -n "$CONFIG_HEADERS"; then
32810 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32814 # Transform confdefs.h into an awk script `defines.awk', embedded as
32815 # here-document in config.status, that substitutes the proper values into
32816 # config.h.in to produce config.h.
32818 # Create a delimiter string that does not exist in confdefs.h, to ease
32819 # handling of long lines.
32821 for ac_last_try in false false :; do
32822 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32823 if test -z "$ac_tt"; then
32825 elif $ac_last_try; then
32826 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32828 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32832 # For the awk script, D is an array of macro values keyed by name,
32833 # likewise P contains macro parameters if any. Preserve backslash
32834 # newline sequences.
32836 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32838 s/.\{148\}/&'"$ac_delim"'/g
32841 s/^[ ]*#[ ]*define[ ][ ]*/ /
32848 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32850 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32855 D["\
1"]=" \
3\\\\\\n
"\\/p
32857 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32862 s/.\{148\}/&'"$ac_delim"'/g
32867 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32870 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32872 ' <confdefs.h | sed '
32873 s/'"$ac_delim"'/"\\\
32874 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32877 for (key in D) D_is_set[key] = 1
32880 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32882 split(line, arg, " ")
32883 if (arg[1] == "#") {
32887 defundef
= substr
(arg
[1], 2)
32890 split(mac1
, mac2
, "(") #)
32892 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32893 if (D_is_set
[macro
]) {
32894 # Preserve the white space surrounding the "#".
32895 print prefix
"define", macro P
[macro
] D
[macro
]
32898 # Replace #undef with comments. This is necessary, for example,
32899 # in the case of _POSIX_SOURCE, which is predefined and required
32900 # on some systems where configure will not decide to define it.
32901 if (defundef
== "undef") {
32902 print
"/*", prefix defundef
, macro
, "*/"
32910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32911 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
32912 fi # test -n "$CONFIG_HEADERS"
32915 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32920 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32922 case $ac_mode$ac_tag in
32924 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
32925 :[FH
]-) ac_tag
=-:-;;
32926 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32943 -) ac_f
="$ac_tmp/stdin";;
32944 *) # Look for the file first in the build tree, then in the source tree
32945 # (if the path is not absolute). The absolute path cannot be DOS-style,
32946 # because $ac_f cannot contain `:'.
32950 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32952 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32954 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32955 as_fn_append ac_file_inputs
" '$ac_f'"
32958 # Let's still pretend it is `configure' which instantiates (i.e., don't
32959 # use $as_me), people would be surprised to read:
32960 # /* config.h. Generated by config.status. */
32961 configure_input
='Generated from '`
32962 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32964 if test x
"$ac_file" != x-
; then
32965 configure_input
="$ac_file. $configure_input"
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32967 $as_echo "$as_me: creating $ac_file" >&6;}
32969 # Neutralize special characters interpreted by sed in replacement strings.
32970 case $configure_input in #(
32971 *\
&* |
*\|
* |
*\\* )
32972 ac_sed_conf_input
=`$as_echo "$configure_input" |
32973 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32974 *) ac_sed_conf_input
=$configure_input;;
32978 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
32979 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
32984 ac_dir
=`$as_dirname -- "$ac_file" ||
32985 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32986 X"$ac_file" : 'X\(//\)[^/]' \| \
32987 X"$ac_file" : 'X\(//\)$' \| \
32988 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32989 $as_echo X"$ac_file" |
32990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32994 /^X\(\/\/\)[^/].*/{
33007 as_dir
="$ac_dir"; as_fn_mkdir_p
33011 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33013 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33014 # A ".." for each directory in $ac_dir_suffix.
33015 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33016 case $ac_top_builddir_sub in
33017 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33018 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
33021 ac_abs_top_builddir
=$ac_pwd
33022 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
33023 # for backward compatibility:
33024 ac_top_builddir
=$ac_top_build_prefix
33027 .
) # We are building in place.
33029 ac_top_srcdir
=$ac_top_builddir_sub
33030 ac_abs_top_srcdir
=$ac_pwd ;;
33031 [\\/]* | ?
:[\\/]* ) # Absolute name.
33032 ac_srcdir
=$srcdir$ac_dir_suffix;
33033 ac_top_srcdir
=$srcdir
33034 ac_abs_top_srcdir
=$srcdir ;;
33035 *) # Relative name.
33036 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33037 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33038 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33040 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33050 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33051 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33053 ac_MKDIR_P
=$MKDIR_P
33055 [\\/$
]* | ?
:[\\/]* ) ;;
33056 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
33060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33061 # If the template does not know about datarootdir, expand it.
33062 # FIXME: This hack should be removed a few years after 2.60.
33063 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33074 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33075 *datarootdir
*) ac_datarootdir_seen
=yes;;
33076 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33078 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33081 ac_datarootdir_hack='
33082 s&@datadir@&$datadir&g
33083 s&@docdir@&$docdir&g
33084 s&@infodir@&$infodir&g
33085 s&@localedir@&$localedir&g
33086 s&@mandir@&$mandir&g
33087 s&\\\${datarootdir}&$datarootdir&g' ;;
33091 # Neutralize VPATH when `$srcdir' = `.'.
33092 # Shell code in configure.ac might set extrasub.
33093 # FIXME: do we really want to maintain this feature?
33094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33095 ac_sed_extra="$ac_vpsub
33098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33100 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33101 s|@configure_input@|
$ac_sed_conf_input|
;t t
33102 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33103 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33104 s
&@srcdir@
&$ac_srcdir&;t t
33105 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33106 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33107 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33108 s
&@builddir@
&$ac_builddir&;t t
33109 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33110 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33111 s
&@INSTALL@
&$ac_INSTALL&;t t
33112 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33113 $ac_datarootdir_hack
33115 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33116 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33118 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33119 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33120 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33121 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33123 which seems to be undefined. Please make sure it is defined" >&5
33124 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33125 which seems to be undefined. Please make sure it is defined" >&2;}
33127 rm -f "$ac_tmp/stdin"
33129 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33130 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33138 if test x"$ac_file" != x-; then
33140 $as_echo "/* $configure_input */" \
33141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33142 } >"$ac_tmp/config.h" \
33143 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33144 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33145 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33146 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33149 mv "$ac_tmp/config.h" "$ac_file" \
33150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33153 $as_echo "/* $configure_input */" \
33154 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33155 || as_fn_error $? "could not create -" "$LINENO" 5
33157 # Compute "$ac_file"'s index
in $config_headers.
33160 for _am_header
in $config_headers :; do
33161 case $_am_header in
33162 $_am_arg |
$_am_arg:* )
33165 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33168 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33169 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33170 X"$_am_arg" : 'X\(//\)[^/]' \| \
33171 X"$_am_arg" : 'X\(//\)$' \| \
33172 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33173 $as_echo X"$_am_arg" |
33174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33178 /^X\(\/\/\)[^/].*/{
33190 s/.*/./; q'`/stamp-h
$_am_stamp_count
33193 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33194 $as_echo "$as_me: executing $ac_file commands" >&6;}
33199 case $ac_file$ac_mode in
33201 # Only add multilib support code if we just rebuilt the top-level
33203 case " $CONFIG_FILES " in
33205 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33208 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33209 # Older Autoconf quotes --file arguments for eval, but not when files
33210 # are listed without --file. Let's play safe and only enable the eval
33211 # if we detect the quoting.
33212 case $CONFIG_FILES in
33213 *\'*) eval set x
"$CONFIG_FILES" ;;
33214 *) set x
$CONFIG_FILES ;;
33219 # Strip MF so we end up with the name of the file.
33220 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33221 # Check whether this is an Automake generated Makefile or not.
33222 # We used to match only the files named 'Makefile.in', but
33223 # some people rename them; so instead we look at the file content.
33224 # Grep'ing the first line is not enough: some people post-process
33225 # each Makefile.in and add a new line on top of each file to say so.
33226 # Grep'ing the whole file is not good either: AIX grep has a line
33227 # limit of 2048, but all sed's we know have understand at least 4000.
33228 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33229 dirpart
=`$as_dirname -- "$mf" ||
33230 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33231 X"$mf" : 'X\(//\)[^/]' \| \
33232 X"$mf" : 'X\(//\)$' \| \
33233 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33239 /^X\(\/\/\)[^/].*/{
33255 # Extract the definition of DEPDIR, am__include, and am__quote
33256 # from the Makefile without running 'make'.
33257 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33258 test -z "$DEPDIR" && continue
33259 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33260 test -z "$am__include" && continue
33261 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33262 # Find all dependency output files, they are included files with
33263 # $(DEPDIR) in their names. We invoke sed twice because it is the
33264 # simplest approach to changing $(DEPDIR) to its actual value in the
33266 for file in `sed -n "
33267 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33268 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33269 # Make sure the directory exists.
33270 test -f "$dirpart/$file" && continue
33271 fdir
=`$as_dirname -- "$file" ||
33272 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33273 X"$file" : 'X\(//\)[^/]' \| \
33274 X"$file" : 'X\(//\)$' \| \
33275 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33276 $as_echo X"$file" |
33277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33281 /^X\(\/\/\)[^/].*/{
33294 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33295 # echo "creating $dirpart/$file"
33296 echo '# dummy' > "$dirpart/$file"
33303 # See if we are running on zsh, and set the options which allow our
33304 # commands through without removal of \ escapes.
33305 if test -n "${ZSH_VERSION+set}" ; then
33306 setopt NO_GLOB_SUBST
33309 cfgfile
="${ofile}T"
33310 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33313 cat <<_LT_EOF >> "$cfgfile"
33316 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33317 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33318 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33319 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33321 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33322 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33323 # Written by Gordon Matzigkeit, 1996
33325 # This file is part of GNU Libtool.
33327 # GNU Libtool is free software; you can redistribute it and/or
33328 # modify it under the terms of the GNU General Public License as
33329 # published by the Free Software Foundation; either version 2 of
33330 # the License, or (at your option) any later version.
33332 # As a special exception to the GNU General Public License,
33333 # if you distribute this file as part of a program or library that
33334 # is built using GNU Libtool, you may include this file under the
33335 # same distribution terms that you use for the rest of that program.
33337 # GNU Libtool is distributed in the hope that it will be useful,
33338 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33339 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33340 # GNU General Public License for more details.
33342 # You should have received a copy of the GNU General Public License
33343 # along with GNU Libtool; see the file COPYING. If not, a copy
33344 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33345 # obtained by writing to the Free Software Foundation, Inc.,
33346 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33349 # The names of the tagged configurations supported by this script.
33350 available_tags="FC "
33352 # ### BEGIN LIBTOOL CONFIG
33354 # A sed program that does not truncate output.
33357 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33358 Xsed="\$SED -e 1s/^X//"
33360 # A grep program that handles long lines.
33366 # A literal string matcher.
33369 # Shell to use when invoking shell scripts.
33372 # An echo program that protects backslashes.
33375 # Which release of libtool.m4 was used?
33376 macro_version=$macro_version
33377 macro_revision=$macro_revision
33379 # Whether or not to build shared libraries.
33380 build_libtool_libs=$enable_shared
33382 # Whether or not to build static libraries.
33383 build_old_libs=$enable_static
33385 # What type of objects to build.
33388 # Whether or not to optimize for fast installation.
33389 fast_install=$enable_fast_install
33392 host_alias=$host_alias
33396 # The build system.
33397 build_alias=$build_alias
33401 # A BSD- or MS-compatible name lister.
33404 # Whether we need soft or hard links.
33407 # What is the maximum length of a command?
33408 max_cmd_len=$max_cmd_len
33410 # Object file suffix (normally "o").
33413 # Executable file suffix (normally "").
33416 # whether the shell understands "unset".
33419 # turn spaces into newlines.
33422 # turn newlines into spaces.
33425 # An object symbol dumper.
33426 OBJDUMP=$lt_OBJDUMP
33428 # Method to check whether dependent libraries are shared objects.
33429 deplibs_check_method=$lt_deplibs_check_method
33431 # Command to use when deplibs_check_method == "file_magic".
33432 file_magic_cmd=$lt_file_magic_cmd
33436 AR_FLAGS=$lt_AR_FLAGS
33438 # A symbol stripping program.
33441 # Commands used to install an old-style archive.
33443 old_postinstall_cmds=$lt_old_postinstall_cmds
33444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33446 # Whether to use a lock for old archive extraction.
33447 lock_old_archive_extraction=$lock_old_archive_extraction
33452 # LTCC compiler flags.
33453 LTCFLAGS=$lt_CFLAGS
33455 # Take the output of nm and produce a listing of raw symbols and C names.
33456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33458 # Transform the output of nm in a proper C declaration.
33459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33461 # Transform the output of nm in a C name address pair.
33462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33464 # Transform the output of nm in a C name address pair when lib prefix is needed.
33465 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33467 # The name of the directory that contains temporary libtool files.
33470 # Used to examine libraries when file_magic_cmd begins with "file".
33471 MAGIC_CMD=$MAGIC_CMD
33473 # Must we lock files when doing compilation?
33474 need_locks=$lt_need_locks
33476 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33477 DSYMUTIL=$lt_DSYMUTIL
33479 # Tool to change global to local symbols on Mac OS X.
33482 # Tool to manipulate fat objects and archives on Mac OS X.
33485 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33488 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33489 OTOOL64=$lt_OTOOL64
33491 # Old archive suffix (normally "a").
33494 # Shared library suffix (normally ".so").
33495 shrext_cmds=$lt_shrext_cmds
33497 # The commands to extract the exported symbol list from a shared archive.
33498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33500 # Variables whose values should be saved in libtool wrapper scripts and
33501 # restored at link time.
33502 variables_saved_for_relink=$lt_variables_saved_for_relink
33504 # Do we need the "lib" prefix for modules?
33505 need_lib_prefix=$need_lib_prefix
33507 # Do we need a version for libraries?
33508 need_version=$need_version
33510 # Library versioning type.
33511 version_type=$version_type
33513 # Shared library runtime path variable.
33514 runpath_var=$runpath_var
33516 # Shared library path variable.
33517 shlibpath_var=$shlibpath_var
33519 # Is shlibpath searched before the hard-coded library search path?
33520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33522 # Format of library name prefix.
33523 libname_spec=$lt_libname_spec
33525 # List of archive names. First name is the real one, the rest are links.
33526 # The last name is the one that the linker finds with -lNAME
33527 library_names_spec=$lt_library_names_spec
33529 # The coded name of the library, if different from the real name.
33530 soname_spec=$lt_soname_spec
33532 # Permission mode override for installation of shared libraries.
33533 install_override_mode=$lt_install_override_mode
33535 # Command to use after installation of a shared archive.
33536 postinstall_cmds=$lt_postinstall_cmds
33538 # Command to use after uninstallation of a shared archive.
33539 postuninstall_cmds=$lt_postuninstall_cmds
33541 # Commands used to finish a libtool library installation in a directory.
33542 finish_cmds=$lt_finish_cmds
33544 # As "finish_cmds", except a single script fragment to be evaled but
33546 finish_eval=$lt_finish_eval
33548 # Whether we should hardcode library paths into libraries.
33549 hardcode_into_libs=$hardcode_into_libs
33551 # Compile-time system search path for libraries.
33552 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33554 # Run-time system search path for libraries.
33555 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33557 # Whether dlopen is supported.
33558 dlopen_support=$enable_dlopen
33560 # Whether dlopen of programs is supported.
33561 dlopen_self=$enable_dlopen_self
33563 # Whether dlopen of statically linked programs is supported.
33564 dlopen_self_static=$enable_dlopen_self_static
33566 # Commands to strip libraries.
33567 old_striplib=$lt_old_striplib
33568 striplib=$lt_striplib
33571 # The linker used to build libraries.
33574 # How to create reloadable object files.
33575 reload_flag=$lt_reload_flag
33576 reload_cmds=$lt_reload_cmds
33578 # Commands used to build an old-style archive.
33579 old_archive_cmds=$lt_old_archive_cmds
33581 # A language specific compiler.
33584 # Is the compiler the GNU compiler?
33587 # Compiler flag to turn off builtin functions.
33588 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33590 # How to pass a linker flag through the compiler.
33591 wl=$lt_lt_prog_compiler_wl
33593 # Additional compiler flags for building library objects.
33594 pic_flag=$lt_lt_prog_compiler_pic
33596 # Compiler flag to prevent dynamic linking.
33597 link_static_flag=$lt_lt_prog_compiler_static
33599 # Does compiler simultaneously support -c and -o options?
33600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33602 # Whether or not to add -lc for building shared libraries.
33603 build_libtool_need_lc=$archive_cmds_need_lc
33605 # Whether or not to disallow shared libs when runtime libs are static.
33606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33608 # Compiler flag to allow reflexive dlopens.
33609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33611 # Compiler flag to generate shared objects directly from archives.
33612 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33614 # Whether the compiler copes with passing no objects directly.
33615 compiler_needs_object=$lt_compiler_needs_object
33617 # Create an old-style archive from a shared archive.
33618 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33620 # Create a temporary old-style archive to link instead of a shared archive.
33621 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33623 # Commands used to build a shared archive.
33624 archive_cmds=$lt_archive_cmds
33625 archive_expsym_cmds=$lt_archive_expsym_cmds
33627 # Commands used to build a loadable module if different from building
33628 # a shared archive.
33629 module_cmds=$lt_module_cmds
33630 module_expsym_cmds=$lt_module_expsym_cmds
33632 # Whether we are building with GNU ld or not.
33633 with_gnu_ld=$lt_with_gnu_ld
33635 # Flag that allows shared libraries with undefined symbols to be built.
33636 allow_undefined_flag=$lt_allow_undefined_flag
33638 # Flag that enforces no undefined symbols.
33639 no_undefined_flag=$lt_no_undefined_flag
33641 # Flag to hardcode \$libdir into a binary during linking.
33642 # This must work even if \$libdir does not exist
33643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33645 # If ld is used when linking, flag to hardcode \$libdir into a binary
33646 # during linking. This must work even if \$libdir does not exist.
33647 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33649 # Whether we need a single "-rpath" flag with a separated argument.
33650 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33652 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33653 # DIR into the resulting binary.
33654 hardcode_direct=$hardcode_direct
33656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33657 # DIR into the resulting binary and the resulting library dependency is
33658 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33659 # library is relocated.
33660 hardcode_direct_absolute=$hardcode_direct_absolute
33662 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33663 # into the resulting binary.
33664 hardcode_minus_L=$hardcode_minus_L
33666 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33667 # into the resulting binary.
33668 hardcode_shlibpath_var=$hardcode_shlibpath_var
33670 # Set to "yes" if building a shared library automatically hardcodes DIR
33671 # into the library and all subsequent libraries and executables linked
33673 hardcode_automatic=$hardcode_automatic
33675 # Set to yes if linker adds runtime paths of dependent libraries
33676 # to runtime path list.
33677 inherit_rpath=$inherit_rpath
33679 # Whether libtool must link a program against all its dependency libraries.
33680 link_all_deplibs=$link_all_deplibs
33682 # Fix the shell variable \$srcfile for the compiler.
33683 fix_srcfile_path=$lt_fix_srcfile_path
33685 # Set to "yes" if exported symbols are required.
33686 always_export_symbols=$always_export_symbols
33688 # The commands to list exported symbols.
33689 export_symbols_cmds=$lt_export_symbols_cmds
33691 # Symbols that should not be listed in the preloaded symbols.
33692 exclude_expsyms=$lt_exclude_expsyms
33694 # Symbols that must always be exported.
33695 include_expsyms=$lt_include_expsyms
33697 # Commands necessary for linking programs (against libraries) with templates.
33698 prelink_cmds=$lt_prelink_cmds
33700 # Specify filename containing input files.
33701 file_list_spec=$lt_file_list_spec
33703 # How to hardcode a shared library path into an executable.
33704 hardcode_action=$hardcode_action
33706 # The directories searched by this compiler when creating a shared library.
33707 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33709 # Dependencies to place before and after the objects being linked to
33710 # create a shared library.
33711 predep_objects=$lt_predep_objects
33712 postdep_objects=$lt_postdep_objects
33713 predeps=$lt_predeps
33714 postdeps=$lt_postdeps
33716 # The library search path used internally by the compiler when linking
33717 # a shared library.
33718 compiler_lib_search_path=$lt_compiler_lib_search_path
33720 # ### END LIBTOOL CONFIG
33726 cat <<\_LT_EOF
>> "$cfgfile"
33727 # AIX sometimes has problems with the GCC collect2 program. For some
33728 # reason, if we set the COLLECT_NAMES environment variable, the problems
33729 # vanish in a puff of smoke.
33730 if test "X${COLLECT_NAMES+set}" != Xset
; then
33732 export COLLECT_NAMES
33739 ltmain
="$ac_aux_dir/ltmain.sh"
33742 # We use sed instead of cat because bash on DJGPP gets confused if
33743 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33744 # text mode, it properly converts lines to CR/LF. This bash problem
33745 # is reportedly fixed, but why not run on old versions too?
33746 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33747 ||
(rm -f "$cfgfile"; exit 1)
33751 cat << \_LT_EOF
>> "$cfgfile"
33753 # func_dirname file append nondir_replacement
33754 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33755 # otherwise set result to NONDIR_REPLACEMENT.
33759 */*) func_dirname_result
="${1%/*}${2}" ;;
33760 * ) func_dirname_result
="${3}" ;;
33764 # func_basename file
33767 func_basename_result
="${1##*/}"
33770 # func_dirname_and_basename file append nondir_replacement
33771 # perform func_basename and func_dirname in a single function
33773 # dirname: Compute the dirname of FILE. If nonempty,
33774 # add APPEND to the result, otherwise set result
33775 # to NONDIR_REPLACEMENT.
33776 # value returned in "$func_dirname_result"
33777 # basename: Compute filename of FILE.
33778 # value retuned in "$func_basename_result"
33779 # Implementation must be kept synchronized with func_dirname
33780 # and func_basename. For efficiency, we do not delegate to
33781 # those functions but instead duplicate the functionality here.
33782 func_dirname_and_basename
()
33785 */*) func_dirname_result
="${1%/*}${2}" ;;
33786 * ) func_dirname_result
="${3}" ;;
33788 func_basename_result
="${1##*/}"
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).
33798 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33799 # positional parameters, so assign one to ordinary parameter first.
33800 func_stripname_result
=${3}
33801 func_stripname_result
=${func_stripname_result#"${1}"}
33802 func_stripname_result
=${func_stripname_result%"${2}"}
33808 func_opt_split_opt
=${1%%=*}
33809 func_opt_split_arg
=${1#*=}
33816 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33817 *) func_lo2o_result
=${1} ;;
33821 # func_xform libobj-or-source
33824 func_xform_result
=${1%.*}.lo
33827 # func_arith arithmetic-term...
33830 func_arith_result
=$
(( $
* ))
33834 # STRING may not start with a hyphen.
33837 func_len_result
=${#1}
33842 *) # Bourne compatible functions.
33843 cat << \_LT_EOF
>> "$cfgfile"
33845 # func_dirname file append nondir_replacement
33846 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33847 # otherwise set result to NONDIR_REPLACEMENT.
33850 # Extract subdirectory from the argument.
33851 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33852 if test "X$func_dirname_result" = "X${1}"; then
33853 func_dirname_result
="${3}"
33855 func_dirname_result
="$func_dirname_result${2}"
33859 # func_basename file
33862 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33866 # func_stripname prefix suffix name
33867 # strip PREFIX and SUFFIX off of NAME.
33868 # PREFIX and SUFFIX must not contain globbing or regex special
33869 # characters, hashes, percent signs, but SUFFIX may contain a leading
33870 # dot (in which case that matches only a dot).
33871 # func_strip_suffix prefix name
33875 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33876 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33881 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33882 my_sed_long_arg
='1s/^-[^=]*=//'
33887 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33888 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33894 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
33897 # func_xform libobj-or-source
33900 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33903 # func_arith arithmetic-term...
33906 func_arith_result
=`expr "$@"`
33910 # STRING may not start with a hyphen.
33913 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33919 case $lt_shell_append in
33921 cat << \_LT_EOF
>> "$cfgfile"
33923 # func_append var value
33924 # Append VALUE to the end of shell variable VAR.
33932 cat << \_LT_EOF
>> "$cfgfile"
33934 # func_append var value
33935 # Append VALUE to the end of shell variable VAR.
33946 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33947 ||
(rm -f "$cfgfile"; exit 1)
33949 mv -f "$cfgfile" "$ofile" ||
33950 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33954 cat <<_LT_EOF >> "$ofile"
33956 # ### BEGIN LIBTOOL TAG CONFIG: FC
33958 # The linker used to build libraries.
33961 # How to create reloadable object files.
33962 reload_flag=$lt_reload_flag_FC
33963 reload_cmds=$lt_reload_cmds_FC
33965 # Commands used to build an old-style archive.
33966 old_archive_cmds=$lt_old_archive_cmds_FC
33968 # A language specific compiler.
33971 # Is the compiler the GNU compiler?
33974 # Compiler flag to turn off builtin functions.
33975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33977 # How to pass a linker flag through the compiler.
33978 wl=$lt_lt_prog_compiler_wl_FC
33980 # Additional compiler flags for building library objects.
33981 pic_flag=$lt_lt_prog_compiler_pic_FC
33983 # Compiler flag to prevent dynamic linking.
33984 link_static_flag=$lt_lt_prog_compiler_static_FC
33986 # Does compiler simultaneously support -c and -o options?
33987 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33989 # Whether or not to add -lc for building shared libraries.
33990 build_libtool_need_lc=$archive_cmds_need_lc_FC
33992 # Whether or not to disallow shared libs when runtime libs are static.
33993 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33995 # Compiler flag to allow reflexive dlopens.
33996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33998 # Compiler flag to generate shared objects directly from archives.
33999 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34001 # Whether the compiler copes with passing no objects directly.
34002 compiler_needs_object=$lt_compiler_needs_object_FC
34004 # Create an old-style archive from a shared archive.
34005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34007 # Create a temporary old-style archive to link instead of a shared archive.
34008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34010 # Commands used to build a shared archive.
34011 archive_cmds=$lt_archive_cmds_FC
34012 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34014 # Commands used to build a loadable module if different from building
34015 # a shared archive.
34016 module_cmds=$lt_module_cmds_FC
34017 module_expsym_cmds=$lt_module_expsym_cmds_FC
34019 # Whether we are building with GNU ld or not.
34020 with_gnu_ld=$lt_with_gnu_ld_FC
34022 # Flag that allows shared libraries with undefined symbols to be built.
34023 allow_undefined_flag=$lt_allow_undefined_flag_FC
34025 # Flag that enforces no undefined symbols.
34026 no_undefined_flag=$lt_no_undefined_flag_FC
34028 # Flag to hardcode \$libdir into a binary during linking.
34029 # This must work even if \$libdir does not exist
34030 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34032 # If ld is used when linking, flag to hardcode \$libdir into a binary
34033 # during linking. This must work even if \$libdir does not exist.
34034 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34036 # Whether we need a single "-rpath" flag with a separated argument.
34037 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34039 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34040 # DIR into the resulting binary.
34041 hardcode_direct=$hardcode_direct_FC
34043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34044 # DIR into the resulting binary and the resulting library dependency is
34045 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34046 # library is relocated.
34047 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34049 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34050 # into the resulting binary.
34051 hardcode_minus_L=$hardcode_minus_L_FC
34053 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34054 # into the resulting binary.
34055 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34057 # Set to "yes" if building a shared library automatically hardcodes DIR
34058 # into the library and all subsequent libraries and executables linked
34060 hardcode_automatic=$hardcode_automatic_FC
34062 # Set to yes if linker adds runtime paths of dependent libraries
34063 # to runtime path list.
34064 inherit_rpath=$inherit_rpath_FC
34066 # Whether libtool must link a program against all its dependency libraries.
34067 link_all_deplibs=$link_all_deplibs_FC
34069 # Fix the shell variable \$srcfile for the compiler.
34070 fix_srcfile_path=$lt_fix_srcfile_path_FC
34072 # Set to "yes" if exported symbols are required.
34073 always_export_symbols=$always_export_symbols_FC
34075 # The commands to list exported symbols.
34076 export_symbols_cmds=$lt_export_symbols_cmds_FC
34078 # Symbols that should not be listed in the preloaded symbols.
34079 exclude_expsyms=$lt_exclude_expsyms_FC
34081 # Symbols that must always be exported.
34082 include_expsyms=$lt_include_expsyms_FC
34084 # Commands necessary for linking programs (against libraries) with templates.
34085 prelink_cmds=$lt_prelink_cmds_FC
34087 # Specify filename containing input files.
34088 file_list_spec=$lt_file_list_spec_FC
34090 # How to hardcode a shared library path into an executable.
34091 hardcode_action=$hardcode_action_FC
34093 # The directories searched by this compiler when creating a shared library.
34094 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34096 # Dependencies to place before and after the objects being linked to
34097 # create a shared library.
34098 predep_objects=$lt_predep_objects_FC
34099 postdep_objects=$lt_postdep_objects_FC
34100 predeps=$lt_predeps_FC
34101 postdeps=$lt_postdeps_FC
34103 # The library search path used internally by the compiler when linking
34104 # a shared library.
34105 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34107 # ### END LIBTOOL TAG CONFIG: FC
34112 if test "$GCC" = yes; then
34113 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34115 echo "/* generated for $CC */" > tmp-stdint.h
34118 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34120 #ifndef GCC_GENERATED_STDINT_H
34121 #define GCC_GENERATED_STDINT_H 1
34123 #include <sys/types.h>
34126 if test "$acx_cv_header_stdint" != stdint.h
; then
34127 echo "#include <stddef.h>" >> tmp-stdint.h
34129 if test "$acx_cv_header_stdint" != stddef.h
; then
34130 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34133 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34134 /* glibc uses these symbols as guards to prevent redefinitions. */
34135 #ifdef __int8_t_defined
34140 #ifdef __uint32_t_defined
34146 # ----------------- done header, emit basic int types -------------
34147 if test "$acx_cv_header_stdint" = stddef.h
; then
34148 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34152 #ifndef __uint8_t_defined
34153 #define __uint8_t_defined
34155 typedef unsigned $acx_cv_type_int8_t uint8_t;
34162 #ifndef __uint16_t_defined
34163 #define __uint16_t_defined
34165 typedef unsigned $acx_cv_type_int16_t uint16_t;
34172 #ifndef __uint32_t_defined
34173 #define __uint32_t_defined
34175 typedef unsigned $acx_cv_type_int32_t uint32_t;
34182 #ifndef __int8_t_defined
34183 #define __int8_t_defined
34185 typedef $acx_cv_type_int8_t int8_t;
34192 #ifndef __int16_t_defined
34193 #define __int16_t_defined
34195 typedef $acx_cv_type_int16_t int16_t;
34202 #ifndef __int32_t_defined
34203 #define __int32_t_defined
34205 typedef $acx_cv_type_int32_t int32_t;
34210 elif test "$ac_cv_type_u_int32_t" = yes; then
34211 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34213 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34226 #ifndef __uint8_t_defined
34227 #define __uint8_t_defined
34229 typedef u_int8_t uint8_t;
34236 #ifndef __uint16_t_defined
34237 #define __uint16_t_defined
34239 typedef u_int16_t uint16_t;
34246 #ifndef __uint32_t_defined
34247 #define __uint32_t_defined
34249 typedef u_int32_t uint32_t;
34255 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34257 /* Some systems have guard macros to prevent redefinitions, define them. */
34279 # ------------- done basic int types, emit int64_t types ------------
34280 if test "$ac_cv_type_uint64_t" = yes; then
34281 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34283 /* system headers have good uint64_t and int64_t */
34291 elif test "$ac_cv_type_u_int64_t" = yes; then
34292 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34294 /* system headers have an u_int64_t (and int64_t) */
34300 #ifndef __uint64_t_defined
34301 #define __uint64_t_defined
34303 typedef u_int64_t uint64_t;
34308 elif test -n "$acx_cv_type_int64_t"; then
34309 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34311 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34315 typedef $acx_cv_type_int64_t int64_t;
34320 #ifndef __uint64_t_defined
34321 #define __uint64_t_defined
34323 typedef unsigned $acx_cv_type_int64_t uint64_t;
34329 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34331 /* some common heuristics for int64_t, using compiler-specific tests */
34332 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34335 #ifndef __int64_t_defined
34337 typedef long long int64_t;
34344 typedef unsigned long long uint64_t;
34348 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34349 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34350 does not implement __extension__. But that compiler doesn't define
34352 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34353 # define __extension__
34359 __extension__ typedef long long int64_t;
34365 __extension__ typedef unsigned long long uint64_t;
34369 #elif !defined __STRICT_ANSI__
34370 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34375 typedef __int64 int64_t;
34381 typedef unsigned __int64 uint64_t;
34384 # endif /* compiler */
34386 #endif /* ANSI version */
34390 # ------------- done int64_t types, emit intptr types ------------
34391 if test "$ac_cv_type_uintptr_t" != yes; then
34392 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34394 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34395 #ifndef __uintptr_t_defined
34397 typedef u$acx_cv_type_intptr_t uintptr_t;
34400 #ifndef __intptr_t_defined
34402 typedef $acx_cv_type_intptr_t intptr_t;
34408 # ------------- done intptr types, emit int_least types ------------
34409 if test "$ac_cv_type_int_least32_t" != yes; then
34410 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34412 /* Define int_least types */
34413 typedef int8_t int_least8_t;
34414 typedef int16_t int_least16_t;
34415 typedef int32_t int_least32_t;
34417 typedef int64_t int_least64_t;
34420 typedef uint8_t uint_least8_t;
34421 typedef uint16_t uint_least16_t;
34422 typedef uint32_t uint_least32_t;
34424 typedef uint64_t uint_least64_t;
34429 # ------------- done intptr types, emit int_fast types ------------
34430 if test "$ac_cv_type_int_fast32_t" != yes; then
34431 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34433 /* Define int_fast types. short is often slow */
34434 typedef int8_t int_fast8_t;
34435 typedef int int_fast16_t;
34436 typedef int32_t int_fast32_t;
34438 typedef int64_t int_fast64_t;
34441 typedef uint8_t uint_fast8_t;
34442 typedef unsigned int uint_fast16_t;
34443 typedef uint32_t uint_fast32_t;
34445 typedef uint64_t uint_fast64_t;
34450 if test "$ac_cv_type_uintmax_t" != yes; then
34451 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34453 /* Define intmax based on what we found */
34456 typedef int64_t intmax_t;
34458 typedef long intmax_t;
34463 typedef uint64_t uintmax_t;
34465 typedef unsigned long uintmax_t;
34471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34473 #endif /* GCC_GENERATED_STDINT_H */
34476 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34479 mv -f tmp-stdint.h gstdint.h
34490 ac_clean_files
=$ac_clean_files_save
34492 test $ac_write_fail = 0 ||
34493 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34496 # configure is writing to config.log, and then calls config.status.
34497 # config.status does its own redirection, appending to config.log.
34498 # Unfortunately, on DOS this fails, as config.log is still kept open
34499 # by configure, so config.status won't be able to write to it; its
34500 # output is simply discarded. So we exec the FD to /dev/null,
34501 # effectively closing config.log, so it can be properly (re)opened and
34502 # appended to by config.status. When coming back to configure, we
34503 # need to make the FD available again.
34504 if test "$no_create" != yes; then
34506 ac_config_status_args
=
34507 test "$silent" = yes &&
34508 ac_config_status_args
="$ac_config_status_args --quiet"
34510 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34512 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34513 # would make configure fail if this is the last instruction.
34514 $ac_cs_success || as_fn_exit
1
34516 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34518 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}