2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME
='libgfortran'
590 PACKAGE_VERSION
='0.3'
591 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
593 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
653 extra_ldflags_libgfortran
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
720 MAINTAINER_MODE_FALSE
734 INSTALL_STRIP_PROGRAM
793 program_transform_name
806 enable_option_checking
808 enable_version_specific_runtime_libs
810 enable_maintainer_mode
812 enable_dependency_tracking
823 enable_libquadmath_support
824 with_gcc_major_version_only
826 ac_precious_vars
='build_alias
839 # Initialize some variables set by options.
841 ac_init_version
=false
842 ac_unrecognized_opts
=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
853 program_transform_name
=s
,x
,x
,
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir
='${exec_prefix}/bin'
868 sbindir
='${exec_prefix}/sbin'
869 libexecdir
='${exec_prefix}/libexec'
870 datarootdir
='${prefix}/share'
871 datadir
='${datarootdir}'
872 sysconfdir
='${prefix}/etc'
873 sharedstatedir
='${prefix}/com'
874 localstatedir
='${prefix}/var'
875 includedir
='${prefix}/include'
876 oldincludedir
='/usr/include'
877 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir
='${datarootdir}/info'
883 libdir
='${exec_prefix}/lib'
884 localedir
='${datarootdir}/locale'
885 mandir
='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\
$ac_option
899 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
912 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
915 -build |
--build |
--buil |
--bui |
--bu)
916 ac_prev
=build_alias
;;
917 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
918 build_alias
=$ac_optarg ;;
920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
922 ac_prev
=cache_file
;;
923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
925 cache_file
=$ac_optarg ;;
928 cache_file
=config.cache
;;
930 -datadir |
--datadir |
--datadi |
--datad)
932 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
933 datadir
=$ac_optarg ;;
935 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
936 |
--dataroo |
--dataro |
--datar)
937 ac_prev
=datarootdir
;;
938 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
939 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
940 datarootdir
=$ac_optarg ;;
942 -disable-* |
--disable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error $?
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error $?
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=\
$ac_optarg ;;
984 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
985 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
986 |
--exec |
--exe |
--ex)
987 ac_prev
=exec_prefix
;;
988 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
989 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
990 |
--exec=* |
--exe=* |
--ex=*)
991 exec_prefix
=$ac_optarg ;;
993 -gas |
--gas |
--ga |
--g)
994 # Obsolete; use --with-gas.
997 -help |
--help |
--hel |
--he |
-h)
999 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1000 ac_init_help
=recursive
;;
1001 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1002 ac_init_help
=short
;;
1004 -host |
--host |
--hos |
--ho)
1005 ac_prev
=host_alias
;;
1006 -host=* |
--host=* |
--hos=* |
--ho=*)
1007 host_alias
=$ac_optarg ;;
1009 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1011 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1013 htmldir
=$ac_optarg ;;
1015 -includedir |
--includedir |
--includedi |
--included |
--include \
1016 |
--includ |
--inclu |
--incl |
--inc)
1017 ac_prev
=includedir
;;
1018 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1019 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1020 includedir
=$ac_optarg ;;
1022 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1024 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1025 infodir
=$ac_optarg ;;
1027 -libdir |
--libdir |
--libdi |
--libd)
1029 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1030 libdir
=$ac_optarg ;;
1032 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1033 |
--libexe |
--libex |
--libe)
1034 ac_prev
=libexecdir
;;
1035 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1036 |
--libexe=* |
--libex=* |
--libe=*)
1037 libexecdir
=$ac_optarg ;;
1039 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1040 ac_prev
=localedir
;;
1041 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1042 localedir
=$ac_optarg ;;
1044 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1045 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1046 ac_prev
=localstatedir
;;
1047 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1048 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1049 localstatedir
=$ac_optarg ;;
1051 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1053 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1054 mandir
=$ac_optarg ;;
1056 -nfp |
--nfp |
--nf)
1057 # Obsolete; use --without-fp.
1060 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1061 |
--no-cr |
--no-c |
-n)
1064 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1065 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1068 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1069 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1070 |
--oldin |
--oldi |
--old |
--ol |
--o)
1071 ac_prev
=oldincludedir
;;
1072 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1073 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1074 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1075 oldincludedir
=$ac_optarg ;;
1077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1080 prefix
=$ac_optarg ;;
1082 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1083 |
--program-pre |
--program-pr |
--program-p)
1084 ac_prev
=program_prefix
;;
1085 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1086 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1087 program_prefix
=$ac_optarg ;;
1089 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1090 |
--program-suf |
--program-su |
--program-s)
1091 ac_prev
=program_suffix
;;
1092 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1093 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1094 program_suffix
=$ac_optarg ;;
1096 -program-transform-name |
--program-transform-name \
1097 |
--program-transform-nam |
--program-transform-na \
1098 |
--program-transform-n |
--program-transform- \
1099 |
--program-transform |
--program-transfor \
1100 |
--program-transfo |
--program-transf \
1101 |
--program-trans |
--program-tran \
1102 |
--progr-tra |
--program-tr |
--program-t)
1103 ac_prev
=program_transform_name
;;
1104 -program-transform-name=* |
--program-transform-name=* \
1105 |
--program-transform-nam=* |
--program-transform-na=* \
1106 |
--program-transform-n=* |
--program-transform-=* \
1107 |
--program-transform=* |
--program-transfor=* \
1108 |
--program-transfo=* |
--program-transf=* \
1109 |
--program-trans=* |
--program-tran=* \
1110 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1111 program_transform_name
=$ac_optarg ;;
1113 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1115 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1116 pdfdir
=$ac_optarg ;;
1118 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1120 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1124 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1129 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1131 sbindir
=$ac_optarg ;;
1133 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1134 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1135 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1137 ac_prev
=sharedstatedir
;;
1138 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1139 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1140 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1142 sharedstatedir
=$ac_optarg ;;
1144 -site |
--site |
--sit)
1146 -site=* |
--site=* |
--sit=*)
1149 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1151 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1152 srcdir
=$ac_optarg ;;
1154 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1155 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1156 ac_prev
=sysconfdir
;;
1157 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1158 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1159 sysconfdir
=$ac_optarg ;;
1161 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1162 ac_prev
=target_alias
;;
1163 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1164 target_alias
=$ac_optarg ;;
1166 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1169 -version |
--version |
--versio |
--versi |
--vers |
-V)
1170 ac_init_version
=: ;;
1173 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1176 as_fn_error $?
"invalid package name: $ac_useropt"
1177 ac_useropt_orig
=$ac_useropt
1178 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep
=', ';;
1186 eval with_
$ac_useropt=\
$ac_optarg ;;
1188 -without-* |
--without-*)
1189 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error $?
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=no
;;
1205 # Obsolete; use --with-x.
1208 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1209 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1210 ac_prev
=x_includes
;;
1211 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1212 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1213 x_includes
=$ac_optarg ;;
1215 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1216 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1217 ac_prev
=x_libraries
;;
1218 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1219 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1220 x_libraries
=$ac_optarg ;;
1222 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1227 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1231 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1233 eval $ac_envvar=\
$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247 if test -n "$ac_prev"; then
1248 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error $?
"missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1255 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 # Check all directory arguments for consistency.
1261 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val
=\$
$ac_var
1267 # Remove trailing slashes.
1270 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\
$ac_val;;
1273 # Be sure to have absolute directory names.
1275 [\\/$
]* | ?
:[\\/]* ) continue;;
1276 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1278 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1286 target
=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x
; then
1290 if test "x$build_alias" = x
; then
1291 cross_compiling
=maybe
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1300 test "$silent" = yes && exec 6>/dev
/null
1303 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di
=`ls -di .` &&
1305 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $?
"working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $?
"pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted
=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir
=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted
=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1347 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 for ac_var
in $ac_precious_vars; do
1364 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1366 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1440 --build=BUILD configure
for building on BUILD
[guessed
]
1441 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1442 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1453 --disable-option-checking ignore unrecognized
--enable/--with options
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --enable-version-specific-runtime-libs
1457 specify that runtime libraries should be installed
1458 in a compiler-specific directory
1459 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1460 --disable-silent-rules verbose build output
(undo
: "make V=0")
1461 --enable-maintainer-mode
1462 enable make rules and dependencies not useful
(and
1463 sometimes confusing
) to the casual installer
1464 --enable-multilib build many library versions
(default
)
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1470 --disable-symvers disable symbol versioning
for libgfortran
1471 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1472 --enable-static[=PKGS
] build static libraries
[default
=yes]
1473 --enable-fast-install[=PKGS
]
1474 optimize
for fast installation
[default
=yes]
1475 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1476 --disable-largefile omit support
for large files
1477 --disable-libquadmath-support
1478 disable libquadmath support
for Fortran
1481 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1482 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1483 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1484 --with-toolexeclibdir=DIR
1485 install libraries built with a cross compiler within
1487 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1488 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1490 --with-gcc-major-version-only
1491 use only GCC major number
in filesystem paths
1493 Some influential environment variables
:
1494 CC C compiler
command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1497 nonstandard directory
<lib dir
>
1498 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1499 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1500 you have headers
in a nonstandard directory
<include dir
>
1502 FC Fortran compiler
command
1503 FCFLAGS Fortran compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to the package provider.
1509 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1510 General help using GNU software: <http://www.gnu.org/gethelp/>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1540 .) # We are building in place.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1573 GNU Fortran Runtime Library configure 0.3
1574 generated by GNU Autoconf 2.69
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1597 *) ac_try_echo
=$ac_try;;
1599 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err
; then
1604 grep -v '^ *+' conftest.err
>conftest.er1
1605 cat conftest.er1
>&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.
$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.
$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status
$ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1631 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1667 ac_fn_c_check_header_mongrel ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1691 ac_header_compiler=no
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1704 if ac_fn_c_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1707 ac_header_preproc=no
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1739 eval "$3=\$ac_header_compiler"
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 } # ac_fn_c_check_header_mongrel
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1759 *) ac_try_echo
=$ac_try;;
1761 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1767 { { case "(($ac_try" in
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_try") 2>&5
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; }; }; then :
1779 $as_echo "$as_me: program exited with status $ac_status" >&5
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=$ac_status
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1791 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists and can be compiled using the include files in
1794 # INCLUDES, setting the cache variable VAR accordingly.
1795 ac_fn_c_check_header_compile ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1808 if ac_fn_c_try_compile "$LINENO"; then :
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_header_compile
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1838 if test -s conftest.err
; then
1839 grep -v '^ *+' conftest.err
>conftest.er1
1840 cat conftest.er1
>&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest
$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 test -x conftest
$ac_exeext
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status
$ac_retval
1866 } # ac_fn_c_try_link
1868 # ac_fn_c_check_func LINENO FUNC VAR
1869 # ----------------------------------
1870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1871 ac_fn_c_check_func
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \
${$3+:} false
; then :
1877 $as_echo_n "(cached) " >&6
1879 if test x
$gcc_no_link = xyes
; then
1880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link
"$LINENO"; then :
1928 rm -f core conftest.err conftest.
$ac_objext \
1929 conftest
$ac_exeext conftest.
$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1938 # ac_fn_fc_try_compile LINENO
1939 # ---------------------------
1940 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_fc_try_compile
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 rm -f conftest.
$ac_objext
1945 if { { ac_try
="$ac_compile"
1947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_compile") 2>conftest.err
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && {
1961 test -z "$ac_fc_werror_flag" ||
1962 test ! -s conftest.err
1963 } && test -s conftest.$ac_objext; then :
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_fc_try_compile
1976 # ac_fn_fc_try_link LINENO
1977 # ------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_fc_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1986 *) ac_try_echo
=$ac_try;;
1988 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err
; then
1993 grep -v '^ *+' conftest.err
>conftest.er1
1994 cat conftest.er1
>&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_fc_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest
$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 test -x conftest
$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.
$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status
$ac_retval
2020 } # ac_fn_fc_try_link
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \
${$3+:} false
; then :
2032 $as_echo_n "(cached) " >&6
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_type
2076 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2077 # --------------------------------------------
2078 # Tries to find the compile-time value of EXPR in a program that includes
2079 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2081 ac_fn_c_compute_int
()
2083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2084 if test "$cross_compiling" = yes; then
2085 # Depending upon the size, compute the lo and hi bounds.
2086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 static int test_array [1 - 2 * !(($2) >= 0)];
2094 return test_array [0];
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2111 return test_array [0];
2117 if ac_fn_c_try_compile
"$LINENO"; then :
2118 ac_hi
=$ac_mid; break
2120 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2121 if test $ac_lo -le $ac_mid; then
2125 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2136 static int test_array [1 - 2 * !(($2) < 0)];
2138 return test_array [0];
2144 if ac_fn_c_try_compile
"$LINENO"; then :
2147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2153 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2155 return test_array [0];
2161 if ac_fn_c_try_compile
"$LINENO"; then :
2162 ac_lo
=$ac_mid; break
2164 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2165 if test $ac_mid -le $ac_hi; then
2169 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2179 # Binary search between lo and hi bounds.
2180 while test "x$ac_lo" != "x$ac_hi"; do
2181 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2188 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2190 return test_array [0];
2196 if ac_fn_c_try_compile
"$LINENO"; then :
2199 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2204 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 static long int longval () { return $2; }
2212 static unsigned long int ulongval () { return $2; }
2219 FILE *f = fopen ("conftest.val", "w");
2224 long int i = longval ();
2227 fprintf (f, "%ld", i);
2231 unsigned long int i = ulongval ();
2234 fprintf (f, "%lu", i);
2236 /* Do not output a trailing newline, as this causes \r\n confusion
2237 on some platforms. */
2238 return ferror (f) || fclose (f) != 0;
2244 if ac_fn_c_try_run
"$LINENO"; then :
2245 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2250 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 as_fn_set_status
$ac_retval
2257 } # ac_fn_c_compute_int
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member
()
2265 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if eval \
${$4+:} false
; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2284 if ac_fn_c_try_compile
"$LINENO"; then :
2287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2294 if (sizeof ac_aggr.$3)
2300 if ac_fn_c_try_compile
"$LINENO"; then :
2305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2314 } # ac_fn_c_check_member
2315 cat >config.log
<<_ACEOF
2316 This file contains any messages produced by compilers while
2317 running configure, to aid debugging if configure makes a mistake.
2319 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2320 generated by GNU Autoconf 2.69. Invocation command line was
2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2344 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 $as_echo "PATH: $as_dir"
2372 # Keep a trace of the command line.
2373 # Strip out --no-create and --no-recursion so they do not pile up.
2374 # Strip out --silent because we don't want to record it for future runs.
2375 # Also quote any args containing shell meta-characters.
2376 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_must_keep_next
=false
2386 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2387 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2388 |
-silent |
--silent |
--silen |
--sile |
--sil)
2391 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2394 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2396 as_fn_append ac_configure_args1
" '$ac_arg'"
2397 if test $ac_must_keep_next = true
; then
2398 ac_must_keep_next
=false
# Got value, back to normal.
2401 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2402 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2403 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2404 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2405 case "$ac_configure_args0 " in
2406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2409 -* ) ac_must_keep_next
=true
;;
2412 as_fn_append ac_configure_args
" '$ac_arg'"
2417 { ac_configure_args0
=; unset ac_configure_args0
;}
2418 { ac_configure_args1
=; unset ac_configure_args1
;}
2420 # When interrupted or exit'd, cleanup temporary files, and complete
2421 # config.log. We remove comments because anyway the quotes in there
2422 # would cause problems or look ugly.
2423 # WARNING: Use '\'' to represent an apostrophe within the trap.
2424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2425 trap 'exit_status=$?
2426 # Save into config.log some information that might help in debugging.
2430 $as_echo "## ---------------- ##
2431 ## Cache variables. ##
2432 ## ---------------- ##"
2434 # The following way of writing the cache mishandles newlines in values,
2436 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2437 eval ac_val=\$$ac_var
2441 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2445 _ | IFS | as_nl) ;; #(
2446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2447 *) { eval $ac_var=; unset $ac_var;} ;;
2452 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2453 *${as_nl}ac_space=\ *)
2455 "s/'\''/'\''\\\\'\'''\''/g;
2456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 $as_echo "## ----------------- ##
2467 ## Output variables. ##
2468 ## ----------------- ##"
2470 for ac_var in $ac_subst_vars
2472 eval ac_val=\$$ac_var
2474 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476 $as_echo "$ac_var='\''$ac_val'\''"
2480 if test -n "$ac_subst_files"; then
2481 $as_echo "## ------------------- ##
2482 ## File substitutions. ##
2483 ## ------------------- ##"
2485 for ac_var
in $ac_subst_files
2487 eval ac_val
=\$
$ac_var
2489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2491 $as_echo "$ac_var='\''$ac_val'\''"
2496 if test -s confdefs.h; then
2497 $as_echo "## ----------- ##
2504 test "$ac_signal" != 0 &&
2505 $as_echo "$as_me: caught signal $ac_signal"
2506 $as_echo "$as_me: exit $exit_status"
2508 rm -f core *.core core.conftest.* &&
2509 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2512 for ac_signal
in 1 2 13 15; do
2513 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2518 rm -f -r conftest
* confdefs.h
2520 $as_echo "/* confdefs.h */" > confdefs.h
2522 # Predefined preprocessor variables.
2524 cat >>confdefs.h
<<_ACEOF
2525 #define PACKAGE_NAME "$PACKAGE_NAME"
2528 cat >>confdefs.h
<<_ACEOF
2529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_STRING "$PACKAGE_STRING"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_URL "$PACKAGE_URL"
2549 # Let the site file select an alternate cache file if it wants to.
2550 # Prefer an explicitly selected file to automatically selected ones.
2553 if test -n "$CONFIG_SITE"; then
2554 # We do not want a PATH search for config.site.
2555 case $CONFIG_SITE in #((
2556 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2557 */*) ac_site_file1
=$CONFIG_SITE;;
2558 *) ac_site_file1
=.
/$CONFIG_SITE;;
2560 elif test "x$prefix" != xNONE
; then
2561 ac_site_file1
=$prefix/share
/config.site
2562 ac_site_file2
=$prefix/etc
/config.site
2564 ac_site_file1
=$ac_default_prefix/share
/config.site
2565 ac_site_file2
=$ac_default_prefix/etc
/config.site
2567 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2569 test "x$ac_site_file" = xNONE
&& continue
2570 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2573 sed 's/^/| /' "$ac_site_file" >&5
2575 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $?
"failed to load site script $ac_site_file
2578 See \`config.log' for more details" "$LINENO" 5; }
2582 if test -r "$cache_file"; then
2583 # Some versions of bash will fail to source /dev/null (special files
2584 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2585 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2587 $as_echo "$as_me: loading cache $cache_file" >&6;}
2589 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2590 *) .
"./$cache_file";;
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2595 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599 as_fn_append ac_header_list
" unistd.h"
2600 as_fn_append ac_header_list
" sys/random.h"
2601 as_fn_append ac_header_list
" sys/time.h"
2602 as_fn_append ac_header_list
" sys/times.h"
2603 as_fn_append ac_header_list
" sys/resource.h"
2604 as_fn_append ac_header_list
" sys/types.h"
2605 as_fn_append ac_header_list
" sys/stat.h"
2606 as_fn_append ac_header_list
" sys/uio.h"
2607 as_fn_append ac_header_list
" sys/wait.h"
2608 as_fn_append ac_header_list
" floatingpoint.h"
2609 as_fn_append ac_header_list
" ieeefp.h"
2610 as_fn_append ac_header_list
" fenv.h"
2611 as_fn_append ac_header_list
" fptrap.h"
2612 as_fn_append ac_header_list
" fpxcp.h"
2613 as_fn_append ac_header_list
" pwd.h"
2614 as_fn_append ac_header_list
" complex.h"
2615 as_fn_append ac_header_list
" xlocale.h"
2616 as_fn_append ac_func_list
" getrusage"
2617 as_fn_append ac_func_list
" times"
2618 as_fn_append ac_func_list
" mkstemp"
2619 as_fn_append ac_func_list
" strtof"
2620 as_fn_append ac_func_list
" strtold"
2621 as_fn_append ac_func_list
" snprintf"
2622 as_fn_append ac_func_list
" ftruncate"
2623 as_fn_append ac_func_list
" chsize"
2624 as_fn_append ac_func_list
" chdir"
2625 as_fn_append ac_func_list
" getentropy"
2626 as_fn_append ac_func_list
" getlogin"
2627 as_fn_append ac_func_list
" gethostname"
2628 as_fn_append ac_func_list
" kill"
2629 as_fn_append ac_func_list
" link"
2630 as_fn_append ac_func_list
" symlink"
2631 as_fn_append ac_func_list
" sleep"
2632 as_fn_append ac_func_list
" ttyname"
2633 as_fn_append ac_func_list
" sigaction"
2634 as_fn_append ac_func_list
" waitpid"
2635 as_fn_append ac_func_list
" alarm"
2636 as_fn_append ac_func_list
" access"
2637 as_fn_append ac_func_list
" fork"
2638 as_fn_append ac_func_list
" posix_spawn"
2639 as_fn_append ac_func_list
" setmode"
2640 as_fn_append ac_func_list
" fcntl"
2641 as_fn_append ac_func_list
" writev"
2642 as_fn_append ac_func_list
" gettimeofday"
2643 as_fn_append ac_func_list
" stat"
2644 as_fn_append ac_func_list
" fstat"
2645 as_fn_append ac_func_list
" lstat"
2646 as_fn_append ac_func_list
" getpwuid"
2647 as_fn_append ac_func_list
" vsnprintf"
2648 as_fn_append ac_func_list
" dup"
2649 as_fn_append ac_func_list
" getcwd"
2650 as_fn_append ac_func_list
" localtime_r"
2651 as_fn_append ac_func_list
" gmtime_r"
2652 as_fn_append ac_func_list
" getpwuid_r"
2653 as_fn_append ac_func_list
" ttyname_r"
2654 as_fn_append ac_func_list
" clock_gettime"
2655 as_fn_append ac_func_list
" getgid"
2656 as_fn_append ac_func_list
" getpid"
2657 as_fn_append ac_func_list
" getuid"
2658 as_fn_append ac_func_list
" geteuid"
2659 as_fn_append ac_func_list
" umask"
2660 as_fn_append ac_func_list
" getegid"
2661 as_fn_append ac_func_list
" secure_getenv"
2662 as_fn_append ac_func_list
" __secure_getenv"
2663 as_fn_append ac_func_list
" mkostemp"
2664 as_fn_append ac_func_list
" strnlen"
2665 as_fn_append ac_func_list
" strndup"
2666 as_fn_append ac_func_list
" newlocale"
2667 as_fn_append ac_func_list
" freelocale"
2668 as_fn_append ac_func_list
" uselocale"
2669 as_fn_append ac_func_list
" strerror_l"
2670 as_fn_append ac_func_list
" strtof128"
2671 as_fn_append ac_func_list
" strfromf128"
2672 as_fn_append ac_header_list
" math.h"
2673 # Check that the precious variables saved in the cache have kept the same
2675 ac_cache_corrupted
=false
2676 for ac_var
in $ac_precious_vars; do
2677 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2678 eval ac_new_set
=\
$ac_env_${ac_var}_set
2679 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2680 eval ac_new_val
=\
$ac_env_${ac_var}_value
2681 case $ac_old_set,$ac_new_set in
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2684 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2685 ac_cache_corrupted
=: ;;
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2689 ac_cache_corrupted
=: ;;
2692 if test "x$ac_old_val" != "x$ac_new_val"; then
2693 # differences in whitespace do not lead to failure.
2694 ac_old_val_w
=`echo x $ac_old_val`
2695 ac_new_val_w
=`echo x $ac_new_val`
2696 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2698 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2699 ac_cache_corrupted
=:
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2702 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2703 eval $ac_var=\
$ac_old_val
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2706 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2708 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2711 # Pass precious variables to config.status.
2712 if test "$ac_new_set" = set; then
2714 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2715 *) ac_arg
=$ac_var=$ac_new_val ;;
2717 case " $ac_configure_args " in
2718 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2719 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2723 if $ac_cache_corrupted; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2727 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2728 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2730 ## -------------------- ##
2731 ## Main body of script. ##
2732 ## -------------------- ##
2735 ac_cpp
='$CPP $CPPFLAGS'
2736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2744 ac_config_headers
="$ac_config_headers config.h"
2747 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2748 if test -f "$ac_dir/install-sh"; then
2750 ac_install_sh
="$ac_aux_dir/install-sh -c"
2752 elif test -f "$ac_dir/install.sh"; then
2754 ac_install_sh
="$ac_aux_dir/install.sh -c"
2756 elif test -f "$ac_dir/shtool"; then
2758 ac_install_sh
="$ac_aux_dir/shtool install -c"
2762 if test -z "$ac_aux_dir"; then
2763 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2766 # These three variables are undocumented and unsupported,
2767 # and are intended to be withdrawn in a future Autoconf release.
2768 # They can cause serious problems if a builder's source tree is in a directory
2769 # whose full name contains unusual characters.
2770 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2771 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2772 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2775 # Make sure we can run config.sub.
2776 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2777 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2780 $as_echo_n "checking build system type... " >&6; }
2781 if ${ac_cv_build+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 ac_build_alias
=$build_alias
2785 test "x$ac_build_alias" = x
&&
2786 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2787 test "x$ac_build_alias" = x
&&
2788 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2789 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2790 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2794 $as_echo "$ac_cv_build" >&6; }
2795 case $ac_cv_build in
2797 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2800 ac_save_IFS
=$IFS; IFS
='-'
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2810 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2813 case ${build_alias} in
2814 "") build_noncanonical
=${build} ;;
2815 *) build_noncanonical
=${build_alias} ;;
2818 case ${host_alias} in
2819 "") host_noncanonical
=${build_noncanonical} ;;
2820 *) host_noncanonical
=${host_alias} ;;
2823 case ${target_alias} in
2824 "") target_noncanonical
=${host_noncanonical} ;;
2825 *) target_noncanonical
=${target_alias} ;;
2829 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2830 # have matching libraries, they should use host libraries: Makefile.tpl
2831 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2832 # However, they still use the build modules, because the corresponding
2833 # host modules (e.g. bison) are only built for the host when bootstrap
2835 # - build_subdir is where we find build modules, and never changes.
2836 # - build_libsubdir is where we find build libraries, and can be overridden.
2838 # Prefix 'build-' so this never conflicts with target_subdir.
2839 build_subdir
="build-${build_noncanonical}"
2841 # Check whether --with-build-libsubdir was given.
2842 if test "${with_build_libsubdir+set}" = set; then :
2843 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2845 build_libsubdir
="$build_subdir"
2848 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2849 if ( test $srcdir = .
&& test -d gcc
) \
2850 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2851 host_subdir
="host-${host_noncanonical}"
2856 target_subdir
=${target_noncanonical}
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2865 # Check whether --enable-version-specific-runtime-libs was given.
2866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2867 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2868 yes) version_specific_libs
=yes ;;
2869 no
) version_specific_libs
=no
;;
2870 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2873 version_specific_libs
=no
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2877 $as_echo "$version_specific_libs" >&6; }
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2881 # You will slowly go insane if you do not grok the following fact: when
2882 # building this library, the top-level /target/ becomes the library's /host/.
2884 # configure then causes --target to default to --host, exactly like any
2885 # other package using autoconf. Therefore, 'target' and 'host' will
2886 # always be the same. This makes sense both for native and cross compilers
2887 # just think about it for a little while. :-)
2889 # Also, if this library is being configured as part of a cross compiler, the
2890 # top-level configure script will pass the "real" host as $with_cross_host.
2892 # Do not delete or change the following two lines. For why, see
2893 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2895 $as_echo_n "checking host system type... " >&6; }
2896 if ${ac_cv_host+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 if test "x$host_alias" = x
; then
2900 ac_cv_host
=$ac_cv_build
2902 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2903 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2908 $as_echo "$ac_cv_host" >&6; }
2911 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2914 ac_save_IFS
=$IFS; IFS
='-'
2920 # Remember, the first character of IFS is used to create $*,
2921 # except with old shells:
2924 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2928 $as_echo_n "checking target system type... " >&6; }
2929 if ${ac_cv_target+:} false
; then :
2930 $as_echo_n "(cached) " >&6
2932 if test "x$target_alias" = x
; then
2933 ac_cv_target
=$ac_cv_host
2935 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2936 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2941 $as_echo "$ac_cv_target" >&6; }
2942 case $ac_cv_target in
2944 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2946 target
=$ac_cv_target
2947 ac_save_IFS
=$IFS; IFS
='-'
2953 # Remember, the first character of IFS is used to create $*,
2954 # except with old shells:
2957 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2960 # The aliases save the names the user supplied, while $host etc.
2961 # will get canonicalized.
2962 test -n "$target_alias" &&
2963 test "$program_prefix$program_suffix$program_transform_name" = \
2965 program_prefix
=${target_alias}-
2970 target_alias
=${target_alias-$host_alias}
2973 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2974 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2975 # 1.9.6: minimum required version
2976 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2977 # of other PACKAGE_* variables will, however, and there's nothing
2978 # we can do about that; they come from AC_INIT).
2979 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2980 # file in the top srcdir, etc, etc), so stop complaining.
2981 # no-dist: we don't want 'dist' and related rules.
2982 # -Wall: turns on all automake warnings...
2983 # -Wno-portability: ...except this one, since GNU make is required.
2984 am__api_version
='1.15'
2986 # Find a good install program. We prefer a C program (faster),
2987 # so one script is as good as another. But avoid the broken or
2988 # incompatible versions:
2989 # SysV /etc/install, /usr/sbin/install
2990 # SunOS /usr/etc/install
2991 # IRIX /sbin/install
2993 # AmigaOS /C/install, which installs bootblocks on floppy discs
2994 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2995 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2996 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2997 # OS/2's system install, which has a completely different semantic
2998 # ./install, which can be erroneously created by make from ./install.sh.
2999 # Reject install programs that cannot install multiple files.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3001 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3002 if test -z "$INSTALL"; then
3003 if ${ac_cv_path_install+:} false
; then :
3004 $as_echo_n "(cached) " >&6
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir
=.
3011 # Account for people who put trailing slashes in PATH elements.
3012 case $as_dir/ in #((
3013 .
/ | .
// |
/[cC
]/* | \
3014 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3015 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3018 # OSF1 and SCO ODT 3.0 have their own names for install.
3019 # Don't use installbsd from OSF since it installs stuff as root
3021 for ac_prog
in ginstall scoinst
install; do
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3024 if test $ac_prog = install &&
3025 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3026 # AIX install. It has an incompatible calling convention.
3028 elif test $ac_prog = install &&
3029 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3030 # program-specific install script used by HP pwplus--don't use.
3033 rm -rf conftest.one conftest.two conftest.dir
3034 echo one
> conftest.one
3035 echo two
> conftest.two
3037 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3038 test -s conftest.one
&& test -s conftest.two
&&
3039 test -s conftest.dir
/conftest.one
&&
3040 test -s conftest.dir
/conftest.two
3042 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3055 rm -rf conftest.one conftest.two conftest.dir
3058 if test "${ac_cv_path_install+set}" = set; then
3059 INSTALL
=$ac_cv_path_install
3061 # As a last resort, use the slow shell script. Don't cache a
3062 # value for INSTALL within a source directory, because that will
3063 # break other packages using the cache if that directory is
3064 # removed, or if the value is a relative name.
3065 INSTALL
=$ac_install_sh
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3069 $as_echo "$INSTALL" >&6; }
3071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3072 # It thinks the first close brace ends the variable substitution.
3073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3077 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3080 $as_echo_n "checking whether build environment is sane... " >&6; }
3081 # Reject unsafe characters in $srcdir or the absolute working directory
3082 # name. Accept space and tab only in the latter.
3086 *[\\\"\
#\$\&\'\`$am_lf]*)
3087 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3090 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3091 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3094 # Do 'set' in a subshell so we don't clobber the current shell's
3095 # arguments. Must try -L first in case configure is actually a
3096 # symlink; some systems play weird games with the mod time of symlinks
3097 # (eg FreeBSD returns the mod time of the symlink's containing
3101 for am_try
in 1 2; do
3102 echo "timestamp, slept: $am_has_slept" > conftest.
file
3103 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3104 if test "$*" = "X"; then
3106 set X
`ls -t "$srcdir/configure" conftest.file`
3108 if test "$*" != "X $srcdir/configure conftest.file" \
3109 && test "$*" != "X conftest.file $srcdir/configure"; then
3111 # If neither matched, then we have a broken ls. This can happen
3112 # if, for instance, CONFIG_SHELL is bash and it inherits a
3113 # broken ls alias from the environment. This has actually
3114 # happened. Such a system could not be considered "sane".
3115 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3116 alias in your environment" "$LINENO" 5
3118 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3125 test "$2" = conftest.
file
3131 as_fn_error $?
"newly created file is older than distributed files!
3132 Check your system clock" "$LINENO" 5
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135 $as_echo "yes" >&6; }
3136 # If we didn't sleep, we still need to ensure time stamps of config.status and
3137 # generated files are strictly newer.
3139 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3146 test "$program_prefix" != NONE
&&
3147 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3148 # Use a double $ so make ignores it.
3149 test "$program_suffix" != NONE
&&
3150 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3151 # Double any \ or $.
3152 # By default was `s,x,x', remove it if useless.
3153 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3154 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3156 # Expand $ac_aux_dir to an absolute path.
3157 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3159 if test x
"${MISSING+set}" != xset
; then
3162 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3164 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3167 # Use eval to expand $SHELL
3168 if eval "$MISSING --is-lightweight"; then
3169 am_missing_run
="$MISSING "
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3173 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3176 if test x
"${install_sh+set}" != xset
; then
3179 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3181 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3185 # Installed binaries are usually stripped using 'strip' when the user
3186 # run "make install-strip". However 'strip' might not be the right
3187 # tool to use in cross-compilation environments, therefore Automake
3188 # will honor the 'STRIP' environment variable to overrule this program.
3189 if test "$cross_compiling" != no
; then
3190 if test -n "$ac_tool_prefix"; then
3191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3192 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_STRIP+:} false
; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$STRIP"; then
3199 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir
=.
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 STRIP
=$ac_cv_prog_STRIP
3219 if test -n "$STRIP"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3221 $as_echo "$STRIP" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3229 if test -z "$ac_cv_prog_STRIP"; then
3231 # Extract the first word of "strip", so it can be a program name with args.
3232 set dummy strip
; ac_word
=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$ac_ct_STRIP"; then
3239 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_STRIP
="strip"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3259 if test -n "$ac_ct_STRIP"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3261 $as_echo "$ac_ct_STRIP" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3267 if test "x$ac_ct_STRIP" = x
; then
3270 case $cross_compiling:$ac_tool_warned in
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned
=yes ;;
3279 STRIP
="$ac_cv_prog_STRIP"
3283 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3286 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3287 if test -z "$MKDIR_P"; then
3288 if ${ac_cv_path_mkdir+:} false
; then :
3289 $as_echo_n "(cached) " >&6
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3292 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_prog
in mkdir gmkdir
; do
3297 for ac_exec_ext
in '' $ac_executable_extensions; do
3298 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3299 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3300 'mkdir (GNU coreutils) '* | \
3301 'mkdir (coreutils) '* | \
3302 'mkdir (fileutils) '4.1*)
3303 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3313 test -d .
/--version && rmdir .
/--version
3314 if test "${ac_cv_path_mkdir+set}" = set; then
3315 MKDIR_P
="$ac_cv_path_mkdir -p"
3317 # As a last resort, use the slow shell script. Don't cache a
3318 # value for MKDIR_P within a source directory, because that will
3319 # break other packages using the cache if that directory is
3320 # removed, or if the value is a relative name.
3321 MKDIR_P
="$ac_install_sh -d"
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3325 $as_echo "$MKDIR_P" >&6; }
3327 for ac_prog
in gawk mawk nawk
awk
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy
$ac_prog; ac_word
=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if ${ac_cv_prog_AWK+:} false
; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$AWK"; then
3337 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3346 ac_cv_prog_AWK
="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$AWK"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3359 $as_echo "$AWK" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$AWK" && break
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3370 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3372 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3373 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3374 $as_echo_n "(cached) " >&6
3376 cat >conftest.
make <<\_ACEOF
3379 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3381 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3382 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3384 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3386 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3390 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3392 $as_echo "yes" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 SET_MAKE
="MAKE=${MAKE-make}"
3400 rm -rf .tst
2>/dev
/null
3401 mkdir .tst
2>/dev
/null
3402 if test -d .tst
; then
3407 rmdir .tst
2>/dev
/null
3409 # Check whether --enable-silent-rules was given.
3410 if test "${enable_silent_rules+set}" = set; then :
3411 enableval
=$enable_silent_rules;
3414 case $enable_silent_rules in # (((
3415 yes) AM_DEFAULT_VERBOSITY
=0;;
3416 no
) AM_DEFAULT_VERBOSITY
=1;;
3417 *) AM_DEFAULT_VERBOSITY
=1;;
3419 am_make
=${MAKE-make}
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3421 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3422 if ${am_cv_make_support_nested_variables+:} false
; then :
3423 $as_echo_n "(cached) " >&6
3425 if $as_echo 'TRUE=$(BAR$(V))
3431 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3432 am_cv_make_support_nested_variables
=yes
3434 am_cv_make_support_nested_variables
=no
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3438 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3439 if test $am_cv_make_support_nested_variables = yes; then
3441 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3443 AM_V
=$AM_DEFAULT_VERBOSITY
3444 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3448 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3449 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3450 # is not polluted with repeated "-I."
3451 am__isrc
=' -I$(srcdir)'
3452 # test to see if srcdir already configured
3453 if test -f $srcdir/config.status
; then
3454 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3458 # test whether we have cygpath
3459 if test -z "$CYGPATH_W"; then
3460 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3461 CYGPATH_W
='cygpath -w'
3468 # Define the identity of the package.
3469 PACKAGE
='libgfortran'
3473 # Some tools Automake needs.
3475 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3478 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3481 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3484 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3487 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3489 # For better backward compatibility. To be removed once Automake 1.9.x
3490 # dies out for good. For more background, see:
3491 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3493 mkdir_p
='$(MKDIR_P)'
3495 # We need awk for the "check" target (and possibly the TAP driver). The
3496 # system "awk" is bad on some platforms.
3497 # Always define AMTAR for backward compatibility. Yes, it's still used
3498 # in the wild :-( We should find a proper way to deprecate it ...
3502 # We'll loop over all known methods to create a tar archive until one works.
3503 _am_tools
='gnutar pax cpio none'
3505 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3512 # POSIX will say in a future version that running "rm -f" with no argument
3513 # is OK; and we want to be able to make that assumption in our Makefile
3514 # recipes. So use an aggressive probe to check that the usage we want is
3515 # actually supported "in the wild" to an acceptable degree.
3516 # See automake bug#10828.
3517 # To make any issue more visible, cause the running configure to be aborted
3518 # by default if the 'rm' program in use doesn't match our expectations; the
3519 # user can still override this though.
3520 if rm -f && rm -fr && rm -rf; then : OK
; else
3524 Your 'rm' program seems unable to run without file operands specified
3525 on the command line, even when the '-f' option is present. This is contrary
3526 to the behaviour of most rm programs out there, and not conforming with
3527 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3529 Please tell bug-automake@gnu.org about your system, including the value
3530 of your $PATH and any error possibly output before this message. This
3531 can help us improve future automake versions.
3534 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3535 echo 'Configuration will proceed anyway, since you have set the' >&2
3536 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3540 Aborting the configuration process, to ensure you take notice of the issue.
3542 You can download and install GNU coreutils to get an 'rm' implementation
3543 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3545 If you want to complete the configuration process using your problematic
3546 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3547 to "yes", and re-run configure.
3550 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3557 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3558 # Check whether --enable-maintainer-mode was given.
3559 if test "${enable_maintainer_mode+set}" = set; then :
3560 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3562 USE_MAINTAINER_MODE
=no
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3566 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3567 if test $USE_MAINTAINER_MODE = yes; then
3568 MAINTAINER_MODE_TRUE
=
3569 MAINTAINER_MODE_FALSE
='#'
3571 MAINTAINER_MODE_TRUE
='#'
3572 MAINTAINER_MODE_FALSE
=
3575 MAINT
=$MAINTAINER_MODE_TRUE
3578 # Default to --enable-multilib
3579 # Check whether --enable-multilib was given.
3580 if test "${enable_multilib+set}" = set; then :
3581 enableval
=$enable_multilib; case "$enableval" in
3582 yes) multilib
=yes ;;
3584 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3591 # We may get other options which we leave undocumented:
3592 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3593 # See config-ml.in if you want the gory details.
3595 if test "$srcdir" = "."; then
3596 if test "$with_target_subdir" != "."; then
3597 multi_basedir
="$srcdir/$with_multisrctop../.."
3599 multi_basedir
="$srcdir/$with_multisrctop.."
3602 multi_basedir
="$srcdir/.."
3606 # Even if the default multilib is not a cross compilation,
3607 # it may be that some of the other multilibs are.
3608 if test $cross_compiling = no
&& test $multilib = yes \
3609 && test "x${with_multisubdir}" != x
; then
3610 cross_compiling
=maybe
3613 ac_config_commands
="$ac_config_commands default-1"
3616 # Handy for debugging:
3617 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3619 # Are we being configured with some form of cross compiler?
3620 # NB: We don't actually need to know this just now, but when, say, a test
3621 # suite is included, we'll have to know.
3622 if test "$build" != "$host"; then
3623 LIBGFOR_IS_NATIVE
=false
3626 LIBGFOR_IS_NATIVE
=true
3629 DEPDIR
="${am__leading_dot}deps"
3631 ac_config_commands
="$ac_config_commands depfiles"
3634 am_make
=${MAKE-make}
3635 cat > confinc
<< 'END'
3637 @
echo this is the am__doit target
3640 # If we don't find an include directive, just comment out the code.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3642 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3646 # First try GNU make style include.
3647 echo "include confinc" > confmf
3648 # Ignore all kinds of additional output from 'make'.
3649 case `$am_make -s -f confmf 2> /dev/null` in #(
3650 *the\ am__doit\ target
*)
3656 # Now try BSD make style include.
3657 if test "$am__include" = "#"; then
3658 echo '.include "confinc"' > confmf
3659 case `$am_make -s -f confmf 2> /dev/null` in #(
3660 *the\ am__doit\ target
*)
3661 am__include
=.include
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3670 $as_echo "$_am_result" >&6; }
3671 rm -f confinc confmf
3673 # Check whether --enable-dependency-tracking was given.
3674 if test "${enable_dependency_tracking+set}" = set; then :
3675 enableval
=$enable_dependency_tracking;
3678 if test "x$enable_dependency_tracking" != xno
; then
3679 am_depcomp
="$ac_aux_dir/depcomp"
3683 if test "x$enable_dependency_tracking" != xno; then
3693 ac_cpp
='$CPP $CPPFLAGS'
3694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC
="$CC" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3736 if test -z "$ac_cv_prog_CC"; then
3738 # Extract the first word of "gcc", so it can be a program name with args.
3739 set dummy gcc
; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$ac_ct_CC"; then
3746 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_CC
="gcc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3766 if test -n "$ac_ct_CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768 $as_echo "$ac_ct_CC" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3774 if test "x$ac_ct_CC" = x
; then
3777 case $cross_compiling:$ac_tool_warned in
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781 ac_tool_warned
=yes ;;
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_CC+:} false
; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC
="$CC" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 if test -n "$CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 $as_echo "$CC" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3830 if test -z "$CC"; then
3831 # Extract the first word of "cc", so it can be a program name with args.
3832 set dummy cc
; ac_word
=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false
; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC
="$CC" # Let the user override the test.
3842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir
=.
3847 for ac_exec_ext
in '' $ac_executable_extensions; do
3848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3849 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850 ac_prog_rejected
=yes
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 if test $ac_prog_rejected = yes; then
3862 # We found a bogon in the path, so make sure we never use it.
3863 set dummy
$ac_cv_prog_CC
3865 if test $# != 0; then
3866 # We chose a different compiler from the bogus one.
3867 # However, it has the same basename, so the bogon will be chosen
3868 # first if we set CC to just the basename; use the full file name.
3870 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3876 if test -n "$CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878 $as_echo "$CC" >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 for ac_prog
in cl.exe
3890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_CC+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC
="$CC" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 if test -n "$CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920 $as_echo "$CC" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3927 test -n "$CC" && break
3930 if test -z "$CC"; then
3932 for ac_prog
in cl.exe
3934 # Extract the first word of "$ac_prog", so it can be a program name with args.
3935 set dummy
$ac_prog; ac_word
=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -n "$ac_ct_CC"; then
3942 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_ac_ct_CC
="$ac_prog"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3962 if test -n "$ac_ct_CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964 $as_echo "$ac_ct_CC" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3971 test -n "$ac_ct_CC" && break
3974 if test "x$ac_ct_CC" = x
; then
3977 case $cross_compiling:$ac_tool_warned in
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned
=yes ;;
3990 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error $?
"no acceptable C compiler found in \$PATH
3993 See \`config.log' for more details" "$LINENO" 5; }
3995 # Provide some information about the compiler.
3996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3999 for ac_option
in --version -v -V -qversion; do
4000 { { ac_try
="$ac_compiler $ac_option >&5"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4009 if test -s conftest.err; then
4011 ... rest of stderr output deleted ...
4012 10q' conftest.err >conftest.er1
4013 cat conftest.er1 >&5
4015 rm -f conftest.er1 conftest.err
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4026 printf ("hello world\n");
4032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4033 (eval $ac_link) 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4041 if test x$gcc_no_link = xyes; then
4042 # Setting cross_compile will disable run tests; it will
4043 # also disable AC_CHECK_FILE but that's generally
4044 # correct if we can't link.
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4059 ac_clean_files_save=$ac_clean_files
4060 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4061 # Try to create an executable without -o first, disregard a.out.
4062 # It will help us diagnose broken compilers, and finding out an intuition
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4065 $as_echo_n "checking whether the C compiler works... " >&6; }
4066 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4068 # The possible output files:
4069 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4072 for ac_file in $ac_files
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4076 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4081 if { { ac_try="$ac_link_default"
4083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4084 *) ac_try_echo
=$ac_try;;
4086 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_link_default") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4093 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4094 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4095 # so that the user can short-circuit this test for compilers unknown to
4097 for ac_file
in $ac_files ''
4099 test -f "$ac_file" ||
continue
4101 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4104 # We found the default executable, but exeext='' is most
4108 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4110 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4112 # We set ac_cv_exeext here because the later test for it is not
4113 # safe: cross compilers may not add the suffix if given an `-o'
4114 # argument, so we may need to know it at that point already.
4115 # Even if this section looks crufty: it has the advantage of
4122 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4127 if test -z "$ac_file"; then :
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4130 $as_echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.
$ac_ext >&5
4133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135 as_fn_error
77 "C compiler cannot create executables
4136 See \`config.log' for more details" "$LINENO" 5; }
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4139 $as_echo "yes" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4142 $as_echo_n "checking for C compiler default output file name... " >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4144 $as_echo "$ac_file" >&6; }
4145 ac_exeext
=$ac_cv_exeext
4147 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4148 ac_clean_files
=$ac_clean_files_save
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4150 $as_echo_n "checking for suffix of executables... " >&6; }
4151 if { { ac_try
="$ac_link"
4153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link") 2>&5
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }; then :
4162 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4163 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4164 # work properly (i.e., refer to `conftest.exe'), while it won't with
4166 for ac_file
in conftest.exe conftest conftest.
*; do
4167 test -f "$ac_file" ||
continue
4169 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4170 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4179 See \`config.log' for more details" "$LINENO" 5; }
4181 rm -f conftest conftest
$ac_cv_exeext
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4183 $as_echo "$ac_cv_exeext" >&6; }
4185 rm -f conftest.
$ac_ext
4186 EXEEXT
=$ac_cv_exeext
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4194 FILE *f = fopen ("conftest.out", "w");
4195 return ferror (f) || fclose (f) != 0;
4201 ac_clean_files
="$ac_clean_files conftest.out"
4202 # Check that the compiler produces executables we can run. If not, either
4203 # the compiler is broken, or we cross compile.
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4205 $as_echo_n "checking whether we are cross compiling... " >&6; }
4206 if test "$cross_compiling" != yes; then
4207 { { ac_try
="$ac_link"
4209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_link") 2>&5
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }
4218 if { ac_try='./conftest$ac_cv_exeext'
4219 { { case "(($ac_try" in
4220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4221 *) ac_try_echo
=$ac_try;;
4223 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_try") 2>&5
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }; }; then
4231 if test "$cross_compiling" = maybe
; then
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $?
"cannot run C compiled programs.
4237 If you meant to cross compile, use \`--host'.
4238 See \`config.log' for more details" "$LINENO" 5; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4243 $as_echo "$cross_compiling" >&6; }
4245 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4246 ac_clean_files
=$ac_clean_files_save
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4249 $as_echo_n "checking for suffix of object files... " >&6; }
4250 if ${ac_cv_objext+:} false
; then :
4251 $as_echo_n "(cached) " >&6
4253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 rm -f conftest.o conftest.obj
4265 if { { ac_try
="$ac_compile"
4267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_compile") 2>&5
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 for ac_file in conftest.o conftest.obj conftest.*; do
4277 test -f "$ac_file" || continue;
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4280 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4291 See \
`config.log' for more details" "$LINENO" 5; }
4293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4296 $as_echo "$ac_cv_objext" >&6; }
4297 OBJEXT=$ac_cv_objext
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4301 if ${ac_cv_c_compiler_gnu+:} false; then :
4302 $as_echo_n "(cached) " >&6
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4318 if ac_fn_c_try_compile "$LINENO"; then :
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4329 if test $ac_compiler_gnu = yes; then
4334 ac_test_CFLAGS=${CFLAGS+set}
4335 ac_save_CFLAGS=$CFLAGS
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4338 if ${ac_cv_prog_cc_g+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 ac_save_c_werror_flag=$ac_c_werror_flag
4342 ac_c_werror_flag=yes
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4356 if ac_fn_c_try_compile "$LINENO"; then :
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4371 if ac_fn_c_try_compile "$LINENO"; then :
4374 ac_c_werror_flag=$ac_save_c_werror_flag
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4387 if ac_fn_c_try_compile "$LINENO"; then :
4390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 ac_c_werror_flag=$ac_save_c_werror_flag
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4398 $as_echo "$ac_cv_prog_cc_g" >&6; }
4399 if test "$ac_test_CFLAGS" = set; then
4400 CFLAGS=$ac_save_CFLAGS
4401 elif test $ac_cv_prog_cc_g = yes; then
4402 if test "$GCC" = yes; then
4408 if test "$GCC" = yes; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4416 if ${ac_cv_prog_cc_c89+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 ac_cv_prog_cc_c89=no
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4427 struct buf { int x; };
4428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4429 static char *e (p, i)
4435 static char *f (char * (*g) (char **, int), char **p, ...)
4440 s = g (p, va_arg (v,int));
4445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4446 function prototypes and stuff, but not '\xHH' hex character constants.
4447 These don't provoke an error unfortunately, instead are silently treated
4448 as 'x'. The following induces an error, until -std is added to get
4449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4450 array size at least. It's necessary to write '\x00'==0 to get something
4451 that's true only with -std. */
4452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4455 inside strings and character constants. */
4457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4459 int test (int i, double x);
4460 struct s1 {int (*f) (int a);};
4461 struct s2 {int (*f) (double a);};
4462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4476 CC="$ac_save_CC $ac_arg"
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_cv_prog_cc_c89=$ac_arg
4480 rm -f core conftest.err conftest.$ac_objext
4481 test "x$ac_cv_prog_cc_c89" != "xno" && break
4483 rm -f conftest.$ac_ext
4488 case "x$ac_cv_prog_cc_c89" in
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4491 $as_echo "none needed" >&6; } ;;
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4494 $as_echo "unsupported" >&6; } ;;
4496 CC="$CC $ac_cv_prog_cc_c89"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4500 if test "x$ac_cv_prog_cc_c89" != xno; then :
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4516 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4517 if ${am_cv_prog_cc_c_o+:} false; then :
4518 $as_echo_n "(cached) " >&6
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4531 # Make sure it works both with $CC and with simple cc.
4532 # Following AC_PROG_CC_C_O, we do the test twice because some
4533 # compilers refuse to overwrite an existing .o file with -o,
4534 # though they will create one.
4535 am_cv_prog_cc_c_o=yes
4537 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4538 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } \
4542 && test -f conftest2.$ac_objext; then
4545 am_cv_prog_cc_c_o=no
4549 rm -f core conftest*
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4553 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4554 if test "$am_cv_prog_cc_c_o" != yes; then
4555 # Losing compiler, so override with the script.
4556 # FIXME: It is wrong to rewrite CC.
4557 # But if we don't then we get into trouble of one sort or another.
4558 # A longer-term fix would be to have automake use am__CC in this case,
4559 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4560 CC="$am_aux_dir/compile $CC"
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569 depcc="$CC" am_compiler_list=
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4572 $as_echo_n "checking dependency style of $depcc... " >&6; }
4573 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4577 # We make a subdir and do the tests there. Otherwise we can end up
4578 # making bogus files that we don't know about and never remove. For
4579 # instance it was reported that on HP-UX the gcc test will end up
4580 # making a dummy file named 'D' -- because '-MD' means "put the output
4584 # Copy depcomp to subdir because otherwise we won't find it if we're
4585 # using a relative directory.
4586 cp "$am_depcomp" conftest.dir
4588 # We will build objects and dependencies in a subdirectory because
4589 # it helps to detect inapplicable dependency modes. For instance
4590 # both Tru64's cc and ICC support -MD to output dependencies as a
4591 # side effect of compilation, but ICC will put the dependencies in
4592 # the current directory while Tru64 will put them in the object
4596 am_cv_CC_dependencies_compiler_type=none
4597 if test "$am_compiler_list" = ""; then
4598 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4601 case " $depcc " in #(
4602 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4605 for depmode in $am_compiler_list; do
4606 # Setup a source with many dependencies, because some compilers
4607 # like to wrap large dependency lists on column 80 (with \), and
4608 # we should not choose a depcomp mode which is confused by this.
4610 # We need to recreate these files for each test, as the compiler may
4611 # overwrite some of them when testing with obscure command lines.
4612 # This happens at least with the AIX C compiler.
4614 for i in 1 2 3 4 5 6; do
4615 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4616 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4617 # Solaris 10 /bin/sh.
4618 echo '/* dummy */' > sub/conftst$i.h
4620 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4622 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4623 # mode. It turns out that the SunPro C++ compiler does not properly
4624 # handle '-M -o', and we need to detect this. Also, some Intel
4625 # versions had trouble with output in subdirs.
4626 am__obj=sub/conftest.${OBJEXT-o}
4627 am__minus_obj="-o $am__obj"
4630 # This depmode causes a compiler race in universal mode.
4631 test "$am__universal" = false || continue
4634 # After this tag, mechanisms are not by side-effect, so they'll
4635 # only be used when explicitly requested.
4636 if test "x$enable_dependency_tracking" = xyes; then
4642 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4643 # This compiler won't grok '-c -o', but also, the minuso test has
4644 # not run yet. These depmodes are late enough in the game, and
4645 # so weak that their functioning should not be impacted.
4646 am__obj=conftest.${OBJEXT-o}
4651 if depmode=$depmode \
4652 source=sub/conftest.c object=$am__obj \
4653 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4654 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4655 >/dev/null 2>conftest.err &&
4656 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4657 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4658 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4659 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4660 # icc doesn't choke on unknown options, it will just issue warnings
4661 # or remarks (even with -Werror). So we grep stderr for any message
4662 # that says an option was ignored or not supported.
4663 # When given -MP, icc 7.0 and 7.1 complain thusly:
4664 # icc: Command line warning: ignoring option '-M'; no argument required
4665 # The diagnosis changed in icc 8.0:
4666 # icc: Command line remark: option '-MP' not supported
4667 if (grep 'ignoring option' conftest.err ||
4668 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4669 am_cv_CC_dependencies_compiler_type=$depmode
4678 am_cv_CC_dependencies_compiler_type=none
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4683 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4684 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4687 test "x$enable_dependency_tracking" != xno \
4688 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4690 am__fastdepCC_FALSE='#'
4692 am__fastdepCC_TRUE='#'
4693 am__fastdepCC_FALSE=
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4705 # On Suns, sometimes $CPP names a directory.
4706 if test -n "$CPP" && test -d "$CPP"; then
4709 if test -z "$CPP"; then
4710 if ${ac_cv_prog_CPP+:} false; then :
4711 $as_echo_n "(cached) " >&6
4713 # Double quotes because CPP needs to be expanded
4714 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4717 for ac_c_preproc_warn_flag in '' yes
4719 # Use a header file that comes with gcc, so configuring glibc
4720 # with a fresh cross-compiler works.
4721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722 # <limits.h> exists even on freestanding compilers.
4723 # On the NeXT, cc -E runs the code through the compiler's parser,
4724 # not just through cpp. "Syntax error" is here to catch this case.
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4728 # include <limits.h>
4730 # include <assert.h>
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4737 # Broken: fails on valid input.
4740 rm -f conftest.err conftest.i conftest.$ac_ext
4742 # OK, works on sane cases. Now check whether nonexistent headers
4743 # can be detected and how.
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4746 #include <ac_nonexistent.h>
4748 if ac_fn_c_try_cpp "$LINENO"; then :
4749 # Broken: success on invalid input.
4752 # Passes both tests.
4756 rm -f conftest.err conftest.i conftest.$ac_ext
4759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4760 rm -f conftest.i conftest.err conftest.
$ac_ext
4761 if $ac_preproc_ok; then :
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4774 $as_echo "$CPP" >&6; }
4776 for ac_c_preproc_warn_flag
in '' yes
4778 # Use a header file that comes with gcc, so configuring glibc
4779 # with a fresh cross-compiler works.
4780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4781 # <limits.h> exists even on freestanding compilers.
4782 # On the NeXT, cc -E runs the code through the compiler's parser,
4783 # not just through cpp. "Syntax error" is here to catch this case.
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4787 # include <limits.h>
4789 # include <assert.h>
4793 if ac_fn_c_try_cpp
"$LINENO"; then :
4796 # Broken: fails on valid input.
4799 rm -f conftest.err conftest.i conftest.
$ac_ext
4801 # OK, works on sane cases. Now check whether nonexistent headers
4802 # can be detected and how.
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 #include <ac_nonexistent.h>
4807 if ac_fn_c_try_cpp
"$LINENO"; then :
4808 # Broken: success on invalid input.
4811 # Passes both tests.
4815 rm -f conftest.err conftest.i conftest.
$ac_ext
4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819 rm -f conftest.i conftest.err conftest.
$ac_ext
4820 if $ac_preproc_ok; then :
4823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4825 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4826 See \`config.log' for more details" "$LINENO" 5; }
4830 ac_cpp
='$CPP $CPPFLAGS'
4831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4837 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4838 if ${ac_cv_path_GREP+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -z "$GREP"; then
4842 ac_path_GREP_found
=false
4843 # Loop through the user's path and test for each of PROGNAME-LIST
4844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4848 test -z "$as_dir" && as_dir
=.
4849 for ac_prog
in grep ggrep
; do
4850 for ac_exec_ext
in '' $ac_executable_extensions; do
4851 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4852 as_fn_executable_p
"$ac_path_GREP" ||
continue
4853 # Check for GNU ac_path_GREP and select it if it is found.
4854 # Check for GNU $ac_path_GREP
4855 case `"$ac_path_GREP" --version 2>&1` in
4857 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4860 $as_echo_n 0123456789 >"conftest.in"
4863 cat "conftest.in" "conftest.in" >"conftest.tmp"
4864 mv "conftest.tmp" "conftest.in"
4865 cp "conftest.in" "conftest.nl"
4866 $as_echo 'GREP' >> "conftest.nl"
4867 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4868 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4869 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4870 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4871 # Best one so far, save it but keep looking for a better one
4872 ac_cv_path_GREP
="$ac_path_GREP"
4873 ac_path_GREP_max
=$ac_count
4875 # 10*(2^10) chars as input seems more than enough
4876 test $ac_count -gt 10 && break
4878 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4881 $ac_path_GREP_found && break 3
4886 if test -z "$ac_cv_path_GREP"; then
4887 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4890 ac_cv_path_GREP
=$GREP
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895 $as_echo "$ac_cv_path_GREP" >&6; }
4896 GREP
="$ac_cv_path_GREP"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900 $as_echo_n "checking for egrep... " >&6; }
4901 if ${ac_cv_path_EGREP+:} false
; then :
4902 $as_echo_n "(cached) " >&6
4904 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4905 then ac_cv_path_EGREP
="$GREP -E"
4907 if test -z "$EGREP"; then
4908 ac_path_EGREP_found
=false
4909 # Loop through the user's path and test for each of PROGNAME-LIST
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_prog
in egrep; do
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4918 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4919 # Check for GNU ac_path_EGREP and select it if it is found.
4920 # Check for GNU $ac_path_EGREP
4921 case `"$ac_path_EGREP" --version 2>&1` in
4923 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4926 $as_echo_n 0123456789 >"conftest.in"
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
4930 mv "conftest.tmp" "conftest.in"
4931 cp "conftest.in" "conftest.nl"
4932 $as_echo 'EGREP' >> "conftest.nl"
4933 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4934 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4935 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4936 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937 # Best one so far, save it but keep looking for a better one
4938 ac_cv_path_EGREP
="$ac_path_EGREP"
4939 ac_path_EGREP_max
=$ac_count
4941 # 10*(2^10) chars as input seems more than enough
4942 test $ac_count -gt 10 && break
4944 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4947 $ac_path_EGREP_found && break 3
4952 if test -z "$ac_cv_path_EGREP"; then
4953 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956 ac_cv_path_EGREP
=$EGREP
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4962 $as_echo "$ac_cv_path_EGREP" >&6; }
4963 EGREP
="$ac_cv_path_EGREP"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4967 $as_echo_n "checking for ANSI C header files... " >&6; }
4968 if ${ac_cv_header_stdc+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4986 if ac_fn_c_try_compile
"$LINENO"; then :
4987 ac_cv_header_stdc
=yes
4989 ac_cv_header_stdc
=no
4991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4993 if test $ac_cv_header_stdc = yes; then
4994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
5000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5001 $EGREP "memchr" >/dev
/null
2>&1; then :
5004 ac_cv_header_stdc
=no
5010 if test $ac_cv_header_stdc = yes; then
5011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5018 $EGREP "free" >/dev
/null
2>&1; then :
5021 ac_cv_header_stdc
=no
5027 if test $ac_cv_header_stdc = yes; then
5028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5029 if test "$cross_compiling" = yes; then :
5032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5036 #if ((' ' & 0x0FF) == 0x020)
5037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5040 # define ISLOWER(c) \
5041 (('a' <= (c) && (c) <= 'i') \
5042 || ('j' <= (c) && (c) <= 'r') \
5043 || ('s' <= (c) && (c) <= 'z'))
5044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5052 for (i = 0; i < 256; i++)
5053 if (XOR (islower (i), ISLOWER (i))
5054 || toupper (i) != TOUPPER (i))
5059 if ac_fn_c_try_run
"$LINENO"; then :
5062 ac_cv_header_stdc
=no
5064 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5065 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5071 $as_echo "$ac_cv_header_stdc" >&6; }
5072 if test $ac_cv_header_stdc = yes; then
5074 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5079 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5080 inttypes.h stdint.h unistd.h
5082 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5085 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5086 cat >>confdefs.h
<<_ACEOF
5087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5096 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5097 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5104 if test "$MINIX" = yes; then
5106 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5109 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5112 $as_echo "#define _MINIX 1" >>confdefs.h
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5118 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5119 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5120 $as_echo_n "(cached) " >&6
5122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5125 # define __EXTENSIONS__ 1
5126 $ac_includes_default
5135 if ac_fn_c_try_compile
"$LINENO"; then :
5136 ac_cv_safe_to_define___extensions__
=yes
5138 ac_cv_safe_to_define___extensions__
=no
5140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5143 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5144 test $ac_cv_safe_to_define___extensions__ = yes &&
5145 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5147 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5149 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5151 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5153 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5158 # Check whether --with-toolexeclibdir was given.
5159 if test "${with_toolexeclibdir+set}" = set; then :
5160 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5164 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5168 with_toolexeclibdir
=no
5173 # Calculate toolexeclibdir
5174 # Also toolexecdir, though it's only used in toolexeclibdir
5175 case ${version_specific_libs} in
5177 # Need the gcc compiler version to know where to install libraries
5178 # and header files if --enable-version-specific-runtime-libs option
5180 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5181 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5184 if test -n "$with_cross_host" &&
5185 test x
"$with_cross_host" != x
"no"; then
5186 # Install a library built with a cross compiler in tooldir, not libdir.
5187 toolexecdir
='$(exec_prefix)/$(target_alias)'
5188 case ${with_toolexeclibdir} in
5190 toolexeclibdir
='$(toolexecdir)/lib'
5193 toolexeclibdir
=${with_toolexeclibdir}
5197 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5198 toolexeclibdir
='$(libdir)'
5200 multi_os_directory
=`$CC -print-multi-os-directory`
5201 case $multi_os_directory in
5202 .
) ;; # Avoid trailing /.
5203 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5210 # Create a spec file, so that compile/link tests don't fail
5211 test -f libgfortran.spec ||
touch libgfortran.spec
5214 ac_cpp
='$CPP $CPPFLAGS'
5215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5219 # Check the compiler.
5220 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5221 # We must force CC to /not/ be precious variables; otherwise
5222 # the wrong, non-multilib-adjusted value will be used in multilibs.
5223 # As a side effect, we have to subst CFLAGS ourselves.
5228 ac_cpp
='$CPP $CPPFLAGS'
5229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5234 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_CC+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$CC"; then
5241 ac_cv_prog_CC
="$CC" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 if test -n "$CC"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5263 $as_echo "$CC" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5271 if test -z "$ac_cv_prog_CC"; then
5273 # Extract the first word of "gcc", so it can be a program name with args.
5274 set dummy gcc
; ac_word
=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$ac_ct_CC"; then
5281 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir
=.
5288 for ac_exec_ext
in '' $ac_executable_extensions; do
5289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC
="gcc"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 $as_echo "$ac_ct_CC" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5309 if test "x$ac_ct_CC" = x
; then
5312 case $cross_compiling:$ac_tool_warned in
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned
=yes ;;
5324 if test -z "$CC"; then
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5327 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_CC+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$CC"; then
5334 ac_cv_prog_CC
="$CC" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 if test -n "$CC"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5356 $as_echo "$CC" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5365 if test -z "$CC"; then
5366 # Extract the first word of "cc", so it can be a program name with args.
5367 set dummy cc
; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_CC+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$CC"; then
5374 ac_cv_prog_CC
="$CC" # Let the user override the test.
5377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir
=.
5382 for ac_exec_ext
in '' $ac_executable_extensions; do
5383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5384 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5385 ac_prog_rejected
=yes
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 if test $ac_prog_rejected = yes; then
5397 # We found a bogon in the path, so make sure we never use it.
5398 set dummy
$ac_cv_prog_CC
5400 if test $# != 0; then
5401 # We chose a different compiler from the bogus one.
5402 # However, it has the same basename, so the bogon will be chosen
5403 # first if we set CC to just the basename; use the full file name.
5405 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5411 if test -n "$CC"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5413 $as_echo "$CC" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5421 if test -z "$CC"; then
5422 if test -n "$ac_tool_prefix"; then
5423 for ac_prog
in cl.exe
5425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5426 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_CC+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$CC"; then
5433 ac_cv_prog_CC
="$CC" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 if test -n "$CC"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5455 $as_echo "$CC" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 test -n "$CC" && break
5465 if test -z "$CC"; then
5467 for ac_prog
in cl.exe
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy
$ac_prog; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_CC"; then
5477 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_CC
="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5497 if test -n "$ac_ct_CC"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5499 $as_echo "$ac_ct_CC" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$ac_ct_CC" && break
5509 if test "x$ac_ct_CC" = x
; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned
=yes ;;
5525 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5527 as_fn_error $?
"no acceptable C compiler found in \$PATH
5528 See \`config.log' for more details" "$LINENO" 5; }
5530 # Provide some information about the compiler.
5531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5534 for ac_option
in --version -v -V -qversion; do
5535 { { ac_try
="$ac_compiler $ac_option >&5"
5537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5541 $as_echo "$ac_try_echo"; } >&5
5542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5544 if test -s conftest.err; then
5546 ... rest of stderr output deleted ...
5547 10q' conftest.err >conftest.er1
5548 cat conftest.er1 >&5
5550 rm -f conftest.er1 conftest.err
5551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5552 test $ac_status = 0; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5556 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5557 if ${ac_cv_c_compiler_gnu+:} false; then :
5558 $as_echo_n "(cached) " >&6
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5574 if ac_fn_c_try_compile "$LINENO"; then :
5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5584 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5585 if test $ac_compiler_gnu = yes; then
5590 ac_test_CFLAGS=${CFLAGS+set}
5591 ac_save_CFLAGS=$CFLAGS
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5593 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5594 if ${ac_cv_prog_cc_g+:} false; then :
5595 $as_echo_n "(cached) " >&6
5597 ac_save_c_werror_flag=$ac_c_werror_flag
5598 ac_c_werror_flag=yes
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5612 if ac_fn_c_try_compile "$LINENO"; then :
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5627 if ac_fn_c_try_compile "$LINENO"; then :
5630 ac_c_werror_flag=$ac_save_c_werror_flag
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5643 if ac_fn_c_try_compile "$LINENO"; then :
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651 ac_c_werror_flag=$ac_save_c_werror_flag
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5654 $as_echo "$ac_cv_prog_cc_g" >&6; }
5655 if test "$ac_test_CFLAGS" = set; then
5656 CFLAGS=$ac_save_CFLAGS
5657 elif test $ac_cv_prog_cc_g = yes; then
5658 if test "$GCC" = yes; then
5664 if test "$GCC" = yes; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5672 if ${ac_cv_prog_cc_c89+:} false; then :
5673 $as_echo_n "(cached) " >&6
5675 ac_cv_prog_cc_c89=no
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5682 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5683 struct buf { int x; };
5684 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5685 static char *e (p, i)
5691 static char *f (char * (*g) (char **, int), char **p, ...)
5696 s = g (p, va_arg (v,int));
5701 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5702 function prototypes and stuff, but not '\xHH' hex character constants.
5703 These don't provoke an error unfortunately, instead are silently treated
5704 as 'x'. The following induces an error, until -std is added to get
5705 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5706 array size at least. It's necessary to write '\x00'==0 to get something
5707 that's true only with -std. */
5708 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5710 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5711 inside strings and character constants. */
5713 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5715 int test (int i, double x);
5716 struct s1 {int (*f) (int a);};
5717 struct s2 {int (*f) (double a);};
5718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5729 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5730 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5732 CC="$ac_save_CC $ac_arg"
5733 if ac_fn_c_try_compile "$LINENO"; then :
5734 ac_cv_prog_cc_c89=$ac_arg
5736 rm -f core conftest.err conftest.$ac_objext
5737 test "x$ac_cv_prog_cc_c89" != "xno" && break
5739 rm -f conftest.$ac_ext
5744 case "x$ac_cv_prog_cc_c89" in
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5747 $as_echo "none needed" >&6; } ;;
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5750 $as_echo "unsupported" >&6; } ;;
5752 CC="$CC $ac_cv_prog_cc_c89"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5754 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5756 if test "x$ac_cv_prog_cc_c89" != xno; then :
5761 ac_cpp='$CPP $CPPFLAGS'
5762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5767 ac_cpp='$CPP $CPPFLAGS'
5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5772 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5773 if ${am_cv_prog_cc_c_o+:} false; then :
5774 $as_echo_n "(cached) " >&6
5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5787 # Make sure it works both with $CC and with simple cc.
5788 # Following AC_PROG_CC_C_O, we do the test twice because some
5789 # compilers refuse to overwrite an existing .o file with -o,
5790 # though they will create one.
5791 am_cv_prog_cc_c_o=yes
5793 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5794 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } \
5798 && test -f conftest2.$ac_objext; then
5801 am_cv_prog_cc_c_o=no
5805 rm -f core conftest*
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5809 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5810 if test "$am_cv_prog_cc_c_o" != yes; then
5811 # Losing compiler, so override with the script.
5812 # FIXME: It is wrong to rewrite CC.
5813 # But if we don't then we get into trouble of one sort or another.
5814 # A longer-term fix would be to have automake use am__CC in this case,
5815 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5816 CC="$am_aux_dir/compile $CC"
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5825 depcc="$CC" am_compiler_list=
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5828 $as_echo_n "checking dependency style of $depcc... " >&6; }
5829 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5833 # We make a subdir and do the tests there. Otherwise we can end up
5834 # making bogus files that we don't know about and never remove. For
5835 # instance it was reported that on HP-UX the gcc test will end up
5836 # making a dummy file named 'D' -- because '-MD' means "put the output
5840 # Copy depcomp to subdir because otherwise we won't find it if we're
5841 # using a relative directory.
5842 cp "$am_depcomp" conftest.dir
5844 # We will build objects and dependencies in a subdirectory because
5845 # it helps to detect inapplicable dependency modes. For instance
5846 # both Tru64's cc and ICC support -MD to output dependencies as a
5847 # side effect of compilation, but ICC will put the dependencies in
5848 # the current directory while Tru64 will put them in the object
5852 am_cv_CC_dependencies_compiler_type=none
5853 if test "$am_compiler_list" = ""; then
5854 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5857 case " $depcc " in #(
5858 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5861 for depmode in $am_compiler_list; do
5862 # Setup a source with many dependencies, because some compilers
5863 # like to wrap large dependency lists on column 80 (with \), and
5864 # we should not choose a depcomp mode which is confused by this.
5866 # We need to recreate these files for each test, as the compiler may
5867 # overwrite some of them when testing with obscure command lines.
5868 # This happens at least with the AIX C compiler.
5870 for i in 1 2 3 4 5 6; do
5871 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5872 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5873 # Solaris 10 /bin/sh.
5874 echo '/* dummy */' > sub/conftst$i.h
5876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5878 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5879 # mode. It turns out that the SunPro C++ compiler does not properly
5880 # handle '-M -o', and we need to detect this. Also, some Intel
5881 # versions had trouble with output in subdirs.
5882 am__obj=sub/conftest.${OBJEXT-o}
5883 am__minus_obj="-o $am__obj"
5886 # This depmode causes a compiler race in universal mode.
5887 test "$am__universal" = false || continue
5890 # After this tag, mechanisms are not by side-effect, so they'll
5891 # only be used when explicitly requested.
5892 if test "x$enable_dependency_tracking" = xyes; then
5898 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5899 # This compiler won't grok '-c -o', but also, the minuso test has
5900 # not run yet. These depmodes are late enough in the game, and
5901 # so weak that their functioning should not be impacted.
5902 am__obj=conftest.${OBJEXT-o}
5907 if depmode=$depmode \
5908 source=sub/conftest.c object=$am__obj \
5909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5910 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5911 >/dev/null 2>conftest.err &&
5912 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5913 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5914 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5915 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5916 # icc doesn't choke on unknown options, it will just issue warnings
5917 # or remarks (even with -Werror). So we grep stderr for any message
5918 # that says an option was ignored or not supported.
5919 # When given -MP, icc 7.0 and 7.1 complain thusly:
5920 # icc: Command line warning: ignoring option '-M'; no argument required
5921 # The diagnosis changed in icc 8.0:
5922 # icc: Command line remark: option '-MP' not supported
5923 if (grep 'ignoring option' conftest.err ||
5924 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5925 am_cv_CC_dependencies_compiler_type=$depmode
5934 am_cv_CC_dependencies_compiler_type=none
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5939 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5940 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5943 test "x$enable_dependency_tracking" != xno \
5944 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5946 am__fastdepCC_FALSE='#'
5948 am__fastdepCC_TRUE='#'
5949 am__fastdepCC_FALSE=
5959 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5961 if test "x$GCC" = "xyes"; then
5962 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5963 ## We like to use C11 and C99 routines when available. This makes
5965 ## __STDC_VERSION__ is set such that libc includes make them available.
5966 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5967 ## Compile the following tests with the same system header contents
5968 ## that we'll encounter when compiling our own source files.
5969 CFLAGS="-std=gnu11 $CFLAGS"
5972 xpowerpc64le*-linux*)
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #if __SIZEOF_LONG_DOUBLE__ != 16
5976 #error long double is double
5986 if ac_fn_c_try_cpp "$LINENO"; then :
5987 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5988 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5989 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5992 rm -f conftest.err conftest.i conftest.$ac_ext
5998 if test "x$have_real_17" != xno; then
6000 HAVE_REAL_17_FALSE='#'
6002 HAVE_REAL_17_TRUE='#'
6007 # Add CET specific flags if CET is enabled
6008 # Check whether --enable-cet was given.
6009 if test "${enable_cet+set}" = set; then :
6010 enableval=$enable_cet;
6011 case "$enableval" in
6013 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6022 $as_echo_n "checking for CET support... " >&6; }
6024 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6026 i[34567]86-*-linux* | x86_64-*-linux*)
6027 case "$enable_cet" in
6029 # Check if target supports multi-byte NOPs
6030 # and if compiler and assembler support CET insn.
6031 cet_save_CFLAGS="$CFLAGS"
6032 CFLAGS="$CFLAGS -fcf-protection"
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6040 #if !defined(__SSE2__)
6041 #error target does not support multi-byte NOPs
6050 if ac_fn_c_try_compile "$LINENO"; then :
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 CFLAGS="$cet_save_CFLAGS"
6059 # Check if assembler supports CET.
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6071 if ac_fn_c_try_compile "$LINENO"; then :
6074 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 if test x$enable_cet = xyes; then
6085 CET_FLAGS="-fcf-protection -mshstk"
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087 $as_echo "yes" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6094 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6095 CFLAGS="$CFLAGS $CET_FLAGS"
6101 # Check for symbol versioning (copied from libssp).
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6103 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6104 # Check whether --enable-symvers was given.
6105 if test "${enable_symvers+set}" = set; then :
6106 enableval=$enable_symvers; gfortran_use_symver=$enableval
6108 gfortran_use_symver=yes
6111 if test "x$gfortran_use_symver" != xno; then
6112 save_LDFLAGS="$LDFLAGS"
6113 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6114 cat > conftest.map <<EOF
6116 global: *foo*; bar; local: *;
6119 if test x$gcc_no_link = xyes; then
6120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6133 if ac_fn_c_try_link "$LINENO"; then :
6134 gfortran_use_symver=gnu
6136 gfortran_use_symver=no
6138 rm -f core conftest.err conftest.$ac_objext \
6139 conftest$ac_exeext conftest.$ac_ext
6140 if test x$gfortran_use_symver = xno; then
6141 case "$target_os" in
6143 LDFLAGS="$save_LDFLAGS"
6144 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6145 # Sun ld cannot handle wildcards and treats all entries as undefined.
6146 cat > conftest.map <<EOF
6148 global: foo; local: *;
6151 if test x$gcc_no_link = xyes; then
6152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6165 if ac_fn_c_try_link "$LINENO"; then :
6166 gfortran_use_symver=sun
6168 gfortran_use_symver=no
6170 rm -f core conftest.err conftest.$ac_objext \
6171 conftest$ac_exeext conftest.$ac_ext
6175 LDFLAGS="$save_LDFLAGS"
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6178 $as_echo "$gfortran_use_symver" >&6; }
6179 if test "x$gfortran_use_symver" != xno; then
6180 LIBGFOR_USE_SYMVER_TRUE=
6181 LIBGFOR_USE_SYMVER_FALSE='#'
6183 LIBGFOR_USE_SYMVER_TRUE='#'
6184 LIBGFOR_USE_SYMVER_FALSE=
6187 if test "x$gfortran_use_symver" = xgnu; then
6188 LIBGFOR_USE_SYMVER_GNU_TRUE=
6189 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6191 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6192 LIBGFOR_USE_SYMVER_GNU_FALSE=
6195 if test "x$gfortran_use_symver" = xsun; then
6196 LIBGFOR_USE_SYMVER_SUN_TRUE=
6197 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6199 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6200 LIBGFOR_USE_SYMVER_SUN_FALSE=
6204 # For GPU offloading, not everything in libfortran can be supported.
6205 # Currently, the only target that has this problem is nvptx. The
6206 # following is a (partial) list of features that are unsupportable on
6207 # this particular target:
6210 # * C library support for I/O, with printf as the one notable exception
6211 # * C library support for other features such as signal, environment
6212 # variables, time functions
6214 if test "x${target_cpu}" = xnvptx; then
6215 LIBGFOR_MINIMAL_TRUE=
6216 LIBGFOR_MINIMAL_FALSE='#'
6218 LIBGFOR_MINIMAL_TRUE='#'
6219 LIBGFOR_MINIMAL_FALSE=
6223 # Some compiler target support may have limited support for integer
6224 # or floating point numbers – or may want to reduce the libgfortran size
6225 # although they do have the support.
6226 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6227 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6232 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6233 # similarly to how libstdc++ does it
6234 ac_test_CFLAGS="${CFLAGS+set}"
6235 ac_save_CFLAGS="$CFLAGS"
6237 # Check for -ffunction-sections -fdata-sections
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6239 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6240 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6252 if ac_fn_c_try_compile "$LINENO"; then :
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 if test "$ac_test_CFLAGS" = set; then
6259 CFLAGS="$ac_save_CFLAGS"
6261 # this is the suspicious part
6264 if test x"$ac_fdsections" = x"yes"; then
6265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6268 $as_echo "$ac_fdsections" >&6; }
6271 # Check linker hardware capability support.
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6273 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6274 if ${ac_cv_path_SED+:} false; then :
6275 $as_echo_n "(cached) " >&6
6277 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6278 for ac_i in 1 2 3 4 5 6 7; do
6279 ac_script="$ac_script$as_nl$ac_script"
6281 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6282 { ac_script=; unset ac_script;}
6283 if test -z "$SED"; then
6284 ac_path_SED_found=false
6285 # Loop through the user's path and test for each of PROGNAME-LIST
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir=.
6291 for ac_prog in sed gsed; do
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6294 as_fn_executable_p "$ac_path_SED" || continue
6295 # Check for GNU ac_path_SED and select it if it is found.
6296 # Check for GNU $ac_path_SED
6297 case `"$ac_path_SED" --version 2>&1` in
6299 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6302 $as_echo_n 0123456789 >"conftest.in"
6305 cat "conftest.in" "conftest.in" >"conftest.tmp"
6306 mv "conftest.tmp" "conftest.in"
6307 cp "conftest.in" "conftest.nl"
6308 $as_echo '' >> "conftest.nl"
6309 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6311 as_fn_arith $ac_count + 1 && ac_count=$as_val
6312 if test $ac_count -gt ${ac_path_SED_max-0}; then
6313 # Best one so far, save it but keep looking for a better one
6314 ac_cv_path_SED="$ac_path_SED"
6315 ac_path_SED_max=$ac_count
6317 # 10*(2^10) chars as input seems more than enough
6318 test $ac_count -gt 10 && break
6320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6323 $ac_path_SED_found && break 3
6328 if test -z "$ac_cv_path_SED"; then
6329 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6337 $as_echo "$ac_cv_path_SED" >&6; }
6338 SED="$ac_cv_path_SED"
6341 test -z "$SED" && SED=sed
6342 Xsed="$SED -e 1s/^X//"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6355 $as_echo_n "checking for fgrep... " >&6; }
6356 if ${ac_cv_path_FGREP+:} false; then :
6357 $as_echo_n "(cached) " >&6
6359 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6360 then ac_cv_path_FGREP="$GREP -F"
6362 if test -z "$FGREP"; then
6363 ac_path_FGREP_found=false
6364 # Loop through the user's path and test for each of PROGNAME-LIST
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6369 test -z "$as_dir" && as_dir=.
6370 for ac_prog in fgrep; do
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6373 as_fn_executable_p "$ac_path_FGREP" || continue
6374 # Check for GNU ac_path_FGREP and select it if it is found.
6375 # Check for GNU $ac_path_FGREP
6376 case `"$ac_path_FGREP" --version 2>&1` in
6378 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6381 $as_echo_n 0123456789 >"conftest.in"
6384 cat "conftest.in" "conftest.in" >"conftest.tmp"
6385 mv "conftest.tmp" "conftest.in"
6386 cp "conftest.in" "conftest.nl"
6387 $as_echo 'FGREP' >> "conftest.nl"
6388 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390 as_fn_arith $ac_count + 1 && ac_count=$as_val
6391 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6392 # Best one so far, save it but keep looking for a better one
6393 ac_cv_path_FGREP="$ac_path_FGREP"
6394 ac_path_FGREP_max=$ac_count
6396 # 10*(2^10) chars as input seems more than enough
6397 test $ac_count -gt 10 && break
6399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6402 $ac_path_FGREP_found && break 3
6407 if test -z "$ac_cv_path_FGREP"; then
6408 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6411 ac_cv_path_FGREP=$FGREP
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6417 $as_echo "$ac_cv_path_FGREP" >&6; }
6418 FGREP="$ac_cv_path_FGREP"
6421 test -z "$GREP" && GREP=grep
6439 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6440 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6441 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6444 $as_echo_n "checking how to print strings... " >&6; }
6445 # Test print first, because it will be a builtin if present.
6446 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6447 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6449 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6452 # Use this function as a fallback that always works.
6453 func_fallback_echo ()
6455 eval 'cat <<_LTECHO_EOF
6459 ECHO='func_fallback_echo'
6462 # func_echo_all arg...
6463 # Invoke $ECHO with all args, space-separated.
6470 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6471 $as_echo "printf" >&6; } ;;
6472 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6473 $as_echo "print -r" >&6; } ;;
6474 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6475 $as_echo "cat" >&6; } ;;
6493 # Check whether --with-gnu-ld was given.
6494 if test "${with_gnu_ld+set}" = set; then :
6495 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6501 if test "$GCC" = yes; then
6502 # Check if gcc -print-prog-name=ld gives a path.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6504 $as_echo_n "checking for ld used by $CC... " >&6; }
6507 # gcc leaves a trailing carriage return which upsets mingw
6508 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6510 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6513 # Accept absolute paths.
6515 re_direlt='/[^/][^/]*/\.\./'
6516 # Canonicalize the pathname of ld
6517 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6518 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6519 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6521 test -z "$LD" && LD="$ac_prog"
6524 # If it fails, then pretend we aren't using GCC.
6528 # If it is relative, then search for the first ld in PATH.
6532 elif test "$with_gnu_ld" = yes; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6534 $as_echo_n "checking for GNU ld... " >&6; }
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6537 $as_echo_n "checking for non-GNU ld... " >&6; }
6539 if ${lt_cv_path_LD+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -z "$LD"; then
6543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6544 for ac_dir in $PATH; do
6546 test -z "$ac_dir" && ac_dir=.
6547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6548 lt_cv_path_LD="$ac_dir/$ac_prog"
6549 # Check to see if the program is GNU ld. I'd rather use --version,
6550 # but apparently some variants of GNU ld only accept -v.
6551 # Break only if it was the GNU/non-GNU ld that we prefer.
6552 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6553 *GNU* | *'with BFD'*)
6554 test "$with_gnu_ld" != no && break
6557 test "$with_gnu_ld" != yes && break
6564 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6569 if test -n "$LD"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6571 $as_echo "$LD" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6576 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6578 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6579 if ${lt_cv_prog_gnu_ld+:} false; then :
6580 $as_echo_n "(cached) " >&6
6582 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6583 case `$LD -v 2>&1 </dev
/null
` in
6584 *GNU* | *'with BFD'*)
6585 lt_cv_prog_gnu_ld=yes
6588 lt_cv_prog_gnu_ld=no
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6593 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6594 with_gnu_ld=$lt_cv_prog_gnu_ld
6605 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6608 ac_save_LDFLAGS="$LDFLAGS"
6609 LDFLAGS="$LFLAGS -mclear-hwcap"
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6612 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6613 if test x$gcc_no_link = xyes; then
6614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6627 if ac_fn_c_try_link "$LINENO"; then :
6628 ac_hwcap_ldflags=yes
6632 rm -f core conftest.err conftest.$ac_objext \
6633 conftest$ac_exeext conftest.$ac_ext
6634 if test "$ac_hwcap_ldflags" = "yes"; then
6635 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6638 $as_echo "$ac_hwcap_ldflags" >&6; }
6640 LDFLAGS="$ac_save_LDFLAGS"
6644 if test $ac_hwcap_ldflags != no; then
6646 HAVE_HWCAP_FALSE='#'
6654 # Find other programs we need.
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}as; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_AS+:} false; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$AS"; then
6664 ac_cv_prog_AS="$AS" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_AS="${ac_tool_prefix}as"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 if test -n "$AS"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6686 $as_echo "$AS" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6694 if test -z "$ac_cv_prog_AS"; then
6696 # Extract the first word of "as", so it can be a program name with args.
6697 set dummy as; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6701 $as_echo_n "(cached) " >&6
6703 if test -n "$ac_ct_AS"; then
6704 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_ac_ct_AS="as"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6724 if test -n "$ac_ct_AS"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6726 $as_echo "$ac_ct_AS" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6732 if test "x$ac_ct_AS" = x; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6747 if test -n "$ac_tool_prefix"; then
6748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6749 set dummy ${ac_tool_prefix}ar; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_AR+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 if test -n "$AR"; then
6756 ac_cv_prog_AR="$AR" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_AR="${ac_tool_prefix}ar"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 if test -n "$AR"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6778 $as_echo "$AR" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6786 if test -z "$ac_cv_prog_AR"; then
6788 # Extract the first word of "ar", so it can be a program name with args.
6789 set dummy ar; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 $as_echo_n "checking for $ac_word... " >&6; }
6792 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6793 $as_echo_n "(cached) " >&6
6795 if test -n "$ac_ct_AR"; then
6796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_ac_ct_AR="ar"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6816 if test -n "$ac_ct_AR"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6818 $as_echo "$ac_ct_AR" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 $as_echo "no" >&6; }
6824 if test "x$ac_ct_AR" = x; then
6827 case $cross_compiling:$ac_tool_warned in
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned=yes ;;
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_RANLIB+:} false; then :
6845 $as_echo_n "(cached) " >&6
6847 if test -n "$RANLIB"; then
6848 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 $as_echo "$RANLIB" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6885 $as_echo_n "(cached) " >&6
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6897 ac_cv_prog_ac_ct_RANLIB="ranlib"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6908 if test -n "$ac_ct_RANLIB"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6910 $as_echo "$ac_ct_RANLIB" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6916 if test "x$ac_ct_RANLIB" = x; then
6917 RANLIB="ranlib-not-found-in-path-error"
6919 case $cross_compiling:$ac_tool_warned in
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6923 ac_tool_warned=yes ;;
6925 RANLIB=$ac_ct_RANLIB
6928 RANLIB="$ac_cv_prog_RANLIB"
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6932 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6934 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6935 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 cat >conftest.make <<\_ACEOF
6941 @echo '@@@%%%=$(MAKE)=@@@%%%'
6943 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6944 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6946 eval ac_cv_prog_make_${ac_make}_set=yes;;
6948 eval ac_cv_prog_make_${ac_make}_set=no;;
6952 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6954 $as_echo "yes" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6959 SET_MAKE="MAKE=${MAKE-make}"
6965 #AC_MSG_NOTICE([====== Starting libtool configuration])
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6973 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6978 macro_version='2.2.7a'
6979 macro_revision='1.3134'
6993 ltmain="$ac_aux_dir/ltmain.sh"
6995 # Backslashify metacharacters that are still active within
6996 # double-quoted strings.
6997 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6999 # Same as above, but do not quote variable references.
7000 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7002 # Sed substitution to delay expansion of an escaped shell variable in a
7003 # double_quote_subst'ed string.
7004 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7006 # Sed substitution to delay expansion of an escaped single quote.
7007 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7009 # Sed substitution to avoid accidental globbing in evaled expressions
7010 no_glob_subst='s/\*/\\\*/g'
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7013 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7014 if ${lt_cv_path_NM+:} false; then :
7015 $as_echo_n "(cached
) " >&6
7017 if test -n "$NM"; then
7018 # Let the user override the test.
7021 lt_nm_to_check="${ac_tool_prefix}nm
"
7022 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7023 lt_nm_to_check="$lt_nm_to_check nm
"
7025 for lt_tmp_nm in $lt_nm_to_check; do
7026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7027 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7029 test -z "$ac_dir" && ac_dir=.
7030 tmp_nm="$ac_dir/$lt_tmp_nm"
7031 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7032 # Check to see if the nm accepts a BSD-compat flag.
7033 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7034 # nm: unknown option "B
" ignored
7035 # Tru64's nm complains that /dev/null is an invalid object file
7036 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7037 */dev/null* | *'Invalid file or object type'*)
7038 lt_cv_path_NM="$tmp_nm -B"
7042 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7044 lt_cv_path_NM="$tmp_nm -p"
7048 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7049 continue # so that we can try to find one that supports BSD flags
7058 : ${lt_cv_path_NM=no}
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7062 $as_echo "$lt_cv_path_NM" >&6; }
7063 if test "$lt_cv_path_NM" != "no
"; then
7066 # Didn't find any BSD compatible name lister, look for dumpbin.
7067 if test -n "$DUMPBIN"; then :
7068 # Let the user override the test.
7070 if test -n "$ac_tool_prefix"; then
7071 for ac_prog in dumpbin "link
-dump"
7073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7076 $as_echo_n "checking
for $ac_word...
" >&6; }
7077 if ${ac_cv_prog_DUMPBIN+:} false; then :
7078 $as_echo_n "(cached
) " >&6
7080 if test -n "$DUMPBIN"; then
7081 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7100 DUMPBIN=$ac_cv_prog_DUMPBIN
7101 if test -n "$DUMPBIN"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7103 $as_echo "$DUMPBIN" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7106 $as_echo "no
" >&6; }
7110 test -n "$DUMPBIN" && break
7113 if test -z "$DUMPBIN"; then
7114 ac_ct_DUMPBIN=$DUMPBIN
7115 for ac_prog in dumpbin "link
-dump"
7117 # Extract the first word of "$ac_prog", so it can be a program name with args.
7118 set dummy $ac_prog; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7120 $as_echo_n "checking
for $ac_word...
" >&6; }
7121 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7122 $as_echo_n "(cached
) " >&6
7124 if test -n "$ac_ct_DUMPBIN"; then
7125 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7144 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7145 if test -n "$ac_ct_DUMPBIN"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7147 $as_echo "$ac_ct_DUMPBIN" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7150 $as_echo "no
" >&6; }
7154 test -n "$ac_ct_DUMPBIN" && break
7157 if test "x
$ac_ct_DUMPBIN" = x; then
7160 case $cross_compiling:$ac_tool_warned in
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7164 ac_tool_warned=yes ;;
7166 DUMPBIN=$ac_ct_DUMPBIN
7170 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7172 DUMPBIN="$DUMPBIN -symbols"
7180 if test "$DUMPBIN" != ":"; then
7184 test -z "$NM" && NM=nm
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7192 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7193 if ${lt_cv_nm_interface+:} false; then :
7194 $as_echo_n "(cached
) " >&6
7196 lt_cv_nm_interface="BSD nm
"
7197 echo "int some_variable
= 0;" > conftest.$ac_ext
7198 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7199 (eval "$ac_compile" 2>conftest.err)
7200 cat conftest.err >&5
7201 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7202 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7203 cat conftest.err >&5
7204 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7205 cat conftest.out >&5
7206 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7207 lt_cv_nm_interface="MS dumpbin
"
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7212 $as_echo "$lt_cv_nm_interface" >&6; }
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7215 $as_echo_n "checking whether
ln -s works...
" >&6; }
7217 if test "$LN_S" = "ln -s"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7219 $as_echo "yes" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7222 $as_echo "no
, using
$LN_S" >&6; }
7225 # find the maximum length of command line arguments
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7227 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7228 if ${lt_cv_sys_max_cmd_len+:} false; then :
7229 $as_echo_n "(cached
) " >&6
7236 # On DJGPP, this test can blow up pretty badly due to problems in libc
7237 # (any single argument exceeding 2000 bytes causes a buffer overrun
7238 # during glob expansion). Even if it were fixed, the result of this
7239 # check would be larger than it should be.
7240 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7244 # Under GNU Hurd, this test is not required because there is
7245 # no limit to the length of command line arguments.
7246 # Libtool will interpret -1 as no limit whatsoever
7247 lt_cv_sys_max_cmd_len=-1;
7250 cygwin* | mingw* | cegcc*)
7251 # On Win9x/ME, this test blows up -- it succeeds, but takes
7252 # about 5 minutes as the teststring grows exponentially.
7253 # Worse, since 9x/ME are not pre-emptively multitasking,
7254 # you end up with a "frozen
" computer, even though with patience
7255 # the test eventually succeeds (with a max line length of 256k).
7256 # Instead, let's just punt: use the minimum linelength reported by
7257 # all of the supported platforms: 8192 (on NT/2K/XP).
7258 lt_cv_sys_max_cmd_len=8192;
7262 # On MiNT this can take a long time and run out of memory.
7263 lt_cv_sys_max_cmd_len=8192;
7267 # On AmigaOS with pdksh, this test takes hours, literally.
7268 # So we just punt and use a minimum line length of 8192.
7269 lt_cv_sys_max_cmd_len=8192;
7272 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7273 # This has been around since 386BSD, at least. Likely further.
7274 if test -x /sbin/sysctl; then
7275 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7276 elif test -x /usr/sbin/sysctl; then
7277 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7279 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7281 # And add a safety zone
7282 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7287 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7288 lt_cv_sys_max_cmd_len=196608
7292 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7293 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7294 # nice to cause kernel panics so lets avoid the loop below.
7295 # First set a reasonable default.
7296 lt_cv_sys_max_cmd_len=16384
7298 if test -x /sbin/sysconfig; then
7299 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7300 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7305 lt_cv_sys_max_cmd_len=102400
7307 sysv5* | sco5v6* | sysv4.2uw2*)
7308 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7309 if test -n "$kargmax"; then
7310 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7312 lt_cv_sys_max_cmd_len=32768
7316 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7317 if test -n "$lt_cv_sys_max_cmd_len"; then
7318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7321 # Make teststring a little bigger before we do anything with it.
7322 # a 1K string should be a reasonable start.
7323 for i in 1 2 3 4 5 6 7 8 ; do
7324 teststring=$teststring$teststring
7326 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7327 # If test is not a shell built-in, we'll probably end up computing a
7328 # maximum length that is only half of the actual maximum length, but
7330 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7331 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7332 test $i != 17 # 1/2 MB should be enough
7335 teststring=$teststring$teststring
7337 # Only check the string length outside the loop.
7338 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7340 # Add a significant safety factor because C++ compilers can tack on
7341 # massive amounts of additional arguments before passing them to the
7342 # linker. It appears as though 1/2 is a usable value.
7343 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7350 if test -n $lt_cv_sys_max_cmd_len ; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7352 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7355 $as_echo "none
" >&6; }
7357 max_cmd_len=$lt_cv_sys_max_cmd_len
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7369 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7370 # Try some XSI features
7373 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7375 && eval 'test $(( 1 + 1 )) -eq 2 \
7376 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7379 $as_echo "$xsi_shell" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7383 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7385 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7387 && lt_shell_append
=yes
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7389 $as_echo "$lt_shell_append" >&6; }
7392 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7402 # test EBCDIC or ASCII
7403 case `echo X|tr X '\101'` in
7404 A
) # ASCII based system
7405 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7406 lt_SP2NL
='tr \040 \012'
7407 lt_NL2SP
='tr \015\012 \040\040'
7409 *) # EBCDIC based system
7410 lt_SP2NL
='tr \100 \n'
7411 lt_NL2SP
='tr \r\n \100\100'
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7424 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7425 if ${lt_cv_ld_reload_flag+:} false
; then :
7426 $as_echo_n "(cached) " >&6
7428 lt_cv_ld_reload_flag
='-r'
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7431 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7432 reload_flag
=$lt_cv_ld_reload_flag
7433 case $reload_flag in
7435 *) reload_flag
=" $reload_flag" ;;
7437 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7440 if test "$GCC" = yes; then
7441 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7443 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7458 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7462 $as_echo_n "(cached) " >&6
7464 if test -n "$OBJDUMP"; then
7465 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir
=.
7472 for ac_exec_ext
in '' $ac_executable_extensions; do
7473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 OBJDUMP
=$ac_cv_prog_OBJDUMP
7485 if test -n "$OBJDUMP"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7487 $as_echo "$OBJDUMP" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7495 if test -z "$ac_cv_prog_OBJDUMP"; then
7496 ac_ct_OBJDUMP
=$OBJDUMP
7497 # Extract the first word of "objdump", so it can be a program name with args.
7498 set dummy objdump
; ac_word
=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7502 $as_echo_n "(cached) " >&6
7504 if test -n "$ac_ct_OBJDUMP"; then
7505 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7511 test -z "$as_dir" && as_dir
=.
7512 for ac_exec_ext
in '' $ac_executable_extensions; do
7513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7514 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7525 if test -n "$ac_ct_OBJDUMP"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7527 $as_echo "$ac_ct_OBJDUMP" >&6; }
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7533 if test "x$ac_ct_OBJDUMP" = x
; then
7536 case $cross_compiling:$ac_tool_warned in
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned
=yes ;;
7542 OBJDUMP
=$ac_ct_OBJDUMP
7545 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7548 test -z "$OBJDUMP" && OBJDUMP
=objdump
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7559 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7560 if ${lt_cv_deplibs_check_method+:} false
; then :
7561 $as_echo_n "(cached) " >&6
7563 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7564 lt_cv_file_magic_test_file
=
7565 lt_cv_deplibs_check_method
='unknown'
7566 # Need to set the preceding variable on all platforms that support
7567 # interlibrary dependencies.
7568 # 'none' -- dependencies not supported.
7569 # `unknown' -- same as none, but documents that we really don't know.
7570 # 'pass_all' -- all dependencies passed with no checks.
7571 # 'test_compile' -- check by making test program.
7572 # 'file_magic [[regex]]' -- check by looking for files in library path
7573 # which responds to the $file_magic_cmd with a given extended regex.
7574 # If you have `file' or equivalent on your system and you're not sure
7575 # whether `pass_all' will *always* work, you probably want this one.
7579 lt_cv_deplibs_check_method
=pass_all
7583 lt_cv_deplibs_check_method
=pass_all
7587 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7588 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7589 lt_cv_file_magic_test_file
=/shlib
/libc.so
7593 # func_win32_libid is a shell function defined in ltmain.sh
7594 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7595 lt_cv_file_magic_cmd
='func_win32_libid'
7599 # Base MSYS/MinGW do not provide the 'file' command needed by
7600 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7601 # unless we find 'file', for example because we are cross-compiling.
7602 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7603 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7604 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7605 lt_cv_file_magic_cmd
='func_win32_libid'
7607 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7608 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7613 # use the weaker test based on 'objdump'. See mingw*.
7614 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7615 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7618 darwin
* | rhapsody
*)
7619 lt_cv_deplibs_check_method
=pass_all
7622 freebsd
* | dragonfly
*)
7623 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7626 # Not sure whether the presence of OpenBSD here was a mistake.
7627 # Let's accept both of them until this is cleared up.
7628 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7629 lt_cv_file_magic_cmd
=/usr
/bin
/file
7630 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7634 lt_cv_deplibs_check_method
=pass_all
7639 lt_cv_deplibs_check_method
=pass_all
7643 lt_cv_deplibs_check_method
=pass_all
7646 hpux10.20
* | hpux11
*)
7647 lt_cv_file_magic_cmd
=/usr
/bin
/file
7650 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7651 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7654 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]'
7655 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7658 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7659 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7665 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7666 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7669 irix5
* | irix6
* | nonstopux
*)
7671 *-32|
*"-32 ") libmagic
=32-bit;;
7672 *-n32|
*"-n32 ") libmagic
=N32
;;
7673 *-64|
*"-64 ") libmagic
=64-bit;;
7674 *) libmagic
=never-match
;;
7676 lt_cv_deplibs_check_method
=pass_all
7679 # This must be Linux ELF.
7680 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7681 lt_cv_deplibs_check_method
=pass_all
7685 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7686 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7688 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7693 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7694 lt_cv_file_magic_cmd
=/usr
/bin
/file
7695 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7699 lt_cv_deplibs_check_method
=pass_all
7703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7704 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7706 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7710 osf3
* | osf4
* | osf5
*)
7711 lt_cv_deplibs_check_method
=pass_all
7715 lt_cv_deplibs_check_method
=pass_all
7719 lt_cv_deplibs_check_method
=pass_all
7722 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7723 lt_cv_deplibs_check_method
=pass_all
7727 case $host_vendor in
7729 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]'
7730 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7733 lt_cv_deplibs_check_method
=pass_all
7736 lt_cv_file_magic_cmd
='/bin/file'
7737 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7740 lt_cv_file_magic_cmd
='/bin/file'
7741 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7742 lt_cv_file_magic_test_file
=/lib
/libc.so
7745 lt_cv_deplibs_check_method
=pass_all
7748 lt_cv_deplibs_check_method
=pass_all
7754 lt_cv_deplibs_check_method
=pass_all
7757 # Assume VxWorks cross toolchains are built on Linux, possibly
7758 # as canadian for Windows hosts.
7759 lt_cv_deplibs_check_method
=pass_all
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7765 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7766 file_magic_cmd
=$lt_cv_file_magic_cmd
7767 deplibs_check_method
=$lt_cv_deplibs_check_method
7768 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7782 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7783 for plugin
in $plugin_names; do
7784 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
7785 if test x
$plugin_so = x
$plugin; then
7786 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
7788 if test x
$plugin_so != x
$plugin; then
7789 plugin_option
="--plugin $plugin_so"
7794 if test -n "$ac_tool_prefix"; then
7795 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7796 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798 $as_echo_n "checking for $ac_word... " >&6; }
7799 if ${ac_cv_prog_AR+:} false
; then :
7800 $as_echo_n "(cached) " >&6
7802 if test -n "$AR"; then
7803 ac_cv_prog_AR
="$AR" # Let the user override the test.
7805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7809 test -z "$as_dir" && as_dir
=.
7810 for ac_exec_ext
in '' $ac_executable_extensions; do
7811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7812 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7823 if test -n "$AR"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7825 $as_echo "$AR" >&6; }
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828 $as_echo "no" >&6; }
7833 if test -z "$ac_cv_prog_AR"; then
7835 # Extract the first word of "ar", so it can be a program name with args.
7836 set dummy
ar; ac_word
=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7840 $as_echo_n "(cached) " >&6
7842 if test -n "$ac_ct_AR"; then
7843 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir
=.
7850 for ac_exec_ext
in '' $ac_executable_extensions; do
7851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_prog_ac_ct_AR
="ar"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7863 if test -n "$ac_ct_AR"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7865 $as_echo "$ac_ct_AR" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7871 if test "x$ac_ct_AR" = x
; then
7874 case $cross_compiling:$ac_tool_warned in
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7878 ac_tool_warned
=yes ;;
7886 test -z "$AR" && AR
=ar
7887 if test -n "$plugin_option"; then
7888 if $AR --help 2>&1 |
grep -q "\--plugin"; then
7889 AR
="$AR $plugin_option"
7892 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7904 if test -n "$ac_tool_prefix"; then
7905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7906 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908 $as_echo_n "checking for $ac_word... " >&6; }
7909 if ${ac_cv_prog_STRIP+:} false
; then :
7910 $as_echo_n "(cached) " >&6
7912 if test -n "$STRIP"; then
7913 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7919 test -z "$as_dir" && as_dir
=.
7920 for ac_exec_ext
in '' $ac_executable_extensions; do
7921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 STRIP
=$ac_cv_prog_STRIP
7933 if test -n "$STRIP"; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7935 $as_echo "$STRIP" >&6; }
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938 $as_echo "no" >&6; }
7943 if test -z "$ac_cv_prog_STRIP"; then
7945 # Extract the first word of "strip", so it can be a program name with args.
7946 set dummy strip
; ac_word
=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948 $as_echo_n "checking for $ac_word... " >&6; }
7949 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7950 $as_echo_n "(cached) " >&6
7952 if test -n "$ac_ct_STRIP"; then
7953 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir
=.
7960 for ac_exec_ext
in '' $ac_executable_extensions; do
7961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_ac_ct_STRIP
="strip"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7973 if test -n "$ac_ct_STRIP"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7975 $as_echo "$ac_ct_STRIP" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7981 if test "x$ac_ct_STRIP" = x
; then
7984 case $cross_compiling:$ac_tool_warned in
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7988 ac_tool_warned
=yes ;;
7993 STRIP
="$ac_cv_prog_STRIP"
7996 test -z "$STRIP" && STRIP
=:
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8005 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_RANLIB+:} false
; then :
8009 $as_echo_n "(cached) " >&6
8011 if test -n "$RANLIB"; then
8012 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 RANLIB
=$ac_cv_prog_RANLIB
8032 if test -n "$RANLIB"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8034 $as_echo "$RANLIB" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8042 if test -z "$ac_cv_prog_RANLIB"; then
8043 ac_ct_RANLIB
=$RANLIB
8044 # Extract the first word of "ranlib", so it can be a program name with args.
8045 set dummy ranlib
; ac_word
=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8049 $as_echo_n "(cached) " >&6
8051 if test -n "$ac_ct_RANLIB"; then
8052 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8058 test -z "$as_dir" && as_dir
=.
8059 for ac_exec_ext
in '' $ac_executable_extensions; do
8060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8072 if test -n "$ac_ct_RANLIB"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8074 $as_echo "$ac_ct_RANLIB" >&6; }
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8080 if test "x$ac_ct_RANLIB" = x
; then
8083 case $cross_compiling:$ac_tool_warned in
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087 ac_tool_warned
=yes ;;
8089 RANLIB
=$ac_ct_RANLIB
8092 RANLIB
="$ac_cv_prog_RANLIB"
8095 test -z "$RANLIB" && RANLIB
=:
8096 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8097 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
8098 RANLIB
="$RANLIB $plugin_option"
8107 # Determine commands to create old-style static archives.
8108 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8109 old_postinstall_cmds
='chmod 644 $oldlib'
8110 old_postuninstall_cmds
=
8112 if test -n "$RANLIB"; then
8115 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8118 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8121 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8126 lock_old_archive_extraction
=yes ;;
8128 lock_old_archive_extraction
=no
;;
8169 # If no C compiler was specified, use CC.
8172 # If no C compiler flags were specified, use CFLAGS.
8173 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8175 # Allow CC to be a program name with arguments.
8179 # Check for command to grab the raw symbol name followed by C symbol from nm.
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8181 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8182 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8183 $as_echo_n "(cached) " >&6
8186 # These are sane defaults that work on at least a few old systems.
8187 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8189 # Character class describing NM global symbol codes.
8190 symcode
='[BCDEGRST]'
8192 # Regexp to match symbols that can be accessed directly from C.
8193 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8195 # Define system-specific variables.
8200 cygwin
* | mingw
* | pw32
* | cegcc
*)
8201 symcode
='[ABCDGISTW]'
8204 if test "$host_cpu" = ia64
; then
8205 symcode
='[ABCDEGRST]'
8209 symcode
='[BCDEGRST]'
8212 symcode
='[BCDEGQRST]'
8223 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8231 # If we're using GNU nm, then use its standard symbol codes.
8232 case `$NM -V 2>&1` in
8233 *GNU
* |
*'with BFD'*)
8234 symcode
='[ABCDGIRSTW]' ;;
8237 # Transform an extracted symbol line into a proper C declaration.
8238 # Some systems (esp. on ia64) link data and code symbols differently,
8239 # so use this general approach.
8240 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8242 # Transform an extracted symbol line into symbol name and symbol address
8243 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8244 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'"
8246 # Handle CRLF in mingw tool chain
8250 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8254 # Try without a prefix underscore, then with it.
8255 for ac_symprfx
in "" "_"; do
8257 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8258 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8260 # Write the raw and C identifiers.
8261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8262 # Fake it for dumpbin and say T for any non-static function
8263 # and D for any global variable.
8264 # Also find C++ and __fastcall symbols from MSVC++,
8265 # which start with @ or ?.
8266 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8267 " {last_section=section; section=\$ 3};"\
8268 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8269 " \$ 0!~/External *\|/{next};"\
8270 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8271 " {if(hide[section]) next};"\
8272 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8273 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8274 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8275 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8276 " ' prfx=^$ac_symprfx"
8278 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8281 # Check to see that the pipe works correctly.
8285 cat > conftest.
$ac_ext <<_LT_EOF
8290 void nm_test_func(void);
8291 void nm_test_func(void){}
8295 int main(){nm_test_var='a';nm_test_func();return(0);}
8298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8299 (eval $ac_compile) 2>&5
8301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8302 test $ac_status = 0; }; then
8303 # Now try to grab the symbols.
8305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8306 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309 test $ac_status = 0; } && test -s "$nlist"; then
8310 # Try sorting and uniquifying the output.
8311 if sort "$nlist" |
uniq > "$nlist"T
; then
8312 mv -f "$nlist"T
"$nlist"
8317 # Make sure that we snagged all the symbols we need.
8318 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8319 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8320 cat <<_LT_EOF > conftest.$ac_ext
8326 # Now generate the symbol file.
8327 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8329 cat <<_LT_EOF >> conftest.$ac_ext
8331 /* The mapping between symbol names and symbols. */
8336 lt__PROGRAM__LTX_preloaded_symbols[] =
8338 { "@PROGRAM@", (void *) 0 },
8340 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8341 cat <<\_LT_EOF
>> conftest.
$ac_ext
8345 /* This works around a problem
in FreeBSD linker
*/
8346 #ifdef FREEBSD_WORKAROUND
8347 static const void
*lt_preloaded_setup
() {
8348 return lt__PROGRAM__LTX_preloaded_symbols
;
8356 # Now try linking the two files.
8357 mv conftest.
$ac_objext conftstm.
$ac_objext
8358 lt_save_LIBS
="$LIBS"
8359 lt_save_CFLAGS
="$CFLAGS"
8360 LIBS
="conftstm.$ac_objext"
8361 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8363 (eval $ac_link) 2>&5
8365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8366 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8369 LIBS
="$lt_save_LIBS"
8370 CFLAGS
="$lt_save_CFLAGS"
8372 echo "cannot find nm_test_func in $nlist" >&5
8375 echo "cannot find nm_test_var in $nlist" >&5
8378 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8381 echo "$progname: failed program was:" >&5
8382 cat conftest.
$ac_ext >&5
8384 rm -rf conftest
* conftst
*
8386 # Do not use the global_symbol_pipe unless it works.
8387 if test "$pipe_works" = yes; then
8390 lt_cv_sys_global_symbol_pipe
=
8396 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8397 lt_cv_sys_global_symbol_to_cdecl
=
8399 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8401 $as_echo "failed" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8404 $as_echo "ok" >&6; }
8428 # Check whether --enable-libtool-lock was given.
8429 if test "${enable_libtool_lock+set}" = set; then :
8430 enableval
=$enable_libtool_lock;
8433 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8435 # Some flags need to be propagated to the compiler or linker for good
8439 # Find out which ABI we are using.
8440 echo 'int i;' > conftest.
$ac_ext
8441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8442 (eval $ac_compile) 2>&5
8444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8445 test $ac_status = 0; }; then
8446 case `/usr/bin/file conftest.$ac_objext` in
8458 # Find out which ABI we are using.
8459 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8461 (eval $ac_compile) 2>&5
8463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8464 test $ac_status = 0; }; then
8465 if test "$lt_cv_prog_gnu_ld" = yes; then
8466 case `/usr/bin/file conftest.$ac_objext` in
8468 LD
="${LD-ld} -melf32bsmip"
8471 LD
="${LD-ld} -melf32bmipn32"
8474 LD
="${LD-ld} -melf64bmip"
8478 case `/usr/bin/file conftest.$ac_objext` in
8494 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8495 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8496 # Find out which ABI we are using.
8497 echo 'int i;' > conftest.
$ac_ext
8498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8499 (eval $ac_compile) 2>&5
8501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8502 test $ac_status = 0; }; then
8503 case `/usr/bin/file conftest.o` in
8506 x86_64-
*kfreebsd
*-gnu)
8507 LD
="${LD-ld} -m elf_i386_fbsd"
8510 case `/usr/bin/file conftest.o` in
8512 LD
="${LD-ld} -m elf32_x86_64"
8515 LD
="${LD-ld} -m elf_i386"
8519 powerpc64le-
*linux
*)
8520 LD
="${LD-ld} -m elf32lppclinux"
8523 LD
="${LD-ld} -m elf32ppclinux"
8526 LD
="${LD-ld} -m elf_s390"
8529 LD
="${LD-ld} -m elf32_sparc"
8535 x86_64-
*kfreebsd
*-gnu)
8536 LD
="${LD-ld} -m elf_x86_64_fbsd"
8539 LD
="${LD-ld} -m elf_x86_64"
8542 LD
="${LD-ld} -m elf64lppc"
8545 LD
="${LD-ld} -m elf64ppc"
8547 s390
*-*linux
*|s390
*-*tpf
*)
8548 LD
="${LD-ld} -m elf64_s390"
8551 LD
="${LD-ld} -m elf64_sparc"
8561 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8562 SAVE_CFLAGS
="$CFLAGS"
8563 CFLAGS
="$CFLAGS -belf"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8565 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8566 if ${lt_cv_cc_needs_belf+:} false
; then :
8567 $as_echo_n "(cached) " >&6
8570 ac_cpp
='$CPP $CPPFLAGS'
8571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8575 if test x
$gcc_no_link = xyes
; then
8576 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8589 if ac_fn_c_try_link
"$LINENO"; then :
8590 lt_cv_cc_needs_belf
=yes
8592 lt_cv_cc_needs_belf
=no
8594 rm -f core conftest.err conftest.
$ac_objext \
8595 conftest
$ac_exeext conftest.
$ac_ext
8597 ac_cpp
='$CPP $CPPFLAGS'
8598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8604 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8605 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8606 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8607 CFLAGS
="$SAVE_CFLAGS"
8611 # Find out which ABI we are using.
8612 echo 'int i;' > conftest.
$ac_ext
8613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8614 (eval $ac_compile) 2>&5
8616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8617 test $ac_status = 0; }; then
8618 case `/usr/bin/file conftest.o` in
8620 case $lt_cv_prog_gnu_ld in
8621 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8623 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8635 need_locks
="$enable_libtool_lock"
8639 rhapsody
* | darwin
*)
8640 if test -n "$ac_tool_prefix"; then
8641 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8642 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 if test -n "$DSYMUTIL"; then
8649 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8655 test -z "$as_dir" && as_dir
=.
8656 for ac_exec_ext
in '' $ac_executable_extensions; do
8657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8669 if test -n "$DSYMUTIL"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8671 $as_echo "$DSYMUTIL" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8679 if test -z "$ac_cv_prog_DSYMUTIL"; then
8680 ac_ct_DSYMUTIL
=$DSYMUTIL
8681 # Extract the first word of "dsymutil", so it can be a program name with args.
8682 set dummy dsymutil
; ac_word
=$2
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8684 $as_echo_n "checking for $ac_word... " >&6; }
8685 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8686 $as_echo_n "(cached) " >&6
8688 if test -n "$ac_ct_DSYMUTIL"; then
8689 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8695 test -z "$as_dir" && as_dir
=.
8696 for ac_exec_ext
in '' $ac_executable_extensions; do
8697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8709 if test -n "$ac_ct_DSYMUTIL"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8711 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8717 if test "x$ac_ct_DSYMUTIL" = x
; then
8720 case $cross_compiling:$ac_tool_warned in
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8724 ac_tool_warned
=yes ;;
8726 DSYMUTIL
=$ac_ct_DSYMUTIL
8729 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8732 if test -n "$ac_tool_prefix"; then
8733 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8734 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8736 $as_echo_n "checking for $ac_word... " >&6; }
8737 if ${ac_cv_prog_NMEDIT+:} false
; then :
8738 $as_echo_n "(cached) " >&6
8740 if test -n "$NMEDIT"; then
8741 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8747 test -z "$as_dir" && as_dir
=.
8748 for ac_exec_ext
in '' $ac_executable_extensions; do
8749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8750 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 NMEDIT
=$ac_cv_prog_NMEDIT
8761 if test -n "$NMEDIT"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8763 $as_echo "$NMEDIT" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766 $as_echo "no" >&6; }
8771 if test -z "$ac_cv_prog_NMEDIT"; then
8772 ac_ct_NMEDIT
=$NMEDIT
8773 # Extract the first word of "nmedit", so it can be a program name with args.
8774 set dummy nmedit
; ac_word
=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8778 $as_echo_n "(cached) " >&6
8780 if test -n "$ac_ct_NMEDIT"; then
8781 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8787 test -z "$as_dir" && as_dir
=.
8788 for ac_exec_ext
in '' $ac_executable_extensions; do
8789 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8790 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8800 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8801 if test -n "$ac_ct_NMEDIT"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8803 $as_echo "$ac_ct_NMEDIT" >&6; }
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8809 if test "x$ac_ct_NMEDIT" = x
; then
8812 case $cross_compiling:$ac_tool_warned in
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8816 ac_tool_warned
=yes ;;
8818 NMEDIT
=$ac_ct_NMEDIT
8821 NMEDIT
="$ac_cv_prog_NMEDIT"
8824 if test -n "$ac_tool_prefix"; then
8825 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8826 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8828 $as_echo_n "checking for $ac_word... " >&6; }
8829 if ${ac_cv_prog_LIPO+:} false
; then :
8830 $as_echo_n "(cached) " >&6
8832 if test -n "$LIPO"; then
8833 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8839 test -z "$as_dir" && as_dir
=.
8840 for ac_exec_ext
in '' $ac_executable_extensions; do
8841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8842 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852 LIPO
=$ac_cv_prog_LIPO
8853 if test -n "$LIPO"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8855 $as_echo "$LIPO" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8863 if test -z "$ac_cv_prog_LIPO"; then
8865 # Extract the first word of "lipo", so it can be a program name with args.
8866 set dummy lipo
; ac_word
=$2
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8868 $as_echo_n "checking for $ac_word... " >&6; }
8869 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8870 $as_echo_n "(cached) " >&6
8872 if test -n "$ac_ct_LIPO"; then
8873 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8879 test -z "$as_dir" && as_dir
=.
8880 for ac_exec_ext
in '' $ac_executable_extensions; do
8881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8882 ac_cv_prog_ac_ct_LIPO
="lipo"
8883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8893 if test -n "$ac_ct_LIPO"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8895 $as_echo "$ac_ct_LIPO" >&6; }
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8901 if test "x$ac_ct_LIPO" = x
; then
8904 case $cross_compiling:$ac_tool_warned in
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8908 ac_tool_warned
=yes ;;
8913 LIPO
="$ac_cv_prog_LIPO"
8916 if test -n "$ac_tool_prefix"; then
8917 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8918 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8920 $as_echo_n "checking for $ac_word... " >&6; }
8921 if ${ac_cv_prog_OTOOL+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8924 if test -n "$OTOOL"; then
8925 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8931 test -z "$as_dir" && as_dir
=.
8932 for ac_exec_ext
in '' $ac_executable_extensions; do
8933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8934 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8944 OTOOL
=$ac_cv_prog_OTOOL
8945 if test -n "$OTOOL"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8947 $as_echo "$OTOOL" >&6; }
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8955 if test -z "$ac_cv_prog_OTOOL"; then
8957 # Extract the first word of "otool", so it can be a program name with args.
8958 set dummy otool
; ac_word
=$2
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8960 $as_echo_n "checking for $ac_word... " >&6; }
8961 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8962 $as_echo_n "(cached) " >&6
8964 if test -n "$ac_ct_OTOOL"; then
8965 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8971 test -z "$as_dir" && as_dir
=.
8972 for ac_exec_ext
in '' $ac_executable_extensions; do
8973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8974 ac_cv_prog_ac_ct_OTOOL
="otool"
8975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8984 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8985 if test -n "$ac_ct_OTOOL"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8987 $as_echo "$ac_ct_OTOOL" >&6; }
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8993 if test "x$ac_ct_OTOOL" = x
; then
8996 case $cross_compiling:$ac_tool_warned in
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9000 ac_tool_warned
=yes ;;
9005 OTOOL
="$ac_cv_prog_OTOOL"
9008 if test -n "$ac_tool_prefix"; then
9009 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9010 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 $as_echo_n "checking for $ac_word... " >&6; }
9013 if ${ac_cv_prog_OTOOL64+:} false
; then :
9014 $as_echo_n "(cached) " >&6
9016 if test -n "$OTOOL64"; then
9017 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir
=.
9024 for ac_exec_ext
in '' $ac_executable_extensions; do
9025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9026 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9036 OTOOL64
=$ac_cv_prog_OTOOL64
9037 if test -n "$OTOOL64"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9039 $as_echo "$OTOOL64" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9047 if test -z "$ac_cv_prog_OTOOL64"; then
9048 ac_ct_OTOOL64
=$OTOOL64
9049 # Extract the first word of "otool64", so it can be a program name with args.
9050 set dummy otool64
; ac_word
=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9052 $as_echo_n "checking for $ac_word... " >&6; }
9053 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9054 $as_echo_n "(cached) " >&6
9056 if test -n "$ac_ct_OTOOL64"; then
9057 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9063 test -z "$as_dir" && as_dir
=.
9064 for ac_exec_ext
in '' $ac_executable_extensions; do
9065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9066 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9076 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9077 if test -n "$ac_ct_OTOOL64"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9079 $as_echo "$ac_ct_OTOOL64" >&6; }
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9085 if test "x$ac_ct_OTOOL64" = x
; then
9088 case $cross_compiling:$ac_tool_warned in
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9092 ac_tool_warned
=yes ;;
9094 OTOOL64
=$ac_ct_OTOOL64
9097 OTOOL64
="$ac_cv_prog_OTOOL64"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9127 $as_echo_n "checking for -single_module linker flag... " >&6; }
9128 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9129 $as_echo_n "(cached) " >&6
9131 lt_cv_apple_cc_single_mod
=no
9132 if test -z "${LT_MULTI_MODULE}"; then
9133 # By default we will add the -single_module flag. You can override
9134 # by either setting the environment variable LT_MULTI_MODULE
9135 # non-empty at configure time, or by adding -multi_module to the
9137 rm -rf libconftest.dylib
*
9138 echo "int foo(void){return 1;}" > conftest.c
9139 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9140 -dynamiclib -Wl,-single_module conftest.c" >&5
9141 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9142 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9144 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9145 lt_cv_apple_cc_single_mod
=yes
9147 cat conftest.err
>&5
9149 rm -rf libconftest.dylib
*
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9154 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9156 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9157 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9158 $as_echo_n "(cached) " >&6
9160 lt_cv_ld_exported_symbols_list
=no
9161 save_LDFLAGS
=$LDFLAGS
9162 echo "_main" > conftest.sym
9163 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9164 if test x
$gcc_no_link = xyes
; then
9165 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9178 if ac_fn_c_try_link
"$LINENO"; then :
9179 lt_cv_ld_exported_symbols_list
=yes
9181 lt_cv_ld_exported_symbols_list
=no
9183 rm -f core conftest.err conftest.
$ac_objext \
9184 conftest
$ac_exeext conftest.
$ac_ext
9185 LDFLAGS
="$save_LDFLAGS"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9189 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9191 $as_echo_n "checking for -force_load linker flag... " >&6; }
9192 if ${lt_cv_ld_force_load+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 lt_cv_ld_force_load
=no
9196 cat > conftest.c
<< _LT_EOF
9197 int forced_loaded() { return 2;}
9199 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9200 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9201 echo "$AR cru libconftest.a conftest.o" >&5
9202 $AR cru libconftest.a conftest.o
2>&5
9203 cat > conftest.c
<< _LT_EOF
9204 int main() { return 0;}
9206 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9207 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9209 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9210 lt_cv_ld_force_load
=yes
9212 cat conftest.err
>&5
9214 rm -f conftest.err libconftest.a conftest conftest.c
9215 rm -rf conftest.dSYM
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9219 $as_echo "$lt_cv_ld_force_load" >&6; }
9220 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9221 # build without first building modern cctools / linker.
9222 case $host_cpu-$host_os in
9223 *-rhapsody* |
*-darwin1.
[012])
9224 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9226 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9228 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9229 # deployment target is forced to an earlier version.
9230 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9231 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9234 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9241 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9242 _lt_dar_single_mod
='$single_module'
9244 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9245 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9247 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9249 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9250 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9257 for ac_header
in dlfcn.h
9259 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9261 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9262 cat >>confdefs.h
<<_ACEOF
9263 #define HAVE_DLFCN_H 1
9282 # Check whether --enable-shared was given.
9283 if test "${enable_shared+set}" = set; then :
9284 enableval
=$enable_shared; p
=${PACKAGE-default}
9286 yes) enable_shared
=yes ;;
9287 no
) enable_shared
=no
;;
9290 # Look at the argument we got. We use all the common list separators.
9291 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9292 for pkg
in $enableval; do
9294 if test "X$pkg" = "X$p"; then
9313 # Check whether --enable-static was given.
9314 if test "${enable_static+set}" = set; then :
9315 enableval
=$enable_static; p
=${PACKAGE-default}
9317 yes) enable_static
=yes ;;
9318 no
) enable_static
=no
;;
9321 # Look at the argument we got. We use all the common list separators.
9322 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9323 for pkg
in $enableval; do
9325 if test "X$pkg" = "X$p"; then
9345 # Check whether --with-pic was given.
9346 if test "${with_pic+set}" = set; then :
9347 withval
=$with_pic; pic_mode
="$withval"
9353 test -z "$pic_mode" && pic_mode
=default
9361 # Check whether --enable-fast-install was given.
9362 if test "${enable_fast_install+set}" = set; then :
9363 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9365 yes) enable_fast_install
=yes ;;
9366 no
) enable_fast_install
=no
;;
9368 enable_fast_install
=no
9369 # Look at the argument we got. We use all the common list separators.
9370 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9371 for pkg
in $enableval; do
9373 if test "X$pkg" = "X$p"; then
9374 enable_fast_install
=yes
9381 enable_fast_install
=yes
9394 # This can be used to rebuild libtool when needed
9395 LIBTOOL_DEPS
="$ltmain"
9397 # Always use our own libtool.
9398 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9425 test -z "$LN_S" && LN_S
="ln -s"
9440 if test -n "${ZSH_VERSION+set}" ; then
9441 setopt NO_GLOB_SUBST
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9445 $as_echo_n "checking for objdir... " >&6; }
9446 if ${lt_cv_objdir+:} false
; then :
9447 $as_echo_n "(cached) " >&6
9449 rm -f .libs
2>/dev
/null
9450 mkdir .libs
2>/dev
/null
9451 if test -d .libs
; then
9454 # MS-DOS does not allow filenames that begin with a dot.
9457 rmdir .libs
2>/dev
/null
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9460 $as_echo "$lt_cv_objdir" >&6; }
9461 objdir
=$lt_cv_objdir
9467 cat >>confdefs.h
<<_ACEOF
9468 #define LT_OBJDIR "$lt_cv_objdir/"
9476 # AIX sometimes has problems with the GCC collect2 program. For some
9477 # reason, if we set the COLLECT_NAMES environment variable, the problems
9478 # vanish in a puff of smoke.
9479 if test "X${COLLECT_NAMES+set}" != Xset
; then
9481 export COLLECT_NAMES
9488 can_build_shared
=yes
9490 # All known linkers require a `.a' archive for static linking (except MSVC,
9491 # which needs '.lib').
9494 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9497 old_CFLAGS
="$CFLAGS"
9499 # Set sane defaults for various variables
9500 test -z "$CC" && CC
=cc
9501 test -z "$LTCC" && LTCC
=$CC
9502 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9503 test -z "$LD" && LD
=ld
9504 test -z "$ac_objext" && ac_objext
=o
9506 for cc_temp
in $compiler""; do
9508 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9509 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9514 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9517 # Only perform the check for file, if the check method requires it
9518 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9519 case $deplibs_check_method in
9521 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9523 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9524 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9525 $as_echo_n "(cached) " >&6
9529 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9532 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9533 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9534 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9535 for ac_dir
in $ac_dummy; do
9537 test -z "$ac_dir" && ac_dir
=.
9538 if test -f $ac_dir/${ac_tool_prefix}file; then
9539 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9540 if test -n "$file_magic_test_file"; then
9541 case $deplibs_check_method in
9543 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9544 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9545 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9546 $EGREP "$file_magic_regex" > /dev
/null
; then
9551 *** Warning: the command libtool uses to detect shared libraries,
9552 *** $file_magic_cmd, produces output that libtool cannot recognize.
9553 *** The result is that libtool may fail to recognize shared libraries
9554 *** as such. This will affect the creation of libtool libraries that
9555 *** depend on shared libraries, but programs linked with such libtool
9556 *** libraries will work regardless of this problem. Nevertheless, you
9557 *** may want to report the problem to your system manager and/or to
9558 *** bug-libtool@gnu.org
9568 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9573 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9574 if test -n "$MAGIC_CMD"; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9576 $as_echo "$MAGIC_CMD" >&6; }
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9579 $as_echo "no" >&6; }
9586 if test -z "$lt_cv_path_MAGIC_CMD"; then
9587 if test -n "$ac_tool_prefix"; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9589 $as_echo_n "checking for file... " >&6; }
9590 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9591 $as_echo_n "(cached) " >&6
9595 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9598 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9599 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9600 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9601 for ac_dir
in $ac_dummy; do
9603 test -z "$ac_dir" && ac_dir
=.
9604 if test -f $ac_dir/file; then
9605 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9606 if test -n "$file_magic_test_file"; then
9607 case $deplibs_check_method in
9609 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9610 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9611 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9612 $EGREP "$file_magic_regex" > /dev
/null
; then
9617 *** Warning: the command libtool uses to detect shared libraries,
9618 *** $file_magic_cmd, produces output that libtool cannot recognize.
9619 *** The result is that libtool may fail to recognize shared libraries
9620 *** as such. This will affect the creation of libtool libraries that
9621 *** depend on shared libraries, but programs linked with such libtool
9622 *** libraries will work regardless of this problem. Nevertheless, you
9623 *** may want to report the problem to your system manager and/or to
9624 *** bug-libtool@gnu.org
9634 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9639 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9640 if test -n "$MAGIC_CMD"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9642 $as_echo "$MAGIC_CMD" >&6; }
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9645 $as_echo "no" >&6; }
9658 # Use C for the default configuration in the libtool script
9662 ac_cpp
='$CPP $CPPFLAGS'
9663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9668 # Source file extension for C test sources.
9671 # Object file extension for compiled C test sources.
9675 # Code to be used in simple compile tests
9676 lt_simple_compile_test_code
="int some_variable = 0;"
9678 # Code to be used in simple link tests
9679 lt_simple_link_test_code
='int main(){return(0);}'
9687 # If no C compiler was specified, use CC.
9690 # If no C compiler flags were specified, use CFLAGS.
9691 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9693 # Allow CC to be a program name with arguments.
9696 # Save the default compiler, since it gets overwritten when the other
9697 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9698 compiler_DEFAULT
=$CC
9700 # save warnings/boilerplate of simple test code
9701 ac_outfile
=conftest.
$ac_objext
9702 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9703 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9704 _lt_compiler_boilerplate
=`cat conftest.err`
9707 ac_outfile
=conftest.
$ac_objext
9708 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9709 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9710 _lt_linker_boilerplate
=`cat conftest.err`
9715 ## There is no encapsulation within the following macros, do not change
9716 ## the running order or otherwise move them around unless you know exactly
9717 ## what you are doing...
9718 if test -n "$compiler"; then
9720 lt_prog_compiler_no_builtin_flag
=
9722 if test "$GCC" = yes; then
9723 case $cc_basename in
9725 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9727 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9731 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9732 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9735 lt_cv_prog_compiler_rtti_exceptions
=no
9736 ac_outfile
=conftest.
$ac_objext
9737 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9738 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9739 # Insert the option either (1) after the last *FLAGS variable, or
9740 # (2) before a word containing "conftest.", or (3) at the end.
9741 # Note that $ac_compile itself does not contain backslashes and begins
9742 # with a dollar sign (not a hyphen), so the echo should work correctly.
9743 # The option is referenced via a variable to avoid confusing sed.
9744 lt_compile
=`echo "$ac_compile" | $SED \
9745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9747 -e 's:$: $lt_compiler_flag:'`
9748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9749 (eval "$lt_compile" 2>conftest.err
)
9751 cat conftest.err
>&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 if (exit $ac_status) && test -s "$ac_outfile"; then
9754 # The compiler can only warn and ignore the option if not recognized
9755 # So say no if there are warnings other than the usual output.
9756 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9757 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9758 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9759 lt_cv_prog_compiler_rtti_exceptions
=yes
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9766 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9768 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9769 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9781 lt_prog_compiler_wl
=
9782 lt_prog_compiler_pic
=
9783 lt_prog_compiler_static
=
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9786 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9788 if test "$GCC" = yes; then
9789 lt_prog_compiler_wl
='-Wl,'
9790 lt_prog_compiler_static
='-static'
9794 # All AIX code is PIC.
9795 if test "$host_cpu" = ia64
; then
9796 # AIX 5 now supports IA64 processor
9797 lt_prog_compiler_static
='-Bstatic'
9799 lt_prog_compiler_pic
='-fPIC'
9805 # see comment about AmigaOS4 .so support
9806 lt_prog_compiler_pic
='-fPIC'
9809 # FIXME: we need at least 68020 code to build shared libraries, but
9810 # adding the `-m68020' flag to GCC prevents building anything better,
9812 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9817 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9818 # PIC is the default for these OSes.
9821 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9822 # This hack is so that the source file can tell whether it is being
9823 # built for inclusion in a dll (and should export symbols for example).
9824 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9825 # (--disable-auto-import) libraries
9826 lt_prog_compiler_pic
='-DDLL_EXPORT'
9829 darwin
* | rhapsody
*)
9830 # PIC is the default on this platform
9831 # Common symbols not allowed in MH_DYLIB files
9832 lt_prog_compiler_pic
='-fno-common'
9836 # PIC is the default for Haiku.
9837 # The "-static" flag exists, but is broken.
9838 lt_prog_compiler_static
=
9842 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9843 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9844 # sets the default TLS model and affects inlining.
9850 lt_prog_compiler_pic
='-fPIC'
9856 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9857 # Instead, we relocate shared libraries at runtime.
9861 # Just because we use GCC doesn't mean we suddenly get shared libraries
9862 # on systems that don't support them.
9863 lt_prog_compiler_can_build_shared
=no
9868 # QNX uses GNU C++, but need to define -shared option too, otherwise
9870 lt_prog_compiler_pic
='-fPIC -shared'
9874 if test -d /usr
/nec
; then
9875 lt_prog_compiler_pic
=-Kconform_pic
9880 lt_prog_compiler_pic
='-fPIC'
9884 case $cc_basename in
9885 nvcc
*) # Cuda Compiler Driver 2.2
9886 lt_prog_compiler_wl
='-Xlinker '
9887 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9891 # PORTME Check for flag to pass linker flags through the system compiler.
9894 lt_prog_compiler_wl
='-Wl,'
9895 if test "$host_cpu" = ia64
; then
9896 # AIX 5 now supports IA64 processor
9897 lt_prog_compiler_static
='-Bstatic'
9899 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9903 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9904 # This hack is so that the source file can tell whether it is being
9905 # built for inclusion in a dll (and should export symbols for example).
9906 lt_prog_compiler_pic
='-DDLL_EXPORT'
9909 hpux9
* | hpux10
* | hpux11
*)
9910 lt_prog_compiler_wl
='-Wl,'
9911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9918 lt_prog_compiler_pic
='+Z'
9921 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9922 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9925 irix5
* | irix6
* | nonstopux
*)
9926 lt_prog_compiler_wl
='-Wl,'
9927 # PIC (with -KPIC) is the default.
9928 lt_prog_compiler_static
='-non_shared'
9931 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9932 case $cc_basename in
9933 # old Intel for x86_64 which still supported -KPIC.
9935 lt_prog_compiler_wl
='-Wl,'
9936 lt_prog_compiler_pic
='-KPIC'
9937 lt_prog_compiler_static
='-static'
9939 # icc used to be incompatible with GCC.
9940 # ICC 10 doesn't accept -KPIC any more.
9942 lt_prog_compiler_wl
='-Wl,'
9943 lt_prog_compiler_pic
='-fPIC'
9944 lt_prog_compiler_static
='-static'
9946 # Lahey Fortran 8.1.
9948 lt_prog_compiler_wl
='-Wl,'
9949 lt_prog_compiler_pic
='--shared'
9950 lt_prog_compiler_static
='--static'
9952 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9953 # Portland Group compilers (*not* the Pentium gcc compiler,
9954 # which looks to be a dead project)
9955 lt_prog_compiler_wl
='-Wl,'
9956 lt_prog_compiler_pic
='-fpic'
9957 lt_prog_compiler_static
='-Bstatic'
9960 lt_prog_compiler_wl
='-Wl,'
9961 # All Alpha code is PIC.
9962 lt_prog_compiler_static
='-non_shared'
9964 xl
* | bgxl
* | bgf
* | mpixl
*)
9965 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9966 lt_prog_compiler_wl
='-Wl,'
9967 lt_prog_compiler_pic
='-qpic'
9968 lt_prog_compiler_static
='-qstaticlink'
9971 case `$CC -V 2>&1 | sed 5q` in
9972 *Sun\ F
* |
*Sun
*Fortran
*)
9973 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9974 lt_prog_compiler_pic
='-KPIC'
9975 lt_prog_compiler_static
='-Bstatic'
9976 lt_prog_compiler_wl
=''
9980 lt_prog_compiler_pic
='-KPIC'
9981 lt_prog_compiler_static
='-Bstatic'
9982 lt_prog_compiler_wl
='-Wl,'
9990 lt_prog_compiler_pic
='-KPIC'
9991 lt_prog_compiler_static
='-Bstatic'
9995 # QNX uses GNU C++, but need to define -shared option too, otherwise
9997 lt_prog_compiler_pic
='-fPIC -shared'
10000 osf3
* | osf4
* | osf5
*)
10001 lt_prog_compiler_wl
='-Wl,'
10002 # All OSF/1 code is PIC.
10003 lt_prog_compiler_static
='-non_shared'
10007 lt_prog_compiler_static
='-non_shared'
10011 lt_prog_compiler_pic
='-KPIC'
10012 lt_prog_compiler_static
='-Bstatic'
10013 case $cc_basename in
10014 f77
* | f90
* | f95
*)
10015 lt_prog_compiler_wl
='-Qoption ld ';;
10017 lt_prog_compiler_wl
='-Wl,';;
10022 lt_prog_compiler_wl
='-Qoption ld '
10023 lt_prog_compiler_pic
='-PIC'
10024 lt_prog_compiler_static
='-Bstatic'
10027 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10028 lt_prog_compiler_wl
='-Wl,'
10029 lt_prog_compiler_pic
='-KPIC'
10030 lt_prog_compiler_static
='-Bstatic'
10034 if test -d /usr
/nec
;then
10035 lt_prog_compiler_pic
='-Kconform_pic'
10036 lt_prog_compiler_static
='-Bstatic'
10040 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10041 lt_prog_compiler_wl
='-Wl,'
10042 lt_prog_compiler_pic
='-KPIC'
10043 lt_prog_compiler_static
='-Bstatic'
10047 lt_prog_compiler_wl
='-Wl,'
10048 lt_prog_compiler_can_build_shared
=no
10052 lt_prog_compiler_pic
='-pic'
10053 lt_prog_compiler_static
='-Bstatic'
10057 lt_prog_compiler_can_build_shared
=no
10063 # For platforms which do not support PIC, -DPIC is meaningless:
10065 lt_prog_compiler_pic
=
10068 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10072 $as_echo "$lt_prog_compiler_pic" >&6; }
10080 # Check to make sure the PIC flag actually works.
10082 if test -n "$lt_prog_compiler_pic"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10084 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10085 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10088 lt_cv_prog_compiler_pic_works
=no
10089 ac_outfile
=conftest.
$ac_objext
10090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10091 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10092 # Insert the option either (1) after the last *FLAGS variable, or
10093 # (2) before a word containing "conftest.", or (3) at the end.
10094 # Note that $ac_compile itself does not contain backslashes and begins
10095 # with a dollar sign (not a hyphen), so the echo should work correctly.
10096 # The option is referenced via a variable to avoid confusing sed.
10097 lt_compile
=`echo "$ac_compile" | $SED \
10098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10100 -e 's:$: $lt_compiler_flag:'`
10101 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10102 (eval "$lt_compile" 2>conftest.err
)
10104 cat conftest.err
>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 if (exit $ac_status) && test -s "$ac_outfile"; then
10107 # The compiler can only warn and ignore the option if not recognized
10108 # So say no if there are warnings other than the usual output.
10109 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10110 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10111 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10112 lt_cv_prog_compiler_pic_works
=yes
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10119 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10121 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10122 case $lt_prog_compiler_pic in
10124 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10127 lt_prog_compiler_pic
=
10128 lt_prog_compiler_can_build_shared
=no
10139 # Check to make sure the static flag actually works.
10141 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10143 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10144 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10145 $as_echo_n "(cached) " >&6
10147 lt_cv_prog_compiler_static_works
=no
10148 save_LDFLAGS
="$LDFLAGS"
10149 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10150 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10151 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10152 # The linker can only warn and ignore the option if not recognized
10153 # So say no if there are warnings
10154 if test -s conftest.err
; then
10155 # Append any errors to the config.log.
10156 cat conftest.err
1>&5
10157 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10158 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10159 if diff conftest.exp conftest.er2
>/dev
/null
; then
10160 lt_cv_prog_compiler_static_works
=yes
10163 lt_cv_prog_compiler_static_works
=yes
10167 LDFLAGS
="$save_LDFLAGS"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10171 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10173 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10176 lt_prog_compiler_static
=
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10186 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10187 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10190 lt_cv_prog_compiler_c_o
=no
10191 $RM -r conftest
2>/dev
/null
10195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10197 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10198 # Insert the option either (1) after the last *FLAGS variable, or
10199 # (2) before a word containing "conftest.", or (3) at the end.
10200 # Note that $ac_compile itself does not contain backslashes and begins
10201 # with a dollar sign (not a hyphen), so the echo should work correctly.
10202 lt_compile
=`echo "$ac_compile" | $SED \
10203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10205 -e 's:$: $lt_compiler_flag:'`
10206 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10207 (eval "$lt_compile" 2>out
/conftest.err
)
10209 cat out
/conftest.err
>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10213 # The compiler can only warn and ignore the option if not recognized
10214 # So say no if there are warnings
10215 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10216 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10217 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10218 lt_cv_prog_compiler_c_o
=yes
10223 # SGI C++ compiler will create directory out/ii_files/ for
10224 # template instantiation
10225 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10226 $RM out
/* && rmdir out
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10233 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10241 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10242 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 lt_cv_prog_compiler_c_o
=no
10246 $RM -r conftest
2>/dev
/null
10250 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10252 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10253 # Insert the option either (1) after the last *FLAGS variable, or
10254 # (2) before a word containing "conftest.", or (3) at the end.
10255 # Note that $ac_compile itself does not contain backslashes and begins
10256 # with a dollar sign (not a hyphen), so the echo should work correctly.
10257 lt_compile
=`echo "$ac_compile" | $SED \
10258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10260 -e 's:$: $lt_compiler_flag:'`
10261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10262 (eval "$lt_compile" 2>out
/conftest.err
)
10264 cat out
/conftest.err
>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10268 # The compiler can only warn and ignore the option if not recognized
10269 # So say no if there are warnings
10270 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10271 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10272 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10273 lt_cv_prog_compiler_c_o
=yes
10278 # SGI C++ compiler will create directory out/ii_files/ for
10279 # template instantiation
10280 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10281 $RM out
/* && rmdir out
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10288 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10293 hard_links
="nottested"
10294 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10295 # do not overwrite the value of need_locks provided by the user
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10297 $as_echo_n "checking if we can lock with hard links... " >&6; }
10300 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10302 ln conftest.a conftest.b
2>&5 || hard_links
=no
10303 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10305 $as_echo "$hard_links" >&6; }
10306 if test "$hard_links" = no
; then
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10308 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10321 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10324 allow_undefined_flag
=
10325 always_export_symbols
=no
10327 archive_expsym_cmds
=
10328 compiler_needs_object
=no
10329 enable_shared_with_static_runtimes
=no
10330 export_dynamic_flag_spec
=
10331 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10332 hardcode_automatic
=no
10334 hardcode_direct_absolute
=no
10335 hardcode_libdir_flag_spec
=
10336 hardcode_libdir_flag_spec_ld
=
10337 hardcode_libdir_separator
=
10338 hardcode_minus_L
=no
10339 hardcode_shlibpath_var
=unsupported
10341 link_all_deplibs
=unknown
10343 module_expsym_cmds
=
10344 old_archive_from_new_cmds
=
10345 old_archive_from_expsyms_cmds
=
10346 thread_safe_flag_spec
=
10347 whole_archive_flag_spec
=
10348 # include_expsyms should be a list of space-separated symbols to be *always*
10349 # included in the symbol list
10351 # exclude_expsyms can be an extended regexp of symbols to exclude
10352 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10353 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10354 # as well as any symbol that contains `d'.
10355 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10356 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10357 # platforms (ab)use it in PIC code, but their linkers get confused if
10358 # the symbol is explicitly referenced. Since portable code cannot
10359 # rely on this symbol name, it's probably fine to never include it in
10360 # preloaded symbol tables.
10361 # Exclude shared library initialization/finalization symbols.
10362 extract_expsyms_cmds
=
10365 cygwin
* | mingw
* | pw32
* | cegcc
*)
10366 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10367 # When not using gcc, we currently assume that we are using
10368 # Microsoft Visual C++.
10369 if test "$GCC" != yes; then
10374 # we just hope/assume this is gcc and not c89 (= MSVC++)
10384 # On some targets, GNU ld is compatible enough with the native linker
10385 # that we're better off using the native interface for both.
10386 lt_use_gnu_ld_interface
=no
10387 if test "$with_gnu_ld" = yes; then
10390 # The AIX port of GNU ld has always aspired to compatibility
10391 # with the native linker. However, as the warning in the GNU ld
10392 # block says, versions before 2.19.5* couldn't really create working
10393 # shared libraries, regardless of the interface used.
10394 case `$LD -v 2>&1` in
10395 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10396 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10397 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10399 lt_use_gnu_ld_interface
=yes
10404 lt_use_gnu_ld_interface
=yes
10409 if test "$lt_use_gnu_ld_interface" = yes; then
10410 # If archive_cmds runs LD, not CC, wlarc should be empty
10413 # Set some defaults for GNU ld with shared library support. These
10414 # are reset later if shared libraries are not supported. Putting them
10415 # here allows them to be overridden if necessary.
10416 runpath_var
=LD_RUN_PATH
10417 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10418 export_dynamic_flag_spec
='${wl}--export-dynamic'
10419 # ancient GNU ld didn't support --whole-archive et. al.
10420 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10421 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10423 whole_archive_flag_spec
=
10425 supports_anon_versioning
=no
10426 case `$LD -v 2>&1` in
10427 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10428 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10429 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10430 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10431 *\
2.11.
*) ;; # other 2.11 versions
10432 *) supports_anon_versioning
=yes ;;
10435 # See if GNU ld supports shared libraries.
10438 # On AIX/PPC, the GNU linker is very broken
10439 if test "$host_cpu" != ia64
; then
10443 *** Warning: the GNU linker, at least up to release 2.19, is reported
10444 *** to be unable to reliably create shared libraries on AIX.
10445 *** Therefore, libtool is disabling shared libraries support. If you
10446 *** really care for shared libraries, you may want to install binutils
10447 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10448 *** You will then need to restart the configuration process.
10457 # see comment about AmigaOS4 .so support
10458 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10459 archive_expsym_cmds
=''
10462 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)'
10463 hardcode_libdir_flag_spec
='-L$libdir'
10464 hardcode_minus_L
=yes
10470 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10471 allow_undefined_flag
=unsupported
10472 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10473 # support --undefined. This deserves some investigation. FIXME
10474 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10480 cygwin
* | mingw
* | pw32
* | cegcc
*)
10481 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10482 # as there is no search path for DLLs.
10483 hardcode_libdir_flag_spec
='-L$libdir'
10484 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10485 allow_undefined_flag
=unsupported
10486 always_export_symbols
=no
10487 enable_shared_with_static_runtimes
=yes
10488 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10490 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10492 # If the export-symbols file already is a .def file (1st line
10493 # is EXPORTS), use it as is; otherwise, prepend...
10494 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10495 cp $export_symbols $output_objdir/$soname.def;
10497 echo EXPORTS > $output_objdir/$soname.def;
10498 cat $export_symbols >> $output_objdir/$soname.def;
10500 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10507 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10508 link_all_deplibs
=yes
10513 hardcode_shlibpath_var
=no
10514 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10515 export_dynamic_flag_spec
='${wl}-E'
10516 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10517 # Instead, shared libraries are loaded at an image base (0x10000000 by
10518 # default) and relocated if they conflict, which is a slow very memory
10519 # consuming and fragmenting process. To avoid this, we pick a random,
10520 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10521 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10522 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10523 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'
10526 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10528 if test "$host_os" = linux-dietlibc
; then
10529 case $cc_basename in
10530 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10533 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10534 && test "$tmp_diet" = no
10536 tmp_addflag
=' $pic_flag'
10537 tmp_sharedflag
='-shared'
10538 case $cc_basename,$host_cpu in
10539 pgcc
*) # Portland Group C compiler
10540 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'
10541 tmp_addflag
=' $pic_flag'
10543 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10544 # Portland Group f77 and f90 compilers
10545 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'
10546 tmp_addflag
=' $pic_flag -Mnomain' ;;
10547 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10548 tmp_addflag
=' -i_dynamic' ;;
10549 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10550 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10551 ifc
* | ifort
*) # Intel Fortran compiler
10552 tmp_addflag
=' -nofor_main' ;;
10553 lf95
*) # Lahey Fortran 8.1
10554 whole_archive_flag_spec
=
10555 tmp_sharedflag
='--shared' ;;
10556 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10557 tmp_sharedflag
='-qmkshrobj'
10559 nvcc
*) # Cuda Compiler Driver 2.2
10560 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10561 compiler_needs_object
=yes
10564 case `$CC -V 2>&1 | sed 5q` in
10565 *Sun\ C
*) # Sun C 5.9
10566 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'
10567 compiler_needs_object
=yes
10568 tmp_sharedflag
='-G' ;;
10569 *Sun\ F
*) # Sun Fortran 8.3
10570 tmp_sharedflag
='-G' ;;
10572 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10574 if test "x$supports_anon_versioning" = xyes
; then
10575 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10576 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10577 echo "local: *; };" >> $output_objdir/$libname.ver~
10578 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10581 case $cc_basename in
10582 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10583 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10584 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10585 hardcode_libdir_flag_spec
=
10586 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10587 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10588 if test "x$supports_anon_versioning" = xyes
; then
10589 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10590 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10591 echo "local: *; };" >> $output_objdir/$libname.ver~
10592 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10602 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10603 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10606 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10607 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10612 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10616 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10617 *** create shared libraries on Solaris systems. Therefore, libtool
10618 *** is disabling shared libraries support. We urge you to upgrade GNU
10619 *** binutils to release 2.9.1 or newer. Another option is to modify
10620 *** your PATH or compiler configuration so that the native linker is
10621 *** used, and then restart.
10624 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10625 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10626 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10632 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10633 case `$LD -v 2>&1` in
10634 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10638 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10639 *** reliably create shared libraries on SCO systems. Therefore, libtool
10640 *** is disabling shared libraries support. We urge you to upgrade GNU
10641 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10642 *** your PATH or compiler configuration so that the native linker is
10643 *** used, and then restart.
10648 # For security reasons, it is highly recommended that you always
10649 # use absolute paths for naming shared libraries, and exclude the
10650 # DT_RUNPATH tag from executables and libraries. But doing so
10651 # requires that you compile everything twice, which is a pain.
10652 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10653 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10654 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10655 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10664 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10666 hardcode_direct
=yes
10667 hardcode_shlibpath_var
=no
10671 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10672 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10673 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10680 if test "$ld_shlibs" = no
; then
10682 hardcode_libdir_flag_spec
=
10683 export_dynamic_flag_spec
=
10684 whole_archive_flag_spec
=
10687 # PORTME fill in a description of your system's linker (not GNU ld)
10690 allow_undefined_flag
=unsupported
10691 always_export_symbols
=yes
10692 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'
10693 # Note: this linker hardcodes the directories in LIBPATH if there
10694 # are no directories specified by -L.
10695 hardcode_minus_L
=yes
10696 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10697 # Neither direct hardcoding nor static linking is supported with a
10699 hardcode_direct
=unsupported
10704 if test "$host_cpu" = ia64
; then
10705 # On IA64, the linker does run time linking by default, so we don't
10706 # have to do anything special.
10707 aix_use_runtimelinking
=no
10708 exp_sym_flag
='-Bexport'
10711 # If we're using GNU nm, then we don't want the "-C" option.
10712 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10713 # Also, AIX nm treats weak defined symbols like other global
10714 # defined symbols, whereas GNU nm marks them as "W".
10715 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10716 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'
10718 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'
10720 aix_use_runtimelinking
=no
10722 # Test if we are trying to use run time linking or normal
10723 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10724 # need to do runtime linking.
10725 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10726 for ld_flag
in $LDFLAGS; do
10727 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10728 aix_use_runtimelinking
=yes
10735 exp_sym_flag
='-bexport'
10736 no_entry_flag
='-bnoentry'
10739 # When large executables or shared objects are built, AIX ld can
10740 # have problems creating the table of contents. If linking a library
10741 # or program results in "error TOC overflow" add -mminimal-toc to
10742 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10743 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10746 hardcode_direct
=yes
10747 hardcode_direct_absolute
=yes
10748 hardcode_libdir_separator
=':'
10749 link_all_deplibs
=yes
10750 file_list_spec
='${wl}-f,'
10752 if test "$GCC" = yes; then
10753 case $host_os in aix4.
[012]|aix4.
[012].
*)
10754 # We only want to do this on AIX 4.2 and lower, the check
10755 # below for broken collect2 doesn't work under 4.3+
10756 collect2name
=`${CC} -print-prog-name=collect2`
10757 if test -f "$collect2name" &&
10758 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10760 # We have reworked collect2
10763 # We have old collect2
10764 hardcode_direct
=unsupported
10765 # It fails to find uninstalled libraries when the uninstalled
10766 # path is not listed in the libpath. Setting hardcode_minus_L
10767 # to unsupported forces relinking
10768 hardcode_minus_L
=yes
10769 hardcode_libdir_flag_spec
='-L$libdir'
10770 hardcode_libdir_separator
=
10774 shared_flag
='-shared'
10775 if test "$aix_use_runtimelinking" = yes; then
10776 shared_flag
="$shared_flag "'${wl}-G'
10780 if test "$host_cpu" = ia64
; then
10781 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10782 # chokes on -Wl,-G. The following line is correct:
10785 if test "$aix_use_runtimelinking" = yes; then
10786 shared_flag
='${wl}-G'
10788 shared_flag
='${wl}-bM:SRE'
10793 export_dynamic_flag_spec
='${wl}-bexpall'
10794 # It seems that -bexpall does not export symbols beginning with
10795 # underscore (_), so it is better to generate a list of symbols to export.
10796 always_export_symbols
=yes
10797 if test "$aix_use_runtimelinking" = yes; then
10798 # Warning - without using the other runtime loading flags (-brtl),
10799 # -berok will link without error, but may produce a broken library.
10800 allow_undefined_flag
='-berok'
10801 # Determine the default libpath from the value encoded in an
10802 # empty executable.
10803 if test x
$gcc_no_link = xyes
; then
10804 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10817 if ac_fn_c_try_link
"$LINENO"; then :
10819 lt_aix_libpath_sed
='
10820 /Import File Strings/,/^$/ {
10826 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10827 # Check for a 64-bit object if we didn't find anything.
10828 if test -z "$aix_libpath"; then
10829 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10832 rm -f core conftest.err conftest.
$ac_objext \
10833 conftest
$ac_exeext conftest.
$ac_ext
10834 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10836 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10837 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"
10839 if test "$host_cpu" = ia64
; then
10840 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10841 allow_undefined_flag
="-z nodefs"
10842 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"
10844 # Determine the default libpath from the value encoded in an
10845 # empty executable.
10846 if test x
$gcc_no_link = xyes
; then
10847 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10860 if ac_fn_c_try_link
"$LINENO"; then :
10862 lt_aix_libpath_sed
='
10863 /Import File Strings/,/^$/ {
10869 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10870 # Check for a 64-bit object if we didn't find anything.
10871 if test -z "$aix_libpath"; then
10872 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10875 rm -f core conftest.err conftest.
$ac_objext \
10876 conftest
$ac_exeext conftest.
$ac_ext
10877 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10879 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10880 # Warning - without using the other run time loading flags,
10881 # -berok will link without error, but may produce a broken library.
10882 no_undefined_flag
=' ${wl}-bernotok'
10883 allow_undefined_flag
=' ${wl}-berok'
10884 if test "$with_gnu_ld" = yes; then
10885 # We only use this code for GNU lds that support --whole-archive.
10886 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10888 # Exported symbols can be pulled into shared objects from archives
10889 whole_archive_flag_spec
='$convenience'
10891 archive_cmds_need_lc
=yes
10892 # This is similar to how AIX traditionally builds its shared libraries.
10893 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'
10901 # see comment about AmigaOS4 .so support
10902 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10903 archive_expsym_cmds
=''
10906 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)'
10907 hardcode_libdir_flag_spec
='-L$libdir'
10908 hardcode_minus_L
=yes
10914 export_dynamic_flag_spec
=-rdynamic
10917 cygwin
* | mingw
* | pw32
* | cegcc
*)
10918 # When not using gcc, we currently assume that we are using
10919 # Microsoft Visual C++.
10920 # hardcode_libdir_flag_spec is actually meaningless, as there is
10921 # no search path for DLLs.
10922 hardcode_libdir_flag_spec
=' '
10923 allow_undefined_flag
=unsupported
10924 # Tell ltmain to make .lib files, not .a files.
10926 # Tell ltmain to make .dll files, not .so files.
10928 # FIXME: Setting linknames here is a bad hack.
10929 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10930 # The linker will automatically build a .lib file if we build a DLL.
10931 old_archive_from_new_cmds
='true'
10932 # FIXME: Should let the user specify the lib program.
10933 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10934 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10935 enable_shared_with_static_runtimes
=yes
10938 darwin
* | rhapsody
*)
10941 archive_cmds_need_lc
=no
10943 hardcode_automatic
=yes
10944 hardcode_shlibpath_var
=unsupported
10945 if test "$lt_cv_ld_force_load" = "yes"; then
10946 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\"`'
10948 whole_archive_flag_spec
=''
10950 link_all_deplibs
=yes
10951 allow_undefined_flag
="$_lt_dar_allow_undefined"
10952 case $cc_basename in
10953 ifort
*) _lt_dar_can_shared
=yes ;;
10954 *) _lt_dar_can_shared
=$GCC ;;
10956 if test "$_lt_dar_can_shared" = "yes"; then
10957 output_verbose_link_cmd
=func_echo_all
10958 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10959 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10960 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}"
10961 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}"
10970 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10971 hardcode_libdir_flag_spec
='-L$libdir'
10972 hardcode_shlibpath_var
=no
10975 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10976 # support. Future versions do this automatically, but an explicit c++rt0.o
10977 # does not break anything, and helps significantly (at the cost of a little
10980 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10981 hardcode_libdir_flag_spec
='-R$libdir'
10982 hardcode_direct
=yes
10983 hardcode_shlibpath_var
=no
10986 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10988 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10989 hardcode_direct
=yes
10990 hardcode_minus_L
=yes
10991 hardcode_shlibpath_var
=no
10994 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10995 freebsd
* | dragonfly
*)
10996 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10997 hardcode_libdir_flag_spec
='-R$libdir'
10998 hardcode_direct
=yes
10999 hardcode_shlibpath_var
=no
11003 if test "$GCC" = yes; then
11004 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'
11006 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'
11008 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11009 hardcode_libdir_separator
=:
11010 hardcode_direct
=yes
11012 # hardcode_minus_L: Not really in the search PATH,
11013 # but as the default location of the library.
11014 hardcode_minus_L
=yes
11015 export_dynamic_flag_spec
='${wl}-E'
11019 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11020 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11022 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11024 if test "$with_gnu_ld" = no
; then
11025 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11026 hardcode_libdir_flag_spec_ld
='+b $libdir'
11027 hardcode_libdir_separator
=:
11028 hardcode_direct
=yes
11029 hardcode_direct_absolute
=yes
11030 export_dynamic_flag_spec
='${wl}-E'
11031 # hardcode_minus_L: Not really in the search PATH,
11032 # but as the default location of the library.
11033 hardcode_minus_L
=yes
11038 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11041 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11044 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11047 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11053 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11056 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11060 # Older versions of the 11.00 compiler do not understand -b yet
11061 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11063 $as_echo_n "checking if $CC understands -b... " >&6; }
11064 if ${lt_cv_prog_compiler__b+:} false
; then :
11065 $as_echo_n "(cached) " >&6
11067 lt_cv_prog_compiler__b
=no
11068 save_LDFLAGS
="$LDFLAGS"
11069 LDFLAGS
="$LDFLAGS -b"
11070 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11071 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11072 # The linker can only warn and ignore the option if not recognized
11073 # So say no if there are warnings
11074 if test -s conftest.err
; then
11075 # Append any errors to the config.log.
11076 cat conftest.err
1>&5
11077 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11078 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11079 if diff conftest.exp conftest.er2
>/dev
/null
; then
11080 lt_cv_prog_compiler__b
=yes
11083 lt_cv_prog_compiler__b
=yes
11087 LDFLAGS
="$save_LDFLAGS"
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11091 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11093 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11094 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11096 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11102 if test "$with_gnu_ld" = no
; then
11103 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11104 hardcode_libdir_separator
=:
11109 hardcode_shlibpath_var
=no
11112 hardcode_direct
=yes
11113 hardcode_direct_absolute
=yes
11114 export_dynamic_flag_spec
='${wl}-E'
11116 # hardcode_minus_L: Not really in the search PATH,
11117 # but as the default location of the library.
11118 hardcode_minus_L
=yes
11124 irix5
* | irix6
* | nonstopux
*)
11125 if test "$GCC" = yes; then
11126 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'
11127 # Try to use the -exported_symbol ld option, if it does not
11128 # work, assume that -exports_file does not work either and
11129 # implicitly export all symbols.
11130 save_LDFLAGS
="$LDFLAGS"
11131 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11132 if test x
$gcc_no_link = xyes
; then
11133 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11139 if ac_fn_c_try_link
"$LINENO"; then :
11140 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'
11143 rm -f core conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LDFLAGS
="$save_LDFLAGS"
11147 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'
11148 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'
11150 archive_cmds_need_lc
='no'
11151 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11152 hardcode_libdir_separator
=:
11154 link_all_deplibs
=yes
11158 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11159 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11161 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11163 hardcode_libdir_flag_spec
='-R$libdir'
11164 hardcode_direct
=yes
11165 hardcode_shlibpath_var
=no
11169 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11170 hardcode_direct
=yes
11171 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11172 hardcode_libdir_separator
=:
11173 hardcode_shlibpath_var
=no
11180 if test -f /usr
/libexec
/ld.so
; then
11181 hardcode_direct
=yes
11182 hardcode_shlibpath_var
=no
11183 hardcode_direct_absolute
=yes
11184 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11185 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11186 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11187 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11188 export_dynamic_flag_spec
='${wl}-E'
11191 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11192 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11193 hardcode_libdir_flag_spec
='-R$libdir'
11196 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11197 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11207 hardcode_libdir_flag_spec
='-L$libdir'
11208 hardcode_minus_L
=yes
11209 allow_undefined_flag
=unsupported
11210 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'
11211 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11215 if test "$GCC" = yes; then
11216 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11217 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'
11219 allow_undefined_flag
=' -expect_unresolved \*'
11220 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'
11222 archive_cmds_need_lc
='no'
11223 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11224 hardcode_libdir_separator
=:
11227 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11228 if test "$GCC" = yes; then
11229 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11230 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'
11231 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11233 allow_undefined_flag
=' -expect_unresolved \*'
11234 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'
11235 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~
11236 $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'
11238 # Both c and cxx compiler support -rpath directly
11239 hardcode_libdir_flag_spec
='-rpath $libdir'
11241 archive_cmds_need_lc
='no'
11242 hardcode_libdir_separator
=:
11246 no_undefined_flag
=' -z defs'
11247 if test "$GCC" = yes; then
11249 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11250 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11251 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11253 case `$CC -V 2>&1` in
11256 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11257 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11258 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11262 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11263 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11264 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11268 hardcode_libdir_flag_spec
='-R$libdir'
11269 hardcode_shlibpath_var
=no
11271 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11273 # The compiler driver will combine and reorder linker options,
11274 # but understands `-z linker_flag'. GCC discards it without `$wl',
11275 # but is careful enough not to reorder.
11276 # Supported since Solaris 2.6 (maybe 2.5.1?)
11277 if test "$GCC" = yes; then
11278 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11280 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11284 link_all_deplibs
=yes
11288 if test "x$host_vendor" = xsequent
; then
11289 # Use $CC to link under sequent, because it throws in some extra .o
11290 # files that make .init and .fini sections work.
11291 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11293 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11295 hardcode_libdir_flag_spec
='-L$libdir'
11296 hardcode_direct
=yes
11297 hardcode_minus_L
=yes
11298 hardcode_shlibpath_var
=no
11302 case $host_vendor in
11304 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11305 hardcode_direct
=yes # is this really true???
11308 ## LD is ld it makes a PLAMLIB
11309 ## CC just makes a GrossModule.
11310 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11311 reload_cmds
='$CC -r -o $output$reload_objs'
11315 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11316 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11319 runpath_var
='LD_RUN_PATH'
11320 hardcode_shlibpath_var
=no
11324 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325 hardcode_shlibpath_var
=no
11326 export_dynamic_flag_spec
='-Bexport'
11330 if test -d /usr
/nec
; then
11331 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11332 hardcode_shlibpath_var
=no
11333 runpath_var
=LD_RUN_PATH
11334 hardcode_runpath_var
=yes
11339 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11340 no_undefined_flag
='${wl}-z,text'
11341 archive_cmds_need_lc
=no
11342 hardcode_shlibpath_var
=no
11343 runpath_var
='LD_RUN_PATH'
11345 if test "$GCC" = yes; then
11346 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11347 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11354 sysv5
* | sco3.2v5
* | sco5v6
*)
11355 # Note: We can NOT use -z defs as we might desire, because we do not
11356 # link with -lc, and that would cause any symbols used from libc to
11357 # always be unresolved, which means just about no library would
11358 # ever link correctly. If we're not using GNU ld we use -z text
11359 # though, which does catch some bad symbols but isn't as heavy-handed
11361 no_undefined_flag
='${wl}-z,text'
11362 allow_undefined_flag
='${wl}-z,nodefs'
11363 archive_cmds_need_lc
=no
11364 hardcode_shlibpath_var
=no
11365 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11366 hardcode_libdir_separator
=':'
11367 link_all_deplibs
=yes
11368 export_dynamic_flag_spec
='${wl}-Bexport'
11369 runpath_var
='LD_RUN_PATH'
11371 if test "$GCC" = yes; then
11372 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11373 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11376 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11381 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11382 hardcode_libdir_flag_spec
='-L$libdir'
11383 hardcode_shlibpath_var
=no
11391 if test x
$host_vendor = xsni
; then
11393 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11394 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11401 $as_echo "$ld_shlibs" >&6; }
11402 test "$ld_shlibs" = no
&& can_build_shared
=no
11404 with_gnu_ld
=$with_gnu_ld
11421 # Do we need to explicitly link libc?
11423 case "x$archive_cmds_need_lc" in
11425 # Assume -lc should be added
11426 archive_cmds_need_lc
=yes
11428 if test "$enable_shared" = yes && test "$GCC" = yes; then
11429 case $archive_cmds in
11431 # FIXME: we may have to deal with multi-command sequences.
11434 # Test whether the compiler implicitly links with -lc since on some
11435 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11436 # to ld, don't add -lc before -lgcc.
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11438 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11439 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11440 $as_echo_n "(cached) " >&6
11443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11446 (eval $ac_compile) 2>&5
11448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11449 test $ac_status = 0; } 2>conftest.err
; then
11452 libobjs
=conftest.
$ac_objext
11454 wl
=$lt_prog_compiler_wl
11455 pic_flag
=$lt_prog_compiler_pic
11461 lt_save_allow_undefined_flag
=$allow_undefined_flag
11462 allow_undefined_flag
=
11463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11464 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11467 test $ac_status = 0; }
11469 lt_cv_archive_cmds_need_lc
=no
11471 lt_cv_archive_cmds_need_lc
=yes
11473 allow_undefined_flag
=$lt_save_allow_undefined_flag
11475 cat conftest.err
1>&5
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11481 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11482 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11646 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11648 if test "$GCC" = yes; then
11650 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11651 *) lt_awk_arg
="/^libraries:/" ;;
11654 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11655 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11657 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11658 case $lt_search_path_spec in
11660 # if the path contains ";" then we assume it to be the separator
11661 # otherwise default to the standard path separator (i.e. ":") - it is
11662 # assumed that no part of a normal pathname contains ";" but that should
11663 # okay in the real world where ";" in dirpaths is itself problematic.
11664 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11667 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11670 # Ok, now we have the path, separated by spaces, we can step through it
11671 # and add multilib dir if necessary.
11672 lt_tmp_lt_search_path_spec
=
11673 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11674 for lt_sys_path
in $lt_search_path_spec; do
11675 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11676 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11678 test -d "$lt_sys_path" && \
11679 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11682 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11683 BEGIN {RS=" "; FS="/|\n";} {
11686 for (lt_i = NF; lt_i > 0; lt_i--) {
11687 if ($lt_i != "" && $lt_i != ".") {
11688 if ($lt_i == "..") {
11691 if (lt_count == 0) {
11692 lt_foo="/" $lt_i lt_foo;
11699 if (lt_foo != "") { lt_freq[lt_foo]++; }
11700 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11702 # AWK program above erroneously prepends '/' to C:/dos/paths
11705 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11706 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11708 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11710 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11712 library_names_spec
=
11713 libname_spec
='lib$name'
11717 postuninstall_cmds
=
11721 shlibpath_overrides_runpath
=unknown
11723 dynamic_linker
="$host_os ld.so"
11724 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11725 need_lib_prefix
=unknown
11726 hardcode_into_libs
=no
11728 # when you set need_version to no, make sure it does not cause -set_version
11729 # flags to be left without arguments
11730 need_version
=unknown
11735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11736 shlibpath_var
=LIBPATH
11738 # AIX 3 has no versioning support, so we append a major version to the name.
11739 soname_spec
='${libname}${release}${shared_ext}$major'
11746 hardcode_into_libs
=yes
11747 if test "$host_cpu" = ia64
; then
11748 # AIX 5 supports IA64
11749 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11750 shlibpath_var
=LD_LIBRARY_PATH
11752 # With GCC up to 2.95.x, collect2 would create an import file
11753 # for dependence libraries. The import file would start with
11754 # the line `#! .'. This would cause the generated library to
11755 # depend on `.', always an invalid library. This was fixed in
11756 # development snapshots of GCC prior to 3.0.
11758 aix4 | aix4.
[01] | aix4.
[01].
*)
11759 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11761 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11764 can_build_shared
=no
11768 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11769 # soname into executable. Probably we can add versioning support to
11770 # collect2, so additional links can be useful in future.
11771 if test "$aix_use_runtimelinking" = yes; then
11772 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11773 # instead of lib<name>.a to let people know that these are not
11774 # typical AIX shared libraries.
11775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11777 # We preserve .a as extension for shared libraries through AIX4.2
11778 # and later when we are not doing run time linking.
11779 library_names_spec
='${libname}${release}.a $libname.a'
11780 soname_spec
='${libname}${release}${shared_ext}$major'
11782 shlibpath_var
=LIBPATH
11789 # Since July 2007 AmigaOS4 officially supports .so libraries.
11790 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 library_names_spec
='$libname.ixlibrary $libname.a'
11795 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11796 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'
11802 library_names_spec
='${libname}${shared_ext}'
11803 dynamic_linker
="$host_os ld.so"
11804 shlibpath_var
=LIBRARY_PATH
11810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11811 soname_spec
='${libname}${release}${shared_ext}$major'
11812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11813 shlibpath_var
=LD_LIBRARY_PATH
11814 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11815 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11816 # the default ld.so.conf also contains /usr/contrib/lib and
11817 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11818 # libtool to hard-code these into programs
11821 cygwin
* | mingw
* | pw32
* | cegcc
*)
11822 version_type
=windows
11827 case $GCC,$host_os in
11828 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11829 library_names_spec
='$libname.dll.a'
11830 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11831 postinstall_cmds
='base_file=`basename \${file}`~
11832 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11833 dldir=$destdir/`dirname \$dlpath`~
11834 test -d \$dldir || mkdir -p \$dldir~
11835 $install_prog $dir/$dlname \$dldir/$dlname~
11836 chmod a+x \$dldir/$dlname~
11837 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11838 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11840 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11841 dlpath=$dir/\$dldll~
11843 shlibpath_overrides_runpath
=yes
11847 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11848 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11850 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11853 # MinGW DLLs use traditional 'lib' prefix
11854 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11857 # pw32 DLLs use 'pw' prefix rather than 'lib'
11858 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11864 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11867 dynamic_linker
='Win32 ld.exe'
11868 # FIXME: first we should search . and the directory the executable is in
11872 darwin
* | rhapsody
*)
11873 dynamic_linker
="$host_os dyld"
11874 version_type
=darwin
11877 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11878 soname_spec
='${libname}${release}${major}$shared_ext'
11879 shlibpath_overrides_runpath
=yes
11880 shlibpath_var
=DYLD_LIBRARY_PATH
11881 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11883 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11884 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11896 freebsd
* | dragonfly
*)
11897 # DragonFly does not have aout. When/if they implement a new
11898 # versioning mechanism, adjust this.
11899 if test -x /usr
/bin
/objformat
; then
11900 objformat
=`/usr/bin/objformat`
11903 freebsd
[23].
*) objformat
=aout
;;
11904 *) objformat
=elf
;;
11907 version_type
=freebsd-
$objformat
11908 case $version_type in
11910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11915 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11919 shlibpath_var
=LD_LIBRARY_PATH
11922 shlibpath_overrides_runpath
=yes
11924 freebsd3.
[01]* | freebsdelf3.
[01]*)
11925 shlibpath_overrides_runpath
=yes
11926 hardcode_into_libs
=yes
11928 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11929 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11930 shlibpath_overrides_runpath
=no
11931 hardcode_into_libs
=yes
11933 *) # from 4.6 on, and DragonFly
11934 shlibpath_overrides_runpath
=yes
11935 hardcode_into_libs
=yes
11944 dynamic_linker
="$host_os runtime_loader"
11945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11946 soname_spec
='${libname}${release}${shared_ext}$major'
11947 shlibpath_var
=LIBRARY_PATH
11948 shlibpath_overrides_runpath
=yes
11949 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11950 hardcode_into_libs
=yes
11953 hpux9
* | hpux10
* | hpux11
*)
11954 # Give a soname corresponding to the major version so that dld.sl refuses to
11955 # link against other versions.
11962 hardcode_into_libs
=yes
11963 dynamic_linker
="$host_os dld.so"
11964 shlibpath_var
=LD_LIBRARY_PATH
11965 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11967 soname_spec
='${libname}${release}${shared_ext}$major'
11968 if test "X$HPUX_IA64_MODE" = X32
; then
11969 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11971 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11973 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11977 hardcode_into_libs
=yes
11978 dynamic_linker
="$host_os dld.sl"
11979 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11980 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11982 soname_spec
='${libname}${release}${shared_ext}$major'
11983 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11984 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11988 dynamic_linker
="$host_os dld.sl"
11989 shlibpath_var
=SHLIB_PATH
11990 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11992 soname_spec
='${libname}${release}${shared_ext}$major'
11995 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11996 postinstall_cmds
='chmod 555 $lib'
11997 # or fails outright, so override atomically:
11998 install_override_mode
=555
12005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12006 soname_spec
='${libname}${release}${shared_ext}$major'
12007 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12008 shlibpath_var
=LD_LIBRARY_PATH
12009 shlibpath_overrides_runpath
=no
12010 hardcode_into_libs
=yes
12013 irix5
* | irix6
* | nonstopux
*)
12015 nonstopux
*) version_type
=nonstopux
;;
12017 if test "$lt_cv_prog_gnu_ld" = yes; then
12025 soname_spec
='${libname}${release}${shared_ext}$major'
12026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12028 irix5
* | nonstopux
*)
12029 libsuff
= shlibsuff
=
12032 case $LD in # libtool.m4 will add one of these switches to LD
12033 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12034 libsuff
= shlibsuff
= libmagic
=32-bit;;
12035 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12036 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12037 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12038 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12039 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12043 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12044 shlibpath_overrides_runpath
=no
12045 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12046 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12047 hardcode_into_libs
=yes
12050 # No shared lib support for Linux oldld, aout, or coff.
12051 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12055 # This must be Linux ELF.
12057 # uclinux* changes (here and below) have been submitted to the libtool
12058 # project, but have not yet been accepted: they are GCC-local changes
12059 # for the time being. (See
12060 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12061 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12066 soname_spec
='${libname}${release}${shared_ext}$major'
12067 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12068 shlibpath_var
=LD_LIBRARY_PATH
12069 shlibpath_overrides_runpath
=no
12071 # Some binutils ld are patched to set DT_RUNPATH
12072 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 lt_cv_shlibpath_overrides_runpath
=no
12076 save_LDFLAGS
=$LDFLAGS
12077 save_libdir
=$libdir
12078 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12079 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12080 if test x
$gcc_no_link = xyes
; then
12081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12094 if ac_fn_c_try_link
"$LINENO"; then :
12095 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12096 lt_cv_shlibpath_overrides_runpath
=yes
12099 rm -f core conftest.err conftest.
$ac_objext \
12100 conftest
$ac_exeext conftest.
$ac_ext
12101 LDFLAGS
=$save_LDFLAGS
12102 libdir
=$save_libdir
12106 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12108 # This implies no fast_install, which is unacceptable.
12109 # Some rework will be needed to allow for fast_install
12110 # before this can be enabled.
12111 hardcode_into_libs
=yes
12113 # Append ld.so.conf contents to the search path
12114 if test -f /etc
/ld.so.conf
; then
12115 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' ' '`
12116 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12119 # We used to test for /lib/ld.so.1 and disable shared libraries on
12120 # powerpc, because MkLinux only supported shared libraries with the
12121 # GNU dynamic linker. Since this was broken with cross compilers,
12122 # most powerpc-linux boxes support dynamic linking these days and
12123 # people can always --disable-shared, the test was removed, and we
12124 # assume the GNU/Linux dynamic linker is in use.
12125 dynamic_linker
='GNU/Linux ld.so'
12132 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12134 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12135 dynamic_linker
='NetBSD (a.out) ld.so'
12137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12138 soname_spec
='${libname}${release}${shared_ext}$major'
12139 dynamic_linker
='NetBSD ld.elf_so'
12141 shlibpath_var
=LD_LIBRARY_PATH
12142 shlibpath_overrides_runpath
=yes
12143 hardcode_into_libs
=yes
12148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149 shlibpath_var
=LD_LIBRARY_PATH
12150 shlibpath_overrides_runpath
=yes
12157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12158 soname_spec
='${libname}${release}${shared_ext}$major'
12159 shlibpath_var
=LD_LIBRARY_PATH
12160 shlibpath_overrides_runpath
=no
12161 hardcode_into_libs
=yes
12162 dynamic_linker
='ldqnx.so'
12167 sys_lib_dlsearch_path_spec
="/usr/lib"
12169 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12171 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12172 *) need_version
=no
;;
12174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12175 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12176 shlibpath_var
=LD_LIBRARY_PATH
12177 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12179 openbsd2.
[89] | openbsd2.
[89].
*)
12180 shlibpath_overrides_runpath
=no
12183 shlibpath_overrides_runpath
=yes
12187 shlibpath_overrides_runpath
=yes
12192 libname_spec
='$name'
12195 library_names_spec
='$libname${shared_ext} $libname.a'
12196 dynamic_linker
='OS/2 ld.exe'
12197 shlibpath_var
=LIBPATH
12200 osf3
* | osf4
* | osf5
*)
12204 soname_spec
='${libname}${release}${shared_ext}$major'
12205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206 shlibpath_var
=LD_LIBRARY_PATH
12207 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12208 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12220 soname_spec
='${libname}${release}${shared_ext}$major'
12221 shlibpath_var
=LD_LIBRARY_PATH
12222 shlibpath_overrides_runpath
=yes
12223 hardcode_into_libs
=yes
12224 # ldd complains unless libraries are executable
12225 postinstall_cmds
='chmod +x $lib'
12230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12231 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12232 shlibpath_var
=LD_LIBRARY_PATH
12233 shlibpath_overrides_runpath
=yes
12234 if test "$with_gnu_ld" = yes; then
12242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12243 soname_spec
='${libname}${release}${shared_ext}$major'
12244 shlibpath_var
=LD_LIBRARY_PATH
12245 case $host_vendor in
12247 shlibpath_overrides_runpath
=no
12249 runpath_var
=LD_RUN_PATH
12257 shlibpath_overrides_runpath
=no
12258 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12264 if test -d /usr
/nec
;then
12266 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12267 soname_spec
='$libname${shared_ext}.$major'
12268 shlibpath_var
=LD_LIBRARY_PATH
12272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12273 version_type
=freebsd-elf
12276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12277 soname_spec
='${libname}${release}${shared_ext}$major'
12278 shlibpath_var
=LD_LIBRARY_PATH
12279 shlibpath_overrides_runpath
=yes
12280 hardcode_into_libs
=yes
12281 if test "$with_gnu_ld" = yes; then
12282 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12284 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12287 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12291 sys_lib_dlsearch_path_spec
='/usr/lib'
12295 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12300 shlibpath_var
=LD_LIBRARY_PATH
12301 shlibpath_overrides_runpath
=no
12302 hardcode_into_libs
=yes
12307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12308 soname_spec
='${libname}${release}${shared_ext}$major'
12309 shlibpath_var
=LD_LIBRARY_PATH
12312 # Shared libraries for VwWorks, >= 7 only at this stage
12313 # and (fpic) still incompatible with "large" code models
12314 # in a few configurations. Only for RTP mode in any case,
12315 # and upon explicit request at configure time.
12318 case ${with_multisubdir}-${enable_shared} in
12325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12326 soname_spec
='${libname}${release}${shared_ext}$major'
12327 dynamic_linker
="$host_os module_loader"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12336 $as_echo "$dynamic_linker" >&6; }
12337 test "$dynamic_linker" = no
&& can_build_shared
=no
12339 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12340 if test "$GCC" = yes; then
12341 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12344 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12345 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12347 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12348 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12443 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12445 if test -n "$hardcode_libdir_flag_spec" ||
12446 test -n "$runpath_var" ||
12447 test "X$hardcode_automatic" = "Xyes" ; then
12449 # We can hardcode non-existent directories.
12450 if test "$hardcode_direct" != no
&&
12451 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12452 # have to relink, otherwise we might link with an installed library
12453 # when we should be linking with a yet-to-be-installed one
12454 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12455 test "$hardcode_minus_L" != no
; then
12456 # Linking always hardcodes the temporary library directory.
12457 hardcode_action
=relink
12459 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12460 hardcode_action
=immediate
12463 # We cannot hardcode anything, or else we can only hardcode existing
12465 hardcode_action
=unsupported
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12468 $as_echo "$hardcode_action" >&6; }
12470 if test "$hardcode_action" = relink ||
12471 test "$inherit_rpath" = yes; then
12472 # Fast installation is not supported
12473 enable_fast_install
=no
12474 elif test "$shlibpath_overrides_runpath" = yes ||
12475 test "$enable_shared" = no
; then
12476 # Fast installation is not necessary
12477 enable_fast_install
=needless
12485 if test "x$enable_dlopen" != xyes
; then
12486 enable_dlopen
=unknown
12487 enable_dlopen_self
=unknown
12488 enable_dlopen_self_static
=unknown
12495 lt_cv_dlopen
="load_add_on"
12497 lt_cv_dlopen_self
=yes
12500 mingw
* | pw32
* | cegcc
*)
12501 lt_cv_dlopen
="LoadLibrary"
12506 lt_cv_dlopen
="dlopen"
12511 # if libdl is installed we need to link against it
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12514 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12515 $as_echo_n "(cached) " >&6
12517 ac_check_lib_save_LIBS
=$LIBS
12519 if test x
$gcc_no_link = xyes
; then
12520 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12540 if ac_fn_c_try_link
"$LINENO"; then :
12541 ac_cv_lib_dl_dlopen
=yes
12543 ac_cv_lib_dl_dlopen
=no
12545 rm -f core conftest.err conftest.
$ac_objext \
12546 conftest
$ac_exeext conftest.
$ac_ext
12547 LIBS
=$ac_check_lib_save_LIBS
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12550 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12551 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12552 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12555 lt_cv_dlopen
="dyld"
12557 lt_cv_dlopen_self
=yes
12564 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12565 if test "x$ac_cv_func_shl_load" = xyes
; then :
12566 lt_cv_dlopen
="shl_load"
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12569 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12570 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12571 $as_echo_n "(cached) " >&6
12573 ac_check_lib_save_LIBS
=$LIBS
12575 if test x
$gcc_no_link = xyes
; then
12576 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12591 return shl_load ();
12596 if ac_fn_c_try_link
"$LINENO"; then :
12597 ac_cv_lib_dld_shl_load
=yes
12599 ac_cv_lib_dld_shl_load
=no
12601 rm -f core conftest.err conftest.
$ac_objext \
12602 conftest
$ac_exeext conftest.
$ac_ext
12603 LIBS
=$ac_check_lib_save_LIBS
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12606 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12607 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12608 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12610 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12611 if test "x$ac_cv_func_dlopen" = xyes
; then :
12612 lt_cv_dlopen
="dlopen"
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12615 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12616 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12617 $as_echo_n "(cached) " >&6
12619 ac_check_lib_save_LIBS
=$LIBS
12621 if test x
$gcc_no_link = xyes
; then
12622 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12642 if ac_fn_c_try_link
"$LINENO"; then :
12643 ac_cv_lib_dl_dlopen
=yes
12645 ac_cv_lib_dl_dlopen
=no
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12652 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12653 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12654 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12657 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12658 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12659 $as_echo_n "(cached) " >&6
12661 ac_check_lib_save_LIBS
=$LIBS
12662 LIBS
="-lsvld $LIBS"
12663 if test x
$gcc_no_link = xyes
; then
12664 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12684 if ac_fn_c_try_link
"$LINENO"; then :
12685 ac_cv_lib_svld_dlopen
=yes
12687 ac_cv_lib_svld_dlopen
=no
12689 rm -f core conftest.err conftest.
$ac_objext \
12690 conftest
$ac_exeext conftest.
$ac_ext
12691 LIBS
=$ac_check_lib_save_LIBS
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12694 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12695 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12696 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12699 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12700 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12701 $as_echo_n "(cached) " >&6
12703 ac_check_lib_save_LIBS
=$LIBS
12705 if test x
$gcc_no_link = xyes
; then
12706 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12721 return dld_link ();
12726 if ac_fn_c_try_link
"$LINENO"; then :
12727 ac_cv_lib_dld_dld_link
=yes
12729 ac_cv_lib_dld_dld_link
=no
12731 rm -f core conftest.err conftest.
$ac_objext \
12732 conftest
$ac_exeext conftest.
$ac_ext
12733 LIBS
=$ac_check_lib_save_LIBS
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12736 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12737 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12738 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12759 if test "x$lt_cv_dlopen" != xno
; then
12765 case $lt_cv_dlopen in
12767 save_CPPFLAGS
="$CPPFLAGS"
12768 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12770 save_LDFLAGS
="$LDFLAGS"
12771 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12774 LIBS
="$lt_cv_dlopen_libs $LIBS"
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12777 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12778 if ${lt_cv_dlopen_self+:} false
; then :
12779 $as_echo_n "(cached) " >&6
12781 if test "$cross_compiling" = yes; then :
12782 lt_cv_dlopen_self
=cross
12784 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12785 lt_status
=$lt_dlunknown
12786 cat > conftest.
$ac_ext <<_LT_EOF
12787 #line 12787 "configure"
12788 #include "confdefs.h"
12797 # define LT_DLGLOBAL RTLD_GLOBAL
12800 # define LT_DLGLOBAL DL_GLOBAL
12802 # define LT_DLGLOBAL 0
12806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12807 find out it does not work in some platform. */
12808 #ifndef LT_DLLAZY_OR_NOW
12810 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12813 # define LT_DLLAZY_OR_NOW DL_LAZY
12816 # define LT_DLLAZY_OR_NOW RTLD_NOW
12819 # define LT_DLLAZY_OR_NOW DL_NOW
12821 # define LT_DLLAZY_OR_NOW 0
12828 /* When -fvisbility=hidden is used, assume the code has been annotated
12829 correspondingly for the symbols needed. */
12830 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12831 void fnord () __attribute__((visibility("default")));
12834 void fnord () { int i=42; }
12837 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12838 int status = $lt_dlunknown;
12842 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12845 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12846 else puts (dlerror ());
12848 /* dlclose (self); */
12856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12857 (eval $ac_link) 2>&5
12859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12860 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12861 (.
/conftest
; exit; ) >&5 2>/dev
/null
12863 case x
$lt_status in
12864 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12865 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12866 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12869 # compilation failed
12870 lt_cv_dlopen_self
=no
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12878 $as_echo "$lt_cv_dlopen_self" >&6; }
12880 if test "x$lt_cv_dlopen_self" = xyes
; then
12881 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12883 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12884 if ${lt_cv_dlopen_self_static+:} false
; then :
12885 $as_echo_n "(cached) " >&6
12887 if test "$cross_compiling" = yes; then :
12888 lt_cv_dlopen_self_static
=cross
12890 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12891 lt_status
=$lt_dlunknown
12892 cat > conftest.
$ac_ext <<_LT_EOF
12893 #line 12893 "configure"
12894 #include "confdefs.h"
12903 # define LT_DLGLOBAL RTLD_GLOBAL
12906 # define LT_DLGLOBAL DL_GLOBAL
12908 # define LT_DLGLOBAL 0
12912 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12913 find out it does not work in some platform. */
12914 #ifndef LT_DLLAZY_OR_NOW
12916 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12919 # define LT_DLLAZY_OR_NOW DL_LAZY
12922 # define LT_DLLAZY_OR_NOW RTLD_NOW
12925 # define LT_DLLAZY_OR_NOW DL_NOW
12927 # define LT_DLLAZY_OR_NOW 0
12934 /* When -fvisbility=hidden is used, assume the code has been annotated
12935 correspondingly for the symbols needed. */
12936 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12937 void fnord () __attribute__((visibility("default")));
12940 void fnord () { int i=42; }
12943 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12944 int status = $lt_dlunknown;
12948 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12951 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12952 else puts (dlerror ());
12954 /* dlclose (self); */
12962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12963 (eval $ac_link) 2>&5
12965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12966 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12967 (.
/conftest
; exit; ) >&5 2>/dev
/null
12969 case x
$lt_status in
12970 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12971 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12972 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12975 # compilation failed
12976 lt_cv_dlopen_self_static
=no
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12984 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12987 CPPFLAGS
="$save_CPPFLAGS"
12988 LDFLAGS
="$save_LDFLAGS"
12993 case $lt_cv_dlopen_self in
12994 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12995 *) enable_dlopen_self
=unknown
;;
12998 case $lt_cv_dlopen_self_static in
12999 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13000 *) enable_dlopen_self_static
=unknown
;;
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13023 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13024 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13025 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13026 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13028 $as_echo "yes" >&6; }
13030 # FIXME - insert some real tests, host_os isn't really good enough
13033 if test -n "$STRIP" ; then
13034 striplib
="$STRIP -x"
13035 old_striplib
="$STRIP -S"
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13037 $as_echo "yes" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13045 $as_echo "no" >&6; }
13061 # Report which library types will actually be built
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13063 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13065 $as_echo "$can_build_shared" >&6; }
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13068 $as_echo_n "checking whether to build shared libraries... " >&6; }
13069 test "$can_build_shared" = "no" && enable_shared
=no
13071 # On AIX, shared libraries and static libraries use the same namespace, and
13072 # are all built from PIC.
13075 test "$enable_shared" = yes && enable_static
=no
13076 if test -n "$RANLIB"; then
13077 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13078 postinstall_cmds
='$RANLIB $lib'
13083 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13084 test "$enable_shared" = yes && enable_static
=no
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13089 $as_echo "$enable_shared" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13092 $as_echo_n "checking whether to build static libraries... " >&6; }
13093 # Make sure either enable_shared or enable_static is yes.
13094 test "$enable_shared" = yes || enable_static
=yes
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13096 $as_echo "$enable_static" >&6; }
13103 ac_cpp
='$CPP $CPPFLAGS'
13104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13122 ac_config_commands
="$ac_config_commands libtool"
13127 # Only expand once:
13132 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13133 # These system don't have libm, or don't need it
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13137 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13138 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13139 $as_echo_n "(cached) " >&6
13141 ac_check_lib_save_LIBS
=$LIBS
13143 if test x
$gcc_no_link = xyes
; then
13144 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13155 char _mwvalidcheckl ();
13159 return _mwvalidcheckl ();
13164 if ac_fn_c_try_link
"$LINENO"; then :
13165 ac_cv_lib_mw__mwvalidcheckl
=yes
13167 ac_cv_lib_mw__mwvalidcheckl
=no
13169 rm -f core conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13171 LIBS
=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13174 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13175 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13180 $as_echo_n "checking for cos in -lm... " >&6; }
13181 if ${ac_cv_lib_m_cos+:} false
; then :
13182 $as_echo_n "(cached) " >&6
13184 ac_check_lib_save_LIBS
=$LIBS
13186 if test x
$gcc_no_link = xyes
; then
13187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13207 if ac_fn_c_try_link
"$LINENO"; then :
13208 ac_cv_lib_m_cos
=yes
13212 rm -f core conftest.err conftest.
$ac_objext \
13213 conftest
$ac_exeext conftest.
$ac_ext
13214 LIBS
=$ac_check_lib_save_LIBS
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13217 $as_echo "$ac_cv_lib_m_cos" >&6; }
13218 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13225 $as_echo_n "checking for cos in -lm... " >&6; }
13226 if ${ac_cv_lib_m_cos+:} false
; then :
13227 $as_echo_n "(cached) " >&6
13229 ac_check_lib_save_LIBS
=$LIBS
13231 if test x
$gcc_no_link = xyes
; then
13232 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13252 if ac_fn_c_try_link
"$LINENO"; then :
13253 ac_cv_lib_m_cos
=yes
13257 rm -f core conftest.err conftest.
$ac_objext \
13258 conftest
$ac_exeext conftest.
$ac_ext
13259 LIBS
=$ac_check_lib_save_LIBS
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13262 $as_echo "$ac_cv_lib_m_cos" >&6; }
13263 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13275 *-cygwin* |
*-mingw*)
13276 # 'host' will be top-level target in the case of a target lib,
13277 # we must compare to with_cross_host to decide if this is a native
13278 # or cross-compiler and select where to install dlls appropriately.
13279 if test -n "$with_cross_host" &&
13280 test x
"$with_cross_host" != x
"no"; then
13281 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13283 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13295 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13297 # We need gfortran to compile parts of the library
13298 #AC_PROG_FC(gfortran)
13300 ac_ext
=${ac_fc_srcext-f}
13301 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13302 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13303 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13304 if test -n "$ac_tool_prefix"; then
13305 for ac_prog
in gfortran
13307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13308 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13310 $as_echo_n "checking for $ac_word... " >&6; }
13311 if ${ac_cv_prog_FC+:} false
; then :
13312 $as_echo_n "(cached) " >&6
13314 if test -n "$FC"; then
13315 ac_cv_prog_FC
="$FC" # Let the user override the test.
13317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13318 for as_dir
in $PATH
13321 test -z "$as_dir" && as_dir
=.
13322 for ac_exec_ext
in '' $ac_executable_extensions; do
13323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13324 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13335 if test -n "$FC"; then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13337 $as_echo "$FC" >&6; }
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13340 $as_echo "no" >&6; }
13344 test -n "$FC" && break
13347 if test -z "$FC"; then
13349 for ac_prog
in gfortran
13351 # Extract the first word of "$ac_prog", so it can be a program name with args.
13352 set dummy
$ac_prog; ac_word
=$2
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13354 $as_echo_n "checking for $ac_word... " >&6; }
13355 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13356 $as_echo_n "(cached) " >&6
13358 if test -n "$ac_ct_FC"; then
13359 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13362 for as_dir
in $PATH
13365 test -z "$as_dir" && as_dir
=.
13366 for ac_exec_ext
in '' $ac_executable_extensions; do
13367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13368 ac_cv_prog_ac_ct_FC
="$ac_prog"
13369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13378 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13379 if test -n "$ac_ct_FC"; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13381 $as_echo "$ac_ct_FC" >&6; }
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13384 $as_echo "no" >&6; }
13388 test -n "$ac_ct_FC" && break
13391 if test "x$ac_ct_FC" = x
; then
13394 case $cross_compiling:$ac_tool_warned in
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13398 ac_tool_warned
=yes ;;
13405 # Provide some information about the compiler.
13406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13409 for ac_option
in --version -v -V -qversion; do
13410 { { ac_try
="$ac_compiler $ac_option >&5"
13411 case "(($ac_try" in
13412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13413 *) ac_try_echo=$ac_try;;
13415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13416 $as_echo "$ac_try_echo"; } >&5
13417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13419 if test -s conftest.err; then
13421 ... rest of stderr output deleted ...
13422 10q' conftest.err >conftest.er1
13423 cat conftest.er1 >&5
13425 rm -f conftest.er1 conftest.err
13426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13427 test $ac_status = 0; }
13431 # If we don't use `.F
' as extension, the preprocessor is not run on the
13432 # input file. (Note that this only needs to work for GNU compilers.)
13433 ac_save_ext=$ac_ext
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13436 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13437 if ${ac_cv_fc_compiler_gnu+:} false; then :
13438 $as_echo_n "(cached) " >&6
13440 cat > conftest.$ac_ext <<_ACEOF
13448 if ac_fn_fc_try_compile "$LINENO"; then :
13449 ac_compiler_gnu=yes
13453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13454 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13458 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13459 ac_ext=$ac_save_ext
13460 ac_test_FCFLAGS=${FCFLAGS+set}
13461 ac_save_FCFLAGS=$FCFLAGS
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13464 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13465 if ${ac_cv_prog_fc_g+:} false; then :
13466 $as_echo_n "(cached) " >&6
13469 cat > conftest.$ac_ext <<_ACEOF
13474 if ac_fn_fc_try_compile "$LINENO"; then :
13475 ac_cv_prog_fc_g=yes
13479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13483 $as_echo "$ac_cv_prog_fc_g" >&6; }
13484 if test "$ac_test_FCFLAGS" = set; then
13485 FCFLAGS=$ac_save_FCFLAGS
13486 elif test $ac_cv_prog_fc_g = yes; then
13487 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13493 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13500 if test $ac_compiler_gnu = yes; then
13506 ac_cpp='$CPP $CPPFLAGS'
13507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13508 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13511 ac_ext=${ac_fc_srcext-f}
13512 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13513 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13514 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13517 if test -z "$FC" || test "X$FC" = "Xno"; then
13521 archive_cmds_need_lc_FC=no
13522 allow_undefined_flag_FC=
13523 always_export_symbols_FC=no
13524 archive_expsym_cmds_FC=
13525 export_dynamic_flag_spec_FC=
13526 hardcode_direct_FC=no
13527 hardcode_direct_absolute_FC=no
13528 hardcode_libdir_flag_spec_FC=
13529 hardcode_libdir_flag_spec_ld_FC=
13530 hardcode_libdir_separator_FC=
13531 hardcode_minus_L_FC=no
13532 hardcode_automatic_FC=no
13533 inherit_rpath_FC=no
13535 module_expsym_cmds_FC=
13536 link_all_deplibs_FC=unknown
13537 old_archive_cmds_FC=$old_archive_cmds
13538 reload_flag_FC=$reload_flag
13539 reload_cmds_FC=$reload_cmds
13540 no_undefined_flag_FC=
13541 whole_archive_flag_spec_FC=
13542 enable_shared_with_static_runtimes_FC=no
13544 # Source file extension for fc test sources.
13545 ac_ext=${ac_fc_srcext-f}
13547 # Object file extension for compiled fc test sources.
13551 # No sense in running all these tests if we already determined that
13552 # the FC compiler isn't working. Some variables
(like enable_shared
)
13553 # are currently assumed to apply to all compilers on this platform,
13554 # and will be corrupted by setting them based on a non-working compiler.
13555 if test "$_lt_disable_FC" != yes; then
13556 # Code to be used in simple compile tests
13557 lt_simple_compile_test_code
="\
13563 # Code to be used in simple link tests
13564 lt_simple_link_test_code
="\
13569 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13576 # If no C compiler was specified, use CC.
13579 # If no C compiler flags were specified, use CFLAGS.
13580 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13582 # Allow CC to be a program name with arguments.
13586 # save warnings/boilerplate of simple test code
13587 ac_outfile
=conftest.
$ac_objext
13588 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13589 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13590 _lt_compiler_boilerplate
=`cat conftest.err`
13593 ac_outfile
=conftest.
$ac_objext
13594 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13595 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13596 _lt_linker_boilerplate
=`cat conftest.err`
13600 # Allow CC to be a program name with arguments.
13605 GCC
=$ac_cv_fc_compiler_gnu
13608 for cc_temp
in $compiler""; do
13610 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13611 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13616 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13619 if test -n "$compiler"; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13621 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13623 $as_echo "$can_build_shared" >&6; }
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13626 $as_echo_n "checking whether to build shared libraries... " >&6; }
13627 test "$can_build_shared" = "no" && enable_shared
=no
13629 # On AIX, shared libraries and static libraries use the same namespace, and
13630 # are all built from PIC.
13633 test "$enable_shared" = yes && enable_static
=no
13634 if test -n "$RANLIB"; then
13635 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13636 postinstall_cmds
='$RANLIB $lib'
13640 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13641 test "$enable_shared" = yes && enable_static
=no
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13646 $as_echo "$enable_shared" >&6; }
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13649 $as_echo_n "checking whether to build static libraries... " >&6; }
13650 # Make sure either enable_shared or enable_static is yes.
13651 test "$enable_shared" = yes || enable_static
=yes
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13653 $as_echo "$enable_static" >&6; }
13655 GCC_FC
="$ac_cv_fc_compiler_gnu"
13659 ## There is no encapsulation within the following macros, do not change
13660 ## the running order or otherwise move them around unless you know exactly
13661 ## what you are doing...
13662 # Dependencies to place before and after the object being linked:
13664 postdep_objects_FC
=
13667 compiler_lib_search_path_FC
=
13669 cat > conftest.
$ac_ext <<_LT_EOF
13678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13679 (eval $ac_compile) 2>&5
13681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13682 test $ac_status = 0; }; then
13683 # Parse the compiler output and extract the necessary
13684 # objects, libraries and library flags.
13686 # Sentinel used to keep track of whether or not we are before
13687 # the conftest object file.
13688 pre_test_object_deps_done
=no
13690 for p
in `eval "$output_verbose_link_cmd"`; do
13694 # Some compilers place space between "-{L,R}" and the path.
13695 # Remove the space.
13696 if test $p = "-L" ||
13697 test $p = "-R"; then
13704 if test "$pre_test_object_deps_done" = no
; then
13707 # Internal compiler library paths should come after those
13708 # provided the user. The postdeps already come after the
13709 # user supplied libs so there is no need to process them.
13710 if test -z "$compiler_lib_search_path_FC"; then
13711 compiler_lib_search_path_FC
="${prev}${p}"
13713 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13716 # The "-l" case would never come before the object being
13717 # linked, so don't bother handling this case.
13720 if test -z "$postdeps_FC"; then
13721 postdeps_FC
="${prev}${p}"
13723 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13729 # This assumes that the test object file only shows up
13730 # once in the compiler output.
13731 if test "$p" = "conftest.$objext"; then
13732 pre_test_object_deps_done
=yes
13736 if test "$pre_test_object_deps_done" = no
; then
13737 if test -z "$predep_objects_FC"; then
13738 predep_objects_FC
="$p"
13740 predep_objects_FC
="$predep_objects_FC $p"
13743 if test -z "$postdep_objects_FC"; then
13744 postdep_objects_FC
="$p"
13746 postdep_objects_FC
="$postdep_objects_FC $p"
13751 *) ;; # Ignore the rest.
13759 echo "libtool.m4: error: problem compiling FC test program"
13762 $RM -f confest.
$objext
13764 # PORTME: override above test on systems where it is broken
13767 case " $postdeps_FC " in
13768 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13770 compiler_lib_search_dirs_FC
=
13771 if test -n "${compiler_lib_search_path_FC}"; then
13772 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13805 lt_prog_compiler_wl_FC
=
13806 lt_prog_compiler_pic_FC
=
13807 lt_prog_compiler_static_FC
=
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13810 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13812 if test "$GCC" = yes; then
13813 lt_prog_compiler_wl_FC
='-Wl,'
13814 lt_prog_compiler_static_FC
='-static'
13818 # All AIX code is PIC.
13819 if test "$host_cpu" = ia64
; then
13820 # AIX 5 now supports IA64 processor
13821 lt_prog_compiler_static_FC
='-Bstatic'
13823 lt_prog_compiler_pic_FC
='-fPIC'
13829 # see comment about AmigaOS4 .so support
13830 lt_prog_compiler_pic_FC
='-fPIC'
13833 # FIXME: we need at least 68020 code to build shared libraries, but
13834 # adding the `-m68020' flag to GCC prevents building anything better,
13836 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13841 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13842 # PIC is the default for these OSes.
13845 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13846 # This hack is so that the source file can tell whether it is being
13847 # built for inclusion in a dll (and should export symbols for example).
13848 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13849 # (--disable-auto-import) libraries
13850 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13853 darwin
* | rhapsody
*)
13854 # PIC is the default on this platform
13855 # Common symbols not allowed in MH_DYLIB files
13856 lt_prog_compiler_pic_FC
='-fno-common'
13860 # PIC is the default for Haiku.
13861 # The "-static" flag exists, but is broken.
13862 lt_prog_compiler_static_FC
=
13866 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13867 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13868 # sets the default TLS model and affects inlining.
13874 lt_prog_compiler_pic_FC
='-fPIC'
13880 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13881 # Instead, we relocate shared libraries at runtime.
13885 # Just because we use GCC doesn't mean we suddenly get shared libraries
13886 # on systems that don't support them.
13887 lt_prog_compiler_can_build_shared_FC
=no
13892 # QNX uses GNU C++, but need to define -shared option too, otherwise
13893 # it will coredump.
13894 lt_prog_compiler_pic_FC
='-fPIC -shared'
13898 if test -d /usr
/nec
; then
13899 lt_prog_compiler_pic_FC
=-Kconform_pic
13904 lt_prog_compiler_pic_FC
='-fPIC'
13908 case $cc_basename in
13909 nvcc
*) # Cuda Compiler Driver 2.2
13910 lt_prog_compiler_wl_FC
='-Xlinker '
13911 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13915 # PORTME Check for flag to pass linker flags through the system compiler.
13918 lt_prog_compiler_wl_FC
='-Wl,'
13919 if test "$host_cpu" = ia64
; then
13920 # AIX 5 now supports IA64 processor
13921 lt_prog_compiler_static_FC
='-Bstatic'
13923 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13927 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13928 # This hack is so that the source file can tell whether it is being
13929 # built for inclusion in a dll (and should export symbols for example).
13930 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13933 hpux9
* | hpux10
* | hpux11
*)
13934 lt_prog_compiler_wl_FC
='-Wl,'
13935 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13936 # not for PA HP-UX.
13942 lt_prog_compiler_pic_FC
='+Z'
13945 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13946 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13949 irix5
* | irix6
* | nonstopux
*)
13950 lt_prog_compiler_wl_FC
='-Wl,'
13951 # PIC (with -KPIC) is the default.
13952 lt_prog_compiler_static_FC
='-non_shared'
13955 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13956 case $cc_basename in
13957 # old Intel for x86_64 which still supported -KPIC.
13959 lt_prog_compiler_wl_FC
='-Wl,'
13960 lt_prog_compiler_pic_FC
='-KPIC'
13961 lt_prog_compiler_static_FC
='-static'
13963 # icc used to be incompatible with GCC.
13964 # ICC 10 doesn't accept -KPIC any more.
13966 lt_prog_compiler_wl_FC
='-Wl,'
13967 lt_prog_compiler_pic_FC
='-fPIC'
13968 lt_prog_compiler_static_FC
='-static'
13970 # Lahey Fortran 8.1.
13972 lt_prog_compiler_wl_FC
='-Wl,'
13973 lt_prog_compiler_pic_FC
='--shared'
13974 lt_prog_compiler_static_FC
='--static'
13976 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13977 # Portland Group compilers (*not* the Pentium gcc compiler,
13978 # which looks to be a dead project)
13979 lt_prog_compiler_wl_FC
='-Wl,'
13980 lt_prog_compiler_pic_FC
='-fpic'
13981 lt_prog_compiler_static_FC
='-Bstatic'
13984 lt_prog_compiler_wl_FC
='-Wl,'
13985 # All Alpha code is PIC.
13986 lt_prog_compiler_static_FC
='-non_shared'
13988 xl
* | bgxl
* | bgf
* | mpixl
*)
13989 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13990 lt_prog_compiler_wl_FC
='-Wl,'
13991 lt_prog_compiler_pic_FC
='-qpic'
13992 lt_prog_compiler_static_FC
='-qstaticlink'
13995 case `$CC -V 2>&1 | sed 5q` in
13996 *Sun\ F
* |
*Sun
*Fortran
*)
13997 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13998 lt_prog_compiler_pic_FC
='-KPIC'
13999 lt_prog_compiler_static_FC
='-Bstatic'
14000 lt_prog_compiler_wl_FC
=''
14004 lt_prog_compiler_pic_FC
='-KPIC'
14005 lt_prog_compiler_static_FC
='-Bstatic'
14006 lt_prog_compiler_wl_FC
='-Wl,'
14014 lt_prog_compiler_pic_FC
='-KPIC'
14015 lt_prog_compiler_static_FC
='-Bstatic'
14019 # QNX uses GNU C++, but need to define -shared option too, otherwise
14020 # it will coredump.
14021 lt_prog_compiler_pic_FC
='-fPIC -shared'
14024 osf3
* | osf4
* | osf5
*)
14025 lt_prog_compiler_wl_FC
='-Wl,'
14026 # All OSF/1 code is PIC.
14027 lt_prog_compiler_static_FC
='-non_shared'
14031 lt_prog_compiler_static_FC
='-non_shared'
14035 lt_prog_compiler_pic_FC
='-KPIC'
14036 lt_prog_compiler_static_FC
='-Bstatic'
14037 case $cc_basename in
14038 f77
* | f90
* | f95
*)
14039 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14041 lt_prog_compiler_wl_FC
='-Wl,';;
14046 lt_prog_compiler_wl_FC
='-Qoption ld '
14047 lt_prog_compiler_pic_FC
='-PIC'
14048 lt_prog_compiler_static_FC
='-Bstatic'
14051 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14052 lt_prog_compiler_wl_FC
='-Wl,'
14053 lt_prog_compiler_pic_FC
='-KPIC'
14054 lt_prog_compiler_static_FC
='-Bstatic'
14058 if test -d /usr
/nec
;then
14059 lt_prog_compiler_pic_FC
='-Kconform_pic'
14060 lt_prog_compiler_static_FC
='-Bstatic'
14064 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14065 lt_prog_compiler_wl_FC
='-Wl,'
14066 lt_prog_compiler_pic_FC
='-KPIC'
14067 lt_prog_compiler_static_FC
='-Bstatic'
14071 lt_prog_compiler_wl_FC
='-Wl,'
14072 lt_prog_compiler_can_build_shared_FC
=no
14076 lt_prog_compiler_pic_FC
='-pic'
14077 lt_prog_compiler_static_FC
='-Bstatic'
14081 lt_prog_compiler_can_build_shared_FC
=no
14087 # For platforms which do not support PIC, -DPIC is meaningless:
14089 lt_prog_compiler_pic_FC
=
14092 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14096 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14101 # Check to make sure the PIC flag actually works.
14103 if test -n "$lt_prog_compiler_pic_FC"; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14105 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14106 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14107 $as_echo_n "(cached) " >&6
14109 lt_cv_prog_compiler_pic_works_FC
=no
14110 ac_outfile
=conftest.
$ac_objext
14111 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14112 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14113 # Insert the option either (1) after the last *FLAGS variable, or
14114 # (2) before a word containing "conftest.", or (3) at the end.
14115 # Note that $ac_compile itself does not contain backslashes and begins
14116 # with a dollar sign (not a hyphen), so the echo should work correctly.
14117 # The option is referenced via a variable to avoid confusing sed.
14118 lt_compile
=`echo "$ac_compile" | $SED \
14119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14121 -e 's:$: $lt_compiler_flag:'`
14122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14123 (eval "$lt_compile" 2>conftest.err
)
14125 cat conftest.err
>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 if (exit $ac_status) && test -s "$ac_outfile"; then
14128 # The compiler can only warn and ignore the option if not recognized
14129 # So say no if there are warnings other than the usual output.
14130 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14131 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14132 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14133 lt_cv_prog_compiler_pic_works_FC
=yes
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14140 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14142 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14143 case $lt_prog_compiler_pic_FC in
14145 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14148 lt_prog_compiler_pic_FC
=
14149 lt_prog_compiler_can_build_shared_FC
=no
14157 # Check to make sure the static flag actually works.
14159 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14161 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14162 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14165 lt_cv_prog_compiler_static_works_FC
=no
14166 save_LDFLAGS
="$LDFLAGS"
14167 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14168 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14169 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14170 # The linker can only warn and ignore the option if not recognized
14171 # So say no if there are warnings
14172 if test -s conftest.err
; then
14173 # Append any errors to the config.log.
14174 cat conftest.err
1>&5
14175 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14176 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14177 if diff conftest.exp conftest.er2
>/dev
/null
; then
14178 lt_cv_prog_compiler_static_works_FC
=yes
14181 lt_cv_prog_compiler_static_works_FC
=yes
14185 LDFLAGS
="$save_LDFLAGS"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14189 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14191 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14194 lt_prog_compiler_static_FC
=
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14202 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14203 $as_echo_n "(cached) " >&6
14205 lt_cv_prog_compiler_c_o_FC
=no
14206 $RM -r conftest
2>/dev
/null
14210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14212 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14213 # Insert the option either (1) after the last *FLAGS variable, or
14214 # (2) before a word containing "conftest.", or (3) at the end.
14215 # Note that $ac_compile itself does not contain backslashes and begins
14216 # with a dollar sign (not a hyphen), so the echo should work correctly.
14217 lt_compile
=`echo "$ac_compile" | $SED \
14218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14220 -e 's:$: $lt_compiler_flag:'`
14221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14222 (eval "$lt_compile" 2>out
/conftest.err
)
14224 cat out
/conftest.err
>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14228 # The compiler can only warn and ignore the option if not recognized
14229 # So say no if there are warnings
14230 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14231 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14232 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14233 lt_cv_prog_compiler_c_o_FC
=yes
14238 # SGI C++ compiler will create directory out/ii_files/ for
14239 # template instantiation
14240 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14241 $RM out
/* && rmdir out
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14248 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14253 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14254 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14255 $as_echo_n "(cached) " >&6
14257 lt_cv_prog_compiler_c_o_FC
=no
14258 $RM -r conftest
2>/dev
/null
14262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14264 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14265 # Insert the option either (1) after the last *FLAGS variable, or
14266 # (2) before a word containing "conftest.", or (3) at the end.
14267 # Note that $ac_compile itself does not contain backslashes and begins
14268 # with a dollar sign (not a hyphen), so the echo should work correctly.
14269 lt_compile
=`echo "$ac_compile" | $SED \
14270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14272 -e 's:$: $lt_compiler_flag:'`
14273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14274 (eval "$lt_compile" 2>out
/conftest.err
)
14276 cat out
/conftest.err
>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14280 # The compiler can only warn and ignore the option if not recognized
14281 # So say no if there are warnings
14282 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14283 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14284 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14285 lt_cv_prog_compiler_c_o_FC
=yes
14290 # SGI C++ compiler will create directory out/ii_files/ for
14291 # template instantiation
14292 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14293 $RM out
/* && rmdir out
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14300 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14305 hard_links
="nottested"
14306 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14307 # do not overwrite the value of need_locks provided by the user
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14309 $as_echo_n "checking if we can lock with hard links... " >&6; }
14312 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14314 ln conftest.a conftest.b
2>&5 || hard_links
=no
14315 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14317 $as_echo "$hard_links" >&6; }
14318 if test "$hard_links" = no
; then
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14320 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14333 allow_undefined_flag_FC
=
14334 always_export_symbols_FC
=no
14336 archive_expsym_cmds_FC
=
14337 compiler_needs_object_FC
=no
14338 enable_shared_with_static_runtimes_FC
=no
14339 export_dynamic_flag_spec_FC
=
14340 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14341 hardcode_automatic_FC
=no
14342 hardcode_direct_FC
=no
14343 hardcode_direct_absolute_FC
=no
14344 hardcode_libdir_flag_spec_FC
=
14345 hardcode_libdir_flag_spec_ld_FC
=
14346 hardcode_libdir_separator_FC
=
14347 hardcode_minus_L_FC
=no
14348 hardcode_shlibpath_var_FC
=unsupported
14349 inherit_rpath_FC
=no
14350 link_all_deplibs_FC
=unknown
14352 module_expsym_cmds_FC
=
14353 old_archive_from_new_cmds_FC
=
14354 old_archive_from_expsyms_cmds_FC
=
14355 thread_safe_flag_spec_FC
=
14356 whole_archive_flag_spec_FC
=
14357 # include_expsyms should be a list of space-separated symbols to be *always*
14358 # included in the symbol list
14359 include_expsyms_FC
=
14360 # exclude_expsyms can be an extended regexp of symbols to exclude
14361 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14362 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14363 # as well as any symbol that contains `d'.
14364 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14365 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14366 # platforms (ab)use it in PIC code, but their linkers get confused if
14367 # the symbol is explicitly referenced. Since portable code cannot
14368 # rely on this symbol name, it's probably fine to never include it in
14369 # preloaded symbol tables.
14370 # Exclude shared library initialization/finalization symbols.
14371 extract_expsyms_cmds
=
14374 cygwin
* | mingw
* | pw32
* | cegcc
*)
14375 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14376 # When not using gcc, we currently assume that we are using
14377 # Microsoft Visual C++.
14378 if test "$GCC" != yes; then
14383 # we just hope/assume this is gcc and not c89 (= MSVC++)
14393 # On some targets, GNU ld is compatible enough with the native linker
14394 # that we're better off using the native interface for both.
14395 lt_use_gnu_ld_interface
=no
14396 if test "$with_gnu_ld" = yes; then
14399 # The AIX port of GNU ld has always aspired to compatibility
14400 # with the native linker. However, as the warning in the GNU ld
14401 # block says, versions before 2.19.5* couldn't really create working
14402 # shared libraries, regardless of the interface used.
14403 case `$LD -v 2>&1` in
14404 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14405 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14406 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14408 lt_use_gnu_ld_interface
=yes
14413 lt_use_gnu_ld_interface
=yes
14418 if test "$lt_use_gnu_ld_interface" = yes; then
14419 # If archive_cmds runs LD, not CC, wlarc should be empty
14422 # Set some defaults for GNU ld with shared library support. These
14423 # are reset later if shared libraries are not supported. Putting them
14424 # here allows them to be overridden if necessary.
14425 runpath_var
=LD_RUN_PATH
14426 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14427 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14428 # ancient GNU ld didn't support --whole-archive et. al.
14429 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14430 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14432 whole_archive_flag_spec_FC
=
14434 supports_anon_versioning
=no
14435 case `$LD -v 2>&1` in
14436 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14437 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14438 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14439 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14440 *\
2.11.
*) ;; # other 2.11 versions
14441 *) supports_anon_versioning
=yes ;;
14444 # See if GNU ld supports shared libraries.
14447 # On AIX/PPC, the GNU linker is very broken
14448 if test "$host_cpu" != ia64
; then
14452 *** Warning: the GNU linker, at least up to release 2.19, is reported
14453 *** to be unable to reliably create shared libraries on AIX.
14454 *** Therefore, libtool is disabling shared libraries support. If you
14455 *** really care for shared libraries, you may want to install binutils
14456 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14457 *** You will then need to restart the configuration process.
14466 # see comment about AmigaOS4 .so support
14467 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14468 archive_expsym_cmds_FC
=''
14471 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)'
14472 hardcode_libdir_flag_spec_FC
='-L$libdir'
14473 hardcode_minus_L_FC
=yes
14479 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14480 allow_undefined_flag_FC
=unsupported
14481 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14482 # support --undefined. This deserves some investigation. FIXME
14483 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14489 cygwin
* | mingw
* | pw32
* | cegcc
*)
14490 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14491 # as there is no search path for DLLs.
14492 hardcode_libdir_flag_spec_FC
='-L$libdir'
14493 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14494 allow_undefined_flag_FC
=unsupported
14495 always_export_symbols_FC
=no
14496 enable_shared_with_static_runtimes_FC
=yes
14497 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14499 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14500 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14501 # If the export-symbols file already is a .def file (1st line
14502 # is EXPORTS), use it as is; otherwise, prepend...
14503 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14504 cp $export_symbols $output_objdir/$soname.def;
14506 echo EXPORTS > $output_objdir/$soname.def;
14507 cat $export_symbols >> $output_objdir/$soname.def;
14509 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14516 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14517 link_all_deplibs_FC
=yes
14521 hardcode_direct_FC
=no
14522 hardcode_shlibpath_var_FC
=no
14523 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14524 export_dynamic_flag_spec_FC
='${wl}-E'
14525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14526 # Instead, shared libraries are loaded at an image base (0x10000000 by
14527 # default) and relocated if they conflict, which is a slow very memory
14528 # consuming and fragmenting process. To avoid this, we pick a random,
14529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14531 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'
14532 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'
14535 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14537 if test "$host_os" = linux-dietlibc
; then
14538 case $cc_basename in
14539 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14542 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14543 && test "$tmp_diet" = no
14545 tmp_addflag
=' $pic_flag'
14546 tmp_sharedflag
='-shared'
14547 case $cc_basename,$host_cpu in
14548 pgcc
*) # Portland Group C compiler
14549 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'
14550 tmp_addflag
=' $pic_flag'
14552 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14553 # Portland Group f77 and f90 compilers
14554 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'
14555 tmp_addflag
=' $pic_flag -Mnomain' ;;
14556 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14557 tmp_addflag
=' -i_dynamic' ;;
14558 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14559 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14560 ifc
* | ifort
*) # Intel Fortran compiler
14561 tmp_addflag
=' -nofor_main' ;;
14562 lf95
*) # Lahey Fortran 8.1
14563 whole_archive_flag_spec_FC
=
14564 tmp_sharedflag
='--shared' ;;
14565 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14566 tmp_sharedflag
='-qmkshrobj'
14568 nvcc
*) # Cuda Compiler Driver 2.2
14569 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14570 compiler_needs_object_FC
=yes
14573 case `$CC -V 2>&1 | sed 5q` in
14574 *Sun\ C
*) # Sun C 5.9
14575 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'
14576 compiler_needs_object_FC
=yes
14577 tmp_sharedflag
='-G' ;;
14578 *Sun\ F
*) # Sun Fortran 8.3
14579 tmp_sharedflag
='-G' ;;
14581 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14583 if test "x$supports_anon_versioning" = xyes
; then
14584 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14586 echo "local: *; };" >> $output_objdir/$libname.ver~
14587 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14590 case $cc_basename in
14591 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14592 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14593 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14594 hardcode_libdir_flag_spec_FC
=
14595 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14596 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14597 if test "x$supports_anon_versioning" = xyes
; then
14598 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14599 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14600 echo "local: *; };" >> $output_objdir/$libname.ver~
14601 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14611 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14612 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14615 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14616 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14621 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14625 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14626 *** create shared libraries on Solaris systems. Therefore, libtool
14627 *** is disabling shared libraries support. We urge you to upgrade GNU
14628 *** binutils to release 2.9.1 or newer. Another option is to modify
14629 *** your PATH or compiler configuration so that the native linker is
14630 *** used, and then restart.
14633 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14634 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14635 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14641 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14642 case `$LD -v 2>&1` in
14643 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14647 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14648 *** reliably create shared libraries on SCO systems. Therefore, libtool
14649 *** is disabling shared libraries support. We urge you to upgrade GNU
14650 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14651 *** your PATH or compiler configuration so that the native linker is
14652 *** used, and then restart.
14657 # For security reasons, it is highly recommended that you always
14658 # use absolute paths for naming shared libraries, and exclude the
14659 # DT_RUNPATH tag from executables and libraries. But doing so
14660 # requires that you compile everything twice, which is a pain.
14661 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14662 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14663 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14664 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14673 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14675 hardcode_direct_FC
=yes
14676 hardcode_shlibpath_var_FC
=no
14680 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14681 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14682 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14689 if test "$ld_shlibs_FC" = no
; then
14691 hardcode_libdir_flag_spec_FC
=
14692 export_dynamic_flag_spec_FC
=
14693 whole_archive_flag_spec_FC
=
14696 # PORTME fill in a description of your system's linker (not GNU ld)
14699 allow_undefined_flag_FC
=unsupported
14700 always_export_symbols_FC
=yes
14701 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'
14702 # Note: this linker hardcodes the directories in LIBPATH if there
14703 # are no directories specified by -L.
14704 hardcode_minus_L_FC
=yes
14705 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14706 # Neither direct hardcoding nor static linking is supported with a
14708 hardcode_direct_FC
=unsupported
14713 if test "$host_cpu" = ia64
; then
14714 # On IA64, the linker does run time linking by default, so we don't
14715 # have to do anything special.
14716 aix_use_runtimelinking
=no
14717 exp_sym_flag
='-Bexport'
14720 # If we're using GNU nm, then we don't want the "-C" option.
14721 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14722 # Also, AIX nm treats weak defined symbols like other global
14723 # defined symbols, whereas GNU nm marks them as "W".
14724 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14725 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'
14727 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'
14729 aix_use_runtimelinking
=no
14731 # Test if we are trying to use run time linking or normal
14732 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14733 # need to do runtime linking.
14734 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14735 for ld_flag
in $LDFLAGS; do
14736 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14737 aix_use_runtimelinking
=yes
14744 exp_sym_flag
='-bexport'
14745 no_entry_flag
='-bnoentry'
14748 # When large executables or shared objects are built, AIX ld can
14749 # have problems creating the table of contents. If linking a library
14750 # or program results in "error TOC overflow" add -mminimal-toc to
14751 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14752 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14755 hardcode_direct_FC
=yes
14756 hardcode_direct_absolute_FC
=yes
14757 hardcode_libdir_separator_FC
=':'
14758 link_all_deplibs_FC
=yes
14759 file_list_spec_FC
='${wl}-f,'
14761 if test "$GCC" = yes; then
14762 case $host_os in aix4.
[012]|aix4.
[012].
*)
14763 # We only want to do this on AIX 4.2 and lower, the check
14764 # below for broken collect2 doesn't work under 4.3+
14765 collect2name
=`${CC} -print-prog-name=collect2`
14766 if test -f "$collect2name" &&
14767 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14769 # We have reworked collect2
14772 # We have old collect2
14773 hardcode_direct_FC
=unsupported
14774 # It fails to find uninstalled libraries when the uninstalled
14775 # path is not listed in the libpath. Setting hardcode_minus_L
14776 # to unsupported forces relinking
14777 hardcode_minus_L_FC
=yes
14778 hardcode_libdir_flag_spec_FC
='-L$libdir'
14779 hardcode_libdir_separator_FC
=
14783 shared_flag
='-shared'
14784 if test "$aix_use_runtimelinking" = yes; then
14785 shared_flag
="$shared_flag "'${wl}-G'
14789 if test "$host_cpu" = ia64
; then
14790 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14791 # chokes on -Wl,-G. The following line is correct:
14794 if test "$aix_use_runtimelinking" = yes; then
14795 shared_flag
='${wl}-G'
14797 shared_flag
='${wl}-bM:SRE'
14802 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14803 # It seems that -bexpall does not export symbols beginning with
14804 # underscore (_), so it is better to generate a list of symbols to export.
14805 always_export_symbols_FC
=yes
14806 if test "$aix_use_runtimelinking" = yes; then
14807 # Warning - without using the other runtime loading flags (-brtl),
14808 # -berok will link without error, but may produce a broken library.
14809 allow_undefined_flag_FC
='-berok'
14810 # Determine the default libpath from the value encoded in an
14811 # empty executable.
14812 if test x
$gcc_no_link = xyes
; then
14813 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14815 cat > conftest.
$ac_ext <<_ACEOF
14820 if ac_fn_fc_try_link
"$LINENO"; then :
14822 lt_aix_libpath_sed
='
14823 /Import File Strings/,/^$/ {
14829 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14830 # Check for a 64-bit object if we didn't find anything.
14831 if test -z "$aix_libpath"; then
14832 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14835 rm -f core conftest.err conftest.
$ac_objext \
14836 conftest
$ac_exeext conftest.
$ac_ext
14837 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14839 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14840 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"
14842 if test "$host_cpu" = ia64
; then
14843 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14844 allow_undefined_flag_FC
="-z nodefs"
14845 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"
14847 # Determine the default libpath from the value encoded in an
14848 # empty executable.
14849 if test x
$gcc_no_link = xyes
; then
14850 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14852 cat > conftest.
$ac_ext <<_ACEOF
14857 if ac_fn_fc_try_link
"$LINENO"; then :
14859 lt_aix_libpath_sed
='
14860 /Import File Strings/,/^$/ {
14866 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14867 # Check for a 64-bit object if we didn't find anything.
14868 if test -z "$aix_libpath"; then
14869 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14872 rm -f core conftest.err conftest.
$ac_objext \
14873 conftest
$ac_exeext conftest.
$ac_ext
14874 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14876 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14877 # Warning - without using the other run time loading flags,
14878 # -berok will link without error, but may produce a broken library.
14879 no_undefined_flag_FC
=' ${wl}-bernotok'
14880 allow_undefined_flag_FC
=' ${wl}-berok'
14881 if test "$with_gnu_ld" = yes; then
14882 # We only use this code for GNU lds that support --whole-archive.
14883 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14885 # Exported symbols can be pulled into shared objects from archives
14886 whole_archive_flag_spec_FC
='$convenience'
14888 archive_cmds_need_lc_FC
=yes
14889 # This is similar to how AIX traditionally builds its shared libraries.
14890 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'
14898 # see comment about AmigaOS4 .so support
14899 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14900 archive_expsym_cmds_FC
=''
14903 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)'
14904 hardcode_libdir_flag_spec_FC
='-L$libdir'
14905 hardcode_minus_L_FC
=yes
14911 export_dynamic_flag_spec_FC
=-rdynamic
14914 cygwin
* | mingw
* | pw32
* | cegcc
*)
14915 # When not using gcc, we currently assume that we are using
14916 # Microsoft Visual C++.
14917 # hardcode_libdir_flag_spec is actually meaningless, as there is
14918 # no search path for DLLs.
14919 hardcode_libdir_flag_spec_FC
=' '
14920 allow_undefined_flag_FC
=unsupported
14921 # Tell ltmain to make .lib files, not .a files.
14923 # Tell ltmain to make .dll files, not .so files.
14925 # FIXME: Setting linknames here is a bad hack.
14926 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14927 # The linker will automatically build a .lib file if we build a DLL.
14928 old_archive_from_new_cmds_FC
='true'
14929 # FIXME: Should let the user specify the lib program.
14930 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14931 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14932 enable_shared_with_static_runtimes_FC
=yes
14935 darwin
* | rhapsody
*)
14938 archive_cmds_need_lc_FC
=no
14939 hardcode_direct_FC
=no
14940 hardcode_automatic_FC
=yes
14941 hardcode_shlibpath_var_FC
=unsupported
14942 if test "$lt_cv_ld_force_load" = "yes"; then
14943 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\"`'
14945 whole_archive_flag_spec_FC
=''
14947 link_all_deplibs_FC
=yes
14948 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14949 case $cc_basename in
14950 ifort
*) _lt_dar_can_shared
=yes ;;
14951 *) _lt_dar_can_shared
=$GCC ;;
14953 if test "$_lt_dar_can_shared" = "yes"; then
14954 output_verbose_link_cmd
=func_echo_all
14955 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}"
14956 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14957 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}"
14958 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}"
14967 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14968 hardcode_libdir_flag_spec_FC
='-L$libdir'
14969 hardcode_shlibpath_var_FC
=no
14972 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14973 # support. Future versions do this automatically, but an explicit c++rt0.o
14974 # does not break anything, and helps significantly (at the cost of a little
14977 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14978 hardcode_libdir_flag_spec_FC
='-R$libdir'
14979 hardcode_direct_FC
=yes
14980 hardcode_shlibpath_var_FC
=no
14983 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14985 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14986 hardcode_direct_FC
=yes
14987 hardcode_minus_L_FC
=yes
14988 hardcode_shlibpath_var_FC
=no
14991 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14992 freebsd
* | dragonfly
*)
14993 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14994 hardcode_libdir_flag_spec_FC
='-R$libdir'
14995 hardcode_direct_FC
=yes
14996 hardcode_shlibpath_var_FC
=no
15000 if test "$GCC" = yes; then
15001 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'
15003 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'
15005 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15006 hardcode_libdir_separator_FC
=:
15007 hardcode_direct_FC
=yes
15009 # hardcode_minus_L: Not really in the search PATH,
15010 # but as the default location of the library.
15011 hardcode_minus_L_FC
=yes
15012 export_dynamic_flag_spec_FC
='${wl}-E'
15016 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15017 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15019 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15021 if test "$with_gnu_ld" = no
; then
15022 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15023 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15024 hardcode_libdir_separator_FC
=:
15025 hardcode_direct_FC
=yes
15026 hardcode_direct_absolute_FC
=yes
15027 export_dynamic_flag_spec_FC
='${wl}-E'
15028 # hardcode_minus_L: Not really in the search PATH,
15029 # but as the default location of the library.
15030 hardcode_minus_L_FC
=yes
15035 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15038 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15041 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15044 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15050 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15053 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15056 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15060 if test "$with_gnu_ld" = no
; then
15061 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15062 hardcode_libdir_separator_FC
=:
15066 hardcode_direct_FC
=no
15067 hardcode_shlibpath_var_FC
=no
15070 hardcode_direct_FC
=yes
15071 hardcode_direct_absolute_FC
=yes
15072 export_dynamic_flag_spec_FC
='${wl}-E'
15074 # hardcode_minus_L: Not really in the search PATH,
15075 # but as the default location of the library.
15076 hardcode_minus_L_FC
=yes
15082 irix5
* | irix6
* | nonstopux
*)
15083 if test "$GCC" = yes; then
15084 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'
15085 # Try to use the -exported_symbol ld option, if it does not
15086 # work, assume that -exports_file does not work either and
15087 # implicitly export all symbols.
15088 save_LDFLAGS
="$LDFLAGS"
15089 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15090 if test x
$gcc_no_link = xyes
; then
15091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15093 cat > conftest.
$ac_ext <<_ACEOF
15096 if ac_fn_fc_try_link
"$LINENO"; then :
15097 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'
15100 rm -f core conftest.err conftest.
$ac_objext \
15101 conftest
$ac_exeext conftest.
$ac_ext
15102 LDFLAGS
="$save_LDFLAGS"
15104 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'
15105 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'
15107 archive_cmds_need_lc_FC
='no'
15108 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15109 hardcode_libdir_separator_FC
=:
15110 inherit_rpath_FC
=yes
15111 link_all_deplibs_FC
=yes
15115 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15116 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15118 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15120 hardcode_libdir_flag_spec_FC
='-R$libdir'
15121 hardcode_direct_FC
=yes
15122 hardcode_shlibpath_var_FC
=no
15126 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_direct_FC
=yes
15128 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15129 hardcode_libdir_separator_FC
=:
15130 hardcode_shlibpath_var_FC
=no
15137 if test -f /usr
/libexec
/ld.so
; then
15138 hardcode_direct_FC
=yes
15139 hardcode_shlibpath_var_FC
=no
15140 hardcode_direct_absolute_FC
=yes
15141 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15142 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15143 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15144 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15145 export_dynamic_flag_spec_FC
='${wl}-E'
15148 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15149 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15150 hardcode_libdir_flag_spec_FC
='-R$libdir'
15153 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15154 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15164 hardcode_libdir_flag_spec_FC
='-L$libdir'
15165 hardcode_minus_L_FC
=yes
15166 allow_undefined_flag_FC
=unsupported
15167 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'
15168 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15172 if test "$GCC" = yes; then
15173 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15174 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'
15176 allow_undefined_flag_FC
=' -expect_unresolved \*'
15177 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'
15179 archive_cmds_need_lc_FC
='no'
15180 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15181 hardcode_libdir_separator_FC
=:
15184 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15185 if test "$GCC" = yes; then
15186 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15187 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'
15188 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15190 allow_undefined_flag_FC
=' -expect_unresolved \*'
15191 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'
15192 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~
15193 $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'
15195 # Both c and cxx compiler support -rpath directly
15196 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15198 archive_cmds_need_lc_FC
='no'
15199 hardcode_libdir_separator_FC
=:
15203 no_undefined_flag_FC
=' -z defs'
15204 if test "$GCC" = yes; then
15206 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15207 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15208 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15210 case `$CC -V 2>&1` in
15213 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15214 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15215 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15219 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15220 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15221 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15225 hardcode_libdir_flag_spec_FC
='-R$libdir'
15226 hardcode_shlibpath_var_FC
=no
15228 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15230 # The compiler driver will combine and reorder linker options,
15231 # but understands `-z linker_flag'. GCC discards it without `$wl',
15232 # but is careful enough not to reorder.
15233 # Supported since Solaris 2.6 (maybe 2.5.1?)
15234 if test "$GCC" = yes; then
15235 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15237 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15241 link_all_deplibs_FC
=yes
15245 if test "x$host_vendor" = xsequent
; then
15246 # Use $CC to link under sequent, because it throws in some extra .o
15247 # files that make .init and .fini sections work.
15248 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15250 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15252 hardcode_libdir_flag_spec_FC
='-L$libdir'
15253 hardcode_direct_FC
=yes
15254 hardcode_minus_L_FC
=yes
15255 hardcode_shlibpath_var_FC
=no
15259 case $host_vendor in
15261 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15262 hardcode_direct_FC
=yes # is this really true???
15265 ## LD is ld it makes a PLAMLIB
15266 ## CC just makes a GrossModule.
15267 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15268 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15269 hardcode_direct_FC
=no
15272 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15273 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15276 runpath_var
='LD_RUN_PATH'
15277 hardcode_shlibpath_var_FC
=no
15281 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15282 hardcode_shlibpath_var_FC
=no
15283 export_dynamic_flag_spec_FC
='-Bexport'
15287 if test -d /usr
/nec
; then
15288 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15289 hardcode_shlibpath_var_FC
=no
15290 runpath_var
=LD_RUN_PATH
15291 hardcode_runpath_var
=yes
15296 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15297 no_undefined_flag_FC
='${wl}-z,text'
15298 archive_cmds_need_lc_FC
=no
15299 hardcode_shlibpath_var_FC
=no
15300 runpath_var
='LD_RUN_PATH'
15302 if test "$GCC" = yes; then
15303 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15304 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15306 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15307 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15311 sysv5
* | sco3.2v5
* | sco5v6
*)
15312 # Note: We can NOT use -z defs as we might desire, because we do not
15313 # link with -lc, and that would cause any symbols used from libc to
15314 # always be unresolved, which means just about no library would
15315 # ever link correctly. If we're not using GNU ld we use -z text
15316 # though, which does catch some bad symbols but isn't as heavy-handed
15318 no_undefined_flag_FC
='${wl}-z,text'
15319 allow_undefined_flag_FC
='${wl}-z,nodefs'
15320 archive_cmds_need_lc_FC
=no
15321 hardcode_shlibpath_var_FC
=no
15322 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15323 hardcode_libdir_separator_FC
=':'
15324 link_all_deplibs_FC
=yes
15325 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15326 runpath_var
='LD_RUN_PATH'
15328 if test "$GCC" = yes; then
15329 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15330 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15332 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15333 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15338 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15339 hardcode_libdir_flag_spec_FC
='-L$libdir'
15340 hardcode_shlibpath_var_FC
=no
15348 if test x
$host_vendor = xsni
; then
15350 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15351 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15358 $as_echo "$ld_shlibs_FC" >&6; }
15359 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15361 with_gnu_ld_FC
=$with_gnu_ld
15369 # Do we need to explicitly link libc?
15371 case "x$archive_cmds_need_lc_FC" in
15373 # Assume -lc should be added
15374 archive_cmds_need_lc_FC
=yes
15376 if test "$enable_shared" = yes && test "$GCC" = yes; then
15377 case $archive_cmds_FC in
15379 # FIXME: we may have to deal with multi-command sequences.
15382 # Test whether the compiler implicitly links with -lc since on some
15383 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15384 # to ld, don't add -lc before -lgcc.
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15386 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15387 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15388 $as_echo_n "(cached) " >&6
15391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15394 (eval $ac_compile) 2>&5
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; } 2>conftest.err
; then
15400 libobjs
=conftest.
$ac_objext
15402 wl
=$lt_prog_compiler_wl_FC
15403 pic_flag
=$lt_prog_compiler_pic_FC
15409 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15410 allow_undefined_flag_FC
=
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15412 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }
15417 lt_cv_archive_cmds_need_lc_FC
=no
15419 lt_cv_archive_cmds_need_lc_FC
=yes
15421 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15423 cat conftest.err
1>&5
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15429 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15430 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15501 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15503 library_names_spec
=
15504 libname_spec
='lib$name'
15508 postuninstall_cmds
=
15512 shlibpath_overrides_runpath
=unknown
15514 dynamic_linker
="$host_os ld.so"
15515 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15516 need_lib_prefix
=unknown
15517 hardcode_into_libs
=no
15519 # when you set need_version to no, make sure it does not cause -set_version
15520 # flags to be left without arguments
15521 need_version
=unknown
15526 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15527 shlibpath_var
=LIBPATH
15529 # AIX 3 has no versioning support, so we append a major version to the name.
15530 soname_spec
='${libname}${release}${shared_ext}$major'
15537 hardcode_into_libs
=yes
15538 if test "$host_cpu" = ia64
; then
15539 # AIX 5 supports IA64
15540 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15541 shlibpath_var
=LD_LIBRARY_PATH
15543 # With GCC up to 2.95.x, collect2 would create an import file
15544 # for dependence libraries. The import file would start with
15545 # the line `#! .'. This would cause the generated library to
15546 # depend on `.', always an invalid library. This was fixed in
15547 # development snapshots of GCC prior to 3.0.
15549 aix4 | aix4.
[01] | aix4.
[01].
*)
15550 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15552 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15555 can_build_shared
=no
15559 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15560 # soname into executable. Probably we can add versioning support to
15561 # collect2, so additional links can be useful in future.
15562 if test "$aix_use_runtimelinking" = yes; then
15563 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15564 # instead of lib<name>.a to let people know that these are not
15565 # typical AIX shared libraries.
15566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15568 # We preserve .a as extension for shared libraries through AIX4.2
15569 # and later when we are not doing run time linking.
15570 library_names_spec
='${libname}${release}.a $libname.a'
15571 soname_spec
='${libname}${release}${shared_ext}$major'
15573 shlibpath_var
=LIBPATH
15580 # Since July 2007 AmigaOS4 officially supports .so libraries.
15581 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 library_names_spec
='$libname.ixlibrary $libname.a'
15586 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15587 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'
15593 library_names_spec
='${libname}${shared_ext}'
15594 dynamic_linker
="$host_os ld.so"
15595 shlibpath_var
=LIBRARY_PATH
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15602 soname_spec
='${libname}${release}${shared_ext}$major'
15603 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15606 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15607 # the default ld.so.conf also contains /usr/contrib/lib and
15608 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15609 # libtool to hard-code these into programs
15612 cygwin
* | mingw
* | pw32
* | cegcc
*)
15613 version_type
=windows
15618 case $GCC,$host_os in
15619 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15620 library_names_spec
='$libname.dll.a'
15621 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15622 postinstall_cmds
='base_file=`basename \${file}`~
15623 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15624 dldir=$destdir/`dirname \$dlpath`~
15625 test -d \$dldir || mkdir -p \$dldir~
15626 $install_prog $dir/$dlname \$dldir/$dlname~
15627 chmod a+x \$dldir/$dlname~
15628 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15629 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15631 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15632 dlpath=$dir/\$dldll~
15634 shlibpath_overrides_runpath
=yes
15638 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15639 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15643 # MinGW DLLs use traditional 'lib' prefix
15644 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15647 # pw32 DLLs use 'pw' prefix rather than 'lib'
15648 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15654 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15657 dynamic_linker
='Win32 ld.exe'
15658 # FIXME: first we should search . and the directory the executable is in
15662 darwin
* | rhapsody
*)
15663 dynamic_linker
="$host_os dyld"
15664 version_type
=darwin
15667 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15668 soname_spec
='${libname}${release}${major}$shared_ext'
15669 shlibpath_overrides_runpath
=yes
15670 shlibpath_var
=DYLD_LIBRARY_PATH
15671 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15673 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15681 soname_spec
='${libname}${release}${shared_ext}$major'
15682 shlibpath_var
=LD_LIBRARY_PATH
15685 freebsd
* | dragonfly
*)
15686 # DragonFly does not have aout. When/if they implement a new
15687 # versioning mechanism, adjust this.
15688 if test -x /usr
/bin
/objformat
; then
15689 objformat
=`/usr/bin/objformat`
15692 freebsd
[23].
*) objformat
=aout
;;
15693 *) objformat
=elf
;;
15696 version_type
=freebsd-
$objformat
15697 case $version_type in
15699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15708 shlibpath_var
=LD_LIBRARY_PATH
15711 shlibpath_overrides_runpath
=yes
15713 freebsd3.
[01]* | freebsdelf3.
[01]*)
15714 shlibpath_overrides_runpath
=yes
15715 hardcode_into_libs
=yes
15717 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15718 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15719 shlibpath_overrides_runpath
=no
15720 hardcode_into_libs
=yes
15722 *) # from 4.6 on, and DragonFly
15723 shlibpath_overrides_runpath
=yes
15724 hardcode_into_libs
=yes
15733 dynamic_linker
="$host_os runtime_loader"
15734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15735 soname_spec
='${libname}${release}${shared_ext}$major'
15736 shlibpath_var
=LIBRARY_PATH
15737 shlibpath_overrides_runpath
=yes
15738 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15739 hardcode_into_libs
=yes
15742 hpux9
* | hpux10
* | hpux11
*)
15743 # Give a soname corresponding to the major version so that dld.sl refuses to
15744 # link against other versions.
15751 hardcode_into_libs
=yes
15752 dynamic_linker
="$host_os dld.so"
15753 shlibpath_var
=LD_LIBRARY_PATH
15754 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 soname_spec
='${libname}${release}${shared_ext}$major'
15757 if test "X$HPUX_IA64_MODE" = X32
; then
15758 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15760 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15762 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15766 hardcode_into_libs
=yes
15767 dynamic_linker
="$host_os dld.sl"
15768 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15769 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec
='${libname}${release}${shared_ext}$major'
15772 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15773 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15777 dynamic_linker
="$host_os dld.sl"
15778 shlibpath_var
=SHLIB_PATH
15779 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15781 soname_spec
='${libname}${release}${shared_ext}$major'
15784 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15785 postinstall_cmds
='chmod 555 $lib'
15786 # or fails outright, so override atomically:
15787 install_override_mode
=555
15794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15795 soname_spec
='${libname}${release}${shared_ext}$major'
15796 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15797 shlibpath_var
=LD_LIBRARY_PATH
15798 shlibpath_overrides_runpath
=no
15799 hardcode_into_libs
=yes
15802 irix5
* | irix6
* | nonstopux
*)
15804 nonstopux
*) version_type
=nonstopux
;;
15806 if test "$lt_cv_prog_gnu_ld" = yes; then
15814 soname_spec
='${libname}${release}${shared_ext}$major'
15815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15817 irix5
* | nonstopux
*)
15818 libsuff
= shlibsuff
=
15821 case $LD in # libtool.m4 will add one of these switches to LD
15822 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15823 libsuff
= shlibsuff
= libmagic
=32-bit;;
15824 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15825 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15826 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15827 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15828 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15832 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15833 shlibpath_overrides_runpath
=no
15834 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15835 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15836 hardcode_into_libs
=yes
15839 # No shared lib support for Linux oldld, aout, or coff.
15840 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15844 # This must be Linux ELF.
15846 # uclinux* changes (here and below) have been submitted to the libtool
15847 # project, but have not yet been accepted: they are GCC-local changes
15848 # for the time being. (See
15849 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15850 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 soname_spec
='${libname}${release}${shared_ext}$major'
15856 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15857 shlibpath_var
=LD_LIBRARY_PATH
15858 shlibpath_overrides_runpath
=no
15860 # Some binutils ld are patched to set DT_RUNPATH
15861 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15862 $as_echo_n "(cached) " >&6
15864 lt_cv_shlibpath_overrides_runpath
=no
15865 save_LDFLAGS
=$LDFLAGS
15866 save_libdir
=$libdir
15867 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15868 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15869 if test x
$gcc_no_link = xyes
; then
15870 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15872 cat > conftest.
$ac_ext <<_ACEOF
15877 if ac_fn_fc_try_link
"$LINENO"; then :
15878 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15879 lt_cv_shlibpath_overrides_runpath
=yes
15882 rm -f core conftest.err conftest.
$ac_objext \
15883 conftest
$ac_exeext conftest.
$ac_ext
15884 LDFLAGS
=$save_LDFLAGS
15885 libdir
=$save_libdir
15889 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15891 # This implies no fast_install, which is unacceptable.
15892 # Some rework will be needed to allow for fast_install
15893 # before this can be enabled.
15894 hardcode_into_libs
=yes
15896 # Append ld.so.conf contents to the search path
15897 if test -f /etc
/ld.so.conf
; then
15898 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' ' '`
15899 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15902 # We used to test for /lib/ld.so.1 and disable shared libraries on
15903 # powerpc, because MkLinux only supported shared libraries with the
15904 # GNU dynamic linker. Since this was broken with cross compilers,
15905 # most powerpc-linux boxes support dynamic linking these days and
15906 # people can always --disable-shared, the test was removed, and we
15907 # assume the GNU/Linux dynamic linker is in use.
15908 dynamic_linker
='GNU/Linux ld.so'
15915 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15917 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15918 dynamic_linker
='NetBSD (a.out) ld.so'
15920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15921 soname_spec
='${libname}${release}${shared_ext}$major'
15922 dynamic_linker
='NetBSD ld.elf_so'
15924 shlibpath_var
=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath
=yes
15926 hardcode_into_libs
=yes
15931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15932 shlibpath_var
=LD_LIBRARY_PATH
15933 shlibpath_overrides_runpath
=yes
15940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15941 soname_spec
='${libname}${release}${shared_ext}$major'
15942 shlibpath_var
=LD_LIBRARY_PATH
15943 shlibpath_overrides_runpath
=no
15944 hardcode_into_libs
=yes
15945 dynamic_linker
='ldqnx.so'
15950 sys_lib_dlsearch_path_spec
="/usr/lib"
15952 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15954 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15955 *) need_version
=no
;;
15957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15958 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15959 shlibpath_var
=LD_LIBRARY_PATH
15960 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15962 openbsd2.
[89] | openbsd2.
[89].
*)
15963 shlibpath_overrides_runpath
=no
15966 shlibpath_overrides_runpath
=yes
15970 shlibpath_overrides_runpath
=yes
15975 libname_spec
='$name'
15978 library_names_spec
='$libname${shared_ext} $libname.a'
15979 dynamic_linker
='OS/2 ld.exe'
15980 shlibpath_var
=LIBPATH
15983 osf3
* | osf4
* | osf5
*)
15987 soname_spec
='${libname}${release}${shared_ext}$major'
15988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15989 shlibpath_var
=LD_LIBRARY_PATH
15990 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15991 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16003 soname_spec
='${libname}${release}${shared_ext}$major'
16004 shlibpath_var
=LD_LIBRARY_PATH
16005 shlibpath_overrides_runpath
=yes
16006 hardcode_into_libs
=yes
16007 # ldd complains unless libraries are executable
16008 postinstall_cmds
='chmod +x $lib'
16013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16014 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16015 shlibpath_var
=LD_LIBRARY_PATH
16016 shlibpath_overrides_runpath
=yes
16017 if test "$with_gnu_ld" = yes; then
16025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16026 soname_spec
='${libname}${release}${shared_ext}$major'
16027 shlibpath_var
=LD_LIBRARY_PATH
16028 case $host_vendor in
16030 shlibpath_overrides_runpath
=no
16032 runpath_var
=LD_RUN_PATH
16040 shlibpath_overrides_runpath
=no
16041 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16047 if test -d /usr
/nec
;then
16049 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16050 soname_spec
='$libname${shared_ext}.$major'
16051 shlibpath_var
=LD_LIBRARY_PATH
16055 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16056 version_type
=freebsd-elf
16059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16060 soname_spec
='${libname}${release}${shared_ext}$major'
16061 shlibpath_var
=LD_LIBRARY_PATH
16062 shlibpath_overrides_runpath
=yes
16063 hardcode_into_libs
=yes
16064 if test "$with_gnu_ld" = yes; then
16065 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16067 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16070 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16074 sys_lib_dlsearch_path_spec
='/usr/lib'
16078 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16083 shlibpath_var
=LD_LIBRARY_PATH
16084 shlibpath_overrides_runpath
=no
16085 hardcode_into_libs
=yes
16090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16091 soname_spec
='${libname}${release}${shared_ext}$major'
16092 shlibpath_var
=LD_LIBRARY_PATH
16095 # Shared libraries for VwWorks, >= 7 only at this stage
16096 # and (fpic) still incompatible with "large" code models
16097 # in a few configurations. Only for RTP mode in any case,
16098 # and upon explicit request at configure time.
16101 case ${with_multisubdir}-${enable_shared} in
16108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16109 soname_spec
='${libname}${release}${shared_ext}$major'
16110 dynamic_linker
="$host_os module_loader"
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16119 $as_echo "$dynamic_linker" >&6; }
16120 test "$dynamic_linker" = no
&& can_build_shared
=no
16122 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16123 if test "$GCC" = yes; then
16124 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16127 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16128 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16130 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16131 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16173 hardcode_action_FC
=
16174 if test -n "$hardcode_libdir_flag_spec_FC" ||
16175 test -n "$runpath_var_FC" ||
16176 test "X$hardcode_automatic_FC" = "Xyes" ; then
16178 # We can hardcode non-existent directories.
16179 if test "$hardcode_direct_FC" != no
&&
16180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16181 # have to relink, otherwise we might link with an installed library
16182 # when we should be linking with a yet-to-be-installed one
16183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16184 test "$hardcode_minus_L_FC" != no
; then
16185 # Linking always hardcodes the temporary library directory.
16186 hardcode_action_FC
=relink
16188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16189 hardcode_action_FC
=immediate
16192 # We cannot hardcode anything, or else we can only hardcode existing
16194 hardcode_action_FC
=unsupported
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16197 $as_echo "$hardcode_action_FC" >&6; }
16199 if test "$hardcode_action_FC" = relink ||
16200 test "$inherit_rpath_FC" = yes; then
16201 # Fast installation is not supported
16202 enable_fast_install
=no
16203 elif test "$shlibpath_overrides_runpath" = yes ||
16204 test "$enable_shared" = no
; then
16205 # Fast installation is not necessary
16206 enable_fast_install
=needless
16215 fi # test -n "$compiler"
16219 fi # test "$_lt_disable_FC" != yes
16222 ac_cpp
='$CPP $CPPFLAGS'
16223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16229 # extra LD Flags which are required for targets
16232 # Darwin needs -single_module when linking libgfortran
16233 extra_ldflags_libgfortran
=-Wl,-single_module
16238 # We need a working compiler at that point, otherwise give a clear
16239 # error message and bail out.
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16242 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16243 ac_ext
=${ac_fc_srcext-f}
16244 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16245 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16246 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16248 cat > conftest.
$ac_ext <<_ACEOF
16251 real, parameter :: bar = sin (12.34 / 2.5)
16254 if ac_fn_fc_try_compile
"$LINENO"; then :
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16256 $as_echo "yes" >&6; }
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16259 $as_echo "no" >&6; }
16260 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16265 ac_cpp
='$CPP $CPPFLAGS'
16266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16272 # Check whether --enable-largefile was given.
16273 if test "${enable_largefile+set}" = set; then :
16274 enableval
=$enable_largefile;
16277 if test "$enable_largefile" != no
; then
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16280 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16281 if ${ac_cv_sys_largefile_CC+:} false
; then :
16282 $as_echo_n "(cached) " >&6
16284 ac_cv_sys_largefile_CC
=no
16285 if test "$GCC" != yes; then
16288 # IRIX 6.2 and later do not support large files by default,
16289 # so use the C compiler's -n32 option if that helps.
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #include <sys/types.h>
16293 /* Check that off_t can represent 2**63 - 1 correctly.
16294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16295 since some C++ compilers masquerading as C compilers
16296 incorrectly reject 9223372036854775807. */
16297 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16299 && LARGE_OFF_T % 2147483647 == 1)
16309 if ac_fn_c_try_compile
"$LINENO"; then :
16312 rm -f core conftest.err conftest.
$ac_objext
16314 if ac_fn_c_try_compile
"$LINENO"; then :
16315 ac_cv_sys_largefile_CC
=' -n32'; break
16317 rm -f core conftest.err conftest.
$ac_objext
16321 rm -f conftest.
$ac_ext
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16325 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16326 if test "$ac_cv_sys_largefile_CC" != no
; then
16327 CC
=$CC$ac_cv_sys_largefile_CC
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16331 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16332 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16333 $as_echo_n "(cached) " >&6
16336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #include <sys/types.h>
16339 /* Check that off_t can represent 2**63 - 1 correctly.
16340 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16341 since some C++ compilers masquerading as C compilers
16342 incorrectly reject 9223372036854775807. */
16343 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16344 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16345 && LARGE_OFF_T % 2147483647 == 1)
16355 if ac_fn_c_try_compile
"$LINENO"; then :
16356 ac_cv_sys_file_offset_bits
=no
; break
16358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 #define _FILE_OFFSET_BITS 64
16362 #include <sys/types.h>
16363 /* Check that off_t can represent 2**63 - 1 correctly.
16364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16365 since some C++ compilers masquerading as C compilers
16366 incorrectly reject 9223372036854775807. */
16367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16369 && LARGE_OFF_T % 2147483647 == 1)
16379 if ac_fn_c_try_compile
"$LINENO"; then :
16380 ac_cv_sys_file_offset_bits
=64; break
16382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16383 ac_cv_sys_file_offset_bits
=unknown
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16388 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16389 case $ac_cv_sys_file_offset_bits in #(
16392 cat >>confdefs.h
<<_ACEOF
16393 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16398 if test $ac_cv_sys_file_offset_bits = unknown
; then
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16400 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16401 if ${ac_cv_sys_large_files+:} false
; then :
16402 $as_echo_n "(cached) " >&6
16405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #include <sys/types.h>
16408 /* Check that off_t can represent 2**63 - 1 correctly.
16409 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16410 since some C++ compilers masquerading as C compilers
16411 incorrectly reject 9223372036854775807. */
16412 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16413 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16414 && LARGE_OFF_T % 2147483647 == 1)
16424 if ac_fn_c_try_compile
"$LINENO"; then :
16425 ac_cv_sys_large_files
=no
; break
16427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #define _LARGE_FILES 1
16431 #include <sys/types.h>
16432 /* Check that off_t can represent 2**63 - 1 correctly.
16433 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16434 since some C++ compilers masquerading as C compilers
16435 incorrectly reject 9223372036854775807. */
16436 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16437 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16438 && LARGE_OFF_T % 2147483647 == 1)
16448 if ac_fn_c_try_compile
"$LINENO"; then :
16449 ac_cv_sys_large_files
=1; break
16451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16452 ac_cv_sys_large_files
=unknown
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16457 $as_echo "$ac_cv_sys_large_files" >&6; }
16458 case $ac_cv_sys_large_files in #(
16461 cat >>confdefs.h
<<_ACEOF
16462 #define _LARGE_FILES $ac_cv_sys_large_files
16474 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16475 if test "x$ac_cv_type_off_t" = xyes
; then :
16479 cat >>confdefs.h
<<_ACEOF
16480 #define off_t long int
16486 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16487 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16489 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16492 for ac_type
in 'int' 'long int' 'long long int'; do
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 $ac_includes_default
16499 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16500 test_array [0] = 0;
16501 return test_array [0];
16507 if ac_fn_c_try_compile
"$LINENO"; then :
16509 cat >>confdefs.h
<<_ACEOF
16510 #define intptr_t $ac_type
16515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16516 test -z "$ac_type" && break
16522 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16523 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16525 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16528 for ac_type
in 'unsigned int' 'unsigned long int' \
16529 'unsigned long long int'; do
16530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 $ac_includes_default
16536 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16537 test_array [0] = 0;
16538 return test_array [0];
16544 if ac_fn_c_try_compile
"$LINENO"; then :
16546 cat >>confdefs.h
<<_ACEOF
16547 #define uintptr_t $ac_type
16552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16553 test -z "$ac_type" && break
16558 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16559 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16561 cat >>confdefs.h
<<_ACEOF
16562 #define HAVE_PTRDIFF_T 1
16569 # check header files (we assume C89 is available, so don't check for that)
16573 for ac_header
in $ac_header_list
16575 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16576 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16578 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16579 cat >>confdefs.h
<<_ACEOF
16580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16625 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16627 acx_cv_header_stdint
=stddef.h
16628 acx_cv_header_stdint_kind
="(already complete)"
16629 for i
in stdint.h
$inttype_headers; do
16630 unset ac_cv_type_uintptr_t
16631 unset ac_cv_type_uintmax_t
16632 unset ac_cv_type_int_least32_t
16633 unset ac_cv_type_int_fast32_t
16634 unset ac_cv_type_uint64_t
16635 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16636 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16639 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16640 acx_cv_header_stdint
=$i
16645 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16648 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16651 acx_cv_header_stdint_kind
="(mostly complete)"
16654 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16657 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16660 acx_cv_header_stdint_kind
="(mostly complete)"
16663 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16666 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16669 acx_cv_header_stdint_kind
="(mostly complete)"
16672 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16675 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16678 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16683 if test "$acx_cv_header_stdint" = stddef.h
; then
16684 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16685 for i
in stdint.h
$inttype_headers; do
16686 unset ac_cv_type_uintptr_t
16687 unset ac_cv_type_uint32_t
16688 unset ac_cv_type_uint64_t
16689 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16690 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16693 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16694 acx_cv_header_stdint
=$i
16699 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16702 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16706 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16709 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16716 if test "$acx_cv_header_stdint" = stddef.h
; then
16717 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16718 for i
in sys
/types.h
$inttype_headers; do
16719 unset ac_cv_type_u_int32_t
16720 unset ac_cv_type_u_int64_t
16721 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16722 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16725 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16726 acx_cv_header_stdint
=$i
16731 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16734 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16741 if test "$acx_cv_header_stdint" = stddef.h
; then
16742 acx_cv_header_stdint_kind
="(using manual detection)"
16745 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16746 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16747 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16748 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16749 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16751 # ----------------- Summarize what we found so far
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16754 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16756 case `$as_basename -- gstdint.h ||
16757 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16758 Xgstdint.h : 'X\(//\)$' \| \
16759 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16760 $as_echo X/gstdint.h |
16761 sed '/^.*\/\([^/][^/]*\)\/*$/{
16774 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16775 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16776 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16777 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16782 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16784 # ----------------- done included file, check C basic types --------
16786 # Lacking an uintptr_t? Test size of void *
16787 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16788 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16791 # This bug is HP SR number 8606223364.
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16793 $as_echo_n "checking size of void *... " >&6; }
16794 if ${ac_cv_sizeof_void_p+:} false
; then :
16795 $as_echo_n "(cached) " >&6
16797 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16800 if test "$ac_cv_type_void_p" = yes; then
16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16803 as_fn_error
77 "cannot compute sizeof (void *)
16804 See \`config.log' for more details" "$LINENO" 5; }
16806 ac_cv_sizeof_void_p
=0
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16812 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16816 cat >>confdefs.h
<<_ACEOF
16817 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16823 # Lacking an uint64_t? Test size of long
16824 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16825 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16828 # This bug is HP SR number 8606223364.
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16830 $as_echo_n "checking size of long... " >&6; }
16831 if ${ac_cv_sizeof_long+:} false
; then :
16832 $as_echo_n "(cached) " >&6
16834 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16837 if test "$ac_cv_type_long" = yes; then
16838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16840 as_fn_error
77 "cannot compute sizeof (long)
16841 See \`config.log' for more details" "$LINENO" 5; }
16843 ac_cv_sizeof_long
=0
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16849 $as_echo "$ac_cv_sizeof_long" >&6; }
16853 cat >>confdefs.h
<<_ACEOF
16854 #define SIZEOF_LONG $ac_cv_sizeof_long
16860 if test $acx_cv_header_stdint = stddef.h
; then
16861 # Lacking a good header? Test size of everything and deduce all types.
16862 # The cast to long int works around a bug in the HP C Compiler
16863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16864 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16865 # This bug is HP SR number 8606223364.
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16867 $as_echo_n "checking size of int... " >&6; }
16868 if ${ac_cv_sizeof_int+:} false
; then :
16869 $as_echo_n "(cached) " >&6
16871 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16874 if test "$ac_cv_type_int" = yes; then
16875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16877 as_fn_error
77 "cannot compute sizeof (int)
16878 See \`config.log' for more details" "$LINENO" 5; }
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16886 $as_echo "$ac_cv_sizeof_int" >&6; }
16890 cat >>confdefs.h
<<_ACEOF
16891 #define SIZEOF_INT $ac_cv_sizeof_int
16895 # The cast to long int works around a bug in the HP C Compiler
16896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16898 # This bug is HP SR number 8606223364.
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16900 $as_echo_n "checking size of short... " >&6; }
16901 if ${ac_cv_sizeof_short+:} false
; then :
16902 $as_echo_n "(cached) " >&6
16904 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16907 if test "$ac_cv_type_short" = yes; then
16908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16910 as_fn_error
77 "cannot compute sizeof (short)
16911 See \`config.log' for more details" "$LINENO" 5; }
16913 ac_cv_sizeof_short
=0
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16919 $as_echo "$ac_cv_sizeof_short" >&6; }
16923 cat >>confdefs.h
<<_ACEOF
16924 #define SIZEOF_SHORT $ac_cv_sizeof_short
16928 # The cast to long int works around a bug in the HP C Compiler
16929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16931 # This bug is HP SR number 8606223364.
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16933 $as_echo_n "checking size of char... " >&6; }
16934 if ${ac_cv_sizeof_char+:} false
; then :
16935 $as_echo_n "(cached) " >&6
16937 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16940 if test "$ac_cv_type_char" = yes; then
16941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16943 as_fn_error
77 "cannot compute sizeof (char)
16944 See \`config.log' for more details" "$LINENO" 5; }
16946 ac_cv_sizeof_char
=0
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16952 $as_echo "$ac_cv_sizeof_char" >&6; }
16956 cat >>confdefs.h
<<_ACEOF
16957 #define SIZEOF_CHAR $ac_cv_sizeof_char
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16963 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16964 case "$ac_cv_sizeof_char" in
16965 1) acx_cv_type_int8_t
=char
;;
16966 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16969 $as_echo "$acx_cv_type_int8_t" >&6; }
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16972 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16973 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16974 2:*) acx_cv_type_int16_t
=int
;;
16975 *:2) acx_cv_type_int16_t
=short
;;
16976 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16979 $as_echo "$acx_cv_type_int16_t" >&6; }
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16982 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16983 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16984 4:*) acx_cv_type_int32_t
=int
;;
16985 *:4) acx_cv_type_int32_t
=long
;;
16986 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16989 $as_echo "$acx_cv_type_int32_t" >&6; }
16992 # These tests are here to make the output prettier
16994 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16995 case "$ac_cv_sizeof_long" in
16996 8) acx_cv_type_int64_t
=long
;;
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16999 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17001 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17004 # Now we can use the above types
17006 if test "$ac_cv_type_uintptr_t" != yes; then
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17008 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17009 case $ac_cv_sizeof_void_p in
17010 2) acx_cv_type_intptr_t
=int16_t
;;
17011 4) acx_cv_type_intptr_t
=int32_t
;;
17012 8) acx_cv_type_intptr_t
=int64_t
;;
17013 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17016 $as_echo "$acx_cv_type_intptr_t" >&6; }
17019 # ----------------- done all checks, emit header -------------
17020 ac_config_commands
="$ac_config_commands gstdint.h"
17025 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17026 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
17028 cat >>confdefs.h
<<_ACEOF
17029 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17034 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17035 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17037 cat >>confdefs.h
<<_ACEOF
17038 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17043 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17044 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17046 cat >>confdefs.h
<<_ACEOF
17047 #define HAVE_STRUCT_STAT_ST_RDEV 1
17054 case "${host}--x${with_newlib}" in
17056 hardwire_newlib
=1;;
17058 hardwire_newlib
=1;;
17061 # Check for library functions.
17062 if test "${hardwire_newlib:-0}" -eq 1; then
17063 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17064 # may not work correctly, because the compiler may not be able to
17065 # link executables.
17067 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17070 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17073 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17076 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17079 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17082 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17085 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17088 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17091 # At some point, we should differentiate between architectures
17092 # like x86, which have long double versions, and alpha/powerpc/etc.,
17093 # which don't. For the time being, punt.
17094 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17096 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17103 for ac_func
in $ac_func_list
17105 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17106 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17107 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17108 cat >>confdefs.h
<<_ACEOF
17109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17230 # Check strerror_r, cannot be above as versions with two and three arguments exist
17232 ac_save_CFLAGS
="$CFLAGS"
17233 CFLAGS
="-Wimplicit-function-declaration -Werror"
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #define _GNU_SOURCE 1
17237 #include <string.h>
17238 #include <locale.h>
17242 char s[128]; strerror_r(5, s, 128);
17247 if ac_fn_c_try_compile
"$LINENO"; then :
17249 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17253 CFLAGS
="$ac_save_CFLAGS"
17255 ac_save_CFLAGS
="$CFLAGS"
17256 CFLAGS
="-Wimplicit-function-declaration -Werror"
17257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 #define _GNU_SOURCE 1
17260 #include <string.h>
17261 #include <locale.h>
17265 char s[128]; strerror_r(5, s);
17270 if ac_fn_c_try_compile
"$LINENO"; then :
17272 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17276 CFLAGS
="$ac_save_CFLAGS"
17279 # Check for C99 (and other IEEE) math functions
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17281 $as_echo_n "checking for sin in -lm... " >&6; }
17282 if ${ac_cv_lib_m_sin+:} false
; then :
17283 $as_echo_n "(cached) " >&6
17285 ac_check_lib_save_LIBS
=$LIBS
17287 if test x
$gcc_no_link = xyes
; then
17288 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17293 /* Override any GCC internal prototype to avoid an error.
17294 Use char because int might match the return type of a GCC
17295 builtin and then its argument prototype would still apply. */
17308 if ac_fn_c_try_link
"$LINENO"; then :
17309 ac_cv_lib_m_sin
=yes
17313 rm -f core conftest.err conftest.
$ac_objext \
17314 conftest
$ac_exeext conftest.
$ac_ext
17315 LIBS
=$ac_check_lib_save_LIBS
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17318 $as_echo "$ac_cv_lib_m_sin" >&6; }
17319 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17320 cat >>confdefs.h
<<_ACEOF
17321 #define HAVE_LIBM 1
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17335 $as_echo_n "checking for acosf... " >&6; }
17336 if ${gcc_cv_math_func_acosf+:} false
; then :
17337 $as_echo_n "(cached) " >&6
17339 if test x
$gcc_no_link = xyes
; then
17340 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17345 #ifdef HAVE_COMPLEX_H
17346 #include <complex.h>
17352 int (*ptr)() = (int (*)())acosf;
17361 if ac_fn_c_try_link
"$LINENO"; then :
17362 gcc_cv_math_func_acosf
=yes
17364 gcc_cv_math_func_acosf
=no
17366 rm -f core conftest.err conftest.
$ac_objext \
17367 conftest
$ac_exeext conftest.
$ac_ext
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17370 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17371 if test $gcc_cv_math_func_acosf = yes; then
17373 cat >>confdefs.h
<<_ACEOF
17374 #define HAVE_ACOSF 1
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17383 $as_echo_n "checking for acos... " >&6; }
17384 if ${gcc_cv_math_func_acos+:} false
; then :
17385 $as_echo_n "(cached) " >&6
17387 if test x
$gcc_no_link = xyes
; then
17388 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17393 #ifdef HAVE_COMPLEX_H
17394 #include <complex.h>
17400 int (*ptr)() = (int (*)())acos;
17409 if ac_fn_c_try_link
"$LINENO"; then :
17410 gcc_cv_math_func_acos
=yes
17412 gcc_cv_math_func_acos
=no
17414 rm -f core conftest.err conftest.
$ac_objext \
17415 conftest
$ac_exeext conftest.
$ac_ext
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17418 $as_echo "$gcc_cv_math_func_acos" >&6; }
17419 if test $gcc_cv_math_func_acos = yes; then
17421 cat >>confdefs.h
<<_ACEOF
17422 #define HAVE_ACOS 1
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17431 $as_echo_n "checking for acosl... " >&6; }
17432 if ${gcc_cv_math_func_acosl+:} false
; then :
17433 $as_echo_n "(cached) " >&6
17435 if test x
$gcc_no_link = xyes
; then
17436 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17441 #ifdef HAVE_COMPLEX_H
17442 #include <complex.h>
17448 int (*ptr)() = (int (*)())acosl;
17457 if ac_fn_c_try_link
"$LINENO"; then :
17458 gcc_cv_math_func_acosl
=yes
17460 gcc_cv_math_func_acosl
=no
17462 rm -f core conftest.err conftest.
$ac_objext \
17463 conftest
$ac_exeext conftest.
$ac_ext
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17466 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17467 if test $gcc_cv_math_func_acosl = yes; then
17469 cat >>confdefs.h
<<_ACEOF
17470 #define HAVE_ACOSL 1
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17479 $as_echo_n "checking for acoshf... " >&6; }
17480 if ${gcc_cv_math_func_acoshf+:} false
; then :
17481 $as_echo_n "(cached) " >&6
17483 if test x
$gcc_no_link = xyes
; then
17484 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17489 #ifdef HAVE_COMPLEX_H
17490 #include <complex.h>
17496 int (*ptr)() = (int (*)())acoshf;
17505 if ac_fn_c_try_link
"$LINENO"; then :
17506 gcc_cv_math_func_acoshf
=yes
17508 gcc_cv_math_func_acoshf
=no
17510 rm -f core conftest.err conftest.
$ac_objext \
17511 conftest
$ac_exeext conftest.
$ac_ext
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17514 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17515 if test $gcc_cv_math_func_acoshf = yes; then
17517 cat >>confdefs.h
<<_ACEOF
17518 #define HAVE_ACOSHF 1
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17527 $as_echo_n "checking for acosh... " >&6; }
17528 if ${gcc_cv_math_func_acosh+:} false
; then :
17529 $as_echo_n "(cached) " >&6
17531 if test x
$gcc_no_link = xyes
; then
17532 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17537 #ifdef HAVE_COMPLEX_H
17538 #include <complex.h>
17544 int (*ptr)() = (int (*)())acosh;
17553 if ac_fn_c_try_link
"$LINENO"; then :
17554 gcc_cv_math_func_acosh
=yes
17556 gcc_cv_math_func_acosh
=no
17558 rm -f core conftest.err conftest.
$ac_objext \
17559 conftest
$ac_exeext conftest.
$ac_ext
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17562 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17563 if test $gcc_cv_math_func_acosh = yes; then
17565 cat >>confdefs.h
<<_ACEOF
17566 #define HAVE_ACOSH 1
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17575 $as_echo_n "checking for acoshl... " >&6; }
17576 if ${gcc_cv_math_func_acoshl+:} false
; then :
17577 $as_echo_n "(cached) " >&6
17579 if test x
$gcc_no_link = xyes
; then
17580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17585 #ifdef HAVE_COMPLEX_H
17586 #include <complex.h>
17592 int (*ptr)() = (int (*)())acoshl;
17601 if ac_fn_c_try_link
"$LINENO"; then :
17602 gcc_cv_math_func_acoshl
=yes
17604 gcc_cv_math_func_acoshl
=no
17606 rm -f core conftest.err conftest.
$ac_objext \
17607 conftest
$ac_exeext conftest.
$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17610 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17611 if test $gcc_cv_math_func_acoshl = yes; then
17613 cat >>confdefs.h
<<_ACEOF
17614 #define HAVE_ACOSHL 1
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17623 $as_echo_n "checking for asinf... " >&6; }
17624 if ${gcc_cv_math_func_asinf+:} false
; then :
17625 $as_echo_n "(cached) " >&6
17627 if test x
$gcc_no_link = xyes
; then
17628 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17633 #ifdef HAVE_COMPLEX_H
17634 #include <complex.h>
17640 int (*ptr)() = (int (*)())asinf;
17649 if ac_fn_c_try_link
"$LINENO"; then :
17650 gcc_cv_math_func_asinf
=yes
17652 gcc_cv_math_func_asinf
=no
17654 rm -f core conftest.err conftest.
$ac_objext \
17655 conftest
$ac_exeext conftest.
$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17658 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17659 if test $gcc_cv_math_func_asinf = yes; then
17661 cat >>confdefs.h
<<_ACEOF
17662 #define HAVE_ASINF 1
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17671 $as_echo_n "checking for asin... " >&6; }
17672 if ${gcc_cv_math_func_asin+:} false
; then :
17673 $as_echo_n "(cached) " >&6
17675 if test x
$gcc_no_link = xyes
; then
17676 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17681 #ifdef HAVE_COMPLEX_H
17682 #include <complex.h>
17688 int (*ptr)() = (int (*)())asin;
17697 if ac_fn_c_try_link
"$LINENO"; then :
17698 gcc_cv_math_func_asin
=yes
17700 gcc_cv_math_func_asin
=no
17702 rm -f core conftest.err conftest.
$ac_objext \
17703 conftest
$ac_exeext conftest.
$ac_ext
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17706 $as_echo "$gcc_cv_math_func_asin" >&6; }
17707 if test $gcc_cv_math_func_asin = yes; then
17709 cat >>confdefs.h
<<_ACEOF
17710 #define HAVE_ASIN 1
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17719 $as_echo_n "checking for asinl... " >&6; }
17720 if ${gcc_cv_math_func_asinl+:} false
; then :
17721 $as_echo_n "(cached) " >&6
17723 if test x
$gcc_no_link = xyes
; then
17724 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17729 #ifdef HAVE_COMPLEX_H
17730 #include <complex.h>
17736 int (*ptr)() = (int (*)())asinl;
17745 if ac_fn_c_try_link
"$LINENO"; then :
17746 gcc_cv_math_func_asinl
=yes
17748 gcc_cv_math_func_asinl
=no
17750 rm -f core conftest.err conftest.
$ac_objext \
17751 conftest
$ac_exeext conftest.
$ac_ext
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17754 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17755 if test $gcc_cv_math_func_asinl = yes; then
17757 cat >>confdefs.h
<<_ACEOF
17758 #define HAVE_ASINL 1
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17767 $as_echo_n "checking for asinhf... " >&6; }
17768 if ${gcc_cv_math_func_asinhf+:} false
; then :
17769 $as_echo_n "(cached) " >&6
17771 if test x
$gcc_no_link = xyes
; then
17772 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17777 #ifdef HAVE_COMPLEX_H
17778 #include <complex.h>
17784 int (*ptr)() = (int (*)())asinhf;
17793 if ac_fn_c_try_link
"$LINENO"; then :
17794 gcc_cv_math_func_asinhf
=yes
17796 gcc_cv_math_func_asinhf
=no
17798 rm -f core conftest.err conftest.
$ac_objext \
17799 conftest
$ac_exeext conftest.
$ac_ext
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17802 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17803 if test $gcc_cv_math_func_asinhf = yes; then
17805 cat >>confdefs.h
<<_ACEOF
17806 #define HAVE_ASINHF 1
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17815 $as_echo_n "checking for asinh... " >&6; }
17816 if ${gcc_cv_math_func_asinh+:} false
; then :
17817 $as_echo_n "(cached) " >&6
17819 if test x
$gcc_no_link = xyes
; then
17820 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17825 #ifdef HAVE_COMPLEX_H
17826 #include <complex.h>
17832 int (*ptr)() = (int (*)())asinh;
17841 if ac_fn_c_try_link
"$LINENO"; then :
17842 gcc_cv_math_func_asinh
=yes
17844 gcc_cv_math_func_asinh
=no
17846 rm -f core conftest.err conftest.
$ac_objext \
17847 conftest
$ac_exeext conftest.
$ac_ext
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17850 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17851 if test $gcc_cv_math_func_asinh = yes; then
17853 cat >>confdefs.h
<<_ACEOF
17854 #define HAVE_ASINH 1
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17863 $as_echo_n "checking for asinhl... " >&6; }
17864 if ${gcc_cv_math_func_asinhl+:} false
; then :
17865 $as_echo_n "(cached) " >&6
17867 if test x
$gcc_no_link = xyes
; then
17868 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17873 #ifdef HAVE_COMPLEX_H
17874 #include <complex.h>
17880 int (*ptr)() = (int (*)())asinhl;
17889 if ac_fn_c_try_link
"$LINENO"; then :
17890 gcc_cv_math_func_asinhl
=yes
17892 gcc_cv_math_func_asinhl
=no
17894 rm -f core conftest.err conftest.
$ac_objext \
17895 conftest
$ac_exeext conftest.
$ac_ext
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17898 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17899 if test $gcc_cv_math_func_asinhl = yes; then
17901 cat >>confdefs.h
<<_ACEOF
17902 #define HAVE_ASINHL 1
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17911 $as_echo_n "checking for atan2f... " >&6; }
17912 if ${gcc_cv_math_func_atan2f+:} false
; then :
17913 $as_echo_n "(cached) " >&6
17915 if test x
$gcc_no_link = xyes
; then
17916 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 #ifdef HAVE_COMPLEX_H
17922 #include <complex.h>
17928 int (*ptr)() = (int (*)())atan2f;
17937 if ac_fn_c_try_link
"$LINENO"; then :
17938 gcc_cv_math_func_atan2f
=yes
17940 gcc_cv_math_func_atan2f
=no
17942 rm -f core conftest.err conftest.
$ac_objext \
17943 conftest
$ac_exeext conftest.
$ac_ext
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17946 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17947 if test $gcc_cv_math_func_atan2f = yes; then
17949 cat >>confdefs.h
<<_ACEOF
17950 #define HAVE_ATAN2F 1
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17959 $as_echo_n "checking for atan2... " >&6; }
17960 if ${gcc_cv_math_func_atan2+:} false
; then :
17961 $as_echo_n "(cached) " >&6
17963 if test x
$gcc_no_link = xyes
; then
17964 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17969 #ifdef HAVE_COMPLEX_H
17970 #include <complex.h>
17976 int (*ptr)() = (int (*)())atan2;
17985 if ac_fn_c_try_link
"$LINENO"; then :
17986 gcc_cv_math_func_atan2
=yes
17988 gcc_cv_math_func_atan2
=no
17990 rm -f core conftest.err conftest.
$ac_objext \
17991 conftest
$ac_exeext conftest.
$ac_ext
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17994 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17995 if test $gcc_cv_math_func_atan2 = yes; then
17997 cat >>confdefs.h
<<_ACEOF
17998 #define HAVE_ATAN2 1
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18007 $as_echo_n "checking for atan2l... " >&6; }
18008 if ${gcc_cv_math_func_atan2l+:} false
; then :
18009 $as_echo_n "(cached) " >&6
18011 if test x
$gcc_no_link = xyes
; then
18012 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18017 #ifdef HAVE_COMPLEX_H
18018 #include <complex.h>
18024 int (*ptr)() = (int (*)())atan2l;
18033 if ac_fn_c_try_link
"$LINENO"; then :
18034 gcc_cv_math_func_atan2l
=yes
18036 gcc_cv_math_func_atan2l
=no
18038 rm -f core conftest.err conftest.
$ac_objext \
18039 conftest
$ac_exeext conftest.
$ac_ext
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18042 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18043 if test $gcc_cv_math_func_atan2l = yes; then
18045 cat >>confdefs.h
<<_ACEOF
18046 #define HAVE_ATAN2L 1
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18055 $as_echo_n "checking for atanf... " >&6; }
18056 if ${gcc_cv_math_func_atanf+:} false
; then :
18057 $as_echo_n "(cached) " >&6
18059 if test x
$gcc_no_link = xyes
; then
18060 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18063 /* end confdefs.h. */
18065 #ifdef HAVE_COMPLEX_H
18066 #include <complex.h>
18072 int (*ptr)() = (int (*)())atanf;
18081 if ac_fn_c_try_link
"$LINENO"; then :
18082 gcc_cv_math_func_atanf
=yes
18084 gcc_cv_math_func_atanf
=no
18086 rm -f core conftest.err conftest.
$ac_objext \
18087 conftest
$ac_exeext conftest.
$ac_ext
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18090 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18091 if test $gcc_cv_math_func_atanf = yes; then
18093 cat >>confdefs.h
<<_ACEOF
18094 #define HAVE_ATANF 1
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18103 $as_echo_n "checking for atan... " >&6; }
18104 if ${gcc_cv_math_func_atan+:} false
; then :
18105 $as_echo_n "(cached) " >&6
18107 if test x
$gcc_no_link = xyes
; then
18108 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18113 #ifdef HAVE_COMPLEX_H
18114 #include <complex.h>
18120 int (*ptr)() = (int (*)())atan;
18129 if ac_fn_c_try_link
"$LINENO"; then :
18130 gcc_cv_math_func_atan
=yes
18132 gcc_cv_math_func_atan
=no
18134 rm -f core conftest.err conftest.
$ac_objext \
18135 conftest
$ac_exeext conftest.
$ac_ext
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18138 $as_echo "$gcc_cv_math_func_atan" >&6; }
18139 if test $gcc_cv_math_func_atan = yes; then
18141 cat >>confdefs.h
<<_ACEOF
18142 #define HAVE_ATAN 1
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18151 $as_echo_n "checking for atanl... " >&6; }
18152 if ${gcc_cv_math_func_atanl+:} false
; then :
18153 $as_echo_n "(cached) " >&6
18155 if test x
$gcc_no_link = xyes
; then
18156 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18161 #ifdef HAVE_COMPLEX_H
18162 #include <complex.h>
18168 int (*ptr)() = (int (*)())atanl;
18177 if ac_fn_c_try_link
"$LINENO"; then :
18178 gcc_cv_math_func_atanl
=yes
18180 gcc_cv_math_func_atanl
=no
18182 rm -f core conftest.err conftest.
$ac_objext \
18183 conftest
$ac_exeext conftest.
$ac_ext
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18186 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18187 if test $gcc_cv_math_func_atanl = yes; then
18189 cat >>confdefs.h
<<_ACEOF
18190 #define HAVE_ATANL 1
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18199 $as_echo_n "checking for atanhf... " >&6; }
18200 if ${gcc_cv_math_func_atanhf+:} false
; then :
18201 $as_echo_n "(cached) " >&6
18203 if test x
$gcc_no_link = xyes
; then
18204 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18209 #ifdef HAVE_COMPLEX_H
18210 #include <complex.h>
18216 int (*ptr)() = (int (*)())atanhf;
18225 if ac_fn_c_try_link
"$LINENO"; then :
18226 gcc_cv_math_func_atanhf
=yes
18228 gcc_cv_math_func_atanhf
=no
18230 rm -f core conftest.err conftest.
$ac_objext \
18231 conftest
$ac_exeext conftest.
$ac_ext
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18234 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18235 if test $gcc_cv_math_func_atanhf = yes; then
18237 cat >>confdefs.h
<<_ACEOF
18238 #define HAVE_ATANHF 1
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18247 $as_echo_n "checking for atanh... " >&6; }
18248 if ${gcc_cv_math_func_atanh+:} false
; then :
18249 $as_echo_n "(cached) " >&6
18251 if test x
$gcc_no_link = xyes
; then
18252 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18257 #ifdef HAVE_COMPLEX_H
18258 #include <complex.h>
18264 int (*ptr)() = (int (*)())atanh;
18273 if ac_fn_c_try_link
"$LINENO"; then :
18274 gcc_cv_math_func_atanh
=yes
18276 gcc_cv_math_func_atanh
=no
18278 rm -f core conftest.err conftest.
$ac_objext \
18279 conftest
$ac_exeext conftest.
$ac_ext
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18282 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18283 if test $gcc_cv_math_func_atanh = yes; then
18285 cat >>confdefs.h
<<_ACEOF
18286 #define HAVE_ATANH 1
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18295 $as_echo_n "checking for atanhl... " >&6; }
18296 if ${gcc_cv_math_func_atanhl+:} false
; then :
18297 $as_echo_n "(cached) " >&6
18299 if test x
$gcc_no_link = xyes
; then
18300 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18305 #ifdef HAVE_COMPLEX_H
18306 #include <complex.h>
18312 int (*ptr)() = (int (*)())atanhl;
18321 if ac_fn_c_try_link
"$LINENO"; then :
18322 gcc_cv_math_func_atanhl
=yes
18324 gcc_cv_math_func_atanhl
=no
18326 rm -f core conftest.err conftest.
$ac_objext \
18327 conftest
$ac_exeext conftest.
$ac_ext
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18330 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18331 if test $gcc_cv_math_func_atanhl = yes; then
18333 cat >>confdefs.h
<<_ACEOF
18334 #define HAVE_ATANHL 1
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18343 $as_echo_n "checking for cargf... " >&6; }
18344 if ${gcc_cv_math_func_cargf+:} false
; then :
18345 $as_echo_n "(cached) " >&6
18347 if test x
$gcc_no_link = xyes
; then
18348 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18353 #ifdef HAVE_COMPLEX_H
18354 #include <complex.h>
18360 int (*ptr)() = (int (*)())cargf;
18369 if ac_fn_c_try_link
"$LINENO"; then :
18370 gcc_cv_math_func_cargf
=yes
18372 gcc_cv_math_func_cargf
=no
18374 rm -f core conftest.err conftest.
$ac_objext \
18375 conftest
$ac_exeext conftest.
$ac_ext
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18378 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18379 if test $gcc_cv_math_func_cargf = yes; then
18381 cat >>confdefs.h
<<_ACEOF
18382 #define HAVE_CARGF 1
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18391 $as_echo_n "checking for carg... " >&6; }
18392 if ${gcc_cv_math_func_carg+:} false
; then :
18393 $as_echo_n "(cached) " >&6
18395 if test x
$gcc_no_link = xyes
; then
18396 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18401 #ifdef HAVE_COMPLEX_H
18402 #include <complex.h>
18408 int (*ptr)() = (int (*)())carg;
18417 if ac_fn_c_try_link
"$LINENO"; then :
18418 gcc_cv_math_func_carg
=yes
18420 gcc_cv_math_func_carg
=no
18422 rm -f core conftest.err conftest.
$ac_objext \
18423 conftest
$ac_exeext conftest.
$ac_ext
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18426 $as_echo "$gcc_cv_math_func_carg" >&6; }
18427 if test $gcc_cv_math_func_carg = yes; then
18429 cat >>confdefs.h
<<_ACEOF
18430 #define HAVE_CARG 1
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18439 $as_echo_n "checking for cargl... " >&6; }
18440 if ${gcc_cv_math_func_cargl+:} false
; then :
18441 $as_echo_n "(cached) " >&6
18443 if test x
$gcc_no_link = xyes
; then
18444 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18449 #ifdef HAVE_COMPLEX_H
18450 #include <complex.h>
18456 int (*ptr)() = (int (*)())cargl;
18465 if ac_fn_c_try_link
"$LINENO"; then :
18466 gcc_cv_math_func_cargl
=yes
18468 gcc_cv_math_func_cargl
=no
18470 rm -f core conftest.err conftest.
$ac_objext \
18471 conftest
$ac_exeext conftest.
$ac_ext
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18474 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18475 if test $gcc_cv_math_func_cargl = yes; then
18477 cat >>confdefs.h
<<_ACEOF
18478 #define HAVE_CARGL 1
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18487 $as_echo_n "checking for ceilf... " >&6; }
18488 if ${gcc_cv_math_func_ceilf+:} false
; then :
18489 $as_echo_n "(cached) " >&6
18491 if test x
$gcc_no_link = xyes
; then
18492 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18497 #ifdef HAVE_COMPLEX_H
18498 #include <complex.h>
18504 int (*ptr)() = (int (*)())ceilf;
18513 if ac_fn_c_try_link
"$LINENO"; then :
18514 gcc_cv_math_func_ceilf
=yes
18516 gcc_cv_math_func_ceilf
=no
18518 rm -f core conftest.err conftest.
$ac_objext \
18519 conftest
$ac_exeext conftest.
$ac_ext
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18522 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18523 if test $gcc_cv_math_func_ceilf = yes; then
18525 cat >>confdefs.h
<<_ACEOF
18526 #define HAVE_CEILF 1
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18535 $as_echo_n "checking for ceil... " >&6; }
18536 if ${gcc_cv_math_func_ceil+:} false
; then :
18537 $as_echo_n "(cached) " >&6
18539 if test x
$gcc_no_link = xyes
; then
18540 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18545 #ifdef HAVE_COMPLEX_H
18546 #include <complex.h>
18552 int (*ptr)() = (int (*)())ceil;
18561 if ac_fn_c_try_link
"$LINENO"; then :
18562 gcc_cv_math_func_ceil
=yes
18564 gcc_cv_math_func_ceil
=no
18566 rm -f core conftest.err conftest.
$ac_objext \
18567 conftest
$ac_exeext conftest.
$ac_ext
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18570 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18571 if test $gcc_cv_math_func_ceil = yes; then
18573 cat >>confdefs.h
<<_ACEOF
18574 #define HAVE_CEIL 1
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18583 $as_echo_n "checking for ceill... " >&6; }
18584 if ${gcc_cv_math_func_ceill+:} false
; then :
18585 $as_echo_n "(cached) " >&6
18587 if test x
$gcc_no_link = xyes
; then
18588 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18593 #ifdef HAVE_COMPLEX_H
18594 #include <complex.h>
18600 int (*ptr)() = (int (*)())ceill;
18609 if ac_fn_c_try_link
"$LINENO"; then :
18610 gcc_cv_math_func_ceill
=yes
18612 gcc_cv_math_func_ceill
=no
18614 rm -f core conftest.err conftest.
$ac_objext \
18615 conftest
$ac_exeext conftest.
$ac_ext
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18618 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18619 if test $gcc_cv_math_func_ceill = yes; then
18621 cat >>confdefs.h
<<_ACEOF
18622 #define HAVE_CEILL 1
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18631 $as_echo_n "checking for copysignf... " >&6; }
18632 if ${gcc_cv_math_func_copysignf+:} false
; then :
18633 $as_echo_n "(cached) " >&6
18635 if test x
$gcc_no_link = xyes
; then
18636 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18641 #ifdef HAVE_COMPLEX_H
18642 #include <complex.h>
18648 int (*ptr)() = (int (*)())copysignf;
18657 if ac_fn_c_try_link
"$LINENO"; then :
18658 gcc_cv_math_func_copysignf
=yes
18660 gcc_cv_math_func_copysignf
=no
18662 rm -f core conftest.err conftest.
$ac_objext \
18663 conftest
$ac_exeext conftest.
$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18666 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18667 if test $gcc_cv_math_func_copysignf = yes; then
18669 cat >>confdefs.h
<<_ACEOF
18670 #define HAVE_COPYSIGNF 1
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18679 $as_echo_n "checking for copysign... " >&6; }
18680 if ${gcc_cv_math_func_copysign+:} false
; then :
18681 $as_echo_n "(cached) " >&6
18683 if test x
$gcc_no_link = xyes
; then
18684 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18689 #ifdef HAVE_COMPLEX_H
18690 #include <complex.h>
18696 int (*ptr)() = (int (*)())copysign;
18705 if ac_fn_c_try_link
"$LINENO"; then :
18706 gcc_cv_math_func_copysign
=yes
18708 gcc_cv_math_func_copysign
=no
18710 rm -f core conftest.err conftest.
$ac_objext \
18711 conftest
$ac_exeext conftest.
$ac_ext
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18714 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18715 if test $gcc_cv_math_func_copysign = yes; then
18717 cat >>confdefs.h
<<_ACEOF
18718 #define HAVE_COPYSIGN 1
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18727 $as_echo_n "checking for copysignl... " >&6; }
18728 if ${gcc_cv_math_func_copysignl+:} false
; then :
18729 $as_echo_n "(cached) " >&6
18731 if test x
$gcc_no_link = xyes
; then
18732 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18737 #ifdef HAVE_COMPLEX_H
18738 #include <complex.h>
18744 int (*ptr)() = (int (*)())copysignl;
18753 if ac_fn_c_try_link
"$LINENO"; then :
18754 gcc_cv_math_func_copysignl
=yes
18756 gcc_cv_math_func_copysignl
=no
18758 rm -f core conftest.err conftest.
$ac_objext \
18759 conftest
$ac_exeext conftest.
$ac_ext
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18762 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18763 if test $gcc_cv_math_func_copysignl = yes; then
18765 cat >>confdefs.h
<<_ACEOF
18766 #define HAVE_COPYSIGNL 1
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18775 $as_echo_n "checking for cosf... " >&6; }
18776 if ${gcc_cv_math_func_cosf+:} false
; then :
18777 $as_echo_n "(cached) " >&6
18779 if test x
$gcc_no_link = xyes
; then
18780 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18785 #ifdef HAVE_COMPLEX_H
18786 #include <complex.h>
18792 int (*ptr)() = (int (*)())cosf;
18801 if ac_fn_c_try_link
"$LINENO"; then :
18802 gcc_cv_math_func_cosf
=yes
18804 gcc_cv_math_func_cosf
=no
18806 rm -f core conftest.err conftest.
$ac_objext \
18807 conftest
$ac_exeext conftest.
$ac_ext
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18810 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18811 if test $gcc_cv_math_func_cosf = yes; then
18813 cat >>confdefs.h
<<_ACEOF
18814 #define HAVE_COSF 1
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18823 $as_echo_n "checking for cos... " >&6; }
18824 if ${gcc_cv_math_func_cos+:} false
; then :
18825 $as_echo_n "(cached) " >&6
18827 if test x
$gcc_no_link = xyes
; then
18828 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18833 #ifdef HAVE_COMPLEX_H
18834 #include <complex.h>
18840 int (*ptr)() = (int (*)())cos;
18849 if ac_fn_c_try_link
"$LINENO"; then :
18850 gcc_cv_math_func_cos
=yes
18852 gcc_cv_math_func_cos
=no
18854 rm -f core conftest.err conftest.
$ac_objext \
18855 conftest
$ac_exeext conftest.
$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18858 $as_echo "$gcc_cv_math_func_cos" >&6; }
18859 if test $gcc_cv_math_func_cos = yes; then
18861 cat >>confdefs.h
<<_ACEOF
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18871 $as_echo_n "checking for cosl... " >&6; }
18872 if ${gcc_cv_math_func_cosl+:} false
; then :
18873 $as_echo_n "(cached) " >&6
18875 if test x
$gcc_no_link = xyes
; then
18876 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h. */
18881 #ifdef HAVE_COMPLEX_H
18882 #include <complex.h>
18888 int (*ptr)() = (int (*)())cosl;
18897 if ac_fn_c_try_link
"$LINENO"; then :
18898 gcc_cv_math_func_cosl
=yes
18900 gcc_cv_math_func_cosl
=no
18902 rm -f core conftest.err conftest.
$ac_objext \
18903 conftest
$ac_exeext conftest.
$ac_ext
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18906 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18907 if test $gcc_cv_math_func_cosl = yes; then
18909 cat >>confdefs.h
<<_ACEOF
18910 #define HAVE_COSL 1
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18919 $as_echo_n "checking for ccosf... " >&6; }
18920 if ${gcc_cv_math_func_ccosf+:} false
; then :
18921 $as_echo_n "(cached) " >&6
18923 if test x
$gcc_no_link = xyes
; then
18924 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18929 #ifdef HAVE_COMPLEX_H
18930 #include <complex.h>
18936 int (*ptr)() = (int (*)())ccosf;
18945 if ac_fn_c_try_link
"$LINENO"; then :
18946 gcc_cv_math_func_ccosf
=yes
18948 gcc_cv_math_func_ccosf
=no
18950 rm -f core conftest.err conftest.
$ac_objext \
18951 conftest
$ac_exeext conftest.
$ac_ext
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18954 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18955 if test $gcc_cv_math_func_ccosf = yes; then
18957 cat >>confdefs.h
<<_ACEOF
18958 #define HAVE_CCOSF 1
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18967 $as_echo_n "checking for ccos... " >&6; }
18968 if ${gcc_cv_math_func_ccos+:} false
; then :
18969 $as_echo_n "(cached) " >&6
18971 if test x
$gcc_no_link = xyes
; then
18972 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18977 #ifdef HAVE_COMPLEX_H
18978 #include <complex.h>
18984 int (*ptr)() = (int (*)())ccos;
18993 if ac_fn_c_try_link
"$LINENO"; then :
18994 gcc_cv_math_func_ccos
=yes
18996 gcc_cv_math_func_ccos
=no
18998 rm -f core conftest.err conftest.
$ac_objext \
18999 conftest
$ac_exeext conftest.
$ac_ext
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19002 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19003 if test $gcc_cv_math_func_ccos = yes; then
19005 cat >>confdefs.h
<<_ACEOF
19006 #define HAVE_CCOS 1
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19015 $as_echo_n "checking for ccosl... " >&6; }
19016 if ${gcc_cv_math_func_ccosl+:} false
; then :
19017 $as_echo_n "(cached) " >&6
19019 if test x
$gcc_no_link = xyes
; then
19020 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19023 /* end confdefs.h. */
19025 #ifdef HAVE_COMPLEX_H
19026 #include <complex.h>
19032 int (*ptr)() = (int (*)())ccosl;
19041 if ac_fn_c_try_link
"$LINENO"; then :
19042 gcc_cv_math_func_ccosl
=yes
19044 gcc_cv_math_func_ccosl
=no
19046 rm -f core conftest.err conftest.
$ac_objext \
19047 conftest
$ac_exeext conftest.
$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19050 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19051 if test $gcc_cv_math_func_ccosl = yes; then
19053 cat >>confdefs.h
<<_ACEOF
19054 #define HAVE_CCOSL 1
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19063 $as_echo_n "checking for coshf... " >&6; }
19064 if ${gcc_cv_math_func_coshf+:} false
; then :
19065 $as_echo_n "(cached) " >&6
19067 if test x
$gcc_no_link = xyes
; then
19068 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19073 #ifdef HAVE_COMPLEX_H
19074 #include <complex.h>
19080 int (*ptr)() = (int (*)())coshf;
19089 if ac_fn_c_try_link
"$LINENO"; then :
19090 gcc_cv_math_func_coshf
=yes
19092 gcc_cv_math_func_coshf
=no
19094 rm -f core conftest.err conftest.
$ac_objext \
19095 conftest
$ac_exeext conftest.
$ac_ext
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19098 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19099 if test $gcc_cv_math_func_coshf = yes; then
19101 cat >>confdefs.h
<<_ACEOF
19102 #define HAVE_COSHF 1
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19111 $as_echo_n "checking for cosh... " >&6; }
19112 if ${gcc_cv_math_func_cosh+:} false
; then :
19113 $as_echo_n "(cached) " >&6
19115 if test x
$gcc_no_link = xyes
; then
19116 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19121 #ifdef HAVE_COMPLEX_H
19122 #include <complex.h>
19128 int (*ptr)() = (int (*)())cosh;
19137 if ac_fn_c_try_link
"$LINENO"; then :
19138 gcc_cv_math_func_cosh
=yes
19140 gcc_cv_math_func_cosh
=no
19142 rm -f core conftest.err conftest.
$ac_objext \
19143 conftest
$ac_exeext conftest.
$ac_ext
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19146 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19147 if test $gcc_cv_math_func_cosh = yes; then
19149 cat >>confdefs.h
<<_ACEOF
19150 #define HAVE_COSH 1
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19159 $as_echo_n "checking for coshl... " >&6; }
19160 if ${gcc_cv_math_func_coshl+:} false
; then :
19161 $as_echo_n "(cached) " >&6
19163 if test x
$gcc_no_link = xyes
; then
19164 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19169 #ifdef HAVE_COMPLEX_H
19170 #include <complex.h>
19176 int (*ptr)() = (int (*)())coshl;
19185 if ac_fn_c_try_link
"$LINENO"; then :
19186 gcc_cv_math_func_coshl
=yes
19188 gcc_cv_math_func_coshl
=no
19190 rm -f core conftest.err conftest.
$ac_objext \
19191 conftest
$ac_exeext conftest.
$ac_ext
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19194 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19195 if test $gcc_cv_math_func_coshl = yes; then
19197 cat >>confdefs.h
<<_ACEOF
19198 #define HAVE_COSHL 1
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19207 $as_echo_n "checking for ccoshf... " >&6; }
19208 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19209 $as_echo_n "(cached) " >&6
19211 if test x
$gcc_no_link = xyes
; then
19212 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19217 #ifdef HAVE_COMPLEX_H
19218 #include <complex.h>
19224 int (*ptr)() = (int (*)())ccoshf;
19233 if ac_fn_c_try_link
"$LINENO"; then :
19234 gcc_cv_math_func_ccoshf
=yes
19236 gcc_cv_math_func_ccoshf
=no
19238 rm -f core conftest.err conftest.
$ac_objext \
19239 conftest
$ac_exeext conftest.
$ac_ext
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19242 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19243 if test $gcc_cv_math_func_ccoshf = yes; then
19245 cat >>confdefs.h
<<_ACEOF
19246 #define HAVE_CCOSHF 1
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19255 $as_echo_n "checking for ccosh... " >&6; }
19256 if ${gcc_cv_math_func_ccosh+:} false
; then :
19257 $as_echo_n "(cached) " >&6
19259 if test x
$gcc_no_link = xyes
; then
19260 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h. */
19265 #ifdef HAVE_COMPLEX_H
19266 #include <complex.h>
19272 int (*ptr)() = (int (*)())ccosh;
19281 if ac_fn_c_try_link
"$LINENO"; then :
19282 gcc_cv_math_func_ccosh
=yes
19284 gcc_cv_math_func_ccosh
=no
19286 rm -f core conftest.err conftest.
$ac_objext \
19287 conftest
$ac_exeext conftest.
$ac_ext
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19290 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19291 if test $gcc_cv_math_func_ccosh = yes; then
19293 cat >>confdefs.h
<<_ACEOF
19294 #define HAVE_CCOSH 1
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19303 $as_echo_n "checking for ccoshl... " >&6; }
19304 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19305 $as_echo_n "(cached) " >&6
19307 if test x
$gcc_no_link = xyes
; then
19308 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19313 #ifdef HAVE_COMPLEX_H
19314 #include <complex.h>
19320 int (*ptr)() = (int (*)())ccoshl;
19329 if ac_fn_c_try_link
"$LINENO"; then :
19330 gcc_cv_math_func_ccoshl
=yes
19332 gcc_cv_math_func_ccoshl
=no
19334 rm -f core conftest.err conftest.
$ac_objext \
19335 conftest
$ac_exeext conftest.
$ac_ext
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19338 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19339 if test $gcc_cv_math_func_ccoshl = yes; then
19341 cat >>confdefs.h
<<_ACEOF
19342 #define HAVE_CCOSHL 1
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19351 $as_echo_n "checking for expf... " >&6; }
19352 if ${gcc_cv_math_func_expf+:} false
; then :
19353 $as_echo_n "(cached) " >&6
19355 if test x
$gcc_no_link = xyes
; then
19356 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19361 #ifdef HAVE_COMPLEX_H
19362 #include <complex.h>
19368 int (*ptr)() = (int (*)())expf;
19377 if ac_fn_c_try_link
"$LINENO"; then :
19378 gcc_cv_math_func_expf
=yes
19380 gcc_cv_math_func_expf
=no
19382 rm -f core conftest.err conftest.
$ac_objext \
19383 conftest
$ac_exeext conftest.
$ac_ext
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19386 $as_echo "$gcc_cv_math_func_expf" >&6; }
19387 if test $gcc_cv_math_func_expf = yes; then
19389 cat >>confdefs.h
<<_ACEOF
19390 #define HAVE_EXPF 1
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19399 $as_echo_n "checking for exp... " >&6; }
19400 if ${gcc_cv_math_func_exp+:} false
; then :
19401 $as_echo_n "(cached) " >&6
19403 if test x
$gcc_no_link = xyes
; then
19404 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19409 #ifdef HAVE_COMPLEX_H
19410 #include <complex.h>
19416 int (*ptr)() = (int (*)())exp;
19425 if ac_fn_c_try_link
"$LINENO"; then :
19426 gcc_cv_math_func_exp
=yes
19428 gcc_cv_math_func_exp
=no
19430 rm -f core conftest.err conftest.
$ac_objext \
19431 conftest
$ac_exeext conftest.
$ac_ext
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19434 $as_echo "$gcc_cv_math_func_exp" >&6; }
19435 if test $gcc_cv_math_func_exp = yes; then
19437 cat >>confdefs.h
<<_ACEOF
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19447 $as_echo_n "checking for expl... " >&6; }
19448 if ${gcc_cv_math_func_expl+:} false
; then :
19449 $as_echo_n "(cached) " >&6
19451 if test x
$gcc_no_link = xyes
; then
19452 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19457 #ifdef HAVE_COMPLEX_H
19458 #include <complex.h>
19464 int (*ptr)() = (int (*)())expl;
19473 if ac_fn_c_try_link
"$LINENO"; then :
19474 gcc_cv_math_func_expl
=yes
19476 gcc_cv_math_func_expl
=no
19478 rm -f core conftest.err conftest.
$ac_objext \
19479 conftest
$ac_exeext conftest.
$ac_ext
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19482 $as_echo "$gcc_cv_math_func_expl" >&6; }
19483 if test $gcc_cv_math_func_expl = yes; then
19485 cat >>confdefs.h
<<_ACEOF
19486 #define HAVE_EXPL 1
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19495 $as_echo_n "checking for cexpf... " >&6; }
19496 if ${gcc_cv_math_func_cexpf+:} false
; then :
19497 $as_echo_n "(cached) " >&6
19499 if test x
$gcc_no_link = xyes
; then
19500 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19505 #ifdef HAVE_COMPLEX_H
19506 #include <complex.h>
19512 int (*ptr)() = (int (*)())cexpf;
19521 if ac_fn_c_try_link
"$LINENO"; then :
19522 gcc_cv_math_func_cexpf
=yes
19524 gcc_cv_math_func_cexpf
=no
19526 rm -f core conftest.err conftest.
$ac_objext \
19527 conftest
$ac_exeext conftest.
$ac_ext
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19530 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19531 if test $gcc_cv_math_func_cexpf = yes; then
19533 cat >>confdefs.h
<<_ACEOF
19534 #define HAVE_CEXPF 1
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19543 $as_echo_n "checking for cexp... " >&6; }
19544 if ${gcc_cv_math_func_cexp+:} false
; then :
19545 $as_echo_n "(cached) " >&6
19547 if test x
$gcc_no_link = xyes
; then
19548 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19553 #ifdef HAVE_COMPLEX_H
19554 #include <complex.h>
19560 int (*ptr)() = (int (*)())cexp;
19569 if ac_fn_c_try_link
"$LINENO"; then :
19570 gcc_cv_math_func_cexp
=yes
19572 gcc_cv_math_func_cexp
=no
19574 rm -f core conftest.err conftest.
$ac_objext \
19575 conftest
$ac_exeext conftest.
$ac_ext
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19578 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19579 if test $gcc_cv_math_func_cexp = yes; then
19581 cat >>confdefs.h
<<_ACEOF
19582 #define HAVE_CEXP 1
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19591 $as_echo_n "checking for cexpl... " >&6; }
19592 if ${gcc_cv_math_func_cexpl+:} false
; then :
19593 $as_echo_n "(cached) " >&6
19595 if test x
$gcc_no_link = xyes
; then
19596 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19601 #ifdef HAVE_COMPLEX_H
19602 #include <complex.h>
19608 int (*ptr)() = (int (*)())cexpl;
19617 if ac_fn_c_try_link
"$LINENO"; then :
19618 gcc_cv_math_func_cexpl
=yes
19620 gcc_cv_math_func_cexpl
=no
19622 rm -f core conftest.err conftest.
$ac_objext \
19623 conftest
$ac_exeext conftest.
$ac_ext
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19626 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19627 if test $gcc_cv_math_func_cexpl = yes; then
19629 cat >>confdefs.h
<<_ACEOF
19630 #define HAVE_CEXPL 1
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19639 $as_echo_n "checking for fabsf... " >&6; }
19640 if ${gcc_cv_math_func_fabsf+:} false
; then :
19641 $as_echo_n "(cached) " >&6
19643 if test x
$gcc_no_link = xyes
; then
19644 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19649 #ifdef HAVE_COMPLEX_H
19650 #include <complex.h>
19656 int (*ptr)() = (int (*)())fabsf;
19665 if ac_fn_c_try_link
"$LINENO"; then :
19666 gcc_cv_math_func_fabsf
=yes
19668 gcc_cv_math_func_fabsf
=no
19670 rm -f core conftest.err conftest.
$ac_objext \
19671 conftest
$ac_exeext conftest.
$ac_ext
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19674 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19675 if test $gcc_cv_math_func_fabsf = yes; then
19677 cat >>confdefs.h
<<_ACEOF
19678 #define HAVE_FABSF 1
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19687 $as_echo_n "checking for fabs... " >&6; }
19688 if ${gcc_cv_math_func_fabs+:} false
; then :
19689 $as_echo_n "(cached) " >&6
19691 if test x
$gcc_no_link = xyes
; then
19692 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19697 #ifdef HAVE_COMPLEX_H
19698 #include <complex.h>
19704 int (*ptr)() = (int (*)())fabs;
19713 if ac_fn_c_try_link
"$LINENO"; then :
19714 gcc_cv_math_func_fabs
=yes
19716 gcc_cv_math_func_fabs
=no
19718 rm -f core conftest.err conftest.
$ac_objext \
19719 conftest
$ac_exeext conftest.
$ac_ext
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19722 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19723 if test $gcc_cv_math_func_fabs = yes; then
19725 cat >>confdefs.h
<<_ACEOF
19726 #define HAVE_FABS 1
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19735 $as_echo_n "checking for fabsl... " >&6; }
19736 if ${gcc_cv_math_func_fabsl+:} false
; then :
19737 $as_echo_n "(cached) " >&6
19739 if test x
$gcc_no_link = xyes
; then
19740 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19743 /* end confdefs.h. */
19745 #ifdef HAVE_COMPLEX_H
19746 #include <complex.h>
19752 int (*ptr)() = (int (*)())fabsl;
19761 if ac_fn_c_try_link
"$LINENO"; then :
19762 gcc_cv_math_func_fabsl
=yes
19764 gcc_cv_math_func_fabsl
=no
19766 rm -f core conftest.err conftest.
$ac_objext \
19767 conftest
$ac_exeext conftest.
$ac_ext
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19770 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19771 if test $gcc_cv_math_func_fabsl = yes; then
19773 cat >>confdefs.h
<<_ACEOF
19774 #define HAVE_FABSL 1
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19783 $as_echo_n "checking for cabsf... " >&6; }
19784 if ${gcc_cv_math_func_cabsf+:} false
; then :
19785 $as_echo_n "(cached) " >&6
19787 if test x
$gcc_no_link = xyes
; then
19788 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19793 #ifdef HAVE_COMPLEX_H
19794 #include <complex.h>
19800 int (*ptr)() = (int (*)())cabsf;
19809 if ac_fn_c_try_link
"$LINENO"; then :
19810 gcc_cv_math_func_cabsf
=yes
19812 gcc_cv_math_func_cabsf
=no
19814 rm -f core conftest.err conftest.
$ac_objext \
19815 conftest
$ac_exeext conftest.
$ac_ext
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19818 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19819 if test $gcc_cv_math_func_cabsf = yes; then
19821 cat >>confdefs.h
<<_ACEOF
19822 #define HAVE_CABSF 1
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19831 $as_echo_n "checking for cabs... " >&6; }
19832 if ${gcc_cv_math_func_cabs+:} false
; then :
19833 $as_echo_n "(cached) " >&6
19835 if test x
$gcc_no_link = xyes
; then
19836 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19841 #ifdef HAVE_COMPLEX_H
19842 #include <complex.h>
19848 int (*ptr)() = (int (*)())cabs;
19857 if ac_fn_c_try_link
"$LINENO"; then :
19858 gcc_cv_math_func_cabs
=yes
19860 gcc_cv_math_func_cabs
=no
19862 rm -f core conftest.err conftest.
$ac_objext \
19863 conftest
$ac_exeext conftest.
$ac_ext
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19866 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19867 if test $gcc_cv_math_func_cabs = yes; then
19869 cat >>confdefs.h
<<_ACEOF
19870 #define HAVE_CABS 1
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19879 $as_echo_n "checking for cabsl... " >&6; }
19880 if ${gcc_cv_math_func_cabsl+:} false
; then :
19881 $as_echo_n "(cached) " >&6
19883 if test x
$gcc_no_link = xyes
; then
19884 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19889 #ifdef HAVE_COMPLEX_H
19890 #include <complex.h>
19896 int (*ptr)() = (int (*)())cabsl;
19905 if ac_fn_c_try_link
"$LINENO"; then :
19906 gcc_cv_math_func_cabsl
=yes
19908 gcc_cv_math_func_cabsl
=no
19910 rm -f core conftest.err conftest.
$ac_objext \
19911 conftest
$ac_exeext conftest.
$ac_ext
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19914 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19915 if test $gcc_cv_math_func_cabsl = yes; then
19917 cat >>confdefs.h
<<_ACEOF
19918 #define HAVE_CABSL 1
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19927 $as_echo_n "checking for floorf... " >&6; }
19928 if ${gcc_cv_math_func_floorf+:} false
; then :
19929 $as_echo_n "(cached) " >&6
19931 if test x
$gcc_no_link = xyes
; then
19932 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19937 #ifdef HAVE_COMPLEX_H
19938 #include <complex.h>
19944 int (*ptr)() = (int (*)())floorf;
19953 if ac_fn_c_try_link
"$LINENO"; then :
19954 gcc_cv_math_func_floorf
=yes
19956 gcc_cv_math_func_floorf
=no
19958 rm -f core conftest.err conftest.
$ac_objext \
19959 conftest
$ac_exeext conftest.
$ac_ext
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19962 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19963 if test $gcc_cv_math_func_floorf = yes; then
19965 cat >>confdefs.h
<<_ACEOF
19966 #define HAVE_FLOORF 1
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19975 $as_echo_n "checking for floor... " >&6; }
19976 if ${gcc_cv_math_func_floor+:} false
; then :
19977 $as_echo_n "(cached) " >&6
19979 if test x
$gcc_no_link = xyes
; then
19980 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19983 /* end confdefs.h. */
19985 #ifdef HAVE_COMPLEX_H
19986 #include <complex.h>
19992 int (*ptr)() = (int (*)())floor;
20001 if ac_fn_c_try_link
"$LINENO"; then :
20002 gcc_cv_math_func_floor
=yes
20004 gcc_cv_math_func_floor
=no
20006 rm -f core conftest.err conftest.
$ac_objext \
20007 conftest
$ac_exeext conftest.
$ac_ext
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20010 $as_echo "$gcc_cv_math_func_floor" >&6; }
20011 if test $gcc_cv_math_func_floor = yes; then
20013 cat >>confdefs.h
<<_ACEOF
20014 #define HAVE_FLOOR 1
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20023 $as_echo_n "checking for floorl... " >&6; }
20024 if ${gcc_cv_math_func_floorl+:} false
; then :
20025 $as_echo_n "(cached) " >&6
20027 if test x
$gcc_no_link = xyes
; then
20028 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20033 #ifdef HAVE_COMPLEX_H
20034 #include <complex.h>
20040 int (*ptr)() = (int (*)())floorl;
20049 if ac_fn_c_try_link
"$LINENO"; then :
20050 gcc_cv_math_func_floorl
=yes
20052 gcc_cv_math_func_floorl
=no
20054 rm -f core conftest.err conftest.
$ac_objext \
20055 conftest
$ac_exeext conftest.
$ac_ext
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20058 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20059 if test $gcc_cv_math_func_floorl = yes; then
20061 cat >>confdefs.h
<<_ACEOF
20062 #define HAVE_FLOORL 1
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20071 $as_echo_n "checking for fmaf... " >&6; }
20072 if ${gcc_cv_math_func_fmaf+:} false
; then :
20073 $as_echo_n "(cached) " >&6
20075 if test x
$gcc_no_link = xyes
; then
20076 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20081 #ifdef HAVE_COMPLEX_H
20082 #include <complex.h>
20088 int (*ptr)() = (int (*)())fmaf;
20097 if ac_fn_c_try_link
"$LINENO"; then :
20098 gcc_cv_math_func_fmaf
=yes
20100 gcc_cv_math_func_fmaf
=no
20102 rm -f core conftest.err conftest.
$ac_objext \
20103 conftest
$ac_exeext conftest.
$ac_ext
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20106 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20107 if test $gcc_cv_math_func_fmaf = yes; then
20109 cat >>confdefs.h
<<_ACEOF
20110 #define HAVE_FMAF 1
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20119 $as_echo_n "checking for fma... " >&6; }
20120 if ${gcc_cv_math_func_fma+:} false
; then :
20121 $as_echo_n "(cached) " >&6
20123 if test x
$gcc_no_link = xyes
; then
20124 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20129 #ifdef HAVE_COMPLEX_H
20130 #include <complex.h>
20136 int (*ptr)() = (int (*)())fma;
20145 if ac_fn_c_try_link
"$LINENO"; then :
20146 gcc_cv_math_func_fma
=yes
20148 gcc_cv_math_func_fma
=no
20150 rm -f core conftest.err conftest.
$ac_objext \
20151 conftest
$ac_exeext conftest.
$ac_ext
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20154 $as_echo "$gcc_cv_math_func_fma" >&6; }
20155 if test $gcc_cv_math_func_fma = yes; then
20157 cat >>confdefs.h
<<_ACEOF
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20167 $as_echo_n "checking for fmal... " >&6; }
20168 if ${gcc_cv_math_func_fmal+:} false
; then :
20169 $as_echo_n "(cached) " >&6
20171 if test x
$gcc_no_link = xyes
; then
20172 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20177 #ifdef HAVE_COMPLEX_H
20178 #include <complex.h>
20184 int (*ptr)() = (int (*)())fmal;
20193 if ac_fn_c_try_link
"$LINENO"; then :
20194 gcc_cv_math_func_fmal
=yes
20196 gcc_cv_math_func_fmal
=no
20198 rm -f core conftest.err conftest.
$ac_objext \
20199 conftest
$ac_exeext conftest.
$ac_ext
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20202 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20203 if test $gcc_cv_math_func_fmal = yes; then
20205 cat >>confdefs.h
<<_ACEOF
20206 #define HAVE_FMAL 1
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20215 $as_echo_n "checking for fmodf... " >&6; }
20216 if ${gcc_cv_math_func_fmodf+:} false
; then :
20217 $as_echo_n "(cached) " >&6
20219 if test x
$gcc_no_link = xyes
; then
20220 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20225 #ifdef HAVE_COMPLEX_H
20226 #include <complex.h>
20232 int (*ptr)() = (int (*)())fmodf;
20241 if ac_fn_c_try_link
"$LINENO"; then :
20242 gcc_cv_math_func_fmodf
=yes
20244 gcc_cv_math_func_fmodf
=no
20246 rm -f core conftest.err conftest.
$ac_objext \
20247 conftest
$ac_exeext conftest.
$ac_ext
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20250 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20251 if test $gcc_cv_math_func_fmodf = yes; then
20253 cat >>confdefs.h
<<_ACEOF
20254 #define HAVE_FMODF 1
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20263 $as_echo_n "checking for fmod... " >&6; }
20264 if ${gcc_cv_math_func_fmod+:} false
; then :
20265 $as_echo_n "(cached) " >&6
20267 if test x
$gcc_no_link = xyes
; then
20268 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20273 #ifdef HAVE_COMPLEX_H
20274 #include <complex.h>
20280 int (*ptr)() = (int (*)())fmod;
20289 if ac_fn_c_try_link
"$LINENO"; then :
20290 gcc_cv_math_func_fmod
=yes
20292 gcc_cv_math_func_fmod
=no
20294 rm -f core conftest.err conftest.
$ac_objext \
20295 conftest
$ac_exeext conftest.
$ac_ext
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20298 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20299 if test $gcc_cv_math_func_fmod = yes; then
20301 cat >>confdefs.h
<<_ACEOF
20302 #define HAVE_FMOD 1
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20311 $as_echo_n "checking for fmodl... " >&6; }
20312 if ${gcc_cv_math_func_fmodl+:} false
; then :
20313 $as_echo_n "(cached) " >&6
20315 if test x
$gcc_no_link = xyes
; then
20316 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20321 #ifdef HAVE_COMPLEX_H
20322 #include <complex.h>
20328 int (*ptr)() = (int (*)())fmodl;
20337 if ac_fn_c_try_link
"$LINENO"; then :
20338 gcc_cv_math_func_fmodl
=yes
20340 gcc_cv_math_func_fmodl
=no
20342 rm -f core conftest.err conftest.
$ac_objext \
20343 conftest
$ac_exeext conftest.
$ac_ext
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20346 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20347 if test $gcc_cv_math_func_fmodl = yes; then
20349 cat >>confdefs.h
<<_ACEOF
20350 #define HAVE_FMODL 1
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20359 $as_echo_n "checking for frexpf... " >&6; }
20360 if ${gcc_cv_math_func_frexpf+:} false
; then :
20361 $as_echo_n "(cached) " >&6
20363 if test x
$gcc_no_link = xyes
; then
20364 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20367 /* end confdefs.h. */
20369 #ifdef HAVE_COMPLEX_H
20370 #include <complex.h>
20376 int (*ptr)() = (int (*)())frexpf;
20385 if ac_fn_c_try_link
"$LINENO"; then :
20386 gcc_cv_math_func_frexpf
=yes
20388 gcc_cv_math_func_frexpf
=no
20390 rm -f core conftest.err conftest.
$ac_objext \
20391 conftest
$ac_exeext conftest.
$ac_ext
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20394 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20395 if test $gcc_cv_math_func_frexpf = yes; then
20397 cat >>confdefs.h
<<_ACEOF
20398 #define HAVE_FREXPF 1
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20407 $as_echo_n "checking for frexp... " >&6; }
20408 if ${gcc_cv_math_func_frexp+:} false
; then :
20409 $as_echo_n "(cached) " >&6
20411 if test x
$gcc_no_link = xyes
; then
20412 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20417 #ifdef HAVE_COMPLEX_H
20418 #include <complex.h>
20424 int (*ptr)() = (int (*)())frexp;
20433 if ac_fn_c_try_link
"$LINENO"; then :
20434 gcc_cv_math_func_frexp
=yes
20436 gcc_cv_math_func_frexp
=no
20438 rm -f core conftest.err conftest.
$ac_objext \
20439 conftest
$ac_exeext conftest.
$ac_ext
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20442 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20443 if test $gcc_cv_math_func_frexp = yes; then
20445 cat >>confdefs.h
<<_ACEOF
20446 #define HAVE_FREXP 1
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20455 $as_echo_n "checking for frexpl... " >&6; }
20456 if ${gcc_cv_math_func_frexpl+:} false
; then :
20457 $as_echo_n "(cached) " >&6
20459 if test x
$gcc_no_link = xyes
; then
20460 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20463 /* end confdefs.h. */
20465 #ifdef HAVE_COMPLEX_H
20466 #include <complex.h>
20472 int (*ptr)() = (int (*)())frexpl;
20481 if ac_fn_c_try_link
"$LINENO"; then :
20482 gcc_cv_math_func_frexpl
=yes
20484 gcc_cv_math_func_frexpl
=no
20486 rm -f core conftest.err conftest.
$ac_objext \
20487 conftest
$ac_exeext conftest.
$ac_ext
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20490 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20491 if test $gcc_cv_math_func_frexpl = yes; then
20493 cat >>confdefs.h
<<_ACEOF
20494 #define HAVE_FREXPL 1
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20503 $as_echo_n "checking for hypotf... " >&6; }
20504 if ${gcc_cv_math_func_hypotf+:} false
; then :
20505 $as_echo_n "(cached) " >&6
20507 if test x
$gcc_no_link = xyes
; then
20508 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20513 #ifdef HAVE_COMPLEX_H
20514 #include <complex.h>
20520 int (*ptr)() = (int (*)())hypotf;
20529 if ac_fn_c_try_link
"$LINENO"; then :
20530 gcc_cv_math_func_hypotf
=yes
20532 gcc_cv_math_func_hypotf
=no
20534 rm -f core conftest.err conftest.
$ac_objext \
20535 conftest
$ac_exeext conftest.
$ac_ext
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20538 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20539 if test $gcc_cv_math_func_hypotf = yes; then
20541 cat >>confdefs.h
<<_ACEOF
20542 #define HAVE_HYPOTF 1
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20551 $as_echo_n "checking for hypot... " >&6; }
20552 if ${gcc_cv_math_func_hypot+:} false
; then :
20553 $as_echo_n "(cached) " >&6
20555 if test x
$gcc_no_link = xyes
; then
20556 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20559 /* end confdefs.h. */
20561 #ifdef HAVE_COMPLEX_H
20562 #include <complex.h>
20568 int (*ptr)() = (int (*)())hypot;
20577 if ac_fn_c_try_link
"$LINENO"; then :
20578 gcc_cv_math_func_hypot
=yes
20580 gcc_cv_math_func_hypot
=no
20582 rm -f core conftest.err conftest.
$ac_objext \
20583 conftest
$ac_exeext conftest.
$ac_ext
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20586 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20587 if test $gcc_cv_math_func_hypot = yes; then
20589 cat >>confdefs.h
<<_ACEOF
20590 #define HAVE_HYPOT 1
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20599 $as_echo_n "checking for hypotl... " >&6; }
20600 if ${gcc_cv_math_func_hypotl+:} false
; then :
20601 $as_echo_n "(cached) " >&6
20603 if test x
$gcc_no_link = xyes
; then
20604 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20609 #ifdef HAVE_COMPLEX_H
20610 #include <complex.h>
20616 int (*ptr)() = (int (*)())hypotl;
20625 if ac_fn_c_try_link
"$LINENO"; then :
20626 gcc_cv_math_func_hypotl
=yes
20628 gcc_cv_math_func_hypotl
=no
20630 rm -f core conftest.err conftest.
$ac_objext \
20631 conftest
$ac_exeext conftest.
$ac_ext
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20634 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20635 if test $gcc_cv_math_func_hypotl = yes; then
20637 cat >>confdefs.h
<<_ACEOF
20638 #define HAVE_HYPOTL 1
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20647 $as_echo_n "checking for ldexpf... " >&6; }
20648 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20649 $as_echo_n "(cached) " >&6
20651 if test x
$gcc_no_link = xyes
; then
20652 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20657 #ifdef HAVE_COMPLEX_H
20658 #include <complex.h>
20664 int (*ptr)() = (int (*)())ldexpf;
20673 if ac_fn_c_try_link
"$LINENO"; then :
20674 gcc_cv_math_func_ldexpf
=yes
20676 gcc_cv_math_func_ldexpf
=no
20678 rm -f core conftest.err conftest.
$ac_objext \
20679 conftest
$ac_exeext conftest.
$ac_ext
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20682 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20683 if test $gcc_cv_math_func_ldexpf = yes; then
20685 cat >>confdefs.h
<<_ACEOF
20686 #define HAVE_LDEXPF 1
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20695 $as_echo_n "checking for ldexp... " >&6; }
20696 if ${gcc_cv_math_func_ldexp+:} false
; then :
20697 $as_echo_n "(cached) " >&6
20699 if test x
$gcc_no_link = xyes
; then
20700 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20703 /* end confdefs.h. */
20705 #ifdef HAVE_COMPLEX_H
20706 #include <complex.h>
20712 int (*ptr)() = (int (*)())ldexp;
20721 if ac_fn_c_try_link
"$LINENO"; then :
20722 gcc_cv_math_func_ldexp
=yes
20724 gcc_cv_math_func_ldexp
=no
20726 rm -f core conftest.err conftest.
$ac_objext \
20727 conftest
$ac_exeext conftest.
$ac_ext
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20730 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20731 if test $gcc_cv_math_func_ldexp = yes; then
20733 cat >>confdefs.h
<<_ACEOF
20734 #define HAVE_LDEXP 1
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20743 $as_echo_n "checking for ldexpl... " >&6; }
20744 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20745 $as_echo_n "(cached) " >&6
20747 if test x
$gcc_no_link = xyes
; then
20748 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20751 /* end confdefs.h. */
20753 #ifdef HAVE_COMPLEX_H
20754 #include <complex.h>
20760 int (*ptr)() = (int (*)())ldexpl;
20769 if ac_fn_c_try_link
"$LINENO"; then :
20770 gcc_cv_math_func_ldexpl
=yes
20772 gcc_cv_math_func_ldexpl
=no
20774 rm -f core conftest.err conftest.
$ac_objext \
20775 conftest
$ac_exeext conftest.
$ac_ext
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20778 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20779 if test $gcc_cv_math_func_ldexpl = yes; then
20781 cat >>confdefs.h
<<_ACEOF
20782 #define HAVE_LDEXPL 1
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20791 $as_echo_n "checking for logf... " >&6; }
20792 if ${gcc_cv_math_func_logf+:} false
; then :
20793 $as_echo_n "(cached) " >&6
20795 if test x
$gcc_no_link = xyes
; then
20796 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20801 #ifdef HAVE_COMPLEX_H
20802 #include <complex.h>
20808 int (*ptr)() = (int (*)())logf;
20817 if ac_fn_c_try_link
"$LINENO"; then :
20818 gcc_cv_math_func_logf
=yes
20820 gcc_cv_math_func_logf
=no
20822 rm -f core conftest.err conftest.
$ac_objext \
20823 conftest
$ac_exeext conftest.
$ac_ext
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20826 $as_echo "$gcc_cv_math_func_logf" >&6; }
20827 if test $gcc_cv_math_func_logf = yes; then
20829 cat >>confdefs.h
<<_ACEOF
20830 #define HAVE_LOGF 1
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20839 $as_echo_n "checking for log... " >&6; }
20840 if ${gcc_cv_math_func_log+:} false
; then :
20841 $as_echo_n "(cached) " >&6
20843 if test x
$gcc_no_link = xyes
; then
20844 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20847 /* end confdefs.h. */
20849 #ifdef HAVE_COMPLEX_H
20850 #include <complex.h>
20856 int (*ptr)() = (int (*)())log;
20865 if ac_fn_c_try_link
"$LINENO"; then :
20866 gcc_cv_math_func_log
=yes
20868 gcc_cv_math_func_log
=no
20870 rm -f core conftest.err conftest.
$ac_objext \
20871 conftest
$ac_exeext conftest.
$ac_ext
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20874 $as_echo "$gcc_cv_math_func_log" >&6; }
20875 if test $gcc_cv_math_func_log = yes; then
20877 cat >>confdefs.h
<<_ACEOF
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20887 $as_echo_n "checking for logl... " >&6; }
20888 if ${gcc_cv_math_func_logl+:} false
; then :
20889 $as_echo_n "(cached) " >&6
20891 if test x
$gcc_no_link = xyes
; then
20892 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20897 #ifdef HAVE_COMPLEX_H
20898 #include <complex.h>
20904 int (*ptr)() = (int (*)())logl;
20913 if ac_fn_c_try_link
"$LINENO"; then :
20914 gcc_cv_math_func_logl
=yes
20916 gcc_cv_math_func_logl
=no
20918 rm -f core conftest.err conftest.
$ac_objext \
20919 conftest
$ac_exeext conftest.
$ac_ext
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20922 $as_echo "$gcc_cv_math_func_logl" >&6; }
20923 if test $gcc_cv_math_func_logl = yes; then
20925 cat >>confdefs.h
<<_ACEOF
20926 #define HAVE_LOGL 1
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20935 $as_echo_n "checking for clogf... " >&6; }
20936 if ${gcc_cv_math_func_clogf+:} false
; then :
20937 $as_echo_n "(cached) " >&6
20939 if test x
$gcc_no_link = xyes
; then
20940 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20945 #ifdef HAVE_COMPLEX_H
20946 #include <complex.h>
20952 int (*ptr)() = (int (*)())clogf;
20961 if ac_fn_c_try_link
"$LINENO"; then :
20962 gcc_cv_math_func_clogf
=yes
20964 gcc_cv_math_func_clogf
=no
20966 rm -f core conftest.err conftest.
$ac_objext \
20967 conftest
$ac_exeext conftest.
$ac_ext
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20970 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20971 if test $gcc_cv_math_func_clogf = yes; then
20973 cat >>confdefs.h
<<_ACEOF
20974 #define HAVE_CLOGF 1
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20983 $as_echo_n "checking for clog... " >&6; }
20984 if ${gcc_cv_math_func_clog+:} false
; then :
20985 $as_echo_n "(cached) " >&6
20987 if test x
$gcc_no_link = xyes
; then
20988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20993 #ifdef HAVE_COMPLEX_H
20994 #include <complex.h>
21000 int (*ptr)() = (int (*)())clog;
21009 if ac_fn_c_try_link
"$LINENO"; then :
21010 gcc_cv_math_func_clog
=yes
21012 gcc_cv_math_func_clog
=no
21014 rm -f core conftest.err conftest.
$ac_objext \
21015 conftest
$ac_exeext conftest.
$ac_ext
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21018 $as_echo "$gcc_cv_math_func_clog" >&6; }
21019 if test $gcc_cv_math_func_clog = yes; then
21021 cat >>confdefs.h
<<_ACEOF
21022 #define HAVE_CLOG 1
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21031 $as_echo_n "checking for clogl... " >&6; }
21032 if ${gcc_cv_math_func_clogl+:} false
; then :
21033 $as_echo_n "(cached) " >&6
21035 if test x
$gcc_no_link = xyes
; then
21036 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21041 #ifdef HAVE_COMPLEX_H
21042 #include <complex.h>
21048 int (*ptr)() = (int (*)())clogl;
21057 if ac_fn_c_try_link
"$LINENO"; then :
21058 gcc_cv_math_func_clogl
=yes
21060 gcc_cv_math_func_clogl
=no
21062 rm -f core conftest.err conftest.
$ac_objext \
21063 conftest
$ac_exeext conftest.
$ac_ext
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21066 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21067 if test $gcc_cv_math_func_clogl = yes; then
21069 cat >>confdefs.h
<<_ACEOF
21070 #define HAVE_CLOGL 1
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21079 $as_echo_n "checking for log10f... " >&6; }
21080 if ${gcc_cv_math_func_log10f+:} false
; then :
21081 $as_echo_n "(cached) " >&6
21083 if test x
$gcc_no_link = xyes
; then
21084 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21089 #ifdef HAVE_COMPLEX_H
21090 #include <complex.h>
21096 int (*ptr)() = (int (*)())log10f;
21105 if ac_fn_c_try_link
"$LINENO"; then :
21106 gcc_cv_math_func_log10f
=yes
21108 gcc_cv_math_func_log10f
=no
21110 rm -f core conftest.err conftest.
$ac_objext \
21111 conftest
$ac_exeext conftest.
$ac_ext
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21114 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21115 if test $gcc_cv_math_func_log10f = yes; then
21117 cat >>confdefs.h
<<_ACEOF
21118 #define HAVE_LOG10F 1
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21127 $as_echo_n "checking for log10... " >&6; }
21128 if ${gcc_cv_math_func_log10+:} false
; then :
21129 $as_echo_n "(cached) " >&6
21131 if test x
$gcc_no_link = xyes
; then
21132 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h. */
21137 #ifdef HAVE_COMPLEX_H
21138 #include <complex.h>
21144 int (*ptr)() = (int (*)())log10;
21153 if ac_fn_c_try_link
"$LINENO"; then :
21154 gcc_cv_math_func_log10
=yes
21156 gcc_cv_math_func_log10
=no
21158 rm -f core conftest.err conftest.
$ac_objext \
21159 conftest
$ac_exeext conftest.
$ac_ext
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21162 $as_echo "$gcc_cv_math_func_log10" >&6; }
21163 if test $gcc_cv_math_func_log10 = yes; then
21165 cat >>confdefs.h
<<_ACEOF
21166 #define HAVE_LOG10 1
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21175 $as_echo_n "checking for log10l... " >&6; }
21176 if ${gcc_cv_math_func_log10l+:} false
; then :
21177 $as_echo_n "(cached) " >&6
21179 if test x
$gcc_no_link = xyes
; then
21180 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21185 #ifdef HAVE_COMPLEX_H
21186 #include <complex.h>
21192 int (*ptr)() = (int (*)())log10l;
21201 if ac_fn_c_try_link
"$LINENO"; then :
21202 gcc_cv_math_func_log10l
=yes
21204 gcc_cv_math_func_log10l
=no
21206 rm -f core conftest.err conftest.
$ac_objext \
21207 conftest
$ac_exeext conftest.
$ac_ext
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21210 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21211 if test $gcc_cv_math_func_log10l = yes; then
21213 cat >>confdefs.h
<<_ACEOF
21214 #define HAVE_LOG10L 1
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21223 $as_echo_n "checking for clog10f... " >&6; }
21224 if ${gcc_cv_math_func_clog10f+:} false
; then :
21225 $as_echo_n "(cached) " >&6
21227 if test x
$gcc_no_link = xyes
; then
21228 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21233 #ifdef HAVE_COMPLEX_H
21234 #include <complex.h>
21240 int (*ptr)() = (int (*)())clog10f;
21249 if ac_fn_c_try_link
"$LINENO"; then :
21250 gcc_cv_math_func_clog10f
=yes
21252 gcc_cv_math_func_clog10f
=no
21254 rm -f core conftest.err conftest.
$ac_objext \
21255 conftest
$ac_exeext conftest.
$ac_ext
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21258 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21259 if test $gcc_cv_math_func_clog10f = yes; then
21261 cat >>confdefs.h
<<_ACEOF
21262 #define HAVE_CLOG10F 1
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21271 $as_echo_n "checking for clog10... " >&6; }
21272 if ${gcc_cv_math_func_clog10+:} false
; then :
21273 $as_echo_n "(cached) " >&6
21275 if test x
$gcc_no_link = xyes
; then
21276 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21281 #ifdef HAVE_COMPLEX_H
21282 #include <complex.h>
21288 int (*ptr)() = (int (*)())clog10;
21297 if ac_fn_c_try_link
"$LINENO"; then :
21298 gcc_cv_math_func_clog10
=yes
21300 gcc_cv_math_func_clog10
=no
21302 rm -f core conftest.err conftest.
$ac_objext \
21303 conftest
$ac_exeext conftest.
$ac_ext
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21306 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21307 if test $gcc_cv_math_func_clog10 = yes; then
21309 cat >>confdefs.h
<<_ACEOF
21310 #define HAVE_CLOG10 1
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21319 $as_echo_n "checking for clog10l... " >&6; }
21320 if ${gcc_cv_math_func_clog10l+:} false
; then :
21321 $as_echo_n "(cached) " >&6
21323 if test x
$gcc_no_link = xyes
; then
21324 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21329 #ifdef HAVE_COMPLEX_H
21330 #include <complex.h>
21336 int (*ptr)() = (int (*)())clog10l;
21345 if ac_fn_c_try_link
"$LINENO"; then :
21346 gcc_cv_math_func_clog10l
=yes
21348 gcc_cv_math_func_clog10l
=no
21350 rm -f core conftest.err conftest.
$ac_objext \
21351 conftest
$ac_exeext conftest.
$ac_ext
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21354 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21355 if test $gcc_cv_math_func_clog10l = yes; then
21357 cat >>confdefs.h
<<_ACEOF
21358 #define HAVE_CLOG10L 1
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21367 $as_echo_n "checking for nextafterf... " >&6; }
21368 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21369 $as_echo_n "(cached) " >&6
21371 if test x
$gcc_no_link = xyes
; then
21372 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21377 #ifdef HAVE_COMPLEX_H
21378 #include <complex.h>
21384 int (*ptr)() = (int (*)())nextafterf;
21393 if ac_fn_c_try_link
"$LINENO"; then :
21394 gcc_cv_math_func_nextafterf
=yes
21396 gcc_cv_math_func_nextafterf
=no
21398 rm -f core conftest.err conftest.
$ac_objext \
21399 conftest
$ac_exeext conftest.
$ac_ext
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21402 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21403 if test $gcc_cv_math_func_nextafterf = yes; then
21405 cat >>confdefs.h
<<_ACEOF
21406 #define HAVE_NEXTAFTERF 1
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21415 $as_echo_n "checking for nextafter... " >&6; }
21416 if ${gcc_cv_math_func_nextafter+:} false
; then :
21417 $as_echo_n "(cached) " >&6
21419 if test x
$gcc_no_link = xyes
; then
21420 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21423 /* end confdefs.h. */
21425 #ifdef HAVE_COMPLEX_H
21426 #include <complex.h>
21432 int (*ptr)() = (int (*)())nextafter;
21441 if ac_fn_c_try_link
"$LINENO"; then :
21442 gcc_cv_math_func_nextafter
=yes
21444 gcc_cv_math_func_nextafter
=no
21446 rm -f core conftest.err conftest.
$ac_objext \
21447 conftest
$ac_exeext conftest.
$ac_ext
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21450 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21451 if test $gcc_cv_math_func_nextafter = yes; then
21453 cat >>confdefs.h
<<_ACEOF
21454 #define HAVE_NEXTAFTER 1
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21463 $as_echo_n "checking for nextafterl... " >&6; }
21464 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21465 $as_echo_n "(cached) " >&6
21467 if test x
$gcc_no_link = xyes
; then
21468 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h. */
21473 #ifdef HAVE_COMPLEX_H
21474 #include <complex.h>
21480 int (*ptr)() = (int (*)())nextafterl;
21489 if ac_fn_c_try_link
"$LINENO"; then :
21490 gcc_cv_math_func_nextafterl
=yes
21492 gcc_cv_math_func_nextafterl
=no
21494 rm -f core conftest.err conftest.
$ac_objext \
21495 conftest
$ac_exeext conftest.
$ac_ext
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21498 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21499 if test $gcc_cv_math_func_nextafterl = yes; then
21501 cat >>confdefs.h
<<_ACEOF
21502 #define HAVE_NEXTAFTERL 1
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21511 $as_echo_n "checking for powf... " >&6; }
21512 if ${gcc_cv_math_func_powf+:} false
; then :
21513 $as_echo_n "(cached) " >&6
21515 if test x
$gcc_no_link = xyes
; then
21516 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21521 #ifdef HAVE_COMPLEX_H
21522 #include <complex.h>
21528 int (*ptr)() = (int (*)())powf;
21537 if ac_fn_c_try_link
"$LINENO"; then :
21538 gcc_cv_math_func_powf
=yes
21540 gcc_cv_math_func_powf
=no
21542 rm -f core conftest.err conftest.
$ac_objext \
21543 conftest
$ac_exeext conftest.
$ac_ext
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21546 $as_echo "$gcc_cv_math_func_powf" >&6; }
21547 if test $gcc_cv_math_func_powf = yes; then
21549 cat >>confdefs.h
<<_ACEOF
21550 #define HAVE_POWF 1
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21559 $as_echo_n "checking for pow... " >&6; }
21560 if ${gcc_cv_math_func_pow+:} false
; then :
21561 $as_echo_n "(cached) " >&6
21563 if test x
$gcc_no_link = xyes
; then
21564 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21567 /* end confdefs.h. */
21569 #ifdef HAVE_COMPLEX_H
21570 #include <complex.h>
21576 int (*ptr)() = (int (*)())pow;
21585 if ac_fn_c_try_link
"$LINENO"; then :
21586 gcc_cv_math_func_pow
=yes
21588 gcc_cv_math_func_pow
=no
21590 rm -f core conftest.err conftest.
$ac_objext \
21591 conftest
$ac_exeext conftest.
$ac_ext
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21594 $as_echo "$gcc_cv_math_func_pow" >&6; }
21595 if test $gcc_cv_math_func_pow = yes; then
21597 cat >>confdefs.h
<<_ACEOF
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21607 $as_echo_n "checking for cpowf... " >&6; }
21608 if ${gcc_cv_math_func_cpowf+:} false
; then :
21609 $as_echo_n "(cached) " >&6
21611 if test x
$gcc_no_link = xyes
; then
21612 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21617 #ifdef HAVE_COMPLEX_H
21618 #include <complex.h>
21624 int (*ptr)() = (int (*)())cpowf;
21633 if ac_fn_c_try_link
"$LINENO"; then :
21634 gcc_cv_math_func_cpowf
=yes
21636 gcc_cv_math_func_cpowf
=no
21638 rm -f core conftest.err conftest.
$ac_objext \
21639 conftest
$ac_exeext conftest.
$ac_ext
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21642 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21643 if test $gcc_cv_math_func_cpowf = yes; then
21645 cat >>confdefs.h
<<_ACEOF
21646 #define HAVE_CPOWF 1
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21655 $as_echo_n "checking for cpow... " >&6; }
21656 if ${gcc_cv_math_func_cpow+:} false
; then :
21657 $as_echo_n "(cached) " >&6
21659 if test x
$gcc_no_link = xyes
; then
21660 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21665 #ifdef HAVE_COMPLEX_H
21666 #include <complex.h>
21672 int (*ptr)() = (int (*)())cpow;
21681 if ac_fn_c_try_link
"$LINENO"; then :
21682 gcc_cv_math_func_cpow
=yes
21684 gcc_cv_math_func_cpow
=no
21686 rm -f core conftest.err conftest.
$ac_objext \
21687 conftest
$ac_exeext conftest.
$ac_ext
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21690 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21691 if test $gcc_cv_math_func_cpow = yes; then
21693 cat >>confdefs.h
<<_ACEOF
21694 #define HAVE_CPOW 1
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21703 $as_echo_n "checking for cpowl... " >&6; }
21704 if ${gcc_cv_math_func_cpowl+:} false
; then :
21705 $as_echo_n "(cached) " >&6
21707 if test x
$gcc_no_link = xyes
; then
21708 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21713 #ifdef HAVE_COMPLEX_H
21714 #include <complex.h>
21720 int (*ptr)() = (int (*)())cpowl;
21729 if ac_fn_c_try_link
"$LINENO"; then :
21730 gcc_cv_math_func_cpowl
=yes
21732 gcc_cv_math_func_cpowl
=no
21734 rm -f core conftest.err conftest.
$ac_objext \
21735 conftest
$ac_exeext conftest.
$ac_ext
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21738 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21739 if test $gcc_cv_math_func_cpowl = yes; then
21741 cat >>confdefs.h
<<_ACEOF
21742 #define HAVE_CPOWL 1
21750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21751 $as_echo_n "checking for roundf... " >&6; }
21752 if ${gcc_cv_math_func_roundf+:} false
; then :
21753 $as_echo_n "(cached) " >&6
21755 if test x
$gcc_no_link = xyes
; then
21756 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21759 /* end confdefs.h. */
21761 #ifdef HAVE_COMPLEX_H
21762 #include <complex.h>
21768 int (*ptr)() = (int (*)())roundf;
21777 if ac_fn_c_try_link
"$LINENO"; then :
21778 gcc_cv_math_func_roundf
=yes
21780 gcc_cv_math_func_roundf
=no
21782 rm -f core conftest.err conftest.
$ac_objext \
21783 conftest
$ac_exeext conftest.
$ac_ext
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21786 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21787 if test $gcc_cv_math_func_roundf = yes; then
21789 cat >>confdefs.h
<<_ACEOF
21790 #define HAVE_ROUNDF 1
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21799 $as_echo_n "checking for round... " >&6; }
21800 if ${gcc_cv_math_func_round+:} false
; then :
21801 $as_echo_n "(cached) " >&6
21803 if test x
$gcc_no_link = xyes
; then
21804 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21807 /* end confdefs.h. */
21809 #ifdef HAVE_COMPLEX_H
21810 #include <complex.h>
21816 int (*ptr)() = (int (*)())round;
21825 if ac_fn_c_try_link
"$LINENO"; then :
21826 gcc_cv_math_func_round
=yes
21828 gcc_cv_math_func_round
=no
21830 rm -f core conftest.err conftest.
$ac_objext \
21831 conftest
$ac_exeext conftest.
$ac_ext
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21834 $as_echo "$gcc_cv_math_func_round" >&6; }
21835 if test $gcc_cv_math_func_round = yes; then
21837 cat >>confdefs.h
<<_ACEOF
21838 #define HAVE_ROUND 1
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21847 $as_echo_n "checking for roundl... " >&6; }
21848 if ${gcc_cv_math_func_roundl+:} false
; then :
21849 $as_echo_n "(cached) " >&6
21851 if test x
$gcc_no_link = xyes
; then
21852 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21855 /* end confdefs.h. */
21857 #ifdef HAVE_COMPLEX_H
21858 #include <complex.h>
21864 int (*ptr)() = (int (*)())roundl;
21873 if ac_fn_c_try_link
"$LINENO"; then :
21874 gcc_cv_math_func_roundl
=yes
21876 gcc_cv_math_func_roundl
=no
21878 rm -f core conftest.err conftest.
$ac_objext \
21879 conftest
$ac_exeext conftest.
$ac_ext
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21882 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21883 if test $gcc_cv_math_func_roundl = yes; then
21885 cat >>confdefs.h
<<_ACEOF
21886 #define HAVE_ROUNDL 1
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21895 $as_echo_n "checking for lroundf... " >&6; }
21896 if ${gcc_cv_math_func_lroundf+:} false
; then :
21897 $as_echo_n "(cached) " >&6
21899 if test x
$gcc_no_link = xyes
; then
21900 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h. */
21905 #ifdef HAVE_COMPLEX_H
21906 #include <complex.h>
21912 int (*ptr)() = (int (*)())lroundf;
21921 if ac_fn_c_try_link
"$LINENO"; then :
21922 gcc_cv_math_func_lroundf
=yes
21924 gcc_cv_math_func_lroundf
=no
21926 rm -f core conftest.err conftest.
$ac_objext \
21927 conftest
$ac_exeext conftest.
$ac_ext
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21930 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21931 if test $gcc_cv_math_func_lroundf = yes; then
21933 cat >>confdefs.h
<<_ACEOF
21934 #define HAVE_LROUNDF 1
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21943 $as_echo_n "checking for lround... " >&6; }
21944 if ${gcc_cv_math_func_lround+:} false
; then :
21945 $as_echo_n "(cached) " >&6
21947 if test x
$gcc_no_link = xyes
; then
21948 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21951 /* end confdefs.h. */
21953 #ifdef HAVE_COMPLEX_H
21954 #include <complex.h>
21960 int (*ptr)() = (int (*)())lround;
21969 if ac_fn_c_try_link
"$LINENO"; then :
21970 gcc_cv_math_func_lround
=yes
21972 gcc_cv_math_func_lround
=no
21974 rm -f core conftest.err conftest.
$ac_objext \
21975 conftest
$ac_exeext conftest.
$ac_ext
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21978 $as_echo "$gcc_cv_math_func_lround" >&6; }
21979 if test $gcc_cv_math_func_lround = yes; then
21981 cat >>confdefs.h
<<_ACEOF
21982 #define HAVE_LROUND 1
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21991 $as_echo_n "checking for lroundl... " >&6; }
21992 if ${gcc_cv_math_func_lroundl+:} false
; then :
21993 $as_echo_n "(cached) " >&6
21995 if test x
$gcc_no_link = xyes
; then
21996 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21999 /* end confdefs.h. */
22001 #ifdef HAVE_COMPLEX_H
22002 #include <complex.h>
22008 int (*ptr)() = (int (*)())lroundl;
22017 if ac_fn_c_try_link
"$LINENO"; then :
22018 gcc_cv_math_func_lroundl
=yes
22020 gcc_cv_math_func_lroundl
=no
22022 rm -f core conftest.err conftest.
$ac_objext \
22023 conftest
$ac_exeext conftest.
$ac_ext
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22026 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22027 if test $gcc_cv_math_func_lroundl = yes; then
22029 cat >>confdefs.h
<<_ACEOF
22030 #define HAVE_LROUNDL 1
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22039 $as_echo_n "checking for llroundf... " >&6; }
22040 if ${gcc_cv_math_func_llroundf+:} false
; then :
22041 $as_echo_n "(cached) " >&6
22043 if test x
$gcc_no_link = xyes
; then
22044 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22047 /* end confdefs.h. */
22049 #ifdef HAVE_COMPLEX_H
22050 #include <complex.h>
22056 int (*ptr)() = (int (*)())llroundf;
22065 if ac_fn_c_try_link
"$LINENO"; then :
22066 gcc_cv_math_func_llroundf
=yes
22068 gcc_cv_math_func_llroundf
=no
22070 rm -f core conftest.err conftest.
$ac_objext \
22071 conftest
$ac_exeext conftest.
$ac_ext
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22074 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22075 if test $gcc_cv_math_func_llroundf = yes; then
22077 cat >>confdefs.h
<<_ACEOF
22078 #define HAVE_LLROUNDF 1
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22087 $as_echo_n "checking for llround... " >&6; }
22088 if ${gcc_cv_math_func_llround+:} false
; then :
22089 $as_echo_n "(cached) " >&6
22091 if test x
$gcc_no_link = xyes
; then
22092 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22097 #ifdef HAVE_COMPLEX_H
22098 #include <complex.h>
22104 int (*ptr)() = (int (*)())llround;
22113 if ac_fn_c_try_link
"$LINENO"; then :
22114 gcc_cv_math_func_llround
=yes
22116 gcc_cv_math_func_llround
=no
22118 rm -f core conftest.err conftest.
$ac_objext \
22119 conftest
$ac_exeext conftest.
$ac_ext
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22122 $as_echo "$gcc_cv_math_func_llround" >&6; }
22123 if test $gcc_cv_math_func_llround = yes; then
22125 cat >>confdefs.h
<<_ACEOF
22126 #define HAVE_LLROUND 1
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22135 $as_echo_n "checking for llroundl... " >&6; }
22136 if ${gcc_cv_math_func_llroundl+:} false
; then :
22137 $as_echo_n "(cached) " >&6
22139 if test x
$gcc_no_link = xyes
; then
22140 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22143 /* end confdefs.h. */
22145 #ifdef HAVE_COMPLEX_H
22146 #include <complex.h>
22152 int (*ptr)() = (int (*)())llroundl;
22161 if ac_fn_c_try_link
"$LINENO"; then :
22162 gcc_cv_math_func_llroundl
=yes
22164 gcc_cv_math_func_llroundl
=no
22166 rm -f core conftest.err conftest.
$ac_objext \
22167 conftest
$ac_exeext conftest.
$ac_ext
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22170 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22171 if test $gcc_cv_math_func_llroundl = yes; then
22173 cat >>confdefs.h
<<_ACEOF
22174 #define HAVE_LLROUNDL 1
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22183 $as_echo_n "checking for scalbnf... " >&6; }
22184 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22185 $as_echo_n "(cached) " >&6
22187 if test x
$gcc_no_link = xyes
; then
22188 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22191 /* end confdefs.h. */
22193 #ifdef HAVE_COMPLEX_H
22194 #include <complex.h>
22200 int (*ptr)() = (int (*)())scalbnf;
22209 if ac_fn_c_try_link
"$LINENO"; then :
22210 gcc_cv_math_func_scalbnf
=yes
22212 gcc_cv_math_func_scalbnf
=no
22214 rm -f core conftest.err conftest.
$ac_objext \
22215 conftest
$ac_exeext conftest.
$ac_ext
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22218 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22219 if test $gcc_cv_math_func_scalbnf = yes; then
22221 cat >>confdefs.h
<<_ACEOF
22222 #define HAVE_SCALBNF 1
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22231 $as_echo_n "checking for scalbn... " >&6; }
22232 if ${gcc_cv_math_func_scalbn+:} false
; then :
22233 $as_echo_n "(cached) " >&6
22235 if test x
$gcc_no_link = xyes
; then
22236 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h. */
22241 #ifdef HAVE_COMPLEX_H
22242 #include <complex.h>
22248 int (*ptr)() = (int (*)())scalbn;
22257 if ac_fn_c_try_link
"$LINENO"; then :
22258 gcc_cv_math_func_scalbn
=yes
22260 gcc_cv_math_func_scalbn
=no
22262 rm -f core conftest.err conftest.
$ac_objext \
22263 conftest
$ac_exeext conftest.
$ac_ext
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22266 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22267 if test $gcc_cv_math_func_scalbn = yes; then
22269 cat >>confdefs.h
<<_ACEOF
22270 #define HAVE_SCALBN 1
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22279 $as_echo_n "checking for scalbnl... " >&6; }
22280 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22281 $as_echo_n "(cached) " >&6
22283 if test x
$gcc_no_link = xyes
; then
22284 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22287 /* end confdefs.h. */
22289 #ifdef HAVE_COMPLEX_H
22290 #include <complex.h>
22296 int (*ptr)() = (int (*)())scalbnl;
22305 if ac_fn_c_try_link
"$LINENO"; then :
22306 gcc_cv_math_func_scalbnl
=yes
22308 gcc_cv_math_func_scalbnl
=no
22310 rm -f core conftest.err conftest.
$ac_objext \
22311 conftest
$ac_exeext conftest.
$ac_ext
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22314 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22315 if test $gcc_cv_math_func_scalbnl = yes; then
22317 cat >>confdefs.h
<<_ACEOF
22318 #define HAVE_SCALBNL 1
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22327 $as_echo_n "checking for sinf... " >&6; }
22328 if ${gcc_cv_math_func_sinf+:} false
; then :
22329 $as_echo_n "(cached) " >&6
22331 if test x
$gcc_no_link = xyes
; then
22332 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22335 /* end confdefs.h. */
22337 #ifdef HAVE_COMPLEX_H
22338 #include <complex.h>
22344 int (*ptr)() = (int (*)())sinf;
22353 if ac_fn_c_try_link
"$LINENO"; then :
22354 gcc_cv_math_func_sinf
=yes
22356 gcc_cv_math_func_sinf
=no
22358 rm -f core conftest.err conftest.
$ac_objext \
22359 conftest
$ac_exeext conftest.
$ac_ext
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22362 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22363 if test $gcc_cv_math_func_sinf = yes; then
22365 cat >>confdefs.h
<<_ACEOF
22366 #define HAVE_SINF 1
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22375 $as_echo_n "checking for sin... " >&6; }
22376 if ${gcc_cv_math_func_sin+:} false
; then :
22377 $as_echo_n "(cached) " >&6
22379 if test x
$gcc_no_link = xyes
; then
22380 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22383 /* end confdefs.h. */
22385 #ifdef HAVE_COMPLEX_H
22386 #include <complex.h>
22392 int (*ptr)() = (int (*)())sin;
22401 if ac_fn_c_try_link
"$LINENO"; then :
22402 gcc_cv_math_func_sin
=yes
22404 gcc_cv_math_func_sin
=no
22406 rm -f core conftest.err conftest.
$ac_objext \
22407 conftest
$ac_exeext conftest.
$ac_ext
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22410 $as_echo "$gcc_cv_math_func_sin" >&6; }
22411 if test $gcc_cv_math_func_sin = yes; then
22413 cat >>confdefs.h
<<_ACEOF
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22423 $as_echo_n "checking for sinl... " >&6; }
22424 if ${gcc_cv_math_func_sinl+:} false
; then :
22425 $as_echo_n "(cached) " >&6
22427 if test x
$gcc_no_link = xyes
; then
22428 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22433 #ifdef HAVE_COMPLEX_H
22434 #include <complex.h>
22440 int (*ptr)() = (int (*)())sinl;
22449 if ac_fn_c_try_link
"$LINENO"; then :
22450 gcc_cv_math_func_sinl
=yes
22452 gcc_cv_math_func_sinl
=no
22454 rm -f core conftest.err conftest.
$ac_objext \
22455 conftest
$ac_exeext conftest.
$ac_ext
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22458 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22459 if test $gcc_cv_math_func_sinl = yes; then
22461 cat >>confdefs.h
<<_ACEOF
22462 #define HAVE_SINL 1
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22471 $as_echo_n "checking for csinf... " >&6; }
22472 if ${gcc_cv_math_func_csinf+:} false
; then :
22473 $as_echo_n "(cached) " >&6
22475 if test x
$gcc_no_link = xyes
; then
22476 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h. */
22481 #ifdef HAVE_COMPLEX_H
22482 #include <complex.h>
22488 int (*ptr)() = (int (*)())csinf;
22497 if ac_fn_c_try_link
"$LINENO"; then :
22498 gcc_cv_math_func_csinf
=yes
22500 gcc_cv_math_func_csinf
=no
22502 rm -f core conftest.err conftest.
$ac_objext \
22503 conftest
$ac_exeext conftest.
$ac_ext
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22506 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22507 if test $gcc_cv_math_func_csinf = yes; then
22509 cat >>confdefs.h
<<_ACEOF
22510 #define HAVE_CSINF 1
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22519 $as_echo_n "checking for csin... " >&6; }
22520 if ${gcc_cv_math_func_csin+:} false
; then :
22521 $as_echo_n "(cached) " >&6
22523 if test x
$gcc_no_link = xyes
; then
22524 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22527 /* end confdefs.h. */
22529 #ifdef HAVE_COMPLEX_H
22530 #include <complex.h>
22536 int (*ptr)() = (int (*)())csin;
22545 if ac_fn_c_try_link
"$LINENO"; then :
22546 gcc_cv_math_func_csin
=yes
22548 gcc_cv_math_func_csin
=no
22550 rm -f core conftest.err conftest.
$ac_objext \
22551 conftest
$ac_exeext conftest.
$ac_ext
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22554 $as_echo "$gcc_cv_math_func_csin" >&6; }
22555 if test $gcc_cv_math_func_csin = yes; then
22557 cat >>confdefs.h
<<_ACEOF
22558 #define HAVE_CSIN 1
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22567 $as_echo_n "checking for csinl... " >&6; }
22568 if ${gcc_cv_math_func_csinl+:} false
; then :
22569 $as_echo_n "(cached) " >&6
22571 if test x
$gcc_no_link = xyes
; then
22572 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22575 /* end confdefs.h. */
22577 #ifdef HAVE_COMPLEX_H
22578 #include <complex.h>
22584 int (*ptr)() = (int (*)())csinl;
22593 if ac_fn_c_try_link
"$LINENO"; then :
22594 gcc_cv_math_func_csinl
=yes
22596 gcc_cv_math_func_csinl
=no
22598 rm -f core conftest.err conftest.
$ac_objext \
22599 conftest
$ac_exeext conftest.
$ac_ext
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22602 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22603 if test $gcc_cv_math_func_csinl = yes; then
22605 cat >>confdefs.h
<<_ACEOF
22606 #define HAVE_CSINL 1
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22615 $as_echo_n "checking for sinhf... " >&6; }
22616 if ${gcc_cv_math_func_sinhf+:} false
; then :
22617 $as_echo_n "(cached) " >&6
22619 if test x
$gcc_no_link = xyes
; then
22620 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22623 /* end confdefs.h. */
22625 #ifdef HAVE_COMPLEX_H
22626 #include <complex.h>
22632 int (*ptr)() = (int (*)())sinhf;
22641 if ac_fn_c_try_link
"$LINENO"; then :
22642 gcc_cv_math_func_sinhf
=yes
22644 gcc_cv_math_func_sinhf
=no
22646 rm -f core conftest.err conftest.
$ac_objext \
22647 conftest
$ac_exeext conftest.
$ac_ext
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22650 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22651 if test $gcc_cv_math_func_sinhf = yes; then
22653 cat >>confdefs.h
<<_ACEOF
22654 #define HAVE_SINHF 1
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22663 $as_echo_n "checking for sinh... " >&6; }
22664 if ${gcc_cv_math_func_sinh+:} false
; then :
22665 $as_echo_n "(cached) " >&6
22667 if test x
$gcc_no_link = xyes
; then
22668 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h. */
22673 #ifdef HAVE_COMPLEX_H
22674 #include <complex.h>
22680 int (*ptr)() = (int (*)())sinh;
22689 if ac_fn_c_try_link
"$LINENO"; then :
22690 gcc_cv_math_func_sinh
=yes
22692 gcc_cv_math_func_sinh
=no
22694 rm -f core conftest.err conftest.
$ac_objext \
22695 conftest
$ac_exeext conftest.
$ac_ext
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22698 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22699 if test $gcc_cv_math_func_sinh = yes; then
22701 cat >>confdefs.h
<<_ACEOF
22702 #define HAVE_SINH 1
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22711 $as_echo_n "checking for sinhl... " >&6; }
22712 if ${gcc_cv_math_func_sinhl+:} false
; then :
22713 $as_echo_n "(cached) " >&6
22715 if test x
$gcc_no_link = xyes
; then
22716 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22721 #ifdef HAVE_COMPLEX_H
22722 #include <complex.h>
22728 int (*ptr)() = (int (*)())sinhl;
22737 if ac_fn_c_try_link
"$LINENO"; then :
22738 gcc_cv_math_func_sinhl
=yes
22740 gcc_cv_math_func_sinhl
=no
22742 rm -f core conftest.err conftest.
$ac_objext \
22743 conftest
$ac_exeext conftest.
$ac_ext
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22746 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22747 if test $gcc_cv_math_func_sinhl = yes; then
22749 cat >>confdefs.h
<<_ACEOF
22750 #define HAVE_SINHL 1
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22759 $as_echo_n "checking for csinhf... " >&6; }
22760 if ${gcc_cv_math_func_csinhf+:} false
; then :
22761 $as_echo_n "(cached) " >&6
22763 if test x
$gcc_no_link = xyes
; then
22764 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22767 /* end confdefs.h. */
22769 #ifdef HAVE_COMPLEX_H
22770 #include <complex.h>
22776 int (*ptr)() = (int (*)())csinhf;
22785 if ac_fn_c_try_link
"$LINENO"; then :
22786 gcc_cv_math_func_csinhf
=yes
22788 gcc_cv_math_func_csinhf
=no
22790 rm -f core conftest.err conftest.
$ac_objext \
22791 conftest
$ac_exeext conftest.
$ac_ext
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22794 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22795 if test $gcc_cv_math_func_csinhf = yes; then
22797 cat >>confdefs.h
<<_ACEOF
22798 #define HAVE_CSINHF 1
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22807 $as_echo_n "checking for csinh... " >&6; }
22808 if ${gcc_cv_math_func_csinh+:} false
; then :
22809 $as_echo_n "(cached) " >&6
22811 if test x
$gcc_no_link = xyes
; then
22812 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22815 /* end confdefs.h. */
22817 #ifdef HAVE_COMPLEX_H
22818 #include <complex.h>
22824 int (*ptr)() = (int (*)())csinh;
22833 if ac_fn_c_try_link
"$LINENO"; then :
22834 gcc_cv_math_func_csinh
=yes
22836 gcc_cv_math_func_csinh
=no
22838 rm -f core conftest.err conftest.
$ac_objext \
22839 conftest
$ac_exeext conftest.
$ac_ext
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22842 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22843 if test $gcc_cv_math_func_csinh = yes; then
22845 cat >>confdefs.h
<<_ACEOF
22846 #define HAVE_CSINH 1
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22855 $as_echo_n "checking for csinhl... " >&6; }
22856 if ${gcc_cv_math_func_csinhl+:} false
; then :
22857 $as_echo_n "(cached) " >&6
22859 if test x
$gcc_no_link = xyes
; then
22860 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22863 /* end confdefs.h. */
22865 #ifdef HAVE_COMPLEX_H
22866 #include <complex.h>
22872 int (*ptr)() = (int (*)())csinhl;
22881 if ac_fn_c_try_link
"$LINENO"; then :
22882 gcc_cv_math_func_csinhl
=yes
22884 gcc_cv_math_func_csinhl
=no
22886 rm -f core conftest.err conftest.
$ac_objext \
22887 conftest
$ac_exeext conftest.
$ac_ext
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22890 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22891 if test $gcc_cv_math_func_csinhl = yes; then
22893 cat >>confdefs.h
<<_ACEOF
22894 #define HAVE_CSINHL 1
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22903 $as_echo_n "checking for sqrtf... " >&6; }
22904 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22905 $as_echo_n "(cached) " >&6
22907 if test x
$gcc_no_link = xyes
; then
22908 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h. */
22913 #ifdef HAVE_COMPLEX_H
22914 #include <complex.h>
22920 int (*ptr)() = (int (*)())sqrtf;
22929 if ac_fn_c_try_link
"$LINENO"; then :
22930 gcc_cv_math_func_sqrtf
=yes
22932 gcc_cv_math_func_sqrtf
=no
22934 rm -f core conftest.err conftest.
$ac_objext \
22935 conftest
$ac_exeext conftest.
$ac_ext
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22938 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22939 if test $gcc_cv_math_func_sqrtf = yes; then
22941 cat >>confdefs.h
<<_ACEOF
22942 #define HAVE_SQRTF 1
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22951 $as_echo_n "checking for sqrt... " >&6; }
22952 if ${gcc_cv_math_func_sqrt+:} false
; then :
22953 $as_echo_n "(cached) " >&6
22955 if test x
$gcc_no_link = xyes
; then
22956 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22959 /* end confdefs.h. */
22961 #ifdef HAVE_COMPLEX_H
22962 #include <complex.h>
22968 int (*ptr)() = (int (*)())sqrt;
22977 if ac_fn_c_try_link
"$LINENO"; then :
22978 gcc_cv_math_func_sqrt
=yes
22980 gcc_cv_math_func_sqrt
=no
22982 rm -f core conftest.err conftest.
$ac_objext \
22983 conftest
$ac_exeext conftest.
$ac_ext
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22986 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22987 if test $gcc_cv_math_func_sqrt = yes; then
22989 cat >>confdefs.h
<<_ACEOF
22990 #define HAVE_SQRT 1
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22999 $as_echo_n "checking for sqrtl... " >&6; }
23000 if ${gcc_cv_math_func_sqrtl+:} false
; then :
23001 $as_echo_n "(cached) " >&6
23003 if test x
$gcc_no_link = xyes
; then
23004 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23007 /* end confdefs.h. */
23009 #ifdef HAVE_COMPLEX_H
23010 #include <complex.h>
23016 int (*ptr)() = (int (*)())sqrtl;
23025 if ac_fn_c_try_link
"$LINENO"; then :
23026 gcc_cv_math_func_sqrtl
=yes
23028 gcc_cv_math_func_sqrtl
=no
23030 rm -f core conftest.err conftest.
$ac_objext \
23031 conftest
$ac_exeext conftest.
$ac_ext
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23034 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23035 if test $gcc_cv_math_func_sqrtl = yes; then
23037 cat >>confdefs.h
<<_ACEOF
23038 #define HAVE_SQRTL 1
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23047 $as_echo_n "checking for csqrtf... " >&6; }
23048 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23049 $as_echo_n "(cached) " >&6
23051 if test x
$gcc_no_link = xyes
; then
23052 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23055 /* end confdefs.h. */
23057 #ifdef HAVE_COMPLEX_H
23058 #include <complex.h>
23064 int (*ptr)() = (int (*)())csqrtf;
23073 if ac_fn_c_try_link
"$LINENO"; then :
23074 gcc_cv_math_func_csqrtf
=yes
23076 gcc_cv_math_func_csqrtf
=no
23078 rm -f core conftest.err conftest.
$ac_objext \
23079 conftest
$ac_exeext conftest.
$ac_ext
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23082 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23083 if test $gcc_cv_math_func_csqrtf = yes; then
23085 cat >>confdefs.h
<<_ACEOF
23086 #define HAVE_CSQRTF 1
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23095 $as_echo_n "checking for csqrt... " >&6; }
23096 if ${gcc_cv_math_func_csqrt+:} false
; then :
23097 $as_echo_n "(cached) " >&6
23099 if test x
$gcc_no_link = xyes
; then
23100 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23103 /* end confdefs.h. */
23105 #ifdef HAVE_COMPLEX_H
23106 #include <complex.h>
23112 int (*ptr)() = (int (*)())csqrt;
23121 if ac_fn_c_try_link
"$LINENO"; then :
23122 gcc_cv_math_func_csqrt
=yes
23124 gcc_cv_math_func_csqrt
=no
23126 rm -f core conftest.err conftest.
$ac_objext \
23127 conftest
$ac_exeext conftest.
$ac_ext
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23130 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23131 if test $gcc_cv_math_func_csqrt = yes; then
23133 cat >>confdefs.h
<<_ACEOF
23134 #define HAVE_CSQRT 1
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23143 $as_echo_n "checking for csqrtl... " >&6; }
23144 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23145 $as_echo_n "(cached) " >&6
23147 if test x
$gcc_no_link = xyes
; then
23148 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23153 #ifdef HAVE_COMPLEX_H
23154 #include <complex.h>
23160 int (*ptr)() = (int (*)())csqrtl;
23169 if ac_fn_c_try_link
"$LINENO"; then :
23170 gcc_cv_math_func_csqrtl
=yes
23172 gcc_cv_math_func_csqrtl
=no
23174 rm -f core conftest.err conftest.
$ac_objext \
23175 conftest
$ac_exeext conftest.
$ac_ext
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23178 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23179 if test $gcc_cv_math_func_csqrtl = yes; then
23181 cat >>confdefs.h
<<_ACEOF
23182 #define HAVE_CSQRTL 1
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23191 $as_echo_n "checking for tanf... " >&6; }
23192 if ${gcc_cv_math_func_tanf+:} false
; then :
23193 $as_echo_n "(cached) " >&6
23195 if test x
$gcc_no_link = xyes
; then
23196 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23201 #ifdef HAVE_COMPLEX_H
23202 #include <complex.h>
23208 int (*ptr)() = (int (*)())tanf;
23217 if ac_fn_c_try_link
"$LINENO"; then :
23218 gcc_cv_math_func_tanf
=yes
23220 gcc_cv_math_func_tanf
=no
23222 rm -f core conftest.err conftest.
$ac_objext \
23223 conftest
$ac_exeext conftest.
$ac_ext
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23226 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23227 if test $gcc_cv_math_func_tanf = yes; then
23229 cat >>confdefs.h
<<_ACEOF
23230 #define HAVE_TANF 1
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23239 $as_echo_n "checking for tan... " >&6; }
23240 if ${gcc_cv_math_func_tan+:} false
; then :
23241 $as_echo_n "(cached) " >&6
23243 if test x
$gcc_no_link = xyes
; then
23244 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23247 /* end confdefs.h. */
23249 #ifdef HAVE_COMPLEX_H
23250 #include <complex.h>
23256 int (*ptr)() = (int (*)())tan;
23265 if ac_fn_c_try_link
"$LINENO"; then :
23266 gcc_cv_math_func_tan
=yes
23268 gcc_cv_math_func_tan
=no
23270 rm -f core conftest.err conftest.
$ac_objext \
23271 conftest
$ac_exeext conftest.
$ac_ext
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23274 $as_echo "$gcc_cv_math_func_tan" >&6; }
23275 if test $gcc_cv_math_func_tan = yes; then
23277 cat >>confdefs.h
<<_ACEOF
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23287 $as_echo_n "checking for tanl... " >&6; }
23288 if ${gcc_cv_math_func_tanl+:} false
; then :
23289 $as_echo_n "(cached) " >&6
23291 if test x
$gcc_no_link = xyes
; then
23292 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23295 /* end confdefs.h. */
23297 #ifdef HAVE_COMPLEX_H
23298 #include <complex.h>
23304 int (*ptr)() = (int (*)())tanl;
23313 if ac_fn_c_try_link
"$LINENO"; then :
23314 gcc_cv_math_func_tanl
=yes
23316 gcc_cv_math_func_tanl
=no
23318 rm -f core conftest.err conftest.
$ac_objext \
23319 conftest
$ac_exeext conftest.
$ac_ext
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23322 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23323 if test $gcc_cv_math_func_tanl = yes; then
23325 cat >>confdefs.h
<<_ACEOF
23326 #define HAVE_TANL 1
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23335 $as_echo_n "checking for ctanf... " >&6; }
23336 if ${gcc_cv_math_func_ctanf+:} false
; then :
23337 $as_echo_n "(cached) " >&6
23339 if test x
$gcc_no_link = xyes
; then
23340 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23345 #ifdef HAVE_COMPLEX_H
23346 #include <complex.h>
23352 int (*ptr)() = (int (*)())ctanf;
23361 if ac_fn_c_try_link
"$LINENO"; then :
23362 gcc_cv_math_func_ctanf
=yes
23364 gcc_cv_math_func_ctanf
=no
23366 rm -f core conftest.err conftest.
$ac_objext \
23367 conftest
$ac_exeext conftest.
$ac_ext
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23370 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23371 if test $gcc_cv_math_func_ctanf = yes; then
23373 cat >>confdefs.h
<<_ACEOF
23374 #define HAVE_CTANF 1
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23383 $as_echo_n "checking for ctan... " >&6; }
23384 if ${gcc_cv_math_func_ctan+:} false
; then :
23385 $as_echo_n "(cached) " >&6
23387 if test x
$gcc_no_link = xyes
; then
23388 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23391 /* end confdefs.h. */
23393 #ifdef HAVE_COMPLEX_H
23394 #include <complex.h>
23400 int (*ptr)() = (int (*)())ctan;
23409 if ac_fn_c_try_link
"$LINENO"; then :
23410 gcc_cv_math_func_ctan
=yes
23412 gcc_cv_math_func_ctan
=no
23414 rm -f core conftest.err conftest.
$ac_objext \
23415 conftest
$ac_exeext conftest.
$ac_ext
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23418 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23419 if test $gcc_cv_math_func_ctan = yes; then
23421 cat >>confdefs.h
<<_ACEOF
23422 #define HAVE_CTAN 1
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23431 $as_echo_n "checking for ctanl... " >&6; }
23432 if ${gcc_cv_math_func_ctanl+:} false
; then :
23433 $as_echo_n "(cached) " >&6
23435 if test x
$gcc_no_link = xyes
; then
23436 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23439 /* end confdefs.h. */
23441 #ifdef HAVE_COMPLEX_H
23442 #include <complex.h>
23448 int (*ptr)() = (int (*)())ctanl;
23457 if ac_fn_c_try_link
"$LINENO"; then :
23458 gcc_cv_math_func_ctanl
=yes
23460 gcc_cv_math_func_ctanl
=no
23462 rm -f core conftest.err conftest.
$ac_objext \
23463 conftest
$ac_exeext conftest.
$ac_ext
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23466 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23467 if test $gcc_cv_math_func_ctanl = yes; then
23469 cat >>confdefs.h
<<_ACEOF
23470 #define HAVE_CTANL 1
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23479 $as_echo_n "checking for tanhf... " >&6; }
23480 if ${gcc_cv_math_func_tanhf+:} false
; then :
23481 $as_echo_n "(cached) " >&6
23483 if test x
$gcc_no_link = xyes
; then
23484 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23487 /* end confdefs.h. */
23489 #ifdef HAVE_COMPLEX_H
23490 #include <complex.h>
23496 int (*ptr)() = (int (*)())tanhf;
23505 if ac_fn_c_try_link
"$LINENO"; then :
23506 gcc_cv_math_func_tanhf
=yes
23508 gcc_cv_math_func_tanhf
=no
23510 rm -f core conftest.err conftest.
$ac_objext \
23511 conftest
$ac_exeext conftest.
$ac_ext
23513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23514 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23515 if test $gcc_cv_math_func_tanhf = yes; then
23517 cat >>confdefs.h
<<_ACEOF
23518 #define HAVE_TANHF 1
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23527 $as_echo_n "checking for tanh... " >&6; }
23528 if ${gcc_cv_math_func_tanh+:} false
; then :
23529 $as_echo_n "(cached) " >&6
23531 if test x
$gcc_no_link = xyes
; then
23532 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23535 /* end confdefs.h. */
23537 #ifdef HAVE_COMPLEX_H
23538 #include <complex.h>
23544 int (*ptr)() = (int (*)())tanh;
23553 if ac_fn_c_try_link
"$LINENO"; then :
23554 gcc_cv_math_func_tanh
=yes
23556 gcc_cv_math_func_tanh
=no
23558 rm -f core conftest.err conftest.
$ac_objext \
23559 conftest
$ac_exeext conftest.
$ac_ext
23561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23562 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23563 if test $gcc_cv_math_func_tanh = yes; then
23565 cat >>confdefs.h
<<_ACEOF
23566 #define HAVE_TANH 1
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23575 $as_echo_n "checking for tanhl... " >&6; }
23576 if ${gcc_cv_math_func_tanhl+:} false
; then :
23577 $as_echo_n "(cached) " >&6
23579 if test x
$gcc_no_link = xyes
; then
23580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23583 /* end confdefs.h. */
23585 #ifdef HAVE_COMPLEX_H
23586 #include <complex.h>
23592 int (*ptr)() = (int (*)())tanhl;
23601 if ac_fn_c_try_link
"$LINENO"; then :
23602 gcc_cv_math_func_tanhl
=yes
23604 gcc_cv_math_func_tanhl
=no
23606 rm -f core conftest.err conftest.
$ac_objext \
23607 conftest
$ac_exeext conftest.
$ac_ext
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23610 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23611 if test $gcc_cv_math_func_tanhl = yes; then
23613 cat >>confdefs.h
<<_ACEOF
23614 #define HAVE_TANHL 1
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23623 $as_echo_n "checking for ctanhf... " >&6; }
23624 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23625 $as_echo_n "(cached) " >&6
23627 if test x
$gcc_no_link = xyes
; then
23628 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23631 /* end confdefs.h. */
23633 #ifdef HAVE_COMPLEX_H
23634 #include <complex.h>
23640 int (*ptr)() = (int (*)())ctanhf;
23649 if ac_fn_c_try_link
"$LINENO"; then :
23650 gcc_cv_math_func_ctanhf
=yes
23652 gcc_cv_math_func_ctanhf
=no
23654 rm -f core conftest.err conftest.
$ac_objext \
23655 conftest
$ac_exeext conftest.
$ac_ext
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23658 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23659 if test $gcc_cv_math_func_ctanhf = yes; then
23661 cat >>confdefs.h
<<_ACEOF
23662 #define HAVE_CTANHF 1
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23671 $as_echo_n "checking for ctanh... " >&6; }
23672 if ${gcc_cv_math_func_ctanh+:} false
; then :
23673 $as_echo_n "(cached) " >&6
23675 if test x
$gcc_no_link = xyes
; then
23676 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23679 /* end confdefs.h. */
23681 #ifdef HAVE_COMPLEX_H
23682 #include <complex.h>
23688 int (*ptr)() = (int (*)())ctanh;
23697 if ac_fn_c_try_link
"$LINENO"; then :
23698 gcc_cv_math_func_ctanh
=yes
23700 gcc_cv_math_func_ctanh
=no
23702 rm -f core conftest.err conftest.
$ac_objext \
23703 conftest
$ac_exeext conftest.
$ac_ext
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23706 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23707 if test $gcc_cv_math_func_ctanh = yes; then
23709 cat >>confdefs.h
<<_ACEOF
23710 #define HAVE_CTANH 1
23718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23719 $as_echo_n "checking for ctanhl... " >&6; }
23720 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23721 $as_echo_n "(cached) " >&6
23723 if test x
$gcc_no_link = xyes
; then
23724 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23727 /* end confdefs.h. */
23729 #ifdef HAVE_COMPLEX_H
23730 #include <complex.h>
23736 int (*ptr)() = (int (*)())ctanhl;
23745 if ac_fn_c_try_link
"$LINENO"; then :
23746 gcc_cv_math_func_ctanhl
=yes
23748 gcc_cv_math_func_ctanhl
=no
23750 rm -f core conftest.err conftest.
$ac_objext \
23751 conftest
$ac_exeext conftest.
$ac_ext
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23754 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23755 if test $gcc_cv_math_func_ctanhl = yes; then
23757 cat >>confdefs.h
<<_ACEOF
23758 #define HAVE_CTANHL 1
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23767 $as_echo_n "checking for truncf... " >&6; }
23768 if ${gcc_cv_math_func_truncf+:} false
; then :
23769 $as_echo_n "(cached) " >&6
23771 if test x
$gcc_no_link = xyes
; then
23772 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23777 #ifdef HAVE_COMPLEX_H
23778 #include <complex.h>
23784 int (*ptr)() = (int (*)())truncf;
23793 if ac_fn_c_try_link
"$LINENO"; then :
23794 gcc_cv_math_func_truncf
=yes
23796 gcc_cv_math_func_truncf
=no
23798 rm -f core conftest.err conftest.
$ac_objext \
23799 conftest
$ac_exeext conftest.
$ac_ext
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23802 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23803 if test $gcc_cv_math_func_truncf = yes; then
23805 cat >>confdefs.h
<<_ACEOF
23806 #define HAVE_TRUNCF 1
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23815 $as_echo_n "checking for trunc... " >&6; }
23816 if ${gcc_cv_math_func_trunc+:} false
; then :
23817 $as_echo_n "(cached) " >&6
23819 if test x
$gcc_no_link = xyes
; then
23820 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23823 /* end confdefs.h. */
23825 #ifdef HAVE_COMPLEX_H
23826 #include <complex.h>
23832 int (*ptr)() = (int (*)())trunc;
23841 if ac_fn_c_try_link
"$LINENO"; then :
23842 gcc_cv_math_func_trunc
=yes
23844 gcc_cv_math_func_trunc
=no
23846 rm -f core conftest.err conftest.
$ac_objext \
23847 conftest
$ac_exeext conftest.
$ac_ext
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23850 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23851 if test $gcc_cv_math_func_trunc = yes; then
23853 cat >>confdefs.h
<<_ACEOF
23854 #define HAVE_TRUNC 1
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23863 $as_echo_n "checking for truncl... " >&6; }
23864 if ${gcc_cv_math_func_truncl+:} false
; then :
23865 $as_echo_n "(cached) " >&6
23867 if test x
$gcc_no_link = xyes
; then
23868 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23871 /* end confdefs.h. */
23873 #ifdef HAVE_COMPLEX_H
23874 #include <complex.h>
23880 int (*ptr)() = (int (*)())truncl;
23889 if ac_fn_c_try_link
"$LINENO"; then :
23890 gcc_cv_math_func_truncl
=yes
23892 gcc_cv_math_func_truncl
=no
23894 rm -f core conftest.err conftest.
$ac_objext \
23895 conftest
$ac_exeext conftest.
$ac_ext
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23898 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23899 if test $gcc_cv_math_func_truncl = yes; then
23901 cat >>confdefs.h
<<_ACEOF
23902 #define HAVE_TRUNCL 1
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23911 $as_echo_n "checking for erff... " >&6; }
23912 if ${gcc_cv_math_func_erff+:} false
; then :
23913 $as_echo_n "(cached) " >&6
23915 if test x
$gcc_no_link = xyes
; then
23916 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23921 #ifdef HAVE_COMPLEX_H
23922 #include <complex.h>
23928 int (*ptr)() = (int (*)())erff;
23937 if ac_fn_c_try_link
"$LINENO"; then :
23938 gcc_cv_math_func_erff
=yes
23940 gcc_cv_math_func_erff
=no
23942 rm -f core conftest.err conftest.
$ac_objext \
23943 conftest
$ac_exeext conftest.
$ac_ext
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23946 $as_echo "$gcc_cv_math_func_erff" >&6; }
23947 if test $gcc_cv_math_func_erff = yes; then
23949 cat >>confdefs.h
<<_ACEOF
23950 #define HAVE_ERFF 1
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23959 $as_echo_n "checking for erf... " >&6; }
23960 if ${gcc_cv_math_func_erf+:} false
; then :
23961 $as_echo_n "(cached) " >&6
23963 if test x
$gcc_no_link = xyes
; then
23964 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23967 /* end confdefs.h. */
23969 #ifdef HAVE_COMPLEX_H
23970 #include <complex.h>
23976 int (*ptr)() = (int (*)())erf;
23985 if ac_fn_c_try_link
"$LINENO"; then :
23986 gcc_cv_math_func_erf
=yes
23988 gcc_cv_math_func_erf
=no
23990 rm -f core conftest.err conftest.
$ac_objext \
23991 conftest
$ac_exeext conftest.
$ac_ext
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23994 $as_echo "$gcc_cv_math_func_erf" >&6; }
23995 if test $gcc_cv_math_func_erf = yes; then
23997 cat >>confdefs.h
<<_ACEOF
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24007 $as_echo_n "checking for erfcf... " >&6; }
24008 if ${gcc_cv_math_func_erfcf+:} false
; then :
24009 $as_echo_n "(cached) " >&6
24011 if test x
$gcc_no_link = xyes
; then
24012 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24015 /* end confdefs.h. */
24017 #ifdef HAVE_COMPLEX_H
24018 #include <complex.h>
24024 int (*ptr)() = (int (*)())erfcf;
24033 if ac_fn_c_try_link
"$LINENO"; then :
24034 gcc_cv_math_func_erfcf
=yes
24036 gcc_cv_math_func_erfcf
=no
24038 rm -f core conftest.err conftest.
$ac_objext \
24039 conftest
$ac_exeext conftest.
$ac_ext
24041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24042 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24043 if test $gcc_cv_math_func_erfcf = yes; then
24045 cat >>confdefs.h
<<_ACEOF
24046 #define HAVE_ERFCF 1
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24055 $as_echo_n "checking for erfc... " >&6; }
24056 if ${gcc_cv_math_func_erfc+:} false
; then :
24057 $as_echo_n "(cached) " >&6
24059 if test x
$gcc_no_link = xyes
; then
24060 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24063 /* end confdefs.h. */
24065 #ifdef HAVE_COMPLEX_H
24066 #include <complex.h>
24072 int (*ptr)() = (int (*)())erfc;
24081 if ac_fn_c_try_link
"$LINENO"; then :
24082 gcc_cv_math_func_erfc
=yes
24084 gcc_cv_math_func_erfc
=no
24086 rm -f core conftest.err conftest.
$ac_objext \
24087 conftest
$ac_exeext conftest.
$ac_ext
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24090 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24091 if test $gcc_cv_math_func_erfc = yes; then
24093 cat >>confdefs.h
<<_ACEOF
24094 #define HAVE_ERFC 1
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24103 $as_echo_n "checking for erfcl... " >&6; }
24104 if ${gcc_cv_math_func_erfcl+:} false
; then :
24105 $as_echo_n "(cached) " >&6
24107 if test x
$gcc_no_link = xyes
; then
24108 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24113 #ifdef HAVE_COMPLEX_H
24114 #include <complex.h>
24120 int (*ptr)() = (int (*)())erfcl;
24129 if ac_fn_c_try_link
"$LINENO"; then :
24130 gcc_cv_math_func_erfcl
=yes
24132 gcc_cv_math_func_erfcl
=no
24134 rm -f core conftest.err conftest.
$ac_objext \
24135 conftest
$ac_exeext conftest.
$ac_ext
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24138 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24139 if test $gcc_cv_math_func_erfcl = yes; then
24141 cat >>confdefs.h
<<_ACEOF
24142 #define HAVE_ERFCL 1
24150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24151 $as_echo_n "checking for j0f... " >&6; }
24152 if ${gcc_cv_math_func_j0f+:} false
; then :
24153 $as_echo_n "(cached) " >&6
24155 if test x
$gcc_no_link = xyes
; then
24156 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24159 /* end confdefs.h. */
24161 #ifdef HAVE_COMPLEX_H
24162 #include <complex.h>
24168 int (*ptr)() = (int (*)())j0f;
24177 if ac_fn_c_try_link
"$LINENO"; then :
24178 gcc_cv_math_func_j0f
=yes
24180 gcc_cv_math_func_j0f
=no
24182 rm -f core conftest.err conftest.
$ac_objext \
24183 conftest
$ac_exeext conftest.
$ac_ext
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24186 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24187 if test $gcc_cv_math_func_j0f = yes; then
24189 cat >>confdefs.h
<<_ACEOF
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24199 $as_echo_n "checking for j0... " >&6; }
24200 if ${gcc_cv_math_func_j0+:} false
; then :
24201 $as_echo_n "(cached) " >&6
24203 if test x
$gcc_no_link = xyes
; then
24204 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24207 /* end confdefs.h. */
24209 #ifdef HAVE_COMPLEX_H
24210 #include <complex.h>
24216 int (*ptr)() = (int (*)())j0;
24225 if ac_fn_c_try_link
"$LINENO"; then :
24226 gcc_cv_math_func_j0
=yes
24228 gcc_cv_math_func_j0
=no
24230 rm -f core conftest.err conftest.
$ac_objext \
24231 conftest
$ac_exeext conftest.
$ac_ext
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24234 $as_echo "$gcc_cv_math_func_j0" >&6; }
24235 if test $gcc_cv_math_func_j0 = yes; then
24237 cat >>confdefs.h
<<_ACEOF
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24247 $as_echo_n "checking for j1f... " >&6; }
24248 if ${gcc_cv_math_func_j1f+:} false
; then :
24249 $as_echo_n "(cached) " >&6
24251 if test x
$gcc_no_link = xyes
; then
24252 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24255 /* end confdefs.h. */
24257 #ifdef HAVE_COMPLEX_H
24258 #include <complex.h>
24264 int (*ptr)() = (int (*)())j1f;
24273 if ac_fn_c_try_link
"$LINENO"; then :
24274 gcc_cv_math_func_j1f
=yes
24276 gcc_cv_math_func_j1f
=no
24278 rm -f core conftest.err conftest.
$ac_objext \
24279 conftest
$ac_exeext conftest.
$ac_ext
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24282 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24283 if test $gcc_cv_math_func_j1f = yes; then
24285 cat >>confdefs.h
<<_ACEOF
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24295 $as_echo_n "checking for j1... " >&6; }
24296 if ${gcc_cv_math_func_j1+:} false
; then :
24297 $as_echo_n "(cached) " >&6
24299 if test x
$gcc_no_link = xyes
; then
24300 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24305 #ifdef HAVE_COMPLEX_H
24306 #include <complex.h>
24312 int (*ptr)() = (int (*)())j1;
24321 if ac_fn_c_try_link
"$LINENO"; then :
24322 gcc_cv_math_func_j1
=yes
24324 gcc_cv_math_func_j1
=no
24326 rm -f core conftest.err conftest.
$ac_objext \
24327 conftest
$ac_exeext conftest.
$ac_ext
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24330 $as_echo "$gcc_cv_math_func_j1" >&6; }
24331 if test $gcc_cv_math_func_j1 = yes; then
24333 cat >>confdefs.h
<<_ACEOF
24342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24343 $as_echo_n "checking for jnf... " >&6; }
24344 if ${gcc_cv_math_func_jnf+:} false
; then :
24345 $as_echo_n "(cached) " >&6
24347 if test x
$gcc_no_link = xyes
; then
24348 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h. */
24353 #ifdef HAVE_COMPLEX_H
24354 #include <complex.h>
24360 int (*ptr)() = (int (*)())jnf;
24369 if ac_fn_c_try_link
"$LINENO"; then :
24370 gcc_cv_math_func_jnf
=yes
24372 gcc_cv_math_func_jnf
=no
24374 rm -f core conftest.err conftest.
$ac_objext \
24375 conftest
$ac_exeext conftest.
$ac_ext
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24378 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24379 if test $gcc_cv_math_func_jnf = yes; then
24381 cat >>confdefs.h
<<_ACEOF
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24391 $as_echo_n "checking for jn... " >&6; }
24392 if ${gcc_cv_math_func_jn+:} false
; then :
24393 $as_echo_n "(cached) " >&6
24395 if test x
$gcc_no_link = xyes
; then
24396 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24401 #ifdef HAVE_COMPLEX_H
24402 #include <complex.h>
24408 int (*ptr)() = (int (*)())jn;
24417 if ac_fn_c_try_link
"$LINENO"; then :
24418 gcc_cv_math_func_jn
=yes
24420 gcc_cv_math_func_jn
=no
24422 rm -f core conftest.err conftest.
$ac_objext \
24423 conftest
$ac_exeext conftest.
$ac_ext
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24426 $as_echo "$gcc_cv_math_func_jn" >&6; }
24427 if test $gcc_cv_math_func_jn = yes; then
24429 cat >>confdefs.h
<<_ACEOF
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24439 $as_echo_n "checking for jnl... " >&6; }
24440 if ${gcc_cv_math_func_jnl+:} false
; then :
24441 $as_echo_n "(cached) " >&6
24443 if test x
$gcc_no_link = xyes
; then
24444 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24449 #ifdef HAVE_COMPLEX_H
24450 #include <complex.h>
24456 int (*ptr)() = (int (*)())jnl;
24465 if ac_fn_c_try_link
"$LINENO"; then :
24466 gcc_cv_math_func_jnl
=yes
24468 gcc_cv_math_func_jnl
=no
24470 rm -f core conftest.err conftest.
$ac_objext \
24471 conftest
$ac_exeext conftest.
$ac_ext
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24474 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24475 if test $gcc_cv_math_func_jnl = yes; then
24477 cat >>confdefs.h
<<_ACEOF
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24487 $as_echo_n "checking for y0f... " >&6; }
24488 if ${gcc_cv_math_func_y0f+:} false
; then :
24489 $as_echo_n "(cached) " >&6
24491 if test x
$gcc_no_link = xyes
; then
24492 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24497 #ifdef HAVE_COMPLEX_H
24498 #include <complex.h>
24504 int (*ptr)() = (int (*)())y0f;
24513 if ac_fn_c_try_link
"$LINENO"; then :
24514 gcc_cv_math_func_y0f
=yes
24516 gcc_cv_math_func_y0f
=no
24518 rm -f core conftest.err conftest.
$ac_objext \
24519 conftest
$ac_exeext conftest.
$ac_ext
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24522 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24523 if test $gcc_cv_math_func_y0f = yes; then
24525 cat >>confdefs.h
<<_ACEOF
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24535 $as_echo_n "checking for y0... " >&6; }
24536 if ${gcc_cv_math_func_y0+:} false
; then :
24537 $as_echo_n "(cached) " >&6
24539 if test x
$gcc_no_link = xyes
; then
24540 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h. */
24545 #ifdef HAVE_COMPLEX_H
24546 #include <complex.h>
24552 int (*ptr)() = (int (*)())y0;
24561 if ac_fn_c_try_link
"$LINENO"; then :
24562 gcc_cv_math_func_y0
=yes
24564 gcc_cv_math_func_y0
=no
24566 rm -f core conftest.err conftest.
$ac_objext \
24567 conftest
$ac_exeext conftest.
$ac_ext
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24570 $as_echo "$gcc_cv_math_func_y0" >&6; }
24571 if test $gcc_cv_math_func_y0 = yes; then
24573 cat >>confdefs.h
<<_ACEOF
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24583 $as_echo_n "checking for y1f... " >&6; }
24584 if ${gcc_cv_math_func_y1f+:} false
; then :
24585 $as_echo_n "(cached) " >&6
24587 if test x
$gcc_no_link = xyes
; then
24588 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24593 #ifdef HAVE_COMPLEX_H
24594 #include <complex.h>
24600 int (*ptr)() = (int (*)())y1f;
24609 if ac_fn_c_try_link
"$LINENO"; then :
24610 gcc_cv_math_func_y1f
=yes
24612 gcc_cv_math_func_y1f
=no
24614 rm -f core conftest.err conftest.
$ac_objext \
24615 conftest
$ac_exeext conftest.
$ac_ext
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24618 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24619 if test $gcc_cv_math_func_y1f = yes; then
24621 cat >>confdefs.h
<<_ACEOF
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24631 $as_echo_n "checking for y1... " >&6; }
24632 if ${gcc_cv_math_func_y1+:} false
; then :
24633 $as_echo_n "(cached) " >&6
24635 if test x
$gcc_no_link = xyes
; then
24636 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24639 /* end confdefs.h. */
24641 #ifdef HAVE_COMPLEX_H
24642 #include <complex.h>
24648 int (*ptr)() = (int (*)())y1;
24657 if ac_fn_c_try_link
"$LINENO"; then :
24658 gcc_cv_math_func_y1
=yes
24660 gcc_cv_math_func_y1
=no
24662 rm -f core conftest.err conftest.
$ac_objext \
24663 conftest
$ac_exeext conftest.
$ac_ext
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24666 $as_echo "$gcc_cv_math_func_y1" >&6; }
24667 if test $gcc_cv_math_func_y1 = yes; then
24669 cat >>confdefs.h
<<_ACEOF
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24679 $as_echo_n "checking for ynf... " >&6; }
24680 if ${gcc_cv_math_func_ynf+:} false
; then :
24681 $as_echo_n "(cached) " >&6
24683 if test x
$gcc_no_link = xyes
; then
24684 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24687 /* end confdefs.h. */
24689 #ifdef HAVE_COMPLEX_H
24690 #include <complex.h>
24696 int (*ptr)() = (int (*)())ynf;
24705 if ac_fn_c_try_link
"$LINENO"; then :
24706 gcc_cv_math_func_ynf
=yes
24708 gcc_cv_math_func_ynf
=no
24710 rm -f core conftest.err conftest.
$ac_objext \
24711 conftest
$ac_exeext conftest.
$ac_ext
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24714 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24715 if test $gcc_cv_math_func_ynf = yes; then
24717 cat >>confdefs.h
<<_ACEOF
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24727 $as_echo_n "checking for yn... " >&6; }
24728 if ${gcc_cv_math_func_yn+:} false
; then :
24729 $as_echo_n "(cached) " >&6
24731 if test x
$gcc_no_link = xyes
; then
24732 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24735 /* end confdefs.h. */
24737 #ifdef HAVE_COMPLEX_H
24738 #include <complex.h>
24744 int (*ptr)() = (int (*)())yn;
24753 if ac_fn_c_try_link
"$LINENO"; then :
24754 gcc_cv_math_func_yn
=yes
24756 gcc_cv_math_func_yn
=no
24758 rm -f core conftest.err conftest.
$ac_objext \
24759 conftest
$ac_exeext conftest.
$ac_ext
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24762 $as_echo "$gcc_cv_math_func_yn" >&6; }
24763 if test $gcc_cv_math_func_yn = yes; then
24765 cat >>confdefs.h
<<_ACEOF
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24775 $as_echo_n "checking for ynl... " >&6; }
24776 if ${gcc_cv_math_func_ynl+:} false
; then :
24777 $as_echo_n "(cached) " >&6
24779 if test x
$gcc_no_link = xyes
; then
24780 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24783 /* end confdefs.h. */
24785 #ifdef HAVE_COMPLEX_H
24786 #include <complex.h>
24792 int (*ptr)() = (int (*)())ynl;
24801 if ac_fn_c_try_link
"$LINENO"; then :
24802 gcc_cv_math_func_ynl
=yes
24804 gcc_cv_math_func_ynl
=no
24806 rm -f core conftest.err conftest.
$ac_objext \
24807 conftest
$ac_exeext conftest.
$ac_ext
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24810 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24811 if test $gcc_cv_math_func_ynl = yes; then
24813 cat >>confdefs.h
<<_ACEOF
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24823 $as_echo_n "checking for tgamma... " >&6; }
24824 if ${gcc_cv_math_func_tgamma+:} false
; then :
24825 $as_echo_n "(cached) " >&6
24827 if test x
$gcc_no_link = xyes
; then
24828 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h. */
24833 #ifdef HAVE_COMPLEX_H
24834 #include <complex.h>
24840 int (*ptr)() = (int (*)())tgamma;
24849 if ac_fn_c_try_link
"$LINENO"; then :
24850 gcc_cv_math_func_tgamma
=yes
24852 gcc_cv_math_func_tgamma
=no
24854 rm -f core conftest.err conftest.
$ac_objext \
24855 conftest
$ac_exeext conftest.
$ac_ext
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24858 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24859 if test $gcc_cv_math_func_tgamma = yes; then
24861 cat >>confdefs.h
<<_ACEOF
24862 #define HAVE_TGAMMA 1
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24871 $as_echo_n "checking for tgammaf... " >&6; }
24872 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24873 $as_echo_n "(cached) " >&6
24875 if test x
$gcc_no_link = xyes
; then
24876 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24879 /* end confdefs.h. */
24881 #ifdef HAVE_COMPLEX_H
24882 #include <complex.h>
24888 int (*ptr)() = (int (*)())tgammaf;
24897 if ac_fn_c_try_link
"$LINENO"; then :
24898 gcc_cv_math_func_tgammaf
=yes
24900 gcc_cv_math_func_tgammaf
=no
24902 rm -f core conftest.err conftest.
$ac_objext \
24903 conftest
$ac_exeext conftest.
$ac_ext
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24906 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24907 if test $gcc_cv_math_func_tgammaf = yes; then
24909 cat >>confdefs.h
<<_ACEOF
24910 #define HAVE_TGAMMAF 1
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24919 $as_echo_n "checking for lgamma... " >&6; }
24920 if ${gcc_cv_math_func_lgamma+:} false
; then :
24921 $as_echo_n "(cached) " >&6
24923 if test x
$gcc_no_link = xyes
; then
24924 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24927 /* end confdefs.h. */
24929 #ifdef HAVE_COMPLEX_H
24930 #include <complex.h>
24936 int (*ptr)() = (int (*)())lgamma;
24945 if ac_fn_c_try_link
"$LINENO"; then :
24946 gcc_cv_math_func_lgamma
=yes
24948 gcc_cv_math_func_lgamma
=no
24950 rm -f core conftest.err conftest.
$ac_objext \
24951 conftest
$ac_exeext conftest.
$ac_ext
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24954 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24955 if test $gcc_cv_math_func_lgamma = yes; then
24957 cat >>confdefs.h
<<_ACEOF
24958 #define HAVE_LGAMMA 1
24966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24967 $as_echo_n "checking for lgammaf... " >&6; }
24968 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24969 $as_echo_n "(cached) " >&6
24971 if test x
$gcc_no_link = xyes
; then
24972 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h. */
24977 #ifdef HAVE_COMPLEX_H
24978 #include <complex.h>
24984 int (*ptr)() = (int (*)())lgammaf;
24993 if ac_fn_c_try_link
"$LINENO"; then :
24994 gcc_cv_math_func_lgammaf
=yes
24996 gcc_cv_math_func_lgammaf
=no
24998 rm -f core conftest.err conftest.
$ac_objext \
24999 conftest
$ac_exeext conftest.
$ac_ext
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25002 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25003 if test $gcc_cv_math_func_lgammaf = yes; then
25005 cat >>confdefs.h
<<_ACEOF
25006 #define HAVE_LGAMMAF 1
25012 # Check for GFORTRAN_C99_1.1 funcs
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25017 $as_echo_n "checking for cacos... " >&6; }
25018 if ${gcc_cv_math_func_cacos+:} false
; then :
25019 $as_echo_n "(cached) " >&6
25021 if test x
$gcc_no_link = xyes
; then
25022 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25025 /* end confdefs.h. */
25027 #ifdef HAVE_COMPLEX_H
25028 #include <complex.h>
25034 int (*ptr)() = (int (*)())cacos;
25043 if ac_fn_c_try_link
"$LINENO"; then :
25044 gcc_cv_math_func_cacos
=yes
25046 gcc_cv_math_func_cacos
=no
25048 rm -f core conftest.err conftest.
$ac_objext \
25049 conftest
$ac_exeext conftest.
$ac_ext
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25052 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25053 if test $gcc_cv_math_func_cacos = yes; then
25055 cat >>confdefs.h
<<_ACEOF
25056 #define HAVE_CACOS 1
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25065 $as_echo_n "checking for cacosf... " >&6; }
25066 if ${gcc_cv_math_func_cacosf+:} false
; then :
25067 $as_echo_n "(cached) " >&6
25069 if test x
$gcc_no_link = xyes
; then
25070 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25075 #ifdef HAVE_COMPLEX_H
25076 #include <complex.h>
25082 int (*ptr)() = (int (*)())cacosf;
25091 if ac_fn_c_try_link
"$LINENO"; then :
25092 gcc_cv_math_func_cacosf
=yes
25094 gcc_cv_math_func_cacosf
=no
25096 rm -f core conftest.err conftest.
$ac_objext \
25097 conftest
$ac_exeext conftest.
$ac_ext
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25100 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25101 if test $gcc_cv_math_func_cacosf = yes; then
25103 cat >>confdefs.h
<<_ACEOF
25104 #define HAVE_CACOSF 1
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25113 $as_echo_n "checking for cacosh... " >&6; }
25114 if ${gcc_cv_math_func_cacosh+:} false
; then :
25115 $as_echo_n "(cached) " >&6
25117 if test x
$gcc_no_link = xyes
; then
25118 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25121 /* end confdefs.h. */
25123 #ifdef HAVE_COMPLEX_H
25124 #include <complex.h>
25130 int (*ptr)() = (int (*)())cacosh;
25139 if ac_fn_c_try_link
"$LINENO"; then :
25140 gcc_cv_math_func_cacosh
=yes
25142 gcc_cv_math_func_cacosh
=no
25144 rm -f core conftest.err conftest.
$ac_objext \
25145 conftest
$ac_exeext conftest.
$ac_ext
25147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25148 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25149 if test $gcc_cv_math_func_cacosh = yes; then
25151 cat >>confdefs.h
<<_ACEOF
25152 #define HAVE_CACOSH 1
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25161 $as_echo_n "checking for cacoshf... " >&6; }
25162 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25163 $as_echo_n "(cached) " >&6
25165 if test x
$gcc_no_link = xyes
; then
25166 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25169 /* end confdefs.h. */
25171 #ifdef HAVE_COMPLEX_H
25172 #include <complex.h>
25178 int (*ptr)() = (int (*)())cacoshf;
25187 if ac_fn_c_try_link
"$LINENO"; then :
25188 gcc_cv_math_func_cacoshf
=yes
25190 gcc_cv_math_func_cacoshf
=no
25192 rm -f core conftest.err conftest.
$ac_objext \
25193 conftest
$ac_exeext conftest.
$ac_ext
25195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25196 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25197 if test $gcc_cv_math_func_cacoshf = yes; then
25199 cat >>confdefs.h
<<_ACEOF
25200 #define HAVE_CACOSHF 1
25208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25209 $as_echo_n "checking for cacoshl... " >&6; }
25210 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25211 $as_echo_n "(cached) " >&6
25213 if test x
$gcc_no_link = xyes
; then
25214 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25217 /* end confdefs.h. */
25219 #ifdef HAVE_COMPLEX_H
25220 #include <complex.h>
25226 int (*ptr)() = (int (*)())cacoshl;
25235 if ac_fn_c_try_link
"$LINENO"; then :
25236 gcc_cv_math_func_cacoshl
=yes
25238 gcc_cv_math_func_cacoshl
=no
25240 rm -f core conftest.err conftest.
$ac_objext \
25241 conftest
$ac_exeext conftest.
$ac_ext
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25244 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25245 if test $gcc_cv_math_func_cacoshl = yes; then
25247 cat >>confdefs.h
<<_ACEOF
25248 #define HAVE_CACOSHL 1
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25257 $as_echo_n "checking for cacosl... " >&6; }
25258 if ${gcc_cv_math_func_cacosl+:} false
; then :
25259 $as_echo_n "(cached) " >&6
25261 if test x
$gcc_no_link = xyes
; then
25262 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25265 /* end confdefs.h. */
25267 #ifdef HAVE_COMPLEX_H
25268 #include <complex.h>
25274 int (*ptr)() = (int (*)())cacosl;
25283 if ac_fn_c_try_link
"$LINENO"; then :
25284 gcc_cv_math_func_cacosl
=yes
25286 gcc_cv_math_func_cacosl
=no
25288 rm -f core conftest.err conftest.
$ac_objext \
25289 conftest
$ac_exeext conftest.
$ac_ext
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25292 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25293 if test $gcc_cv_math_func_cacosl = yes; then
25295 cat >>confdefs.h
<<_ACEOF
25296 #define HAVE_CACOSL 1
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25305 $as_echo_n "checking for casin... " >&6; }
25306 if ${gcc_cv_math_func_casin+:} false
; then :
25307 $as_echo_n "(cached) " >&6
25309 if test x
$gcc_no_link = xyes
; then
25310 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h. */
25315 #ifdef HAVE_COMPLEX_H
25316 #include <complex.h>
25322 int (*ptr)() = (int (*)())casin;
25331 if ac_fn_c_try_link
"$LINENO"; then :
25332 gcc_cv_math_func_casin
=yes
25334 gcc_cv_math_func_casin
=no
25336 rm -f core conftest.err conftest.
$ac_objext \
25337 conftest
$ac_exeext conftest.
$ac_ext
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25340 $as_echo "$gcc_cv_math_func_casin" >&6; }
25341 if test $gcc_cv_math_func_casin = yes; then
25343 cat >>confdefs.h
<<_ACEOF
25344 #define HAVE_CASIN 1
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25353 $as_echo_n "checking for casinf... " >&6; }
25354 if ${gcc_cv_math_func_casinf+:} false
; then :
25355 $as_echo_n "(cached) " >&6
25357 if test x
$gcc_no_link = xyes
; then
25358 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25361 /* end confdefs.h. */
25363 #ifdef HAVE_COMPLEX_H
25364 #include <complex.h>
25370 int (*ptr)() = (int (*)())casinf;
25379 if ac_fn_c_try_link
"$LINENO"; then :
25380 gcc_cv_math_func_casinf
=yes
25382 gcc_cv_math_func_casinf
=no
25384 rm -f core conftest.err conftest.
$ac_objext \
25385 conftest
$ac_exeext conftest.
$ac_ext
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25388 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25389 if test $gcc_cv_math_func_casinf = yes; then
25391 cat >>confdefs.h
<<_ACEOF
25392 #define HAVE_CASINF 1
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25401 $as_echo_n "checking for casinh... " >&6; }
25402 if ${gcc_cv_math_func_casinh+:} false
; then :
25403 $as_echo_n "(cached) " >&6
25405 if test x
$gcc_no_link = xyes
; then
25406 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h. */
25411 #ifdef HAVE_COMPLEX_H
25412 #include <complex.h>
25418 int (*ptr)() = (int (*)())casinh;
25427 if ac_fn_c_try_link
"$LINENO"; then :
25428 gcc_cv_math_func_casinh
=yes
25430 gcc_cv_math_func_casinh
=no
25432 rm -f core conftest.err conftest.
$ac_objext \
25433 conftest
$ac_exeext conftest.
$ac_ext
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25436 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25437 if test $gcc_cv_math_func_casinh = yes; then
25439 cat >>confdefs.h
<<_ACEOF
25440 #define HAVE_CASINH 1
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25449 $as_echo_n "checking for casinhf... " >&6; }
25450 if ${gcc_cv_math_func_casinhf+:} false
; then :
25451 $as_echo_n "(cached) " >&6
25453 if test x
$gcc_no_link = xyes
; then
25454 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h. */
25459 #ifdef HAVE_COMPLEX_H
25460 #include <complex.h>
25466 int (*ptr)() = (int (*)())casinhf;
25475 if ac_fn_c_try_link
"$LINENO"; then :
25476 gcc_cv_math_func_casinhf
=yes
25478 gcc_cv_math_func_casinhf
=no
25480 rm -f core conftest.err conftest.
$ac_objext \
25481 conftest
$ac_exeext conftest.
$ac_ext
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25484 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25485 if test $gcc_cv_math_func_casinhf = yes; then
25487 cat >>confdefs.h
<<_ACEOF
25488 #define HAVE_CASINHF 1
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25497 $as_echo_n "checking for casinhl... " >&6; }
25498 if ${gcc_cv_math_func_casinhl+:} false
; then :
25499 $as_echo_n "(cached) " >&6
25501 if test x
$gcc_no_link = xyes
; then
25502 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25507 #ifdef HAVE_COMPLEX_H
25508 #include <complex.h>
25514 int (*ptr)() = (int (*)())casinhl;
25523 if ac_fn_c_try_link
"$LINENO"; then :
25524 gcc_cv_math_func_casinhl
=yes
25526 gcc_cv_math_func_casinhl
=no
25528 rm -f core conftest.err conftest.
$ac_objext \
25529 conftest
$ac_exeext conftest.
$ac_ext
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25532 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25533 if test $gcc_cv_math_func_casinhl = yes; then
25535 cat >>confdefs.h
<<_ACEOF
25536 #define HAVE_CASINHL 1
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25545 $as_echo_n "checking for casinl... " >&6; }
25546 if ${gcc_cv_math_func_casinl+:} false
; then :
25547 $as_echo_n "(cached) " >&6
25549 if test x
$gcc_no_link = xyes
; then
25550 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h. */
25555 #ifdef HAVE_COMPLEX_H
25556 #include <complex.h>
25562 int (*ptr)() = (int (*)())casinl;
25571 if ac_fn_c_try_link
"$LINENO"; then :
25572 gcc_cv_math_func_casinl
=yes
25574 gcc_cv_math_func_casinl
=no
25576 rm -f core conftest.err conftest.
$ac_objext \
25577 conftest
$ac_exeext conftest.
$ac_ext
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25580 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25581 if test $gcc_cv_math_func_casinl = yes; then
25583 cat >>confdefs.h
<<_ACEOF
25584 #define HAVE_CASINL 1
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25593 $as_echo_n "checking for catan... " >&6; }
25594 if ${gcc_cv_math_func_catan+:} false
; then :
25595 $as_echo_n "(cached) " >&6
25597 if test x
$gcc_no_link = xyes
; then
25598 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25601 /* end confdefs.h. */
25603 #ifdef HAVE_COMPLEX_H
25604 #include <complex.h>
25610 int (*ptr)() = (int (*)())catan;
25619 if ac_fn_c_try_link
"$LINENO"; then :
25620 gcc_cv_math_func_catan
=yes
25622 gcc_cv_math_func_catan
=no
25624 rm -f core conftest.err conftest.
$ac_objext \
25625 conftest
$ac_exeext conftest.
$ac_ext
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25628 $as_echo "$gcc_cv_math_func_catan" >&6; }
25629 if test $gcc_cv_math_func_catan = yes; then
25631 cat >>confdefs.h
<<_ACEOF
25632 #define HAVE_CATAN 1
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25641 $as_echo_n "checking for catanf... " >&6; }
25642 if ${gcc_cv_math_func_catanf+:} false
; then :
25643 $as_echo_n "(cached) " >&6
25645 if test x
$gcc_no_link = xyes
; then
25646 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25649 /* end confdefs.h. */
25651 #ifdef HAVE_COMPLEX_H
25652 #include <complex.h>
25658 int (*ptr)() = (int (*)())catanf;
25667 if ac_fn_c_try_link
"$LINENO"; then :
25668 gcc_cv_math_func_catanf
=yes
25670 gcc_cv_math_func_catanf
=no
25672 rm -f core conftest.err conftest.
$ac_objext \
25673 conftest
$ac_exeext conftest.
$ac_ext
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25676 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25677 if test $gcc_cv_math_func_catanf = yes; then
25679 cat >>confdefs.h
<<_ACEOF
25680 #define HAVE_CATANF 1
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25689 $as_echo_n "checking for catanh... " >&6; }
25690 if ${gcc_cv_math_func_catanh+:} false
; then :
25691 $as_echo_n "(cached) " >&6
25693 if test x
$gcc_no_link = xyes
; then
25694 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25697 /* end confdefs.h. */
25699 #ifdef HAVE_COMPLEX_H
25700 #include <complex.h>
25706 int (*ptr)() = (int (*)())catanh;
25715 if ac_fn_c_try_link
"$LINENO"; then :
25716 gcc_cv_math_func_catanh
=yes
25718 gcc_cv_math_func_catanh
=no
25720 rm -f core conftest.err conftest.
$ac_objext \
25721 conftest
$ac_exeext conftest.
$ac_ext
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25724 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25725 if test $gcc_cv_math_func_catanh = yes; then
25727 cat >>confdefs.h
<<_ACEOF
25728 #define HAVE_CATANH 1
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25737 $as_echo_n "checking for catanhf... " >&6; }
25738 if ${gcc_cv_math_func_catanhf+:} false
; then :
25739 $as_echo_n "(cached) " >&6
25741 if test x
$gcc_no_link = xyes
; then
25742 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25745 /* end confdefs.h. */
25747 #ifdef HAVE_COMPLEX_H
25748 #include <complex.h>
25754 int (*ptr)() = (int (*)())catanhf;
25763 if ac_fn_c_try_link
"$LINENO"; then :
25764 gcc_cv_math_func_catanhf
=yes
25766 gcc_cv_math_func_catanhf
=no
25768 rm -f core conftest.err conftest.
$ac_objext \
25769 conftest
$ac_exeext conftest.
$ac_ext
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25772 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25773 if test $gcc_cv_math_func_catanhf = yes; then
25775 cat >>confdefs.h
<<_ACEOF
25776 #define HAVE_CATANHF 1
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25785 $as_echo_n "checking for catanhl... " >&6; }
25786 if ${gcc_cv_math_func_catanhl+:} false
; then :
25787 $as_echo_n "(cached) " >&6
25789 if test x
$gcc_no_link = xyes
; then
25790 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25793 /* end confdefs.h. */
25795 #ifdef HAVE_COMPLEX_H
25796 #include <complex.h>
25802 int (*ptr)() = (int (*)())catanhl;
25811 if ac_fn_c_try_link
"$LINENO"; then :
25812 gcc_cv_math_func_catanhl
=yes
25814 gcc_cv_math_func_catanhl
=no
25816 rm -f core conftest.err conftest.
$ac_objext \
25817 conftest
$ac_exeext conftest.
$ac_ext
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25820 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25821 if test $gcc_cv_math_func_catanhl = yes; then
25823 cat >>confdefs.h
<<_ACEOF
25824 #define HAVE_CATANHL 1
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25833 $as_echo_n "checking for catanl... " >&6; }
25834 if ${gcc_cv_math_func_catanl+:} false
; then :
25835 $as_echo_n "(cached) " >&6
25837 if test x
$gcc_no_link = xyes
; then
25838 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25841 /* end confdefs.h. */
25843 #ifdef HAVE_COMPLEX_H
25844 #include <complex.h>
25850 int (*ptr)() = (int (*)())catanl;
25859 if ac_fn_c_try_link
"$LINENO"; then :
25860 gcc_cv_math_func_catanl
=yes
25862 gcc_cv_math_func_catanl
=no
25864 rm -f core conftest.err conftest.
$ac_objext \
25865 conftest
$ac_exeext conftest.
$ac_ext
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25868 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25869 if test $gcc_cv_math_func_catanl = yes; then
25871 cat >>confdefs.h
<<_ACEOF
25872 #define HAVE_CATANL 1
25878 # For POWER, check the ieee128 math functions
25880 if test "x$have_real_17" = "xyes"; then
25882 cat >>confdefs.h
<<_ACEOF
25883 #define HAVE_REAL_17 1
25890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25891 $as_echo_n "checking for __acoshieee128... " >&6; }
25892 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
25893 $as_echo_n "(cached) " >&6
25895 if test x
$gcc_no_link = xyes
; then
25896 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25899 /* end confdefs.h. */
25901 _Float128 __acoshieee128 (_Float128);
25902 _Float128 (*ptr)(_Float128) = __acoshieee128;
25911 if ac_fn_c_try_link
"$LINENO"; then :
25912 gcc_cv_math_func___acoshieee128
=yes
25914 gcc_cv_math_func___acoshieee128
=no
25916 rm -f core conftest.err conftest.
$ac_objext \
25917 conftest
$ac_exeext conftest.
$ac_ext
25919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25920 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25921 if test $gcc_cv_math_func___acoshieee128 = yes; then
25923 cat >>confdefs.h
<<_ACEOF
25924 #define HAVE___ACOSHIEEE128 1
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25933 $as_echo_n "checking for __acosieee128... " >&6; }
25934 if ${gcc_cv_math_func___acosieee128+:} false
; then :
25935 $as_echo_n "(cached) " >&6
25937 if test x
$gcc_no_link = xyes
; then
25938 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25941 /* end confdefs.h. */
25943 _Float128 __acosieee128 (_Float128);
25944 _Float128 (*ptr)(_Float128) = __acosieee128;
25953 if ac_fn_c_try_link
"$LINENO"; then :
25954 gcc_cv_math_func___acosieee128
=yes
25956 gcc_cv_math_func___acosieee128
=no
25958 rm -f core conftest.err conftest.
$ac_objext \
25959 conftest
$ac_exeext conftest.
$ac_ext
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25962 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25963 if test $gcc_cv_math_func___acosieee128 = yes; then
25965 cat >>confdefs.h
<<_ACEOF
25966 #define HAVE___ACOSIEEE128 1
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25975 $as_echo_n "checking for __asinhieee128... " >&6; }
25976 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
25977 $as_echo_n "(cached) " >&6
25979 if test x
$gcc_no_link = xyes
; then
25980 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25983 /* end confdefs.h. */
25985 _Float128 __asinhieee128 (_Float128);
25986 _Float128 (*ptr)(_Float128) = __asinhieee128;
25995 if ac_fn_c_try_link
"$LINENO"; then :
25996 gcc_cv_math_func___asinhieee128
=yes
25998 gcc_cv_math_func___asinhieee128
=no
26000 rm -f core conftest.err conftest.
$ac_objext \
26001 conftest
$ac_exeext conftest.
$ac_ext
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26004 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26005 if test $gcc_cv_math_func___asinhieee128 = yes; then
26007 cat >>confdefs.h
<<_ACEOF
26008 #define HAVE___ASINHIEEE128 1
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26017 $as_echo_n "checking for __asinieee128... " >&6; }
26018 if ${gcc_cv_math_func___asinieee128+:} false
; then :
26019 $as_echo_n "(cached) " >&6
26021 if test x
$gcc_no_link = xyes
; then
26022 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h. */
26027 _Float128 __asinieee128 (_Float128);
26028 _Float128 (*ptr)(_Float128) = __asinieee128;
26037 if ac_fn_c_try_link
"$LINENO"; then :
26038 gcc_cv_math_func___asinieee128
=yes
26040 gcc_cv_math_func___asinieee128
=no
26042 rm -f core conftest.err conftest.
$ac_objext \
26043 conftest
$ac_exeext conftest.
$ac_ext
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26046 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26047 if test $gcc_cv_math_func___asinieee128 = yes; then
26049 cat >>confdefs.h
<<_ACEOF
26050 #define HAVE___ASINIEEE128 1
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26059 $as_echo_n "checking for __atan2ieee128... " >&6; }
26060 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26061 $as_echo_n "(cached) " >&6
26063 if test x
$gcc_no_link = xyes
; then
26064 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26069 _Float128 __atan2ieee128 (_Float128);
26070 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26079 if ac_fn_c_try_link
"$LINENO"; then :
26080 gcc_cv_math_func___atan2ieee128
=yes
26082 gcc_cv_math_func___atan2ieee128
=no
26084 rm -f core conftest.err conftest.
$ac_objext \
26085 conftest
$ac_exeext conftest.
$ac_ext
26087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26088 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26089 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26091 cat >>confdefs.h
<<_ACEOF
26092 #define HAVE___ATAN2IEEE128 1
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26101 $as_echo_n "checking for __atanhieee128... " >&6; }
26102 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26103 $as_echo_n "(cached) " >&6
26105 if test x
$gcc_no_link = xyes
; then
26106 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26109 /* end confdefs.h. */
26111 _Float128 __atanhieee128 (_Float128);
26112 _Float128 (*ptr)(_Float128) = __atanhieee128;
26121 if ac_fn_c_try_link
"$LINENO"; then :
26122 gcc_cv_math_func___atanhieee128
=yes
26124 gcc_cv_math_func___atanhieee128
=no
26126 rm -f core conftest.err conftest.
$ac_objext \
26127 conftest
$ac_exeext conftest.
$ac_ext
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26130 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26131 if test $gcc_cv_math_func___atanhieee128 = yes; then
26133 cat >>confdefs.h
<<_ACEOF
26134 #define HAVE___ATANHIEEE128 1
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26143 $as_echo_n "checking for __atanieee128... " >&6; }
26144 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26145 $as_echo_n "(cached) " >&6
26147 if test x
$gcc_no_link = xyes
; then
26148 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26151 /* end confdefs.h. */
26153 _Float128 __atanieee128 (_Float128);
26154 _Float128 (*ptr)(_Float128) = __atanieee128;
26163 if ac_fn_c_try_link
"$LINENO"; then :
26164 gcc_cv_math_func___atanieee128
=yes
26166 gcc_cv_math_func___atanieee128
=no
26168 rm -f core conftest.err conftest.
$ac_objext \
26169 conftest
$ac_exeext conftest.
$ac_ext
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26172 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26173 if test $gcc_cv_math_func___atanieee128 = yes; then
26175 cat >>confdefs.h
<<_ACEOF
26176 #define HAVE___ATANIEEE128 1
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26185 $as_echo_n "checking for __coshieee128... " >&6; }
26186 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26187 $as_echo_n "(cached) " >&6
26189 if test x
$gcc_no_link = xyes
; then
26190 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26195 _Float128 __coshieee128 (_Float128);
26196 _Float128 (*ptr)(_Float128) = __coshieee128;
26205 if ac_fn_c_try_link
"$LINENO"; then :
26206 gcc_cv_math_func___coshieee128
=yes
26208 gcc_cv_math_func___coshieee128
=no
26210 rm -f core conftest.err conftest.
$ac_objext \
26211 conftest
$ac_exeext conftest.
$ac_ext
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26214 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26215 if test $gcc_cv_math_func___coshieee128 = yes; then
26217 cat >>confdefs.h
<<_ACEOF
26218 #define HAVE___COSHIEEE128 1
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26227 $as_echo_n "checking for __cosieee128... " >&6; }
26228 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26229 $as_echo_n "(cached) " >&6
26231 if test x
$gcc_no_link = xyes
; then
26232 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26235 /* end confdefs.h. */
26237 _Float128 __cosieee128 (_Float128);
26238 _Float128 (*ptr)(_Float128) = __cosieee128;
26247 if ac_fn_c_try_link
"$LINENO"; then :
26248 gcc_cv_math_func___cosieee128
=yes
26250 gcc_cv_math_func___cosieee128
=no
26252 rm -f core conftest.err conftest.
$ac_objext \
26253 conftest
$ac_exeext conftest.
$ac_ext
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26256 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26257 if test $gcc_cv_math_func___cosieee128 = yes; then
26259 cat >>confdefs.h
<<_ACEOF
26260 #define HAVE___COSIEEE128 1
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26269 $as_echo_n "checking for __erfieee128... " >&6; }
26270 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26271 $as_echo_n "(cached) " >&6
26273 if test x
$gcc_no_link = xyes
; then
26274 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26279 _Float128 __erfieee128 (_Float128);
26280 _Float128 (*ptr)(_Float128) = __erfieee128;
26289 if ac_fn_c_try_link
"$LINENO"; then :
26290 gcc_cv_math_func___erfieee128
=yes
26292 gcc_cv_math_func___erfieee128
=no
26294 rm -f core conftest.err conftest.
$ac_objext \
26295 conftest
$ac_exeext conftest.
$ac_ext
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26298 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26299 if test $gcc_cv_math_func___erfieee128 = yes; then
26301 cat >>confdefs.h
<<_ACEOF
26302 #define HAVE___ERFIEEE128 1
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26311 $as_echo_n "checking for __expieee128... " >&6; }
26312 if ${gcc_cv_math_func___expieee128+:} false
; then :
26313 $as_echo_n "(cached) " >&6
26315 if test x
$gcc_no_link = xyes
; then
26316 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26319 /* end confdefs.h. */
26321 _Float128 __expieee128 (_Float128);
26322 _Float128 (*ptr)(_Float128) = __expieee128;
26331 if ac_fn_c_try_link
"$LINENO"; then :
26332 gcc_cv_math_func___expieee128
=yes
26334 gcc_cv_math_func___expieee128
=no
26336 rm -f core conftest.err conftest.
$ac_objext \
26337 conftest
$ac_exeext conftest.
$ac_ext
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26340 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26341 if test $gcc_cv_math_func___expieee128 = yes; then
26343 cat >>confdefs.h
<<_ACEOF
26344 #define HAVE___EXPIEEE128 1
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26353 $as_echo_n "checking for __fabsieee128... " >&6; }
26354 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26355 $as_echo_n "(cached) " >&6
26357 if test x
$gcc_no_link = xyes
; then
26358 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26361 /* end confdefs.h. */
26363 _Float128 __fabsieee128 (_Float128);
26364 _Float128 (*ptr)(_Float128) = __fabsieee128;
26373 if ac_fn_c_try_link
"$LINENO"; then :
26374 gcc_cv_math_func___fabsieee128
=yes
26376 gcc_cv_math_func___fabsieee128
=no
26378 rm -f core conftest.err conftest.
$ac_objext \
26379 conftest
$ac_exeext conftest.
$ac_ext
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26382 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26383 if test $gcc_cv_math_func___fabsieee128 = yes; then
26385 cat >>confdefs.h
<<_ACEOF
26386 #define HAVE___FABSIEEE128 1
26394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26395 $as_echo_n "checking for __jnieee128... " >&6; }
26396 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26397 $as_echo_n "(cached) " >&6
26399 if test x
$gcc_no_link = xyes
; then
26400 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26403 /* end confdefs.h. */
26405 _Float128 __jnieee128 (_Float128);
26406 _Float128 (*ptr)(_Float128) = __jnieee128;
26415 if ac_fn_c_try_link
"$LINENO"; then :
26416 gcc_cv_math_func___jnieee128
=yes
26418 gcc_cv_math_func___jnieee128
=no
26420 rm -f core conftest.err conftest.
$ac_objext \
26421 conftest
$ac_exeext conftest.
$ac_ext
26423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26424 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26425 if test $gcc_cv_math_func___jnieee128 = yes; then
26427 cat >>confdefs.h
<<_ACEOF
26428 #define HAVE___JNIEEE128 1
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26437 $as_echo_n "checking for __log10ieee128... " >&6; }
26438 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26439 $as_echo_n "(cached) " >&6
26441 if test x
$gcc_no_link = xyes
; then
26442 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26445 /* end confdefs.h. */
26447 _Float128 __log10ieee128 (_Float128);
26448 _Float128 (*ptr)(_Float128) = __log10ieee128;
26457 if ac_fn_c_try_link
"$LINENO"; then :
26458 gcc_cv_math_func___log10ieee128
=yes
26460 gcc_cv_math_func___log10ieee128
=no
26462 rm -f core conftest.err conftest.
$ac_objext \
26463 conftest
$ac_exeext conftest.
$ac_ext
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26466 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26467 if test $gcc_cv_math_func___log10ieee128 = yes; then
26469 cat >>confdefs.h
<<_ACEOF
26470 #define HAVE___LOG10IEEE128 1
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26479 $as_echo_n "checking for __logieee128... " >&6; }
26480 if ${gcc_cv_math_func___logieee128+:} false
; then :
26481 $as_echo_n "(cached) " >&6
26483 if test x
$gcc_no_link = xyes
; then
26484 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26487 /* end confdefs.h. */
26489 _Float128 __logieee128 (_Float128);
26490 _Float128 (*ptr)(_Float128) = __logieee128;
26499 if ac_fn_c_try_link
"$LINENO"; then :
26500 gcc_cv_math_func___logieee128
=yes
26502 gcc_cv_math_func___logieee128
=no
26504 rm -f core conftest.err conftest.
$ac_objext \
26505 conftest
$ac_exeext conftest.
$ac_ext
26507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26508 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26509 if test $gcc_cv_math_func___logieee128 = yes; then
26511 cat >>confdefs.h
<<_ACEOF
26512 #define HAVE___LOGIEEE128 1
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26521 $as_echo_n "checking for __powieee128... " >&6; }
26522 if ${gcc_cv_math_func___powieee128+:} false
; then :
26523 $as_echo_n "(cached) " >&6
26525 if test x
$gcc_no_link = xyes
; then
26526 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26529 /* end confdefs.h. */
26531 _Float128 __powieee128 (_Float128);
26532 _Float128 (*ptr)(_Float128) = __powieee128;
26541 if ac_fn_c_try_link
"$LINENO"; then :
26542 gcc_cv_math_func___powieee128
=yes
26544 gcc_cv_math_func___powieee128
=no
26546 rm -f core conftest.err conftest.
$ac_objext \
26547 conftest
$ac_exeext conftest.
$ac_ext
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26550 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26551 if test $gcc_cv_math_func___powieee128 = yes; then
26553 cat >>confdefs.h
<<_ACEOF
26554 #define HAVE___POWIEEE128 1
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26563 $as_echo_n "checking for __sinhieee128... " >&6; }
26564 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26565 $as_echo_n "(cached) " >&6
26567 if test x
$gcc_no_link = xyes
; then
26568 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26571 /* end confdefs.h. */
26573 _Float128 __sinhieee128 (_Float128);
26574 _Float128 (*ptr)(_Float128) = __sinhieee128;
26583 if ac_fn_c_try_link
"$LINENO"; then :
26584 gcc_cv_math_func___sinhieee128
=yes
26586 gcc_cv_math_func___sinhieee128
=no
26588 rm -f core conftest.err conftest.
$ac_objext \
26589 conftest
$ac_exeext conftest.
$ac_ext
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26592 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26593 if test $gcc_cv_math_func___sinhieee128 = yes; then
26595 cat >>confdefs.h
<<_ACEOF
26596 #define HAVE___SINHIEEE128 1
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26605 $as_echo_n "checking for __sinieee128... " >&6; }
26606 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26607 $as_echo_n "(cached) " >&6
26609 if test x
$gcc_no_link = xyes
; then
26610 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26613 /* end confdefs.h. */
26615 _Float128 __sinieee128 (_Float128);
26616 _Float128 (*ptr)(_Float128) = __sinieee128;
26625 if ac_fn_c_try_link
"$LINENO"; then :
26626 gcc_cv_math_func___sinieee128
=yes
26628 gcc_cv_math_func___sinieee128
=no
26630 rm -f core conftest.err conftest.
$ac_objext \
26631 conftest
$ac_exeext conftest.
$ac_ext
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26634 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26635 if test $gcc_cv_math_func___sinieee128 = yes; then
26637 cat >>confdefs.h
<<_ACEOF
26638 #define HAVE___SINIEEE128 1
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26647 $as_echo_n "checking for __sqrtieee128... " >&6; }
26648 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26649 $as_echo_n "(cached) " >&6
26651 if test x
$gcc_no_link = xyes
; then
26652 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26655 /* end confdefs.h. */
26657 _Float128 __sqrtieee128 (_Float128);
26658 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26667 if ac_fn_c_try_link
"$LINENO"; then :
26668 gcc_cv_math_func___sqrtieee128
=yes
26670 gcc_cv_math_func___sqrtieee128
=no
26672 rm -f core conftest.err conftest.
$ac_objext \
26673 conftest
$ac_exeext conftest.
$ac_ext
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26676 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26677 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26679 cat >>confdefs.h
<<_ACEOF
26680 #define HAVE___SQRTIEEE128 1
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26689 $as_echo_n "checking for __tanhieee128... " >&6; }
26690 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26691 $as_echo_n "(cached) " >&6
26693 if test x
$gcc_no_link = xyes
; then
26694 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26697 /* end confdefs.h. */
26699 _Float128 __tanhieee128 (_Float128);
26700 _Float128 (*ptr)(_Float128) = __tanhieee128;
26709 if ac_fn_c_try_link
"$LINENO"; then :
26710 gcc_cv_math_func___tanhieee128
=yes
26712 gcc_cv_math_func___tanhieee128
=no
26714 rm -f core conftest.err conftest.
$ac_objext \
26715 conftest
$ac_exeext conftest.
$ac_ext
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26718 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26719 if test $gcc_cv_math_func___tanhieee128 = yes; then
26721 cat >>confdefs.h
<<_ACEOF
26722 #define HAVE___TANHIEEE128 1
26730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26731 $as_echo_n "checking for __tanieee128... " >&6; }
26732 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26733 $as_echo_n "(cached) " >&6
26735 if test x
$gcc_no_link = xyes
; then
26736 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26741 _Float128 __tanieee128 (_Float128);
26742 _Float128 (*ptr)(_Float128) = __tanieee128;
26751 if ac_fn_c_try_link
"$LINENO"; then :
26752 gcc_cv_math_func___tanieee128
=yes
26754 gcc_cv_math_func___tanieee128
=no
26756 rm -f core conftest.err conftest.
$ac_objext \
26757 conftest
$ac_exeext conftest.
$ac_ext
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26760 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26761 if test $gcc_cv_math_func___tanieee128 = yes; then
26763 cat >>confdefs.h
<<_ACEOF
26764 #define HAVE___TANIEEE128 1
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26773 $as_echo_n "checking for __ynieee128... " >&6; }
26774 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26775 $as_echo_n "(cached) " >&6
26777 if test x
$gcc_no_link = xyes
; then
26778 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26783 _Float128 __ynieee128 (_Float128);
26784 _Float128 (*ptr)(_Float128) = __ynieee128;
26793 if ac_fn_c_try_link
"$LINENO"; then :
26794 gcc_cv_math_func___ynieee128
=yes
26796 gcc_cv_math_func___ynieee128
=no
26798 rm -f core conftest.err conftest.
$ac_objext \
26799 conftest
$ac_exeext conftest.
$ac_ext
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26802 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26803 if test $gcc_cv_math_func___ynieee128 = yes; then
26805 cat >>confdefs.h
<<_ACEOF
26806 #define HAVE___YNIEEE128 1
26813 # On AIX, clog is present in libm as __clog
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26815 $as_echo_n "checking for __clog in -lm... " >&6; }
26816 if ${ac_cv_lib_m___clog+:} false
; then :
26817 $as_echo_n "(cached) " >&6
26819 ac_check_lib_save_LIBS
=$LIBS
26821 if test x
$gcc_no_link = xyes
; then
26822 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26825 /* end confdefs.h. */
26827 /* Override any GCC internal prototype to avoid an error.
26828 Use char because int might match the return type of a GCC
26829 builtin and then its argument prototype would still apply. */
26842 if ac_fn_c_try_link
"$LINENO"; then :
26843 ac_cv_lib_m___clog
=yes
26845 ac_cv_lib_m___clog
=no
26847 rm -f core conftest.err conftest.
$ac_objext \
26848 conftest
$ac_exeext conftest.
$ac_ext
26849 LIBS
=$ac_check_lib_save_LIBS
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26852 $as_echo "$ac_cv_lib_m___clog" >&6; }
26853 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26855 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26862 if test $gcc_cv_math_func_copysign = no
; then
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26864 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26865 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26866 $as_echo_n "(cached) " >&6
26868 if test x
$gcc_no_link = xyes
; then
26869 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26872 /* end confdefs.h. */
26875 copysign_fallback (double x, double y)
26877 return __builtin_copysign (x, y);
26887 if ac_fn_c_try_link
"$LINENO"; then :
26888 gcc_cv_math_inline_builtin_copysign
=yes
26890 gcc_cv_math_inline_builtin_copysign
=no
26892 rm -f core conftest.err conftest.
$ac_objext \
26893 conftest
$ac_exeext conftest.
$ac_ext
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26896 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26897 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26899 cat >>confdefs.h
<<_ACEOF
26900 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26907 if test $gcc_cv_math_func_copysignl = no
; then
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26909 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26910 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
26911 $as_echo_n "(cached) " >&6
26913 if test x
$gcc_no_link = xyes
; then
26914 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h. */
26920 copysignl_fallback (long double x, long double y)
26922 return __builtin_copysignl (x, y);
26932 if ac_fn_c_try_link
"$LINENO"; then :
26933 gcc_cv_math_inline_builtin_copysignl
=yes
26935 gcc_cv_math_inline_builtin_copysignl
=no
26937 rm -f core conftest.err conftest.
$ac_objext \
26938 conftest
$ac_exeext conftest.
$ac_ext
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26941 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26942 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26944 cat >>confdefs.h
<<_ACEOF
26945 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26952 if test $gcc_cv_math_func_fabs = no
; then
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26954 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26955 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
26956 $as_echo_n "(cached) " >&6
26958 if test x
$gcc_no_link = xyes
; then
26959 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26962 /* end confdefs.h. */
26965 fabs_fallback (double x)
26967 return __builtin_fabs (x);
26977 if ac_fn_c_try_link
"$LINENO"; then :
26978 gcc_cv_math_inline_builtin_fabs
=yes
26980 gcc_cv_math_inline_builtin_fabs
=no
26982 rm -f core conftest.err conftest.
$ac_objext \
26983 conftest
$ac_exeext conftest.
$ac_ext
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26986 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26987 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26989 cat >>confdefs.h
<<_ACEOF
26990 #define HAVE_INLINE_BUILTIN_FABS 1
26997 if test $gcc_cv_math_func_fabsl = no
; then
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26999 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27000 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
27001 $as_echo_n "(cached) " >&6
27003 if test x
$gcc_no_link = xyes
; then
27004 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27007 /* end confdefs.h. */
27010 fabsl_fallback (long double x)
27012 return __builtin_fabsl (x);
27022 if ac_fn_c_try_link
"$LINENO"; then :
27023 gcc_cv_math_inline_builtin_fabsl
=yes
27025 gcc_cv_math_inline_builtin_fabsl
=no
27027 rm -f core conftest.err conftest.
$ac_objext \
27028 conftest
$ac_exeext conftest.
$ac_ext
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27031 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27032 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27034 cat >>confdefs.h
<<_ACEOF
27035 #define HAVE_INLINE_BUILTIN_FABSL 1
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27045 $as_echo_n "checking for acosf128... " >&6; }
27046 if ${gcc_cv_math_func_acosf128+:} false
; then :
27047 $as_echo_n "(cached) " >&6
27049 if test x
$gcc_no_link = xyes
; then
27050 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27053 /* end confdefs.h. */
27055 #ifdef HAVE_COMPLEX_H
27056 #include <complex.h>
27062 int (*ptr)() = (int (*)())acosf128;
27071 if ac_fn_c_try_link
"$LINENO"; then :
27072 gcc_cv_math_func_acosf128
=yes
27074 gcc_cv_math_func_acosf128
=no
27076 rm -f core conftest.err conftest.
$ac_objext \
27077 conftest
$ac_exeext conftest.
$ac_ext
27079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27080 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27081 if test $gcc_cv_math_func_acosf128 = yes; then
27083 cat >>confdefs.h
<<_ACEOF
27084 #define HAVE_ACOSF128 1
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27093 $as_echo_n "checking for acoshf128... " >&6; }
27094 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27095 $as_echo_n "(cached) " >&6
27097 if test x
$gcc_no_link = xyes
; then
27098 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27101 /* end confdefs.h. */
27103 #ifdef HAVE_COMPLEX_H
27104 #include <complex.h>
27110 int (*ptr)() = (int (*)())acoshf128;
27119 if ac_fn_c_try_link
"$LINENO"; then :
27120 gcc_cv_math_func_acoshf128
=yes
27122 gcc_cv_math_func_acoshf128
=no
27124 rm -f core conftest.err conftest.
$ac_objext \
27125 conftest
$ac_exeext conftest.
$ac_ext
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27128 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27129 if test $gcc_cv_math_func_acoshf128 = yes; then
27131 cat >>confdefs.h
<<_ACEOF
27132 #define HAVE_ACOSHF128 1
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27141 $as_echo_n "checking for asinf128... " >&6; }
27142 if ${gcc_cv_math_func_asinf128+:} false
; then :
27143 $as_echo_n "(cached) " >&6
27145 if test x
$gcc_no_link = xyes
; then
27146 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27149 /* end confdefs.h. */
27151 #ifdef HAVE_COMPLEX_H
27152 #include <complex.h>
27158 int (*ptr)() = (int (*)())asinf128;
27167 if ac_fn_c_try_link
"$LINENO"; then :
27168 gcc_cv_math_func_asinf128
=yes
27170 gcc_cv_math_func_asinf128
=no
27172 rm -f core conftest.err conftest.
$ac_objext \
27173 conftest
$ac_exeext conftest.
$ac_ext
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27176 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27177 if test $gcc_cv_math_func_asinf128 = yes; then
27179 cat >>confdefs.h
<<_ACEOF
27180 #define HAVE_ASINF128 1
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27189 $as_echo_n "checking for asinhf128... " >&6; }
27190 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27191 $as_echo_n "(cached) " >&6
27193 if test x
$gcc_no_link = xyes
; then
27194 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h. */
27199 #ifdef HAVE_COMPLEX_H
27200 #include <complex.h>
27206 int (*ptr)() = (int (*)())asinhf128;
27215 if ac_fn_c_try_link
"$LINENO"; then :
27216 gcc_cv_math_func_asinhf128
=yes
27218 gcc_cv_math_func_asinhf128
=no
27220 rm -f core conftest.err conftest.
$ac_objext \
27221 conftest
$ac_exeext conftest.
$ac_ext
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27224 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27225 if test $gcc_cv_math_func_asinhf128 = yes; then
27227 cat >>confdefs.h
<<_ACEOF
27228 #define HAVE_ASINHF128 1
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27237 $as_echo_n "checking for atan2f128... " >&6; }
27238 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27239 $as_echo_n "(cached) " >&6
27241 if test x
$gcc_no_link = xyes
; then
27242 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27247 #ifdef HAVE_COMPLEX_H
27248 #include <complex.h>
27254 int (*ptr)() = (int (*)())atan2f128;
27263 if ac_fn_c_try_link
"$LINENO"; then :
27264 gcc_cv_math_func_atan2f128
=yes
27266 gcc_cv_math_func_atan2f128
=no
27268 rm -f core conftest.err conftest.
$ac_objext \
27269 conftest
$ac_exeext conftest.
$ac_ext
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27272 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27273 if test $gcc_cv_math_func_atan2f128 = yes; then
27275 cat >>confdefs.h
<<_ACEOF
27276 #define HAVE_ATAN2F128 1
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27285 $as_echo_n "checking for atanf128... " >&6; }
27286 if ${gcc_cv_math_func_atanf128+:} false
; then :
27287 $as_echo_n "(cached) " >&6
27289 if test x
$gcc_no_link = xyes
; then
27290 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27293 /* end confdefs.h. */
27295 #ifdef HAVE_COMPLEX_H
27296 #include <complex.h>
27302 int (*ptr)() = (int (*)())atanf128;
27311 if ac_fn_c_try_link
"$LINENO"; then :
27312 gcc_cv_math_func_atanf128
=yes
27314 gcc_cv_math_func_atanf128
=no
27316 rm -f core conftest.err conftest.
$ac_objext \
27317 conftest
$ac_exeext conftest.
$ac_ext
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27320 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27321 if test $gcc_cv_math_func_atanf128 = yes; then
27323 cat >>confdefs.h
<<_ACEOF
27324 #define HAVE_ATANF128 1
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27333 $as_echo_n "checking for atanhf128... " >&6; }
27334 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27335 $as_echo_n "(cached) " >&6
27337 if test x
$gcc_no_link = xyes
; then
27338 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27341 /* end confdefs.h. */
27343 #ifdef HAVE_COMPLEX_H
27344 #include <complex.h>
27350 int (*ptr)() = (int (*)())atanhf128;
27359 if ac_fn_c_try_link
"$LINENO"; then :
27360 gcc_cv_math_func_atanhf128
=yes
27362 gcc_cv_math_func_atanhf128
=no
27364 rm -f core conftest.err conftest.
$ac_objext \
27365 conftest
$ac_exeext conftest.
$ac_ext
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27368 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27369 if test $gcc_cv_math_func_atanhf128 = yes; then
27371 cat >>confdefs.h
<<_ACEOF
27372 #define HAVE_ATANHF128 1
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27381 $as_echo_n "checking for cargf128... " >&6; }
27382 if ${gcc_cv_math_func_cargf128+:} false
; then :
27383 $as_echo_n "(cached) " >&6
27385 if test x
$gcc_no_link = xyes
; then
27386 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27389 /* end confdefs.h. */
27391 #ifdef HAVE_COMPLEX_H
27392 #include <complex.h>
27398 int (*ptr)() = (int (*)())cargf128;
27407 if ac_fn_c_try_link
"$LINENO"; then :
27408 gcc_cv_math_func_cargf128
=yes
27410 gcc_cv_math_func_cargf128
=no
27412 rm -f core conftest.err conftest.
$ac_objext \
27413 conftest
$ac_exeext conftest.
$ac_ext
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27416 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27417 if test $gcc_cv_math_func_cargf128 = yes; then
27419 cat >>confdefs.h
<<_ACEOF
27420 #define HAVE_CARGF128 1
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27429 $as_echo_n "checking for ceilf128... " >&6; }
27430 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27431 $as_echo_n "(cached) " >&6
27433 if test x
$gcc_no_link = xyes
; then
27434 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27437 /* end confdefs.h. */
27439 #ifdef HAVE_COMPLEX_H
27440 #include <complex.h>
27446 int (*ptr)() = (int (*)())ceilf128;
27455 if ac_fn_c_try_link
"$LINENO"; then :
27456 gcc_cv_math_func_ceilf128
=yes
27458 gcc_cv_math_func_ceilf128
=no
27460 rm -f core conftest.err conftest.
$ac_objext \
27461 conftest
$ac_exeext conftest.
$ac_ext
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27464 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27465 if test $gcc_cv_math_func_ceilf128 = yes; then
27467 cat >>confdefs.h
<<_ACEOF
27468 #define HAVE_CEILF128 1
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27477 $as_echo_n "checking for copysignf128... " >&6; }
27478 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27479 $as_echo_n "(cached) " >&6
27481 if test x
$gcc_no_link = xyes
; then
27482 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27485 /* end confdefs.h. */
27487 #ifdef HAVE_COMPLEX_H
27488 #include <complex.h>
27494 int (*ptr)() = (int (*)())copysignf128;
27503 if ac_fn_c_try_link
"$LINENO"; then :
27504 gcc_cv_math_func_copysignf128
=yes
27506 gcc_cv_math_func_copysignf128
=no
27508 rm -f core conftest.err conftest.
$ac_objext \
27509 conftest
$ac_exeext conftest.
$ac_ext
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27512 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27513 if test $gcc_cv_math_func_copysignf128 = yes; then
27515 cat >>confdefs.h
<<_ACEOF
27516 #define HAVE_COPYSIGNF128 1
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27525 $as_echo_n "checking for cosf128... " >&6; }
27526 if ${gcc_cv_math_func_cosf128+:} false
; then :
27527 $as_echo_n "(cached) " >&6
27529 if test x
$gcc_no_link = xyes
; then
27530 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27533 /* end confdefs.h. */
27535 #ifdef HAVE_COMPLEX_H
27536 #include <complex.h>
27542 int (*ptr)() = (int (*)())cosf128;
27551 if ac_fn_c_try_link
"$LINENO"; then :
27552 gcc_cv_math_func_cosf128
=yes
27554 gcc_cv_math_func_cosf128
=no
27556 rm -f core conftest.err conftest.
$ac_objext \
27557 conftest
$ac_exeext conftest.
$ac_ext
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27560 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27561 if test $gcc_cv_math_func_cosf128 = yes; then
27563 cat >>confdefs.h
<<_ACEOF
27564 #define HAVE_COSF128 1
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27573 $as_echo_n "checking for ccosf128... " >&6; }
27574 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27575 $as_echo_n "(cached) " >&6
27577 if test x
$gcc_no_link = xyes
; then
27578 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27581 /* end confdefs.h. */
27583 #ifdef HAVE_COMPLEX_H
27584 #include <complex.h>
27590 int (*ptr)() = (int (*)())ccosf128;
27599 if ac_fn_c_try_link
"$LINENO"; then :
27600 gcc_cv_math_func_ccosf128
=yes
27602 gcc_cv_math_func_ccosf128
=no
27604 rm -f core conftest.err conftest.
$ac_objext \
27605 conftest
$ac_exeext conftest.
$ac_ext
27607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27608 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27609 if test $gcc_cv_math_func_ccosf128 = yes; then
27611 cat >>confdefs.h
<<_ACEOF
27612 #define HAVE_CCOSF128 1
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27621 $as_echo_n "checking for coshf128... " >&6; }
27622 if ${gcc_cv_math_func_coshf128+:} false
; then :
27623 $as_echo_n "(cached) " >&6
27625 if test x
$gcc_no_link = xyes
; then
27626 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27629 /* end confdefs.h. */
27631 #ifdef HAVE_COMPLEX_H
27632 #include <complex.h>
27638 int (*ptr)() = (int (*)())coshf128;
27647 if ac_fn_c_try_link
"$LINENO"; then :
27648 gcc_cv_math_func_coshf128
=yes
27650 gcc_cv_math_func_coshf128
=no
27652 rm -f core conftest.err conftest.
$ac_objext \
27653 conftest
$ac_exeext conftest.
$ac_ext
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27656 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27657 if test $gcc_cv_math_func_coshf128 = yes; then
27659 cat >>confdefs.h
<<_ACEOF
27660 #define HAVE_COSHF128 1
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27669 $as_echo_n "checking for ccoshf128... " >&6; }
27670 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27671 $as_echo_n "(cached) " >&6
27673 if test x
$gcc_no_link = xyes
; then
27674 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27677 /* end confdefs.h. */
27679 #ifdef HAVE_COMPLEX_H
27680 #include <complex.h>
27686 int (*ptr)() = (int (*)())ccoshf128;
27695 if ac_fn_c_try_link
"$LINENO"; then :
27696 gcc_cv_math_func_ccoshf128
=yes
27698 gcc_cv_math_func_ccoshf128
=no
27700 rm -f core conftest.err conftest.
$ac_objext \
27701 conftest
$ac_exeext conftest.
$ac_ext
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27704 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27705 if test $gcc_cv_math_func_ccoshf128 = yes; then
27707 cat >>confdefs.h
<<_ACEOF
27708 #define HAVE_CCOSHF128 1
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27717 $as_echo_n "checking for expf128... " >&6; }
27718 if ${gcc_cv_math_func_expf128+:} false
; then :
27719 $as_echo_n "(cached) " >&6
27721 if test x
$gcc_no_link = xyes
; then
27722 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27727 #ifdef HAVE_COMPLEX_H
27728 #include <complex.h>
27734 int (*ptr)() = (int (*)())expf128;
27743 if ac_fn_c_try_link
"$LINENO"; then :
27744 gcc_cv_math_func_expf128
=yes
27746 gcc_cv_math_func_expf128
=no
27748 rm -f core conftest.err conftest.
$ac_objext \
27749 conftest
$ac_exeext conftest.
$ac_ext
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27752 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27753 if test $gcc_cv_math_func_expf128 = yes; then
27755 cat >>confdefs.h
<<_ACEOF
27756 #define HAVE_EXPF128 1
27764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27765 $as_echo_n "checking for cexpf128... " >&6; }
27766 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27767 $as_echo_n "(cached) " >&6
27769 if test x
$gcc_no_link = xyes
; then
27770 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27773 /* end confdefs.h. */
27775 #ifdef HAVE_COMPLEX_H
27776 #include <complex.h>
27782 int (*ptr)() = (int (*)())cexpf128;
27791 if ac_fn_c_try_link
"$LINENO"; then :
27792 gcc_cv_math_func_cexpf128
=yes
27794 gcc_cv_math_func_cexpf128
=no
27796 rm -f core conftest.err conftest.
$ac_objext \
27797 conftest
$ac_exeext conftest.
$ac_ext
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27800 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27801 if test $gcc_cv_math_func_cexpf128 = yes; then
27803 cat >>confdefs.h
<<_ACEOF
27804 #define HAVE_CEXPF128 1
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27813 $as_echo_n "checking for fabsf128... " >&6; }
27814 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27815 $as_echo_n "(cached) " >&6
27817 if test x
$gcc_no_link = xyes
; then
27818 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27821 /* end confdefs.h. */
27823 #ifdef HAVE_COMPLEX_H
27824 #include <complex.h>
27830 int (*ptr)() = (int (*)())fabsf128;
27839 if ac_fn_c_try_link
"$LINENO"; then :
27840 gcc_cv_math_func_fabsf128
=yes
27842 gcc_cv_math_func_fabsf128
=no
27844 rm -f core conftest.err conftest.
$ac_objext \
27845 conftest
$ac_exeext conftest.
$ac_ext
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27848 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27849 if test $gcc_cv_math_func_fabsf128 = yes; then
27851 cat >>confdefs.h
<<_ACEOF
27852 #define HAVE_FABSF128 1
27860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27861 $as_echo_n "checking for cabsf128... " >&6; }
27862 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27863 $as_echo_n "(cached) " >&6
27865 if test x
$gcc_no_link = xyes
; then
27866 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27869 /* end confdefs.h. */
27871 #ifdef HAVE_COMPLEX_H
27872 #include <complex.h>
27878 int (*ptr)() = (int (*)())cabsf128;
27887 if ac_fn_c_try_link
"$LINENO"; then :
27888 gcc_cv_math_func_cabsf128
=yes
27890 gcc_cv_math_func_cabsf128
=no
27892 rm -f core conftest.err conftest.
$ac_objext \
27893 conftest
$ac_exeext conftest.
$ac_ext
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27896 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27897 if test $gcc_cv_math_func_cabsf128 = yes; then
27899 cat >>confdefs.h
<<_ACEOF
27900 #define HAVE_CABSF128 1
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27909 $as_echo_n "checking for floorf128... " >&6; }
27910 if ${gcc_cv_math_func_floorf128+:} false
; then :
27911 $as_echo_n "(cached) " >&6
27913 if test x
$gcc_no_link = xyes
; then
27914 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27917 /* end confdefs.h. */
27919 #ifdef HAVE_COMPLEX_H
27920 #include <complex.h>
27926 int (*ptr)() = (int (*)())floorf128;
27935 if ac_fn_c_try_link
"$LINENO"; then :
27936 gcc_cv_math_func_floorf128
=yes
27938 gcc_cv_math_func_floorf128
=no
27940 rm -f core conftest.err conftest.
$ac_objext \
27941 conftest
$ac_exeext conftest.
$ac_ext
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27944 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27945 if test $gcc_cv_math_func_floorf128 = yes; then
27947 cat >>confdefs.h
<<_ACEOF
27948 #define HAVE_FLOORF128 1
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27957 $as_echo_n "checking for fmaf128... " >&6; }
27958 if ${gcc_cv_math_func_fmaf128+:} false
; then :
27959 $as_echo_n "(cached) " >&6
27961 if test x
$gcc_no_link = xyes
; then
27962 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h. */
27967 #ifdef HAVE_COMPLEX_H
27968 #include <complex.h>
27974 int (*ptr)() = (int (*)())fmaf128;
27983 if ac_fn_c_try_link
"$LINENO"; then :
27984 gcc_cv_math_func_fmaf128
=yes
27986 gcc_cv_math_func_fmaf128
=no
27988 rm -f core conftest.err conftest.
$ac_objext \
27989 conftest
$ac_exeext conftest.
$ac_ext
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27992 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27993 if test $gcc_cv_math_func_fmaf128 = yes; then
27995 cat >>confdefs.h
<<_ACEOF
27996 #define HAVE_FMAF128 1
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28005 $as_echo_n "checking for fmodf128... " >&6; }
28006 if ${gcc_cv_math_func_fmodf128+:} false
; then :
28007 $as_echo_n "(cached) " >&6
28009 if test x
$gcc_no_link = xyes
; then
28010 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28015 #ifdef HAVE_COMPLEX_H
28016 #include <complex.h>
28022 int (*ptr)() = (int (*)())fmodf128;
28031 if ac_fn_c_try_link
"$LINENO"; then :
28032 gcc_cv_math_func_fmodf128
=yes
28034 gcc_cv_math_func_fmodf128
=no
28036 rm -f core conftest.err conftest.
$ac_objext \
28037 conftest
$ac_exeext conftest.
$ac_ext
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28040 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28041 if test $gcc_cv_math_func_fmodf128 = yes; then
28043 cat >>confdefs.h
<<_ACEOF
28044 #define HAVE_FMODF128 1
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28053 $as_echo_n "checking for frexpf128... " >&6; }
28054 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28055 $as_echo_n "(cached) " >&6
28057 if test x
$gcc_no_link = xyes
; then
28058 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28061 /* end confdefs.h. */
28063 #ifdef HAVE_COMPLEX_H
28064 #include <complex.h>
28070 int (*ptr)() = (int (*)())frexpf128;
28079 if ac_fn_c_try_link
"$LINENO"; then :
28080 gcc_cv_math_func_frexpf128
=yes
28082 gcc_cv_math_func_frexpf128
=no
28084 rm -f core conftest.err conftest.
$ac_objext \
28085 conftest
$ac_exeext conftest.
$ac_ext
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28088 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28089 if test $gcc_cv_math_func_frexpf128 = yes; then
28091 cat >>confdefs.h
<<_ACEOF
28092 #define HAVE_FREXPF128 1
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28101 $as_echo_n "checking for hypotf128... " >&6; }
28102 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28103 $as_echo_n "(cached) " >&6
28105 if test x
$gcc_no_link = xyes
; then
28106 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28109 /* end confdefs.h. */
28111 #ifdef HAVE_COMPLEX_H
28112 #include <complex.h>
28118 int (*ptr)() = (int (*)())hypotf128;
28127 if ac_fn_c_try_link
"$LINENO"; then :
28128 gcc_cv_math_func_hypotf128
=yes
28130 gcc_cv_math_func_hypotf128
=no
28132 rm -f core conftest.err conftest.
$ac_objext \
28133 conftest
$ac_exeext conftest.
$ac_ext
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28136 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28137 if test $gcc_cv_math_func_hypotf128 = yes; then
28139 cat >>confdefs.h
<<_ACEOF
28140 #define HAVE_HYPOTF128 1
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28149 $as_echo_n "checking for ldexpf128... " >&6; }
28150 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28151 $as_echo_n "(cached) " >&6
28153 if test x
$gcc_no_link = xyes
; then
28154 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28157 /* end confdefs.h. */
28159 #ifdef HAVE_COMPLEX_H
28160 #include <complex.h>
28166 int (*ptr)() = (int (*)())ldexpf128;
28175 if ac_fn_c_try_link
"$LINENO"; then :
28176 gcc_cv_math_func_ldexpf128
=yes
28178 gcc_cv_math_func_ldexpf128
=no
28180 rm -f core conftest.err conftest.
$ac_objext \
28181 conftest
$ac_exeext conftest.
$ac_ext
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28184 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28185 if test $gcc_cv_math_func_ldexpf128 = yes; then
28187 cat >>confdefs.h
<<_ACEOF
28188 #define HAVE_LDEXPF128 1
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28197 $as_echo_n "checking for logf128... " >&6; }
28198 if ${gcc_cv_math_func_logf128+:} false
; then :
28199 $as_echo_n "(cached) " >&6
28201 if test x
$gcc_no_link = xyes
; then
28202 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28205 /* end confdefs.h. */
28207 #ifdef HAVE_COMPLEX_H
28208 #include <complex.h>
28214 int (*ptr)() = (int (*)())logf128;
28223 if ac_fn_c_try_link
"$LINENO"; then :
28224 gcc_cv_math_func_logf128
=yes
28226 gcc_cv_math_func_logf128
=no
28228 rm -f core conftest.err conftest.
$ac_objext \
28229 conftest
$ac_exeext conftest.
$ac_ext
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28232 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28233 if test $gcc_cv_math_func_logf128 = yes; then
28235 cat >>confdefs.h
<<_ACEOF
28236 #define HAVE_LOGF128 1
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28245 $as_echo_n "checking for clogf128... " >&6; }
28246 if ${gcc_cv_math_func_clogf128+:} false
; then :
28247 $as_echo_n "(cached) " >&6
28249 if test x
$gcc_no_link = xyes
; then
28250 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28253 /* end confdefs.h. */
28255 #ifdef HAVE_COMPLEX_H
28256 #include <complex.h>
28262 int (*ptr)() = (int (*)())clogf128;
28271 if ac_fn_c_try_link
"$LINENO"; then :
28272 gcc_cv_math_func_clogf128
=yes
28274 gcc_cv_math_func_clogf128
=no
28276 rm -f core conftest.err conftest.
$ac_objext \
28277 conftest
$ac_exeext conftest.
$ac_ext
28279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28280 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28281 if test $gcc_cv_math_func_clogf128 = yes; then
28283 cat >>confdefs.h
<<_ACEOF
28284 #define HAVE_CLOGF128 1
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28293 $as_echo_n "checking for log10f128... " >&6; }
28294 if ${gcc_cv_math_func_log10f128+:} false
; then :
28295 $as_echo_n "(cached) " >&6
28297 if test x
$gcc_no_link = xyes
; then
28298 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28301 /* end confdefs.h. */
28303 #ifdef HAVE_COMPLEX_H
28304 #include <complex.h>
28310 int (*ptr)() = (int (*)())log10f128;
28319 if ac_fn_c_try_link
"$LINENO"; then :
28320 gcc_cv_math_func_log10f128
=yes
28322 gcc_cv_math_func_log10f128
=no
28324 rm -f core conftest.err conftest.
$ac_objext \
28325 conftest
$ac_exeext conftest.
$ac_ext
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28328 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28329 if test $gcc_cv_math_func_log10f128 = yes; then
28331 cat >>confdefs.h
<<_ACEOF
28332 #define HAVE_LOG10F128 1
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28341 $as_echo_n "checking for clog10f128... " >&6; }
28342 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28343 $as_echo_n "(cached) " >&6
28345 if test x
$gcc_no_link = xyes
; then
28346 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h. */
28351 #ifdef HAVE_COMPLEX_H
28352 #include <complex.h>
28358 int (*ptr)() = (int (*)())clog10f128;
28367 if ac_fn_c_try_link
"$LINENO"; then :
28368 gcc_cv_math_func_clog10f128
=yes
28370 gcc_cv_math_func_clog10f128
=no
28372 rm -f core conftest.err conftest.
$ac_objext \
28373 conftest
$ac_exeext conftest.
$ac_ext
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28376 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28377 if test $gcc_cv_math_func_clog10f128 = yes; then
28379 cat >>confdefs.h
<<_ACEOF
28380 #define HAVE_CLOG10F128 1
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28389 $as_echo_n "checking for nextafterf128... " >&6; }
28390 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28391 $as_echo_n "(cached) " >&6
28393 if test x
$gcc_no_link = xyes
; then
28394 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28399 #ifdef HAVE_COMPLEX_H
28400 #include <complex.h>
28406 int (*ptr)() = (int (*)())nextafterf128;
28415 if ac_fn_c_try_link
"$LINENO"; then :
28416 gcc_cv_math_func_nextafterf128
=yes
28418 gcc_cv_math_func_nextafterf128
=no
28420 rm -f core conftest.err conftest.
$ac_objext \
28421 conftest
$ac_exeext conftest.
$ac_ext
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28424 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28425 if test $gcc_cv_math_func_nextafterf128 = yes; then
28427 cat >>confdefs.h
<<_ACEOF
28428 #define HAVE_NEXTAFTERF128 1
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28437 $as_echo_n "checking for powf128... " >&6; }
28438 if ${gcc_cv_math_func_powf128+:} false
; then :
28439 $as_echo_n "(cached) " >&6
28441 if test x
$gcc_no_link = xyes
; then
28442 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28447 #ifdef HAVE_COMPLEX_H
28448 #include <complex.h>
28454 int (*ptr)() = (int (*)())powf128;
28463 if ac_fn_c_try_link
"$LINENO"; then :
28464 gcc_cv_math_func_powf128
=yes
28466 gcc_cv_math_func_powf128
=no
28468 rm -f core conftest.err conftest.
$ac_objext \
28469 conftest
$ac_exeext conftest.
$ac_ext
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28472 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28473 if test $gcc_cv_math_func_powf128 = yes; then
28475 cat >>confdefs.h
<<_ACEOF
28476 #define HAVE_POWF128 1
28484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28485 $as_echo_n "checking for cpowf128... " >&6; }
28486 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28487 $as_echo_n "(cached) " >&6
28489 if test x
$gcc_no_link = xyes
; then
28490 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28493 /* end confdefs.h. */
28495 #ifdef HAVE_COMPLEX_H
28496 #include <complex.h>
28502 int (*ptr)() = (int (*)())cpowf128;
28511 if ac_fn_c_try_link
"$LINENO"; then :
28512 gcc_cv_math_func_cpowf128
=yes
28514 gcc_cv_math_func_cpowf128
=no
28516 rm -f core conftest.err conftest.
$ac_objext \
28517 conftest
$ac_exeext conftest.
$ac_ext
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28520 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28521 if test $gcc_cv_math_func_cpowf128 = yes; then
28523 cat >>confdefs.h
<<_ACEOF
28524 #define HAVE_CPOWF128 1
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28533 $as_echo_n "checking for roundf128... " >&6; }
28534 if ${gcc_cv_math_func_roundf128+:} false
; then :
28535 $as_echo_n "(cached) " >&6
28537 if test x
$gcc_no_link = xyes
; then
28538 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28543 #ifdef HAVE_COMPLEX_H
28544 #include <complex.h>
28550 int (*ptr)() = (int (*)())roundf128;
28559 if ac_fn_c_try_link
"$LINENO"; then :
28560 gcc_cv_math_func_roundf128
=yes
28562 gcc_cv_math_func_roundf128
=no
28564 rm -f core conftest.err conftest.
$ac_objext \
28565 conftest
$ac_exeext conftest.
$ac_ext
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28568 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28569 if test $gcc_cv_math_func_roundf128 = yes; then
28571 cat >>confdefs.h
<<_ACEOF
28572 #define HAVE_ROUNDF128 1
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28581 $as_echo_n "checking for lroundf128... " >&6; }
28582 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28583 $as_echo_n "(cached) " >&6
28585 if test x
$gcc_no_link = xyes
; then
28586 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28589 /* end confdefs.h. */
28591 #ifdef HAVE_COMPLEX_H
28592 #include <complex.h>
28598 int (*ptr)() = (int (*)())lroundf128;
28607 if ac_fn_c_try_link
"$LINENO"; then :
28608 gcc_cv_math_func_lroundf128
=yes
28610 gcc_cv_math_func_lroundf128
=no
28612 rm -f core conftest.err conftest.
$ac_objext \
28613 conftest
$ac_exeext conftest.
$ac_ext
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28616 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28617 if test $gcc_cv_math_func_lroundf128 = yes; then
28619 cat >>confdefs.h
<<_ACEOF
28620 #define HAVE_LROUNDF128 1
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28629 $as_echo_n "checking for llroundf128... " >&6; }
28630 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28631 $as_echo_n "(cached) " >&6
28633 if test x
$gcc_no_link = xyes
; then
28634 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28637 /* end confdefs.h. */
28639 #ifdef HAVE_COMPLEX_H
28640 #include <complex.h>
28646 int (*ptr)() = (int (*)())llroundf128;
28655 if ac_fn_c_try_link
"$LINENO"; then :
28656 gcc_cv_math_func_llroundf128
=yes
28658 gcc_cv_math_func_llroundf128
=no
28660 rm -f core conftest.err conftest.
$ac_objext \
28661 conftest
$ac_exeext conftest.
$ac_ext
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28664 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28665 if test $gcc_cv_math_func_llroundf128 = yes; then
28667 cat >>confdefs.h
<<_ACEOF
28668 #define HAVE_LLROUNDF128 1
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28677 $as_echo_n "checking for scalbnf128... " >&6; }
28678 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28679 $as_echo_n "(cached) " >&6
28681 if test x
$gcc_no_link = xyes
; then
28682 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28685 /* end confdefs.h. */
28687 #ifdef HAVE_COMPLEX_H
28688 #include <complex.h>
28694 int (*ptr)() = (int (*)())scalbnf128;
28703 if ac_fn_c_try_link
"$LINENO"; then :
28704 gcc_cv_math_func_scalbnf128
=yes
28706 gcc_cv_math_func_scalbnf128
=no
28708 rm -f core conftest.err conftest.
$ac_objext \
28709 conftest
$ac_exeext conftest.
$ac_ext
28711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28712 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28713 if test $gcc_cv_math_func_scalbnf128 = yes; then
28715 cat >>confdefs.h
<<_ACEOF
28716 #define HAVE_SCALBNF128 1
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28725 $as_echo_n "checking for sinf128... " >&6; }
28726 if ${gcc_cv_math_func_sinf128+:} false
; then :
28727 $as_echo_n "(cached) " >&6
28729 if test x
$gcc_no_link = xyes
; then
28730 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28733 /* end confdefs.h. */
28735 #ifdef HAVE_COMPLEX_H
28736 #include <complex.h>
28742 int (*ptr)() = (int (*)())sinf128;
28751 if ac_fn_c_try_link
"$LINENO"; then :
28752 gcc_cv_math_func_sinf128
=yes
28754 gcc_cv_math_func_sinf128
=no
28756 rm -f core conftest.err conftest.
$ac_objext \
28757 conftest
$ac_exeext conftest.
$ac_ext
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28760 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28761 if test $gcc_cv_math_func_sinf128 = yes; then
28763 cat >>confdefs.h
<<_ACEOF
28764 #define HAVE_SINF128 1
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28773 $as_echo_n "checking for csinf128... " >&6; }
28774 if ${gcc_cv_math_func_csinf128+:} false
; then :
28775 $as_echo_n "(cached) " >&6
28777 if test x
$gcc_no_link = xyes
; then
28778 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28781 /* end confdefs.h. */
28783 #ifdef HAVE_COMPLEX_H
28784 #include <complex.h>
28790 int (*ptr)() = (int (*)())csinf128;
28799 if ac_fn_c_try_link
"$LINENO"; then :
28800 gcc_cv_math_func_csinf128
=yes
28802 gcc_cv_math_func_csinf128
=no
28804 rm -f core conftest.err conftest.
$ac_objext \
28805 conftest
$ac_exeext conftest.
$ac_ext
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28808 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28809 if test $gcc_cv_math_func_csinf128 = yes; then
28811 cat >>confdefs.h
<<_ACEOF
28812 #define HAVE_CSINF128 1
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28821 $as_echo_n "checking for sinhf128... " >&6; }
28822 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28823 $as_echo_n "(cached) " >&6
28825 if test x
$gcc_no_link = xyes
; then
28826 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28831 #ifdef HAVE_COMPLEX_H
28832 #include <complex.h>
28838 int (*ptr)() = (int (*)())sinhf128;
28847 if ac_fn_c_try_link
"$LINENO"; then :
28848 gcc_cv_math_func_sinhf128
=yes
28850 gcc_cv_math_func_sinhf128
=no
28852 rm -f core conftest.err conftest.
$ac_objext \
28853 conftest
$ac_exeext conftest.
$ac_ext
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28856 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28857 if test $gcc_cv_math_func_sinhf128 = yes; then
28859 cat >>confdefs.h
<<_ACEOF
28860 #define HAVE_SINHF128 1
28868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28869 $as_echo_n "checking for csinhf128... " >&6; }
28870 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28871 $as_echo_n "(cached) " >&6
28873 if test x
$gcc_no_link = xyes
; then
28874 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28877 /* end confdefs.h. */
28879 #ifdef HAVE_COMPLEX_H
28880 #include <complex.h>
28886 int (*ptr)() = (int (*)())csinhf128;
28895 if ac_fn_c_try_link
"$LINENO"; then :
28896 gcc_cv_math_func_csinhf128
=yes
28898 gcc_cv_math_func_csinhf128
=no
28900 rm -f core conftest.err conftest.
$ac_objext \
28901 conftest
$ac_exeext conftest.
$ac_ext
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28904 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28905 if test $gcc_cv_math_func_csinhf128 = yes; then
28907 cat >>confdefs.h
<<_ACEOF
28908 #define HAVE_CSINHF128 1
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28917 $as_echo_n "checking for sqrtf128... " >&6; }
28918 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
28919 $as_echo_n "(cached) " >&6
28921 if test x
$gcc_no_link = xyes
; then
28922 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28925 /* end confdefs.h. */
28927 #ifdef HAVE_COMPLEX_H
28928 #include <complex.h>
28934 int (*ptr)() = (int (*)())sqrtf128;
28943 if ac_fn_c_try_link
"$LINENO"; then :
28944 gcc_cv_math_func_sqrtf128
=yes
28946 gcc_cv_math_func_sqrtf128
=no
28948 rm -f core conftest.err conftest.
$ac_objext \
28949 conftest
$ac_exeext conftest.
$ac_ext
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28952 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28953 if test $gcc_cv_math_func_sqrtf128 = yes; then
28955 cat >>confdefs.h
<<_ACEOF
28956 #define HAVE_SQRTF128 1
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28965 $as_echo_n "checking for csqrtf128... " >&6; }
28966 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
28967 $as_echo_n "(cached) " >&6
28969 if test x
$gcc_no_link = xyes
; then
28970 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28975 #ifdef HAVE_COMPLEX_H
28976 #include <complex.h>
28982 int (*ptr)() = (int (*)())csqrtf128;
28991 if ac_fn_c_try_link
"$LINENO"; then :
28992 gcc_cv_math_func_csqrtf128
=yes
28994 gcc_cv_math_func_csqrtf128
=no
28996 rm -f core conftest.err conftest.
$ac_objext \
28997 conftest
$ac_exeext conftest.
$ac_ext
28999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29000 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29001 if test $gcc_cv_math_func_csqrtf128 = yes; then
29003 cat >>confdefs.h
<<_ACEOF
29004 #define HAVE_CSQRTF128 1
29012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29013 $as_echo_n "checking for tanf128... " >&6; }
29014 if ${gcc_cv_math_func_tanf128+:} false
; then :
29015 $as_echo_n "(cached) " >&6
29017 if test x
$gcc_no_link = xyes
; then
29018 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29021 /* end confdefs.h. */
29023 #ifdef HAVE_COMPLEX_H
29024 #include <complex.h>
29030 int (*ptr)() = (int (*)())tanf128;
29039 if ac_fn_c_try_link
"$LINENO"; then :
29040 gcc_cv_math_func_tanf128
=yes
29042 gcc_cv_math_func_tanf128
=no
29044 rm -f core conftest.err conftest.
$ac_objext \
29045 conftest
$ac_exeext conftest.
$ac_ext
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29048 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29049 if test $gcc_cv_math_func_tanf128 = yes; then
29051 cat >>confdefs.h
<<_ACEOF
29052 #define HAVE_TANF128 1
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29061 $as_echo_n "checking for ctanf128... " >&6; }
29062 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29063 $as_echo_n "(cached) " >&6
29065 if test x
$gcc_no_link = xyes
; then
29066 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29069 /* end confdefs.h. */
29071 #ifdef HAVE_COMPLEX_H
29072 #include <complex.h>
29078 int (*ptr)() = (int (*)())ctanf128;
29087 if ac_fn_c_try_link
"$LINENO"; then :
29088 gcc_cv_math_func_ctanf128
=yes
29090 gcc_cv_math_func_ctanf128
=no
29092 rm -f core conftest.err conftest.
$ac_objext \
29093 conftest
$ac_exeext conftest.
$ac_ext
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29096 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29097 if test $gcc_cv_math_func_ctanf128 = yes; then
29099 cat >>confdefs.h
<<_ACEOF
29100 #define HAVE_CTANF128 1
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29109 $as_echo_n "checking for tanhf128... " >&6; }
29110 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29111 $as_echo_n "(cached) " >&6
29113 if test x
$gcc_no_link = xyes
; then
29114 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29119 #ifdef HAVE_COMPLEX_H
29120 #include <complex.h>
29126 int (*ptr)() = (int (*)())tanhf128;
29135 if ac_fn_c_try_link
"$LINENO"; then :
29136 gcc_cv_math_func_tanhf128
=yes
29138 gcc_cv_math_func_tanhf128
=no
29140 rm -f core conftest.err conftest.
$ac_objext \
29141 conftest
$ac_exeext conftest.
$ac_ext
29143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29144 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29145 if test $gcc_cv_math_func_tanhf128 = yes; then
29147 cat >>confdefs.h
<<_ACEOF
29148 #define HAVE_TANHF128 1
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29157 $as_echo_n "checking for ctanhf128... " >&6; }
29158 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29159 $as_echo_n "(cached) " >&6
29161 if test x
$gcc_no_link = xyes
; then
29162 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29167 #ifdef HAVE_COMPLEX_H
29168 #include <complex.h>
29174 int (*ptr)() = (int (*)())ctanhf128;
29183 if ac_fn_c_try_link
"$LINENO"; then :
29184 gcc_cv_math_func_ctanhf128
=yes
29186 gcc_cv_math_func_ctanhf128
=no
29188 rm -f core conftest.err conftest.
$ac_objext \
29189 conftest
$ac_exeext conftest.
$ac_ext
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29192 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29193 if test $gcc_cv_math_func_ctanhf128 = yes; then
29195 cat >>confdefs.h
<<_ACEOF
29196 #define HAVE_CTANHF128 1
29204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29205 $as_echo_n "checking for truncf128... " >&6; }
29206 if ${gcc_cv_math_func_truncf128+:} false
; then :
29207 $as_echo_n "(cached) " >&6
29209 if test x
$gcc_no_link = xyes
; then
29210 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29213 /* end confdefs.h. */
29215 #ifdef HAVE_COMPLEX_H
29216 #include <complex.h>
29222 int (*ptr)() = (int (*)())truncf128;
29231 if ac_fn_c_try_link
"$LINENO"; then :
29232 gcc_cv_math_func_truncf128
=yes
29234 gcc_cv_math_func_truncf128
=no
29236 rm -f core conftest.err conftest.
$ac_objext \
29237 conftest
$ac_exeext conftest.
$ac_ext
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29240 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29241 if test $gcc_cv_math_func_truncf128 = yes; then
29243 cat >>confdefs.h
<<_ACEOF
29244 #define HAVE_TRUNCF128 1
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29253 $as_echo_n "checking for erff128... " >&6; }
29254 if ${gcc_cv_math_func_erff128+:} false
; then :
29255 $as_echo_n "(cached) " >&6
29257 if test x
$gcc_no_link = xyes
; then
29258 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29261 /* end confdefs.h. */
29263 #ifdef HAVE_COMPLEX_H
29264 #include <complex.h>
29270 int (*ptr)() = (int (*)())erff128;
29279 if ac_fn_c_try_link
"$LINENO"; then :
29280 gcc_cv_math_func_erff128
=yes
29282 gcc_cv_math_func_erff128
=no
29284 rm -f core conftest.err conftest.
$ac_objext \
29285 conftest
$ac_exeext conftest.
$ac_ext
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29288 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29289 if test $gcc_cv_math_func_erff128 = yes; then
29291 cat >>confdefs.h
<<_ACEOF
29292 #define HAVE_ERFF128 1
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29301 $as_echo_n "checking for erfcf128... " >&6; }
29302 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29303 $as_echo_n "(cached) " >&6
29305 if test x
$gcc_no_link = xyes
; then
29306 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29309 /* end confdefs.h. */
29311 #ifdef HAVE_COMPLEX_H
29312 #include <complex.h>
29318 int (*ptr)() = (int (*)())erfcf128;
29327 if ac_fn_c_try_link
"$LINENO"; then :
29328 gcc_cv_math_func_erfcf128
=yes
29330 gcc_cv_math_func_erfcf128
=no
29332 rm -f core conftest.err conftest.
$ac_objext \
29333 conftest
$ac_exeext conftest.
$ac_ext
29335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29336 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29337 if test $gcc_cv_math_func_erfcf128 = yes; then
29339 cat >>confdefs.h
<<_ACEOF
29340 #define HAVE_ERFCF128 1
29348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29349 $as_echo_n "checking for j0f128... " >&6; }
29350 if ${gcc_cv_math_func_j0f128+:} false
; then :
29351 $as_echo_n "(cached) " >&6
29353 if test x
$gcc_no_link = xyes
; then
29354 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29357 /* end confdefs.h. */
29359 #ifdef HAVE_COMPLEX_H
29360 #include <complex.h>
29366 int (*ptr)() = (int (*)())j0f128;
29375 if ac_fn_c_try_link
"$LINENO"; then :
29376 gcc_cv_math_func_j0f128
=yes
29378 gcc_cv_math_func_j0f128
=no
29380 rm -f core conftest.err conftest.
$ac_objext \
29381 conftest
$ac_exeext conftest.
$ac_ext
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29384 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29385 if test $gcc_cv_math_func_j0f128 = yes; then
29387 cat >>confdefs.h
<<_ACEOF
29388 #define HAVE_J0F128 1
29396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29397 $as_echo_n "checking for j1f128... " >&6; }
29398 if ${gcc_cv_math_func_j1f128+:} false
; then :
29399 $as_echo_n "(cached) " >&6
29401 if test x
$gcc_no_link = xyes
; then
29402 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29405 /* end confdefs.h. */
29407 #ifdef HAVE_COMPLEX_H
29408 #include <complex.h>
29414 int (*ptr)() = (int (*)())j1f128;
29423 if ac_fn_c_try_link
"$LINENO"; then :
29424 gcc_cv_math_func_j1f128
=yes
29426 gcc_cv_math_func_j1f128
=no
29428 rm -f core conftest.err conftest.
$ac_objext \
29429 conftest
$ac_exeext conftest.
$ac_ext
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29432 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29433 if test $gcc_cv_math_func_j1f128 = yes; then
29435 cat >>confdefs.h
<<_ACEOF
29436 #define HAVE_J1F128 1
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29445 $as_echo_n "checking for jnf128... " >&6; }
29446 if ${gcc_cv_math_func_jnf128+:} false
; then :
29447 $as_echo_n "(cached) " >&6
29449 if test x
$gcc_no_link = xyes
; then
29450 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29453 /* end confdefs.h. */
29455 #ifdef HAVE_COMPLEX_H
29456 #include <complex.h>
29462 int (*ptr)() = (int (*)())jnf128;
29471 if ac_fn_c_try_link
"$LINENO"; then :
29472 gcc_cv_math_func_jnf128
=yes
29474 gcc_cv_math_func_jnf128
=no
29476 rm -f core conftest.err conftest.
$ac_objext \
29477 conftest
$ac_exeext conftest.
$ac_ext
29479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29480 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29481 if test $gcc_cv_math_func_jnf128 = yes; then
29483 cat >>confdefs.h
<<_ACEOF
29484 #define HAVE_JNF128 1
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29493 $as_echo_n "checking for y0f128... " >&6; }
29494 if ${gcc_cv_math_func_y0f128+:} false
; then :
29495 $as_echo_n "(cached) " >&6
29497 if test x
$gcc_no_link = xyes
; then
29498 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29501 /* end confdefs.h. */
29503 #ifdef HAVE_COMPLEX_H
29504 #include <complex.h>
29510 int (*ptr)() = (int (*)())y0f128;
29519 if ac_fn_c_try_link
"$LINENO"; then :
29520 gcc_cv_math_func_y0f128
=yes
29522 gcc_cv_math_func_y0f128
=no
29524 rm -f core conftest.err conftest.
$ac_objext \
29525 conftest
$ac_exeext conftest.
$ac_ext
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29528 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29529 if test $gcc_cv_math_func_y0f128 = yes; then
29531 cat >>confdefs.h
<<_ACEOF
29532 #define HAVE_Y0F128 1
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29541 $as_echo_n "checking for y1f128... " >&6; }
29542 if ${gcc_cv_math_func_y1f128+:} false
; then :
29543 $as_echo_n "(cached) " >&6
29545 if test x
$gcc_no_link = xyes
; then
29546 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29549 /* end confdefs.h. */
29551 #ifdef HAVE_COMPLEX_H
29552 #include <complex.h>
29558 int (*ptr)() = (int (*)())y1f128;
29567 if ac_fn_c_try_link
"$LINENO"; then :
29568 gcc_cv_math_func_y1f128
=yes
29570 gcc_cv_math_func_y1f128
=no
29572 rm -f core conftest.err conftest.
$ac_objext \
29573 conftest
$ac_exeext conftest.
$ac_ext
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29576 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29577 if test $gcc_cv_math_func_y1f128 = yes; then
29579 cat >>confdefs.h
<<_ACEOF
29580 #define HAVE_Y1F128 1
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29589 $as_echo_n "checking for ynf128... " >&6; }
29590 if ${gcc_cv_math_func_ynf128+:} false
; then :
29591 $as_echo_n "(cached) " >&6
29593 if test x
$gcc_no_link = xyes
; then
29594 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29597 /* end confdefs.h. */
29599 #ifdef HAVE_COMPLEX_H
29600 #include <complex.h>
29606 int (*ptr)() = (int (*)())ynf128;
29615 if ac_fn_c_try_link
"$LINENO"; then :
29616 gcc_cv_math_func_ynf128
=yes
29618 gcc_cv_math_func_ynf128
=no
29620 rm -f core conftest.err conftest.
$ac_objext \
29621 conftest
$ac_exeext conftest.
$ac_ext
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29624 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29625 if test $gcc_cv_math_func_ynf128 = yes; then
29627 cat >>confdefs.h
<<_ACEOF
29628 #define HAVE_YNF128 1
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29637 $as_echo_n "checking for tgammaf128... " >&6; }
29638 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29639 $as_echo_n "(cached) " >&6
29641 if test x
$gcc_no_link = xyes
; then
29642 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29645 /* end confdefs.h. */
29647 #ifdef HAVE_COMPLEX_H
29648 #include <complex.h>
29654 int (*ptr)() = (int (*)())tgammaf128;
29663 if ac_fn_c_try_link
"$LINENO"; then :
29664 gcc_cv_math_func_tgammaf128
=yes
29666 gcc_cv_math_func_tgammaf128
=no
29668 rm -f core conftest.err conftest.
$ac_objext \
29669 conftest
$ac_exeext conftest.
$ac_ext
29671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29672 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29673 if test $gcc_cv_math_func_tgammaf128 = yes; then
29675 cat >>confdefs.h
<<_ACEOF
29676 #define HAVE_TGAMMAF128 1
29684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29685 $as_echo_n "checking for lgammaf128... " >&6; }
29686 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29687 $as_echo_n "(cached) " >&6
29689 if test x
$gcc_no_link = xyes
; then
29690 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h. */
29695 #ifdef HAVE_COMPLEX_H
29696 #include <complex.h>
29702 int (*ptr)() = (int (*)())lgammaf128;
29711 if ac_fn_c_try_link
"$LINENO"; then :
29712 gcc_cv_math_func_lgammaf128
=yes
29714 gcc_cv_math_func_lgammaf128
=no
29716 rm -f core conftest.err conftest.
$ac_objext \
29717 conftest
$ac_exeext conftest.
$ac_ext
29719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29720 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29721 if test $gcc_cv_math_func_lgammaf128 = yes; then
29723 cat >>confdefs.h
<<_ACEOF
29724 #define HAVE_LGAMMAF128 1
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29734 $as_echo_n "checking for cacosf128... " >&6; }
29735 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29736 $as_echo_n "(cached) " >&6
29738 if test x
$gcc_no_link = xyes
; then
29739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29744 #ifdef HAVE_COMPLEX_H
29745 #include <complex.h>
29751 int (*ptr)() = (int (*)())cacosf128;
29760 if ac_fn_c_try_link
"$LINENO"; then :
29761 gcc_cv_math_func_cacosf128
=yes
29763 gcc_cv_math_func_cacosf128
=no
29765 rm -f core conftest.err conftest.
$ac_objext \
29766 conftest
$ac_exeext conftest.
$ac_ext
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29769 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29770 if test $gcc_cv_math_func_cacosf128 = yes; then
29772 cat >>confdefs.h
<<_ACEOF
29773 #define HAVE_CACOSF128 1
29781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29782 $as_echo_n "checking for cacoshf128... " >&6; }
29783 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29784 $as_echo_n "(cached) " >&6
29786 if test x
$gcc_no_link = xyes
; then
29787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29790 /* end confdefs.h. */
29792 #ifdef HAVE_COMPLEX_H
29793 #include <complex.h>
29799 int (*ptr)() = (int (*)())cacoshf128;
29808 if ac_fn_c_try_link
"$LINENO"; then :
29809 gcc_cv_math_func_cacoshf128
=yes
29811 gcc_cv_math_func_cacoshf128
=no
29813 rm -f core conftest.err conftest.
$ac_objext \
29814 conftest
$ac_exeext conftest.
$ac_ext
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29817 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29818 if test $gcc_cv_math_func_cacoshf128 = yes; then
29820 cat >>confdefs.h
<<_ACEOF
29821 #define HAVE_CACOSHF128 1
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29830 $as_echo_n "checking for casinf128... " >&6; }
29831 if ${gcc_cv_math_func_casinf128+:} false
; then :
29832 $as_echo_n "(cached) " >&6
29834 if test x
$gcc_no_link = xyes
; then
29835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29838 /* end confdefs.h. */
29840 #ifdef HAVE_COMPLEX_H
29841 #include <complex.h>
29847 int (*ptr)() = (int (*)())casinf128;
29856 if ac_fn_c_try_link
"$LINENO"; then :
29857 gcc_cv_math_func_casinf128
=yes
29859 gcc_cv_math_func_casinf128
=no
29861 rm -f core conftest.err conftest.
$ac_objext \
29862 conftest
$ac_exeext conftest.
$ac_ext
29864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29865 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29866 if test $gcc_cv_math_func_casinf128 = yes; then
29868 cat >>confdefs.h
<<_ACEOF
29869 #define HAVE_CASINF128 1
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29878 $as_echo_n "checking for casinhf128... " >&6; }
29879 if ${gcc_cv_math_func_casinhf128+:} false
; then :
29880 $as_echo_n "(cached) " >&6
29882 if test x
$gcc_no_link = xyes
; then
29883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29886 /* end confdefs.h. */
29888 #ifdef HAVE_COMPLEX_H
29889 #include <complex.h>
29895 int (*ptr)() = (int (*)())casinhf128;
29904 if ac_fn_c_try_link
"$LINENO"; then :
29905 gcc_cv_math_func_casinhf128
=yes
29907 gcc_cv_math_func_casinhf128
=no
29909 rm -f core conftest.err conftest.
$ac_objext \
29910 conftest
$ac_exeext conftest.
$ac_ext
29912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29913 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29914 if test $gcc_cv_math_func_casinhf128 = yes; then
29916 cat >>confdefs.h
<<_ACEOF
29917 #define HAVE_CASINHF128 1
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29926 $as_echo_n "checking for catanf128... " >&6; }
29927 if ${gcc_cv_math_func_catanf128+:} false
; then :
29928 $as_echo_n "(cached) " >&6
29930 if test x
$gcc_no_link = xyes
; then
29931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29936 #ifdef HAVE_COMPLEX_H
29937 #include <complex.h>
29943 int (*ptr)() = (int (*)())catanf128;
29952 if ac_fn_c_try_link
"$LINENO"; then :
29953 gcc_cv_math_func_catanf128
=yes
29955 gcc_cv_math_func_catanf128
=no
29957 rm -f core conftest.err conftest.
$ac_objext \
29958 conftest
$ac_exeext conftest.
$ac_ext
29960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29961 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29962 if test $gcc_cv_math_func_catanf128 = yes; then
29964 cat >>confdefs.h
<<_ACEOF
29965 #define HAVE_CATANF128 1
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29974 $as_echo_n "checking for catanhf128... " >&6; }
29975 if ${gcc_cv_math_func_catanhf128+:} false
; then :
29976 $as_echo_n "(cached) " >&6
29978 if test x
$gcc_no_link = xyes
; then
29979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29982 /* end confdefs.h. */
29984 #ifdef HAVE_COMPLEX_H
29985 #include <complex.h>
29991 int (*ptr)() = (int (*)())catanhf128;
30000 if ac_fn_c_try_link
"$LINENO"; then :
30001 gcc_cv_math_func_catanhf128
=yes
30003 gcc_cv_math_func_catanhf128
=no
30005 rm -f core conftest.err conftest.
$ac_objext \
30006 conftest
$ac_exeext conftest.
$ac_ext
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30009 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30010 if test $gcc_cv_math_func_catanhf128 = yes; then
30012 cat >>confdefs.h
<<_ACEOF
30013 #define HAVE_CATANHF128 1
30019 # Check whether the system has a working stat()
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30022 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30023 if ${libgfor_cv_have_working_stat+:} false
; then :
30024 $as_echo_n "(cached) " >&6
30027 if test "$cross_compiling" = yes; then :
30029 case "${target}" in
30030 *mingw
*) libgfor_cv_have_working_stat
=no
;;
30031 *) libgfor_cv_have_working_stat
=yes;;
30034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30035 /* end confdefs.h. */
30038 #include <sys/types.h>
30039 #include <sys/stat.h>
30040 #include <unistd.h>
30045 struct stat st1, st2;
30047 f = fopen ("foo", "w");
30048 g = fopen ("bar", "w");
30049 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30051 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30058 if ac_fn_c_try_run
"$LINENO"; then :
30059 libgfor_cv_have_working_stat
=yes
30061 libgfor_cv_have_working_stat
=no
30063 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30064 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30069 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30070 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30072 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30076 # Check whether __mingw_snprintf() is present
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30079 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30080 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30081 $as_echo_n "(cached) " >&6
30084 if test x
$gcc_no_link = xyes
; then
30085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h. */
30091 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30097 __mingw_snprintf (NULL, 0, "%d\n", 1);
30103 if ac_fn_c_try_link
"$LINENO"; then :
30104 eval "libgfor_cv_have_mingw_snprintf=yes"
30106 eval "libgfor_cv_have_mingw_snprintf=no"
30108 rm -f core conftest.err conftest.
$ac_objext \
30109 conftest
$ac_exeext conftest.
$ac_ext
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30113 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30114 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30116 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30121 have_iec_60559_libc_support
=no
30122 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30123 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30124 have_iec_60559_libc_support
=yes
30127 # Check whether libquadmath should be used
30128 # Check whether --enable-libquadmath-support was given.
30129 if test "${enable_libquadmath_support+set}" = set; then :
30130 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30132 if test "x$have_iec_60559_libc_support" = xyes
; then
30133 ENABLE_LIBQUADMATH_SUPPORT
=default
30135 ENABLE_LIBQUADMATH_SUPPORT
=yes
30139 enable_libquadmath_support
=
30140 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30141 enable_libquadmath_support
=no
30142 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30143 enable_libquadmath_support
=default
30146 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30147 # and have_iec_60559_libc_support.
30155 if test "x$enable_libquadmath_support" != xno
; then
30157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30158 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30159 if ${libgfor_cv_have_float128+:} false
; then :
30160 $as_echo_n "(cached) " >&6
30163 if test x
$gcc_no_link = xyes
; then
30164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30165 /* end confdefs.h. */
30167 _Float128 foo (_Float128 x)
30169 _Complex _Float128 z1, z2;
30175 return (_Float128) z2;
30178 _Float128 bar (_Float128 x)
30180 return x * __builtin_huge_valf128 ();
30183 __float128 baz (__float128 x)
30185 return x * __builtin_huge_valf128 ();
30203 if ac_fn_c_try_compile
"$LINENO"; then :
30205 libgfor_cv_have_float128
=yes
30209 libgfor_cv_have_float128
=no
30212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30214 if test x
$gcc_no_link = xyes
; then
30215 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h. */
30220 _Float128 foo (_Float128 x)
30222 _Complex _Float128 z1, z2;
30228 return (_Float128) z2;
30231 _Float128 bar (_Float128 x)
30233 return x * __builtin_huge_valf128 ();
30236 __float128 baz (__float128 x)
30238 return x * __builtin_huge_valf128 ();
30256 if ac_fn_c_try_link
"$LINENO"; then :
30258 libgfor_cv_have_float128
=yes
30262 libgfor_cv_have_float128
=no
30265 rm -f core conftest.err conftest.
$ac_objext \
30266 conftest
$ac_exeext conftest.
$ac_ext
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30270 $as_echo "$libgfor_cv_have_float128" >&6; }
30272 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30277 if test "x$libgfor_cv_have_float128" = xyes
; then
30278 if test "x$USE_IEC_60559" = xyes
; then
30280 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30284 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30287 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30289 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30290 if ${libgfor_cv_have_as_needed+:} false
; then :
30291 $as_echo_n "(cached) " >&6
30294 # Test for native Solaris options first.
30295 # No whitespace after -z to pass it through -Wl.
30296 libgfor_cv_as_needed_option
="-zignore"
30297 libgfor_cv_no_as_needed_option
="-zrecord"
30298 save_LDFLAGS
="$LDFLAGS"
30299 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30300 libgfor_cv_have_as_needed
=no
30302 ac_c_werror_flag
=yes
30303 if test x
$gcc_no_link = xyes
; then
30304 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30307 /* end confdefs.h. */
30317 if ac_fn_c_try_link
"$LINENO"; then :
30318 libgfor_cv_have_as_needed
=yes
30320 libgfor_cv_have_as_needed
=no
30322 rm -f core conftest.err conftest.
$ac_objext \
30323 conftest
$ac_exeext conftest.
$ac_ext
30324 LDFLAGS
="$save_LDFLAGS"
30325 if test "x$libgfor_cv_have_as_needed" = xno
; then
30326 libgfor_cv_as_needed_option
="--as-needed"
30327 libgfor_cv_no_as_needed_option
="--no-as-needed"
30328 save_LDFLAGS
="$LDFLAGS"
30329 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30330 libgfor_cv_have_as_needed
=no
30332 ac_c_werror_flag
=yes
30333 if test x
$gcc_no_link = xyes
; then
30334 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30347 if ac_fn_c_try_link
"$LINENO"; then :
30348 libgfor_cv_have_as_needed
=yes
30350 libgfor_cv_have_as_needed
=no
30352 rm -f core conftest.err conftest.
$ac_objext \
30353 conftest
$ac_exeext conftest.
$ac_ext
30354 LDFLAGS
="$save_LDFLAGS"
30356 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30360 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30362 touch conftest1.
$ac_objext conftest2.
$ac_objext
30363 LQUADMATH
=-lquadmath
30364 $FC -static-libgfortran -### -o conftest \
30365 conftest1.
$ac_objext -lgfortran conftest2.
$ac_objext 2>&1 >/dev
/null \
30366 |
grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30367 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30368 conftest.cmd
>/dev
/null
2>&1; then
30369 LQUADMATH
="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30370 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30371 conftest.cmd
>/dev
/null
2>&1; then
30372 LQUADMATH
="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30373 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30374 conftest.cmd
>/dev
/null
2>&1; then
30375 LQUADMATH
="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30376 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30377 conftest.cmd
>/dev
/null
2>&1; then
30378 LQUADMATH
="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30380 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest conftest.cmd
30382 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30383 if test "x$USE_IEC_60559" = xyes
; then
30384 LIBQUADSPEC
="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30386 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30389 LIBQUADSPEC
="$LQUADMATH"
30391 if test "x$USE_IEC_60559" != xyes
; then
30392 if test -f ..
/libquadmath
/libquadmath.la
; then
30393 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30394 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30395 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30397 LIBQUADLIB
="-lquadmath"
30412 # Check for GNU libc feenableexcept
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30414 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30415 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30416 $as_echo_n "(cached) " >&6
30418 ac_check_lib_save_LIBS
=$LIBS
30420 if test x
$gcc_no_link = xyes
; then
30421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h. */
30426 /* Override any GCC internal prototype to avoid an error.
30427 Use char because int might match the return type of a GCC
30428 builtin and then its argument prototype would still apply. */
30432 char feenableexcept ();
30436 return feenableexcept ();
30441 if ac_fn_c_try_link
"$LINENO"; then :
30442 ac_cv_lib_m_feenableexcept
=yes
30444 ac_cv_lib_m_feenableexcept
=no
30446 rm -f core conftest.err conftest.
$ac_objext \
30447 conftest
$ac_exeext conftest.
$ac_ext
30448 LIBS
=$ac_check_lib_save_LIBS
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30451 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30452 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30453 have_feenableexcept
=yes
30454 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30459 # At least for glibc, clock_gettime is in librt. But don't
30460 # pull that in if it still doesn't give us the function we want. This
30461 # test is copied from libgomp, and modified to not link in -lrt as
30462 # libgfortran calls clock_gettime via a weak reference if it's found
30464 if test "$ac_cv_func_clock_gettime" = no
; then
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30466 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30467 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30468 $as_echo_n "(cached) " >&6
30470 ac_check_lib_save_LIBS
=$LIBS
30472 if test x
$gcc_no_link = xyes
; then
30473 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30476 /* end confdefs.h. */
30478 /* Override any GCC internal prototype to avoid an error.
30479 Use char because int might match the return type of a GCC
30480 builtin and then its argument prototype would still apply. */
30484 char clock_gettime ();
30488 return clock_gettime ();
30493 if ac_fn_c_try_link
"$LINENO"; then :
30494 ac_cv_lib_rt_clock_gettime
=yes
30496 ac_cv_lib_rt_clock_gettime
=no
30498 rm -f core conftest.err conftest.
$ac_objext \
30499 conftest
$ac_exeext conftest.
$ac_ext
30500 LIBS
=$ac_check_lib_save_LIBS
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30503 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30504 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30506 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30512 # Check for SysV fpsetmask
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30515 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30516 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30517 $as_echo_n "(cached) " >&6
30520 if test x
$gcc_no_link = xyes
; then
30521 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30524 /* end confdefs.h. */
30526 #if HAVE_FLOATINGPOINT_H
30527 # include <floatingpoint.h>
30528 #endif /* HAVE_FLOATINGPOINT_H */
30530 # include <ieeefp.h>
30531 #endif /* HAVE_IEEEFP_H */
30540 if ac_fn_c_try_link
"$LINENO"; then :
30541 eval "libgfor_cv_have_fpsetmask=yes"
30543 eval "libgfor_cv_have_fpsetmask=no"
30545 rm -f core conftest.err conftest.
$ac_objext \
30546 conftest
$ac_exeext conftest.
$ac_ext
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30550 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30551 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30554 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30558 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30559 #ifdef HAVE_IEEEFP_H
30560 #include <ieeefp.h>
30565 if test "x$ac_cv_type_fp_except" = xyes
; then :
30567 cat >>confdefs.h
<<_ACEOF
30568 #define HAVE_FP_EXCEPT 1
30573 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30574 #ifdef HAVE_IEEEFP_H
30575 #include <ieeefp.h>
30580 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30582 cat >>confdefs.h
<<_ACEOF
30583 #define HAVE_FP_EXCEPT_T 1
30589 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30590 #ifdef HAVE_IEEEFP_H
30591 #include <ieeefp.h>
30596 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30598 cat >>confdefs.h
<<_ACEOF
30599 #define HAVE_FP_RND 1
30604 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30605 #ifdef HAVE_IEEEFP_H
30606 #include <ieeefp.h>
30611 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30613 cat >>confdefs.h
<<_ACEOF
30614 #define HAVE_FP_RND_T 1
30621 # Check whether we have fpsetsticky or fpresetsticky
30622 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30623 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30624 have_fpsetsticky
=yes
30625 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30629 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30630 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30631 have_fpresetsticky
=yes
30632 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30637 # Check for AIX fp_trap and fp_enable
30638 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30639 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30641 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30645 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30646 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30648 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30653 # Check if _SOFT_FLOAT is defined
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30656 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30657 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30658 $as_echo_n "(cached) " >&6
30660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30661 /* end confdefs.h. */
30677 if ac_fn_c_try_compile
"$LINENO"; then :
30678 ac_cv_defined__SOFT_FLOAT
=yes
30680 ac_cv_defined__SOFT_FLOAT
=no
30682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30685 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30686 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30687 have_soft_float
=yes
30690 # Runs configure.host to set up necessary host-dependent shell variables.
30691 # We then display a message about it, and propagate them through the
30693 .
${srcdir}/configure.
host
30694 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30695 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30696 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30697 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30698 FPU_HOST_HEADER
=config
/${fpu_host}.h
30701 # Whether we will build the IEEE modules
30702 if test x
${ieee_support} = xyes
; then
30704 IEEE_SUPPORT_FALSE
='#'
30706 IEEE_SUPPORT_TRUE
='#'
30707 IEEE_SUPPORT_FALSE
=
30712 # Some targets require additional compiler options for IEEE compatibility.
30713 IEEE_FLAGS
="${ieee_flags}"
30716 # Conditionalize the makefile for this target machine.
30718 for f
in ${tmake_file}
30720 if test -f ${srcdir}/config
/$f
30722 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30725 tmake_file
="${tmake_file_}"
30729 # Check for POSIX getpwuid_r
30731 # There are two versions of getpwuid_r, the POSIX one with 5
30732 # arguments, and another one with 4 arguments used by at least HP-UX
30734 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30736 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30737 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30738 $as_echo_n "(cached) " >&6
30741 if test x
$gcc_no_link = xyes
; then
30742 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30748 #include <sys/types.h>
30754 getpwuid_r(0, NULL, NULL, 0, NULL);
30760 if ac_fn_c_try_link
"$LINENO"; then :
30761 libgfor_cv_posix_getpwuid_r
="yes"
30763 libgfor_cv_posix_getpwuid_r
="no"
30765 rm -f core conftest.err conftest.
$ac_objext \
30766 conftest
$ac_exeext conftest.
$ac_ext
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30769 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30771 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30773 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30778 # Check out attribute support.
30780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30781 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30782 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30783 $as_echo_n "(cached) " >&6
30786 save_CFLAGS
="$CFLAGS"
30787 CFLAGS
="$CFLAGS -Werror"
30788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30789 /* end confdefs.h. */
30790 void __attribute__((visibility("hidden"))) foo(void) { }
30799 if ac_fn_c_try_compile
"$LINENO"; then :
30800 libgfor_cv_have_attribute_visibility
=yes
30802 libgfor_cv_have_attribute_visibility
=no
30804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30805 CFLAGS
="$save_CFLAGS"
30807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30808 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30809 if test $libgfor_cv_have_attribute_visibility = yes; then
30811 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30816 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30817 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30818 $as_echo_n "(cached) " >&6
30821 if test x
$gcc_no_link = xyes
; then
30822 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30825 /* end confdefs.h. */
30828 extern void bar(void) __attribute__((alias("foo")));
30837 if ac_fn_c_try_link
"$LINENO"; then :
30838 libgfor_cv_have_attribute_alias
=yes
30840 libgfor_cv_have_attribute_alias
=no
30842 rm -f core conftest.err conftest.
$ac_objext \
30843 conftest
$ac_exeext conftest.
$ac_ext
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30846 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30847 if test $libgfor_cv_have_attribute_alias = yes; then
30849 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30853 # Check out atomic builtins support.
30855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30856 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30857 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30858 $as_echo_n "(cached) " >&6
30861 if test x
$gcc_no_link = xyes
; then
30862 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h. */
30871 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30872 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30877 if ac_fn_c_try_link
"$LINENO"; then :
30878 libgfor_cv_have_atomic_fetch_add
=yes
30880 libgfor_cv_have_atomic_fetch_add
=no
30882 rm -f core conftest.err conftest.
$ac_objext \
30883 conftest
$ac_exeext conftest.
$ac_ext
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30886 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30887 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30889 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30893 # Check out #pragma weak.
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30896 $as_echo_n "checking whether pragma weak works... " >&6; }
30897 if ${libgfor_cv_have_pragma_weak+:} false
; then :
30898 $as_echo_n "(cached) " >&6
30901 gfor_save_CFLAGS
="$CFLAGS"
30902 CFLAGS
="$CFLAGS -Wunknown-pragmas"
30903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30904 /* end confdefs.h. */
30917 if ac_fn_c_try_compile
"$LINENO"; then :
30918 libgfor_cv_have_pragma_weak
=yes
30920 libgfor_cv_have_pragma_weak
=no
30922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30925 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30926 if test $libgfor_cv_have_pragma_weak = yes; then
30928 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30932 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
30934 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30939 # Check out weakref support.
30941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30942 $as_echo_n "checking whether the target supports weakref... " >&6; }
30943 if ${libgfor_cv_have_weakref+:} false
; then :
30944 $as_echo_n "(cached) " >&6
30947 save_CFLAGS
="$CFLAGS"
30948 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
30949 if test x
$gcc_no_link = xyes
; then
30950 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30953 /* end confdefs.h. */
30955 static int mytoto (int) __attribute__((__weakref__("toto")));
30960 return (mytoto != 0);
30965 if ac_fn_c_try_link
"$LINENO"; then :
30966 libgfor_cv_have_weakref
=yes
30968 libgfor_cv_have_weakref
=no
30970 rm -f core conftest.err conftest.
$ac_objext \
30971 conftest
$ac_exeext conftest.
$ac_ext
30972 CFLAGS
="$save_CFLAGS"
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30975 $as_echo "$libgfor_cv_have_weakref" >&6; }
30976 if test $libgfor_cv_have_weakref = yes; then
30978 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30982 # Various other checks on target
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30985 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30986 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
30987 $as_echo_n "(cached) " >&6
30990 if test "$cross_compiling" = yes; then :
30992 case "${target}" in
30993 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
30994 *) libgfor_cv_have_unlink_open_file
=yes;;
30997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30998 /* end confdefs.h. */
31002 #include <unistd.h>
31003 #include <sys/stat.h>
31009 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31012 if (unlink ("testfile") == -1)
31014 write (fd, "This is a test\n", 15);
31017 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31023 if ac_fn_c_try_run
"$LINENO"; then :
31024 libgfor_cv_have_unlink_open_file
=yes
31026 libgfor_cv_have_unlink_open_file
=no
31028 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31029 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31034 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31035 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
31037 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31041 # Check whether line terminator is LF or CRLF
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31044 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31045 if ${libgfor_cv_have_crlf+:} false
; then :
31046 $as_echo_n "(cached) " >&6
31049 if test "$cross_compiling" = yes; then :
31051 case "${target}" in
31052 *mingw
*) libgfor_cv_have_crlf
=yes ;;
31053 *) libgfor_cv_have_crlf
=no
;;
31056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31059 /* This test program should exit with status 0 if system uses a CRLF as
31060 line terminator, and status 1 otherwise.
31061 Since it is used to check for mingw systems, and should return 0 in any
31062 other case, in case of a failure we will not use CRLF. */
31063 #include <sys/stat.h>
31064 #include <stdlib.h>
31076 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31079 if (write (fd, "\n", 1) < 0)
31084 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31086 bytes = read (fd, buff, 5);
31087 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31094 if ac_fn_c_try_run
"$LINENO"; then :
31095 libgfor_cv_have_crlf
=yes
31097 libgfor_cv_have_crlf
=no
31099 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31100 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31105 $as_echo "$libgfor_cv_have_crlf" >&6; }
31106 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31108 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31112 # Check whether we support AVX extensions
31114 ac_save_CFLAGS
="$CFLAGS"
31116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31119 void _mm256_zeroall (void)
31121 __builtin_ia32_vzeroall ();
31131 if ac_fn_c_try_compile
"$LINENO"; then :
31133 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31137 CFLAGS
="$ac_save_CFLAGS"
31140 # Check whether we support AVX2 extensions
31142 ac_save_CFLAGS
="$CFLAGS"
31143 CFLAGS
="-O2 -mavx2"
31144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31145 /* end confdefs.h. */
31147 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31149 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31151 return __builtin_ia32_andnotsi256 (__X, __Y);
31161 if ac_fn_c_try_compile
"$LINENO"; then :
31163 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31167 CFLAGS
="$ac_save_CFLAGS"
31170 # Check whether we support AVX512f extensions
31172 ac_save_CFLAGS
="$CFLAGS"
31173 CFLAGS
="-O2 -mavx512f"
31174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31177 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31178 __m512d _mm512_add (__m512d a)
31180 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31181 /* For -m64/-mx32 also verify that code will work even if
31182 the target uses call saved zmm16+ and needs to emit
31183 unwind info for them (e.g. on mingw). See PR79127. */
31185 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31197 if ac_fn_c_try_compile
"$LINENO"; then :
31199 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31203 CFLAGS
="$ac_save_CFLAGS"
31206 # Check for FMA3 extensions
31208 ac_save_CFLAGS
="$CFLAGS"
31209 CFLAGS
="-O2 -mfma -mno-fma4"
31210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31211 /* end confdefs.h. */
31213 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31214 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31215 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31217 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31229 if ac_fn_c_try_compile
"$LINENO"; then :
31231 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31235 CFLAGS
="$ac_save_CFLAGS"
31238 # Check for FMA4 extensions
31240 ac_save_CFLAGS
="$CFLAGS"
31241 CFLAGS
="-O2 -mfma4 -mno-fma"
31242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h. */
31245 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31246 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31247 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31249 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31261 if ac_fn_c_try_compile
"$LINENO"; then :
31263 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31267 CFLAGS
="$ac_save_CFLAGS"
31270 # Check if AVX128 works
31272 ac_save_CFLAGS
="$CFLAGS"
31273 CFLAGS
="-O2 -mavx -mprefer-avx128"
31274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31288 if ac_fn_c_try_compile
"$LINENO"; then :
31290 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31294 HAVE_AVX128_FALSE
='#'
31296 HAVE_AVX128_TRUE
='#'
31303 HAVE_AVX128_FALSE
='#'
31305 HAVE_AVX128_TRUE
='#'
31310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31311 CFLAGS
="$ac_save_CFLAGS"
31314 # Determine what GCC version number to use in filesystem paths.
31316 get_gcc_base_ver
="cat"
31318 # Check whether --with-gcc-major-version-only was given.
31319 if test "${with_gcc_major_version_only+set}" = set; then :
31320 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31321 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31329 cat >confcache
<<\_ACEOF
31330 # This file is a shell script that caches the results of configure
31331 # tests run on this system so they can be shared between configure
31332 # scripts and configure runs, see configure's option --config-cache.
31333 # It is not useful on other systems. If it contains results you don't
31334 # want to keep, you may remove or edit it.
31336 # config.status only pays attention to the cache file if you give it
31337 # the --recheck option to rerun configure.
31339 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31340 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31341 # following values.
31345 # The following way of writing the cache mishandles newlines in values,
31346 # but we know of no workaround that is simple, portable, and efficient.
31347 # So, we kill variables containing newlines.
31348 # Ultrix sh set writes to stderr and can't be redirected directly,
31349 # and sets the high bit in the cache file unless we assign to the vars.
31351 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31352 eval ac_val
=\$
$ac_var
31356 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31357 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31360 _ | IFS | as_nl
) ;; #(
31361 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31362 *) { eval $ac_var=; unset $ac_var;} ;;
31368 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31369 *${as_nl}ac_space
=\
*)
31370 # `set' does not quote correctly, so add quotes: double-quote
31371 # substitution turns \\\\ into \\, and sed turns \\ into \.
31374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31377 # `set' quotes correctly as required by POSIX, so do not add quotes.
31378 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31387 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31389 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31391 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31392 if test -w "$cache_file"; then
31393 if test "x$cache_file" != "x/dev/null"; then
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31395 $as_echo "$as_me: updating cache $cache_file" >&6;}
31396 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31397 cat confcache
>"$cache_file"
31399 case $cache_file in #(
31401 mv -f confcache
"$cache_file"$$
&&
31402 mv -f "$cache_file"$$
"$cache_file" ;; #(
31404 mv -f confcache
"$cache_file" ;;
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31410 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31415 if test ${multilib} = yes; then
31416 multilib_arg
="--enable-multilib"
31421 # Write our Makefile and spec file.
31422 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31424 cat >confcache
<<\_ACEOF
31425 # This file is a shell script that caches the results of configure
31426 # tests run on this system so they can be shared between configure
31427 # scripts and configure runs, see configure's option --config-cache.
31428 # It is not useful on other systems. If it contains results you don't
31429 # want to keep, you may remove or edit it.
31431 # config.status only pays attention to the cache file if you give it
31432 # the --recheck option to rerun configure.
31434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31436 # following values.
31440 # The following way of writing the cache mishandles newlines in values,
31441 # but we know of no workaround that is simple, portable, and efficient.
31442 # So, we kill variables containing newlines.
31443 # Ultrix sh set writes to stderr and can't be redirected directly,
31444 # and sets the high bit in the cache file unless we assign to the vars.
31446 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31447 eval ac_val
=\$
$ac_var
31451 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31455 _ | IFS | as_nl
) ;; #(
31456 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31457 *) { eval $ac_var=; unset $ac_var;} ;;
31463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31464 *${as_nl}ac_space
=\
*)
31465 # `set' does not quote correctly, so add quotes: double-quote
31466 # substitution turns \\\\ into \\, and sed turns \\ into \.
31469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31472 # `set' quotes correctly as required by POSIX, so do not add quotes.
31473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31486 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31487 if test -w "$cache_file"; then
31488 if test "x$cache_file" != "x/dev/null"; then
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31490 $as_echo "$as_me: updating cache $cache_file" >&6;}
31491 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31492 cat confcache
>"$cache_file"
31494 case $cache_file in #(
31496 mv -f confcache
"$cache_file"$$
&&
31497 mv -f "$cache_file"$$
"$cache_file" ;; #(
31499 mv -f confcache
"$cache_file" ;;
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31510 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31511 # Let make expand exec_prefix.
31512 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31514 DEFS
=-DHAVE_CONFIG_H
31519 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31520 # 1. Remove the extension, and $U if already installed.
31521 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31522 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31524 # will be set to the directory where LIBOBJS objects are built.
31525 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31526 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31528 LIBOBJS
=$ac_libobjs
31530 LTLIBOBJS
=$ac_ltlibobjs
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31534 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31535 if test -n "$am_sleep_pid"; then
31536 # Hide warnings about reused PIDs.
31537 wait $am_sleep_pid 2>/dev
/null
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31540 $as_echo "done" >&6; }
31541 if test -n "$EXEEXT"; then
31543 am__EXEEXT_FALSE
='#'
31545 am__EXEEXT_TRUE
='#'
31549 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31550 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31553 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31554 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31557 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31558 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31561 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31562 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31565 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31566 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31569 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31570 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31573 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31574 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31577 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31578 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31581 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31582 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31585 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31586 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31589 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31590 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31593 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31594 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31597 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31598 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31602 : "${CONFIG_STATUS=./config.status}"
31604 ac_clean_files_save
=$ac_clean_files
31605 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31611 # Generated by $as_me.
31612 # Run this file to recreate the current configuration.
31613 # Compiler output produced by configure, useful for debugging
31614 # configure, is in config.log if it exists.
31617 ac_cs_recheck=false
31620 SHELL=\${CONFIG_SHELL-$SHELL}
31623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31624 ## -------------------- ##
31625 ## M4sh Initialization. ##
31626 ## -------------------- ##
31628 # Be more Bourne compatible
31629 DUALCASE
=1; export DUALCASE
# for MKS sh
31630 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31634 # is contrary to our usage. Disable this feature.
31635 alias -g '${1+"$@"}'='"$@"'
31636 setopt NO_GLOB_SUBST
31638 case `(set -o) 2>/dev/null` in #(
31650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31651 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31654 # Prefer a ksh shell builtin over an external printf program on Solaris,
31655 # but without wasting forks for bash or zsh.
31656 if test -z "$BASH_VERSION$ZSH_VERSION" \
31657 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31658 as_echo='print
-r --'
31659 as_echo_n='print
-rn --'
31660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31661 as_echo='printf %s
\n'
31662 as_echo_n='printf %s
'
31664 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31665 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31666 as_echo_n='/usr
/ucb
/echo -n'
31668 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31669 as_echo_n_body='eval
31673 expr "X$arg" : "X\\(.*\\)$as_nl";
31674 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31676 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31678 export as_echo_n_body
31679 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31681 export as_echo_body
31682 as_echo='sh
-c $as_echo_body as_echo
'
31685 # The user is always right.
31686 if test "${PATH_SEPARATOR+set}" != set; then
31688 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31689 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31696 # We need space, tab and new line, in precisely that order. Quoting is
31697 # there to prevent editors from complaining about space-tab.
31698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31699 # splitting by setting IFS to empty value.)
31702 # Find who we are. Look in the path if we contain no directory separator.
31705 *[\\/]* ) as_myself=$0 ;;
31706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31707 for as_dir in $PATH
31710 test -z "$as_dir" && as_dir=.
31711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31717 # We did not find ourselves, most probably we were run as `sh COMMAND'
31718 # in which case we are not to be found in the path.
31719 if test "x$as_myself" = x
; then
31722 if test ! -f "$as_myself"; then
31723 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31727 # Unset variables that we do not need and which cause bugs (e.g. in
31728 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31729 # suppresses any "Segmentation fault" message there. '((' could
31730 # trigger a bug in pdksh 5.2.14.
31731 for as_var
in BASH_ENV ENV MAIL MAILPATH
31732 do eval test x\
${$as_var+set} = xset \
31733 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31746 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31750 # ----------------------------------------
31751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31753 # script with STATUS, using 1 if that was 0.
31756 as_status
=$1; test $as_status -eq 0 && as_status
=1
31758 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31759 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31761 $as_echo "$as_me: error: $2" >&2
31762 as_fn_exit
$as_status
31766 # as_fn_set_status STATUS
31767 # -----------------------
31768 # Set $? to STATUS, without forking.
31769 as_fn_set_status
()
31772 } # as_fn_set_status
31774 # as_fn_exit STATUS
31775 # -----------------
31776 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31780 as_fn_set_status
$1
31786 # Portably unset VAR.
31789 { eval $1=; unset $1;}
31791 as_unset
=as_fn_unset
31792 # as_fn_append VAR VALUE
31793 # ----------------------
31794 # Append the text in VALUE to the end of the definition contained in VAR. Take
31795 # advantage of any shell optimizations that allow amortized linear growth over
31796 # repeated appends, instead of the typical quadratic growth present in naive
31798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31799 eval 'as_fn_append ()
31810 # as_fn_arith ARG...
31811 # ------------------
31812 # Perform arithmetic evaluation on the ARGs, and store the result in the
31813 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31814 # must be portable across $(()) and expr.
31815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31816 eval 'as_fn_arith ()
31823 as_val
=`expr "$@" || test $? -eq 1`
31828 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31829 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31835 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31836 as_basename
=basename
31841 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31847 as_me
=`$as_basename -- "$0" ||
31848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31849 X"$0" : 'X\(//\)$' \| \
31850 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31852 sed '/^.*\/\([^/][^/]*\)\/*$/{
31866 # Avoid depending upon Character Ranges.
31867 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31868 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31869 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31870 as_cr_digits
='0123456789'
31871 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31873 ECHO_C
= ECHO_N
= ECHO_T
=
31874 case `echo -n x` in #(((((
31876 case `echo 'xy\c'` in
31877 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31879 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
31886 rm -f conf$$ conf$$.exe conf$$.
file
31887 if test -d conf$$.dir
; then
31888 rm -f conf$$.dir
/conf$$.
file
31891 mkdir conf$$.dir
2>/dev
/null
31893 if (echo >conf$$.
file) 2>/dev
/null
; then
31894 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31896 # ... but there are two gotchas:
31897 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31898 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31899 # In both cases, we have to default to `cp -pR'.
31900 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31902 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31910 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31911 rmdir conf$$.dir
2>/dev
/null
31916 # Create "$as_dir" as a directory, including parents if necessary.
31921 -*) as_dir
=.
/$as_dir;;
31923 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
31927 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31928 *) as_qdir
=$as_dir;;
31930 as_dirs
="'$as_qdir' $as_dirs"
31931 as_dir
=`$as_dirname -- "$as_dir" ||
31932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31933 X"$as_dir" : 'X\(//\)[^/]' \| \
31934 X"$as_dir" : 'X\(//\)$' \| \
31935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31936 $as_echo X"$as_dir" |
31937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31941 /^X\(\/\/\)[^/].*/{
31954 test -d "$as_dir" && break
31956 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31957 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
31961 if mkdir
-p .
2>/dev
/null
; then
31962 as_mkdir_p
='mkdir -p "$as_dir"'
31964 test -d .
/-p && rmdir .
/-p
31969 # as_fn_executable_p FILE
31970 # -----------------------
31971 # Test if FILE is an executable regular file.
31972 as_fn_executable_p
()
31974 test -f "$1" && test -x "$1"
31975 } # as_fn_executable_p
31976 as_test_x
='test -x'
31977 as_executable_p
=as_fn_executable_p
31979 # Sed expression to map a string onto a valid CPP name.
31980 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31982 # Sed expression to map a string onto a valid variable name.
31983 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31987 ## ----------------------------------- ##
31988 ## Main body of $CONFIG_STATUS script. ##
31989 ## ----------------------------------- ##
31991 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
31993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31994 # Save the log message, to keep $0 and so on meaningful, and to
31995 # report actual input values of CONFIG_FILES etc. instead of their
31996 # values after options handling.
31998 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31999 generated by GNU Autoconf 2.69. Invocation command line was
32001 CONFIG_FILES = $CONFIG_FILES
32002 CONFIG_HEADERS = $CONFIG_HEADERS
32003 CONFIG_LINKS = $CONFIG_LINKS
32004 CONFIG_COMMANDS = $CONFIG_COMMANDS
32007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32012 case $ac_config_files in *"
32013 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
32016 case $ac_config_headers in *"
32017 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
32021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32022 # Files that config.status was made for.
32023 config_files="$ac_config_files"
32024 config_headers="$ac_config_headers"
32025 config_commands="$ac_config_commands"
32029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32031 \`$as_me' instantiates files and other configuration actions
32032 from templates according to the current configuration. Unless the files
32033 and actions are specified as TAGs, all are instantiated by default.
32035 Usage: $0 [OPTION]... [TAG]...
32037 -h, --help print this help, then exit
32038 -V, --version print version number and configuration settings, then exit
32039 --config print configuration, then exit
32040 -q, --quiet, --silent
32041 do not print progress messages
32042 -d, --debug don't remove temporary files
32043 --recheck update $as_me by reconfiguring in the same conditions
32044 --file=FILE[:TEMPLATE]
32045 instantiate the configuration file FILE
32046 --header=FILE[:TEMPLATE]
32047 instantiate the configuration header FILE
32049 Configuration files:
32052 Configuration headers:
32055 Configuration commands:
32058 Report bugs to the package provider.
32059 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32060 General help using GNU software: <http://www.gnu.org/gethelp/>."
32063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32064 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32066 GNU Fortran Runtime Library config.status 0.3
32067 configured by $0, generated by GNU Autoconf 2.69,
32068 with options \\"\$ac_cs_config\\"
32070 Copyright (C) 2012 Free Software Foundation, Inc.
32071 This config.status script is free software; the Free Software Foundation
32072 gives unlimited permission to copy, distribute and modify it."
32079 test -n "\$AWK" || AWK=awk
32082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32083 # The default lists apply if the user does not specify any file.
32089 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32090 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32094 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32106 # Handling of the options.
32107 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32109 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32110 $as_echo "$ac_cs_version"; exit ;;
32111 --config |
--confi |
--conf |
--con |
--co |
--c )
32112 $as_echo "$ac_cs_config"; exit ;;
32113 --debug |
--debu |
--deb |
--de |
--d |
-d )
32115 --file |
--fil |
--fi |
--f )
32118 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32119 '') as_fn_error $?
"missing file argument" ;;
32121 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32122 ac_need_defaults
=false
;;
32123 --header |
--heade |
--head |
--hea )
32126 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32128 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32129 ac_need_defaults
=false
;;
32131 # Conflict between --help and --header
32132 as_fn_error $?
"ambiguous option: \`$1'
32133 Try \`$0 --help' for more information.";;
32134 --help |
--hel |
-h )
32135 $as_echo "$ac_cs_usage"; exit ;;
32136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32137 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32140 # This is an error.
32141 -*) as_fn_error $?
"unrecognized option: \`$1'
32142 Try \`$0 --help' for more information." ;;
32144 *) as_fn_append ac_config_targets
" $1"
32145 ac_need_defaults
=false
;;
32151 ac_configure_extra_args
=
32153 if $ac_cs_silent; then
32155 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32160 if \$ac_cs_recheck; then
32161 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32163 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32164 CONFIG_SHELL='$SHELL'
32165 export CONFIG_SHELL
32170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32175 ## Running $as_me. ##
32181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32189 with_multisubdir="$with_multisubdir"
32190 with_multisrctop="$with_multisrctop"
32191 with_target_subdir="$with_target_subdir"
32192 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32193 multi_basedir="$multi_basedir"
32194 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32197 GFORTRAN="$GFORTRAN"
32199 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32202 # The HP-UX ksh and POSIX shell print the target directory to stdout
32203 # if CDPATH is set.
32204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32206 sed_quote_subst='$sed_quote_subst'
32207 double_quote_subst='$double_quote_subst'
32208 delay_variable_subst='$delay_variable_subst'
32209 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32210 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32211 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32212 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32213 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32214 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32215 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32216 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32217 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32218 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32219 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32220 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32221 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32222 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32223 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32224 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32225 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32226 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32227 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32228 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32229 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32230 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32231 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32232 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32233 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32234 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32235 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32236 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32237 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32238 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32239 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32240 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32241 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32242 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32243 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32244 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32245 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32246 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32247 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32248 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32249 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32250 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32251 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32252 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32253 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32254 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32255 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32256 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32257 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"`'
32258 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32259 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32260 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32261 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32262 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32263 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32264 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32265 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32266 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32267 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32268 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32269 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32270 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32271 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32272 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32273 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32274 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32275 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32276 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32277 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32278 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32279 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32280 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32281 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32282 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32283 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32284 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32285 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32286 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32287 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32288 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32289 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32290 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32291 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32292 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32293 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32294 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32295 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32296 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32297 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32298 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32299 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32300 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32301 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32302 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32303 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32304 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32305 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32306 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32307 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32308 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32309 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32310 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32311 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32312 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32313 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32314 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32315 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32316 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32317 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32318 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32319 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32320 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32321 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32322 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32323 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32324 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32325 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32326 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32327 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32328 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32329 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32330 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32331 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32332 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32333 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32334 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32335 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32336 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32337 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32338 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32339 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32340 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32341 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32342 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32343 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32344 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32345 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32346 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32347 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32348 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32349 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32350 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32351 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32352 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32353 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32354 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32355 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32356 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32357 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32358 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32359 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32360 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32361 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32362 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32363 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32364 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32365 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32366 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32367 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32368 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32369 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32370 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32371 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32372 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32373 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32374 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32375 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32376 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32377 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32378 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32379 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32380 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32381 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32382 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32383 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32386 LTCFLAGS='$LTCFLAGS'
32387 compiler='$compiler_DEFAULT'
32389 # A function that is used when there is no print builtin or printf.
32390 func_fallback_echo ()
32392 eval 'cat <<_LTECHO_EOF
32397 # Quote evaled strings.
32411 deplibs_check_method \
32420 lt_cv_sys_global_symbol_pipe \
32421 lt_cv_sys_global_symbol_to_cdecl \
32422 lt_cv_sys_global_symbol_to_c_name_address \
32423 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32424 lt_prog_compiler_no_builtin_flag \
32425 lt_prog_compiler_wl \
32426 lt_prog_compiler_pic \
32427 lt_prog_compiler_static \
32428 lt_cv_prog_compiler_c_o \
32436 export_dynamic_flag_spec \
32437 whole_archive_flag_spec \
32438 compiler_needs_object \
32440 allow_undefined_flag \
32441 no_undefined_flag \
32442 hardcode_libdir_flag_spec \
32443 hardcode_libdir_flag_spec_ld \
32444 hardcode_libdir_separator \
32449 variables_saved_for_relink \
32451 library_names_spec \
32453 install_override_mode \
32457 compiler_lib_search_dirs \
32462 compiler_lib_search_path \
32466 lt_prog_compiler_no_builtin_flag_FC \
32467 lt_prog_compiler_wl_FC \
32468 lt_prog_compiler_pic_FC \
32469 lt_prog_compiler_static_FC \
32470 lt_cv_prog_compiler_c_o_FC \
32471 export_dynamic_flag_spec_FC \
32472 whole_archive_flag_spec_FC \
32473 compiler_needs_object_FC \
32475 allow_undefined_flag_FC \
32476 no_undefined_flag_FC \
32477 hardcode_libdir_flag_spec_FC \
32478 hardcode_libdir_flag_spec_ld_FC \
32479 hardcode_libdir_separator_FC \
32480 fix_srcfile_path_FC \
32481 exclude_expsyms_FC \
32482 include_expsyms_FC \
32483 file_list_spec_FC \
32484 compiler_lib_search_dirs_FC \
32485 predep_objects_FC \
32486 postdep_objects_FC \
32489 compiler_lib_search_path_FC; do
32490 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32491 *[\\\\\\\`\\"\\\$]*)
32492 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32495 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32500 # Double-quote double-evaled strings.
32501 for var in reload_cmds \
32502 old_postinstall_cmds \
32503 old_postuninstall_cmds \
32505 extract_expsyms_cmds \
32506 old_archive_from_new_cmds \
32507 old_archive_from_expsyms_cmds \
32509 archive_expsym_cmds \
32511 module_expsym_cmds \
32512 export_symbols_cmds \
32515 postuninstall_cmds \
32517 sys_lib_search_path_spec \
32518 sys_lib_dlsearch_path_spec \
32520 old_archive_cmds_FC \
32521 old_archive_from_new_cmds_FC \
32522 old_archive_from_expsyms_cmds_FC \
32524 archive_expsym_cmds_FC \
32526 module_expsym_cmds_FC \
32527 export_symbols_cmds_FC \
32528 prelink_cmds_FC; do
32529 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32530 *[\\\\\\\`\\"\\\$]*)
32531 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32534 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32539 ac_aux_dir='$ac_aux_dir'
32540 xsi_shell='$xsi_shell'
32541 lt_shell_append='$lt_shell_append'
32543 # See if we are running on zsh, and set the options which allow our
32544 # commands through without removal of \ escapes INIT.
32545 if test -n "\${ZSH_VERSION+set}" ; then
32546 setopt NO_GLOB_SUBST
32552 TIMESTAMP='$TIMESTAMP'
32563 acx_cv_header_stdint="$acx_cv_header_stdint"
32564 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32565 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32566 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32567 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32568 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32569 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32570 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32571 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32572 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32573 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32574 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32575 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32576 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32583 # Handling of arguments.
32584 for ac_config_target
in $ac_config_targets
32586 case $ac_config_target in
32587 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32588 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32589 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32590 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32591 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32592 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32593 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32595 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32600 # If the user did not use the arguments to specify the items to instantiate,
32601 # then the envvar interface is used. Set only those that are not.
32602 # We use the long form for the default assignment because of an extremely
32603 # bizarre bug on SunOS 4.1.3.
32604 if $ac_need_defaults; then
32605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32607 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32610 # Have a temporary directory for convenience. Make it in the build tree
32611 # simply because there is no reason against having it here, and in addition,
32612 # creating and moving files from /tmp can sometimes cause problems.
32613 # Hook for its removal unless debugging.
32614 # Note that there is a small window in which the directory will not be cleaned:
32615 # after its creation but before its name has been assigned to `$tmp'.
32619 trap 'exit_status=$?
32620 : "${ac_tmp:=$tmp}"
32621 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32623 trap 'as_fn_exit 1' 1 2 13 15
32625 # Create a (secure) tmp directory for tmp files.
32628 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32632 tmp
=.
/conf$$
-$RANDOM
32633 (umask 077 && mkdir
"$tmp")
32634 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32637 # Set up the scripts for CONFIG_FILES section.
32638 # No need to generate them if there are no CONFIG_FILES.
32639 # This happens for instance with `./config.status config.h'.
32640 if test -n "$CONFIG_FILES"; then
32643 ac_cr
=`echo X | tr X '\015'`
32644 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32645 # But we know of no other shell where ac_cr would be empty at this
32646 # point, so we can use a bashism as a fallback.
32647 if test "x$ac_cr" = x
; then
32648 eval ac_cr
=\$
\'\\r
\'
32650 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32651 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32654 ac_cs_awk_cr
=$ac_cr
32657 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32662 echo "cat >conf$$subs.awk <<_ACEOF" &&
32663 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32665 } >conf$$subs.sh ||
32666 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32667 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32669 for ac_last_try in false false false false false :; do
32670 . ./conf$$subs.sh ||
32671 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32673 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32674 if test $ac_delim_n = $ac_delim_num; then
32676 elif $ac_last_try; then
32677 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32679 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32682 rm -f conf$$subs.sh
32684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32685 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32689 s/^/S["/; s
/!.
*/"]=/
32699 s/\(.\{148\}\)..*/\1/
32701 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32706 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32713 s/\(.\{148\}\)..*/\1/
32715 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32719 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32724 ' <conf$$subs.awk | sed '
32729 ' >>$CONFIG_STATUS || ac_write_fail=1
32730 rm -f conf$$subs.awk
32731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32733 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32734 for (key in S) S_is_set[key] = 1
32740 nfields = split(line, field, "@
")
32742 len = length(field[1])
32743 for (i = 2; i < nfields; i++) {
32745 keylen = length(key)
32746 if (S_is_set[key]) {
32748 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32749 len += length(value) + length(field[++i])
32760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32761 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32762 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32765 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32766 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32769 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32770 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32771 # trailing colons and then remove the whole line if VPATH becomes empty
32772 # (actually we leave an empty line to preserve line numbers).
32773 if test "x
$srcdir" = x.; then
32774 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32793 fi # test -n "$CONFIG_FILES"
32795 # Set up the scripts for CONFIG_HEADERS section.
32796 # No need to generate them if there are no CONFIG_HEADERS.
32797 # This happens for instance with `./config.status Makefile'.
32798 if test -n "$CONFIG_HEADERS"; then
32799 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32803 # Transform confdefs.h into an awk script `defines.awk', embedded as
32804 # here-document in config.status, that substitutes the proper values into
32805 # config.h.in to produce config.h.
32807 # Create a delimiter string that does not exist in confdefs.h, to ease
32808 # handling of long lines.
32810 for ac_last_try in false false :; do
32811 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32812 if test -z "$ac_tt"; then
32814 elif $ac_last_try; then
32815 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32817 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32821 # For the awk script, D is an array of macro values keyed by name,
32822 # likewise P contains macro parameters if any. Preserve backslash
32823 # newline sequences.
32825 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32827 s/.\{148\}/&'"$ac_delim"'/g
32830 s/^[ ]*#[ ]*define[ ][ ]*/ /
32837 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32839 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32843 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32844 D["\
1"]=" \
3\\\\\\n
"\\/p
32846 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32851 s/.\{148\}/&'"$ac_delim"'/g
32856 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32859 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32861 ' <confdefs.h | sed '
32862 s/'"$ac_delim"'/"\\\
32863 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32866 for (key in D) D_is_set[key] = 1
32869 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32871 split(line, arg, " ")
32872 if (arg[1] == "#") {
32876 defundef
= substr
(arg
[1], 2)
32879 split(mac1
, mac2
, "(") #)
32881 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32882 if (D_is_set
[macro
]) {
32883 # Preserve the white space surrounding the "#".
32884 print prefix
"define", macro P
[macro
] D
[macro
]
32887 # Replace #undef with comments. This is necessary, for example,
32888 # in the case of _POSIX_SOURCE, which is predefined and required
32889 # on some systems where configure will not decide to define it.
32890 if (defundef
== "undef") {
32891 print
"/*", prefix defundef
, macro
, "*/"
32899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32900 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
32901 fi # test -n "$CONFIG_HEADERS"
32904 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32909 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32911 case $ac_mode$ac_tag in
32913 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
32914 :[FH
]-) ac_tag
=-:-;;
32915 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32932 -) ac_f
="$ac_tmp/stdin";;
32933 *) # Look for the file first in the build tree, then in the source tree
32934 # (if the path is not absolute). The absolute path cannot be DOS-style,
32935 # because $ac_f cannot contain `:'.
32939 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32941 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32943 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32944 as_fn_append ac_file_inputs
" '$ac_f'"
32947 # Let's still pretend it is `configure' which instantiates (i.e., don't
32948 # use $as_me), people would be surprised to read:
32949 # /* config.h. Generated by config.status. */
32950 configure_input
='Generated from '`
32951 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32953 if test x
"$ac_file" != x-
; then
32954 configure_input
="$ac_file. $configure_input"
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32956 $as_echo "$as_me: creating $ac_file" >&6;}
32958 # Neutralize special characters interpreted by sed in replacement strings.
32959 case $configure_input in #(
32960 *\
&* |
*\|
* |
*\\* )
32961 ac_sed_conf_input
=`$as_echo "$configure_input" |
32962 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32963 *) ac_sed_conf_input
=$configure_input;;
32967 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
32968 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
32973 ac_dir
=`$as_dirname -- "$ac_file" ||
32974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32975 X"$ac_file" : 'X\(//\)[^/]' \| \
32976 X"$ac_file" : 'X\(//\)$' \| \
32977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32978 $as_echo X"$ac_file" |
32979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32983 /^X\(\/\/\)[^/].*/{
32996 as_dir
="$ac_dir"; as_fn_mkdir_p
33000 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33002 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33003 # A ".." for each directory in $ac_dir_suffix.
33004 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33005 case $ac_top_builddir_sub in
33006 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33007 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
33010 ac_abs_top_builddir
=$ac_pwd
33011 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
33012 # for backward compatibility:
33013 ac_top_builddir
=$ac_top_build_prefix
33016 .
) # We are building in place.
33018 ac_top_srcdir
=$ac_top_builddir_sub
33019 ac_abs_top_srcdir
=$ac_pwd ;;
33020 [\\/]* | ?
:[\\/]* ) # Absolute name.
33021 ac_srcdir
=$srcdir$ac_dir_suffix;
33022 ac_top_srcdir
=$srcdir
33023 ac_abs_top_srcdir
=$srcdir ;;
33024 *) # Relative name.
33025 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33026 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33027 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33029 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33039 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33040 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33042 ac_MKDIR_P
=$MKDIR_P
33044 [\\/$
]* | ?
:[\\/]* ) ;;
33045 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
33049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33050 # If the template does not know about datarootdir, expand it.
33051 # FIXME: This hack should be removed a few years after 2.60.
33052 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33064 *datarootdir
*) ac_datarootdir_seen
=yes;;
33065 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33070 ac_datarootdir_hack='
33071 s&@datadir@&$datadir&g
33072 s&@docdir@&$docdir&g
33073 s&@infodir@&$infodir&g
33074 s&@localedir@&$localedir&g
33075 s&@mandir@&$mandir&g
33076 s&\\\${datarootdir}&$datarootdir&g' ;;
33080 # Neutralize VPATH when `$srcdir' = `.'.
33081 # Shell code in configure.ac might set extrasub.
33082 # FIXME: do we really want to maintain this feature?
33083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33084 ac_sed_extra="$ac_vpsub
33087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33089 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33090 s|@configure_input@|
$ac_sed_conf_input|
;t t
33091 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33092 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33093 s
&@srcdir@
&$ac_srcdir&;t t
33094 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33095 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33096 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33097 s
&@builddir@
&$ac_builddir&;t t
33098 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33099 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33100 s
&@INSTALL@
&$ac_INSTALL&;t t
33101 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33102 $ac_datarootdir_hack
33104 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33105 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33108 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33110 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33112 which seems to be undefined. Please make sure it is defined" >&5
33113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33114 which seems to be undefined. Please make sure it is defined" >&2;}
33116 rm -f "$ac_tmp/stdin"
33118 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33119 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33127 if test x"$ac_file" != x-; then
33129 $as_echo "/* $configure_input */" \
33130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33131 } >"$ac_tmp/config.h" \
33132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33135 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33138 mv "$ac_tmp/config.h" "$ac_file" \
33139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33142 $as_echo "/* $configure_input */" \
33143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33144 || as_fn_error $? "could not create -" "$LINENO" 5
33146 # Compute "$ac_file"'s index
in $config_headers.
33149 for _am_header
in $config_headers :; do
33150 case $_am_header in
33151 $_am_arg |
$_am_arg:* )
33154 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33157 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33158 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33159 X"$_am_arg" : 'X\(//\)[^/]' \| \
33160 X"$_am_arg" : 'X\(//\)$' \| \
33161 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33162 $as_echo X"$_am_arg" |
33163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33167 /^X\(\/\/\)[^/].*/{
33179 s/.*/./; q'`/stamp-h
$_am_stamp_count
33182 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33183 $as_echo "$as_me: executing $ac_file commands" >&6;}
33188 case $ac_file$ac_mode in
33190 # Only add multilib support code if we just rebuilt the top-level
33192 case " $CONFIG_FILES " in
33194 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33197 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33198 # Older Autoconf quotes --file arguments for eval, but not when files
33199 # are listed without --file. Let's play safe and only enable the eval
33200 # if we detect the quoting.
33201 case $CONFIG_FILES in
33202 *\'*) eval set x
"$CONFIG_FILES" ;;
33203 *) set x
$CONFIG_FILES ;;
33208 # Strip MF so we end up with the name of the file.
33209 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33210 # Check whether this is an Automake generated Makefile or not.
33211 # We used to match only the files named 'Makefile.in', but
33212 # some people rename them; so instead we look at the file content.
33213 # Grep'ing the first line is not enough: some people post-process
33214 # each Makefile.in and add a new line on top of each file to say so.
33215 # Grep'ing the whole file is not good either: AIX grep has a line
33216 # limit of 2048, but all sed's we know have understand at least 4000.
33217 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33218 dirpart
=`$as_dirname -- "$mf" ||
33219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33220 X"$mf" : 'X\(//\)[^/]' \| \
33221 X"$mf" : 'X\(//\)$' \| \
33222 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33228 /^X\(\/\/\)[^/].*/{
33244 # Extract the definition of DEPDIR, am__include, and am__quote
33245 # from the Makefile without running 'make'.
33246 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33247 test -z "$DEPDIR" && continue
33248 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33249 test -z "$am__include" && continue
33250 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33251 # Find all dependency output files, they are included files with
33252 # $(DEPDIR) in their names. We invoke sed twice because it is the
33253 # simplest approach to changing $(DEPDIR) to its actual value in the
33255 for file in `sed -n "
33256 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33257 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33258 # Make sure the directory exists.
33259 test -f "$dirpart/$file" && continue
33260 fdir
=`$as_dirname -- "$file" ||
33261 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33262 X"$file" : 'X\(//\)[^/]' \| \
33263 X"$file" : 'X\(//\)$' \| \
33264 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33265 $as_echo X"$file" |
33266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33270 /^X\(\/\/\)[^/].*/{
33283 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33284 # echo "creating $dirpart/$file"
33285 echo '# dummy' > "$dirpart/$file"
33292 # See if we are running on zsh, and set the options which allow our
33293 # commands through without removal of \ escapes.
33294 if test -n "${ZSH_VERSION+set}" ; then
33295 setopt NO_GLOB_SUBST
33298 cfgfile
="${ofile}T"
33299 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33302 cat <<_LT_EOF >> "$cfgfile"
33305 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33306 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33307 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33308 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33310 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33311 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33312 # Written by Gordon Matzigkeit, 1996
33314 # This file is part of GNU Libtool.
33316 # GNU Libtool is free software; you can redistribute it and/or
33317 # modify it under the terms of the GNU General Public License as
33318 # published by the Free Software Foundation; either version 2 of
33319 # the License, or (at your option) any later version.
33321 # As a special exception to the GNU General Public License,
33322 # if you distribute this file as part of a program or library that
33323 # is built using GNU Libtool, you may include this file under the
33324 # same distribution terms that you use for the rest of that program.
33326 # GNU Libtool is distributed in the hope that it will be useful,
33327 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33328 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33329 # GNU General Public License for more details.
33331 # You should have received a copy of the GNU General Public License
33332 # along with GNU Libtool; see the file COPYING. If not, a copy
33333 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33334 # obtained by writing to the Free Software Foundation, Inc.,
33335 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33338 # The names of the tagged configurations supported by this script.
33339 available_tags="FC "
33341 # ### BEGIN LIBTOOL CONFIG
33343 # A sed program that does not truncate output.
33346 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33347 Xsed="\$SED -e 1s/^X//"
33349 # A grep program that handles long lines.
33355 # A literal string matcher.
33358 # Shell to use when invoking shell scripts.
33361 # An echo program that protects backslashes.
33364 # Which release of libtool.m4 was used?
33365 macro_version=$macro_version
33366 macro_revision=$macro_revision
33368 # Whether or not to build shared libraries.
33369 build_libtool_libs=$enable_shared
33371 # Whether or not to build static libraries.
33372 build_old_libs=$enable_static
33374 # What type of objects to build.
33377 # Whether or not to optimize for fast installation.
33378 fast_install=$enable_fast_install
33381 host_alias=$host_alias
33385 # The build system.
33386 build_alias=$build_alias
33390 # A BSD- or MS-compatible name lister.
33393 # Whether we need soft or hard links.
33396 # What is the maximum length of a command?
33397 max_cmd_len=$max_cmd_len
33399 # Object file suffix (normally "o").
33402 # Executable file suffix (normally "").
33405 # whether the shell understands "unset".
33408 # turn spaces into newlines.
33411 # turn newlines into spaces.
33414 # An object symbol dumper.
33415 OBJDUMP=$lt_OBJDUMP
33417 # Method to check whether dependent libraries are shared objects.
33418 deplibs_check_method=$lt_deplibs_check_method
33420 # Command to use when deplibs_check_method == "file_magic".
33421 file_magic_cmd=$lt_file_magic_cmd
33425 AR_FLAGS=$lt_AR_FLAGS
33427 # A symbol stripping program.
33430 # Commands used to install an old-style archive.
33432 old_postinstall_cmds=$lt_old_postinstall_cmds
33433 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33435 # Whether to use a lock for old archive extraction.
33436 lock_old_archive_extraction=$lock_old_archive_extraction
33441 # LTCC compiler flags.
33442 LTCFLAGS=$lt_CFLAGS
33444 # Take the output of nm and produce a listing of raw symbols and C names.
33445 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33447 # Transform the output of nm in a proper C declaration.
33448 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33450 # Transform the output of nm in a C name address pair.
33451 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33453 # Transform the output of nm in a C name address pair when lib prefix is needed.
33454 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33456 # The name of the directory that contains temporary libtool files.
33459 # Used to examine libraries when file_magic_cmd begins with "file".
33460 MAGIC_CMD=$MAGIC_CMD
33462 # Must we lock files when doing compilation?
33463 need_locks=$lt_need_locks
33465 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33466 DSYMUTIL=$lt_DSYMUTIL
33468 # Tool to change global to local symbols on Mac OS X.
33471 # Tool to manipulate fat objects and archives on Mac OS X.
33474 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33477 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33478 OTOOL64=$lt_OTOOL64
33480 # Old archive suffix (normally "a").
33483 # Shared library suffix (normally ".so").
33484 shrext_cmds=$lt_shrext_cmds
33486 # The commands to extract the exported symbol list from a shared archive.
33487 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33489 # Variables whose values should be saved in libtool wrapper scripts and
33490 # restored at link time.
33491 variables_saved_for_relink=$lt_variables_saved_for_relink
33493 # Do we need the "lib" prefix for modules?
33494 need_lib_prefix=$need_lib_prefix
33496 # Do we need a version for libraries?
33497 need_version=$need_version
33499 # Library versioning type.
33500 version_type=$version_type
33502 # Shared library runtime path variable.
33503 runpath_var=$runpath_var
33505 # Shared library path variable.
33506 shlibpath_var=$shlibpath_var
33508 # Is shlibpath searched before the hard-coded library search path?
33509 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33511 # Format of library name prefix.
33512 libname_spec=$lt_libname_spec
33514 # List of archive names. First name is the real one, the rest are links.
33515 # The last name is the one that the linker finds with -lNAME
33516 library_names_spec=$lt_library_names_spec
33518 # The coded name of the library, if different from the real name.
33519 soname_spec=$lt_soname_spec
33521 # Permission mode override for installation of shared libraries.
33522 install_override_mode=$lt_install_override_mode
33524 # Command to use after installation of a shared archive.
33525 postinstall_cmds=$lt_postinstall_cmds
33527 # Command to use after uninstallation of a shared archive.
33528 postuninstall_cmds=$lt_postuninstall_cmds
33530 # Commands used to finish a libtool library installation in a directory.
33531 finish_cmds=$lt_finish_cmds
33533 # As "finish_cmds", except a single script fragment to be evaled but
33535 finish_eval=$lt_finish_eval
33537 # Whether we should hardcode library paths into libraries.
33538 hardcode_into_libs=$hardcode_into_libs
33540 # Compile-time system search path for libraries.
33541 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33543 # Run-time system search path for libraries.
33544 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33546 # Whether dlopen is supported.
33547 dlopen_support=$enable_dlopen
33549 # Whether dlopen of programs is supported.
33550 dlopen_self=$enable_dlopen_self
33552 # Whether dlopen of statically linked programs is supported.
33553 dlopen_self_static=$enable_dlopen_self_static
33555 # Commands to strip libraries.
33556 old_striplib=$lt_old_striplib
33557 striplib=$lt_striplib
33560 # The linker used to build libraries.
33563 # How to create reloadable object files.
33564 reload_flag=$lt_reload_flag
33565 reload_cmds=$lt_reload_cmds
33567 # Commands used to build an old-style archive.
33568 old_archive_cmds=$lt_old_archive_cmds
33570 # A language specific compiler.
33573 # Is the compiler the GNU compiler?
33576 # Compiler flag to turn off builtin functions.
33577 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33579 # How to pass a linker flag through the compiler.
33580 wl=$lt_lt_prog_compiler_wl
33582 # Additional compiler flags for building library objects.
33583 pic_flag=$lt_lt_prog_compiler_pic
33585 # Compiler flag to prevent dynamic linking.
33586 link_static_flag=$lt_lt_prog_compiler_static
33588 # Does compiler simultaneously support -c and -o options?
33589 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33591 # Whether or not to add -lc for building shared libraries.
33592 build_libtool_need_lc=$archive_cmds_need_lc
33594 # Whether or not to disallow shared libs when runtime libs are static.
33595 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33597 # Compiler flag to allow reflexive dlopens.
33598 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33600 # Compiler flag to generate shared objects directly from archives.
33601 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33603 # Whether the compiler copes with passing no objects directly.
33604 compiler_needs_object=$lt_compiler_needs_object
33606 # Create an old-style archive from a shared archive.
33607 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33609 # Create a temporary old-style archive to link instead of a shared archive.
33610 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33612 # Commands used to build a shared archive.
33613 archive_cmds=$lt_archive_cmds
33614 archive_expsym_cmds=$lt_archive_expsym_cmds
33616 # Commands used to build a loadable module if different from building
33617 # a shared archive.
33618 module_cmds=$lt_module_cmds
33619 module_expsym_cmds=$lt_module_expsym_cmds
33621 # Whether we are building with GNU ld or not.
33622 with_gnu_ld=$lt_with_gnu_ld
33624 # Flag that allows shared libraries with undefined symbols to be built.
33625 allow_undefined_flag=$lt_allow_undefined_flag
33627 # Flag that enforces no undefined symbols.
33628 no_undefined_flag=$lt_no_undefined_flag
33630 # Flag to hardcode \$libdir into a binary during linking.
33631 # This must work even if \$libdir does not exist
33632 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33634 # If ld is used when linking, flag to hardcode \$libdir into a binary
33635 # during linking. This must work even if \$libdir does not exist.
33636 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33638 # Whether we need a single "-rpath" flag with a separated argument.
33639 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33641 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33642 # DIR into the resulting binary.
33643 hardcode_direct=$hardcode_direct
33645 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33646 # DIR into the resulting binary and the resulting library dependency is
33647 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33648 # library is relocated.
33649 hardcode_direct_absolute=$hardcode_direct_absolute
33651 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33652 # into the resulting binary.
33653 hardcode_minus_L=$hardcode_minus_L
33655 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33656 # into the resulting binary.
33657 hardcode_shlibpath_var=$hardcode_shlibpath_var
33659 # Set to "yes" if building a shared library automatically hardcodes DIR
33660 # into the library and all subsequent libraries and executables linked
33662 hardcode_automatic=$hardcode_automatic
33664 # Set to yes if linker adds runtime paths of dependent libraries
33665 # to runtime path list.
33666 inherit_rpath=$inherit_rpath
33668 # Whether libtool must link a program against all its dependency libraries.
33669 link_all_deplibs=$link_all_deplibs
33671 # Fix the shell variable \$srcfile for the compiler.
33672 fix_srcfile_path=$lt_fix_srcfile_path
33674 # Set to "yes" if exported symbols are required.
33675 always_export_symbols=$always_export_symbols
33677 # The commands to list exported symbols.
33678 export_symbols_cmds=$lt_export_symbols_cmds
33680 # Symbols that should not be listed in the preloaded symbols.
33681 exclude_expsyms=$lt_exclude_expsyms
33683 # Symbols that must always be exported.
33684 include_expsyms=$lt_include_expsyms
33686 # Commands necessary for linking programs (against libraries) with templates.
33687 prelink_cmds=$lt_prelink_cmds
33689 # Specify filename containing input files.
33690 file_list_spec=$lt_file_list_spec
33692 # How to hardcode a shared library path into an executable.
33693 hardcode_action=$hardcode_action
33695 # The directories searched by this compiler when creating a shared library.
33696 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33698 # Dependencies to place before and after the objects being linked to
33699 # create a shared library.
33700 predep_objects=$lt_predep_objects
33701 postdep_objects=$lt_postdep_objects
33702 predeps=$lt_predeps
33703 postdeps=$lt_postdeps
33705 # The library search path used internally by the compiler when linking
33706 # a shared library.
33707 compiler_lib_search_path=$lt_compiler_lib_search_path
33709 # ### END LIBTOOL CONFIG
33715 cat <<\_LT_EOF
>> "$cfgfile"
33716 # AIX sometimes has problems with the GCC collect2 program. For some
33717 # reason, if we set the COLLECT_NAMES environment variable, the problems
33718 # vanish in a puff of smoke.
33719 if test "X${COLLECT_NAMES+set}" != Xset
; then
33721 export COLLECT_NAMES
33728 ltmain
="$ac_aux_dir/ltmain.sh"
33731 # We use sed instead of cat because bash on DJGPP gets confused if
33732 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33733 # text mode, it properly converts lines to CR/LF. This bash problem
33734 # is reportedly fixed, but why not run on old versions too?
33735 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33736 ||
(rm -f "$cfgfile"; exit 1)
33740 cat << \_LT_EOF
>> "$cfgfile"
33742 # func_dirname file append nondir_replacement
33743 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33744 # otherwise set result to NONDIR_REPLACEMENT.
33748 */*) func_dirname_result
="${1%/*}${2}" ;;
33749 * ) func_dirname_result
="${3}" ;;
33753 # func_basename file
33756 func_basename_result
="${1##*/}"
33759 # func_dirname_and_basename file append nondir_replacement
33760 # perform func_basename and func_dirname in a single function
33762 # dirname: Compute the dirname of FILE. If nonempty,
33763 # add APPEND to the result, otherwise set result
33764 # to NONDIR_REPLACEMENT.
33765 # value returned in "$func_dirname_result"
33766 # basename: Compute filename of FILE.
33767 # value retuned in "$func_basename_result"
33768 # Implementation must be kept synchronized with func_dirname
33769 # and func_basename. For efficiency, we do not delegate to
33770 # those functions but instead duplicate the functionality here.
33771 func_dirname_and_basename
()
33774 */*) func_dirname_result
="${1%/*}${2}" ;;
33775 * ) func_dirname_result
="${3}" ;;
33777 func_basename_result
="${1##*/}"
33780 # func_stripname prefix suffix name
33781 # strip PREFIX and SUFFIX off of NAME.
33782 # PREFIX and SUFFIX must not contain globbing or regex special
33783 # characters, hashes, percent signs, but SUFFIX may contain a leading
33784 # dot (in which case that matches only a dot).
33787 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33788 # positional parameters, so assign one to ordinary parameter first.
33789 func_stripname_result
=${3}
33790 func_stripname_result
=${func_stripname_result#"${1}"}
33791 func_stripname_result
=${func_stripname_result%"${2}"}
33797 func_opt_split_opt
=${1%%=*}
33798 func_opt_split_arg
=${1#*=}
33805 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33806 *) func_lo2o_result
=${1} ;;
33810 # func_xform libobj-or-source
33813 func_xform_result
=${1%.*}.lo
33816 # func_arith arithmetic-term...
33819 func_arith_result
=$
(( $
* ))
33823 # STRING may not start with a hyphen.
33826 func_len_result
=${#1}
33831 *) # Bourne compatible functions.
33832 cat << \_LT_EOF
>> "$cfgfile"
33834 # func_dirname file append nondir_replacement
33835 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33836 # otherwise set result to NONDIR_REPLACEMENT.
33839 # Extract subdirectory from the argument.
33840 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33841 if test "X$func_dirname_result" = "X${1}"; then
33842 func_dirname_result
="${3}"
33844 func_dirname_result
="$func_dirname_result${2}"
33848 # func_basename file
33851 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33855 # func_stripname prefix suffix name
33856 # strip PREFIX and SUFFIX off of NAME.
33857 # PREFIX and SUFFIX must not contain globbing or regex special
33858 # characters, hashes, percent signs, but SUFFIX may contain a leading
33859 # dot (in which case that matches only a dot).
33860 # func_strip_suffix prefix name
33864 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33865 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33870 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33871 my_sed_long_arg
='1s/^-[^=]*=//'
33876 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33877 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33883 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
33886 # func_xform libobj-or-source
33889 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33892 # func_arith arithmetic-term...
33895 func_arith_result
=`expr "$@"`
33899 # STRING may not start with a hyphen.
33902 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33908 case $lt_shell_append in
33910 cat << \_LT_EOF
>> "$cfgfile"
33912 # func_append var value
33913 # Append VALUE to the end of shell variable VAR.
33921 cat << \_LT_EOF
>> "$cfgfile"
33923 # func_append var value
33924 # Append VALUE to the end of shell variable VAR.
33935 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33936 ||
(rm -f "$cfgfile"; exit 1)
33938 mv -f "$cfgfile" "$ofile" ||
33939 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33943 cat <<_LT_EOF >> "$ofile"
33945 # ### BEGIN LIBTOOL TAG CONFIG: FC
33947 # The linker used to build libraries.
33950 # How to create reloadable object files.
33951 reload_flag=$lt_reload_flag_FC
33952 reload_cmds=$lt_reload_cmds_FC
33954 # Commands used to build an old-style archive.
33955 old_archive_cmds=$lt_old_archive_cmds_FC
33957 # A language specific compiler.
33960 # Is the compiler the GNU compiler?
33963 # Compiler flag to turn off builtin functions.
33964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33966 # How to pass a linker flag through the compiler.
33967 wl=$lt_lt_prog_compiler_wl_FC
33969 # Additional compiler flags for building library objects.
33970 pic_flag=$lt_lt_prog_compiler_pic_FC
33972 # Compiler flag to prevent dynamic linking.
33973 link_static_flag=$lt_lt_prog_compiler_static_FC
33975 # Does compiler simultaneously support -c and -o options?
33976 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33978 # Whether or not to add -lc for building shared libraries.
33979 build_libtool_need_lc=$archive_cmds_need_lc_FC
33981 # Whether or not to disallow shared libs when runtime libs are static.
33982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33984 # Compiler flag to allow reflexive dlopens.
33985 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33987 # Compiler flag to generate shared objects directly from archives.
33988 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33990 # Whether the compiler copes with passing no objects directly.
33991 compiler_needs_object=$lt_compiler_needs_object_FC
33993 # Create an old-style archive from a shared archive.
33994 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33996 # Create a temporary old-style archive to link instead of a shared archive.
33997 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33999 # Commands used to build a shared archive.
34000 archive_cmds=$lt_archive_cmds_FC
34001 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34003 # Commands used to build a loadable module if different from building
34004 # a shared archive.
34005 module_cmds=$lt_module_cmds_FC
34006 module_expsym_cmds=$lt_module_expsym_cmds_FC
34008 # Whether we are building with GNU ld or not.
34009 with_gnu_ld=$lt_with_gnu_ld_FC
34011 # Flag that allows shared libraries with undefined symbols to be built.
34012 allow_undefined_flag=$lt_allow_undefined_flag_FC
34014 # Flag that enforces no undefined symbols.
34015 no_undefined_flag=$lt_no_undefined_flag_FC
34017 # Flag to hardcode \$libdir into a binary during linking.
34018 # This must work even if \$libdir does not exist
34019 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34021 # If ld is used when linking, flag to hardcode \$libdir into a binary
34022 # during linking. This must work even if \$libdir does not exist.
34023 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34025 # Whether we need a single "-rpath" flag with a separated argument.
34026 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34028 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34029 # DIR into the resulting binary.
34030 hardcode_direct=$hardcode_direct_FC
34032 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34033 # DIR into the resulting binary and the resulting library dependency is
34034 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34035 # library is relocated.
34036 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34038 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34039 # into the resulting binary.
34040 hardcode_minus_L=$hardcode_minus_L_FC
34042 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34043 # into the resulting binary.
34044 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34046 # Set to "yes" if building a shared library automatically hardcodes DIR
34047 # into the library and all subsequent libraries and executables linked
34049 hardcode_automatic=$hardcode_automatic_FC
34051 # Set to yes if linker adds runtime paths of dependent libraries
34052 # to runtime path list.
34053 inherit_rpath=$inherit_rpath_FC
34055 # Whether libtool must link a program against all its dependency libraries.
34056 link_all_deplibs=$link_all_deplibs_FC
34058 # Fix the shell variable \$srcfile for the compiler.
34059 fix_srcfile_path=$lt_fix_srcfile_path_FC
34061 # Set to "yes" if exported symbols are required.
34062 always_export_symbols=$always_export_symbols_FC
34064 # The commands to list exported symbols.
34065 export_symbols_cmds=$lt_export_symbols_cmds_FC
34067 # Symbols that should not be listed in the preloaded symbols.
34068 exclude_expsyms=$lt_exclude_expsyms_FC
34070 # Symbols that must always be exported.
34071 include_expsyms=$lt_include_expsyms_FC
34073 # Commands necessary for linking programs (against libraries) with templates.
34074 prelink_cmds=$lt_prelink_cmds_FC
34076 # Specify filename containing input files.
34077 file_list_spec=$lt_file_list_spec_FC
34079 # How to hardcode a shared library path into an executable.
34080 hardcode_action=$hardcode_action_FC
34082 # The directories searched by this compiler when creating a shared library.
34083 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34085 # Dependencies to place before and after the objects being linked to
34086 # create a shared library.
34087 predep_objects=$lt_predep_objects_FC
34088 postdep_objects=$lt_postdep_objects_FC
34089 predeps=$lt_predeps_FC
34090 postdeps=$lt_postdeps_FC
34092 # The library search path used internally by the compiler when linking
34093 # a shared library.
34094 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34096 # ### END LIBTOOL TAG CONFIG: FC
34101 if test "$GCC" = yes; then
34102 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34104 echo "/* generated for $CC */" > tmp-stdint.h
34107 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34109 #ifndef GCC_GENERATED_STDINT_H
34110 #define GCC_GENERATED_STDINT_H 1
34112 #include <sys/types.h>
34115 if test "$acx_cv_header_stdint" != stdint.h
; then
34116 echo "#include <stddef.h>" >> tmp-stdint.h
34118 if test "$acx_cv_header_stdint" != stddef.h
; then
34119 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34122 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34123 /* glibc uses these symbols as guards to prevent redefinitions. */
34124 #ifdef __int8_t_defined
34129 #ifdef __uint32_t_defined
34135 # ----------------- done header, emit basic int types -------------
34136 if test "$acx_cv_header_stdint" = stddef.h
; then
34137 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34141 #ifndef __uint8_t_defined
34142 #define __uint8_t_defined
34144 typedef unsigned $acx_cv_type_int8_t uint8_t;
34151 #ifndef __uint16_t_defined
34152 #define __uint16_t_defined
34154 typedef unsigned $acx_cv_type_int16_t uint16_t;
34161 #ifndef __uint32_t_defined
34162 #define __uint32_t_defined
34164 typedef unsigned $acx_cv_type_int32_t uint32_t;
34171 #ifndef __int8_t_defined
34172 #define __int8_t_defined
34174 typedef $acx_cv_type_int8_t int8_t;
34181 #ifndef __int16_t_defined
34182 #define __int16_t_defined
34184 typedef $acx_cv_type_int16_t int16_t;
34191 #ifndef __int32_t_defined
34192 #define __int32_t_defined
34194 typedef $acx_cv_type_int32_t int32_t;
34199 elif test "$ac_cv_type_u_int32_t" = yes; then
34200 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34202 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34215 #ifndef __uint8_t_defined
34216 #define __uint8_t_defined
34218 typedef u_int8_t uint8_t;
34225 #ifndef __uint16_t_defined
34226 #define __uint16_t_defined
34228 typedef u_int16_t uint16_t;
34235 #ifndef __uint32_t_defined
34236 #define __uint32_t_defined
34238 typedef u_int32_t uint32_t;
34244 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34246 /* Some systems have guard macros to prevent redefinitions, define them. */
34268 # ------------- done basic int types, emit int64_t types ------------
34269 if test "$ac_cv_type_uint64_t" = yes; then
34270 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34272 /* system headers have good uint64_t and int64_t */
34280 elif test "$ac_cv_type_u_int64_t" = yes; then
34281 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34283 /* system headers have an u_int64_t (and int64_t) */
34289 #ifndef __uint64_t_defined
34290 #define __uint64_t_defined
34292 typedef u_int64_t uint64_t;
34297 elif test -n "$acx_cv_type_int64_t"; then
34298 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34300 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34304 typedef $acx_cv_type_int64_t int64_t;
34309 #ifndef __uint64_t_defined
34310 #define __uint64_t_defined
34312 typedef unsigned $acx_cv_type_int64_t uint64_t;
34318 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34320 /* some common heuristics for int64_t, using compiler-specific tests */
34321 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34324 #ifndef __int64_t_defined
34326 typedef long long int64_t;
34333 typedef unsigned long long uint64_t;
34337 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34338 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34339 does not implement __extension__. But that compiler doesn't define
34341 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34342 # define __extension__
34348 __extension__ typedef long long int64_t;
34354 __extension__ typedef unsigned long long uint64_t;
34358 #elif !defined __STRICT_ANSI__
34359 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34364 typedef __int64 int64_t;
34370 typedef unsigned __int64 uint64_t;
34373 # endif /* compiler */
34375 #endif /* ANSI version */
34379 # ------------- done int64_t types, emit intptr types ------------
34380 if test "$ac_cv_type_uintptr_t" != yes; then
34381 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34383 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34384 #ifndef __uintptr_t_defined
34386 typedef u$acx_cv_type_intptr_t uintptr_t;
34389 #ifndef __intptr_t_defined
34391 typedef $acx_cv_type_intptr_t intptr_t;
34397 # ------------- done intptr types, emit int_least types ------------
34398 if test "$ac_cv_type_int_least32_t" != yes; then
34399 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34401 /* Define int_least types */
34402 typedef int8_t int_least8_t;
34403 typedef int16_t int_least16_t;
34404 typedef int32_t int_least32_t;
34406 typedef int64_t int_least64_t;
34409 typedef uint8_t uint_least8_t;
34410 typedef uint16_t uint_least16_t;
34411 typedef uint32_t uint_least32_t;
34413 typedef uint64_t uint_least64_t;
34418 # ------------- done intptr types, emit int_fast types ------------
34419 if test "$ac_cv_type_int_fast32_t" != yes; then
34420 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34422 /* Define int_fast types. short is often slow */
34423 typedef int8_t int_fast8_t;
34424 typedef int int_fast16_t;
34425 typedef int32_t int_fast32_t;
34427 typedef int64_t int_fast64_t;
34430 typedef uint8_t uint_fast8_t;
34431 typedef unsigned int uint_fast16_t;
34432 typedef uint32_t uint_fast32_t;
34434 typedef uint64_t uint_fast64_t;
34439 if test "$ac_cv_type_uintmax_t" != yes; then
34440 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34442 /* Define intmax based on what we found */
34445 typedef int64_t intmax_t;
34447 typedef long intmax_t;
34452 typedef uint64_t uintmax_t;
34454 typedef unsigned long uintmax_t;
34460 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34462 #endif /* GCC_GENERATED_STDINT_H */
34465 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34468 mv -f tmp-stdint.h gstdint.h
34479 ac_clean_files
=$ac_clean_files_save
34481 test $ac_write_fail = 0 ||
34482 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34485 # configure is writing to config.log, and then calls config.status.
34486 # config.status does its own redirection, appending to config.log.
34487 # Unfortunately, on DOS this fails, as config.log is still kept open
34488 # by configure, so config.status won't be able to write to it; its
34489 # output is simply discarded. So we exec the FD to /dev/null,
34490 # effectively closing config.log, so it can be properly (re)opened and
34491 # appended to by config.status. When coming back to configure, we
34492 # need to make the FD available again.
34493 if test "$no_create" != yes; then
34495 ac_config_status_args
=
34496 test "$silent" = yes &&
34497 ac_config_status_args
="$ac_config_status_args --quiet"
34499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34502 # would make configure fail if this is the last instruction.
34503 $ac_cs_success || as_fn_exit
1
34505 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34507 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}