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
7781 if test -n "$ac_tool_prefix"; then
7782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7783 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7785 $as_echo_n "checking for $ac_word... " >&6; }
7786 if ${ac_cv_prog_AR+:} false
; then :
7787 $as_echo_n "(cached) " >&6
7789 if test -n "$AR"; then
7790 ac_cv_prog_AR
="$AR" # Let the user override the test.
7792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7796 test -z "$as_dir" && as_dir
=.
7797 for ac_exec_ext
in '' $ac_executable_extensions; do
7798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7799 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810 if test -n "$AR"; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7812 $as_echo "$AR" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7815 $as_echo "no" >&6; }
7820 if test -z "$ac_cv_prog_AR"; then
7822 # Extract the first word of "ar", so it can be a program name with args.
7823 set dummy
ar; ac_word
=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7825 $as_echo_n "checking for $ac_word... " >&6; }
7826 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7827 $as_echo_n "(cached) " >&6
7829 if test -n "$ac_ct_AR"; then
7830 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7836 test -z "$as_dir" && as_dir
=.
7837 for ac_exec_ext
in '' $ac_executable_extensions; do
7838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_ac_ct_AR
="ar"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7849 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7850 if test -n "$ac_ct_AR"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7852 $as_echo "$ac_ct_AR" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7858 if test "x$ac_ct_AR" = x
; then
7861 case $cross_compiling:$ac_tool_warned in
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7865 ac_tool_warned
=yes ;;
7873 test -z "$AR" && AR
=ar
7874 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7886 if test -n "$ac_tool_prefix"; then
7887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7888 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_prog_STRIP+:} false
; then :
7892 $as_echo_n "(cached) " >&6
7894 if test -n "$STRIP"; then
7895 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir
=.
7902 for ac_exec_ext
in '' $ac_executable_extensions; do
7903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 STRIP
=$ac_cv_prog_STRIP
7915 if test -n "$STRIP"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7917 $as_echo "$STRIP" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7925 if test -z "$ac_cv_prog_STRIP"; then
7927 # Extract the first word of "strip", so it can be a program name with args.
7928 set dummy strip
; ac_word
=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7932 $as_echo_n "(cached) " >&6
7934 if test -n "$ac_ct_STRIP"; then
7935 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir
=.
7942 for ac_exec_ext
in '' $ac_executable_extensions; do
7943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_prog_ac_ct_STRIP
="strip"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7955 if test -n "$ac_ct_STRIP"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7957 $as_echo "$ac_ct_STRIP" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7963 if test "x$ac_ct_STRIP" = x
; then
7966 case $cross_compiling:$ac_tool_warned in
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7970 ac_tool_warned
=yes ;;
7975 STRIP
="$ac_cv_prog_STRIP"
7978 test -z "$STRIP" && STRIP
=:
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7987 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_RANLIB+:} false
; then :
7991 $as_echo_n "(cached) " >&6
7993 if test -n "$RANLIB"; then
7994 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir
=.
8001 for ac_exec_ext
in '' $ac_executable_extensions; do
8002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8013 RANLIB
=$ac_cv_prog_RANLIB
8014 if test -n "$RANLIB"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8016 $as_echo "$RANLIB" >&6; }
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_RANLIB"; then
8025 ac_ct_RANLIB
=$RANLIB
8026 # Extract the first word of "ranlib", so it can be a program name with args.
8027 set dummy ranlib
; ac_word
=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8031 $as_echo_n "(cached) " >&6
8033 if test -n "$ac_ct_RANLIB"; then
8034 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir
=.
8041 for ac_exec_ext
in '' $ac_executable_extensions; do
8042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8054 if test -n "$ac_ct_RANLIB"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8056 $as_echo "$ac_ct_RANLIB" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_RANLIB" = x
; then
8065 case $cross_compiling:$ac_tool_warned in
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned
=yes ;;
8071 RANLIB
=$ac_ct_RANLIB
8074 RANLIB
="$ac_cv_prog_RANLIB"
8077 test -z "$RANLIB" && RANLIB
=:
8084 # Determine commands to create old-style static archives.
8085 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8086 old_postinstall_cmds
='chmod 644 $oldlib'
8087 old_postuninstall_cmds
=
8089 if test -n "$RANLIB"; then
8092 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8095 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8098 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8103 lock_old_archive_extraction
=yes ;;
8105 lock_old_archive_extraction
=no
;;
8146 # If no C compiler was specified, use CC.
8149 # If no C compiler flags were specified, use CFLAGS.
8150 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8152 # Allow CC to be a program name with arguments.
8156 # Check for command to grab the raw symbol name followed by C symbol from nm.
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8158 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8159 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8163 # These are sane defaults that work on at least a few old systems.
8164 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8166 # Character class describing NM global symbol codes.
8167 symcode
='[BCDEGRST]'
8169 # Regexp to match symbols that can be accessed directly from C.
8170 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8172 # Define system-specific variables.
8177 cygwin
* | mingw
* | pw32
* | cegcc
*)
8178 symcode
='[ABCDGISTW]'
8181 if test "$host_cpu" = ia64
; then
8182 symcode
='[ABCDEGRST]'
8186 symcode
='[BCDEGRST]'
8189 symcode
='[BCDEGQRST]'
8200 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8208 # If we're using GNU nm, then use its standard symbol codes.
8209 case `$NM -V 2>&1` in
8210 *GNU
* |
*'with BFD'*)
8211 symcode
='[ABCDGIRSTW]' ;;
8214 # Transform an extracted symbol line into a proper C declaration.
8215 # Some systems (esp. on ia64) link data and code symbols differently,
8216 # so use this general approach.
8217 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8219 # Transform an extracted symbol line into symbol name and symbol address
8220 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8221 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'"
8223 # Handle CRLF in mingw tool chain
8227 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8231 # Try without a prefix underscore, then with it.
8232 for ac_symprfx
in "" "_"; do
8234 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8235 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8237 # Write the raw and C identifiers.
8238 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8239 # Fake it for dumpbin and say T for any non-static function
8240 # and D for any global variable.
8241 # Also find C++ and __fastcall symbols from MSVC++,
8242 # which start with @ or ?.
8243 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8244 " {last_section=section; section=\$ 3};"\
8245 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8246 " \$ 0!~/External *\|/{next};"\
8247 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8248 " {if(hide[section]) next};"\
8249 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8250 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8251 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8252 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8253 " ' prfx=^$ac_symprfx"
8255 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8258 # Check to see that the pipe works correctly.
8262 cat > conftest.
$ac_ext <<_LT_EOF
8267 void nm_test_func(void);
8268 void nm_test_func(void){}
8272 int main(){nm_test_var='a';nm_test_func();return(0);}
8275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8276 (eval $ac_compile) 2>&5
8278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8279 test $ac_status = 0; }; then
8280 # Now try to grab the symbols.
8282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8283 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8286 test $ac_status = 0; } && test -s "$nlist"; then
8287 # Try sorting and uniquifying the output.
8288 if sort "$nlist" |
uniq > "$nlist"T
; then
8289 mv -f "$nlist"T
"$nlist"
8294 # Make sure that we snagged all the symbols we need.
8295 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8296 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8297 cat <<_LT_EOF > conftest.$ac_ext
8303 # Now generate the symbol file.
8304 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8306 cat <<_LT_EOF >> conftest.$ac_ext
8308 /* The mapping between symbol names and symbols. */
8313 lt__PROGRAM__LTX_preloaded_symbols[] =
8315 { "@PROGRAM@", (void *) 0 },
8317 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8318 cat <<\_LT_EOF
>> conftest.
$ac_ext
8322 /* This works around a problem
in FreeBSD linker
*/
8323 #ifdef FREEBSD_WORKAROUND
8324 static const void
*lt_preloaded_setup
() {
8325 return lt__PROGRAM__LTX_preloaded_symbols
;
8333 # Now try linking the two files.
8334 mv conftest.
$ac_objext conftstm.
$ac_objext
8335 lt_save_LIBS
="$LIBS"
8336 lt_save_CFLAGS
="$CFLAGS"
8337 LIBS
="conftstm.$ac_objext"
8338 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8340 (eval $ac_link) 2>&5
8342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8343 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8346 LIBS
="$lt_save_LIBS"
8347 CFLAGS
="$lt_save_CFLAGS"
8349 echo "cannot find nm_test_func in $nlist" >&5
8352 echo "cannot find nm_test_var in $nlist" >&5
8355 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8358 echo "$progname: failed program was:" >&5
8359 cat conftest.
$ac_ext >&5
8361 rm -rf conftest
* conftst
*
8363 # Do not use the global_symbol_pipe unless it works.
8364 if test "$pipe_works" = yes; then
8367 lt_cv_sys_global_symbol_pipe
=
8373 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8374 lt_cv_sys_global_symbol_to_cdecl
=
8376 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8378 $as_echo "failed" >&6; }
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8381 $as_echo "ok" >&6; }
8405 # Check whether --enable-libtool-lock was given.
8406 if test "${enable_libtool_lock+set}" = set; then :
8407 enableval
=$enable_libtool_lock;
8410 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8412 # Some flags need to be propagated to the compiler or linker for good
8416 # Find out which ABI we are using.
8417 echo 'int i;' > conftest.
$ac_ext
8418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8419 (eval $ac_compile) 2>&5
8421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8422 test $ac_status = 0; }; then
8423 case `/usr/bin/file conftest.$ac_objext` in
8435 # Find out which ABI we are using.
8436 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8438 (eval $ac_compile) 2>&5
8440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8441 test $ac_status = 0; }; then
8442 if test "$lt_cv_prog_gnu_ld" = yes; then
8443 case `/usr/bin/file conftest.$ac_objext` in
8445 LD
="${LD-ld} -melf32bsmip"
8448 LD
="${LD-ld} -melf32bmipn32"
8451 LD
="${LD-ld} -melf64bmip"
8455 case `/usr/bin/file conftest.$ac_objext` in
8471 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8472 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8473 # Find out which ABI we are using.
8474 echo 'int i;' > conftest.
$ac_ext
8475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8476 (eval $ac_compile) 2>&5
8478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8479 test $ac_status = 0; }; then
8480 case `/usr/bin/file conftest.o` in
8483 x86_64-
*kfreebsd
*-gnu)
8484 LD
="${LD-ld} -m elf_i386_fbsd"
8487 case `/usr/bin/file conftest.o` in
8489 LD
="${LD-ld} -m elf32_x86_64"
8492 LD
="${LD-ld} -m elf_i386"
8496 powerpc64le-
*linux
*)
8497 LD
="${LD-ld} -m elf32lppclinux"
8500 LD
="${LD-ld} -m elf32ppclinux"
8503 LD
="${LD-ld} -m elf_s390"
8506 LD
="${LD-ld} -m elf32_sparc"
8512 x86_64-
*kfreebsd
*-gnu)
8513 LD
="${LD-ld} -m elf_x86_64_fbsd"
8516 LD
="${LD-ld} -m elf_x86_64"
8519 LD
="${LD-ld} -m elf64lppc"
8522 LD
="${LD-ld} -m elf64ppc"
8524 s390
*-*linux
*|s390
*-*tpf
*)
8525 LD
="${LD-ld} -m elf64_s390"
8528 LD
="${LD-ld} -m elf64_sparc"
8538 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8539 SAVE_CFLAGS
="$CFLAGS"
8540 CFLAGS
="$CFLAGS -belf"
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8542 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8543 if ${lt_cv_cc_needs_belf+:} false
; then :
8544 $as_echo_n "(cached) " >&6
8547 ac_cpp
='$CPP $CPPFLAGS'
8548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8552 if test x
$gcc_no_link = xyes
; then
8553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8566 if ac_fn_c_try_link
"$LINENO"; then :
8567 lt_cv_cc_needs_belf
=yes
8569 lt_cv_cc_needs_belf
=no
8571 rm -f core conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8574 ac_cpp
='$CPP $CPPFLAGS'
8575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8581 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8582 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8583 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8584 CFLAGS
="$SAVE_CFLAGS"
8588 # Find out which ABI we are using.
8589 echo 'int i;' > conftest.
$ac_ext
8590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8591 (eval $ac_compile) 2>&5
8593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8594 test $ac_status = 0; }; then
8595 case `/usr/bin/file conftest.o` in
8597 case $lt_cv_prog_gnu_ld in
8598 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8600 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8612 need_locks
="$enable_libtool_lock"
8616 rhapsody
* | darwin
*)
8617 if test -n "$ac_tool_prefix"; then
8618 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8619 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8621 $as_echo_n "checking for $ac_word... " >&6; }
8622 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8623 $as_echo_n "(cached) " >&6
8625 if test -n "$DSYMUTIL"; then
8626 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir
=.
8633 for ac_exec_ext
in '' $ac_executable_extensions; do
8634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8635 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8645 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8646 if test -n "$DSYMUTIL"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8648 $as_echo "$DSYMUTIL" >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8651 $as_echo "no" >&6; }
8656 if test -z "$ac_cv_prog_DSYMUTIL"; then
8657 ac_ct_DSYMUTIL
=$DSYMUTIL
8658 # Extract the first word of "dsymutil", so it can be a program name with args.
8659 set dummy dsymutil
; ac_word
=$2
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8661 $as_echo_n "checking for $ac_word... " >&6; }
8662 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8663 $as_echo_n "(cached) " >&6
8665 if test -n "$ac_ct_DSYMUTIL"; then
8666 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8672 test -z "$as_dir" && as_dir
=.
8673 for ac_exec_ext
in '' $ac_executable_extensions; do
8674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8675 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8685 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8686 if test -n "$ac_ct_DSYMUTIL"; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8688 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8691 $as_echo "no" >&6; }
8694 if test "x$ac_ct_DSYMUTIL" = x
; then
8697 case $cross_compiling:$ac_tool_warned in
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8701 ac_tool_warned
=yes ;;
8703 DSYMUTIL
=$ac_ct_DSYMUTIL
8706 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8709 if test -n "$ac_tool_prefix"; then
8710 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8711 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_prog_NMEDIT+:} false
; then :
8715 $as_echo_n "(cached) " >&6
8717 if test -n "$NMEDIT"; then
8718 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8724 test -z "$as_dir" && as_dir
=.
8725 for ac_exec_ext
in '' $ac_executable_extensions; do
8726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8727 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8737 NMEDIT
=$ac_cv_prog_NMEDIT
8738 if test -n "$NMEDIT"; then
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8740 $as_echo "$NMEDIT" >&6; }
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8743 $as_echo "no" >&6; }
8748 if test -z "$ac_cv_prog_NMEDIT"; then
8749 ac_ct_NMEDIT
=$NMEDIT
8750 # Extract the first word of "nmedit", so it can be a program name with args.
8751 set dummy nmedit
; ac_word
=$2
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8753 $as_echo_n "checking for $ac_word... " >&6; }
8754 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8755 $as_echo_n "(cached) " >&6
8757 if test -n "$ac_ct_NMEDIT"; then
8758 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8764 test -z "$as_dir" && as_dir
=.
8765 for ac_exec_ext
in '' $ac_executable_extensions; do
8766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8767 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8777 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8778 if test -n "$ac_ct_NMEDIT"; then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8780 $as_echo "$ac_ct_NMEDIT" >&6; }
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8783 $as_echo "no" >&6; }
8786 if test "x$ac_ct_NMEDIT" = x
; then
8789 case $cross_compiling:$ac_tool_warned in
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8793 ac_tool_warned
=yes ;;
8795 NMEDIT
=$ac_ct_NMEDIT
8798 NMEDIT
="$ac_cv_prog_NMEDIT"
8801 if test -n "$ac_tool_prefix"; then
8802 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8803 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_LIPO+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8809 if test -n "$LIPO"; then
8810 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir
=.
8817 for ac_exec_ext
in '' $ac_executable_extensions; do
8818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8829 LIPO
=$ac_cv_prog_LIPO
8830 if test -n "$LIPO"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8832 $as_echo "$LIPO" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8840 if test -z "$ac_cv_prog_LIPO"; then
8842 # Extract the first word of "lipo", so it can be a program name with args.
8843 set dummy lipo
; ac_word
=$2
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; }
8846 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8847 $as_echo_n "(cached) " >&6
8849 if test -n "$ac_ct_LIPO"; then
8850 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8856 test -z "$as_dir" && as_dir
=.
8857 for ac_exec_ext
in '' $ac_executable_extensions; do
8858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8859 ac_cv_prog_ac_ct_LIPO
="lipo"
8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8869 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8870 if test -n "$ac_ct_LIPO"; then
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8872 $as_echo "$ac_ct_LIPO" >&6; }
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8878 if test "x$ac_ct_LIPO" = x
; then
8881 case $cross_compiling:$ac_tool_warned in
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8885 ac_tool_warned
=yes ;;
8890 LIPO
="$ac_cv_prog_LIPO"
8893 if test -n "$ac_tool_prefix"; then
8894 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8895 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_prog_OTOOL+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8901 if test -n "$OTOOL"; then
8902 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir
=.
8909 for ac_exec_ext
in '' $ac_executable_extensions; do
8910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8911 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 OTOOL
=$ac_cv_prog_OTOOL
8922 if test -n "$OTOOL"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8924 $as_echo "$OTOOL" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8932 if test -z "$ac_cv_prog_OTOOL"; then
8934 # Extract the first word of "otool", so it can be a program name with args.
8935 set dummy otool
; ac_word
=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8937 $as_echo_n "checking for $ac_word... " >&6; }
8938 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 if test -n "$ac_ct_OTOOL"; then
8942 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_ac_ct_OTOOL
="otool"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8962 if test -n "$ac_ct_OTOOL"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8964 $as_echo "$ac_ct_OTOOL" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8970 if test "x$ac_ct_OTOOL" = x
; then
8973 case $cross_compiling:$ac_tool_warned in
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8977 ac_tool_warned
=yes ;;
8982 OTOOL
="$ac_cv_prog_OTOOL"
8985 if test -n "$ac_tool_prefix"; then
8986 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8987 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8989 $as_echo_n "checking for $ac_word... " >&6; }
8990 if ${ac_cv_prog_OTOOL64+:} false
; then :
8991 $as_echo_n "(cached) " >&6
8993 if test -n "$OTOOL64"; then
8994 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9000 test -z "$as_dir" && as_dir
=.
9001 for ac_exec_ext
in '' $ac_executable_extensions; do
9002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9003 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9013 OTOOL64
=$ac_cv_prog_OTOOL64
9014 if test -n "$OTOOL64"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9016 $as_echo "$OTOOL64" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9024 if test -z "$ac_cv_prog_OTOOL64"; then
9025 ac_ct_OTOOL64
=$OTOOL64
9026 # Extract the first word of "otool64", so it can be a program name with args.
9027 set dummy otool64
; ac_word
=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9031 $as_echo_n "(cached) " >&6
9033 if test -n "$ac_ct_OTOOL64"; then
9034 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir
=.
9041 for ac_exec_ext
in '' $ac_executable_extensions; do
9042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9053 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9054 if test -n "$ac_ct_OTOOL64"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9056 $as_echo "$ac_ct_OTOOL64" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9062 if test "x$ac_ct_OTOOL64" = x
; then
9065 case $cross_compiling:$ac_tool_warned in
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9069 ac_tool_warned
=yes ;;
9071 OTOOL64
=$ac_ct_OTOOL64
9074 OTOOL64
="$ac_cv_prog_OTOOL64"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9104 $as_echo_n "checking for -single_module linker flag... " >&6; }
9105 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9106 $as_echo_n "(cached) " >&6
9108 lt_cv_apple_cc_single_mod
=no
9109 if test -z "${LT_MULTI_MODULE}"; then
9110 # By default we will add the -single_module flag. You can override
9111 # by either setting the environment variable LT_MULTI_MODULE
9112 # non-empty at configure time, or by adding -multi_module to the
9114 rm -rf libconftest.dylib
*
9115 echo "int foo(void){return 1;}" > conftest.c
9116 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9117 -dynamiclib -Wl,-single_module conftest.c" >&5
9118 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9119 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9121 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9122 lt_cv_apple_cc_single_mod
=yes
9124 cat conftest.err
>&5
9126 rm -rf libconftest.dylib
*
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9131 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9133 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9134 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9135 $as_echo_n "(cached) " >&6
9137 lt_cv_ld_exported_symbols_list
=no
9138 save_LDFLAGS
=$LDFLAGS
9139 echo "_main" > conftest.sym
9140 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9141 if test x
$gcc_no_link = xyes
; then
9142 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9155 if ac_fn_c_try_link
"$LINENO"; then :
9156 lt_cv_ld_exported_symbols_list
=yes
9158 lt_cv_ld_exported_symbols_list
=no
9160 rm -f core conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 LDFLAGS
="$save_LDFLAGS"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9166 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9168 $as_echo_n "checking for -force_load linker flag... " >&6; }
9169 if ${lt_cv_ld_force_load+:} false
; then :
9170 $as_echo_n "(cached) " >&6
9172 lt_cv_ld_force_load
=no
9173 cat > conftest.c
<< _LT_EOF
9174 int forced_loaded() { return 2;}
9176 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9177 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9178 echo "$AR cru libconftest.a conftest.o" >&5
9179 $AR cru libconftest.a conftest.o
2>&5
9180 cat > conftest.c
<< _LT_EOF
9181 int main() { return 0;}
9183 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9184 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9186 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9187 lt_cv_ld_force_load
=yes
9189 cat conftest.err
>&5
9191 rm -f conftest.err libconftest.a conftest conftest.c
9192 rm -rf conftest.dSYM
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9196 $as_echo "$lt_cv_ld_force_load" >&6; }
9197 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9198 # build without first building modern cctools / linker.
9199 case $host_cpu-$host_os in
9200 *-rhapsody* |
*-darwin1.
[012])
9201 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9203 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9205 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9206 # deployment target is forced to an earlier version.
9207 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9208 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9211 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9218 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9219 _lt_dar_single_mod
='$single_module'
9221 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9222 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9224 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9226 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9227 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9234 for ac_header
in dlfcn.h
9236 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9238 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9239 cat >>confdefs.h
<<_ACEOF
9240 #define HAVE_DLFCN_H 1
9259 # Check whether --enable-shared was given.
9260 if test "${enable_shared+set}" = set; then :
9261 enableval
=$enable_shared; p
=${PACKAGE-default}
9263 yes) enable_shared
=yes ;;
9264 no
) enable_shared
=no
;;
9267 # Look at the argument we got. We use all the common list separators.
9268 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9269 for pkg
in $enableval; do
9271 if test "X$pkg" = "X$p"; then
9290 # Check whether --enable-static was given.
9291 if test "${enable_static+set}" = set; then :
9292 enableval
=$enable_static; p
=${PACKAGE-default}
9294 yes) enable_static
=yes ;;
9295 no
) enable_static
=no
;;
9298 # Look at the argument we got. We use all the common list separators.
9299 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9300 for pkg
in $enableval; do
9302 if test "X$pkg" = "X$p"; then
9322 # Check whether --with-pic was given.
9323 if test "${with_pic+set}" = set; then :
9324 withval
=$with_pic; pic_mode
="$withval"
9330 test -z "$pic_mode" && pic_mode
=default
9338 # Check whether --enable-fast-install was given.
9339 if test "${enable_fast_install+set}" = set; then :
9340 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9342 yes) enable_fast_install
=yes ;;
9343 no
) enable_fast_install
=no
;;
9345 enable_fast_install
=no
9346 # Look at the argument we got. We use all the common list separators.
9347 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9348 for pkg
in $enableval; do
9350 if test "X$pkg" = "X$p"; then
9351 enable_fast_install
=yes
9358 enable_fast_install
=yes
9371 # This can be used to rebuild libtool when needed
9372 LIBTOOL_DEPS
="$ltmain"
9374 # Always use our own libtool.
9375 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9402 test -z "$LN_S" && LN_S
="ln -s"
9417 if test -n "${ZSH_VERSION+set}" ; then
9418 setopt NO_GLOB_SUBST
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9422 $as_echo_n "checking for objdir... " >&6; }
9423 if ${lt_cv_objdir+:} false
; then :
9424 $as_echo_n "(cached) " >&6
9426 rm -f .libs
2>/dev
/null
9427 mkdir .libs
2>/dev
/null
9428 if test -d .libs
; then
9431 # MS-DOS does not allow filenames that begin with a dot.
9434 rmdir .libs
2>/dev
/null
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9437 $as_echo "$lt_cv_objdir" >&6; }
9438 objdir
=$lt_cv_objdir
9444 cat >>confdefs.h
<<_ACEOF
9445 #define LT_OBJDIR "$lt_cv_objdir/"
9453 # AIX sometimes has problems with the GCC collect2 program. For some
9454 # reason, if we set the COLLECT_NAMES environment variable, the problems
9455 # vanish in a puff of smoke.
9456 if test "X${COLLECT_NAMES+set}" != Xset
; then
9458 export COLLECT_NAMES
9465 can_build_shared
=yes
9467 # All known linkers require a `.a' archive for static linking (except MSVC,
9468 # which needs '.lib').
9471 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9474 old_CFLAGS
="$CFLAGS"
9476 # Set sane defaults for various variables
9477 test -z "$CC" && CC
=cc
9478 test -z "$LTCC" && LTCC
=$CC
9479 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9480 test -z "$LD" && LD
=ld
9481 test -z "$ac_objext" && ac_objext
=o
9483 for cc_temp
in $compiler""; do
9485 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9486 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9491 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9494 # Only perform the check for file, if the check method requires it
9495 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9496 case $deplibs_check_method in
9498 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9500 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9501 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9506 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9509 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9510 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9511 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9512 for ac_dir
in $ac_dummy; do
9514 test -z "$ac_dir" && ac_dir
=.
9515 if test -f $ac_dir/${ac_tool_prefix}file; then
9516 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9517 if test -n "$file_magic_test_file"; then
9518 case $deplibs_check_method in
9520 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9521 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9522 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9523 $EGREP "$file_magic_regex" > /dev
/null
; then
9528 *** Warning: the command libtool uses to detect shared libraries,
9529 *** $file_magic_cmd, produces output that libtool cannot recognize.
9530 *** The result is that libtool may fail to recognize shared libraries
9531 *** as such. This will affect the creation of libtool libraries that
9532 *** depend on shared libraries, but programs linked with such libtool
9533 *** libraries will work regardless of this problem. Nevertheless, you
9534 *** may want to report the problem to your system manager and/or to
9535 *** bug-libtool@gnu.org
9545 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9550 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9551 if test -n "$MAGIC_CMD"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9553 $as_echo "$MAGIC_CMD" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9563 if test -z "$lt_cv_path_MAGIC_CMD"; then
9564 if test -n "$ac_tool_prefix"; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9566 $as_echo_n "checking for file... " >&6; }
9567 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9572 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9575 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9576 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9577 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9578 for ac_dir
in $ac_dummy; do
9580 test -z "$ac_dir" && ac_dir
=.
9581 if test -f $ac_dir/file; then
9582 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9583 if test -n "$file_magic_test_file"; then
9584 case $deplibs_check_method in
9586 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9587 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9588 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9589 $EGREP "$file_magic_regex" > /dev
/null
; then
9594 *** Warning: the command libtool uses to detect shared libraries,
9595 *** $file_magic_cmd, produces output that libtool cannot recognize.
9596 *** The result is that libtool may fail to recognize shared libraries
9597 *** as such. This will affect the creation of libtool libraries that
9598 *** depend on shared libraries, but programs linked with such libtool
9599 *** libraries will work regardless of this problem. Nevertheless, you
9600 *** may want to report the problem to your system manager and/or to
9601 *** bug-libtool@gnu.org
9611 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9616 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9617 if test -n "$MAGIC_CMD"; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9619 $as_echo "$MAGIC_CMD" >&6; }
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622 $as_echo "no" >&6; }
9635 # Use C for the default configuration in the libtool script
9639 ac_cpp
='$CPP $CPPFLAGS'
9640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9645 # Source file extension for C test sources.
9648 # Object file extension for compiled C test sources.
9652 # Code to be used in simple compile tests
9653 lt_simple_compile_test_code
="int some_variable = 0;"
9655 # Code to be used in simple link tests
9656 lt_simple_link_test_code
='int main(){return(0);}'
9664 # If no C compiler was specified, use CC.
9667 # If no C compiler flags were specified, use CFLAGS.
9668 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9670 # Allow CC to be a program name with arguments.
9673 # Save the default compiler, since it gets overwritten when the other
9674 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9675 compiler_DEFAULT
=$CC
9677 # save warnings/boilerplate of simple test code
9678 ac_outfile
=conftest.
$ac_objext
9679 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9680 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9681 _lt_compiler_boilerplate
=`cat conftest.err`
9684 ac_outfile
=conftest.
$ac_objext
9685 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9686 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9687 _lt_linker_boilerplate
=`cat conftest.err`
9692 ## There is no encapsulation within the following macros, do not change
9693 ## the running order or otherwise move them around unless you know exactly
9694 ## what you are doing...
9695 if test -n "$compiler"; then
9697 lt_prog_compiler_no_builtin_flag
=
9699 if test "$GCC" = yes; then
9700 case $cc_basename in
9702 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9704 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9708 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9709 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9710 $as_echo_n "(cached) " >&6
9712 lt_cv_prog_compiler_rtti_exceptions
=no
9713 ac_outfile
=conftest.
$ac_objext
9714 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9715 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9716 # Insert the option either (1) after the last *FLAGS variable, or
9717 # (2) before a word containing "conftest.", or (3) at the end.
9718 # Note that $ac_compile itself does not contain backslashes and begins
9719 # with a dollar sign (not a hyphen), so the echo should work correctly.
9720 # The option is referenced via a variable to avoid confusing sed.
9721 lt_compile
=`echo "$ac_compile" | $SED \
9722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9724 -e 's:$: $lt_compiler_flag:'`
9725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9726 (eval "$lt_compile" 2>conftest.err
)
9728 cat conftest.err
>&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 if (exit $ac_status) && test -s "$ac_outfile"; then
9731 # The compiler can only warn and ignore the option if not recognized
9732 # So say no if there are warnings other than the usual output.
9733 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9734 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9735 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9736 lt_cv_prog_compiler_rtti_exceptions
=yes
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9745 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9746 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9758 lt_prog_compiler_wl
=
9759 lt_prog_compiler_pic
=
9760 lt_prog_compiler_static
=
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9763 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9765 if test "$GCC" = yes; then
9766 lt_prog_compiler_wl
='-Wl,'
9767 lt_prog_compiler_static
='-static'
9771 # All AIX code is PIC.
9772 if test "$host_cpu" = ia64
; then
9773 # AIX 5 now supports IA64 processor
9774 lt_prog_compiler_static
='-Bstatic'
9776 lt_prog_compiler_pic
='-fPIC'
9782 # see comment about AmigaOS4 .so support
9783 lt_prog_compiler_pic
='-fPIC'
9786 # FIXME: we need at least 68020 code to build shared libraries, but
9787 # adding the `-m68020' flag to GCC prevents building anything better,
9789 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9794 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9795 # PIC is the default for these OSes.
9798 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9799 # This hack is so that the source file can tell whether it is being
9800 # built for inclusion in a dll (and should export symbols for example).
9801 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9802 # (--disable-auto-import) libraries
9803 lt_prog_compiler_pic
='-DDLL_EXPORT'
9806 darwin
* | rhapsody
*)
9807 # PIC is the default on this platform
9808 # Common symbols not allowed in MH_DYLIB files
9809 lt_prog_compiler_pic
='-fno-common'
9813 # PIC is the default for Haiku.
9814 # The "-static" flag exists, but is broken.
9815 lt_prog_compiler_static
=
9819 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9820 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9821 # sets the default TLS model and affects inlining.
9827 lt_prog_compiler_pic
='-fPIC'
9833 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9834 # Instead, we relocate shared libraries at runtime.
9838 # Just because we use GCC doesn't mean we suddenly get shared libraries
9839 # on systems that don't support them.
9840 lt_prog_compiler_can_build_shared
=no
9845 # QNX uses GNU C++, but need to define -shared option too, otherwise
9847 lt_prog_compiler_pic
='-fPIC -shared'
9851 if test -d /usr
/nec
; then
9852 lt_prog_compiler_pic
=-Kconform_pic
9857 lt_prog_compiler_pic
='-fPIC'
9861 case $cc_basename in
9862 nvcc
*) # Cuda Compiler Driver 2.2
9863 lt_prog_compiler_wl
='-Xlinker '
9864 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9868 # PORTME Check for flag to pass linker flags through the system compiler.
9871 lt_prog_compiler_wl
='-Wl,'
9872 if test "$host_cpu" = ia64
; then
9873 # AIX 5 now supports IA64 processor
9874 lt_prog_compiler_static
='-Bstatic'
9876 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9880 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9881 # This hack is so that the source file can tell whether it is being
9882 # built for inclusion in a dll (and should export symbols for example).
9883 lt_prog_compiler_pic
='-DDLL_EXPORT'
9886 hpux9
* | hpux10
* | hpux11
*)
9887 lt_prog_compiler_wl
='-Wl,'
9888 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9895 lt_prog_compiler_pic
='+Z'
9898 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9899 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9902 irix5
* | irix6
* | nonstopux
*)
9903 lt_prog_compiler_wl
='-Wl,'
9904 # PIC (with -KPIC) is the default.
9905 lt_prog_compiler_static
='-non_shared'
9908 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9909 case $cc_basename in
9910 # old Intel for x86_64 which still supported -KPIC.
9912 lt_prog_compiler_wl
='-Wl,'
9913 lt_prog_compiler_pic
='-KPIC'
9914 lt_prog_compiler_static
='-static'
9916 # icc used to be incompatible with GCC.
9917 # ICC 10 doesn't accept -KPIC any more.
9919 lt_prog_compiler_wl
='-Wl,'
9920 lt_prog_compiler_pic
='-fPIC'
9921 lt_prog_compiler_static
='-static'
9923 # Lahey Fortran 8.1.
9925 lt_prog_compiler_wl
='-Wl,'
9926 lt_prog_compiler_pic
='--shared'
9927 lt_prog_compiler_static
='--static'
9929 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9930 # Portland Group compilers (*not* the Pentium gcc compiler,
9931 # which looks to be a dead project)
9932 lt_prog_compiler_wl
='-Wl,'
9933 lt_prog_compiler_pic
='-fpic'
9934 lt_prog_compiler_static
='-Bstatic'
9937 lt_prog_compiler_wl
='-Wl,'
9938 # All Alpha code is PIC.
9939 lt_prog_compiler_static
='-non_shared'
9941 xl
* | bgxl
* | bgf
* | mpixl
*)
9942 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9943 lt_prog_compiler_wl
='-Wl,'
9944 lt_prog_compiler_pic
='-qpic'
9945 lt_prog_compiler_static
='-qstaticlink'
9948 case `$CC -V 2>&1 | sed 5q` in
9949 *Sun\ F
* |
*Sun
*Fortran
*)
9950 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9951 lt_prog_compiler_pic
='-KPIC'
9952 lt_prog_compiler_static
='-Bstatic'
9953 lt_prog_compiler_wl
=''
9957 lt_prog_compiler_pic
='-KPIC'
9958 lt_prog_compiler_static
='-Bstatic'
9959 lt_prog_compiler_wl
='-Wl,'
9967 lt_prog_compiler_pic
='-KPIC'
9968 lt_prog_compiler_static
='-Bstatic'
9972 # QNX uses GNU C++, but need to define -shared option too, otherwise
9974 lt_prog_compiler_pic
='-fPIC -shared'
9977 osf3
* | osf4
* | osf5
*)
9978 lt_prog_compiler_wl
='-Wl,'
9979 # All OSF/1 code is PIC.
9980 lt_prog_compiler_static
='-non_shared'
9984 lt_prog_compiler_static
='-non_shared'
9988 lt_prog_compiler_pic
='-KPIC'
9989 lt_prog_compiler_static
='-Bstatic'
9990 case $cc_basename in
9992 lt_prog_compiler_wl
='-Qoption ld ';;
9994 lt_prog_compiler_wl
='-Wl,';;
9999 lt_prog_compiler_wl
='-Qoption ld '
10000 lt_prog_compiler_pic
='-PIC'
10001 lt_prog_compiler_static
='-Bstatic'
10004 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10005 lt_prog_compiler_wl
='-Wl,'
10006 lt_prog_compiler_pic
='-KPIC'
10007 lt_prog_compiler_static
='-Bstatic'
10011 if test -d /usr
/nec
;then
10012 lt_prog_compiler_pic
='-Kconform_pic'
10013 lt_prog_compiler_static
='-Bstatic'
10017 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10018 lt_prog_compiler_wl
='-Wl,'
10019 lt_prog_compiler_pic
='-KPIC'
10020 lt_prog_compiler_static
='-Bstatic'
10024 lt_prog_compiler_wl
='-Wl,'
10025 lt_prog_compiler_can_build_shared
=no
10029 lt_prog_compiler_pic
='-pic'
10030 lt_prog_compiler_static
='-Bstatic'
10034 lt_prog_compiler_can_build_shared
=no
10040 # For platforms which do not support PIC, -DPIC is meaningless:
10042 lt_prog_compiler_pic
=
10045 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10049 $as_echo "$lt_prog_compiler_pic" >&6; }
10057 # Check to make sure the PIC flag actually works.
10059 if test -n "$lt_prog_compiler_pic"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10061 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10062 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10063 $as_echo_n "(cached) " >&6
10065 lt_cv_prog_compiler_pic_works
=no
10066 ac_outfile
=conftest.
$ac_objext
10067 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10068 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10069 # Insert the option either (1) after the last *FLAGS variable, or
10070 # (2) before a word containing "conftest.", or (3) at the end.
10071 # Note that $ac_compile itself does not contain backslashes and begins
10072 # with a dollar sign (not a hyphen), so the echo should work correctly.
10073 # The option is referenced via a variable to avoid confusing sed.
10074 lt_compile
=`echo "$ac_compile" | $SED \
10075 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10077 -e 's:$: $lt_compiler_flag:'`
10078 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10079 (eval "$lt_compile" 2>conftest.err
)
10081 cat conftest.err
>&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 if (exit $ac_status) && test -s "$ac_outfile"; then
10084 # The compiler can only warn and ignore the option if not recognized
10085 # So say no if there are warnings other than the usual output.
10086 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10087 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10088 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10089 lt_cv_prog_compiler_pic_works
=yes
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10096 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10098 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10099 case $lt_prog_compiler_pic in
10101 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10104 lt_prog_compiler_pic
=
10105 lt_prog_compiler_can_build_shared
=no
10116 # Check to make sure the static flag actually works.
10118 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10120 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10121 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10122 $as_echo_n "(cached) " >&6
10124 lt_cv_prog_compiler_static_works
=no
10125 save_LDFLAGS
="$LDFLAGS"
10126 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10127 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10128 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10129 # The linker can only warn and ignore the option if not recognized
10130 # So say no if there are warnings
10131 if test -s conftest.err
; then
10132 # Append any errors to the config.log.
10133 cat conftest.err
1>&5
10134 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10136 if diff conftest.exp conftest.er2
>/dev
/null
; then
10137 lt_cv_prog_compiler_static_works
=yes
10140 lt_cv_prog_compiler_static_works
=yes
10144 LDFLAGS
="$save_LDFLAGS"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10148 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10150 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10153 lt_prog_compiler_static
=
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10163 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10164 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10165 $as_echo_n "(cached) " >&6
10167 lt_cv_prog_compiler_c_o
=no
10168 $RM -r conftest
2>/dev
/null
10172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10174 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10175 # Insert the option either (1) after the last *FLAGS variable, or
10176 # (2) before a word containing "conftest.", or (3) at the end.
10177 # Note that $ac_compile itself does not contain backslashes and begins
10178 # with a dollar sign (not a hyphen), so the echo should work correctly.
10179 lt_compile
=`echo "$ac_compile" | $SED \
10180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10182 -e 's:$: $lt_compiler_flag:'`
10183 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10184 (eval "$lt_compile" 2>out
/conftest.err
)
10186 cat out
/conftest.err
>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10190 # The compiler can only warn and ignore the option if not recognized
10191 # So say no if there are warnings
10192 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10193 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10194 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10195 lt_cv_prog_compiler_c_o
=yes
10200 # SGI C++ compiler will create directory out/ii_files/ for
10201 # template instantiation
10202 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10203 $RM out
/* && rmdir out
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10210 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10218 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10219 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10220 $as_echo_n "(cached) " >&6
10222 lt_cv_prog_compiler_c_o
=no
10223 $RM -r conftest
2>/dev
/null
10227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10229 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10230 # Insert the option either (1) after the last *FLAGS variable, or
10231 # (2) before a word containing "conftest.", or (3) at the end.
10232 # Note that $ac_compile itself does not contain backslashes and begins
10233 # with a dollar sign (not a hyphen), so the echo should work correctly.
10234 lt_compile
=`echo "$ac_compile" | $SED \
10235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10237 -e 's:$: $lt_compiler_flag:'`
10238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10239 (eval "$lt_compile" 2>out
/conftest.err
)
10241 cat out
/conftest.err
>&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10245 # The compiler can only warn and ignore the option if not recognized
10246 # So say no if there are warnings
10247 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10248 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10249 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10250 lt_cv_prog_compiler_c_o
=yes
10255 # SGI C++ compiler will create directory out/ii_files/ for
10256 # template instantiation
10257 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10258 $RM out
/* && rmdir out
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10265 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10270 hard_links
="nottested"
10271 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10272 # do not overwrite the value of need_locks provided by the user
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10274 $as_echo_n "checking if we can lock with hard links... " >&6; }
10277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10279 ln conftest.a conftest.b
2>&5 || hard_links
=no
10280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10282 $as_echo "$hard_links" >&6; }
10283 if test "$hard_links" = no
; then
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10285 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10298 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10301 allow_undefined_flag
=
10302 always_export_symbols
=no
10304 archive_expsym_cmds
=
10305 compiler_needs_object
=no
10306 enable_shared_with_static_runtimes
=no
10307 export_dynamic_flag_spec
=
10308 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10309 hardcode_automatic
=no
10311 hardcode_direct_absolute
=no
10312 hardcode_libdir_flag_spec
=
10313 hardcode_libdir_flag_spec_ld
=
10314 hardcode_libdir_separator
=
10315 hardcode_minus_L
=no
10316 hardcode_shlibpath_var
=unsupported
10318 link_all_deplibs
=unknown
10320 module_expsym_cmds
=
10321 old_archive_from_new_cmds
=
10322 old_archive_from_expsyms_cmds
=
10323 thread_safe_flag_spec
=
10324 whole_archive_flag_spec
=
10325 # include_expsyms should be a list of space-separated symbols to be *always*
10326 # included in the symbol list
10328 # exclude_expsyms can be an extended regexp of symbols to exclude
10329 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10330 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10331 # as well as any symbol that contains `d'.
10332 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10333 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10334 # platforms (ab)use it in PIC code, but their linkers get confused if
10335 # the symbol is explicitly referenced. Since portable code cannot
10336 # rely on this symbol name, it's probably fine to never include it in
10337 # preloaded symbol tables.
10338 # Exclude shared library initialization/finalization symbols.
10339 extract_expsyms_cmds
=
10342 cygwin
* | mingw
* | pw32
* | cegcc
*)
10343 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10344 # When not using gcc, we currently assume that we are using
10345 # Microsoft Visual C++.
10346 if test "$GCC" != yes; then
10351 # we just hope/assume this is gcc and not c89 (= MSVC++)
10361 # On some targets, GNU ld is compatible enough with the native linker
10362 # that we're better off using the native interface for both.
10363 lt_use_gnu_ld_interface
=no
10364 if test "$with_gnu_ld" = yes; then
10367 # The AIX port of GNU ld has always aspired to compatibility
10368 # with the native linker. However, as the warning in the GNU ld
10369 # block says, versions before 2.19.5* couldn't really create working
10370 # shared libraries, regardless of the interface used.
10371 case `$LD -v 2>&1` in
10372 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10373 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10374 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10376 lt_use_gnu_ld_interface
=yes
10381 lt_use_gnu_ld_interface
=yes
10386 if test "$lt_use_gnu_ld_interface" = yes; then
10387 # If archive_cmds runs LD, not CC, wlarc should be empty
10390 # Set some defaults for GNU ld with shared library support. These
10391 # are reset later if shared libraries are not supported. Putting them
10392 # here allows them to be overridden if necessary.
10393 runpath_var
=LD_RUN_PATH
10394 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10395 export_dynamic_flag_spec
='${wl}--export-dynamic'
10396 # ancient GNU ld didn't support --whole-archive et. al.
10397 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10398 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10400 whole_archive_flag_spec
=
10402 supports_anon_versioning
=no
10403 case `$LD -v 2>&1` in
10404 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10405 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10406 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10407 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10408 *\
2.11.
*) ;; # other 2.11 versions
10409 *) supports_anon_versioning
=yes ;;
10412 # See if GNU ld supports shared libraries.
10415 # On AIX/PPC, the GNU linker is very broken
10416 if test "$host_cpu" != ia64
; then
10420 *** Warning: the GNU linker, at least up to release 2.19, is reported
10421 *** to be unable to reliably create shared libraries on AIX.
10422 *** Therefore, libtool is disabling shared libraries support. If you
10423 *** really care for shared libraries, you may want to install binutils
10424 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10425 *** You will then need to restart the configuration process.
10434 # see comment about AmigaOS4 .so support
10435 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10436 archive_expsym_cmds
=''
10439 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)'
10440 hardcode_libdir_flag_spec
='-L$libdir'
10441 hardcode_minus_L
=yes
10447 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10448 allow_undefined_flag
=unsupported
10449 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10450 # support --undefined. This deserves some investigation. FIXME
10451 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10457 cygwin
* | mingw
* | pw32
* | cegcc
*)
10458 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10459 # as there is no search path for DLLs.
10460 hardcode_libdir_flag_spec
='-L$libdir'
10461 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10462 allow_undefined_flag
=unsupported
10463 always_export_symbols
=no
10464 enable_shared_with_static_runtimes
=yes
10465 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10467 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10469 # If the export-symbols file already is a .def file (1st line
10470 # is EXPORTS), use it as is; otherwise, prepend...
10471 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10472 cp $export_symbols $output_objdir/$soname.def;
10474 echo EXPORTS > $output_objdir/$soname.def;
10475 cat $export_symbols >> $output_objdir/$soname.def;
10477 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10484 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10485 link_all_deplibs
=yes
10490 hardcode_shlibpath_var
=no
10491 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10492 export_dynamic_flag_spec
='${wl}-E'
10493 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10494 # Instead, shared libraries are loaded at an image base (0x10000000 by
10495 # default) and relocated if they conflict, which is a slow very memory
10496 # consuming and fragmenting process. To avoid this, we pick a random,
10497 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10498 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10499 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10500 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'
10503 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10505 if test "$host_os" = linux-dietlibc
; then
10506 case $cc_basename in
10507 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10510 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10511 && test "$tmp_diet" = no
10513 tmp_addflag
=' $pic_flag'
10514 tmp_sharedflag
='-shared'
10515 case $cc_basename,$host_cpu in
10516 pgcc
*) # Portland Group C compiler
10517 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'
10518 tmp_addflag
=' $pic_flag'
10520 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10521 # Portland Group f77 and f90 compilers
10522 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'
10523 tmp_addflag
=' $pic_flag -Mnomain' ;;
10524 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10525 tmp_addflag
=' -i_dynamic' ;;
10526 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10527 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10528 ifc
* | ifort
*) # Intel Fortran compiler
10529 tmp_addflag
=' -nofor_main' ;;
10530 lf95
*) # Lahey Fortran 8.1
10531 whole_archive_flag_spec
=
10532 tmp_sharedflag
='--shared' ;;
10533 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10534 tmp_sharedflag
='-qmkshrobj'
10536 nvcc
*) # Cuda Compiler Driver 2.2
10537 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'
10538 compiler_needs_object
=yes
10541 case `$CC -V 2>&1 | sed 5q` in
10542 *Sun\ C
*) # Sun C 5.9
10543 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'
10544 compiler_needs_object
=yes
10545 tmp_sharedflag
='-G' ;;
10546 *Sun\ F
*) # Sun Fortran 8.3
10547 tmp_sharedflag
='-G' ;;
10549 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10551 if test "x$supports_anon_versioning" = xyes
; then
10552 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10554 echo "local: *; };" >> $output_objdir/$libname.ver~
10555 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10558 case $cc_basename in
10559 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10560 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10561 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10562 hardcode_libdir_flag_spec
=
10563 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10564 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10565 if test "x$supports_anon_versioning" = xyes
; then
10566 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10568 echo "local: *; };" >> $output_objdir/$libname.ver~
10569 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10579 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10580 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10583 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10584 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10589 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10593 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10594 *** create shared libraries on Solaris systems. Therefore, libtool
10595 *** is disabling shared libraries support. We urge you to upgrade GNU
10596 *** binutils to release 2.9.1 or newer. Another option is to modify
10597 *** your PATH or compiler configuration so that the native linker is
10598 *** used, and then restart.
10601 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10603 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10609 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10610 case `$LD -v 2>&1` in
10611 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10615 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10616 *** reliably create shared libraries on SCO systems. Therefore, libtool
10617 *** is disabling shared libraries support. We urge you to upgrade GNU
10618 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10619 *** your PATH or compiler configuration so that the native linker is
10620 *** used, and then restart.
10625 # For security reasons, it is highly recommended that you always
10626 # use absolute paths for naming shared libraries, and exclude the
10627 # DT_RUNPATH tag from executables and libraries. But doing so
10628 # requires that you compile everything twice, which is a pain.
10629 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10630 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10631 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10632 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10641 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10643 hardcode_direct
=yes
10644 hardcode_shlibpath_var
=no
10648 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10649 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10650 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10657 if test "$ld_shlibs" = no
; then
10659 hardcode_libdir_flag_spec
=
10660 export_dynamic_flag_spec
=
10661 whole_archive_flag_spec
=
10664 # PORTME fill in a description of your system's linker (not GNU ld)
10667 allow_undefined_flag
=unsupported
10668 always_export_symbols
=yes
10669 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'
10670 # Note: this linker hardcodes the directories in LIBPATH if there
10671 # are no directories specified by -L.
10672 hardcode_minus_L
=yes
10673 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10674 # Neither direct hardcoding nor static linking is supported with a
10676 hardcode_direct
=unsupported
10681 if test "$host_cpu" = ia64
; then
10682 # On IA64, the linker does run time linking by default, so we don't
10683 # have to do anything special.
10684 aix_use_runtimelinking
=no
10685 exp_sym_flag
='-Bexport'
10688 # If we're using GNU nm, then we don't want the "-C" option.
10689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10690 # Also, AIX nm treats weak defined symbols like other global
10691 # defined symbols, whereas GNU nm marks them as "W".
10692 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10693 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'
10695 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'
10697 aix_use_runtimelinking
=no
10699 # Test if we are trying to use run time linking or normal
10700 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10701 # need to do runtime linking.
10702 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10703 for ld_flag
in $LDFLAGS; do
10704 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10705 aix_use_runtimelinking
=yes
10712 exp_sym_flag
='-bexport'
10713 no_entry_flag
='-bnoentry'
10716 # When large executables or shared objects are built, AIX ld can
10717 # have problems creating the table of contents. If linking a library
10718 # or program results in "error TOC overflow" add -mminimal-toc to
10719 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10720 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10723 hardcode_direct
=yes
10724 hardcode_direct_absolute
=yes
10725 hardcode_libdir_separator
=':'
10726 link_all_deplibs
=yes
10727 file_list_spec
='${wl}-f,'
10729 if test "$GCC" = yes; then
10730 case $host_os in aix4.
[012]|aix4.
[012].
*)
10731 # We only want to do this on AIX 4.2 and lower, the check
10732 # below for broken collect2 doesn't work under 4.3+
10733 collect2name
=`${CC} -print-prog-name=collect2`
10734 if test -f "$collect2name" &&
10735 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10737 # We have reworked collect2
10740 # We have old collect2
10741 hardcode_direct
=unsupported
10742 # It fails to find uninstalled libraries when the uninstalled
10743 # path is not listed in the libpath. Setting hardcode_minus_L
10744 # to unsupported forces relinking
10745 hardcode_minus_L
=yes
10746 hardcode_libdir_flag_spec
='-L$libdir'
10747 hardcode_libdir_separator
=
10751 shared_flag
='-shared'
10752 if test "$aix_use_runtimelinking" = yes; then
10753 shared_flag
="$shared_flag "'${wl}-G'
10757 if test "$host_cpu" = ia64
; then
10758 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10759 # chokes on -Wl,-G. The following line is correct:
10762 if test "$aix_use_runtimelinking" = yes; then
10763 shared_flag
='${wl}-G'
10765 shared_flag
='${wl}-bM:SRE'
10770 export_dynamic_flag_spec
='${wl}-bexpall'
10771 # It seems that -bexpall does not export symbols beginning with
10772 # underscore (_), so it is better to generate a list of symbols to export.
10773 always_export_symbols
=yes
10774 if test "$aix_use_runtimelinking" = yes; then
10775 # Warning - without using the other runtime loading flags (-brtl),
10776 # -berok will link without error, but may produce a broken library.
10777 allow_undefined_flag
='-berok'
10778 # Determine the default libpath from the value encoded in an
10779 # empty executable.
10780 if test x
$gcc_no_link = xyes
; then
10781 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10794 if ac_fn_c_try_link
"$LINENO"; then :
10796 lt_aix_libpath_sed
='
10797 /Import File Strings/,/^$/ {
10803 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10804 # Check for a 64-bit object if we didn't find anything.
10805 if test -z "$aix_libpath"; then
10806 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10809 rm -f core conftest.err conftest.
$ac_objext \
10810 conftest
$ac_exeext conftest.
$ac_ext
10811 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10813 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10814 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"
10816 if test "$host_cpu" = ia64
; then
10817 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10818 allow_undefined_flag
="-z nodefs"
10819 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"
10821 # Determine the default libpath from the value encoded in an
10822 # empty executable.
10823 if test x
$gcc_no_link = xyes
; then
10824 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10837 if ac_fn_c_try_link
"$LINENO"; then :
10839 lt_aix_libpath_sed
='
10840 /Import File Strings/,/^$/ {
10846 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10847 # Check for a 64-bit object if we didn't find anything.
10848 if test -z "$aix_libpath"; then
10849 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10852 rm -f core conftest.err conftest.
$ac_objext \
10853 conftest
$ac_exeext conftest.
$ac_ext
10854 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10856 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10857 # Warning - without using the other run time loading flags,
10858 # -berok will link without error, but may produce a broken library.
10859 no_undefined_flag
=' ${wl}-bernotok'
10860 allow_undefined_flag
=' ${wl}-berok'
10861 if test "$with_gnu_ld" = yes; then
10862 # We only use this code for GNU lds that support --whole-archive.
10863 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10865 # Exported symbols can be pulled into shared objects from archives
10866 whole_archive_flag_spec
='$convenience'
10868 archive_cmds_need_lc
=yes
10869 # This is similar to how AIX traditionally builds its shared libraries.
10870 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'
10878 # see comment about AmigaOS4 .so support
10879 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10880 archive_expsym_cmds
=''
10883 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)'
10884 hardcode_libdir_flag_spec
='-L$libdir'
10885 hardcode_minus_L
=yes
10891 export_dynamic_flag_spec
=-rdynamic
10894 cygwin
* | mingw
* | pw32
* | cegcc
*)
10895 # When not using gcc, we currently assume that we are using
10896 # Microsoft Visual C++.
10897 # hardcode_libdir_flag_spec is actually meaningless, as there is
10898 # no search path for DLLs.
10899 hardcode_libdir_flag_spec
=' '
10900 allow_undefined_flag
=unsupported
10901 # Tell ltmain to make .lib files, not .a files.
10903 # Tell ltmain to make .dll files, not .so files.
10905 # FIXME: Setting linknames here is a bad hack.
10906 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10907 # The linker will automatically build a .lib file if we build a DLL.
10908 old_archive_from_new_cmds
='true'
10909 # FIXME: Should let the user specify the lib program.
10910 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10911 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10912 enable_shared_with_static_runtimes
=yes
10915 darwin
* | rhapsody
*)
10918 archive_cmds_need_lc
=no
10920 hardcode_automatic
=yes
10921 hardcode_shlibpath_var
=unsupported
10922 if test "$lt_cv_ld_force_load" = "yes"; then
10923 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\"`'
10925 whole_archive_flag_spec
=''
10927 link_all_deplibs
=yes
10928 allow_undefined_flag
="$_lt_dar_allow_undefined"
10929 case $cc_basename in
10930 ifort
*) _lt_dar_can_shared
=yes ;;
10931 *) _lt_dar_can_shared
=$GCC ;;
10933 if test "$_lt_dar_can_shared" = "yes"; then
10934 output_verbose_link_cmd
=func_echo_all
10935 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10936 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10937 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}"
10938 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}"
10947 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10948 hardcode_libdir_flag_spec
='-L$libdir'
10949 hardcode_shlibpath_var
=no
10952 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10953 # support. Future versions do this automatically, but an explicit c++rt0.o
10954 # does not break anything, and helps significantly (at the cost of a little
10957 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10958 hardcode_libdir_flag_spec
='-R$libdir'
10959 hardcode_direct
=yes
10960 hardcode_shlibpath_var
=no
10963 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10965 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10966 hardcode_direct
=yes
10967 hardcode_minus_L
=yes
10968 hardcode_shlibpath_var
=no
10971 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10972 freebsd
* | dragonfly
*)
10973 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10974 hardcode_libdir_flag_spec
='-R$libdir'
10975 hardcode_direct
=yes
10976 hardcode_shlibpath_var
=no
10980 if test "$GCC" = yes; then
10981 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'
10983 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'
10985 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10986 hardcode_libdir_separator
=:
10987 hardcode_direct
=yes
10989 # hardcode_minus_L: Not really in the search PATH,
10990 # but as the default location of the library.
10991 hardcode_minus_L
=yes
10992 export_dynamic_flag_spec
='${wl}-E'
10996 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10997 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10999 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11001 if test "$with_gnu_ld" = no
; then
11002 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11003 hardcode_libdir_flag_spec_ld
='+b $libdir'
11004 hardcode_libdir_separator
=:
11005 hardcode_direct
=yes
11006 hardcode_direct_absolute
=yes
11007 export_dynamic_flag_spec
='${wl}-E'
11008 # hardcode_minus_L: Not really in the search PATH,
11009 # but as the default location of the library.
11010 hardcode_minus_L
=yes
11015 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11018 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11021 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11024 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11030 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11033 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11037 # Older versions of the 11.00 compiler do not understand -b yet
11038 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11040 $as_echo_n "checking if $CC understands -b... " >&6; }
11041 if ${lt_cv_prog_compiler__b+:} false
; then :
11042 $as_echo_n "(cached) " >&6
11044 lt_cv_prog_compiler__b
=no
11045 save_LDFLAGS
="$LDFLAGS"
11046 LDFLAGS
="$LDFLAGS -b"
11047 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11048 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11049 # The linker can only warn and ignore the option if not recognized
11050 # So say no if there are warnings
11051 if test -s conftest.err
; then
11052 # Append any errors to the config.log.
11053 cat conftest.err
1>&5
11054 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11055 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11056 if diff conftest.exp conftest.er2
>/dev
/null
; then
11057 lt_cv_prog_compiler__b
=yes
11060 lt_cv_prog_compiler__b
=yes
11064 LDFLAGS
="$save_LDFLAGS"
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11068 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11070 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11071 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11073 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11079 if test "$with_gnu_ld" = no
; then
11080 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11081 hardcode_libdir_separator
=:
11086 hardcode_shlibpath_var
=no
11089 hardcode_direct
=yes
11090 hardcode_direct_absolute
=yes
11091 export_dynamic_flag_spec
='${wl}-E'
11093 # hardcode_minus_L: Not really in the search PATH,
11094 # but as the default location of the library.
11095 hardcode_minus_L
=yes
11101 irix5
* | irix6
* | nonstopux
*)
11102 if test "$GCC" = yes; then
11103 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'
11104 # Try to use the -exported_symbol ld option, if it does not
11105 # work, assume that -exports_file does not work either and
11106 # implicitly export all symbols.
11107 save_LDFLAGS
="$LDFLAGS"
11108 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11109 if test x
$gcc_no_link = xyes
; then
11110 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11116 if ac_fn_c_try_link
"$LINENO"; then :
11117 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'
11120 rm -f core conftest.err conftest.
$ac_objext \
11121 conftest
$ac_exeext conftest.
$ac_ext
11122 LDFLAGS
="$save_LDFLAGS"
11124 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'
11125 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'
11127 archive_cmds_need_lc
='no'
11128 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11129 hardcode_libdir_separator
=:
11131 link_all_deplibs
=yes
11135 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11136 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11138 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11140 hardcode_libdir_flag_spec
='-R$libdir'
11141 hardcode_direct
=yes
11142 hardcode_shlibpath_var
=no
11146 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11147 hardcode_direct
=yes
11148 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11149 hardcode_libdir_separator
=:
11150 hardcode_shlibpath_var
=no
11157 if test -f /usr
/libexec
/ld.so
; then
11158 hardcode_direct
=yes
11159 hardcode_shlibpath_var
=no
11160 hardcode_direct_absolute
=yes
11161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11162 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11163 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11164 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11165 export_dynamic_flag_spec
='${wl}-E'
11168 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11169 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11170 hardcode_libdir_flag_spec
='-R$libdir'
11173 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11174 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11184 hardcode_libdir_flag_spec
='-L$libdir'
11185 hardcode_minus_L
=yes
11186 allow_undefined_flag
=unsupported
11187 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'
11188 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11192 if test "$GCC" = yes; then
11193 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11194 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'
11196 allow_undefined_flag
=' -expect_unresolved \*'
11197 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'
11199 archive_cmds_need_lc
='no'
11200 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11201 hardcode_libdir_separator
=:
11204 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11205 if test "$GCC" = yes; then
11206 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11207 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'
11208 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11210 allow_undefined_flag
=' -expect_unresolved \*'
11211 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'
11212 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~
11213 $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'
11215 # Both c and cxx compiler support -rpath directly
11216 hardcode_libdir_flag_spec
='-rpath $libdir'
11218 archive_cmds_need_lc
='no'
11219 hardcode_libdir_separator
=:
11223 no_undefined_flag
=' -z defs'
11224 if test "$GCC" = yes; then
11226 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11227 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11228 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11230 case `$CC -V 2>&1` in
11233 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11234 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11235 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11239 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11240 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11241 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11245 hardcode_libdir_flag_spec
='-R$libdir'
11246 hardcode_shlibpath_var
=no
11248 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11250 # The compiler driver will combine and reorder linker options,
11251 # but understands `-z linker_flag'. GCC discards it without `$wl',
11252 # but is careful enough not to reorder.
11253 # Supported since Solaris 2.6 (maybe 2.5.1?)
11254 if test "$GCC" = yes; then
11255 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11257 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11261 link_all_deplibs
=yes
11265 if test "x$host_vendor" = xsequent
; then
11266 # Use $CC to link under sequent, because it throws in some extra .o
11267 # files that make .init and .fini sections work.
11268 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11270 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11272 hardcode_libdir_flag_spec
='-L$libdir'
11273 hardcode_direct
=yes
11274 hardcode_minus_L
=yes
11275 hardcode_shlibpath_var
=no
11279 case $host_vendor in
11281 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11282 hardcode_direct
=yes # is this really true???
11285 ## LD is ld it makes a PLAMLIB
11286 ## CC just makes a GrossModule.
11287 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11288 reload_cmds
='$CC -r -o $output$reload_objs'
11292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11293 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11296 runpath_var
='LD_RUN_PATH'
11297 hardcode_shlibpath_var
=no
11301 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11302 hardcode_shlibpath_var
=no
11303 export_dynamic_flag_spec
='-Bexport'
11307 if test -d /usr
/nec
; then
11308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11309 hardcode_shlibpath_var
=no
11310 runpath_var
=LD_RUN_PATH
11311 hardcode_runpath_var
=yes
11316 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11317 no_undefined_flag
='${wl}-z,text'
11318 archive_cmds_need_lc
=no
11319 hardcode_shlibpath_var
=no
11320 runpath_var
='LD_RUN_PATH'
11322 if test "$GCC" = yes; then
11323 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11324 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11326 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11327 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11331 sysv5
* | sco3.2v5
* | sco5v6
*)
11332 # Note: We can NOT use -z defs as we might desire, because we do not
11333 # link with -lc, and that would cause any symbols used from libc to
11334 # always be unresolved, which means just about no library would
11335 # ever link correctly. If we're not using GNU ld we use -z text
11336 # though, which does catch some bad symbols but isn't as heavy-handed
11338 no_undefined_flag
='${wl}-z,text'
11339 allow_undefined_flag
='${wl}-z,nodefs'
11340 archive_cmds_need_lc
=no
11341 hardcode_shlibpath_var
=no
11342 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11343 hardcode_libdir_separator
=':'
11344 link_all_deplibs
=yes
11345 export_dynamic_flag_spec
='${wl}-Bexport'
11346 runpath_var
='LD_RUN_PATH'
11348 if test "$GCC" = yes; then
11349 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11352 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11353 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11358 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11359 hardcode_libdir_flag_spec
='-L$libdir'
11360 hardcode_shlibpath_var
=no
11368 if test x
$host_vendor = xsni
; then
11370 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11371 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11378 $as_echo "$ld_shlibs" >&6; }
11379 test "$ld_shlibs" = no
&& can_build_shared
=no
11381 with_gnu_ld
=$with_gnu_ld
11398 # Do we need to explicitly link libc?
11400 case "x$archive_cmds_need_lc" in
11402 # Assume -lc should be added
11403 archive_cmds_need_lc
=yes
11405 if test "$enable_shared" = yes && test "$GCC" = yes; then
11406 case $archive_cmds in
11408 # FIXME: we may have to deal with multi-command sequences.
11411 # Test whether the compiler implicitly links with -lc since on some
11412 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11413 # to ld, don't add -lc before -lgcc.
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11415 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11416 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11417 $as_echo_n "(cached) " >&6
11420 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11423 (eval $ac_compile) 2>&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11426 test $ac_status = 0; } 2>conftest.err
; then
11429 libobjs
=conftest.
$ac_objext
11431 wl
=$lt_prog_compiler_wl
11432 pic_flag
=$lt_prog_compiler_pic
11438 lt_save_allow_undefined_flag
=$allow_undefined_flag
11439 allow_undefined_flag
=
11440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11441 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11444 test $ac_status = 0; }
11446 lt_cv_archive_cmds_need_lc
=no
11448 lt_cv_archive_cmds_need_lc
=yes
11450 allow_undefined_flag
=$lt_save_allow_undefined_flag
11452 cat conftest.err
1>&5
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11458 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11459 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11623 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11625 if test "$GCC" = yes; then
11627 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11628 *) lt_awk_arg
="/^libraries:/" ;;
11631 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11632 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11634 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11635 case $lt_search_path_spec in
11637 # if the path contains ";" then we assume it to be the separator
11638 # otherwise default to the standard path separator (i.e. ":") - it is
11639 # assumed that no part of a normal pathname contains ";" but that should
11640 # okay in the real world where ";" in dirpaths is itself problematic.
11641 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11644 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11647 # Ok, now we have the path, separated by spaces, we can step through it
11648 # and add multilib dir if necessary.
11649 lt_tmp_lt_search_path_spec
=
11650 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11651 for lt_sys_path
in $lt_search_path_spec; do
11652 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11653 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11655 test -d "$lt_sys_path" && \
11656 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11659 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11660 BEGIN {RS=" "; FS="/|\n";} {
11663 for (lt_i = NF; lt_i > 0; lt_i--) {
11664 if ($lt_i != "" && $lt_i != ".") {
11665 if ($lt_i == "..") {
11668 if (lt_count == 0) {
11669 lt_foo="/" $lt_i lt_foo;
11676 if (lt_foo != "") { lt_freq[lt_foo]++; }
11677 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11679 # AWK program above erroneously prepends '/' to C:/dos/paths
11682 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11683 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11685 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11687 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11689 library_names_spec
=
11690 libname_spec
='lib$name'
11694 postuninstall_cmds
=
11698 shlibpath_overrides_runpath
=unknown
11700 dynamic_linker
="$host_os ld.so"
11701 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11702 need_lib_prefix
=unknown
11703 hardcode_into_libs
=no
11705 # when you set need_version to no, make sure it does not cause -set_version
11706 # flags to be left without arguments
11707 need_version
=unknown
11712 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11713 shlibpath_var
=LIBPATH
11715 # AIX 3 has no versioning support, so we append a major version to the name.
11716 soname_spec
='${libname}${release}${shared_ext}$major'
11723 hardcode_into_libs
=yes
11724 if test "$host_cpu" = ia64
; then
11725 # AIX 5 supports IA64
11726 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11727 shlibpath_var
=LD_LIBRARY_PATH
11729 # With GCC up to 2.95.x, collect2 would create an import file
11730 # for dependence libraries. The import file would start with
11731 # the line `#! .'. This would cause the generated library to
11732 # depend on `.', always an invalid library. This was fixed in
11733 # development snapshots of GCC prior to 3.0.
11735 aix4 | aix4.
[01] | aix4.
[01].
*)
11736 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11738 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11741 can_build_shared
=no
11745 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11746 # soname into executable. Probably we can add versioning support to
11747 # collect2, so additional links can be useful in future.
11748 if test "$aix_use_runtimelinking" = yes; then
11749 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11750 # instead of lib<name>.a to let people know that these are not
11751 # typical AIX shared libraries.
11752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11754 # We preserve .a as extension for shared libraries through AIX4.2
11755 # and later when we are not doing run time linking.
11756 library_names_spec
='${libname}${release}.a $libname.a'
11757 soname_spec
='${libname}${release}${shared_ext}$major'
11759 shlibpath_var
=LIBPATH
11766 # Since July 2007 AmigaOS4 officially supports .so libraries.
11767 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11771 library_names_spec
='$libname.ixlibrary $libname.a'
11772 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11773 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'
11779 library_names_spec
='${libname}${shared_ext}'
11780 dynamic_linker
="$host_os ld.so"
11781 shlibpath_var
=LIBRARY_PATH
11787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11788 soname_spec
='${libname}${release}${shared_ext}$major'
11789 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11792 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11793 # the default ld.so.conf also contains /usr/contrib/lib and
11794 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11795 # libtool to hard-code these into programs
11798 cygwin
* | mingw
* | pw32
* | cegcc
*)
11799 version_type
=windows
11804 case $GCC,$host_os in
11805 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11806 library_names_spec
='$libname.dll.a'
11807 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11808 postinstall_cmds
='base_file=`basename \${file}`~
11809 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11810 dldir=$destdir/`dirname \$dlpath`~
11811 test -d \$dldir || mkdir -p \$dldir~
11812 $install_prog $dir/$dlname \$dldir/$dlname~
11813 chmod a+x \$dldir/$dlname~
11814 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11815 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11817 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11818 dlpath=$dir/\$dldll~
11820 shlibpath_overrides_runpath
=yes
11824 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11825 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11827 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11830 # MinGW DLLs use traditional 'lib' prefix
11831 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11834 # pw32 DLLs use 'pw' prefix rather than 'lib'
11835 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11841 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11844 dynamic_linker
='Win32 ld.exe'
11845 # FIXME: first we should search . and the directory the executable is in
11849 darwin
* | rhapsody
*)
11850 dynamic_linker
="$host_os dyld"
11851 version_type
=darwin
11854 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11855 soname_spec
='${libname}${release}${major}$shared_ext'
11856 shlibpath_overrides_runpath
=yes
11857 shlibpath_var
=DYLD_LIBRARY_PATH
11858 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11860 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11861 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11869 soname_spec
='${libname}${release}${shared_ext}$major'
11870 shlibpath_var
=LD_LIBRARY_PATH
11873 freebsd
* | dragonfly
*)
11874 # DragonFly does not have aout. When/if they implement a new
11875 # versioning mechanism, adjust this.
11876 if test -x /usr
/bin
/objformat
; then
11877 objformat
=`/usr/bin/objformat`
11880 freebsd
[23].
*) objformat
=aout
;;
11881 *) objformat
=elf
;;
11884 version_type
=freebsd-
$objformat
11885 case $version_type in
11887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11892 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11896 shlibpath_var
=LD_LIBRARY_PATH
11899 shlibpath_overrides_runpath
=yes
11901 freebsd3.
[01]* | freebsdelf3.
[01]*)
11902 shlibpath_overrides_runpath
=yes
11903 hardcode_into_libs
=yes
11905 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11906 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11907 shlibpath_overrides_runpath
=no
11908 hardcode_into_libs
=yes
11910 *) # from 4.6 on, and DragonFly
11911 shlibpath_overrides_runpath
=yes
11912 hardcode_into_libs
=yes
11921 dynamic_linker
="$host_os runtime_loader"
11922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11923 soname_spec
='${libname}${release}${shared_ext}$major'
11924 shlibpath_var
=LIBRARY_PATH
11925 shlibpath_overrides_runpath
=yes
11926 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11927 hardcode_into_libs
=yes
11930 hpux9
* | hpux10
* | hpux11
*)
11931 # Give a soname corresponding to the major version so that dld.sl refuses to
11932 # link against other versions.
11939 hardcode_into_libs
=yes
11940 dynamic_linker
="$host_os dld.so"
11941 shlibpath_var
=LD_LIBRARY_PATH
11942 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11944 soname_spec
='${libname}${release}${shared_ext}$major'
11945 if test "X$HPUX_IA64_MODE" = X32
; then
11946 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11948 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11950 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11954 hardcode_into_libs
=yes
11955 dynamic_linker
="$host_os dld.sl"
11956 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11957 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11959 soname_spec
='${libname}${release}${shared_ext}$major'
11960 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11961 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11965 dynamic_linker
="$host_os dld.sl"
11966 shlibpath_var
=SHLIB_PATH
11967 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11969 soname_spec
='${libname}${release}${shared_ext}$major'
11972 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11973 postinstall_cmds
='chmod 555 $lib'
11974 # or fails outright, so override atomically:
11975 install_override_mode
=555
11982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11983 soname_spec
='${libname}${release}${shared_ext}$major'
11984 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11985 shlibpath_var
=LD_LIBRARY_PATH
11986 shlibpath_overrides_runpath
=no
11987 hardcode_into_libs
=yes
11990 irix5
* | irix6
* | nonstopux
*)
11992 nonstopux
*) version_type
=nonstopux
;;
11994 if test "$lt_cv_prog_gnu_ld" = yes; then
12002 soname_spec
='${libname}${release}${shared_ext}$major'
12003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12005 irix5
* | nonstopux
*)
12006 libsuff
= shlibsuff
=
12009 case $LD in # libtool.m4 will add one of these switches to LD
12010 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12011 libsuff
= shlibsuff
= libmagic
=32-bit;;
12012 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12013 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12014 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12015 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12016 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12020 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12021 shlibpath_overrides_runpath
=no
12022 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12023 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12024 hardcode_into_libs
=yes
12027 # No shared lib support for Linux oldld, aout, or coff.
12028 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12032 # This must be Linux ELF.
12034 # uclinux* changes (here and below) have been submitted to the libtool
12035 # project, but have not yet been accepted: they are GCC-local changes
12036 # for the time being. (See
12037 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12038 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12043 soname_spec
='${libname}${release}${shared_ext}$major'
12044 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12045 shlibpath_var
=LD_LIBRARY_PATH
12046 shlibpath_overrides_runpath
=no
12048 # Some binutils ld are patched to set DT_RUNPATH
12049 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12050 $as_echo_n "(cached) " >&6
12052 lt_cv_shlibpath_overrides_runpath
=no
12053 save_LDFLAGS
=$LDFLAGS
12054 save_libdir
=$libdir
12055 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12056 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12057 if test x
$gcc_no_link = xyes
; then
12058 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12071 if ac_fn_c_try_link
"$LINENO"; then :
12072 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12073 lt_cv_shlibpath_overrides_runpath
=yes
12076 rm -f core conftest.err conftest.
$ac_objext \
12077 conftest
$ac_exeext conftest.
$ac_ext
12078 LDFLAGS
=$save_LDFLAGS
12079 libdir
=$save_libdir
12083 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12085 # This implies no fast_install, which is unacceptable.
12086 # Some rework will be needed to allow for fast_install
12087 # before this can be enabled.
12088 hardcode_into_libs
=yes
12090 # Append ld.so.conf contents to the search path
12091 if test -f /etc
/ld.so.conf
; then
12092 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' ' '`
12093 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12096 # We used to test for /lib/ld.so.1 and disable shared libraries on
12097 # powerpc, because MkLinux only supported shared libraries with the
12098 # GNU dynamic linker. Since this was broken with cross compilers,
12099 # most powerpc-linux boxes support dynamic linking these days and
12100 # people can always --disable-shared, the test was removed, and we
12101 # assume the GNU/Linux dynamic linker is in use.
12102 dynamic_linker
='GNU/Linux ld.so'
12109 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12112 dynamic_linker
='NetBSD (a.out) ld.so'
12114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12115 soname_spec
='${libname}${release}${shared_ext}$major'
12116 dynamic_linker
='NetBSD ld.elf_so'
12118 shlibpath_var
=LD_LIBRARY_PATH
12119 shlibpath_overrides_runpath
=yes
12120 hardcode_into_libs
=yes
12125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12126 shlibpath_var
=LD_LIBRARY_PATH
12127 shlibpath_overrides_runpath
=yes
12134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12135 soname_spec
='${libname}${release}${shared_ext}$major'
12136 shlibpath_var
=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath
=no
12138 hardcode_into_libs
=yes
12139 dynamic_linker
='ldqnx.so'
12144 sys_lib_dlsearch_path_spec
="/usr/lib"
12146 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12148 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12149 *) need_version
=no
;;
12151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12153 shlibpath_var
=LD_LIBRARY_PATH
12154 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12156 openbsd2.
[89] | openbsd2.
[89].
*)
12157 shlibpath_overrides_runpath
=no
12160 shlibpath_overrides_runpath
=yes
12164 shlibpath_overrides_runpath
=yes
12169 libname_spec
='$name'
12172 library_names_spec
='$libname${shared_ext} $libname.a'
12173 dynamic_linker
='OS/2 ld.exe'
12174 shlibpath_var
=LIBPATH
12177 osf3
* | osf4
* | osf5
*)
12181 soname_spec
='${libname}${release}${shared_ext}$major'
12182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12183 shlibpath_var
=LD_LIBRARY_PATH
12184 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12185 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12198 shlibpath_var
=LD_LIBRARY_PATH
12199 shlibpath_overrides_runpath
=yes
12200 hardcode_into_libs
=yes
12201 # ldd complains unless libraries are executable
12202 postinstall_cmds
='chmod +x $lib'
12207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12208 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12209 shlibpath_var
=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath
=yes
12211 if test "$with_gnu_ld" = yes; then
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 case $host_vendor in
12224 shlibpath_overrides_runpath
=no
12226 runpath_var
=LD_RUN_PATH
12234 shlibpath_overrides_runpath
=no
12235 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12241 if test -d /usr
/nec
;then
12243 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12244 soname_spec
='$libname${shared_ext}.$major'
12245 shlibpath_var
=LD_LIBRARY_PATH
12249 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12250 version_type
=freebsd-elf
12253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12254 soname_spec
='${libname}${release}${shared_ext}$major'
12255 shlibpath_var
=LD_LIBRARY_PATH
12256 shlibpath_overrides_runpath
=yes
12257 hardcode_into_libs
=yes
12258 if test "$with_gnu_ld" = yes; then
12259 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12261 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12264 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12268 sys_lib_dlsearch_path_spec
='/usr/lib'
12272 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12277 shlibpath_var
=LD_LIBRARY_PATH
12278 shlibpath_overrides_runpath
=no
12279 hardcode_into_libs
=yes
12284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12285 soname_spec
='${libname}${release}${shared_ext}$major'
12286 shlibpath_var
=LD_LIBRARY_PATH
12289 # Shared libraries for VwWorks, >= 7 only at this stage
12290 # and (fpic) still incompatible with "large" code models
12291 # in a few configurations. Only for RTP mode in any case,
12292 # and upon explicit request at configure time.
12295 case ${with_multisubdir}-${enable_shared} in
12302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12303 soname_spec
='${libname}${release}${shared_ext}$major'
12304 dynamic_linker
="$host_os module_loader"
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12313 $as_echo "$dynamic_linker" >&6; }
12314 test "$dynamic_linker" = no
&& can_build_shared
=no
12316 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12317 if test "$GCC" = yes; then
12318 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12321 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12322 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12324 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12325 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12420 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12422 if test -n "$hardcode_libdir_flag_spec" ||
12423 test -n "$runpath_var" ||
12424 test "X$hardcode_automatic" = "Xyes" ; then
12426 # We can hardcode non-existent directories.
12427 if test "$hardcode_direct" != no
&&
12428 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12429 # have to relink, otherwise we might link with an installed library
12430 # when we should be linking with a yet-to-be-installed one
12431 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12432 test "$hardcode_minus_L" != no
; then
12433 # Linking always hardcodes the temporary library directory.
12434 hardcode_action
=relink
12436 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12437 hardcode_action
=immediate
12440 # We cannot hardcode anything, or else we can only hardcode existing
12442 hardcode_action
=unsupported
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12445 $as_echo "$hardcode_action" >&6; }
12447 if test "$hardcode_action" = relink ||
12448 test "$inherit_rpath" = yes; then
12449 # Fast installation is not supported
12450 enable_fast_install
=no
12451 elif test "$shlibpath_overrides_runpath" = yes ||
12452 test "$enable_shared" = no
; then
12453 # Fast installation is not necessary
12454 enable_fast_install
=needless
12462 if test "x$enable_dlopen" != xyes
; then
12463 enable_dlopen
=unknown
12464 enable_dlopen_self
=unknown
12465 enable_dlopen_self_static
=unknown
12472 lt_cv_dlopen
="load_add_on"
12474 lt_cv_dlopen_self
=yes
12477 mingw
* | pw32
* | cegcc
*)
12478 lt_cv_dlopen
="LoadLibrary"
12483 lt_cv_dlopen
="dlopen"
12488 # if libdl is installed we need to link against it
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12490 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12491 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12492 $as_echo_n "(cached) " >&6
12494 ac_check_lib_save_LIBS
=$LIBS
12496 if test x
$gcc_no_link = xyes
; then
12497 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12517 if ac_fn_c_try_link
"$LINENO"; then :
12518 ac_cv_lib_dl_dlopen
=yes
12520 ac_cv_lib_dl_dlopen
=no
12522 rm -f core conftest.err conftest.
$ac_objext \
12523 conftest
$ac_exeext conftest.
$ac_ext
12524 LIBS
=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12527 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12528 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12529 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12532 lt_cv_dlopen
="dyld"
12534 lt_cv_dlopen_self
=yes
12541 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12542 if test "x$ac_cv_func_shl_load" = xyes
; then :
12543 lt_cv_dlopen
="shl_load"
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12546 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12547 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 ac_check_lib_save_LIBS
=$LIBS
12552 if test x
$gcc_no_link = xyes
; then
12553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12568 return shl_load ();
12573 if ac_fn_c_try_link
"$LINENO"; then :
12574 ac_cv_lib_dld_shl_load
=yes
12576 ac_cv_lib_dld_shl_load
=no
12578 rm -f core conftest.err conftest.
$ac_objext \
12579 conftest
$ac_exeext conftest.
$ac_ext
12580 LIBS
=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12583 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12584 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12585 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12587 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12588 if test "x$ac_cv_func_dlopen" = xyes
; then :
12589 lt_cv_dlopen
="dlopen"
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12592 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12593 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 ac_check_lib_save_LIBS
=$LIBS
12598 if test x
$gcc_no_link = xyes
; then
12599 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12619 if ac_fn_c_try_link
"$LINENO"; then :
12620 ac_cv_lib_dl_dlopen
=yes
12622 ac_cv_lib_dl_dlopen
=no
12624 rm -f core conftest.err conftest.
$ac_objext \
12625 conftest
$ac_exeext conftest.
$ac_ext
12626 LIBS
=$ac_check_lib_save_LIBS
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12629 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12630 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12631 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12634 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12635 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12636 $as_echo_n "(cached) " >&6
12638 ac_check_lib_save_LIBS
=$LIBS
12639 LIBS
="-lsvld $LIBS"
12640 if test x
$gcc_no_link = xyes
; then
12641 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12661 if ac_fn_c_try_link
"$LINENO"; then :
12662 ac_cv_lib_svld_dlopen
=yes
12664 ac_cv_lib_svld_dlopen
=no
12666 rm -f core conftest.err conftest.
$ac_objext \
12667 conftest
$ac_exeext conftest.
$ac_ext
12668 LIBS
=$ac_check_lib_save_LIBS
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12671 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12672 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12673 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12676 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12677 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12678 $as_echo_n "(cached) " >&6
12680 ac_check_lib_save_LIBS
=$LIBS
12682 if test x
$gcc_no_link = xyes
; then
12683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12698 return dld_link ();
12703 if ac_fn_c_try_link
"$LINENO"; then :
12704 ac_cv_lib_dld_dld_link
=yes
12706 ac_cv_lib_dld_dld_link
=no
12708 rm -f core conftest.err conftest.
$ac_objext \
12709 conftest
$ac_exeext conftest.
$ac_ext
12710 LIBS
=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12713 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12714 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12715 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12736 if test "x$lt_cv_dlopen" != xno
; then
12742 case $lt_cv_dlopen in
12744 save_CPPFLAGS
="$CPPFLAGS"
12745 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12747 save_LDFLAGS
="$LDFLAGS"
12748 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12751 LIBS
="$lt_cv_dlopen_libs $LIBS"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12754 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12755 if ${lt_cv_dlopen_self+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 if test "$cross_compiling" = yes; then :
12759 lt_cv_dlopen_self
=cross
12761 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12762 lt_status
=$lt_dlunknown
12763 cat > conftest.
$ac_ext <<_LT_EOF
12764 #line 12764 "configure"
12765 #include "confdefs.h"
12774 # define LT_DLGLOBAL RTLD_GLOBAL
12777 # define LT_DLGLOBAL DL_GLOBAL
12779 # define LT_DLGLOBAL 0
12783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12784 find out it does not work in some platform. */
12785 #ifndef LT_DLLAZY_OR_NOW
12787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12790 # define LT_DLLAZY_OR_NOW DL_LAZY
12793 # define LT_DLLAZY_OR_NOW RTLD_NOW
12796 # define LT_DLLAZY_OR_NOW DL_NOW
12798 # define LT_DLLAZY_OR_NOW 0
12805 /* When -fvisbility=hidden is used, assume the code has been annotated
12806 correspondingly for the symbols needed. */
12807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12808 void fnord () __attribute__((visibility("default")));
12811 void fnord () { int i=42; }
12814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12815 int status = $lt_dlunknown;
12819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12823 else puts (dlerror ());
12825 /* dlclose (self); */
12833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12834 (eval $ac_link) 2>&5
12836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12837 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12838 (.
/conftest
; exit; ) >&5 2>/dev
/null
12840 case x
$lt_status in
12841 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12842 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12843 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12846 # compilation failed
12847 lt_cv_dlopen_self
=no
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12855 $as_echo "$lt_cv_dlopen_self" >&6; }
12857 if test "x$lt_cv_dlopen_self" = xyes
; then
12858 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12860 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12861 if ${lt_cv_dlopen_self_static+:} false
; then :
12862 $as_echo_n "(cached) " >&6
12864 if test "$cross_compiling" = yes; then :
12865 lt_cv_dlopen_self_static
=cross
12867 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12868 lt_status
=$lt_dlunknown
12869 cat > conftest.
$ac_ext <<_LT_EOF
12870 #line 12870 "configure"
12871 #include "confdefs.h"
12880 # define LT_DLGLOBAL RTLD_GLOBAL
12883 # define LT_DLGLOBAL DL_GLOBAL
12885 # define LT_DLGLOBAL 0
12889 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12890 find out it does not work in some platform. */
12891 #ifndef LT_DLLAZY_OR_NOW
12893 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12896 # define LT_DLLAZY_OR_NOW DL_LAZY
12899 # define LT_DLLAZY_OR_NOW RTLD_NOW
12902 # define LT_DLLAZY_OR_NOW DL_NOW
12904 # define LT_DLLAZY_OR_NOW 0
12911 /* When -fvisbility=hidden is used, assume the code has been annotated
12912 correspondingly for the symbols needed. */
12913 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12914 void fnord () __attribute__((visibility("default")));
12917 void fnord () { int i=42; }
12920 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12921 int status = $lt_dlunknown;
12925 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12928 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12929 else puts (dlerror ());
12931 /* dlclose (self); */
12939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12940 (eval $ac_link) 2>&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12944 (.
/conftest
; exit; ) >&5 2>/dev
/null
12946 case x
$lt_status in
12947 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12948 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12949 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12952 # compilation failed
12953 lt_cv_dlopen_self_static
=no
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12961 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12964 CPPFLAGS
="$save_CPPFLAGS"
12965 LDFLAGS
="$save_LDFLAGS"
12970 case $lt_cv_dlopen_self in
12971 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12972 *) enable_dlopen_self
=unknown
;;
12975 case $lt_cv_dlopen_self_static in
12976 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12977 *) enable_dlopen_self_static
=unknown
;;
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13000 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13001 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13002 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13003 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13005 $as_echo "yes" >&6; }
13007 # FIXME - insert some real tests, host_os isn't really good enough
13010 if test -n "$STRIP" ; then
13011 striplib
="$STRIP -x"
13012 old_striplib
="$STRIP -S"
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13014 $as_echo "yes" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13022 $as_echo "no" >&6; }
13038 # Report which library types will actually be built
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13040 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13042 $as_echo "$can_build_shared" >&6; }
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13045 $as_echo_n "checking whether to build shared libraries... " >&6; }
13046 test "$can_build_shared" = "no" && enable_shared
=no
13048 # On AIX, shared libraries and static libraries use the same namespace, and
13049 # are all built from PIC.
13052 test "$enable_shared" = yes && enable_static
=no
13053 if test -n "$RANLIB"; then
13054 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13055 postinstall_cmds
='$RANLIB $lib'
13060 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13061 test "$enable_shared" = yes && enable_static
=no
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13066 $as_echo "$enable_shared" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13069 $as_echo_n "checking whether to build static libraries... " >&6; }
13070 # Make sure either enable_shared or enable_static is yes.
13071 test "$enable_shared" = yes || enable_static
=yes
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13073 $as_echo "$enable_static" >&6; }
13080 ac_cpp
='$CPP $CPPFLAGS'
13081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13099 ac_config_commands
="$ac_config_commands libtool"
13104 # Only expand once:
13109 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13110 # These system don't have libm, or don't need it
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13114 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13115 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13116 $as_echo_n "(cached) " >&6
13118 ac_check_lib_save_LIBS
=$LIBS
13120 if test x
$gcc_no_link = xyes
; then
13121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13132 char _mwvalidcheckl ();
13136 return _mwvalidcheckl ();
13141 if ac_fn_c_try_link
"$LINENO"; then :
13142 ac_cv_lib_mw__mwvalidcheckl
=yes
13144 ac_cv_lib_mw__mwvalidcheckl
=no
13146 rm -f core conftest.err conftest.
$ac_objext \
13147 conftest
$ac_exeext conftest.
$ac_ext
13148 LIBS
=$ac_check_lib_save_LIBS
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13151 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13152 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13157 $as_echo_n "checking for cos in -lm... " >&6; }
13158 if ${ac_cv_lib_m_cos+:} false
; then :
13159 $as_echo_n "(cached) " >&6
13161 ac_check_lib_save_LIBS
=$LIBS
13163 if test x
$gcc_no_link = xyes
; then
13164 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13169 /* Override any GCC internal prototype to avoid an error.
13170 Use char because int might match the return type of a GCC
13171 builtin and then its argument prototype would still apply. */
13184 if ac_fn_c_try_link
"$LINENO"; then :
13185 ac_cv_lib_m_cos
=yes
13189 rm -f core conftest.err conftest.
$ac_objext \
13190 conftest
$ac_exeext conftest.
$ac_ext
13191 LIBS
=$ac_check_lib_save_LIBS
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13194 $as_echo "$ac_cv_lib_m_cos" >&6; }
13195 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13202 $as_echo_n "checking for cos in -lm... " >&6; }
13203 if ${ac_cv_lib_m_cos+:} false
; then :
13204 $as_echo_n "(cached) " >&6
13206 ac_check_lib_save_LIBS
=$LIBS
13208 if test x
$gcc_no_link = xyes
; then
13209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13229 if ac_fn_c_try_link
"$LINENO"; then :
13230 ac_cv_lib_m_cos
=yes
13234 rm -f core conftest.err conftest.
$ac_objext \
13235 conftest
$ac_exeext conftest.
$ac_ext
13236 LIBS
=$ac_check_lib_save_LIBS
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13239 $as_echo "$ac_cv_lib_m_cos" >&6; }
13240 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13252 *-cygwin* |
*-mingw*)
13253 # 'host' will be top-level target in the case of a target lib,
13254 # we must compare to with_cross_host to decide if this is a native
13255 # or cross-compiler and select where to install dlls appropriately.
13256 if test -n "$with_cross_host" &&
13257 test x
"$with_cross_host" != x
"no"; then
13258 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13260 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13272 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13274 # We need gfortran to compile parts of the library
13275 #AC_PROG_FC(gfortran)
13277 ac_ext
=${ac_fc_srcext-f}
13278 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13279 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13280 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13281 if test -n "$ac_tool_prefix"; then
13282 for ac_prog
in gfortran
13284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13285 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13287 $as_echo_n "checking for $ac_word... " >&6; }
13288 if ${ac_cv_prog_FC+:} false
; then :
13289 $as_echo_n "(cached) " >&6
13291 if test -n "$FC"; then
13292 ac_cv_prog_FC
="$FC" # Let the user override the test.
13294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13295 for as_dir
in $PATH
13298 test -z "$as_dir" && as_dir
=.
13299 for ac_exec_ext
in '' $ac_executable_extensions; do
13300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13301 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13312 if test -n "$FC"; then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13314 $as_echo "$FC" >&6; }
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13321 test -n "$FC" && break
13324 if test -z "$FC"; then
13326 for ac_prog
in gfortran
13328 # Extract the first word of "$ac_prog", so it can be a program name with args.
13329 set dummy
$ac_prog; ac_word
=$2
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13331 $as_echo_n "checking for $ac_word... " >&6; }
13332 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13333 $as_echo_n "(cached) " >&6
13335 if test -n "$ac_ct_FC"; then
13336 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13339 for as_dir
in $PATH
13342 test -z "$as_dir" && as_dir
=.
13343 for ac_exec_ext
in '' $ac_executable_extensions; do
13344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13345 ac_cv_prog_ac_ct_FC
="$ac_prog"
13346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13355 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13356 if test -n "$ac_ct_FC"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13358 $as_echo "$ac_ct_FC" >&6; }
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13361 $as_echo "no" >&6; }
13365 test -n "$ac_ct_FC" && break
13368 if test "x$ac_ct_FC" = x
; then
13371 case $cross_compiling:$ac_tool_warned in
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13375 ac_tool_warned
=yes ;;
13382 # Provide some information about the compiler.
13383 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13386 for ac_option
in --version -v -V -qversion; do
13387 { { ac_try
="$ac_compiler $ac_option >&5"
13388 case "(($ac_try" in
13389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13390 *) ac_try_echo=$ac_try;;
13392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13393 $as_echo "$ac_try_echo"; } >&5
13394 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13396 if test -s conftest.err; then
13398 ... rest of stderr output deleted ...
13399 10q' conftest.err >conftest.er1
13400 cat conftest.er1 >&5
13402 rm -f conftest.er1 conftest.err
13403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13404 test $ac_status = 0; }
13408 # If we don't use `.F
' as extension, the preprocessor is not run on the
13409 # input file. (Note that this only needs to work for GNU compilers.)
13410 ac_save_ext=$ac_ext
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13413 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13414 if ${ac_cv_fc_compiler_gnu+:} false; then :
13415 $as_echo_n "(cached) " >&6
13417 cat > conftest.$ac_ext <<_ACEOF
13425 if ac_fn_fc_try_compile "$LINENO"; then :
13426 ac_compiler_gnu=yes
13430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13431 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13435 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13436 ac_ext=$ac_save_ext
13437 ac_test_FCFLAGS=${FCFLAGS+set}
13438 ac_save_FCFLAGS=$FCFLAGS
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13441 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13442 if ${ac_cv_prog_fc_g+:} false; then :
13443 $as_echo_n "(cached) " >&6
13446 cat > conftest.$ac_ext <<_ACEOF
13451 if ac_fn_fc_try_compile "$LINENO"; then :
13452 ac_cv_prog_fc_g=yes
13456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13460 $as_echo "$ac_cv_prog_fc_g" >&6; }
13461 if test "$ac_test_FCFLAGS" = set; then
13462 FCFLAGS=$ac_save_FCFLAGS
13463 elif test $ac_cv_prog_fc_g = yes; then
13464 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13470 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13477 if test $ac_compiler_gnu = yes; then
13483 ac_cpp='$CPP $CPPFLAGS'
13484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13488 ac_ext=${ac_fc_srcext-f}
13489 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13490 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13491 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13494 if test -z "$FC" || test "X$FC" = "Xno"; then
13498 archive_cmds_need_lc_FC=no
13499 allow_undefined_flag_FC=
13500 always_export_symbols_FC=no
13501 archive_expsym_cmds_FC=
13502 export_dynamic_flag_spec_FC=
13503 hardcode_direct_FC=no
13504 hardcode_direct_absolute_FC=no
13505 hardcode_libdir_flag_spec_FC=
13506 hardcode_libdir_flag_spec_ld_FC=
13507 hardcode_libdir_separator_FC=
13508 hardcode_minus_L_FC=no
13509 hardcode_automatic_FC=no
13510 inherit_rpath_FC=no
13512 module_expsym_cmds_FC=
13513 link_all_deplibs_FC=unknown
13514 old_archive_cmds_FC=$old_archive_cmds
13515 reload_flag_FC=$reload_flag
13516 reload_cmds_FC=$reload_cmds
13517 no_undefined_flag_FC=
13518 whole_archive_flag_spec_FC=
13519 enable_shared_with_static_runtimes_FC=no
13521 # Source file extension for fc test sources.
13522 ac_ext=${ac_fc_srcext-f}
13524 # Object file extension for compiled fc test sources.
13528 # No sense in running all these tests if we already determined that
13529 # the FC compiler isn't working. Some variables
(like enable_shared
)
13530 # are currently assumed to apply to all compilers on this platform,
13531 # and will be corrupted by setting them based on a non-working compiler.
13532 if test "$_lt_disable_FC" != yes; then
13533 # Code to be used in simple compile tests
13534 lt_simple_compile_test_code
="\
13540 # Code to be used in simple link tests
13541 lt_simple_link_test_code
="\
13546 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13553 # If no C compiler was specified, use CC.
13556 # If no C compiler flags were specified, use CFLAGS.
13557 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13559 # Allow CC to be a program name with arguments.
13563 # save warnings/boilerplate of simple test code
13564 ac_outfile
=conftest.
$ac_objext
13565 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13566 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13567 _lt_compiler_boilerplate
=`cat conftest.err`
13570 ac_outfile
=conftest.
$ac_objext
13571 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13572 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13573 _lt_linker_boilerplate
=`cat conftest.err`
13577 # Allow CC to be a program name with arguments.
13582 GCC
=$ac_cv_fc_compiler_gnu
13585 for cc_temp
in $compiler""; do
13587 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13588 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13593 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13596 if test -n "$compiler"; then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13598 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13600 $as_echo "$can_build_shared" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13603 $as_echo_n "checking whether to build shared libraries... " >&6; }
13604 test "$can_build_shared" = "no" && enable_shared
=no
13606 # On AIX, shared libraries and static libraries use the same namespace, and
13607 # are all built from PIC.
13610 test "$enable_shared" = yes && enable_static
=no
13611 if test -n "$RANLIB"; then
13612 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13613 postinstall_cmds
='$RANLIB $lib'
13617 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13618 test "$enable_shared" = yes && enable_static
=no
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13623 $as_echo "$enable_shared" >&6; }
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13626 $as_echo_n "checking whether to build static libraries... " >&6; }
13627 # Make sure either enable_shared or enable_static is yes.
13628 test "$enable_shared" = yes || enable_static
=yes
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13630 $as_echo "$enable_static" >&6; }
13632 GCC_FC
="$ac_cv_fc_compiler_gnu"
13636 ## There is no encapsulation within the following macros, do not change
13637 ## the running order or otherwise move them around unless you know exactly
13638 ## what you are doing...
13639 # Dependencies to place before and after the object being linked:
13641 postdep_objects_FC
=
13644 compiler_lib_search_path_FC
=
13646 cat > conftest.
$ac_ext <<_LT_EOF
13655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13656 (eval $ac_compile) 2>&5
13658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13659 test $ac_status = 0; }; then
13660 # Parse the compiler output and extract the necessary
13661 # objects, libraries and library flags.
13663 # Sentinel used to keep track of whether or not we are before
13664 # the conftest object file.
13665 pre_test_object_deps_done
=no
13667 for p
in `eval "$output_verbose_link_cmd"`; do
13671 # Some compilers place space between "-{L,R}" and the path.
13672 # Remove the space.
13673 if test $p = "-L" ||
13674 test $p = "-R"; then
13681 if test "$pre_test_object_deps_done" = no
; then
13684 # Internal compiler library paths should come after those
13685 # provided the user. The postdeps already come after the
13686 # user supplied libs so there is no need to process them.
13687 if test -z "$compiler_lib_search_path_FC"; then
13688 compiler_lib_search_path_FC
="${prev}${p}"
13690 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13693 # The "-l" case would never come before the object being
13694 # linked, so don't bother handling this case.
13697 if test -z "$postdeps_FC"; then
13698 postdeps_FC
="${prev}${p}"
13700 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13706 # This assumes that the test object file only shows up
13707 # once in the compiler output.
13708 if test "$p" = "conftest.$objext"; then
13709 pre_test_object_deps_done
=yes
13713 if test "$pre_test_object_deps_done" = no
; then
13714 if test -z "$predep_objects_FC"; then
13715 predep_objects_FC
="$p"
13717 predep_objects_FC
="$predep_objects_FC $p"
13720 if test -z "$postdep_objects_FC"; then
13721 postdep_objects_FC
="$p"
13723 postdep_objects_FC
="$postdep_objects_FC $p"
13728 *) ;; # Ignore the rest.
13736 echo "libtool.m4: error: problem compiling FC test program"
13739 $RM -f confest.
$objext
13741 # PORTME: override above test on systems where it is broken
13744 case " $postdeps_FC " in
13745 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13747 compiler_lib_search_dirs_FC
=
13748 if test -n "${compiler_lib_search_path_FC}"; then
13749 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13782 lt_prog_compiler_wl_FC
=
13783 lt_prog_compiler_pic_FC
=
13784 lt_prog_compiler_static_FC
=
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13787 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13789 if test "$GCC" = yes; then
13790 lt_prog_compiler_wl_FC
='-Wl,'
13791 lt_prog_compiler_static_FC
='-static'
13795 # All AIX code is PIC.
13796 if test "$host_cpu" = ia64
; then
13797 # AIX 5 now supports IA64 processor
13798 lt_prog_compiler_static_FC
='-Bstatic'
13800 lt_prog_compiler_pic_FC
='-fPIC'
13806 # see comment about AmigaOS4 .so support
13807 lt_prog_compiler_pic_FC
='-fPIC'
13810 # FIXME: we need at least 68020 code to build shared libraries, but
13811 # adding the `-m68020' flag to GCC prevents building anything better,
13813 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13818 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13819 # PIC is the default for these OSes.
13822 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13823 # This hack is so that the source file can tell whether it is being
13824 # built for inclusion in a dll (and should export symbols for example).
13825 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13826 # (--disable-auto-import) libraries
13827 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13830 darwin
* | rhapsody
*)
13831 # PIC is the default on this platform
13832 # Common symbols not allowed in MH_DYLIB files
13833 lt_prog_compiler_pic_FC
='-fno-common'
13837 # PIC is the default for Haiku.
13838 # The "-static" flag exists, but is broken.
13839 lt_prog_compiler_static_FC
=
13843 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13844 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13845 # sets the default TLS model and affects inlining.
13851 lt_prog_compiler_pic_FC
='-fPIC'
13857 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13858 # Instead, we relocate shared libraries at runtime.
13862 # Just because we use GCC doesn't mean we suddenly get shared libraries
13863 # on systems that don't support them.
13864 lt_prog_compiler_can_build_shared_FC
=no
13869 # QNX uses GNU C++, but need to define -shared option too, otherwise
13870 # it will coredump.
13871 lt_prog_compiler_pic_FC
='-fPIC -shared'
13875 if test -d /usr
/nec
; then
13876 lt_prog_compiler_pic_FC
=-Kconform_pic
13881 lt_prog_compiler_pic_FC
='-fPIC'
13885 case $cc_basename in
13886 nvcc
*) # Cuda Compiler Driver 2.2
13887 lt_prog_compiler_wl_FC
='-Xlinker '
13888 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13892 # PORTME Check for flag to pass linker flags through the system compiler.
13895 lt_prog_compiler_wl_FC
='-Wl,'
13896 if test "$host_cpu" = ia64
; then
13897 # AIX 5 now supports IA64 processor
13898 lt_prog_compiler_static_FC
='-Bstatic'
13900 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13904 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13905 # This hack is so that the source file can tell whether it is being
13906 # built for inclusion in a dll (and should export symbols for example).
13907 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13910 hpux9
* | hpux10
* | hpux11
*)
13911 lt_prog_compiler_wl_FC
='-Wl,'
13912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13913 # not for PA HP-UX.
13919 lt_prog_compiler_pic_FC
='+Z'
13922 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13923 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13926 irix5
* | irix6
* | nonstopux
*)
13927 lt_prog_compiler_wl_FC
='-Wl,'
13928 # PIC (with -KPIC) is the default.
13929 lt_prog_compiler_static_FC
='-non_shared'
13932 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13933 case $cc_basename in
13934 # old Intel for x86_64 which still supported -KPIC.
13936 lt_prog_compiler_wl_FC
='-Wl,'
13937 lt_prog_compiler_pic_FC
='-KPIC'
13938 lt_prog_compiler_static_FC
='-static'
13940 # icc used to be incompatible with GCC.
13941 # ICC 10 doesn't accept -KPIC any more.
13943 lt_prog_compiler_wl_FC
='-Wl,'
13944 lt_prog_compiler_pic_FC
='-fPIC'
13945 lt_prog_compiler_static_FC
='-static'
13947 # Lahey Fortran 8.1.
13949 lt_prog_compiler_wl_FC
='-Wl,'
13950 lt_prog_compiler_pic_FC
='--shared'
13951 lt_prog_compiler_static_FC
='--static'
13953 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13954 # Portland Group compilers (*not* the Pentium gcc compiler,
13955 # which looks to be a dead project)
13956 lt_prog_compiler_wl_FC
='-Wl,'
13957 lt_prog_compiler_pic_FC
='-fpic'
13958 lt_prog_compiler_static_FC
='-Bstatic'
13961 lt_prog_compiler_wl_FC
='-Wl,'
13962 # All Alpha code is PIC.
13963 lt_prog_compiler_static_FC
='-non_shared'
13965 xl
* | bgxl
* | bgf
* | mpixl
*)
13966 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13967 lt_prog_compiler_wl_FC
='-Wl,'
13968 lt_prog_compiler_pic_FC
='-qpic'
13969 lt_prog_compiler_static_FC
='-qstaticlink'
13972 case `$CC -V 2>&1 | sed 5q` in
13973 *Sun\ F
* |
*Sun
*Fortran
*)
13974 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13975 lt_prog_compiler_pic_FC
='-KPIC'
13976 lt_prog_compiler_static_FC
='-Bstatic'
13977 lt_prog_compiler_wl_FC
=''
13981 lt_prog_compiler_pic_FC
='-KPIC'
13982 lt_prog_compiler_static_FC
='-Bstatic'
13983 lt_prog_compiler_wl_FC
='-Wl,'
13991 lt_prog_compiler_pic_FC
='-KPIC'
13992 lt_prog_compiler_static_FC
='-Bstatic'
13996 # QNX uses GNU C++, but need to define -shared option too, otherwise
13997 # it will coredump.
13998 lt_prog_compiler_pic_FC
='-fPIC -shared'
14001 osf3
* | osf4
* | osf5
*)
14002 lt_prog_compiler_wl_FC
='-Wl,'
14003 # All OSF/1 code is PIC.
14004 lt_prog_compiler_static_FC
='-non_shared'
14008 lt_prog_compiler_static_FC
='-non_shared'
14012 lt_prog_compiler_pic_FC
='-KPIC'
14013 lt_prog_compiler_static_FC
='-Bstatic'
14014 case $cc_basename in
14015 f77
* | f90
* | f95
*)
14016 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14018 lt_prog_compiler_wl_FC
='-Wl,';;
14023 lt_prog_compiler_wl_FC
='-Qoption ld '
14024 lt_prog_compiler_pic_FC
='-PIC'
14025 lt_prog_compiler_static_FC
='-Bstatic'
14028 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14029 lt_prog_compiler_wl_FC
='-Wl,'
14030 lt_prog_compiler_pic_FC
='-KPIC'
14031 lt_prog_compiler_static_FC
='-Bstatic'
14035 if test -d /usr
/nec
;then
14036 lt_prog_compiler_pic_FC
='-Kconform_pic'
14037 lt_prog_compiler_static_FC
='-Bstatic'
14041 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14042 lt_prog_compiler_wl_FC
='-Wl,'
14043 lt_prog_compiler_pic_FC
='-KPIC'
14044 lt_prog_compiler_static_FC
='-Bstatic'
14048 lt_prog_compiler_wl_FC
='-Wl,'
14049 lt_prog_compiler_can_build_shared_FC
=no
14053 lt_prog_compiler_pic_FC
='-pic'
14054 lt_prog_compiler_static_FC
='-Bstatic'
14058 lt_prog_compiler_can_build_shared_FC
=no
14064 # For platforms which do not support PIC, -DPIC is meaningless:
14066 lt_prog_compiler_pic_FC
=
14069 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14073 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14078 # Check to make sure the PIC flag actually works.
14080 if test -n "$lt_prog_compiler_pic_FC"; then
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14082 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14083 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14084 $as_echo_n "(cached) " >&6
14086 lt_cv_prog_compiler_pic_works_FC
=no
14087 ac_outfile
=conftest.
$ac_objext
14088 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14089 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14090 # Insert the option either (1) after the last *FLAGS variable, or
14091 # (2) before a word containing "conftest.", or (3) at the end.
14092 # Note that $ac_compile itself does not contain backslashes and begins
14093 # with a dollar sign (not a hyphen), so the echo should work correctly.
14094 # The option is referenced via a variable to avoid confusing sed.
14095 lt_compile
=`echo "$ac_compile" | $SED \
14096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14098 -e 's:$: $lt_compiler_flag:'`
14099 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14100 (eval "$lt_compile" 2>conftest.err
)
14102 cat conftest.err
>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 if (exit $ac_status) && test -s "$ac_outfile"; then
14105 # The compiler can only warn and ignore the option if not recognized
14106 # So say no if there are warnings other than the usual output.
14107 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14108 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14109 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14110 lt_cv_prog_compiler_pic_works_FC
=yes
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14117 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14119 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14120 case $lt_prog_compiler_pic_FC in
14122 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14125 lt_prog_compiler_pic_FC
=
14126 lt_prog_compiler_can_build_shared_FC
=no
14134 # Check to make sure the static flag actually works.
14136 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14138 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14139 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14140 $as_echo_n "(cached) " >&6
14142 lt_cv_prog_compiler_static_works_FC
=no
14143 save_LDFLAGS
="$LDFLAGS"
14144 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14145 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14146 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14147 # The linker can only warn and ignore the option if not recognized
14148 # So say no if there are warnings
14149 if test -s conftest.err
; then
14150 # Append any errors to the config.log.
14151 cat conftest.err
1>&5
14152 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14153 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14154 if diff conftest.exp conftest.er2
>/dev
/null
; then
14155 lt_cv_prog_compiler_static_works_FC
=yes
14158 lt_cv_prog_compiler_static_works_FC
=yes
14162 LDFLAGS
="$save_LDFLAGS"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14166 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14168 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14171 lt_prog_compiler_static_FC
=
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14178 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14179 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14180 $as_echo_n "(cached) " >&6
14182 lt_cv_prog_compiler_c_o_FC
=no
14183 $RM -r conftest
2>/dev
/null
14187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14189 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14190 # Insert the option either (1) after the last *FLAGS variable, or
14191 # (2) before a word containing "conftest.", or (3) at the end.
14192 # Note that $ac_compile itself does not contain backslashes and begins
14193 # with a dollar sign (not a hyphen), so the echo should work correctly.
14194 lt_compile
=`echo "$ac_compile" | $SED \
14195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14197 -e 's:$: $lt_compiler_flag:'`
14198 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14199 (eval "$lt_compile" 2>out
/conftest.err
)
14201 cat out
/conftest.err
>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14205 # The compiler can only warn and ignore the option if not recognized
14206 # So say no if there are warnings
14207 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14208 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14209 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14210 lt_cv_prog_compiler_c_o_FC
=yes
14215 # SGI C++ compiler will create directory out/ii_files/ for
14216 # template instantiation
14217 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14218 $RM out
/* && rmdir out
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14225 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14230 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14231 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14232 $as_echo_n "(cached) " >&6
14234 lt_cv_prog_compiler_c_o_FC
=no
14235 $RM -r conftest
2>/dev
/null
14239 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14241 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14242 # Insert the option either (1) after the last *FLAGS variable, or
14243 # (2) before a word containing "conftest.", or (3) at the end.
14244 # Note that $ac_compile itself does not contain backslashes and begins
14245 # with a dollar sign (not a hyphen), so the echo should work correctly.
14246 lt_compile
=`echo "$ac_compile" | $SED \
14247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14249 -e 's:$: $lt_compiler_flag:'`
14250 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14251 (eval "$lt_compile" 2>out
/conftest.err
)
14253 cat out
/conftest.err
>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14257 # The compiler can only warn and ignore the option if not recognized
14258 # So say no if there are warnings
14259 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14260 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14261 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14262 lt_cv_prog_compiler_c_o_FC
=yes
14267 # SGI C++ compiler will create directory out/ii_files/ for
14268 # template instantiation
14269 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14270 $RM out
/* && rmdir out
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14277 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14282 hard_links
="nottested"
14283 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14284 # do not overwrite the value of need_locks provided by the user
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14286 $as_echo_n "checking if we can lock with hard links... " >&6; }
14289 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14291 ln conftest.a conftest.b
2>&5 || hard_links
=no
14292 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14294 $as_echo "$hard_links" >&6; }
14295 if test "$hard_links" = no
; then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14297 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14307 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14310 allow_undefined_flag_FC
=
14311 always_export_symbols_FC
=no
14313 archive_expsym_cmds_FC
=
14314 compiler_needs_object_FC
=no
14315 enable_shared_with_static_runtimes_FC
=no
14316 export_dynamic_flag_spec_FC
=
14317 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14318 hardcode_automatic_FC
=no
14319 hardcode_direct_FC
=no
14320 hardcode_direct_absolute_FC
=no
14321 hardcode_libdir_flag_spec_FC
=
14322 hardcode_libdir_flag_spec_ld_FC
=
14323 hardcode_libdir_separator_FC
=
14324 hardcode_minus_L_FC
=no
14325 hardcode_shlibpath_var_FC
=unsupported
14326 inherit_rpath_FC
=no
14327 link_all_deplibs_FC
=unknown
14329 module_expsym_cmds_FC
=
14330 old_archive_from_new_cmds_FC
=
14331 old_archive_from_expsyms_cmds_FC
=
14332 thread_safe_flag_spec_FC
=
14333 whole_archive_flag_spec_FC
=
14334 # include_expsyms should be a list of space-separated symbols to be *always*
14335 # included in the symbol list
14336 include_expsyms_FC
=
14337 # exclude_expsyms can be an extended regexp of symbols to exclude
14338 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14339 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14340 # as well as any symbol that contains `d'.
14341 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14342 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14343 # platforms (ab)use it in PIC code, but their linkers get confused if
14344 # the symbol is explicitly referenced. Since portable code cannot
14345 # rely on this symbol name, it's probably fine to never include it in
14346 # preloaded symbol tables.
14347 # Exclude shared library initialization/finalization symbols.
14348 extract_expsyms_cmds
=
14351 cygwin
* | mingw
* | pw32
* | cegcc
*)
14352 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14353 # When not using gcc, we currently assume that we are using
14354 # Microsoft Visual C++.
14355 if test "$GCC" != yes; then
14360 # we just hope/assume this is gcc and not c89 (= MSVC++)
14370 # On some targets, GNU ld is compatible enough with the native linker
14371 # that we're better off using the native interface for both.
14372 lt_use_gnu_ld_interface
=no
14373 if test "$with_gnu_ld" = yes; then
14376 # The AIX port of GNU ld has always aspired to compatibility
14377 # with the native linker. However, as the warning in the GNU ld
14378 # block says, versions before 2.19.5* couldn't really create working
14379 # shared libraries, regardless of the interface used.
14380 case `$LD -v 2>&1` in
14381 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14382 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14383 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14385 lt_use_gnu_ld_interface
=yes
14390 lt_use_gnu_ld_interface
=yes
14395 if test "$lt_use_gnu_ld_interface" = yes; then
14396 # If archive_cmds runs LD, not CC, wlarc should be empty
14399 # Set some defaults for GNU ld with shared library support. These
14400 # are reset later if shared libraries are not supported. Putting them
14401 # here allows them to be overridden if necessary.
14402 runpath_var
=LD_RUN_PATH
14403 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14404 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14405 # ancient GNU ld didn't support --whole-archive et. al.
14406 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14407 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14409 whole_archive_flag_spec_FC
=
14411 supports_anon_versioning
=no
14412 case `$LD -v 2>&1` in
14413 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14414 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14415 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14416 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14417 *\
2.11.
*) ;; # other 2.11 versions
14418 *) supports_anon_versioning
=yes ;;
14421 # See if GNU ld supports shared libraries.
14424 # On AIX/PPC, the GNU linker is very broken
14425 if test "$host_cpu" != ia64
; then
14429 *** Warning: the GNU linker, at least up to release 2.19, is reported
14430 *** to be unable to reliably create shared libraries on AIX.
14431 *** Therefore, libtool is disabling shared libraries support. If you
14432 *** really care for shared libraries, you may want to install binutils
14433 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14434 *** You will then need to restart the configuration process.
14443 # see comment about AmigaOS4 .so support
14444 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14445 archive_expsym_cmds_FC
=''
14448 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)'
14449 hardcode_libdir_flag_spec_FC
='-L$libdir'
14450 hardcode_minus_L_FC
=yes
14456 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14457 allow_undefined_flag_FC
=unsupported
14458 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14459 # support --undefined. This deserves some investigation. FIXME
14460 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14466 cygwin
* | mingw
* | pw32
* | cegcc
*)
14467 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14468 # as there is no search path for DLLs.
14469 hardcode_libdir_flag_spec_FC
='-L$libdir'
14470 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14471 allow_undefined_flag_FC
=unsupported
14472 always_export_symbols_FC
=no
14473 enable_shared_with_static_runtimes_FC
=yes
14474 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14476 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14477 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14478 # If the export-symbols file already is a .def file (1st line
14479 # is EXPORTS), use it as is; otherwise, prepend...
14480 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14481 cp $export_symbols $output_objdir/$soname.def;
14483 echo EXPORTS > $output_objdir/$soname.def;
14484 cat $export_symbols >> $output_objdir/$soname.def;
14486 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14493 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14494 link_all_deplibs_FC
=yes
14498 hardcode_direct_FC
=no
14499 hardcode_shlibpath_var_FC
=no
14500 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14501 export_dynamic_flag_spec_FC
='${wl}-E'
14502 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14503 # Instead, shared libraries are loaded at an image base (0x10000000 by
14504 # default) and relocated if they conflict, which is a slow very memory
14505 # consuming and fragmenting process. To avoid this, we pick a random,
14506 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14507 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14508 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'
14509 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'
14512 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14514 if test "$host_os" = linux-dietlibc
; then
14515 case $cc_basename in
14516 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14519 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14520 && test "$tmp_diet" = no
14522 tmp_addflag
=' $pic_flag'
14523 tmp_sharedflag
='-shared'
14524 case $cc_basename,$host_cpu in
14525 pgcc
*) # Portland Group C compiler
14526 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'
14527 tmp_addflag
=' $pic_flag'
14529 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14530 # Portland Group f77 and f90 compilers
14531 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'
14532 tmp_addflag
=' $pic_flag -Mnomain' ;;
14533 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14534 tmp_addflag
=' -i_dynamic' ;;
14535 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14536 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14537 ifc
* | ifort
*) # Intel Fortran compiler
14538 tmp_addflag
=' -nofor_main' ;;
14539 lf95
*) # Lahey Fortran 8.1
14540 whole_archive_flag_spec_FC
=
14541 tmp_sharedflag
='--shared' ;;
14542 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14543 tmp_sharedflag
='-qmkshrobj'
14545 nvcc
*) # Cuda Compiler Driver 2.2
14546 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'
14547 compiler_needs_object_FC
=yes
14550 case `$CC -V 2>&1 | sed 5q` in
14551 *Sun\ C
*) # Sun C 5.9
14552 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'
14553 compiler_needs_object_FC
=yes
14554 tmp_sharedflag
='-G' ;;
14555 *Sun\ F
*) # Sun Fortran 8.3
14556 tmp_sharedflag
='-G' ;;
14558 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14560 if test "x$supports_anon_versioning" = xyes
; then
14561 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14562 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14563 echo "local: *; };" >> $output_objdir/$libname.ver~
14564 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14567 case $cc_basename in
14568 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14569 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14570 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14571 hardcode_libdir_flag_spec_FC
=
14572 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14573 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14574 if test "x$supports_anon_versioning" = xyes
; then
14575 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14576 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14577 echo "local: *; };" >> $output_objdir/$libname.ver~
14578 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14588 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14589 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14592 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14593 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14598 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14602 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14603 *** create shared libraries on Solaris systems. Therefore, libtool
14604 *** is disabling shared libraries support. We urge you to upgrade GNU
14605 *** binutils to release 2.9.1 or newer. Another option is to modify
14606 *** your PATH or compiler configuration so that the native linker is
14607 *** used, and then restart.
14610 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14611 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14612 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14618 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14619 case `$LD -v 2>&1` in
14620 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14624 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14625 *** reliably create shared libraries on SCO systems. Therefore, libtool
14626 *** is disabling shared libraries support. We urge you to upgrade GNU
14627 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14628 *** your PATH or compiler configuration so that the native linker is
14629 *** used, and then restart.
14634 # For security reasons, it is highly recommended that you always
14635 # use absolute paths for naming shared libraries, and exclude the
14636 # DT_RUNPATH tag from executables and libraries. But doing so
14637 # requires that you compile everything twice, which is a pain.
14638 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14639 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14640 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14641 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14650 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14652 hardcode_direct_FC
=yes
14653 hardcode_shlibpath_var_FC
=no
14657 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14658 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14659 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14666 if test "$ld_shlibs_FC" = no
; then
14668 hardcode_libdir_flag_spec_FC
=
14669 export_dynamic_flag_spec_FC
=
14670 whole_archive_flag_spec_FC
=
14673 # PORTME fill in a description of your system's linker (not GNU ld)
14676 allow_undefined_flag_FC
=unsupported
14677 always_export_symbols_FC
=yes
14678 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'
14679 # Note: this linker hardcodes the directories in LIBPATH if there
14680 # are no directories specified by -L.
14681 hardcode_minus_L_FC
=yes
14682 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14683 # Neither direct hardcoding nor static linking is supported with a
14685 hardcode_direct_FC
=unsupported
14690 if test "$host_cpu" = ia64
; then
14691 # On IA64, the linker does run time linking by default, so we don't
14692 # have to do anything special.
14693 aix_use_runtimelinking
=no
14694 exp_sym_flag
='-Bexport'
14697 # If we're using GNU nm, then we don't want the "-C" option.
14698 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14699 # Also, AIX nm treats weak defined symbols like other global
14700 # defined symbols, whereas GNU nm marks them as "W".
14701 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14702 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'
14704 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'
14706 aix_use_runtimelinking
=no
14708 # Test if we are trying to use run time linking or normal
14709 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14710 # need to do runtime linking.
14711 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14712 for ld_flag
in $LDFLAGS; do
14713 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14714 aix_use_runtimelinking
=yes
14721 exp_sym_flag
='-bexport'
14722 no_entry_flag
='-bnoentry'
14725 # When large executables or shared objects are built, AIX ld can
14726 # have problems creating the table of contents. If linking a library
14727 # or program results in "error TOC overflow" add -mminimal-toc to
14728 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14729 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14732 hardcode_direct_FC
=yes
14733 hardcode_direct_absolute_FC
=yes
14734 hardcode_libdir_separator_FC
=':'
14735 link_all_deplibs_FC
=yes
14736 file_list_spec_FC
='${wl}-f,'
14738 if test "$GCC" = yes; then
14739 case $host_os in aix4.
[012]|aix4.
[012].
*)
14740 # We only want to do this on AIX 4.2 and lower, the check
14741 # below for broken collect2 doesn't work under 4.3+
14742 collect2name
=`${CC} -print-prog-name=collect2`
14743 if test -f "$collect2name" &&
14744 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14746 # We have reworked collect2
14749 # We have old collect2
14750 hardcode_direct_FC
=unsupported
14751 # It fails to find uninstalled libraries when the uninstalled
14752 # path is not listed in the libpath. Setting hardcode_minus_L
14753 # to unsupported forces relinking
14754 hardcode_minus_L_FC
=yes
14755 hardcode_libdir_flag_spec_FC
='-L$libdir'
14756 hardcode_libdir_separator_FC
=
14760 shared_flag
='-shared'
14761 if test "$aix_use_runtimelinking" = yes; then
14762 shared_flag
="$shared_flag "'${wl}-G'
14766 if test "$host_cpu" = ia64
; then
14767 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14768 # chokes on -Wl,-G. The following line is correct:
14771 if test "$aix_use_runtimelinking" = yes; then
14772 shared_flag
='${wl}-G'
14774 shared_flag
='${wl}-bM:SRE'
14779 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14780 # It seems that -bexpall does not export symbols beginning with
14781 # underscore (_), so it is better to generate a list of symbols to export.
14782 always_export_symbols_FC
=yes
14783 if test "$aix_use_runtimelinking" = yes; then
14784 # Warning - without using the other runtime loading flags (-brtl),
14785 # -berok will link without error, but may produce a broken library.
14786 allow_undefined_flag_FC
='-berok'
14787 # Determine the default libpath from the value encoded in an
14788 # empty executable.
14789 if test x
$gcc_no_link = xyes
; then
14790 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14792 cat > conftest.
$ac_ext <<_ACEOF
14797 if ac_fn_fc_try_link
"$LINENO"; then :
14799 lt_aix_libpath_sed
='
14800 /Import File Strings/,/^$/ {
14806 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14807 # Check for a 64-bit object if we didn't find anything.
14808 if test -z "$aix_libpath"; then
14809 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14812 rm -f core conftest.err conftest.
$ac_objext \
14813 conftest
$ac_exeext conftest.
$ac_ext
14814 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14816 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14817 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"
14819 if test "$host_cpu" = ia64
; then
14820 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14821 allow_undefined_flag_FC
="-z nodefs"
14822 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"
14824 # Determine the default libpath from the value encoded in an
14825 # empty executable.
14826 if test x
$gcc_no_link = xyes
; then
14827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14829 cat > conftest.
$ac_ext <<_ACEOF
14834 if ac_fn_fc_try_link
"$LINENO"; then :
14836 lt_aix_libpath_sed
='
14837 /Import File Strings/,/^$/ {
14843 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14844 # Check for a 64-bit object if we didn't find anything.
14845 if test -z "$aix_libpath"; then
14846 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14849 rm -f core conftest.err conftest.
$ac_objext \
14850 conftest
$ac_exeext conftest.
$ac_ext
14851 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14853 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14854 # Warning - without using the other run time loading flags,
14855 # -berok will link without error, but may produce a broken library.
14856 no_undefined_flag_FC
=' ${wl}-bernotok'
14857 allow_undefined_flag_FC
=' ${wl}-berok'
14858 if test "$with_gnu_ld" = yes; then
14859 # We only use this code for GNU lds that support --whole-archive.
14860 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14862 # Exported symbols can be pulled into shared objects from archives
14863 whole_archive_flag_spec_FC
='$convenience'
14865 archive_cmds_need_lc_FC
=yes
14866 # This is similar to how AIX traditionally builds its shared libraries.
14867 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'
14875 # see comment about AmigaOS4 .so support
14876 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14877 archive_expsym_cmds_FC
=''
14880 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)'
14881 hardcode_libdir_flag_spec_FC
='-L$libdir'
14882 hardcode_minus_L_FC
=yes
14888 export_dynamic_flag_spec_FC
=-rdynamic
14891 cygwin
* | mingw
* | pw32
* | cegcc
*)
14892 # When not using gcc, we currently assume that we are using
14893 # Microsoft Visual C++.
14894 # hardcode_libdir_flag_spec is actually meaningless, as there is
14895 # no search path for DLLs.
14896 hardcode_libdir_flag_spec_FC
=' '
14897 allow_undefined_flag_FC
=unsupported
14898 # Tell ltmain to make .lib files, not .a files.
14900 # Tell ltmain to make .dll files, not .so files.
14902 # FIXME: Setting linknames here is a bad hack.
14903 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14904 # The linker will automatically build a .lib file if we build a DLL.
14905 old_archive_from_new_cmds_FC
='true'
14906 # FIXME: Should let the user specify the lib program.
14907 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14908 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14909 enable_shared_with_static_runtimes_FC
=yes
14912 darwin
* | rhapsody
*)
14915 archive_cmds_need_lc_FC
=no
14916 hardcode_direct_FC
=no
14917 hardcode_automatic_FC
=yes
14918 hardcode_shlibpath_var_FC
=unsupported
14919 if test "$lt_cv_ld_force_load" = "yes"; then
14920 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\"`'
14922 whole_archive_flag_spec_FC
=''
14924 link_all_deplibs_FC
=yes
14925 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14926 case $cc_basename in
14927 ifort
*) _lt_dar_can_shared
=yes ;;
14928 *) _lt_dar_can_shared
=$GCC ;;
14930 if test "$_lt_dar_can_shared" = "yes"; then
14931 output_verbose_link_cmd
=func_echo_all
14932 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}"
14933 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14934 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}"
14935 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}"
14944 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14945 hardcode_libdir_flag_spec_FC
='-L$libdir'
14946 hardcode_shlibpath_var_FC
=no
14949 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14950 # support. Future versions do this automatically, but an explicit c++rt0.o
14951 # does not break anything, and helps significantly (at the cost of a little
14954 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14955 hardcode_libdir_flag_spec_FC
='-R$libdir'
14956 hardcode_direct_FC
=yes
14957 hardcode_shlibpath_var_FC
=no
14960 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14962 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14963 hardcode_direct_FC
=yes
14964 hardcode_minus_L_FC
=yes
14965 hardcode_shlibpath_var_FC
=no
14968 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14969 freebsd
* | dragonfly
*)
14970 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14971 hardcode_libdir_flag_spec_FC
='-R$libdir'
14972 hardcode_direct_FC
=yes
14973 hardcode_shlibpath_var_FC
=no
14977 if test "$GCC" = yes; then
14978 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'
14980 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'
14982 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14983 hardcode_libdir_separator_FC
=:
14984 hardcode_direct_FC
=yes
14986 # hardcode_minus_L: Not really in the search PATH,
14987 # but as the default location of the library.
14988 hardcode_minus_L_FC
=yes
14989 export_dynamic_flag_spec_FC
='${wl}-E'
14993 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14994 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14996 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14998 if test "$with_gnu_ld" = no
; then
14999 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15000 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15001 hardcode_libdir_separator_FC
=:
15002 hardcode_direct_FC
=yes
15003 hardcode_direct_absolute_FC
=yes
15004 export_dynamic_flag_spec_FC
='${wl}-E'
15005 # hardcode_minus_L: Not really in the search PATH,
15006 # but as the default location of the library.
15007 hardcode_minus_L_FC
=yes
15012 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15015 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15018 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15021 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15027 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15030 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15033 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15037 if test "$with_gnu_ld" = no
; then
15038 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15039 hardcode_libdir_separator_FC
=:
15043 hardcode_direct_FC
=no
15044 hardcode_shlibpath_var_FC
=no
15047 hardcode_direct_FC
=yes
15048 hardcode_direct_absolute_FC
=yes
15049 export_dynamic_flag_spec_FC
='${wl}-E'
15051 # hardcode_minus_L: Not really in the search PATH,
15052 # but as the default location of the library.
15053 hardcode_minus_L_FC
=yes
15059 irix5
* | irix6
* | nonstopux
*)
15060 if test "$GCC" = yes; then
15061 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'
15062 # Try to use the -exported_symbol ld option, if it does not
15063 # work, assume that -exports_file does not work either and
15064 # implicitly export all symbols.
15065 save_LDFLAGS
="$LDFLAGS"
15066 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15067 if test x
$gcc_no_link = xyes
; then
15068 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15070 cat > conftest.
$ac_ext <<_ACEOF
15073 if ac_fn_fc_try_link
"$LINENO"; then :
15074 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'
15077 rm -f core conftest.err conftest.
$ac_objext \
15078 conftest
$ac_exeext conftest.
$ac_ext
15079 LDFLAGS
="$save_LDFLAGS"
15081 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'
15082 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'
15084 archive_cmds_need_lc_FC
='no'
15085 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15086 hardcode_libdir_separator_FC
=:
15087 inherit_rpath_FC
=yes
15088 link_all_deplibs_FC
=yes
15092 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15093 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15095 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15097 hardcode_libdir_flag_spec_FC
='-R$libdir'
15098 hardcode_direct_FC
=yes
15099 hardcode_shlibpath_var_FC
=no
15103 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15104 hardcode_direct_FC
=yes
15105 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15106 hardcode_libdir_separator_FC
=:
15107 hardcode_shlibpath_var_FC
=no
15114 if test -f /usr
/libexec
/ld.so
; then
15115 hardcode_direct_FC
=yes
15116 hardcode_shlibpath_var_FC
=no
15117 hardcode_direct_absolute_FC
=yes
15118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15119 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15120 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15121 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15122 export_dynamic_flag_spec_FC
='${wl}-E'
15125 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15126 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_libdir_flag_spec_FC
='-R$libdir'
15130 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15131 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15141 hardcode_libdir_flag_spec_FC
='-L$libdir'
15142 hardcode_minus_L_FC
=yes
15143 allow_undefined_flag_FC
=unsupported
15144 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'
15145 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15149 if test "$GCC" = yes; then
15150 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15151 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'
15153 allow_undefined_flag_FC
=' -expect_unresolved \*'
15154 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'
15156 archive_cmds_need_lc_FC
='no'
15157 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15158 hardcode_libdir_separator_FC
=:
15161 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15162 if test "$GCC" = yes; then
15163 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15164 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'
15165 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15167 allow_undefined_flag_FC
=' -expect_unresolved \*'
15168 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'
15169 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~
15170 $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'
15172 # Both c and cxx compiler support -rpath directly
15173 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15175 archive_cmds_need_lc_FC
='no'
15176 hardcode_libdir_separator_FC
=:
15180 no_undefined_flag_FC
=' -z defs'
15181 if test "$GCC" = yes; then
15183 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15184 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15185 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15187 case `$CC -V 2>&1` in
15190 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15191 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15192 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15196 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15197 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15198 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15202 hardcode_libdir_flag_spec_FC
='-R$libdir'
15203 hardcode_shlibpath_var_FC
=no
15205 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15207 # The compiler driver will combine and reorder linker options,
15208 # but understands `-z linker_flag'. GCC discards it without `$wl',
15209 # but is careful enough not to reorder.
15210 # Supported since Solaris 2.6 (maybe 2.5.1?)
15211 if test "$GCC" = yes; then
15212 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15214 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15218 link_all_deplibs_FC
=yes
15222 if test "x$host_vendor" = xsequent
; then
15223 # Use $CC to link under sequent, because it throws in some extra .o
15224 # files that make .init and .fini sections work.
15225 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15227 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15229 hardcode_libdir_flag_spec_FC
='-L$libdir'
15230 hardcode_direct_FC
=yes
15231 hardcode_minus_L_FC
=yes
15232 hardcode_shlibpath_var_FC
=no
15236 case $host_vendor in
15238 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15239 hardcode_direct_FC
=yes # is this really true???
15242 ## LD is ld it makes a PLAMLIB
15243 ## CC just makes a GrossModule.
15244 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15245 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15246 hardcode_direct_FC
=no
15249 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15250 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15253 runpath_var
='LD_RUN_PATH'
15254 hardcode_shlibpath_var_FC
=no
15258 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15259 hardcode_shlibpath_var_FC
=no
15260 export_dynamic_flag_spec_FC
='-Bexport'
15264 if test -d /usr
/nec
; then
15265 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15266 hardcode_shlibpath_var_FC
=no
15267 runpath_var
=LD_RUN_PATH
15268 hardcode_runpath_var
=yes
15273 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15274 no_undefined_flag_FC
='${wl}-z,text'
15275 archive_cmds_need_lc_FC
=no
15276 hardcode_shlibpath_var_FC
=no
15277 runpath_var
='LD_RUN_PATH'
15279 if test "$GCC" = yes; then
15280 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15281 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15283 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15284 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15288 sysv5
* | sco3.2v5
* | sco5v6
*)
15289 # Note: We can NOT use -z defs as we might desire, because we do not
15290 # link with -lc, and that would cause any symbols used from libc to
15291 # always be unresolved, which means just about no library would
15292 # ever link correctly. If we're not using GNU ld we use -z text
15293 # though, which does catch some bad symbols but isn't as heavy-handed
15295 no_undefined_flag_FC
='${wl}-z,text'
15296 allow_undefined_flag_FC
='${wl}-z,nodefs'
15297 archive_cmds_need_lc_FC
=no
15298 hardcode_shlibpath_var_FC
=no
15299 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15300 hardcode_libdir_separator_FC
=':'
15301 link_all_deplibs_FC
=yes
15302 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15303 runpath_var
='LD_RUN_PATH'
15305 if test "$GCC" = yes; then
15306 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15307 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15309 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15310 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15315 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15316 hardcode_libdir_flag_spec_FC
='-L$libdir'
15317 hardcode_shlibpath_var_FC
=no
15325 if test x
$host_vendor = xsni
; then
15327 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15328 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15335 $as_echo "$ld_shlibs_FC" >&6; }
15336 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15338 with_gnu_ld_FC
=$with_gnu_ld
15346 # Do we need to explicitly link libc?
15348 case "x$archive_cmds_need_lc_FC" in
15350 # Assume -lc should be added
15351 archive_cmds_need_lc_FC
=yes
15353 if test "$enable_shared" = yes && test "$GCC" = yes; then
15354 case $archive_cmds_FC in
15356 # FIXME: we may have to deal with multi-command sequences.
15359 # Test whether the compiler implicitly links with -lc since on some
15360 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15361 # to ld, don't add -lc before -lgcc.
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15363 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15364 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15365 $as_echo_n "(cached) " >&6
15368 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15371 (eval $ac_compile) 2>&5
15373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15374 test $ac_status = 0; } 2>conftest.err
; then
15377 libobjs
=conftest.
$ac_objext
15379 wl
=$lt_prog_compiler_wl_FC
15380 pic_flag
=$lt_prog_compiler_pic_FC
15386 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15387 allow_undefined_flag_FC
=
15388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15389 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15392 test $ac_status = 0; }
15394 lt_cv_archive_cmds_need_lc_FC
=no
15396 lt_cv_archive_cmds_need_lc_FC
=yes
15398 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15400 cat conftest.err
1>&5
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15406 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15407 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15478 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15480 library_names_spec
=
15481 libname_spec
='lib$name'
15485 postuninstall_cmds
=
15489 shlibpath_overrides_runpath
=unknown
15491 dynamic_linker
="$host_os ld.so"
15492 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15493 need_lib_prefix
=unknown
15494 hardcode_into_libs
=no
15496 # when you set need_version to no, make sure it does not cause -set_version
15497 # flags to be left without arguments
15498 need_version
=unknown
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15504 shlibpath_var
=LIBPATH
15506 # AIX 3 has no versioning support, so we append a major version to the name.
15507 soname_spec
='${libname}${release}${shared_ext}$major'
15514 hardcode_into_libs
=yes
15515 if test "$host_cpu" = ia64
; then
15516 # AIX 5 supports IA64
15517 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15518 shlibpath_var
=LD_LIBRARY_PATH
15520 # With GCC up to 2.95.x, collect2 would create an import file
15521 # for dependence libraries. The import file would start with
15522 # the line `#! .'. This would cause the generated library to
15523 # depend on `.', always an invalid library. This was fixed in
15524 # development snapshots of GCC prior to 3.0.
15526 aix4 | aix4.
[01] | aix4.
[01].
*)
15527 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15529 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15532 can_build_shared
=no
15536 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15537 # soname into executable. Probably we can add versioning support to
15538 # collect2, so additional links can be useful in future.
15539 if test "$aix_use_runtimelinking" = yes; then
15540 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15541 # instead of lib<name>.a to let people know that these are not
15542 # typical AIX shared libraries.
15543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15545 # We preserve .a as extension for shared libraries through AIX4.2
15546 # and later when we are not doing run time linking.
15547 library_names_spec
='${libname}${release}.a $libname.a'
15548 soname_spec
='${libname}${release}${shared_ext}$major'
15550 shlibpath_var
=LIBPATH
15557 # Since July 2007 AmigaOS4 officially supports .so libraries.
15558 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 library_names_spec
='$libname.ixlibrary $libname.a'
15563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15564 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'
15570 library_names_spec
='${libname}${shared_ext}'
15571 dynamic_linker
="$host_os ld.so"
15572 shlibpath_var
=LIBRARY_PATH
15578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15579 soname_spec
='${libname}${release}${shared_ext}$major'
15580 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15581 shlibpath_var
=LD_LIBRARY_PATH
15582 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15583 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15584 # the default ld.so.conf also contains /usr/contrib/lib and
15585 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15586 # libtool to hard-code these into programs
15589 cygwin
* | mingw
* | pw32
* | cegcc
*)
15590 version_type
=windows
15595 case $GCC,$host_os in
15596 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15597 library_names_spec
='$libname.dll.a'
15598 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15599 postinstall_cmds
='base_file=`basename \${file}`~
15600 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15601 dldir=$destdir/`dirname \$dlpath`~
15602 test -d \$dldir || mkdir -p \$dldir~
15603 $install_prog $dir/$dlname \$dldir/$dlname~
15604 chmod a+x \$dldir/$dlname~
15605 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15606 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15608 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15609 dlpath=$dir/\$dldll~
15611 shlibpath_overrides_runpath
=yes
15615 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15616 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15620 # MinGW DLLs use traditional 'lib' prefix
15621 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15624 # pw32 DLLs use 'pw' prefix rather than 'lib'
15625 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15631 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15634 dynamic_linker
='Win32 ld.exe'
15635 # FIXME: first we should search . and the directory the executable is in
15639 darwin
* | rhapsody
*)
15640 dynamic_linker
="$host_os dyld"
15641 version_type
=darwin
15644 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15645 soname_spec
='${libname}${release}${major}$shared_ext'
15646 shlibpath_overrides_runpath
=yes
15647 shlibpath_var
=DYLD_LIBRARY_PATH
15648 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15650 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15658 soname_spec
='${libname}${release}${shared_ext}$major'
15659 shlibpath_var
=LD_LIBRARY_PATH
15662 freebsd
* | dragonfly
*)
15663 # DragonFly does not have aout. When/if they implement a new
15664 # versioning mechanism, adjust this.
15665 if test -x /usr
/bin
/objformat
; then
15666 objformat
=`/usr/bin/objformat`
15669 freebsd
[23].
*) objformat
=aout
;;
15670 *) objformat
=elf
;;
15673 version_type
=freebsd-
$objformat
15674 case $version_type in
15676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15685 shlibpath_var
=LD_LIBRARY_PATH
15688 shlibpath_overrides_runpath
=yes
15690 freebsd3.
[01]* | freebsdelf3.
[01]*)
15691 shlibpath_overrides_runpath
=yes
15692 hardcode_into_libs
=yes
15694 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15695 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15696 shlibpath_overrides_runpath
=no
15697 hardcode_into_libs
=yes
15699 *) # from 4.6 on, and DragonFly
15700 shlibpath_overrides_runpath
=yes
15701 hardcode_into_libs
=yes
15710 dynamic_linker
="$host_os runtime_loader"
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15712 soname_spec
='${libname}${release}${shared_ext}$major'
15713 shlibpath_var
=LIBRARY_PATH
15714 shlibpath_overrides_runpath
=yes
15715 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15716 hardcode_into_libs
=yes
15719 hpux9
* | hpux10
* | hpux11
*)
15720 # Give a soname corresponding to the major version so that dld.sl refuses to
15721 # link against other versions.
15728 hardcode_into_libs
=yes
15729 dynamic_linker
="$host_os dld.so"
15730 shlibpath_var
=LD_LIBRARY_PATH
15731 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15733 soname_spec
='${libname}${release}${shared_ext}$major'
15734 if test "X$HPUX_IA64_MODE" = X32
; then
15735 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15737 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15739 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15743 hardcode_into_libs
=yes
15744 dynamic_linker
="$host_os dld.sl"
15745 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15746 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15748 soname_spec
='${libname}${release}${shared_ext}$major'
15749 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15750 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15754 dynamic_linker
="$host_os dld.sl"
15755 shlibpath_var
=SHLIB_PATH
15756 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 soname_spec
='${libname}${release}${shared_ext}$major'
15761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15762 postinstall_cmds
='chmod 555 $lib'
15763 # or fails outright, so override atomically:
15764 install_override_mode
=555
15771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15772 soname_spec
='${libname}${release}${shared_ext}$major'
15773 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15774 shlibpath_var
=LD_LIBRARY_PATH
15775 shlibpath_overrides_runpath
=no
15776 hardcode_into_libs
=yes
15779 irix5
* | irix6
* | nonstopux
*)
15781 nonstopux
*) version_type
=nonstopux
;;
15783 if test "$lt_cv_prog_gnu_ld" = yes; then
15791 soname_spec
='${libname}${release}${shared_ext}$major'
15792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15794 irix5
* | nonstopux
*)
15795 libsuff
= shlibsuff
=
15798 case $LD in # libtool.m4 will add one of these switches to LD
15799 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15800 libsuff
= shlibsuff
= libmagic
=32-bit;;
15801 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15802 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15803 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15804 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15805 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15809 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15810 shlibpath_overrides_runpath
=no
15811 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15812 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15813 hardcode_into_libs
=yes
15816 # No shared lib support for Linux oldld, aout, or coff.
15817 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15821 # This must be Linux ELF.
15823 # uclinux* changes (here and below) have been submitted to the libtool
15824 # project, but have not yet been accepted: they are GCC-local changes
15825 # for the time being. (See
15826 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15827 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15832 soname_spec
='${libname}${release}${shared_ext}$major'
15833 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15834 shlibpath_var
=LD_LIBRARY_PATH
15835 shlibpath_overrides_runpath
=no
15837 # Some binutils ld are patched to set DT_RUNPATH
15838 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15839 $as_echo_n "(cached) " >&6
15841 lt_cv_shlibpath_overrides_runpath
=no
15842 save_LDFLAGS
=$LDFLAGS
15843 save_libdir
=$libdir
15844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15846 if test x
$gcc_no_link = xyes
; then
15847 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15849 cat > conftest.
$ac_ext <<_ACEOF
15854 if ac_fn_fc_try_link
"$LINENO"; then :
15855 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15856 lt_cv_shlibpath_overrides_runpath
=yes
15859 rm -f core conftest.err conftest.
$ac_objext \
15860 conftest
$ac_exeext conftest.
$ac_ext
15861 LDFLAGS
=$save_LDFLAGS
15862 libdir
=$save_libdir
15866 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15868 # This implies no fast_install, which is unacceptable.
15869 # Some rework will be needed to allow for fast_install
15870 # before this can be enabled.
15871 hardcode_into_libs
=yes
15873 # Append ld.so.conf contents to the search path
15874 if test -f /etc
/ld.so.conf
; then
15875 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' ' '`
15876 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15879 # We used to test for /lib/ld.so.1 and disable shared libraries on
15880 # powerpc, because MkLinux only supported shared libraries with the
15881 # GNU dynamic linker. Since this was broken with cross compilers,
15882 # most powerpc-linux boxes support dynamic linking these days and
15883 # people can always --disable-shared, the test was removed, and we
15884 # assume the GNU/Linux dynamic linker is in use.
15885 dynamic_linker
='GNU/Linux ld.so'
15892 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15894 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15895 dynamic_linker
='NetBSD (a.out) ld.so'
15897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15898 soname_spec
='${libname}${release}${shared_ext}$major'
15899 dynamic_linker
='NetBSD ld.elf_so'
15901 shlibpath_var
=LD_LIBRARY_PATH
15902 shlibpath_overrides_runpath
=yes
15903 hardcode_into_libs
=yes
15908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15909 shlibpath_var
=LD_LIBRARY_PATH
15910 shlibpath_overrides_runpath
=yes
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15918 soname_spec
='${libname}${release}${shared_ext}$major'
15919 shlibpath_var
=LD_LIBRARY_PATH
15920 shlibpath_overrides_runpath
=no
15921 hardcode_into_libs
=yes
15922 dynamic_linker
='ldqnx.so'
15927 sys_lib_dlsearch_path_spec
="/usr/lib"
15929 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15931 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15932 *) need_version
=no
;;
15934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15935 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15936 shlibpath_var
=LD_LIBRARY_PATH
15937 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15939 openbsd2.
[89] | openbsd2.
[89].
*)
15940 shlibpath_overrides_runpath
=no
15943 shlibpath_overrides_runpath
=yes
15947 shlibpath_overrides_runpath
=yes
15952 libname_spec
='$name'
15955 library_names_spec
='$libname${shared_ext} $libname.a'
15956 dynamic_linker
='OS/2 ld.exe'
15957 shlibpath_var
=LIBPATH
15960 osf3
* | osf4
* | osf5
*)
15964 soname_spec
='${libname}${release}${shared_ext}$major'
15965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15966 shlibpath_var
=LD_LIBRARY_PATH
15967 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15968 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15980 soname_spec
='${libname}${release}${shared_ext}$major'
15981 shlibpath_var
=LD_LIBRARY_PATH
15982 shlibpath_overrides_runpath
=yes
15983 hardcode_into_libs
=yes
15984 # ldd complains unless libraries are executable
15985 postinstall_cmds
='chmod +x $lib'
15990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15991 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15992 shlibpath_var
=LD_LIBRARY_PATH
15993 shlibpath_overrides_runpath
=yes
15994 if test "$with_gnu_ld" = yes; then
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 case $host_vendor in
16007 shlibpath_overrides_runpath
=no
16009 runpath_var
=LD_RUN_PATH
16017 shlibpath_overrides_runpath
=no
16018 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16024 if test -d /usr
/nec
;then
16026 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16027 soname_spec
='$libname${shared_ext}.$major'
16028 shlibpath_var
=LD_LIBRARY_PATH
16032 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16033 version_type
=freebsd-elf
16036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16037 soname_spec
='${libname}${release}${shared_ext}$major'
16038 shlibpath_var
=LD_LIBRARY_PATH
16039 shlibpath_overrides_runpath
=yes
16040 hardcode_into_libs
=yes
16041 if test "$with_gnu_ld" = yes; then
16042 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16044 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16047 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16051 sys_lib_dlsearch_path_spec
='/usr/lib'
16055 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16060 shlibpath_var
=LD_LIBRARY_PATH
16061 shlibpath_overrides_runpath
=no
16062 hardcode_into_libs
=yes
16067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16068 soname_spec
='${libname}${release}${shared_ext}$major'
16069 shlibpath_var
=LD_LIBRARY_PATH
16072 # Shared libraries for VwWorks, >= 7 only at this stage
16073 # and (fpic) still incompatible with "large" code models
16074 # in a few configurations. Only for RTP mode in any case,
16075 # and upon explicit request at configure time.
16078 case ${with_multisubdir}-${enable_shared} in
16085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16086 soname_spec
='${libname}${release}${shared_ext}$major'
16087 dynamic_linker
="$host_os module_loader"
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16096 $as_echo "$dynamic_linker" >&6; }
16097 test "$dynamic_linker" = no
&& can_build_shared
=no
16099 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16100 if test "$GCC" = yes; then
16101 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16105 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16107 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16108 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16149 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16150 hardcode_action_FC
=
16151 if test -n "$hardcode_libdir_flag_spec_FC" ||
16152 test -n "$runpath_var_FC" ||
16153 test "X$hardcode_automatic_FC" = "Xyes" ; then
16155 # We can hardcode non-existent directories.
16156 if test "$hardcode_direct_FC" != no
&&
16157 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16158 # have to relink, otherwise we might link with an installed library
16159 # when we should be linking with a yet-to-be-installed one
16160 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16161 test "$hardcode_minus_L_FC" != no
; then
16162 # Linking always hardcodes the temporary library directory.
16163 hardcode_action_FC
=relink
16165 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16166 hardcode_action_FC
=immediate
16169 # We cannot hardcode anything, or else we can only hardcode existing
16171 hardcode_action_FC
=unsupported
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16174 $as_echo "$hardcode_action_FC" >&6; }
16176 if test "$hardcode_action_FC" = relink ||
16177 test "$inherit_rpath_FC" = yes; then
16178 # Fast installation is not supported
16179 enable_fast_install
=no
16180 elif test "$shlibpath_overrides_runpath" = yes ||
16181 test "$enable_shared" = no
; then
16182 # Fast installation is not necessary
16183 enable_fast_install
=needless
16192 fi # test -n "$compiler"
16196 fi # test "$_lt_disable_FC" != yes
16199 ac_cpp
='$CPP $CPPFLAGS'
16200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16206 # extra LD Flags which are required for targets
16209 # Darwin needs -single_module when linking libgfortran
16210 extra_ldflags_libgfortran
=-Wl,-single_module
16215 # We need a working compiler at that point, otherwise give a clear
16216 # error message and bail out.
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16219 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16220 ac_ext
=${ac_fc_srcext-f}
16221 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16222 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16223 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16225 cat > conftest.
$ac_ext <<_ACEOF
16228 real, parameter :: bar = sin (12.34 / 2.5)
16231 if ac_fn_fc_try_compile
"$LINENO"; then :
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16233 $as_echo "yes" >&6; }
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16236 $as_echo "no" >&6; }
16237 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16242 ac_cpp
='$CPP $CPPFLAGS'
16243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16249 # Check whether --enable-largefile was given.
16250 if test "${enable_largefile+set}" = set; then :
16251 enableval
=$enable_largefile;
16254 if test "$enable_largefile" != no
; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16257 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16258 if ${ac_cv_sys_largefile_CC+:} false
; then :
16259 $as_echo_n "(cached) " >&6
16261 ac_cv_sys_largefile_CC
=no
16262 if test "$GCC" != yes; then
16265 # IRIX 6.2 and later do not support large files by default,
16266 # so use the C compiler's -n32 option if that helps.
16267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269 #include <sys/types.h>
16270 /* Check that off_t can represent 2**63 - 1 correctly.
16271 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16272 since some C++ compilers masquerading as C compilers
16273 incorrectly reject 9223372036854775807. */
16274 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16275 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16276 && LARGE_OFF_T % 2147483647 == 1)
16286 if ac_fn_c_try_compile
"$LINENO"; then :
16289 rm -f core conftest.err conftest.
$ac_objext
16291 if ac_fn_c_try_compile
"$LINENO"; then :
16292 ac_cv_sys_largefile_CC
=' -n32'; break
16294 rm -f core conftest.err conftest.
$ac_objext
16298 rm -f conftest.
$ac_ext
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16302 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16303 if test "$ac_cv_sys_largefile_CC" != no
; then
16304 CC
=$CC$ac_cv_sys_largefile_CC
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16308 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16309 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16310 $as_echo_n "(cached) " >&6
16313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16315 #include <sys/types.h>
16316 /* Check that off_t can represent 2**63 - 1 correctly.
16317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16318 since some C++ compilers masquerading as C compilers
16319 incorrectly reject 9223372036854775807. */
16320 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16322 && LARGE_OFF_T % 2147483647 == 1)
16332 if ac_fn_c_try_compile
"$LINENO"; then :
16333 ac_cv_sys_file_offset_bits
=no
; break
16335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #define _FILE_OFFSET_BITS 64
16339 #include <sys/types.h>
16340 /* Check that off_t can represent 2**63 - 1 correctly.
16341 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16342 since some C++ compilers masquerading as C compilers
16343 incorrectly reject 9223372036854775807. */
16344 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16345 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16346 && LARGE_OFF_T % 2147483647 == 1)
16356 if ac_fn_c_try_compile
"$LINENO"; then :
16357 ac_cv_sys_file_offset_bits
=64; break
16359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16360 ac_cv_sys_file_offset_bits
=unknown
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16365 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16366 case $ac_cv_sys_file_offset_bits in #(
16369 cat >>confdefs.h
<<_ACEOF
16370 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16375 if test $ac_cv_sys_file_offset_bits = unknown
; then
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16377 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16378 if ${ac_cv_sys_large_files+:} false
; then :
16379 $as_echo_n "(cached) " >&6
16382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #include <sys/types.h>
16385 /* Check that off_t can represent 2**63 - 1 correctly.
16386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16387 since some C++ compilers masquerading as C compilers
16388 incorrectly reject 9223372036854775807. */
16389 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16391 && LARGE_OFF_T % 2147483647 == 1)
16401 if ac_fn_c_try_compile
"$LINENO"; then :
16402 ac_cv_sys_large_files
=no
; break
16404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #define _LARGE_FILES 1
16408 #include <sys/types.h>
16409 /* Check that off_t can represent 2**63 - 1 correctly.
16410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16411 since some C++ compilers masquerading as C compilers
16412 incorrectly reject 9223372036854775807. */
16413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16415 && LARGE_OFF_T % 2147483647 == 1)
16425 if ac_fn_c_try_compile
"$LINENO"; then :
16426 ac_cv_sys_large_files
=1; break
16428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16429 ac_cv_sys_large_files
=unknown
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16434 $as_echo "$ac_cv_sys_large_files" >&6; }
16435 case $ac_cv_sys_large_files in #(
16438 cat >>confdefs.h
<<_ACEOF
16439 #define _LARGE_FILES $ac_cv_sys_large_files
16451 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16452 if test "x$ac_cv_type_off_t" = xyes
; then :
16456 cat >>confdefs.h
<<_ACEOF
16457 #define off_t long int
16463 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16464 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16466 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16469 for ac_type
in 'int' 'long int' 'long long int'; do
16470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 $ac_includes_default
16476 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16477 test_array [0] = 0;
16478 return test_array [0];
16484 if ac_fn_c_try_compile
"$LINENO"; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define intptr_t $ac_type
16492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16493 test -z "$ac_type" && break
16499 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16500 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16502 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16505 for ac_type
in 'unsigned int' 'unsigned long int' \
16506 'unsigned long long int'; do
16507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16509 $ac_includes_default
16513 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16514 test_array [0] = 0;
16515 return test_array [0];
16521 if ac_fn_c_try_compile
"$LINENO"; then :
16523 cat >>confdefs.h
<<_ACEOF
16524 #define uintptr_t $ac_type
16529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16530 test -z "$ac_type" && break
16535 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16536 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16538 cat >>confdefs.h
<<_ACEOF
16539 #define HAVE_PTRDIFF_T 1
16546 # check header files (we assume C89 is available, so don't check for that)
16550 for ac_header
in $ac_header_list
16552 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16553 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16555 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16556 cat >>confdefs.h
<<_ACEOF
16557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16602 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16604 acx_cv_header_stdint
=stddef.h
16605 acx_cv_header_stdint_kind
="(already complete)"
16606 for i
in stdint.h
$inttype_headers; do
16607 unset ac_cv_type_uintptr_t
16608 unset ac_cv_type_uintmax_t
16609 unset ac_cv_type_int_least32_t
16610 unset ac_cv_type_int_fast32_t
16611 unset ac_cv_type_uint64_t
16612 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16613 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16616 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16617 acx_cv_header_stdint
=$i
16622 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16625 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16628 acx_cv_header_stdint_kind
="(mostly complete)"
16631 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16634 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16637 acx_cv_header_stdint_kind
="(mostly complete)"
16640 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16643 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16646 acx_cv_header_stdint_kind
="(mostly complete)"
16649 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16652 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16655 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16660 if test "$acx_cv_header_stdint" = stddef.h
; then
16661 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16662 for i
in stdint.h
$inttype_headers; do
16663 unset ac_cv_type_uintptr_t
16664 unset ac_cv_type_uint32_t
16665 unset ac_cv_type_uint64_t
16666 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16667 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16670 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16671 acx_cv_header_stdint
=$i
16676 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16679 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16683 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16686 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16693 if test "$acx_cv_header_stdint" = stddef.h
; then
16694 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16695 for i
in sys
/types.h
$inttype_headers; do
16696 unset ac_cv_type_u_int32_t
16697 unset ac_cv_type_u_int64_t
16698 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16699 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16702 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16703 acx_cv_header_stdint
=$i
16708 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16711 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16718 if test "$acx_cv_header_stdint" = stddef.h
; then
16719 acx_cv_header_stdint_kind
="(using manual detection)"
16722 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16723 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16724 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16725 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16726 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16728 # ----------------- Summarize what we found so far
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16731 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16733 case `$as_basename -- gstdint.h ||
16734 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16735 Xgstdint.h : 'X\(//\)$' \| \
16736 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16737 $as_echo X/gstdint.h |
16738 sed '/^.*\/\([^/][^/]*\)\/*$/{
16751 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16752 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16753 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16754 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16759 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16761 # ----------------- done included file, check C basic types --------
16763 # Lacking an uintptr_t? Test size of void *
16764 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16765 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16768 # This bug is HP SR number 8606223364.
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16770 $as_echo_n "checking size of void *... " >&6; }
16771 if ${ac_cv_sizeof_void_p+:} false
; then :
16772 $as_echo_n "(cached) " >&6
16774 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16777 if test "$ac_cv_type_void_p" = yes; then
16778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16780 as_fn_error
77 "cannot compute sizeof (void *)
16781 See \`config.log' for more details" "$LINENO" 5; }
16783 ac_cv_sizeof_void_p
=0
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16789 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16793 cat >>confdefs.h
<<_ACEOF
16794 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16800 # Lacking an uint64_t? Test size of long
16801 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16802 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16805 # This bug is HP SR number 8606223364.
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16807 $as_echo_n "checking size of long... " >&6; }
16808 if ${ac_cv_sizeof_long+:} false
; then :
16809 $as_echo_n "(cached) " >&6
16811 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16814 if test "$ac_cv_type_long" = yes; then
16815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16817 as_fn_error
77 "cannot compute sizeof (long)
16818 See \`config.log' for more details" "$LINENO" 5; }
16820 ac_cv_sizeof_long
=0
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16826 $as_echo "$ac_cv_sizeof_long" >&6; }
16830 cat >>confdefs.h
<<_ACEOF
16831 #define SIZEOF_LONG $ac_cv_sizeof_long
16837 if test $acx_cv_header_stdint = stddef.h
; then
16838 # Lacking a good header? Test size of everything and deduce all types.
16839 # The cast to long int works around a bug in the HP C Compiler
16840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16842 # This bug is HP SR number 8606223364.
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16844 $as_echo_n "checking size of int... " >&6; }
16845 if ${ac_cv_sizeof_int+:} false
; then :
16846 $as_echo_n "(cached) " >&6
16848 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16851 if test "$ac_cv_type_int" = yes; then
16852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16854 as_fn_error
77 "cannot compute sizeof (int)
16855 See \`config.log' for more details" "$LINENO" 5; }
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16863 $as_echo "$ac_cv_sizeof_int" >&6; }
16867 cat >>confdefs.h
<<_ACEOF
16868 #define SIZEOF_INT $ac_cv_sizeof_int
16872 # The cast to long int works around a bug in the HP C Compiler
16873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16875 # This bug is HP SR number 8606223364.
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16877 $as_echo_n "checking size of short... " >&6; }
16878 if ${ac_cv_sizeof_short+:} false
; then :
16879 $as_echo_n "(cached) " >&6
16881 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16884 if test "$ac_cv_type_short" = yes; then
16885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16887 as_fn_error
77 "cannot compute sizeof (short)
16888 See \`config.log' for more details" "$LINENO" 5; }
16890 ac_cv_sizeof_short
=0
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16896 $as_echo "$ac_cv_sizeof_short" >&6; }
16900 cat >>confdefs.h
<<_ACEOF
16901 #define SIZEOF_SHORT $ac_cv_sizeof_short
16905 # The cast to long int works around a bug in the HP C Compiler
16906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16907 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16908 # This bug is HP SR number 8606223364.
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16910 $as_echo_n "checking size of char... " >&6; }
16911 if ${ac_cv_sizeof_char+:} false
; then :
16912 $as_echo_n "(cached) " >&6
16914 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16917 if test "$ac_cv_type_char" = yes; then
16918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16920 as_fn_error
77 "cannot compute sizeof (char)
16921 See \`config.log' for more details" "$LINENO" 5; }
16923 ac_cv_sizeof_char
=0
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16929 $as_echo "$ac_cv_sizeof_char" >&6; }
16933 cat >>confdefs.h
<<_ACEOF
16934 #define SIZEOF_CHAR $ac_cv_sizeof_char
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16940 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16941 case "$ac_cv_sizeof_char" in
16942 1) acx_cv_type_int8_t
=char
;;
16943 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16946 $as_echo "$acx_cv_type_int8_t" >&6; }
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16949 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16950 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16951 2:*) acx_cv_type_int16_t
=int
;;
16952 *:2) acx_cv_type_int16_t
=short
;;
16953 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16956 $as_echo "$acx_cv_type_int16_t" >&6; }
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16959 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16960 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16961 4:*) acx_cv_type_int32_t
=int
;;
16962 *:4) acx_cv_type_int32_t
=long
;;
16963 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16966 $as_echo "$acx_cv_type_int32_t" >&6; }
16969 # These tests are here to make the output prettier
16971 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16972 case "$ac_cv_sizeof_long" in
16973 8) acx_cv_type_int64_t
=long
;;
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16976 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16978 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16981 # Now we can use the above types
16983 if test "$ac_cv_type_uintptr_t" != yes; then
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16985 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16986 case $ac_cv_sizeof_void_p in
16987 2) acx_cv_type_intptr_t
=int16_t
;;
16988 4) acx_cv_type_intptr_t
=int32_t
;;
16989 8) acx_cv_type_intptr_t
=int64_t
;;
16990 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16993 $as_echo "$acx_cv_type_intptr_t" >&6; }
16996 # ----------------- done all checks, emit header -------------
16997 ac_config_commands
="$ac_config_commands gstdint.h"
17002 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17003 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
17005 cat >>confdefs.h
<<_ACEOF
17006 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17011 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17012 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17014 cat >>confdefs.h
<<_ACEOF
17015 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17020 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17021 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17023 cat >>confdefs.h
<<_ACEOF
17024 #define HAVE_STRUCT_STAT_ST_RDEV 1
17031 case "${host}--x${with_newlib}" in
17033 hardwire_newlib
=1;;
17035 hardwire_newlib
=1;;
17038 # Check for library functions.
17039 if test "${hardwire_newlib:-0}" -eq 1; then
17040 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17041 # may not work correctly, because the compiler may not be able to
17042 # link executables.
17044 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17047 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17050 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17053 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17056 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17059 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17062 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17065 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17068 # At some point, we should differentiate between architectures
17069 # like x86, which have long double versions, and alpha/powerpc/etc.,
17070 # which don't. For the time being, punt.
17071 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17073 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17080 for ac_func
in $ac_func_list
17082 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17084 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17085 cat >>confdefs.h
<<_ACEOF
17086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17207 # Check strerror_r, cannot be above as versions with two and three arguments exist
17209 ac_save_CFLAGS
="$CFLAGS"
17210 CFLAGS
="-Wimplicit-function-declaration -Werror"
17211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 #define _GNU_SOURCE 1
17214 #include <string.h>
17215 #include <locale.h>
17219 char s[128]; strerror_r(5, s, 128);
17224 if ac_fn_c_try_compile
"$LINENO"; then :
17226 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17230 CFLAGS
="$ac_save_CFLAGS"
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);
17247 if ac_fn_c_try_compile
"$LINENO"; then :
17249 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17253 CFLAGS
="$ac_save_CFLAGS"
17256 # Check for C99 (and other IEEE) math functions
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17258 $as_echo_n "checking for sin in -lm... " >&6; }
17259 if ${ac_cv_lib_m_sin+:} false
; then :
17260 $as_echo_n "(cached) " >&6
17262 ac_check_lib_save_LIBS
=$LIBS
17264 if test x
$gcc_no_link = xyes
; then
17265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 /* Override any GCC internal prototype to avoid an error.
17271 Use char because int might match the return type of a GCC
17272 builtin and then its argument prototype would still apply. */
17285 if ac_fn_c_try_link
"$LINENO"; then :
17286 ac_cv_lib_m_sin
=yes
17290 rm -f core conftest.err conftest.
$ac_objext \
17291 conftest
$ac_exeext conftest.
$ac_ext
17292 LIBS
=$ac_check_lib_save_LIBS
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17295 $as_echo "$ac_cv_lib_m_sin" >&6; }
17296 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17297 cat >>confdefs.h
<<_ACEOF
17298 #define HAVE_LIBM 1
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17312 $as_echo_n "checking for acosf... " >&6; }
17313 if ${gcc_cv_math_func_acosf+:} false
; then :
17314 $as_echo_n "(cached) " >&6
17316 if test x
$gcc_no_link = xyes
; then
17317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17322 #ifdef HAVE_COMPLEX_H
17323 #include <complex.h>
17329 int (*ptr)() = (int (*)())acosf;
17338 if ac_fn_c_try_link
"$LINENO"; then :
17339 gcc_cv_math_func_acosf
=yes
17341 gcc_cv_math_func_acosf
=no
17343 rm -f core conftest.err conftest.
$ac_objext \
17344 conftest
$ac_exeext conftest.
$ac_ext
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17347 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17348 if test $gcc_cv_math_func_acosf = yes; then
17350 cat >>confdefs.h
<<_ACEOF
17351 #define HAVE_ACOSF 1
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17360 $as_echo_n "checking for acos... " >&6; }
17361 if ${gcc_cv_math_func_acos+:} false
; then :
17362 $as_echo_n "(cached) " >&6
17364 if test x
$gcc_no_link = xyes
; then
17365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17370 #ifdef HAVE_COMPLEX_H
17371 #include <complex.h>
17377 int (*ptr)() = (int (*)())acos;
17386 if ac_fn_c_try_link
"$LINENO"; then :
17387 gcc_cv_math_func_acos
=yes
17389 gcc_cv_math_func_acos
=no
17391 rm -f core conftest.err conftest.
$ac_objext \
17392 conftest
$ac_exeext conftest.
$ac_ext
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17395 $as_echo "$gcc_cv_math_func_acos" >&6; }
17396 if test $gcc_cv_math_func_acos = yes; then
17398 cat >>confdefs.h
<<_ACEOF
17399 #define HAVE_ACOS 1
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17408 $as_echo_n "checking for acosl... " >&6; }
17409 if ${gcc_cv_math_func_acosl+:} false
; then :
17410 $as_echo_n "(cached) " >&6
17412 if test x
$gcc_no_link = xyes
; then
17413 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17418 #ifdef HAVE_COMPLEX_H
17419 #include <complex.h>
17425 int (*ptr)() = (int (*)())acosl;
17434 if ac_fn_c_try_link
"$LINENO"; then :
17435 gcc_cv_math_func_acosl
=yes
17437 gcc_cv_math_func_acosl
=no
17439 rm -f core conftest.err conftest.
$ac_objext \
17440 conftest
$ac_exeext conftest.
$ac_ext
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17443 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17444 if test $gcc_cv_math_func_acosl = yes; then
17446 cat >>confdefs.h
<<_ACEOF
17447 #define HAVE_ACOSL 1
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17456 $as_echo_n "checking for acoshf... " >&6; }
17457 if ${gcc_cv_math_func_acoshf+:} false
; then :
17458 $as_echo_n "(cached) " >&6
17460 if test x
$gcc_no_link = xyes
; then
17461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17466 #ifdef HAVE_COMPLEX_H
17467 #include <complex.h>
17473 int (*ptr)() = (int (*)())acoshf;
17482 if ac_fn_c_try_link
"$LINENO"; then :
17483 gcc_cv_math_func_acoshf
=yes
17485 gcc_cv_math_func_acoshf
=no
17487 rm -f core conftest.err conftest.
$ac_objext \
17488 conftest
$ac_exeext conftest.
$ac_ext
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17491 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17492 if test $gcc_cv_math_func_acoshf = yes; then
17494 cat >>confdefs.h
<<_ACEOF
17495 #define HAVE_ACOSHF 1
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17504 $as_echo_n "checking for acosh... " >&6; }
17505 if ${gcc_cv_math_func_acosh+:} false
; then :
17506 $as_echo_n "(cached) " >&6
17508 if test x
$gcc_no_link = xyes
; then
17509 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17514 #ifdef HAVE_COMPLEX_H
17515 #include <complex.h>
17521 int (*ptr)() = (int (*)())acosh;
17530 if ac_fn_c_try_link
"$LINENO"; then :
17531 gcc_cv_math_func_acosh
=yes
17533 gcc_cv_math_func_acosh
=no
17535 rm -f core conftest.err conftest.
$ac_objext \
17536 conftest
$ac_exeext conftest.
$ac_ext
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17539 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17540 if test $gcc_cv_math_func_acosh = yes; then
17542 cat >>confdefs.h
<<_ACEOF
17543 #define HAVE_ACOSH 1
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17552 $as_echo_n "checking for acoshl... " >&6; }
17553 if ${gcc_cv_math_func_acoshl+:} false
; then :
17554 $as_echo_n "(cached) " >&6
17556 if test x
$gcc_no_link = xyes
; then
17557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17562 #ifdef HAVE_COMPLEX_H
17563 #include <complex.h>
17569 int (*ptr)() = (int (*)())acoshl;
17578 if ac_fn_c_try_link
"$LINENO"; then :
17579 gcc_cv_math_func_acoshl
=yes
17581 gcc_cv_math_func_acoshl
=no
17583 rm -f core conftest.err conftest.
$ac_objext \
17584 conftest
$ac_exeext conftest.
$ac_ext
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17587 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17588 if test $gcc_cv_math_func_acoshl = yes; then
17590 cat >>confdefs.h
<<_ACEOF
17591 #define HAVE_ACOSHL 1
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17600 $as_echo_n "checking for asinf... " >&6; }
17601 if ${gcc_cv_math_func_asinf+:} false
; then :
17602 $as_echo_n "(cached) " >&6
17604 if test x
$gcc_no_link = xyes
; then
17605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17610 #ifdef HAVE_COMPLEX_H
17611 #include <complex.h>
17617 int (*ptr)() = (int (*)())asinf;
17626 if ac_fn_c_try_link
"$LINENO"; then :
17627 gcc_cv_math_func_asinf
=yes
17629 gcc_cv_math_func_asinf
=no
17631 rm -f core conftest.err conftest.
$ac_objext \
17632 conftest
$ac_exeext conftest.
$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17635 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17636 if test $gcc_cv_math_func_asinf = yes; then
17638 cat >>confdefs.h
<<_ACEOF
17639 #define HAVE_ASINF 1
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17648 $as_echo_n "checking for asin... " >&6; }
17649 if ${gcc_cv_math_func_asin+:} false
; then :
17650 $as_echo_n "(cached) " >&6
17652 if test x
$gcc_no_link = xyes
; then
17653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17658 #ifdef HAVE_COMPLEX_H
17659 #include <complex.h>
17665 int (*ptr)() = (int (*)())asin;
17674 if ac_fn_c_try_link
"$LINENO"; then :
17675 gcc_cv_math_func_asin
=yes
17677 gcc_cv_math_func_asin
=no
17679 rm -f core conftest.err conftest.
$ac_objext \
17680 conftest
$ac_exeext conftest.
$ac_ext
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17683 $as_echo "$gcc_cv_math_func_asin" >&6; }
17684 if test $gcc_cv_math_func_asin = yes; then
17686 cat >>confdefs.h
<<_ACEOF
17687 #define HAVE_ASIN 1
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17696 $as_echo_n "checking for asinl... " >&6; }
17697 if ${gcc_cv_math_func_asinl+:} false
; then :
17698 $as_echo_n "(cached) " >&6
17700 if test x
$gcc_no_link = xyes
; then
17701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17706 #ifdef HAVE_COMPLEX_H
17707 #include <complex.h>
17713 int (*ptr)() = (int (*)())asinl;
17722 if ac_fn_c_try_link
"$LINENO"; then :
17723 gcc_cv_math_func_asinl
=yes
17725 gcc_cv_math_func_asinl
=no
17727 rm -f core conftest.err conftest.
$ac_objext \
17728 conftest
$ac_exeext conftest.
$ac_ext
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17731 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17732 if test $gcc_cv_math_func_asinl = yes; then
17734 cat >>confdefs.h
<<_ACEOF
17735 #define HAVE_ASINL 1
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17744 $as_echo_n "checking for asinhf... " >&6; }
17745 if ${gcc_cv_math_func_asinhf+:} false
; then :
17746 $as_echo_n "(cached) " >&6
17748 if test x
$gcc_no_link = xyes
; then
17749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17754 #ifdef HAVE_COMPLEX_H
17755 #include <complex.h>
17761 int (*ptr)() = (int (*)())asinhf;
17770 if ac_fn_c_try_link
"$LINENO"; then :
17771 gcc_cv_math_func_asinhf
=yes
17773 gcc_cv_math_func_asinhf
=no
17775 rm -f core conftest.err conftest.
$ac_objext \
17776 conftest
$ac_exeext conftest.
$ac_ext
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17779 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17780 if test $gcc_cv_math_func_asinhf = yes; then
17782 cat >>confdefs.h
<<_ACEOF
17783 #define HAVE_ASINHF 1
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17792 $as_echo_n "checking for asinh... " >&6; }
17793 if ${gcc_cv_math_func_asinh+:} false
; then :
17794 $as_echo_n "(cached) " >&6
17796 if test x
$gcc_no_link = xyes
; then
17797 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17802 #ifdef HAVE_COMPLEX_H
17803 #include <complex.h>
17809 int (*ptr)() = (int (*)())asinh;
17818 if ac_fn_c_try_link
"$LINENO"; then :
17819 gcc_cv_math_func_asinh
=yes
17821 gcc_cv_math_func_asinh
=no
17823 rm -f core conftest.err conftest.
$ac_objext \
17824 conftest
$ac_exeext conftest.
$ac_ext
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17827 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17828 if test $gcc_cv_math_func_asinh = yes; then
17830 cat >>confdefs.h
<<_ACEOF
17831 #define HAVE_ASINH 1
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17840 $as_echo_n "checking for asinhl... " >&6; }
17841 if ${gcc_cv_math_func_asinhl+:} false
; then :
17842 $as_echo_n "(cached) " >&6
17844 if test x
$gcc_no_link = xyes
; then
17845 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17850 #ifdef HAVE_COMPLEX_H
17851 #include <complex.h>
17857 int (*ptr)() = (int (*)())asinhl;
17866 if ac_fn_c_try_link
"$LINENO"; then :
17867 gcc_cv_math_func_asinhl
=yes
17869 gcc_cv_math_func_asinhl
=no
17871 rm -f core conftest.err conftest.
$ac_objext \
17872 conftest
$ac_exeext conftest.
$ac_ext
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17875 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17876 if test $gcc_cv_math_func_asinhl = yes; then
17878 cat >>confdefs.h
<<_ACEOF
17879 #define HAVE_ASINHL 1
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17888 $as_echo_n "checking for atan2f... " >&6; }
17889 if ${gcc_cv_math_func_atan2f+:} false
; then :
17890 $as_echo_n "(cached) " >&6
17892 if test x
$gcc_no_link = xyes
; then
17893 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 #ifdef HAVE_COMPLEX_H
17899 #include <complex.h>
17905 int (*ptr)() = (int (*)())atan2f;
17914 if ac_fn_c_try_link
"$LINENO"; then :
17915 gcc_cv_math_func_atan2f
=yes
17917 gcc_cv_math_func_atan2f
=no
17919 rm -f core conftest.err conftest.
$ac_objext \
17920 conftest
$ac_exeext conftest.
$ac_ext
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17923 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17924 if test $gcc_cv_math_func_atan2f = yes; then
17926 cat >>confdefs.h
<<_ACEOF
17927 #define HAVE_ATAN2F 1
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17936 $as_echo_n "checking for atan2... " >&6; }
17937 if ${gcc_cv_math_func_atan2+:} false
; then :
17938 $as_echo_n "(cached) " >&6
17940 if test x
$gcc_no_link = xyes
; then
17941 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17946 #ifdef HAVE_COMPLEX_H
17947 #include <complex.h>
17953 int (*ptr)() = (int (*)())atan2;
17962 if ac_fn_c_try_link
"$LINENO"; then :
17963 gcc_cv_math_func_atan2
=yes
17965 gcc_cv_math_func_atan2
=no
17967 rm -f core conftest.err conftest.
$ac_objext \
17968 conftest
$ac_exeext conftest.
$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17971 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17972 if test $gcc_cv_math_func_atan2 = yes; then
17974 cat >>confdefs.h
<<_ACEOF
17975 #define HAVE_ATAN2 1
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17984 $as_echo_n "checking for atan2l... " >&6; }
17985 if ${gcc_cv_math_func_atan2l+:} false
; then :
17986 $as_echo_n "(cached) " >&6
17988 if test x
$gcc_no_link = xyes
; then
17989 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17994 #ifdef HAVE_COMPLEX_H
17995 #include <complex.h>
18001 int (*ptr)() = (int (*)())atan2l;
18010 if ac_fn_c_try_link
"$LINENO"; then :
18011 gcc_cv_math_func_atan2l
=yes
18013 gcc_cv_math_func_atan2l
=no
18015 rm -f core conftest.err conftest.
$ac_objext \
18016 conftest
$ac_exeext conftest.
$ac_ext
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18019 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18020 if test $gcc_cv_math_func_atan2l = yes; then
18022 cat >>confdefs.h
<<_ACEOF
18023 #define HAVE_ATAN2L 1
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18032 $as_echo_n "checking for atanf... " >&6; }
18033 if ${gcc_cv_math_func_atanf+:} false
; then :
18034 $as_echo_n "(cached) " >&6
18036 if test x
$gcc_no_link = xyes
; then
18037 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18042 #ifdef HAVE_COMPLEX_H
18043 #include <complex.h>
18049 int (*ptr)() = (int (*)())atanf;
18058 if ac_fn_c_try_link
"$LINENO"; then :
18059 gcc_cv_math_func_atanf
=yes
18061 gcc_cv_math_func_atanf
=no
18063 rm -f core conftest.err conftest.
$ac_objext \
18064 conftest
$ac_exeext conftest.
$ac_ext
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18067 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18068 if test $gcc_cv_math_func_atanf = yes; then
18070 cat >>confdefs.h
<<_ACEOF
18071 #define HAVE_ATANF 1
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18080 $as_echo_n "checking for atan... " >&6; }
18081 if ${gcc_cv_math_func_atan+:} false
; then :
18082 $as_echo_n "(cached) " >&6
18084 if test x
$gcc_no_link = xyes
; then
18085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18088 /* end confdefs.h. */
18090 #ifdef HAVE_COMPLEX_H
18091 #include <complex.h>
18097 int (*ptr)() = (int (*)())atan;
18106 if ac_fn_c_try_link
"$LINENO"; then :
18107 gcc_cv_math_func_atan
=yes
18109 gcc_cv_math_func_atan
=no
18111 rm -f core conftest.err conftest.
$ac_objext \
18112 conftest
$ac_exeext conftest.
$ac_ext
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18115 $as_echo "$gcc_cv_math_func_atan" >&6; }
18116 if test $gcc_cv_math_func_atan = yes; then
18118 cat >>confdefs.h
<<_ACEOF
18119 #define HAVE_ATAN 1
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18128 $as_echo_n "checking for atanl... " >&6; }
18129 if ${gcc_cv_math_func_atanl+:} false
; then :
18130 $as_echo_n "(cached) " >&6
18132 if test x
$gcc_no_link = xyes
; then
18133 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18138 #ifdef HAVE_COMPLEX_H
18139 #include <complex.h>
18145 int (*ptr)() = (int (*)())atanl;
18154 if ac_fn_c_try_link
"$LINENO"; then :
18155 gcc_cv_math_func_atanl
=yes
18157 gcc_cv_math_func_atanl
=no
18159 rm -f core conftest.err conftest.
$ac_objext \
18160 conftest
$ac_exeext conftest.
$ac_ext
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18163 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18164 if test $gcc_cv_math_func_atanl = yes; then
18166 cat >>confdefs.h
<<_ACEOF
18167 #define HAVE_ATANL 1
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18176 $as_echo_n "checking for atanhf... " >&6; }
18177 if ${gcc_cv_math_func_atanhf+:} false
; then :
18178 $as_echo_n "(cached) " >&6
18180 if test x
$gcc_no_link = xyes
; then
18181 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18186 #ifdef HAVE_COMPLEX_H
18187 #include <complex.h>
18193 int (*ptr)() = (int (*)())atanhf;
18202 if ac_fn_c_try_link
"$LINENO"; then :
18203 gcc_cv_math_func_atanhf
=yes
18205 gcc_cv_math_func_atanhf
=no
18207 rm -f core conftest.err conftest.
$ac_objext \
18208 conftest
$ac_exeext conftest.
$ac_ext
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18211 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18212 if test $gcc_cv_math_func_atanhf = yes; then
18214 cat >>confdefs.h
<<_ACEOF
18215 #define HAVE_ATANHF 1
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18224 $as_echo_n "checking for atanh... " >&6; }
18225 if ${gcc_cv_math_func_atanh+:} false
; then :
18226 $as_echo_n "(cached) " >&6
18228 if test x
$gcc_no_link = xyes
; then
18229 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18234 #ifdef HAVE_COMPLEX_H
18235 #include <complex.h>
18241 int (*ptr)() = (int (*)())atanh;
18250 if ac_fn_c_try_link
"$LINENO"; then :
18251 gcc_cv_math_func_atanh
=yes
18253 gcc_cv_math_func_atanh
=no
18255 rm -f core conftest.err conftest.
$ac_objext \
18256 conftest
$ac_exeext conftest.
$ac_ext
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18259 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18260 if test $gcc_cv_math_func_atanh = yes; then
18262 cat >>confdefs.h
<<_ACEOF
18263 #define HAVE_ATANH 1
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18272 $as_echo_n "checking for atanhl... " >&6; }
18273 if ${gcc_cv_math_func_atanhl+:} false
; then :
18274 $as_echo_n "(cached) " >&6
18276 if test x
$gcc_no_link = xyes
; then
18277 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18282 #ifdef HAVE_COMPLEX_H
18283 #include <complex.h>
18289 int (*ptr)() = (int (*)())atanhl;
18298 if ac_fn_c_try_link
"$LINENO"; then :
18299 gcc_cv_math_func_atanhl
=yes
18301 gcc_cv_math_func_atanhl
=no
18303 rm -f core conftest.err conftest.
$ac_objext \
18304 conftest
$ac_exeext conftest.
$ac_ext
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18307 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18308 if test $gcc_cv_math_func_atanhl = yes; then
18310 cat >>confdefs.h
<<_ACEOF
18311 #define HAVE_ATANHL 1
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18320 $as_echo_n "checking for cargf... " >&6; }
18321 if ${gcc_cv_math_func_cargf+:} false
; then :
18322 $as_echo_n "(cached) " >&6
18324 if test x
$gcc_no_link = xyes
; then
18325 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 #ifdef HAVE_COMPLEX_H
18331 #include <complex.h>
18337 int (*ptr)() = (int (*)())cargf;
18346 if ac_fn_c_try_link
"$LINENO"; then :
18347 gcc_cv_math_func_cargf
=yes
18349 gcc_cv_math_func_cargf
=no
18351 rm -f core conftest.err conftest.
$ac_objext \
18352 conftest
$ac_exeext conftest.
$ac_ext
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18355 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18356 if test $gcc_cv_math_func_cargf = yes; then
18358 cat >>confdefs.h
<<_ACEOF
18359 #define HAVE_CARGF 1
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18368 $as_echo_n "checking for carg... " >&6; }
18369 if ${gcc_cv_math_func_carg+:} false
; then :
18370 $as_echo_n "(cached) " >&6
18372 if test x
$gcc_no_link = xyes
; then
18373 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18378 #ifdef HAVE_COMPLEX_H
18379 #include <complex.h>
18385 int (*ptr)() = (int (*)())carg;
18394 if ac_fn_c_try_link
"$LINENO"; then :
18395 gcc_cv_math_func_carg
=yes
18397 gcc_cv_math_func_carg
=no
18399 rm -f core conftest.err conftest.
$ac_objext \
18400 conftest
$ac_exeext conftest.
$ac_ext
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18403 $as_echo "$gcc_cv_math_func_carg" >&6; }
18404 if test $gcc_cv_math_func_carg = yes; then
18406 cat >>confdefs.h
<<_ACEOF
18407 #define HAVE_CARG 1
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18416 $as_echo_n "checking for cargl... " >&6; }
18417 if ${gcc_cv_math_func_cargl+:} false
; then :
18418 $as_echo_n "(cached) " >&6
18420 if test x
$gcc_no_link = xyes
; then
18421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18426 #ifdef HAVE_COMPLEX_H
18427 #include <complex.h>
18433 int (*ptr)() = (int (*)())cargl;
18442 if ac_fn_c_try_link
"$LINENO"; then :
18443 gcc_cv_math_func_cargl
=yes
18445 gcc_cv_math_func_cargl
=no
18447 rm -f core conftest.err conftest.
$ac_objext \
18448 conftest
$ac_exeext conftest.
$ac_ext
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18451 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18452 if test $gcc_cv_math_func_cargl = yes; then
18454 cat >>confdefs.h
<<_ACEOF
18455 #define HAVE_CARGL 1
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18464 $as_echo_n "checking for ceilf... " >&6; }
18465 if ${gcc_cv_math_func_ceilf+:} false
; then :
18466 $as_echo_n "(cached) " >&6
18468 if test x
$gcc_no_link = xyes
; then
18469 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18474 #ifdef HAVE_COMPLEX_H
18475 #include <complex.h>
18481 int (*ptr)() = (int (*)())ceilf;
18490 if ac_fn_c_try_link
"$LINENO"; then :
18491 gcc_cv_math_func_ceilf
=yes
18493 gcc_cv_math_func_ceilf
=no
18495 rm -f core conftest.err conftest.
$ac_objext \
18496 conftest
$ac_exeext conftest.
$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18499 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18500 if test $gcc_cv_math_func_ceilf = yes; then
18502 cat >>confdefs.h
<<_ACEOF
18503 #define HAVE_CEILF 1
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18512 $as_echo_n "checking for ceil... " >&6; }
18513 if ${gcc_cv_math_func_ceil+:} false
; then :
18514 $as_echo_n "(cached) " >&6
18516 if test x
$gcc_no_link = xyes
; then
18517 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18522 #ifdef HAVE_COMPLEX_H
18523 #include <complex.h>
18529 int (*ptr)() = (int (*)())ceil;
18538 if ac_fn_c_try_link
"$LINENO"; then :
18539 gcc_cv_math_func_ceil
=yes
18541 gcc_cv_math_func_ceil
=no
18543 rm -f core conftest.err conftest.
$ac_objext \
18544 conftest
$ac_exeext conftest.
$ac_ext
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18547 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18548 if test $gcc_cv_math_func_ceil = yes; then
18550 cat >>confdefs.h
<<_ACEOF
18551 #define HAVE_CEIL 1
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18560 $as_echo_n "checking for ceill... " >&6; }
18561 if ${gcc_cv_math_func_ceill+:} false
; then :
18562 $as_echo_n "(cached) " >&6
18564 if test x
$gcc_no_link = xyes
; then
18565 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18570 #ifdef HAVE_COMPLEX_H
18571 #include <complex.h>
18577 int (*ptr)() = (int (*)())ceill;
18586 if ac_fn_c_try_link
"$LINENO"; then :
18587 gcc_cv_math_func_ceill
=yes
18589 gcc_cv_math_func_ceill
=no
18591 rm -f core conftest.err conftest.
$ac_objext \
18592 conftest
$ac_exeext conftest.
$ac_ext
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18595 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18596 if test $gcc_cv_math_func_ceill = yes; then
18598 cat >>confdefs.h
<<_ACEOF
18599 #define HAVE_CEILL 1
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18608 $as_echo_n "checking for copysignf... " >&6; }
18609 if ${gcc_cv_math_func_copysignf+:} false
; then :
18610 $as_echo_n "(cached) " >&6
18612 if test x
$gcc_no_link = xyes
; then
18613 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18618 #ifdef HAVE_COMPLEX_H
18619 #include <complex.h>
18625 int (*ptr)() = (int (*)())copysignf;
18634 if ac_fn_c_try_link
"$LINENO"; then :
18635 gcc_cv_math_func_copysignf
=yes
18637 gcc_cv_math_func_copysignf
=no
18639 rm -f core conftest.err conftest.
$ac_objext \
18640 conftest
$ac_exeext conftest.
$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18643 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18644 if test $gcc_cv_math_func_copysignf = yes; then
18646 cat >>confdefs.h
<<_ACEOF
18647 #define HAVE_COPYSIGNF 1
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18656 $as_echo_n "checking for copysign... " >&6; }
18657 if ${gcc_cv_math_func_copysign+:} false
; then :
18658 $as_echo_n "(cached) " >&6
18660 if test x
$gcc_no_link = xyes
; then
18661 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18666 #ifdef HAVE_COMPLEX_H
18667 #include <complex.h>
18673 int (*ptr)() = (int (*)())copysign;
18682 if ac_fn_c_try_link
"$LINENO"; then :
18683 gcc_cv_math_func_copysign
=yes
18685 gcc_cv_math_func_copysign
=no
18687 rm -f core conftest.err conftest.
$ac_objext \
18688 conftest
$ac_exeext conftest.
$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18691 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18692 if test $gcc_cv_math_func_copysign = yes; then
18694 cat >>confdefs.h
<<_ACEOF
18695 #define HAVE_COPYSIGN 1
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18704 $as_echo_n "checking for copysignl... " >&6; }
18705 if ${gcc_cv_math_func_copysignl+:} false
; then :
18706 $as_echo_n "(cached) " >&6
18708 if test x
$gcc_no_link = xyes
; then
18709 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18712 /* end confdefs.h. */
18714 #ifdef HAVE_COMPLEX_H
18715 #include <complex.h>
18721 int (*ptr)() = (int (*)())copysignl;
18730 if ac_fn_c_try_link
"$LINENO"; then :
18731 gcc_cv_math_func_copysignl
=yes
18733 gcc_cv_math_func_copysignl
=no
18735 rm -f core conftest.err conftest.
$ac_objext \
18736 conftest
$ac_exeext conftest.
$ac_ext
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18739 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18740 if test $gcc_cv_math_func_copysignl = yes; then
18742 cat >>confdefs.h
<<_ACEOF
18743 #define HAVE_COPYSIGNL 1
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18752 $as_echo_n "checking for cosf... " >&6; }
18753 if ${gcc_cv_math_func_cosf+:} false
; then :
18754 $as_echo_n "(cached) " >&6
18756 if test x
$gcc_no_link = xyes
; then
18757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18762 #ifdef HAVE_COMPLEX_H
18763 #include <complex.h>
18769 int (*ptr)() = (int (*)())cosf;
18778 if ac_fn_c_try_link
"$LINENO"; then :
18779 gcc_cv_math_func_cosf
=yes
18781 gcc_cv_math_func_cosf
=no
18783 rm -f core conftest.err conftest.
$ac_objext \
18784 conftest
$ac_exeext conftest.
$ac_ext
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18787 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18788 if test $gcc_cv_math_func_cosf = yes; then
18790 cat >>confdefs.h
<<_ACEOF
18791 #define HAVE_COSF 1
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18800 $as_echo_n "checking for cos... " >&6; }
18801 if ${gcc_cv_math_func_cos+:} false
; then :
18802 $as_echo_n "(cached) " >&6
18804 if test x
$gcc_no_link = xyes
; then
18805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18810 #ifdef HAVE_COMPLEX_H
18811 #include <complex.h>
18817 int (*ptr)() = (int (*)())cos;
18826 if ac_fn_c_try_link
"$LINENO"; then :
18827 gcc_cv_math_func_cos
=yes
18829 gcc_cv_math_func_cos
=no
18831 rm -f core conftest.err conftest.
$ac_objext \
18832 conftest
$ac_exeext conftest.
$ac_ext
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18835 $as_echo "$gcc_cv_math_func_cos" >&6; }
18836 if test $gcc_cv_math_func_cos = yes; then
18838 cat >>confdefs.h
<<_ACEOF
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18848 $as_echo_n "checking for cosl... " >&6; }
18849 if ${gcc_cv_math_func_cosl+:} false
; then :
18850 $as_echo_n "(cached) " >&6
18852 if test x
$gcc_no_link = xyes
; then
18853 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18858 #ifdef HAVE_COMPLEX_H
18859 #include <complex.h>
18865 int (*ptr)() = (int (*)())cosl;
18874 if ac_fn_c_try_link
"$LINENO"; then :
18875 gcc_cv_math_func_cosl
=yes
18877 gcc_cv_math_func_cosl
=no
18879 rm -f core conftest.err conftest.
$ac_objext \
18880 conftest
$ac_exeext conftest.
$ac_ext
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18883 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18884 if test $gcc_cv_math_func_cosl = yes; then
18886 cat >>confdefs.h
<<_ACEOF
18887 #define HAVE_COSL 1
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18896 $as_echo_n "checking for ccosf... " >&6; }
18897 if ${gcc_cv_math_func_ccosf+:} false
; then :
18898 $as_echo_n "(cached) " >&6
18900 if test x
$gcc_no_link = xyes
; then
18901 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18904 /* end confdefs.h. */
18906 #ifdef HAVE_COMPLEX_H
18907 #include <complex.h>
18913 int (*ptr)() = (int (*)())ccosf;
18922 if ac_fn_c_try_link
"$LINENO"; then :
18923 gcc_cv_math_func_ccosf
=yes
18925 gcc_cv_math_func_ccosf
=no
18927 rm -f core conftest.err conftest.
$ac_objext \
18928 conftest
$ac_exeext conftest.
$ac_ext
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18931 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18932 if test $gcc_cv_math_func_ccosf = yes; then
18934 cat >>confdefs.h
<<_ACEOF
18935 #define HAVE_CCOSF 1
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18944 $as_echo_n "checking for ccos... " >&6; }
18945 if ${gcc_cv_math_func_ccos+:} false
; then :
18946 $as_echo_n "(cached) " >&6
18948 if test x
$gcc_no_link = xyes
; then
18949 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h. */
18954 #ifdef HAVE_COMPLEX_H
18955 #include <complex.h>
18961 int (*ptr)() = (int (*)())ccos;
18970 if ac_fn_c_try_link
"$LINENO"; then :
18971 gcc_cv_math_func_ccos
=yes
18973 gcc_cv_math_func_ccos
=no
18975 rm -f core conftest.err conftest.
$ac_objext \
18976 conftest
$ac_exeext conftest.
$ac_ext
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18979 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18980 if test $gcc_cv_math_func_ccos = yes; then
18982 cat >>confdefs.h
<<_ACEOF
18983 #define HAVE_CCOS 1
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18992 $as_echo_n "checking for ccosl... " >&6; }
18993 if ${gcc_cv_math_func_ccosl+:} false
; then :
18994 $as_echo_n "(cached) " >&6
18996 if test x
$gcc_no_link = xyes
; then
18997 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19002 #ifdef HAVE_COMPLEX_H
19003 #include <complex.h>
19009 int (*ptr)() = (int (*)())ccosl;
19018 if ac_fn_c_try_link
"$LINENO"; then :
19019 gcc_cv_math_func_ccosl
=yes
19021 gcc_cv_math_func_ccosl
=no
19023 rm -f core conftest.err conftest.
$ac_objext \
19024 conftest
$ac_exeext conftest.
$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19027 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19028 if test $gcc_cv_math_func_ccosl = yes; then
19030 cat >>confdefs.h
<<_ACEOF
19031 #define HAVE_CCOSL 1
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19040 $as_echo_n "checking for coshf... " >&6; }
19041 if ${gcc_cv_math_func_coshf+:} false
; then :
19042 $as_echo_n "(cached) " >&6
19044 if test x
$gcc_no_link = xyes
; then
19045 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19050 #ifdef HAVE_COMPLEX_H
19051 #include <complex.h>
19057 int (*ptr)() = (int (*)())coshf;
19066 if ac_fn_c_try_link
"$LINENO"; then :
19067 gcc_cv_math_func_coshf
=yes
19069 gcc_cv_math_func_coshf
=no
19071 rm -f core conftest.err conftest.
$ac_objext \
19072 conftest
$ac_exeext conftest.
$ac_ext
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19075 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19076 if test $gcc_cv_math_func_coshf = yes; then
19078 cat >>confdefs.h
<<_ACEOF
19079 #define HAVE_COSHF 1
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19088 $as_echo_n "checking for cosh... " >&6; }
19089 if ${gcc_cv_math_func_cosh+:} false
; then :
19090 $as_echo_n "(cached) " >&6
19092 if test x
$gcc_no_link = xyes
; then
19093 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19098 #ifdef HAVE_COMPLEX_H
19099 #include <complex.h>
19105 int (*ptr)() = (int (*)())cosh;
19114 if ac_fn_c_try_link
"$LINENO"; then :
19115 gcc_cv_math_func_cosh
=yes
19117 gcc_cv_math_func_cosh
=no
19119 rm -f core conftest.err conftest.
$ac_objext \
19120 conftest
$ac_exeext conftest.
$ac_ext
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19123 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19124 if test $gcc_cv_math_func_cosh = yes; then
19126 cat >>confdefs.h
<<_ACEOF
19127 #define HAVE_COSH 1
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19136 $as_echo_n "checking for coshl... " >&6; }
19137 if ${gcc_cv_math_func_coshl+:} false
; then :
19138 $as_echo_n "(cached) " >&6
19140 if test x
$gcc_no_link = xyes
; then
19141 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19146 #ifdef HAVE_COMPLEX_H
19147 #include <complex.h>
19153 int (*ptr)() = (int (*)())coshl;
19162 if ac_fn_c_try_link
"$LINENO"; then :
19163 gcc_cv_math_func_coshl
=yes
19165 gcc_cv_math_func_coshl
=no
19167 rm -f core conftest.err conftest.
$ac_objext \
19168 conftest
$ac_exeext conftest.
$ac_ext
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19171 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19172 if test $gcc_cv_math_func_coshl = yes; then
19174 cat >>confdefs.h
<<_ACEOF
19175 #define HAVE_COSHL 1
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19184 $as_echo_n "checking for ccoshf... " >&6; }
19185 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19186 $as_echo_n "(cached) " >&6
19188 if test x
$gcc_no_link = xyes
; then
19189 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19194 #ifdef HAVE_COMPLEX_H
19195 #include <complex.h>
19201 int (*ptr)() = (int (*)())ccoshf;
19210 if ac_fn_c_try_link
"$LINENO"; then :
19211 gcc_cv_math_func_ccoshf
=yes
19213 gcc_cv_math_func_ccoshf
=no
19215 rm -f core conftest.err conftest.
$ac_objext \
19216 conftest
$ac_exeext conftest.
$ac_ext
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19219 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19220 if test $gcc_cv_math_func_ccoshf = yes; then
19222 cat >>confdefs.h
<<_ACEOF
19223 #define HAVE_CCOSHF 1
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19232 $as_echo_n "checking for ccosh... " >&6; }
19233 if ${gcc_cv_math_func_ccosh+:} false
; then :
19234 $as_echo_n "(cached) " >&6
19236 if test x
$gcc_no_link = xyes
; then
19237 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19242 #ifdef HAVE_COMPLEX_H
19243 #include <complex.h>
19249 int (*ptr)() = (int (*)())ccosh;
19258 if ac_fn_c_try_link
"$LINENO"; then :
19259 gcc_cv_math_func_ccosh
=yes
19261 gcc_cv_math_func_ccosh
=no
19263 rm -f core conftest.err conftest.
$ac_objext \
19264 conftest
$ac_exeext conftest.
$ac_ext
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19267 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19268 if test $gcc_cv_math_func_ccosh = yes; then
19270 cat >>confdefs.h
<<_ACEOF
19271 #define HAVE_CCOSH 1
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19280 $as_echo_n "checking for ccoshl... " >&6; }
19281 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19282 $as_echo_n "(cached) " >&6
19284 if test x
$gcc_no_link = xyes
; then
19285 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19290 #ifdef HAVE_COMPLEX_H
19291 #include <complex.h>
19297 int (*ptr)() = (int (*)())ccoshl;
19306 if ac_fn_c_try_link
"$LINENO"; then :
19307 gcc_cv_math_func_ccoshl
=yes
19309 gcc_cv_math_func_ccoshl
=no
19311 rm -f core conftest.err conftest.
$ac_objext \
19312 conftest
$ac_exeext conftest.
$ac_ext
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19315 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19316 if test $gcc_cv_math_func_ccoshl = yes; then
19318 cat >>confdefs.h
<<_ACEOF
19319 #define HAVE_CCOSHL 1
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19328 $as_echo_n "checking for expf... " >&6; }
19329 if ${gcc_cv_math_func_expf+:} false
; then :
19330 $as_echo_n "(cached) " >&6
19332 if test x
$gcc_no_link = xyes
; then
19333 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19338 #ifdef HAVE_COMPLEX_H
19339 #include <complex.h>
19345 int (*ptr)() = (int (*)())expf;
19354 if ac_fn_c_try_link
"$LINENO"; then :
19355 gcc_cv_math_func_expf
=yes
19357 gcc_cv_math_func_expf
=no
19359 rm -f core conftest.err conftest.
$ac_objext \
19360 conftest
$ac_exeext conftest.
$ac_ext
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19363 $as_echo "$gcc_cv_math_func_expf" >&6; }
19364 if test $gcc_cv_math_func_expf = yes; then
19366 cat >>confdefs.h
<<_ACEOF
19367 #define HAVE_EXPF 1
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19376 $as_echo_n "checking for exp... " >&6; }
19377 if ${gcc_cv_math_func_exp+:} false
; then :
19378 $as_echo_n "(cached) " >&6
19380 if test x
$gcc_no_link = xyes
; then
19381 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19386 #ifdef HAVE_COMPLEX_H
19387 #include <complex.h>
19393 int (*ptr)() = (int (*)())exp;
19402 if ac_fn_c_try_link
"$LINENO"; then :
19403 gcc_cv_math_func_exp
=yes
19405 gcc_cv_math_func_exp
=no
19407 rm -f core conftest.err conftest.
$ac_objext \
19408 conftest
$ac_exeext conftest.
$ac_ext
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19411 $as_echo "$gcc_cv_math_func_exp" >&6; }
19412 if test $gcc_cv_math_func_exp = yes; then
19414 cat >>confdefs.h
<<_ACEOF
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19424 $as_echo_n "checking for expl... " >&6; }
19425 if ${gcc_cv_math_func_expl+:} false
; then :
19426 $as_echo_n "(cached) " >&6
19428 if test x
$gcc_no_link = xyes
; then
19429 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19434 #ifdef HAVE_COMPLEX_H
19435 #include <complex.h>
19441 int (*ptr)() = (int (*)())expl;
19450 if ac_fn_c_try_link
"$LINENO"; then :
19451 gcc_cv_math_func_expl
=yes
19453 gcc_cv_math_func_expl
=no
19455 rm -f core conftest.err conftest.
$ac_objext \
19456 conftest
$ac_exeext conftest.
$ac_ext
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19459 $as_echo "$gcc_cv_math_func_expl" >&6; }
19460 if test $gcc_cv_math_func_expl = yes; then
19462 cat >>confdefs.h
<<_ACEOF
19463 #define HAVE_EXPL 1
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19472 $as_echo_n "checking for cexpf... " >&6; }
19473 if ${gcc_cv_math_func_cexpf+:} false
; then :
19474 $as_echo_n "(cached) " >&6
19476 if test x
$gcc_no_link = xyes
; then
19477 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19482 #ifdef HAVE_COMPLEX_H
19483 #include <complex.h>
19489 int (*ptr)() = (int (*)())cexpf;
19498 if ac_fn_c_try_link
"$LINENO"; then :
19499 gcc_cv_math_func_cexpf
=yes
19501 gcc_cv_math_func_cexpf
=no
19503 rm -f core conftest.err conftest.
$ac_objext \
19504 conftest
$ac_exeext conftest.
$ac_ext
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19507 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19508 if test $gcc_cv_math_func_cexpf = yes; then
19510 cat >>confdefs.h
<<_ACEOF
19511 #define HAVE_CEXPF 1
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19520 $as_echo_n "checking for cexp... " >&6; }
19521 if ${gcc_cv_math_func_cexp+:} false
; then :
19522 $as_echo_n "(cached) " >&6
19524 if test x
$gcc_no_link = xyes
; then
19525 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19530 #ifdef HAVE_COMPLEX_H
19531 #include <complex.h>
19537 int (*ptr)() = (int (*)())cexp;
19546 if ac_fn_c_try_link
"$LINENO"; then :
19547 gcc_cv_math_func_cexp
=yes
19549 gcc_cv_math_func_cexp
=no
19551 rm -f core conftest.err conftest.
$ac_objext \
19552 conftest
$ac_exeext conftest.
$ac_ext
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19555 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19556 if test $gcc_cv_math_func_cexp = yes; then
19558 cat >>confdefs.h
<<_ACEOF
19559 #define HAVE_CEXP 1
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19568 $as_echo_n "checking for cexpl... " >&6; }
19569 if ${gcc_cv_math_func_cexpl+:} false
; then :
19570 $as_echo_n "(cached) " >&6
19572 if test x
$gcc_no_link = xyes
; then
19573 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19578 #ifdef HAVE_COMPLEX_H
19579 #include <complex.h>
19585 int (*ptr)() = (int (*)())cexpl;
19594 if ac_fn_c_try_link
"$LINENO"; then :
19595 gcc_cv_math_func_cexpl
=yes
19597 gcc_cv_math_func_cexpl
=no
19599 rm -f core conftest.err conftest.
$ac_objext \
19600 conftest
$ac_exeext conftest.
$ac_ext
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19603 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19604 if test $gcc_cv_math_func_cexpl = yes; then
19606 cat >>confdefs.h
<<_ACEOF
19607 #define HAVE_CEXPL 1
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19616 $as_echo_n "checking for fabsf... " >&6; }
19617 if ${gcc_cv_math_func_fabsf+:} false
; then :
19618 $as_echo_n "(cached) " >&6
19620 if test x
$gcc_no_link = xyes
; then
19621 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19626 #ifdef HAVE_COMPLEX_H
19627 #include <complex.h>
19633 int (*ptr)() = (int (*)())fabsf;
19642 if ac_fn_c_try_link
"$LINENO"; then :
19643 gcc_cv_math_func_fabsf
=yes
19645 gcc_cv_math_func_fabsf
=no
19647 rm -f core conftest.err conftest.
$ac_objext \
19648 conftest
$ac_exeext conftest.
$ac_ext
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19651 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19652 if test $gcc_cv_math_func_fabsf = yes; then
19654 cat >>confdefs.h
<<_ACEOF
19655 #define HAVE_FABSF 1
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19664 $as_echo_n "checking for fabs... " >&6; }
19665 if ${gcc_cv_math_func_fabs+:} false
; then :
19666 $as_echo_n "(cached) " >&6
19668 if test x
$gcc_no_link = xyes
; then
19669 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19674 #ifdef HAVE_COMPLEX_H
19675 #include <complex.h>
19681 int (*ptr)() = (int (*)())fabs;
19690 if ac_fn_c_try_link
"$LINENO"; then :
19691 gcc_cv_math_func_fabs
=yes
19693 gcc_cv_math_func_fabs
=no
19695 rm -f core conftest.err conftest.
$ac_objext \
19696 conftest
$ac_exeext conftest.
$ac_ext
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19699 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19700 if test $gcc_cv_math_func_fabs = yes; then
19702 cat >>confdefs.h
<<_ACEOF
19703 #define HAVE_FABS 1
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19712 $as_echo_n "checking for fabsl... " >&6; }
19713 if ${gcc_cv_math_func_fabsl+:} false
; then :
19714 $as_echo_n "(cached) " >&6
19716 if test x
$gcc_no_link = xyes
; then
19717 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19722 #ifdef HAVE_COMPLEX_H
19723 #include <complex.h>
19729 int (*ptr)() = (int (*)())fabsl;
19738 if ac_fn_c_try_link
"$LINENO"; then :
19739 gcc_cv_math_func_fabsl
=yes
19741 gcc_cv_math_func_fabsl
=no
19743 rm -f core conftest.err conftest.
$ac_objext \
19744 conftest
$ac_exeext conftest.
$ac_ext
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19747 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19748 if test $gcc_cv_math_func_fabsl = yes; then
19750 cat >>confdefs.h
<<_ACEOF
19751 #define HAVE_FABSL 1
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19760 $as_echo_n "checking for cabsf... " >&6; }
19761 if ${gcc_cv_math_func_cabsf+:} false
; then :
19762 $as_echo_n "(cached) " >&6
19764 if test x
$gcc_no_link = xyes
; then
19765 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19770 #ifdef HAVE_COMPLEX_H
19771 #include <complex.h>
19777 int (*ptr)() = (int (*)())cabsf;
19786 if ac_fn_c_try_link
"$LINENO"; then :
19787 gcc_cv_math_func_cabsf
=yes
19789 gcc_cv_math_func_cabsf
=no
19791 rm -f core conftest.err conftest.
$ac_objext \
19792 conftest
$ac_exeext conftest.
$ac_ext
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19795 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19796 if test $gcc_cv_math_func_cabsf = yes; then
19798 cat >>confdefs.h
<<_ACEOF
19799 #define HAVE_CABSF 1
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19808 $as_echo_n "checking for cabs... " >&6; }
19809 if ${gcc_cv_math_func_cabs+:} false
; then :
19810 $as_echo_n "(cached) " >&6
19812 if test x
$gcc_no_link = xyes
; then
19813 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19818 #ifdef HAVE_COMPLEX_H
19819 #include <complex.h>
19825 int (*ptr)() = (int (*)())cabs;
19834 if ac_fn_c_try_link
"$LINENO"; then :
19835 gcc_cv_math_func_cabs
=yes
19837 gcc_cv_math_func_cabs
=no
19839 rm -f core conftest.err conftest.
$ac_objext \
19840 conftest
$ac_exeext conftest.
$ac_ext
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19843 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19844 if test $gcc_cv_math_func_cabs = yes; then
19846 cat >>confdefs.h
<<_ACEOF
19847 #define HAVE_CABS 1
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19856 $as_echo_n "checking for cabsl... " >&6; }
19857 if ${gcc_cv_math_func_cabsl+:} false
; then :
19858 $as_echo_n "(cached) " >&6
19860 if test x
$gcc_no_link = xyes
; then
19861 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19866 #ifdef HAVE_COMPLEX_H
19867 #include <complex.h>
19873 int (*ptr)() = (int (*)())cabsl;
19882 if ac_fn_c_try_link
"$LINENO"; then :
19883 gcc_cv_math_func_cabsl
=yes
19885 gcc_cv_math_func_cabsl
=no
19887 rm -f core conftest.err conftest.
$ac_objext \
19888 conftest
$ac_exeext conftest.
$ac_ext
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19891 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19892 if test $gcc_cv_math_func_cabsl = yes; then
19894 cat >>confdefs.h
<<_ACEOF
19895 #define HAVE_CABSL 1
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19904 $as_echo_n "checking for floorf... " >&6; }
19905 if ${gcc_cv_math_func_floorf+:} false
; then :
19906 $as_echo_n "(cached) " >&6
19908 if test x
$gcc_no_link = xyes
; then
19909 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h. */
19914 #ifdef HAVE_COMPLEX_H
19915 #include <complex.h>
19921 int (*ptr)() = (int (*)())floorf;
19930 if ac_fn_c_try_link
"$LINENO"; then :
19931 gcc_cv_math_func_floorf
=yes
19933 gcc_cv_math_func_floorf
=no
19935 rm -f core conftest.err conftest.
$ac_objext \
19936 conftest
$ac_exeext conftest.
$ac_ext
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19939 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19940 if test $gcc_cv_math_func_floorf = yes; then
19942 cat >>confdefs.h
<<_ACEOF
19943 #define HAVE_FLOORF 1
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19952 $as_echo_n "checking for floor... " >&6; }
19953 if ${gcc_cv_math_func_floor+:} false
; then :
19954 $as_echo_n "(cached) " >&6
19956 if test x
$gcc_no_link = xyes
; then
19957 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19962 #ifdef HAVE_COMPLEX_H
19963 #include <complex.h>
19969 int (*ptr)() = (int (*)())floor;
19978 if ac_fn_c_try_link
"$LINENO"; then :
19979 gcc_cv_math_func_floor
=yes
19981 gcc_cv_math_func_floor
=no
19983 rm -f core conftest.err conftest.
$ac_objext \
19984 conftest
$ac_exeext conftest.
$ac_ext
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19987 $as_echo "$gcc_cv_math_func_floor" >&6; }
19988 if test $gcc_cv_math_func_floor = yes; then
19990 cat >>confdefs.h
<<_ACEOF
19991 #define HAVE_FLOOR 1
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20000 $as_echo_n "checking for floorl... " >&6; }
20001 if ${gcc_cv_math_func_floorl+:} false
; then :
20002 $as_echo_n "(cached) " >&6
20004 if test x
$gcc_no_link = xyes
; then
20005 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20010 #ifdef HAVE_COMPLEX_H
20011 #include <complex.h>
20017 int (*ptr)() = (int (*)())floorl;
20026 if ac_fn_c_try_link
"$LINENO"; then :
20027 gcc_cv_math_func_floorl
=yes
20029 gcc_cv_math_func_floorl
=no
20031 rm -f core conftest.err conftest.
$ac_objext \
20032 conftest
$ac_exeext conftest.
$ac_ext
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20035 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20036 if test $gcc_cv_math_func_floorl = yes; then
20038 cat >>confdefs.h
<<_ACEOF
20039 #define HAVE_FLOORL 1
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20048 $as_echo_n "checking for fmaf... " >&6; }
20049 if ${gcc_cv_math_func_fmaf+:} false
; then :
20050 $as_echo_n "(cached) " >&6
20052 if test x
$gcc_no_link = xyes
; then
20053 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20058 #ifdef HAVE_COMPLEX_H
20059 #include <complex.h>
20065 int (*ptr)() = (int (*)())fmaf;
20074 if ac_fn_c_try_link
"$LINENO"; then :
20075 gcc_cv_math_func_fmaf
=yes
20077 gcc_cv_math_func_fmaf
=no
20079 rm -f core conftest.err conftest.
$ac_objext \
20080 conftest
$ac_exeext conftest.
$ac_ext
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20083 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20084 if test $gcc_cv_math_func_fmaf = yes; then
20086 cat >>confdefs.h
<<_ACEOF
20087 #define HAVE_FMAF 1
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20096 $as_echo_n "checking for fma... " >&6; }
20097 if ${gcc_cv_math_func_fma+:} false
; then :
20098 $as_echo_n "(cached) " >&6
20100 if test x
$gcc_no_link = xyes
; then
20101 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20106 #ifdef HAVE_COMPLEX_H
20107 #include <complex.h>
20113 int (*ptr)() = (int (*)())fma;
20122 if ac_fn_c_try_link
"$LINENO"; then :
20123 gcc_cv_math_func_fma
=yes
20125 gcc_cv_math_func_fma
=no
20127 rm -f core conftest.err conftest.
$ac_objext \
20128 conftest
$ac_exeext conftest.
$ac_ext
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20131 $as_echo "$gcc_cv_math_func_fma" >&6; }
20132 if test $gcc_cv_math_func_fma = yes; then
20134 cat >>confdefs.h
<<_ACEOF
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20144 $as_echo_n "checking for fmal... " >&6; }
20145 if ${gcc_cv_math_func_fmal+:} false
; then :
20146 $as_echo_n "(cached) " >&6
20148 if test x
$gcc_no_link = xyes
; then
20149 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20154 #ifdef HAVE_COMPLEX_H
20155 #include <complex.h>
20161 int (*ptr)() = (int (*)())fmal;
20170 if ac_fn_c_try_link
"$LINENO"; then :
20171 gcc_cv_math_func_fmal
=yes
20173 gcc_cv_math_func_fmal
=no
20175 rm -f core conftest.err conftest.
$ac_objext \
20176 conftest
$ac_exeext conftest.
$ac_ext
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20179 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20180 if test $gcc_cv_math_func_fmal = yes; then
20182 cat >>confdefs.h
<<_ACEOF
20183 #define HAVE_FMAL 1
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20192 $as_echo_n "checking for fmodf... " >&6; }
20193 if ${gcc_cv_math_func_fmodf+:} false
; then :
20194 $as_echo_n "(cached) " >&6
20196 if test x
$gcc_no_link = xyes
; then
20197 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20202 #ifdef HAVE_COMPLEX_H
20203 #include <complex.h>
20209 int (*ptr)() = (int (*)())fmodf;
20218 if ac_fn_c_try_link
"$LINENO"; then :
20219 gcc_cv_math_func_fmodf
=yes
20221 gcc_cv_math_func_fmodf
=no
20223 rm -f core conftest.err conftest.
$ac_objext \
20224 conftest
$ac_exeext conftest.
$ac_ext
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20227 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20228 if test $gcc_cv_math_func_fmodf = yes; then
20230 cat >>confdefs.h
<<_ACEOF
20231 #define HAVE_FMODF 1
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20240 $as_echo_n "checking for fmod... " >&6; }
20241 if ${gcc_cv_math_func_fmod+:} false
; then :
20242 $as_echo_n "(cached) " >&6
20244 if test x
$gcc_no_link = xyes
; then
20245 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20248 /* end confdefs.h. */
20250 #ifdef HAVE_COMPLEX_H
20251 #include <complex.h>
20257 int (*ptr)() = (int (*)())fmod;
20266 if ac_fn_c_try_link
"$LINENO"; then :
20267 gcc_cv_math_func_fmod
=yes
20269 gcc_cv_math_func_fmod
=no
20271 rm -f core conftest.err conftest.
$ac_objext \
20272 conftest
$ac_exeext conftest.
$ac_ext
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20275 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20276 if test $gcc_cv_math_func_fmod = yes; then
20278 cat >>confdefs.h
<<_ACEOF
20279 #define HAVE_FMOD 1
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20288 $as_echo_n "checking for fmodl... " >&6; }
20289 if ${gcc_cv_math_func_fmodl+:} false
; then :
20290 $as_echo_n "(cached) " >&6
20292 if test x
$gcc_no_link = xyes
; then
20293 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20298 #ifdef HAVE_COMPLEX_H
20299 #include <complex.h>
20305 int (*ptr)() = (int (*)())fmodl;
20314 if ac_fn_c_try_link
"$LINENO"; then :
20315 gcc_cv_math_func_fmodl
=yes
20317 gcc_cv_math_func_fmodl
=no
20319 rm -f core conftest.err conftest.
$ac_objext \
20320 conftest
$ac_exeext conftest.
$ac_ext
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20323 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20324 if test $gcc_cv_math_func_fmodl = yes; then
20326 cat >>confdefs.h
<<_ACEOF
20327 #define HAVE_FMODL 1
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20336 $as_echo_n "checking for frexpf... " >&6; }
20337 if ${gcc_cv_math_func_frexpf+:} false
; then :
20338 $as_echo_n "(cached) " >&6
20340 if test x
$gcc_no_link = xyes
; then
20341 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h. */
20346 #ifdef HAVE_COMPLEX_H
20347 #include <complex.h>
20353 int (*ptr)() = (int (*)())frexpf;
20362 if ac_fn_c_try_link
"$LINENO"; then :
20363 gcc_cv_math_func_frexpf
=yes
20365 gcc_cv_math_func_frexpf
=no
20367 rm -f core conftest.err conftest.
$ac_objext \
20368 conftest
$ac_exeext conftest.
$ac_ext
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20371 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20372 if test $gcc_cv_math_func_frexpf = yes; then
20374 cat >>confdefs.h
<<_ACEOF
20375 #define HAVE_FREXPF 1
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20384 $as_echo_n "checking for frexp... " >&6; }
20385 if ${gcc_cv_math_func_frexp+:} false
; then :
20386 $as_echo_n "(cached) " >&6
20388 if test x
$gcc_no_link = xyes
; then
20389 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20392 /* end confdefs.h. */
20394 #ifdef HAVE_COMPLEX_H
20395 #include <complex.h>
20401 int (*ptr)() = (int (*)())frexp;
20410 if ac_fn_c_try_link
"$LINENO"; then :
20411 gcc_cv_math_func_frexp
=yes
20413 gcc_cv_math_func_frexp
=no
20415 rm -f core conftest.err conftest.
$ac_objext \
20416 conftest
$ac_exeext conftest.
$ac_ext
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20419 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20420 if test $gcc_cv_math_func_frexp = yes; then
20422 cat >>confdefs.h
<<_ACEOF
20423 #define HAVE_FREXP 1
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20432 $as_echo_n "checking for frexpl... " >&6; }
20433 if ${gcc_cv_math_func_frexpl+:} false
; then :
20434 $as_echo_n "(cached) " >&6
20436 if test x
$gcc_no_link = xyes
; then
20437 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20440 /* end confdefs.h. */
20442 #ifdef HAVE_COMPLEX_H
20443 #include <complex.h>
20449 int (*ptr)() = (int (*)())frexpl;
20458 if ac_fn_c_try_link
"$LINENO"; then :
20459 gcc_cv_math_func_frexpl
=yes
20461 gcc_cv_math_func_frexpl
=no
20463 rm -f core conftest.err conftest.
$ac_objext \
20464 conftest
$ac_exeext conftest.
$ac_ext
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20467 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20468 if test $gcc_cv_math_func_frexpl = yes; then
20470 cat >>confdefs.h
<<_ACEOF
20471 #define HAVE_FREXPL 1
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20480 $as_echo_n "checking for hypotf... " >&6; }
20481 if ${gcc_cv_math_func_hypotf+:} false
; then :
20482 $as_echo_n "(cached) " >&6
20484 if test x
$gcc_no_link = xyes
; then
20485 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20490 #ifdef HAVE_COMPLEX_H
20491 #include <complex.h>
20497 int (*ptr)() = (int (*)())hypotf;
20506 if ac_fn_c_try_link
"$LINENO"; then :
20507 gcc_cv_math_func_hypotf
=yes
20509 gcc_cv_math_func_hypotf
=no
20511 rm -f core conftest.err conftest.
$ac_objext \
20512 conftest
$ac_exeext conftest.
$ac_ext
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20515 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20516 if test $gcc_cv_math_func_hypotf = yes; then
20518 cat >>confdefs.h
<<_ACEOF
20519 #define HAVE_HYPOTF 1
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20528 $as_echo_n "checking for hypot... " >&6; }
20529 if ${gcc_cv_math_func_hypot+:} false
; then :
20530 $as_echo_n "(cached) " >&6
20532 if test x
$gcc_no_link = xyes
; then
20533 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20538 #ifdef HAVE_COMPLEX_H
20539 #include <complex.h>
20545 int (*ptr)() = (int (*)())hypot;
20554 if ac_fn_c_try_link
"$LINENO"; then :
20555 gcc_cv_math_func_hypot
=yes
20557 gcc_cv_math_func_hypot
=no
20559 rm -f core conftest.err conftest.
$ac_objext \
20560 conftest
$ac_exeext conftest.
$ac_ext
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20563 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20564 if test $gcc_cv_math_func_hypot = yes; then
20566 cat >>confdefs.h
<<_ACEOF
20567 #define HAVE_HYPOT 1
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20576 $as_echo_n "checking for hypotl... " >&6; }
20577 if ${gcc_cv_math_func_hypotl+:} false
; then :
20578 $as_echo_n "(cached) " >&6
20580 if test x
$gcc_no_link = xyes
; then
20581 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20584 /* end confdefs.h. */
20586 #ifdef HAVE_COMPLEX_H
20587 #include <complex.h>
20593 int (*ptr)() = (int (*)())hypotl;
20602 if ac_fn_c_try_link
"$LINENO"; then :
20603 gcc_cv_math_func_hypotl
=yes
20605 gcc_cv_math_func_hypotl
=no
20607 rm -f core conftest.err conftest.
$ac_objext \
20608 conftest
$ac_exeext conftest.
$ac_ext
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20611 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20612 if test $gcc_cv_math_func_hypotl = yes; then
20614 cat >>confdefs.h
<<_ACEOF
20615 #define HAVE_HYPOTL 1
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20624 $as_echo_n "checking for ldexpf... " >&6; }
20625 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20626 $as_echo_n "(cached) " >&6
20628 if test x
$gcc_no_link = xyes
; then
20629 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20634 #ifdef HAVE_COMPLEX_H
20635 #include <complex.h>
20641 int (*ptr)() = (int (*)())ldexpf;
20650 if ac_fn_c_try_link
"$LINENO"; then :
20651 gcc_cv_math_func_ldexpf
=yes
20653 gcc_cv_math_func_ldexpf
=no
20655 rm -f core conftest.err conftest.
$ac_objext \
20656 conftest
$ac_exeext conftest.
$ac_ext
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20659 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20660 if test $gcc_cv_math_func_ldexpf = yes; then
20662 cat >>confdefs.h
<<_ACEOF
20663 #define HAVE_LDEXPF 1
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20672 $as_echo_n "checking for ldexp... " >&6; }
20673 if ${gcc_cv_math_func_ldexp+:} false
; then :
20674 $as_echo_n "(cached) " >&6
20676 if test x
$gcc_no_link = xyes
; then
20677 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20682 #ifdef HAVE_COMPLEX_H
20683 #include <complex.h>
20689 int (*ptr)() = (int (*)())ldexp;
20698 if ac_fn_c_try_link
"$LINENO"; then :
20699 gcc_cv_math_func_ldexp
=yes
20701 gcc_cv_math_func_ldexp
=no
20703 rm -f core conftest.err conftest.
$ac_objext \
20704 conftest
$ac_exeext conftest.
$ac_ext
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20707 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20708 if test $gcc_cv_math_func_ldexp = yes; then
20710 cat >>confdefs.h
<<_ACEOF
20711 #define HAVE_LDEXP 1
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20720 $as_echo_n "checking for ldexpl... " >&6; }
20721 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20722 $as_echo_n "(cached) " >&6
20724 if test x
$gcc_no_link = xyes
; then
20725 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20728 /* end confdefs.h. */
20730 #ifdef HAVE_COMPLEX_H
20731 #include <complex.h>
20737 int (*ptr)() = (int (*)())ldexpl;
20746 if ac_fn_c_try_link
"$LINENO"; then :
20747 gcc_cv_math_func_ldexpl
=yes
20749 gcc_cv_math_func_ldexpl
=no
20751 rm -f core conftest.err conftest.
$ac_objext \
20752 conftest
$ac_exeext conftest.
$ac_ext
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20755 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20756 if test $gcc_cv_math_func_ldexpl = yes; then
20758 cat >>confdefs.h
<<_ACEOF
20759 #define HAVE_LDEXPL 1
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20768 $as_echo_n "checking for logf... " >&6; }
20769 if ${gcc_cv_math_func_logf+:} false
; then :
20770 $as_echo_n "(cached) " >&6
20772 if test x
$gcc_no_link = xyes
; then
20773 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20776 /* end confdefs.h. */
20778 #ifdef HAVE_COMPLEX_H
20779 #include <complex.h>
20785 int (*ptr)() = (int (*)())logf;
20794 if ac_fn_c_try_link
"$LINENO"; then :
20795 gcc_cv_math_func_logf
=yes
20797 gcc_cv_math_func_logf
=no
20799 rm -f core conftest.err conftest.
$ac_objext \
20800 conftest
$ac_exeext conftest.
$ac_ext
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20803 $as_echo "$gcc_cv_math_func_logf" >&6; }
20804 if test $gcc_cv_math_func_logf = yes; then
20806 cat >>confdefs.h
<<_ACEOF
20807 #define HAVE_LOGF 1
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20816 $as_echo_n "checking for log... " >&6; }
20817 if ${gcc_cv_math_func_log+:} false
; then :
20818 $as_echo_n "(cached) " >&6
20820 if test x
$gcc_no_link = xyes
; then
20821 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20826 #ifdef HAVE_COMPLEX_H
20827 #include <complex.h>
20833 int (*ptr)() = (int (*)())log;
20842 if ac_fn_c_try_link
"$LINENO"; then :
20843 gcc_cv_math_func_log
=yes
20845 gcc_cv_math_func_log
=no
20847 rm -f core conftest.err conftest.
$ac_objext \
20848 conftest
$ac_exeext conftest.
$ac_ext
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20851 $as_echo "$gcc_cv_math_func_log" >&6; }
20852 if test $gcc_cv_math_func_log = yes; then
20854 cat >>confdefs.h
<<_ACEOF
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20864 $as_echo_n "checking for logl... " >&6; }
20865 if ${gcc_cv_math_func_logl+:} false
; then :
20866 $as_echo_n "(cached) " >&6
20868 if test x
$gcc_no_link = xyes
; then
20869 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20874 #ifdef HAVE_COMPLEX_H
20875 #include <complex.h>
20881 int (*ptr)() = (int (*)())logl;
20890 if ac_fn_c_try_link
"$LINENO"; then :
20891 gcc_cv_math_func_logl
=yes
20893 gcc_cv_math_func_logl
=no
20895 rm -f core conftest.err conftest.
$ac_objext \
20896 conftest
$ac_exeext conftest.
$ac_ext
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20899 $as_echo "$gcc_cv_math_func_logl" >&6; }
20900 if test $gcc_cv_math_func_logl = yes; then
20902 cat >>confdefs.h
<<_ACEOF
20903 #define HAVE_LOGL 1
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20912 $as_echo_n "checking for clogf... " >&6; }
20913 if ${gcc_cv_math_func_clogf+:} false
; then :
20914 $as_echo_n "(cached) " >&6
20916 if test x
$gcc_no_link = xyes
; then
20917 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20922 #ifdef HAVE_COMPLEX_H
20923 #include <complex.h>
20929 int (*ptr)() = (int (*)())clogf;
20938 if ac_fn_c_try_link
"$LINENO"; then :
20939 gcc_cv_math_func_clogf
=yes
20941 gcc_cv_math_func_clogf
=no
20943 rm -f core conftest.err conftest.
$ac_objext \
20944 conftest
$ac_exeext conftest.
$ac_ext
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20947 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20948 if test $gcc_cv_math_func_clogf = yes; then
20950 cat >>confdefs.h
<<_ACEOF
20951 #define HAVE_CLOGF 1
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20960 $as_echo_n "checking for clog... " >&6; }
20961 if ${gcc_cv_math_func_clog+:} false
; then :
20962 $as_echo_n "(cached) " >&6
20964 if test x
$gcc_no_link = xyes
; then
20965 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h. */
20970 #ifdef HAVE_COMPLEX_H
20971 #include <complex.h>
20977 int (*ptr)() = (int (*)())clog;
20986 if ac_fn_c_try_link
"$LINENO"; then :
20987 gcc_cv_math_func_clog
=yes
20989 gcc_cv_math_func_clog
=no
20991 rm -f core conftest.err conftest.
$ac_objext \
20992 conftest
$ac_exeext conftest.
$ac_ext
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20995 $as_echo "$gcc_cv_math_func_clog" >&6; }
20996 if test $gcc_cv_math_func_clog = yes; then
20998 cat >>confdefs.h
<<_ACEOF
20999 #define HAVE_CLOG 1
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21008 $as_echo_n "checking for clogl... " >&6; }
21009 if ${gcc_cv_math_func_clogl+:} false
; then :
21010 $as_echo_n "(cached) " >&6
21012 if test x
$gcc_no_link = xyes
; then
21013 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21016 /* end confdefs.h. */
21018 #ifdef HAVE_COMPLEX_H
21019 #include <complex.h>
21025 int (*ptr)() = (int (*)())clogl;
21034 if ac_fn_c_try_link
"$LINENO"; then :
21035 gcc_cv_math_func_clogl
=yes
21037 gcc_cv_math_func_clogl
=no
21039 rm -f core conftest.err conftest.
$ac_objext \
21040 conftest
$ac_exeext conftest.
$ac_ext
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21043 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21044 if test $gcc_cv_math_func_clogl = yes; then
21046 cat >>confdefs.h
<<_ACEOF
21047 #define HAVE_CLOGL 1
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21056 $as_echo_n "checking for log10f... " >&6; }
21057 if ${gcc_cv_math_func_log10f+:} false
; then :
21058 $as_echo_n "(cached) " >&6
21060 if test x
$gcc_no_link = xyes
; then
21061 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21066 #ifdef HAVE_COMPLEX_H
21067 #include <complex.h>
21073 int (*ptr)() = (int (*)())log10f;
21082 if ac_fn_c_try_link
"$LINENO"; then :
21083 gcc_cv_math_func_log10f
=yes
21085 gcc_cv_math_func_log10f
=no
21087 rm -f core conftest.err conftest.
$ac_objext \
21088 conftest
$ac_exeext conftest.
$ac_ext
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21091 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21092 if test $gcc_cv_math_func_log10f = yes; then
21094 cat >>confdefs.h
<<_ACEOF
21095 #define HAVE_LOG10F 1
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21104 $as_echo_n "checking for log10... " >&6; }
21105 if ${gcc_cv_math_func_log10+:} false
; then :
21106 $as_echo_n "(cached) " >&6
21108 if test x
$gcc_no_link = xyes
; then
21109 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21114 #ifdef HAVE_COMPLEX_H
21115 #include <complex.h>
21121 int (*ptr)() = (int (*)())log10;
21130 if ac_fn_c_try_link
"$LINENO"; then :
21131 gcc_cv_math_func_log10
=yes
21133 gcc_cv_math_func_log10
=no
21135 rm -f core conftest.err conftest.
$ac_objext \
21136 conftest
$ac_exeext conftest.
$ac_ext
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21139 $as_echo "$gcc_cv_math_func_log10" >&6; }
21140 if test $gcc_cv_math_func_log10 = yes; then
21142 cat >>confdefs.h
<<_ACEOF
21143 #define HAVE_LOG10 1
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21152 $as_echo_n "checking for log10l... " >&6; }
21153 if ${gcc_cv_math_func_log10l+:} false
; then :
21154 $as_echo_n "(cached) " >&6
21156 if test x
$gcc_no_link = xyes
; then
21157 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21162 #ifdef HAVE_COMPLEX_H
21163 #include <complex.h>
21169 int (*ptr)() = (int (*)())log10l;
21178 if ac_fn_c_try_link
"$LINENO"; then :
21179 gcc_cv_math_func_log10l
=yes
21181 gcc_cv_math_func_log10l
=no
21183 rm -f core conftest.err conftest.
$ac_objext \
21184 conftest
$ac_exeext conftest.
$ac_ext
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21187 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21188 if test $gcc_cv_math_func_log10l = yes; then
21190 cat >>confdefs.h
<<_ACEOF
21191 #define HAVE_LOG10L 1
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21200 $as_echo_n "checking for clog10f... " >&6; }
21201 if ${gcc_cv_math_func_clog10f+:} false
; then :
21202 $as_echo_n "(cached) " >&6
21204 if test x
$gcc_no_link = xyes
; then
21205 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21210 #ifdef HAVE_COMPLEX_H
21211 #include <complex.h>
21217 int (*ptr)() = (int (*)())clog10f;
21226 if ac_fn_c_try_link
"$LINENO"; then :
21227 gcc_cv_math_func_clog10f
=yes
21229 gcc_cv_math_func_clog10f
=no
21231 rm -f core conftest.err conftest.
$ac_objext \
21232 conftest
$ac_exeext conftest.
$ac_ext
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21235 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21236 if test $gcc_cv_math_func_clog10f = yes; then
21238 cat >>confdefs.h
<<_ACEOF
21239 #define HAVE_CLOG10F 1
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21248 $as_echo_n "checking for clog10... " >&6; }
21249 if ${gcc_cv_math_func_clog10+:} false
; then :
21250 $as_echo_n "(cached) " >&6
21252 if test x
$gcc_no_link = xyes
; then
21253 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21258 #ifdef HAVE_COMPLEX_H
21259 #include <complex.h>
21265 int (*ptr)() = (int (*)())clog10;
21274 if ac_fn_c_try_link
"$LINENO"; then :
21275 gcc_cv_math_func_clog10
=yes
21277 gcc_cv_math_func_clog10
=no
21279 rm -f core conftest.err conftest.
$ac_objext \
21280 conftest
$ac_exeext conftest.
$ac_ext
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21283 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21284 if test $gcc_cv_math_func_clog10 = yes; then
21286 cat >>confdefs.h
<<_ACEOF
21287 #define HAVE_CLOG10 1
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21296 $as_echo_n "checking for clog10l... " >&6; }
21297 if ${gcc_cv_math_func_clog10l+:} false
; then :
21298 $as_echo_n "(cached) " >&6
21300 if test x
$gcc_no_link = xyes
; then
21301 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h. */
21306 #ifdef HAVE_COMPLEX_H
21307 #include <complex.h>
21313 int (*ptr)() = (int (*)())clog10l;
21322 if ac_fn_c_try_link
"$LINENO"; then :
21323 gcc_cv_math_func_clog10l
=yes
21325 gcc_cv_math_func_clog10l
=no
21327 rm -f core conftest.err conftest.
$ac_objext \
21328 conftest
$ac_exeext conftest.
$ac_ext
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21331 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21332 if test $gcc_cv_math_func_clog10l = yes; then
21334 cat >>confdefs.h
<<_ACEOF
21335 #define HAVE_CLOG10L 1
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21344 $as_echo_n "checking for nextafterf... " >&6; }
21345 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21346 $as_echo_n "(cached) " >&6
21348 if test x
$gcc_no_link = xyes
; then
21349 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21352 /* end confdefs.h. */
21354 #ifdef HAVE_COMPLEX_H
21355 #include <complex.h>
21361 int (*ptr)() = (int (*)())nextafterf;
21370 if ac_fn_c_try_link
"$LINENO"; then :
21371 gcc_cv_math_func_nextafterf
=yes
21373 gcc_cv_math_func_nextafterf
=no
21375 rm -f core conftest.err conftest.
$ac_objext \
21376 conftest
$ac_exeext conftest.
$ac_ext
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21379 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21380 if test $gcc_cv_math_func_nextafterf = yes; then
21382 cat >>confdefs.h
<<_ACEOF
21383 #define HAVE_NEXTAFTERF 1
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21392 $as_echo_n "checking for nextafter... " >&6; }
21393 if ${gcc_cv_math_func_nextafter+:} false
; then :
21394 $as_echo_n "(cached) " >&6
21396 if test x
$gcc_no_link = xyes
; then
21397 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21400 /* end confdefs.h. */
21402 #ifdef HAVE_COMPLEX_H
21403 #include <complex.h>
21409 int (*ptr)() = (int (*)())nextafter;
21418 if ac_fn_c_try_link
"$LINENO"; then :
21419 gcc_cv_math_func_nextafter
=yes
21421 gcc_cv_math_func_nextafter
=no
21423 rm -f core conftest.err conftest.
$ac_objext \
21424 conftest
$ac_exeext conftest.
$ac_ext
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21427 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21428 if test $gcc_cv_math_func_nextafter = yes; then
21430 cat >>confdefs.h
<<_ACEOF
21431 #define HAVE_NEXTAFTER 1
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21440 $as_echo_n "checking for nextafterl... " >&6; }
21441 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21442 $as_echo_n "(cached) " >&6
21444 if test x
$gcc_no_link = xyes
; then
21445 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21448 /* end confdefs.h. */
21450 #ifdef HAVE_COMPLEX_H
21451 #include <complex.h>
21457 int (*ptr)() = (int (*)())nextafterl;
21466 if ac_fn_c_try_link
"$LINENO"; then :
21467 gcc_cv_math_func_nextafterl
=yes
21469 gcc_cv_math_func_nextafterl
=no
21471 rm -f core conftest.err conftest.
$ac_objext \
21472 conftest
$ac_exeext conftest.
$ac_ext
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21475 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21476 if test $gcc_cv_math_func_nextafterl = yes; then
21478 cat >>confdefs.h
<<_ACEOF
21479 #define HAVE_NEXTAFTERL 1
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21488 $as_echo_n "checking for powf... " >&6; }
21489 if ${gcc_cv_math_func_powf+:} false
; then :
21490 $as_echo_n "(cached) " >&6
21492 if test x
$gcc_no_link = xyes
; then
21493 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21496 /* end confdefs.h. */
21498 #ifdef HAVE_COMPLEX_H
21499 #include <complex.h>
21505 int (*ptr)() = (int (*)())powf;
21514 if ac_fn_c_try_link
"$LINENO"; then :
21515 gcc_cv_math_func_powf
=yes
21517 gcc_cv_math_func_powf
=no
21519 rm -f core conftest.err conftest.
$ac_objext \
21520 conftest
$ac_exeext conftest.
$ac_ext
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21523 $as_echo "$gcc_cv_math_func_powf" >&6; }
21524 if test $gcc_cv_math_func_powf = yes; then
21526 cat >>confdefs.h
<<_ACEOF
21527 #define HAVE_POWF 1
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21536 $as_echo_n "checking for pow... " >&6; }
21537 if ${gcc_cv_math_func_pow+:} false
; then :
21538 $as_echo_n "(cached) " >&6
21540 if test x
$gcc_no_link = xyes
; then
21541 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21544 /* end confdefs.h. */
21546 #ifdef HAVE_COMPLEX_H
21547 #include <complex.h>
21553 int (*ptr)() = (int (*)())pow;
21562 if ac_fn_c_try_link
"$LINENO"; then :
21563 gcc_cv_math_func_pow
=yes
21565 gcc_cv_math_func_pow
=no
21567 rm -f core conftest.err conftest.
$ac_objext \
21568 conftest
$ac_exeext conftest.
$ac_ext
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21571 $as_echo "$gcc_cv_math_func_pow" >&6; }
21572 if test $gcc_cv_math_func_pow = yes; then
21574 cat >>confdefs.h
<<_ACEOF
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21584 $as_echo_n "checking for cpowf... " >&6; }
21585 if ${gcc_cv_math_func_cpowf+:} false
; then :
21586 $as_echo_n "(cached) " >&6
21588 if test x
$gcc_no_link = xyes
; then
21589 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21594 #ifdef HAVE_COMPLEX_H
21595 #include <complex.h>
21601 int (*ptr)() = (int (*)())cpowf;
21610 if ac_fn_c_try_link
"$LINENO"; then :
21611 gcc_cv_math_func_cpowf
=yes
21613 gcc_cv_math_func_cpowf
=no
21615 rm -f core conftest.err conftest.
$ac_objext \
21616 conftest
$ac_exeext conftest.
$ac_ext
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21619 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21620 if test $gcc_cv_math_func_cpowf = yes; then
21622 cat >>confdefs.h
<<_ACEOF
21623 #define HAVE_CPOWF 1
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21632 $as_echo_n "checking for cpow... " >&6; }
21633 if ${gcc_cv_math_func_cpow+:} false
; then :
21634 $as_echo_n "(cached) " >&6
21636 if test x
$gcc_no_link = xyes
; then
21637 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21642 #ifdef HAVE_COMPLEX_H
21643 #include <complex.h>
21649 int (*ptr)() = (int (*)())cpow;
21658 if ac_fn_c_try_link
"$LINENO"; then :
21659 gcc_cv_math_func_cpow
=yes
21661 gcc_cv_math_func_cpow
=no
21663 rm -f core conftest.err conftest.
$ac_objext \
21664 conftest
$ac_exeext conftest.
$ac_ext
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21667 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21668 if test $gcc_cv_math_func_cpow = yes; then
21670 cat >>confdefs.h
<<_ACEOF
21671 #define HAVE_CPOW 1
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21680 $as_echo_n "checking for cpowl... " >&6; }
21681 if ${gcc_cv_math_func_cpowl+:} false
; then :
21682 $as_echo_n "(cached) " >&6
21684 if test x
$gcc_no_link = xyes
; then
21685 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21688 /* end confdefs.h. */
21690 #ifdef HAVE_COMPLEX_H
21691 #include <complex.h>
21697 int (*ptr)() = (int (*)())cpowl;
21706 if ac_fn_c_try_link
"$LINENO"; then :
21707 gcc_cv_math_func_cpowl
=yes
21709 gcc_cv_math_func_cpowl
=no
21711 rm -f core conftest.err conftest.
$ac_objext \
21712 conftest
$ac_exeext conftest.
$ac_ext
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21715 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21716 if test $gcc_cv_math_func_cpowl = yes; then
21718 cat >>confdefs.h
<<_ACEOF
21719 #define HAVE_CPOWL 1
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21728 $as_echo_n "checking for roundf... " >&6; }
21729 if ${gcc_cv_math_func_roundf+:} false
; then :
21730 $as_echo_n "(cached) " >&6
21732 if test x
$gcc_no_link = xyes
; then
21733 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21736 /* end confdefs.h. */
21738 #ifdef HAVE_COMPLEX_H
21739 #include <complex.h>
21745 int (*ptr)() = (int (*)())roundf;
21754 if ac_fn_c_try_link
"$LINENO"; then :
21755 gcc_cv_math_func_roundf
=yes
21757 gcc_cv_math_func_roundf
=no
21759 rm -f core conftest.err conftest.
$ac_objext \
21760 conftest
$ac_exeext conftest.
$ac_ext
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21763 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21764 if test $gcc_cv_math_func_roundf = yes; then
21766 cat >>confdefs.h
<<_ACEOF
21767 #define HAVE_ROUNDF 1
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21776 $as_echo_n "checking for round... " >&6; }
21777 if ${gcc_cv_math_func_round+:} false
; then :
21778 $as_echo_n "(cached) " >&6
21780 if test x
$gcc_no_link = xyes
; then
21781 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21784 /* end confdefs.h. */
21786 #ifdef HAVE_COMPLEX_H
21787 #include <complex.h>
21793 int (*ptr)() = (int (*)())round;
21802 if ac_fn_c_try_link
"$LINENO"; then :
21803 gcc_cv_math_func_round
=yes
21805 gcc_cv_math_func_round
=no
21807 rm -f core conftest.err conftest.
$ac_objext \
21808 conftest
$ac_exeext conftest.
$ac_ext
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21811 $as_echo "$gcc_cv_math_func_round" >&6; }
21812 if test $gcc_cv_math_func_round = yes; then
21814 cat >>confdefs.h
<<_ACEOF
21815 #define HAVE_ROUND 1
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21824 $as_echo_n "checking for roundl... " >&6; }
21825 if ${gcc_cv_math_func_roundl+:} false
; then :
21826 $as_echo_n "(cached) " >&6
21828 if test x
$gcc_no_link = xyes
; then
21829 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21834 #ifdef HAVE_COMPLEX_H
21835 #include <complex.h>
21841 int (*ptr)() = (int (*)())roundl;
21850 if ac_fn_c_try_link
"$LINENO"; then :
21851 gcc_cv_math_func_roundl
=yes
21853 gcc_cv_math_func_roundl
=no
21855 rm -f core conftest.err conftest.
$ac_objext \
21856 conftest
$ac_exeext conftest.
$ac_ext
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21859 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21860 if test $gcc_cv_math_func_roundl = yes; then
21862 cat >>confdefs.h
<<_ACEOF
21863 #define HAVE_ROUNDL 1
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21872 $as_echo_n "checking for lroundf... " >&6; }
21873 if ${gcc_cv_math_func_lroundf+:} false
; then :
21874 $as_echo_n "(cached) " >&6
21876 if test x
$gcc_no_link = xyes
; then
21877 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21882 #ifdef HAVE_COMPLEX_H
21883 #include <complex.h>
21889 int (*ptr)() = (int (*)())lroundf;
21898 if ac_fn_c_try_link
"$LINENO"; then :
21899 gcc_cv_math_func_lroundf
=yes
21901 gcc_cv_math_func_lroundf
=no
21903 rm -f core conftest.err conftest.
$ac_objext \
21904 conftest
$ac_exeext conftest.
$ac_ext
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21907 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21908 if test $gcc_cv_math_func_lroundf = yes; then
21910 cat >>confdefs.h
<<_ACEOF
21911 #define HAVE_LROUNDF 1
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21920 $as_echo_n "checking for lround... " >&6; }
21921 if ${gcc_cv_math_func_lround+:} false
; then :
21922 $as_echo_n "(cached) " >&6
21924 if test x
$gcc_no_link = xyes
; then
21925 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21928 /* end confdefs.h. */
21930 #ifdef HAVE_COMPLEX_H
21931 #include <complex.h>
21937 int (*ptr)() = (int (*)())lround;
21946 if ac_fn_c_try_link
"$LINENO"; then :
21947 gcc_cv_math_func_lround
=yes
21949 gcc_cv_math_func_lround
=no
21951 rm -f core conftest.err conftest.
$ac_objext \
21952 conftest
$ac_exeext conftest.
$ac_ext
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21955 $as_echo "$gcc_cv_math_func_lround" >&6; }
21956 if test $gcc_cv_math_func_lround = yes; then
21958 cat >>confdefs.h
<<_ACEOF
21959 #define HAVE_LROUND 1
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21968 $as_echo_n "checking for lroundl... " >&6; }
21969 if ${gcc_cv_math_func_lroundl+:} false
; then :
21970 $as_echo_n "(cached) " >&6
21972 if test x
$gcc_no_link = xyes
; then
21973 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h. */
21978 #ifdef HAVE_COMPLEX_H
21979 #include <complex.h>
21985 int (*ptr)() = (int (*)())lroundl;
21994 if ac_fn_c_try_link
"$LINENO"; then :
21995 gcc_cv_math_func_lroundl
=yes
21997 gcc_cv_math_func_lroundl
=no
21999 rm -f core conftest.err conftest.
$ac_objext \
22000 conftest
$ac_exeext conftest.
$ac_ext
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22003 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22004 if test $gcc_cv_math_func_lroundl = yes; then
22006 cat >>confdefs.h
<<_ACEOF
22007 #define HAVE_LROUNDL 1
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22016 $as_echo_n "checking for llroundf... " >&6; }
22017 if ${gcc_cv_math_func_llroundf+:} false
; then :
22018 $as_echo_n "(cached) " >&6
22020 if test x
$gcc_no_link = xyes
; then
22021 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h. */
22026 #ifdef HAVE_COMPLEX_H
22027 #include <complex.h>
22033 int (*ptr)() = (int (*)())llroundf;
22042 if ac_fn_c_try_link
"$LINENO"; then :
22043 gcc_cv_math_func_llroundf
=yes
22045 gcc_cv_math_func_llroundf
=no
22047 rm -f core conftest.err conftest.
$ac_objext \
22048 conftest
$ac_exeext conftest.
$ac_ext
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22051 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22052 if test $gcc_cv_math_func_llroundf = yes; then
22054 cat >>confdefs.h
<<_ACEOF
22055 #define HAVE_LLROUNDF 1
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22064 $as_echo_n "checking for llround... " >&6; }
22065 if ${gcc_cv_math_func_llround+:} false
; then :
22066 $as_echo_n "(cached) " >&6
22068 if test x
$gcc_no_link = xyes
; then
22069 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22072 /* end confdefs.h. */
22074 #ifdef HAVE_COMPLEX_H
22075 #include <complex.h>
22081 int (*ptr)() = (int (*)())llround;
22090 if ac_fn_c_try_link
"$LINENO"; then :
22091 gcc_cv_math_func_llround
=yes
22093 gcc_cv_math_func_llround
=no
22095 rm -f core conftest.err conftest.
$ac_objext \
22096 conftest
$ac_exeext conftest.
$ac_ext
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22099 $as_echo "$gcc_cv_math_func_llround" >&6; }
22100 if test $gcc_cv_math_func_llround = yes; then
22102 cat >>confdefs.h
<<_ACEOF
22103 #define HAVE_LLROUND 1
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22112 $as_echo_n "checking for llroundl... " >&6; }
22113 if ${gcc_cv_math_func_llroundl+:} false
; then :
22114 $as_echo_n "(cached) " >&6
22116 if test x
$gcc_no_link = xyes
; then
22117 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22120 /* end confdefs.h. */
22122 #ifdef HAVE_COMPLEX_H
22123 #include <complex.h>
22129 int (*ptr)() = (int (*)())llroundl;
22138 if ac_fn_c_try_link
"$LINENO"; then :
22139 gcc_cv_math_func_llroundl
=yes
22141 gcc_cv_math_func_llroundl
=no
22143 rm -f core conftest.err conftest.
$ac_objext \
22144 conftest
$ac_exeext conftest.
$ac_ext
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22147 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22148 if test $gcc_cv_math_func_llroundl = yes; then
22150 cat >>confdefs.h
<<_ACEOF
22151 #define HAVE_LLROUNDL 1
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22160 $as_echo_n "checking for scalbnf... " >&6; }
22161 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22162 $as_echo_n "(cached) " >&6
22164 if test x
$gcc_no_link = xyes
; then
22165 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22168 /* end confdefs.h. */
22170 #ifdef HAVE_COMPLEX_H
22171 #include <complex.h>
22177 int (*ptr)() = (int (*)())scalbnf;
22186 if ac_fn_c_try_link
"$LINENO"; then :
22187 gcc_cv_math_func_scalbnf
=yes
22189 gcc_cv_math_func_scalbnf
=no
22191 rm -f core conftest.err conftest.
$ac_objext \
22192 conftest
$ac_exeext conftest.
$ac_ext
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22195 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22196 if test $gcc_cv_math_func_scalbnf = yes; then
22198 cat >>confdefs.h
<<_ACEOF
22199 #define HAVE_SCALBNF 1
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22208 $as_echo_n "checking for scalbn... " >&6; }
22209 if ${gcc_cv_math_func_scalbn+:} false
; then :
22210 $as_echo_n "(cached) " >&6
22212 if test x
$gcc_no_link = xyes
; then
22213 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h. */
22218 #ifdef HAVE_COMPLEX_H
22219 #include <complex.h>
22225 int (*ptr)() = (int (*)())scalbn;
22234 if ac_fn_c_try_link
"$LINENO"; then :
22235 gcc_cv_math_func_scalbn
=yes
22237 gcc_cv_math_func_scalbn
=no
22239 rm -f core conftest.err conftest.
$ac_objext \
22240 conftest
$ac_exeext conftest.
$ac_ext
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22243 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22244 if test $gcc_cv_math_func_scalbn = yes; then
22246 cat >>confdefs.h
<<_ACEOF
22247 #define HAVE_SCALBN 1
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22256 $as_echo_n "checking for scalbnl... " >&6; }
22257 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22258 $as_echo_n "(cached) " >&6
22260 if test x
$gcc_no_link = xyes
; then
22261 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22264 /* end confdefs.h. */
22266 #ifdef HAVE_COMPLEX_H
22267 #include <complex.h>
22273 int (*ptr)() = (int (*)())scalbnl;
22282 if ac_fn_c_try_link
"$LINENO"; then :
22283 gcc_cv_math_func_scalbnl
=yes
22285 gcc_cv_math_func_scalbnl
=no
22287 rm -f core conftest.err conftest.
$ac_objext \
22288 conftest
$ac_exeext conftest.
$ac_ext
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22291 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22292 if test $gcc_cv_math_func_scalbnl = yes; then
22294 cat >>confdefs.h
<<_ACEOF
22295 #define HAVE_SCALBNL 1
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22304 $as_echo_n "checking for sinf... " >&6; }
22305 if ${gcc_cv_math_func_sinf+:} false
; then :
22306 $as_echo_n "(cached) " >&6
22308 if test x
$gcc_no_link = xyes
; then
22309 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22312 /* end confdefs.h. */
22314 #ifdef HAVE_COMPLEX_H
22315 #include <complex.h>
22321 int (*ptr)() = (int (*)())sinf;
22330 if ac_fn_c_try_link
"$LINENO"; then :
22331 gcc_cv_math_func_sinf
=yes
22333 gcc_cv_math_func_sinf
=no
22335 rm -f core conftest.err conftest.
$ac_objext \
22336 conftest
$ac_exeext conftest.
$ac_ext
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22339 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22340 if test $gcc_cv_math_func_sinf = yes; then
22342 cat >>confdefs.h
<<_ACEOF
22343 #define HAVE_SINF 1
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22352 $as_echo_n "checking for sin... " >&6; }
22353 if ${gcc_cv_math_func_sin+:} false
; then :
22354 $as_echo_n "(cached) " >&6
22356 if test x
$gcc_no_link = xyes
; then
22357 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22362 #ifdef HAVE_COMPLEX_H
22363 #include <complex.h>
22369 int (*ptr)() = (int (*)())sin;
22378 if ac_fn_c_try_link
"$LINENO"; then :
22379 gcc_cv_math_func_sin
=yes
22381 gcc_cv_math_func_sin
=no
22383 rm -f core conftest.err conftest.
$ac_objext \
22384 conftest
$ac_exeext conftest.
$ac_ext
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22387 $as_echo "$gcc_cv_math_func_sin" >&6; }
22388 if test $gcc_cv_math_func_sin = yes; then
22390 cat >>confdefs.h
<<_ACEOF
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22400 $as_echo_n "checking for sinl... " >&6; }
22401 if ${gcc_cv_math_func_sinl+:} false
; then :
22402 $as_echo_n "(cached) " >&6
22404 if test x
$gcc_no_link = xyes
; then
22405 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22408 /* end confdefs.h. */
22410 #ifdef HAVE_COMPLEX_H
22411 #include <complex.h>
22417 int (*ptr)() = (int (*)())sinl;
22426 if ac_fn_c_try_link
"$LINENO"; then :
22427 gcc_cv_math_func_sinl
=yes
22429 gcc_cv_math_func_sinl
=no
22431 rm -f core conftest.err conftest.
$ac_objext \
22432 conftest
$ac_exeext conftest.
$ac_ext
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22435 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22436 if test $gcc_cv_math_func_sinl = yes; then
22438 cat >>confdefs.h
<<_ACEOF
22439 #define HAVE_SINL 1
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22448 $as_echo_n "checking for csinf... " >&6; }
22449 if ${gcc_cv_math_func_csinf+:} false
; then :
22450 $as_echo_n "(cached) " >&6
22452 if test x
$gcc_no_link = xyes
; then
22453 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22458 #ifdef HAVE_COMPLEX_H
22459 #include <complex.h>
22465 int (*ptr)() = (int (*)())csinf;
22474 if ac_fn_c_try_link
"$LINENO"; then :
22475 gcc_cv_math_func_csinf
=yes
22477 gcc_cv_math_func_csinf
=no
22479 rm -f core conftest.err conftest.
$ac_objext \
22480 conftest
$ac_exeext conftest.
$ac_ext
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22483 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22484 if test $gcc_cv_math_func_csinf = yes; then
22486 cat >>confdefs.h
<<_ACEOF
22487 #define HAVE_CSINF 1
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22496 $as_echo_n "checking for csin... " >&6; }
22497 if ${gcc_cv_math_func_csin+:} false
; then :
22498 $as_echo_n "(cached) " >&6
22500 if test x
$gcc_no_link = xyes
; then
22501 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22504 /* end confdefs.h. */
22506 #ifdef HAVE_COMPLEX_H
22507 #include <complex.h>
22513 int (*ptr)() = (int (*)())csin;
22522 if ac_fn_c_try_link
"$LINENO"; then :
22523 gcc_cv_math_func_csin
=yes
22525 gcc_cv_math_func_csin
=no
22527 rm -f core conftest.err conftest.
$ac_objext \
22528 conftest
$ac_exeext conftest.
$ac_ext
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22531 $as_echo "$gcc_cv_math_func_csin" >&6; }
22532 if test $gcc_cv_math_func_csin = yes; then
22534 cat >>confdefs.h
<<_ACEOF
22535 #define HAVE_CSIN 1
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22544 $as_echo_n "checking for csinl... " >&6; }
22545 if ${gcc_cv_math_func_csinl+:} false
; then :
22546 $as_echo_n "(cached) " >&6
22548 if test x
$gcc_no_link = xyes
; then
22549 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h. */
22554 #ifdef HAVE_COMPLEX_H
22555 #include <complex.h>
22561 int (*ptr)() = (int (*)())csinl;
22570 if ac_fn_c_try_link
"$LINENO"; then :
22571 gcc_cv_math_func_csinl
=yes
22573 gcc_cv_math_func_csinl
=no
22575 rm -f core conftest.err conftest.
$ac_objext \
22576 conftest
$ac_exeext conftest.
$ac_ext
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22579 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22580 if test $gcc_cv_math_func_csinl = yes; then
22582 cat >>confdefs.h
<<_ACEOF
22583 #define HAVE_CSINL 1
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22592 $as_echo_n "checking for sinhf... " >&6; }
22593 if ${gcc_cv_math_func_sinhf+:} false
; then :
22594 $as_echo_n "(cached) " >&6
22596 if test x
$gcc_no_link = xyes
; then
22597 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22600 /* end confdefs.h. */
22602 #ifdef HAVE_COMPLEX_H
22603 #include <complex.h>
22609 int (*ptr)() = (int (*)())sinhf;
22618 if ac_fn_c_try_link
"$LINENO"; then :
22619 gcc_cv_math_func_sinhf
=yes
22621 gcc_cv_math_func_sinhf
=no
22623 rm -f core conftest.err conftest.
$ac_objext \
22624 conftest
$ac_exeext conftest.
$ac_ext
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22627 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22628 if test $gcc_cv_math_func_sinhf = yes; then
22630 cat >>confdefs.h
<<_ACEOF
22631 #define HAVE_SINHF 1
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22640 $as_echo_n "checking for sinh... " >&6; }
22641 if ${gcc_cv_math_func_sinh+:} false
; then :
22642 $as_echo_n "(cached) " >&6
22644 if test x
$gcc_no_link = xyes
; then
22645 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22648 /* end confdefs.h. */
22650 #ifdef HAVE_COMPLEX_H
22651 #include <complex.h>
22657 int (*ptr)() = (int (*)())sinh;
22666 if ac_fn_c_try_link
"$LINENO"; then :
22667 gcc_cv_math_func_sinh
=yes
22669 gcc_cv_math_func_sinh
=no
22671 rm -f core conftest.err conftest.
$ac_objext \
22672 conftest
$ac_exeext conftest.
$ac_ext
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22675 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22676 if test $gcc_cv_math_func_sinh = yes; then
22678 cat >>confdefs.h
<<_ACEOF
22679 #define HAVE_SINH 1
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22688 $as_echo_n "checking for sinhl... " >&6; }
22689 if ${gcc_cv_math_func_sinhl+:} false
; then :
22690 $as_echo_n "(cached) " >&6
22692 if test x
$gcc_no_link = xyes
; then
22693 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22696 /* end confdefs.h. */
22698 #ifdef HAVE_COMPLEX_H
22699 #include <complex.h>
22705 int (*ptr)() = (int (*)())sinhl;
22714 if ac_fn_c_try_link
"$LINENO"; then :
22715 gcc_cv_math_func_sinhl
=yes
22717 gcc_cv_math_func_sinhl
=no
22719 rm -f core conftest.err conftest.
$ac_objext \
22720 conftest
$ac_exeext conftest.
$ac_ext
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22723 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22724 if test $gcc_cv_math_func_sinhl = yes; then
22726 cat >>confdefs.h
<<_ACEOF
22727 #define HAVE_SINHL 1
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22736 $as_echo_n "checking for csinhf... " >&6; }
22737 if ${gcc_cv_math_func_csinhf+:} false
; then :
22738 $as_echo_n "(cached) " >&6
22740 if test x
$gcc_no_link = xyes
; then
22741 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22744 /* end confdefs.h. */
22746 #ifdef HAVE_COMPLEX_H
22747 #include <complex.h>
22753 int (*ptr)() = (int (*)())csinhf;
22762 if ac_fn_c_try_link
"$LINENO"; then :
22763 gcc_cv_math_func_csinhf
=yes
22765 gcc_cv_math_func_csinhf
=no
22767 rm -f core conftest.err conftest.
$ac_objext \
22768 conftest
$ac_exeext conftest.
$ac_ext
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22771 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22772 if test $gcc_cv_math_func_csinhf = yes; then
22774 cat >>confdefs.h
<<_ACEOF
22775 #define HAVE_CSINHF 1
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22784 $as_echo_n "checking for csinh... " >&6; }
22785 if ${gcc_cv_math_func_csinh+:} false
; then :
22786 $as_echo_n "(cached) " >&6
22788 if test x
$gcc_no_link = xyes
; then
22789 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22792 /* end confdefs.h. */
22794 #ifdef HAVE_COMPLEX_H
22795 #include <complex.h>
22801 int (*ptr)() = (int (*)())csinh;
22810 if ac_fn_c_try_link
"$LINENO"; then :
22811 gcc_cv_math_func_csinh
=yes
22813 gcc_cv_math_func_csinh
=no
22815 rm -f core conftest.err conftest.
$ac_objext \
22816 conftest
$ac_exeext conftest.
$ac_ext
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22819 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22820 if test $gcc_cv_math_func_csinh = yes; then
22822 cat >>confdefs.h
<<_ACEOF
22823 #define HAVE_CSINH 1
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22832 $as_echo_n "checking for csinhl... " >&6; }
22833 if ${gcc_cv_math_func_csinhl+:} false
; then :
22834 $as_echo_n "(cached) " >&6
22836 if test x
$gcc_no_link = xyes
; then
22837 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22840 /* end confdefs.h. */
22842 #ifdef HAVE_COMPLEX_H
22843 #include <complex.h>
22849 int (*ptr)() = (int (*)())csinhl;
22858 if ac_fn_c_try_link
"$LINENO"; then :
22859 gcc_cv_math_func_csinhl
=yes
22861 gcc_cv_math_func_csinhl
=no
22863 rm -f core conftest.err conftest.
$ac_objext \
22864 conftest
$ac_exeext conftest.
$ac_ext
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22867 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22868 if test $gcc_cv_math_func_csinhl = yes; then
22870 cat >>confdefs.h
<<_ACEOF
22871 #define HAVE_CSINHL 1
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22880 $as_echo_n "checking for sqrtf... " >&6; }
22881 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22882 $as_echo_n "(cached) " >&6
22884 if test x
$gcc_no_link = xyes
; then
22885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22888 /* end confdefs.h. */
22890 #ifdef HAVE_COMPLEX_H
22891 #include <complex.h>
22897 int (*ptr)() = (int (*)())sqrtf;
22906 if ac_fn_c_try_link
"$LINENO"; then :
22907 gcc_cv_math_func_sqrtf
=yes
22909 gcc_cv_math_func_sqrtf
=no
22911 rm -f core conftest.err conftest.
$ac_objext \
22912 conftest
$ac_exeext conftest.
$ac_ext
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22915 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22916 if test $gcc_cv_math_func_sqrtf = yes; then
22918 cat >>confdefs.h
<<_ACEOF
22919 #define HAVE_SQRTF 1
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22928 $as_echo_n "checking for sqrt... " >&6; }
22929 if ${gcc_cv_math_func_sqrt+:} false
; then :
22930 $as_echo_n "(cached) " >&6
22932 if test x
$gcc_no_link = xyes
; then
22933 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22936 /* end confdefs.h. */
22938 #ifdef HAVE_COMPLEX_H
22939 #include <complex.h>
22945 int (*ptr)() = (int (*)())sqrt;
22954 if ac_fn_c_try_link
"$LINENO"; then :
22955 gcc_cv_math_func_sqrt
=yes
22957 gcc_cv_math_func_sqrt
=no
22959 rm -f core conftest.err conftest.
$ac_objext \
22960 conftest
$ac_exeext conftest.
$ac_ext
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22963 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22964 if test $gcc_cv_math_func_sqrt = yes; then
22966 cat >>confdefs.h
<<_ACEOF
22967 #define HAVE_SQRT 1
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22976 $as_echo_n "checking for sqrtl... " >&6; }
22977 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22978 $as_echo_n "(cached) " >&6
22980 if test x
$gcc_no_link = xyes
; then
22981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h. */
22986 #ifdef HAVE_COMPLEX_H
22987 #include <complex.h>
22993 int (*ptr)() = (int (*)())sqrtl;
23002 if ac_fn_c_try_link
"$LINENO"; then :
23003 gcc_cv_math_func_sqrtl
=yes
23005 gcc_cv_math_func_sqrtl
=no
23007 rm -f core conftest.err conftest.
$ac_objext \
23008 conftest
$ac_exeext conftest.
$ac_ext
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23011 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23012 if test $gcc_cv_math_func_sqrtl = yes; then
23014 cat >>confdefs.h
<<_ACEOF
23015 #define HAVE_SQRTL 1
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23024 $as_echo_n "checking for csqrtf... " >&6; }
23025 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23026 $as_echo_n "(cached) " >&6
23028 if test x
$gcc_no_link = xyes
; then
23029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23032 /* end confdefs.h. */
23034 #ifdef HAVE_COMPLEX_H
23035 #include <complex.h>
23041 int (*ptr)() = (int (*)())csqrtf;
23050 if ac_fn_c_try_link
"$LINENO"; then :
23051 gcc_cv_math_func_csqrtf
=yes
23053 gcc_cv_math_func_csqrtf
=no
23055 rm -f core conftest.err conftest.
$ac_objext \
23056 conftest
$ac_exeext conftest.
$ac_ext
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23059 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23060 if test $gcc_cv_math_func_csqrtf = yes; then
23062 cat >>confdefs.h
<<_ACEOF
23063 #define HAVE_CSQRTF 1
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23072 $as_echo_n "checking for csqrt... " >&6; }
23073 if ${gcc_cv_math_func_csqrt+:} false
; then :
23074 $as_echo_n "(cached) " >&6
23076 if test x
$gcc_no_link = xyes
; then
23077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23080 /* end confdefs.h. */
23082 #ifdef HAVE_COMPLEX_H
23083 #include <complex.h>
23089 int (*ptr)() = (int (*)())csqrt;
23098 if ac_fn_c_try_link
"$LINENO"; then :
23099 gcc_cv_math_func_csqrt
=yes
23101 gcc_cv_math_func_csqrt
=no
23103 rm -f core conftest.err conftest.
$ac_objext \
23104 conftest
$ac_exeext conftest.
$ac_ext
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23107 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23108 if test $gcc_cv_math_func_csqrt = yes; then
23110 cat >>confdefs.h
<<_ACEOF
23111 #define HAVE_CSQRT 1
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23120 $as_echo_n "checking for csqrtl... " >&6; }
23121 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23122 $as_echo_n "(cached) " >&6
23124 if test x
$gcc_no_link = xyes
; then
23125 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h. */
23130 #ifdef HAVE_COMPLEX_H
23131 #include <complex.h>
23137 int (*ptr)() = (int (*)())csqrtl;
23146 if ac_fn_c_try_link
"$LINENO"; then :
23147 gcc_cv_math_func_csqrtl
=yes
23149 gcc_cv_math_func_csqrtl
=no
23151 rm -f core conftest.err conftest.
$ac_objext \
23152 conftest
$ac_exeext conftest.
$ac_ext
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23155 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23156 if test $gcc_cv_math_func_csqrtl = yes; then
23158 cat >>confdefs.h
<<_ACEOF
23159 #define HAVE_CSQRTL 1
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23168 $as_echo_n "checking for tanf... " >&6; }
23169 if ${gcc_cv_math_func_tanf+:} false
; then :
23170 $as_echo_n "(cached) " >&6
23172 if test x
$gcc_no_link = xyes
; then
23173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23176 /* end confdefs.h. */
23178 #ifdef HAVE_COMPLEX_H
23179 #include <complex.h>
23185 int (*ptr)() = (int (*)())tanf;
23194 if ac_fn_c_try_link
"$LINENO"; then :
23195 gcc_cv_math_func_tanf
=yes
23197 gcc_cv_math_func_tanf
=no
23199 rm -f core conftest.err conftest.
$ac_objext \
23200 conftest
$ac_exeext conftest.
$ac_ext
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23203 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23204 if test $gcc_cv_math_func_tanf = yes; then
23206 cat >>confdefs.h
<<_ACEOF
23207 #define HAVE_TANF 1
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23216 $as_echo_n "checking for tan... " >&6; }
23217 if ${gcc_cv_math_func_tan+:} false
; then :
23218 $as_echo_n "(cached) " >&6
23220 if test x
$gcc_no_link = xyes
; then
23221 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23224 /* end confdefs.h. */
23226 #ifdef HAVE_COMPLEX_H
23227 #include <complex.h>
23233 int (*ptr)() = (int (*)())tan;
23242 if ac_fn_c_try_link
"$LINENO"; then :
23243 gcc_cv_math_func_tan
=yes
23245 gcc_cv_math_func_tan
=no
23247 rm -f core conftest.err conftest.
$ac_objext \
23248 conftest
$ac_exeext conftest.
$ac_ext
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23251 $as_echo "$gcc_cv_math_func_tan" >&6; }
23252 if test $gcc_cv_math_func_tan = yes; then
23254 cat >>confdefs.h
<<_ACEOF
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23264 $as_echo_n "checking for tanl... " >&6; }
23265 if ${gcc_cv_math_func_tanl+:} false
; then :
23266 $as_echo_n "(cached) " >&6
23268 if test x
$gcc_no_link = xyes
; then
23269 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h. */
23274 #ifdef HAVE_COMPLEX_H
23275 #include <complex.h>
23281 int (*ptr)() = (int (*)())tanl;
23290 if ac_fn_c_try_link
"$LINENO"; then :
23291 gcc_cv_math_func_tanl
=yes
23293 gcc_cv_math_func_tanl
=no
23295 rm -f core conftest.err conftest.
$ac_objext \
23296 conftest
$ac_exeext conftest.
$ac_ext
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23299 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23300 if test $gcc_cv_math_func_tanl = yes; then
23302 cat >>confdefs.h
<<_ACEOF
23303 #define HAVE_TANL 1
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23312 $as_echo_n "checking for ctanf... " >&6; }
23313 if ${gcc_cv_math_func_ctanf+:} false
; then :
23314 $as_echo_n "(cached) " >&6
23316 if test x
$gcc_no_link = xyes
; then
23317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h. */
23322 #ifdef HAVE_COMPLEX_H
23323 #include <complex.h>
23329 int (*ptr)() = (int (*)())ctanf;
23338 if ac_fn_c_try_link
"$LINENO"; then :
23339 gcc_cv_math_func_ctanf
=yes
23341 gcc_cv_math_func_ctanf
=no
23343 rm -f core conftest.err conftest.
$ac_objext \
23344 conftest
$ac_exeext conftest.
$ac_ext
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23347 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23348 if test $gcc_cv_math_func_ctanf = yes; then
23350 cat >>confdefs.h
<<_ACEOF
23351 #define HAVE_CTANF 1
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23360 $as_echo_n "checking for ctan... " >&6; }
23361 if ${gcc_cv_math_func_ctan+:} false
; then :
23362 $as_echo_n "(cached) " >&6
23364 if test x
$gcc_no_link = xyes
; then
23365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23368 /* end confdefs.h. */
23370 #ifdef HAVE_COMPLEX_H
23371 #include <complex.h>
23377 int (*ptr)() = (int (*)())ctan;
23386 if ac_fn_c_try_link
"$LINENO"; then :
23387 gcc_cv_math_func_ctan
=yes
23389 gcc_cv_math_func_ctan
=no
23391 rm -f core conftest.err conftest.
$ac_objext \
23392 conftest
$ac_exeext conftest.
$ac_ext
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23395 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23396 if test $gcc_cv_math_func_ctan = yes; then
23398 cat >>confdefs.h
<<_ACEOF
23399 #define HAVE_CTAN 1
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23408 $as_echo_n "checking for ctanl... " >&6; }
23409 if ${gcc_cv_math_func_ctanl+:} false
; then :
23410 $as_echo_n "(cached) " >&6
23412 if test x
$gcc_no_link = xyes
; then
23413 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23416 /* end confdefs.h. */
23418 #ifdef HAVE_COMPLEX_H
23419 #include <complex.h>
23425 int (*ptr)() = (int (*)())ctanl;
23434 if ac_fn_c_try_link
"$LINENO"; then :
23435 gcc_cv_math_func_ctanl
=yes
23437 gcc_cv_math_func_ctanl
=no
23439 rm -f core conftest.err conftest.
$ac_objext \
23440 conftest
$ac_exeext conftest.
$ac_ext
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23443 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23444 if test $gcc_cv_math_func_ctanl = yes; then
23446 cat >>confdefs.h
<<_ACEOF
23447 #define HAVE_CTANL 1
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23456 $as_echo_n "checking for tanhf... " >&6; }
23457 if ${gcc_cv_math_func_tanhf+:} false
; then :
23458 $as_echo_n "(cached) " >&6
23460 if test x
$gcc_no_link = xyes
; then
23461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h. */
23466 #ifdef HAVE_COMPLEX_H
23467 #include <complex.h>
23473 int (*ptr)() = (int (*)())tanhf;
23482 if ac_fn_c_try_link
"$LINENO"; then :
23483 gcc_cv_math_func_tanhf
=yes
23485 gcc_cv_math_func_tanhf
=no
23487 rm -f core conftest.err conftest.
$ac_objext \
23488 conftest
$ac_exeext conftest.
$ac_ext
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23491 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23492 if test $gcc_cv_math_func_tanhf = yes; then
23494 cat >>confdefs.h
<<_ACEOF
23495 #define HAVE_TANHF 1
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23504 $as_echo_n "checking for tanh... " >&6; }
23505 if ${gcc_cv_math_func_tanh+:} false
; then :
23506 $as_echo_n "(cached) " >&6
23508 if test x
$gcc_no_link = xyes
; then
23509 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23512 /* end confdefs.h. */
23514 #ifdef HAVE_COMPLEX_H
23515 #include <complex.h>
23521 int (*ptr)() = (int (*)())tanh;
23530 if ac_fn_c_try_link
"$LINENO"; then :
23531 gcc_cv_math_func_tanh
=yes
23533 gcc_cv_math_func_tanh
=no
23535 rm -f core conftest.err conftest.
$ac_objext \
23536 conftest
$ac_exeext conftest.
$ac_ext
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23539 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23540 if test $gcc_cv_math_func_tanh = yes; then
23542 cat >>confdefs.h
<<_ACEOF
23543 #define HAVE_TANH 1
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23552 $as_echo_n "checking for tanhl... " >&6; }
23553 if ${gcc_cv_math_func_tanhl+:} false
; then :
23554 $as_echo_n "(cached) " >&6
23556 if test x
$gcc_no_link = xyes
; then
23557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23562 #ifdef HAVE_COMPLEX_H
23563 #include <complex.h>
23569 int (*ptr)() = (int (*)())tanhl;
23578 if ac_fn_c_try_link
"$LINENO"; then :
23579 gcc_cv_math_func_tanhl
=yes
23581 gcc_cv_math_func_tanhl
=no
23583 rm -f core conftest.err conftest.
$ac_objext \
23584 conftest
$ac_exeext conftest.
$ac_ext
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23587 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23588 if test $gcc_cv_math_func_tanhl = yes; then
23590 cat >>confdefs.h
<<_ACEOF
23591 #define HAVE_TANHL 1
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23600 $as_echo_n "checking for ctanhf... " >&6; }
23601 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23602 $as_echo_n "(cached) " >&6
23604 if test x
$gcc_no_link = xyes
; then
23605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23608 /* end confdefs.h. */
23610 #ifdef HAVE_COMPLEX_H
23611 #include <complex.h>
23617 int (*ptr)() = (int (*)())ctanhf;
23626 if ac_fn_c_try_link
"$LINENO"; then :
23627 gcc_cv_math_func_ctanhf
=yes
23629 gcc_cv_math_func_ctanhf
=no
23631 rm -f core conftest.err conftest.
$ac_objext \
23632 conftest
$ac_exeext conftest.
$ac_ext
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23635 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23636 if test $gcc_cv_math_func_ctanhf = yes; then
23638 cat >>confdefs.h
<<_ACEOF
23639 #define HAVE_CTANHF 1
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23648 $as_echo_n "checking for ctanh... " >&6; }
23649 if ${gcc_cv_math_func_ctanh+:} false
; then :
23650 $as_echo_n "(cached) " >&6
23652 if test x
$gcc_no_link = xyes
; then
23653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h. */
23658 #ifdef HAVE_COMPLEX_H
23659 #include <complex.h>
23665 int (*ptr)() = (int (*)())ctanh;
23674 if ac_fn_c_try_link
"$LINENO"; then :
23675 gcc_cv_math_func_ctanh
=yes
23677 gcc_cv_math_func_ctanh
=no
23679 rm -f core conftest.err conftest.
$ac_objext \
23680 conftest
$ac_exeext conftest.
$ac_ext
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23683 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23684 if test $gcc_cv_math_func_ctanh = yes; then
23686 cat >>confdefs.h
<<_ACEOF
23687 #define HAVE_CTANH 1
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23696 $as_echo_n "checking for ctanhl... " >&6; }
23697 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23698 $as_echo_n "(cached) " >&6
23700 if test x
$gcc_no_link = xyes
; then
23701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23704 /* end confdefs.h. */
23706 #ifdef HAVE_COMPLEX_H
23707 #include <complex.h>
23713 int (*ptr)() = (int (*)())ctanhl;
23722 if ac_fn_c_try_link
"$LINENO"; then :
23723 gcc_cv_math_func_ctanhl
=yes
23725 gcc_cv_math_func_ctanhl
=no
23727 rm -f core conftest.err conftest.
$ac_objext \
23728 conftest
$ac_exeext conftest.
$ac_ext
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23731 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23732 if test $gcc_cv_math_func_ctanhl = yes; then
23734 cat >>confdefs.h
<<_ACEOF
23735 #define HAVE_CTANHL 1
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23744 $as_echo_n "checking for truncf... " >&6; }
23745 if ${gcc_cv_math_func_truncf+:} false
; then :
23746 $as_echo_n "(cached) " >&6
23748 if test x
$gcc_no_link = xyes
; then
23749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23752 /* end confdefs.h. */
23754 #ifdef HAVE_COMPLEX_H
23755 #include <complex.h>
23761 int (*ptr)() = (int (*)())truncf;
23770 if ac_fn_c_try_link
"$LINENO"; then :
23771 gcc_cv_math_func_truncf
=yes
23773 gcc_cv_math_func_truncf
=no
23775 rm -f core conftest.err conftest.
$ac_objext \
23776 conftest
$ac_exeext conftest.
$ac_ext
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23779 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23780 if test $gcc_cv_math_func_truncf = yes; then
23782 cat >>confdefs.h
<<_ACEOF
23783 #define HAVE_TRUNCF 1
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23792 $as_echo_n "checking for trunc... " >&6; }
23793 if ${gcc_cv_math_func_trunc+:} false
; then :
23794 $as_echo_n "(cached) " >&6
23796 if test x
$gcc_no_link = xyes
; then
23797 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23800 /* end confdefs.h. */
23802 #ifdef HAVE_COMPLEX_H
23803 #include <complex.h>
23809 int (*ptr)() = (int (*)())trunc;
23818 if ac_fn_c_try_link
"$LINENO"; then :
23819 gcc_cv_math_func_trunc
=yes
23821 gcc_cv_math_func_trunc
=no
23823 rm -f core conftest.err conftest.
$ac_objext \
23824 conftest
$ac_exeext conftest.
$ac_ext
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23827 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23828 if test $gcc_cv_math_func_trunc = yes; then
23830 cat >>confdefs.h
<<_ACEOF
23831 #define HAVE_TRUNC 1
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23840 $as_echo_n "checking for truncl... " >&6; }
23841 if ${gcc_cv_math_func_truncl+:} false
; then :
23842 $as_echo_n "(cached) " >&6
23844 if test x
$gcc_no_link = xyes
; then
23845 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h. */
23850 #ifdef HAVE_COMPLEX_H
23851 #include <complex.h>
23857 int (*ptr)() = (int (*)())truncl;
23866 if ac_fn_c_try_link
"$LINENO"; then :
23867 gcc_cv_math_func_truncl
=yes
23869 gcc_cv_math_func_truncl
=no
23871 rm -f core conftest.err conftest.
$ac_objext \
23872 conftest
$ac_exeext conftest.
$ac_ext
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23875 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23876 if test $gcc_cv_math_func_truncl = yes; then
23878 cat >>confdefs.h
<<_ACEOF
23879 #define HAVE_TRUNCL 1
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23888 $as_echo_n "checking for erff... " >&6; }
23889 if ${gcc_cv_math_func_erff+:} false
; then :
23890 $as_echo_n "(cached) " >&6
23892 if test x
$gcc_no_link = xyes
; then
23893 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23898 #ifdef HAVE_COMPLEX_H
23899 #include <complex.h>
23905 int (*ptr)() = (int (*)())erff;
23914 if ac_fn_c_try_link
"$LINENO"; then :
23915 gcc_cv_math_func_erff
=yes
23917 gcc_cv_math_func_erff
=no
23919 rm -f core conftest.err conftest.
$ac_objext \
23920 conftest
$ac_exeext conftest.
$ac_ext
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23923 $as_echo "$gcc_cv_math_func_erff" >&6; }
23924 if test $gcc_cv_math_func_erff = yes; then
23926 cat >>confdefs.h
<<_ACEOF
23927 #define HAVE_ERFF 1
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23936 $as_echo_n "checking for erf... " >&6; }
23937 if ${gcc_cv_math_func_erf+:} false
; then :
23938 $as_echo_n "(cached) " >&6
23940 if test x
$gcc_no_link = xyes
; then
23941 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23944 /* end confdefs.h. */
23946 #ifdef HAVE_COMPLEX_H
23947 #include <complex.h>
23953 int (*ptr)() = (int (*)())erf;
23962 if ac_fn_c_try_link
"$LINENO"; then :
23963 gcc_cv_math_func_erf
=yes
23965 gcc_cv_math_func_erf
=no
23967 rm -f core conftest.err conftest.
$ac_objext \
23968 conftest
$ac_exeext conftest.
$ac_ext
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23971 $as_echo "$gcc_cv_math_func_erf" >&6; }
23972 if test $gcc_cv_math_func_erf = yes; then
23974 cat >>confdefs.h
<<_ACEOF
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23984 $as_echo_n "checking for erfcf... " >&6; }
23985 if ${gcc_cv_math_func_erfcf+:} false
; then :
23986 $as_echo_n "(cached) " >&6
23988 if test x
$gcc_no_link = xyes
; then
23989 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23992 /* end confdefs.h. */
23994 #ifdef HAVE_COMPLEX_H
23995 #include <complex.h>
24001 int (*ptr)() = (int (*)())erfcf;
24010 if ac_fn_c_try_link
"$LINENO"; then :
24011 gcc_cv_math_func_erfcf
=yes
24013 gcc_cv_math_func_erfcf
=no
24015 rm -f core conftest.err conftest.
$ac_objext \
24016 conftest
$ac_exeext conftest.
$ac_ext
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24019 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24020 if test $gcc_cv_math_func_erfcf = yes; then
24022 cat >>confdefs.h
<<_ACEOF
24023 #define HAVE_ERFCF 1
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24032 $as_echo_n "checking for erfc... " >&6; }
24033 if ${gcc_cv_math_func_erfc+:} false
; then :
24034 $as_echo_n "(cached) " >&6
24036 if test x
$gcc_no_link = xyes
; then
24037 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24040 /* end confdefs.h. */
24042 #ifdef HAVE_COMPLEX_H
24043 #include <complex.h>
24049 int (*ptr)() = (int (*)())erfc;
24058 if ac_fn_c_try_link
"$LINENO"; then :
24059 gcc_cv_math_func_erfc
=yes
24061 gcc_cv_math_func_erfc
=no
24063 rm -f core conftest.err conftest.
$ac_objext \
24064 conftest
$ac_exeext conftest.
$ac_ext
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24067 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24068 if test $gcc_cv_math_func_erfc = yes; then
24070 cat >>confdefs.h
<<_ACEOF
24071 #define HAVE_ERFC 1
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24080 $as_echo_n "checking for erfcl... " >&6; }
24081 if ${gcc_cv_math_func_erfcl+:} false
; then :
24082 $as_echo_n "(cached) " >&6
24084 if test x
$gcc_no_link = xyes
; then
24085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24088 /* end confdefs.h. */
24090 #ifdef HAVE_COMPLEX_H
24091 #include <complex.h>
24097 int (*ptr)() = (int (*)())erfcl;
24106 if ac_fn_c_try_link
"$LINENO"; then :
24107 gcc_cv_math_func_erfcl
=yes
24109 gcc_cv_math_func_erfcl
=no
24111 rm -f core conftest.err conftest.
$ac_objext \
24112 conftest
$ac_exeext conftest.
$ac_ext
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24115 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24116 if test $gcc_cv_math_func_erfcl = yes; then
24118 cat >>confdefs.h
<<_ACEOF
24119 #define HAVE_ERFCL 1
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24128 $as_echo_n "checking for j0f... " >&6; }
24129 if ${gcc_cv_math_func_j0f+:} false
; then :
24130 $as_echo_n "(cached) " >&6
24132 if test x
$gcc_no_link = xyes
; then
24133 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24136 /* end confdefs.h. */
24138 #ifdef HAVE_COMPLEX_H
24139 #include <complex.h>
24145 int (*ptr)() = (int (*)())j0f;
24154 if ac_fn_c_try_link
"$LINENO"; then :
24155 gcc_cv_math_func_j0f
=yes
24157 gcc_cv_math_func_j0f
=no
24159 rm -f core conftest.err conftest.
$ac_objext \
24160 conftest
$ac_exeext conftest.
$ac_ext
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24163 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24164 if test $gcc_cv_math_func_j0f = yes; then
24166 cat >>confdefs.h
<<_ACEOF
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24176 $as_echo_n "checking for j0... " >&6; }
24177 if ${gcc_cv_math_func_j0+:} false
; then :
24178 $as_echo_n "(cached) " >&6
24180 if test x
$gcc_no_link = xyes
; then
24181 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24184 /* end confdefs.h. */
24186 #ifdef HAVE_COMPLEX_H
24187 #include <complex.h>
24193 int (*ptr)() = (int (*)())j0;
24202 if ac_fn_c_try_link
"$LINENO"; then :
24203 gcc_cv_math_func_j0
=yes
24205 gcc_cv_math_func_j0
=no
24207 rm -f core conftest.err conftest.
$ac_objext \
24208 conftest
$ac_exeext conftest.
$ac_ext
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24211 $as_echo "$gcc_cv_math_func_j0" >&6; }
24212 if test $gcc_cv_math_func_j0 = yes; then
24214 cat >>confdefs.h
<<_ACEOF
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24224 $as_echo_n "checking for j1f... " >&6; }
24225 if ${gcc_cv_math_func_j1f+:} false
; then :
24226 $as_echo_n "(cached) " >&6
24228 if test x
$gcc_no_link = xyes
; then
24229 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24234 #ifdef HAVE_COMPLEX_H
24235 #include <complex.h>
24241 int (*ptr)() = (int (*)())j1f;
24250 if ac_fn_c_try_link
"$LINENO"; then :
24251 gcc_cv_math_func_j1f
=yes
24253 gcc_cv_math_func_j1f
=no
24255 rm -f core conftest.err conftest.
$ac_objext \
24256 conftest
$ac_exeext conftest.
$ac_ext
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24259 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24260 if test $gcc_cv_math_func_j1f = yes; then
24262 cat >>confdefs.h
<<_ACEOF
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24272 $as_echo_n "checking for j1... " >&6; }
24273 if ${gcc_cv_math_func_j1+:} false
; then :
24274 $as_echo_n "(cached) " >&6
24276 if test x
$gcc_no_link = xyes
; then
24277 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24280 /* end confdefs.h. */
24282 #ifdef HAVE_COMPLEX_H
24283 #include <complex.h>
24289 int (*ptr)() = (int (*)())j1;
24298 if ac_fn_c_try_link
"$LINENO"; then :
24299 gcc_cv_math_func_j1
=yes
24301 gcc_cv_math_func_j1
=no
24303 rm -f core conftest.err conftest.
$ac_objext \
24304 conftest
$ac_exeext conftest.
$ac_ext
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24307 $as_echo "$gcc_cv_math_func_j1" >&6; }
24308 if test $gcc_cv_math_func_j1 = yes; then
24310 cat >>confdefs.h
<<_ACEOF
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24320 $as_echo_n "checking for jnf... " >&6; }
24321 if ${gcc_cv_math_func_jnf+:} false
; then :
24322 $as_echo_n "(cached) " >&6
24324 if test x
$gcc_no_link = xyes
; then
24325 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24328 /* end confdefs.h. */
24330 #ifdef HAVE_COMPLEX_H
24331 #include <complex.h>
24337 int (*ptr)() = (int (*)())jnf;
24346 if ac_fn_c_try_link
"$LINENO"; then :
24347 gcc_cv_math_func_jnf
=yes
24349 gcc_cv_math_func_jnf
=no
24351 rm -f core conftest.err conftest.
$ac_objext \
24352 conftest
$ac_exeext conftest.
$ac_ext
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24355 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24356 if test $gcc_cv_math_func_jnf = yes; then
24358 cat >>confdefs.h
<<_ACEOF
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24368 $as_echo_n "checking for jn... " >&6; }
24369 if ${gcc_cv_math_func_jn+:} false
; then :
24370 $as_echo_n "(cached) " >&6
24372 if test x
$gcc_no_link = xyes
; then
24373 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24376 /* end confdefs.h. */
24378 #ifdef HAVE_COMPLEX_H
24379 #include <complex.h>
24385 int (*ptr)() = (int (*)())jn;
24394 if ac_fn_c_try_link
"$LINENO"; then :
24395 gcc_cv_math_func_jn
=yes
24397 gcc_cv_math_func_jn
=no
24399 rm -f core conftest.err conftest.
$ac_objext \
24400 conftest
$ac_exeext conftest.
$ac_ext
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24403 $as_echo "$gcc_cv_math_func_jn" >&6; }
24404 if test $gcc_cv_math_func_jn = yes; then
24406 cat >>confdefs.h
<<_ACEOF
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24416 $as_echo_n "checking for jnl... " >&6; }
24417 if ${gcc_cv_math_func_jnl+:} false
; then :
24418 $as_echo_n "(cached) " >&6
24420 if test x
$gcc_no_link = xyes
; then
24421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24426 #ifdef HAVE_COMPLEX_H
24427 #include <complex.h>
24433 int (*ptr)() = (int (*)())jnl;
24442 if ac_fn_c_try_link
"$LINENO"; then :
24443 gcc_cv_math_func_jnl
=yes
24445 gcc_cv_math_func_jnl
=no
24447 rm -f core conftest.err conftest.
$ac_objext \
24448 conftest
$ac_exeext conftest.
$ac_ext
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24451 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24452 if test $gcc_cv_math_func_jnl = yes; then
24454 cat >>confdefs.h
<<_ACEOF
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24464 $as_echo_n "checking for y0f... " >&6; }
24465 if ${gcc_cv_math_func_y0f+:} false
; then :
24466 $as_echo_n "(cached) " >&6
24468 if test x
$gcc_no_link = xyes
; then
24469 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24472 /* end confdefs.h. */
24474 #ifdef HAVE_COMPLEX_H
24475 #include <complex.h>
24481 int (*ptr)() = (int (*)())y0f;
24490 if ac_fn_c_try_link
"$LINENO"; then :
24491 gcc_cv_math_func_y0f
=yes
24493 gcc_cv_math_func_y0f
=no
24495 rm -f core conftest.err conftest.
$ac_objext \
24496 conftest
$ac_exeext conftest.
$ac_ext
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24499 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24500 if test $gcc_cv_math_func_y0f = yes; then
24502 cat >>confdefs.h
<<_ACEOF
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24512 $as_echo_n "checking for y0... " >&6; }
24513 if ${gcc_cv_math_func_y0+:} false
; then :
24514 $as_echo_n "(cached) " >&6
24516 if test x
$gcc_no_link = xyes
; then
24517 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24520 /* end confdefs.h. */
24522 #ifdef HAVE_COMPLEX_H
24523 #include <complex.h>
24529 int (*ptr)() = (int (*)())y0;
24538 if ac_fn_c_try_link
"$LINENO"; then :
24539 gcc_cv_math_func_y0
=yes
24541 gcc_cv_math_func_y0
=no
24543 rm -f core conftest.err conftest.
$ac_objext \
24544 conftest
$ac_exeext conftest.
$ac_ext
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24547 $as_echo "$gcc_cv_math_func_y0" >&6; }
24548 if test $gcc_cv_math_func_y0 = yes; then
24550 cat >>confdefs.h
<<_ACEOF
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24560 $as_echo_n "checking for y1f... " >&6; }
24561 if ${gcc_cv_math_func_y1f+:} false
; then :
24562 $as_echo_n "(cached) " >&6
24564 if test x
$gcc_no_link = xyes
; then
24565 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24568 /* end confdefs.h. */
24570 #ifdef HAVE_COMPLEX_H
24571 #include <complex.h>
24577 int (*ptr)() = (int (*)())y1f;
24586 if ac_fn_c_try_link
"$LINENO"; then :
24587 gcc_cv_math_func_y1f
=yes
24589 gcc_cv_math_func_y1f
=no
24591 rm -f core conftest.err conftest.
$ac_objext \
24592 conftest
$ac_exeext conftest.
$ac_ext
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24595 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24596 if test $gcc_cv_math_func_y1f = yes; then
24598 cat >>confdefs.h
<<_ACEOF
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24608 $as_echo_n "checking for y1... " >&6; }
24609 if ${gcc_cv_math_func_y1+:} false
; then :
24610 $as_echo_n "(cached) " >&6
24612 if test x
$gcc_no_link = xyes
; then
24613 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24618 #ifdef HAVE_COMPLEX_H
24619 #include <complex.h>
24625 int (*ptr)() = (int (*)())y1;
24634 if ac_fn_c_try_link
"$LINENO"; then :
24635 gcc_cv_math_func_y1
=yes
24637 gcc_cv_math_func_y1
=no
24639 rm -f core conftest.err conftest.
$ac_objext \
24640 conftest
$ac_exeext conftest.
$ac_ext
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24643 $as_echo "$gcc_cv_math_func_y1" >&6; }
24644 if test $gcc_cv_math_func_y1 = yes; then
24646 cat >>confdefs.h
<<_ACEOF
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24656 $as_echo_n "checking for ynf... " >&6; }
24657 if ${gcc_cv_math_func_ynf+:} false
; then :
24658 $as_echo_n "(cached) " >&6
24660 if test x
$gcc_no_link = xyes
; then
24661 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24666 #ifdef HAVE_COMPLEX_H
24667 #include <complex.h>
24673 int (*ptr)() = (int (*)())ynf;
24682 if ac_fn_c_try_link
"$LINENO"; then :
24683 gcc_cv_math_func_ynf
=yes
24685 gcc_cv_math_func_ynf
=no
24687 rm -f core conftest.err conftest.
$ac_objext \
24688 conftest
$ac_exeext conftest.
$ac_ext
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24691 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24692 if test $gcc_cv_math_func_ynf = yes; then
24694 cat >>confdefs.h
<<_ACEOF
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24704 $as_echo_n "checking for yn... " >&6; }
24705 if ${gcc_cv_math_func_yn+:} false
; then :
24706 $as_echo_n "(cached) " >&6
24708 if test x
$gcc_no_link = xyes
; then
24709 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24714 #ifdef HAVE_COMPLEX_H
24715 #include <complex.h>
24721 int (*ptr)() = (int (*)())yn;
24730 if ac_fn_c_try_link
"$LINENO"; then :
24731 gcc_cv_math_func_yn
=yes
24733 gcc_cv_math_func_yn
=no
24735 rm -f core conftest.err conftest.
$ac_objext \
24736 conftest
$ac_exeext conftest.
$ac_ext
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24739 $as_echo "$gcc_cv_math_func_yn" >&6; }
24740 if test $gcc_cv_math_func_yn = yes; then
24742 cat >>confdefs.h
<<_ACEOF
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24752 $as_echo_n "checking for ynl... " >&6; }
24753 if ${gcc_cv_math_func_ynl+:} false
; then :
24754 $as_echo_n "(cached) " >&6
24756 if test x
$gcc_no_link = xyes
; then
24757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24762 #ifdef HAVE_COMPLEX_H
24763 #include <complex.h>
24769 int (*ptr)() = (int (*)())ynl;
24778 if ac_fn_c_try_link
"$LINENO"; then :
24779 gcc_cv_math_func_ynl
=yes
24781 gcc_cv_math_func_ynl
=no
24783 rm -f core conftest.err conftest.
$ac_objext \
24784 conftest
$ac_exeext conftest.
$ac_ext
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24787 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24788 if test $gcc_cv_math_func_ynl = yes; then
24790 cat >>confdefs.h
<<_ACEOF
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24800 $as_echo_n "checking for tgamma... " >&6; }
24801 if ${gcc_cv_math_func_tgamma+:} false
; then :
24802 $as_echo_n "(cached) " >&6
24804 if test x
$gcc_no_link = xyes
; then
24805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24808 /* end confdefs.h. */
24810 #ifdef HAVE_COMPLEX_H
24811 #include <complex.h>
24817 int (*ptr)() = (int (*)())tgamma;
24826 if ac_fn_c_try_link
"$LINENO"; then :
24827 gcc_cv_math_func_tgamma
=yes
24829 gcc_cv_math_func_tgamma
=no
24831 rm -f core conftest.err conftest.
$ac_objext \
24832 conftest
$ac_exeext conftest.
$ac_ext
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24835 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24836 if test $gcc_cv_math_func_tgamma = yes; then
24838 cat >>confdefs.h
<<_ACEOF
24839 #define HAVE_TGAMMA 1
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24848 $as_echo_n "checking for tgammaf... " >&6; }
24849 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24850 $as_echo_n "(cached) " >&6
24852 if test x
$gcc_no_link = xyes
; then
24853 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24858 #ifdef HAVE_COMPLEX_H
24859 #include <complex.h>
24865 int (*ptr)() = (int (*)())tgammaf;
24874 if ac_fn_c_try_link
"$LINENO"; then :
24875 gcc_cv_math_func_tgammaf
=yes
24877 gcc_cv_math_func_tgammaf
=no
24879 rm -f core conftest.err conftest.
$ac_objext \
24880 conftest
$ac_exeext conftest.
$ac_ext
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24883 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24884 if test $gcc_cv_math_func_tgammaf = yes; then
24886 cat >>confdefs.h
<<_ACEOF
24887 #define HAVE_TGAMMAF 1
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24896 $as_echo_n "checking for lgamma... " >&6; }
24897 if ${gcc_cv_math_func_lgamma+:} false
; then :
24898 $as_echo_n "(cached) " >&6
24900 if test x
$gcc_no_link = xyes
; then
24901 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24906 #ifdef HAVE_COMPLEX_H
24907 #include <complex.h>
24913 int (*ptr)() = (int (*)())lgamma;
24922 if ac_fn_c_try_link
"$LINENO"; then :
24923 gcc_cv_math_func_lgamma
=yes
24925 gcc_cv_math_func_lgamma
=no
24927 rm -f core conftest.err conftest.
$ac_objext \
24928 conftest
$ac_exeext conftest.
$ac_ext
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24931 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24932 if test $gcc_cv_math_func_lgamma = yes; then
24934 cat >>confdefs.h
<<_ACEOF
24935 #define HAVE_LGAMMA 1
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24944 $as_echo_n "checking for lgammaf... " >&6; }
24945 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24946 $as_echo_n "(cached) " >&6
24948 if test x
$gcc_no_link = xyes
; then
24949 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24954 #ifdef HAVE_COMPLEX_H
24955 #include <complex.h>
24961 int (*ptr)() = (int (*)())lgammaf;
24970 if ac_fn_c_try_link
"$LINENO"; then :
24971 gcc_cv_math_func_lgammaf
=yes
24973 gcc_cv_math_func_lgammaf
=no
24975 rm -f core conftest.err conftest.
$ac_objext \
24976 conftest
$ac_exeext conftest.
$ac_ext
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24979 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24980 if test $gcc_cv_math_func_lgammaf = yes; then
24982 cat >>confdefs.h
<<_ACEOF
24983 #define HAVE_LGAMMAF 1
24989 # Check for GFORTRAN_C99_1.1 funcs
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24994 $as_echo_n "checking for cacos... " >&6; }
24995 if ${gcc_cv_math_func_cacos+:} false
; then :
24996 $as_echo_n "(cached) " >&6
24998 if test x
$gcc_no_link = xyes
; then
24999 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25002 /* end confdefs.h. */
25004 #ifdef HAVE_COMPLEX_H
25005 #include <complex.h>
25011 int (*ptr)() = (int (*)())cacos;
25020 if ac_fn_c_try_link
"$LINENO"; then :
25021 gcc_cv_math_func_cacos
=yes
25023 gcc_cv_math_func_cacos
=no
25025 rm -f core conftest.err conftest.
$ac_objext \
25026 conftest
$ac_exeext conftest.
$ac_ext
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25029 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25030 if test $gcc_cv_math_func_cacos = yes; then
25032 cat >>confdefs.h
<<_ACEOF
25033 #define HAVE_CACOS 1
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25042 $as_echo_n "checking for cacosf... " >&6; }
25043 if ${gcc_cv_math_func_cacosf+:} false
; then :
25044 $as_echo_n "(cached) " >&6
25046 if test x
$gcc_no_link = xyes
; then
25047 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25050 /* end confdefs.h. */
25052 #ifdef HAVE_COMPLEX_H
25053 #include <complex.h>
25059 int (*ptr)() = (int (*)())cacosf;
25068 if ac_fn_c_try_link
"$LINENO"; then :
25069 gcc_cv_math_func_cacosf
=yes
25071 gcc_cv_math_func_cacosf
=no
25073 rm -f core conftest.err conftest.
$ac_objext \
25074 conftest
$ac_exeext conftest.
$ac_ext
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25077 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25078 if test $gcc_cv_math_func_cacosf = yes; then
25080 cat >>confdefs.h
<<_ACEOF
25081 #define HAVE_CACOSF 1
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25090 $as_echo_n "checking for cacosh... " >&6; }
25091 if ${gcc_cv_math_func_cacosh+:} false
; then :
25092 $as_echo_n "(cached) " >&6
25094 if test x
$gcc_no_link = xyes
; then
25095 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25098 /* end confdefs.h. */
25100 #ifdef HAVE_COMPLEX_H
25101 #include <complex.h>
25107 int (*ptr)() = (int (*)())cacosh;
25116 if ac_fn_c_try_link
"$LINENO"; then :
25117 gcc_cv_math_func_cacosh
=yes
25119 gcc_cv_math_func_cacosh
=no
25121 rm -f core conftest.err conftest.
$ac_objext \
25122 conftest
$ac_exeext conftest.
$ac_ext
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25125 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25126 if test $gcc_cv_math_func_cacosh = yes; then
25128 cat >>confdefs.h
<<_ACEOF
25129 #define HAVE_CACOSH 1
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25138 $as_echo_n "checking for cacoshf... " >&6; }
25139 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25140 $as_echo_n "(cached) " >&6
25142 if test x
$gcc_no_link = xyes
; then
25143 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25146 /* end confdefs.h. */
25148 #ifdef HAVE_COMPLEX_H
25149 #include <complex.h>
25155 int (*ptr)() = (int (*)())cacoshf;
25164 if ac_fn_c_try_link
"$LINENO"; then :
25165 gcc_cv_math_func_cacoshf
=yes
25167 gcc_cv_math_func_cacoshf
=no
25169 rm -f core conftest.err conftest.
$ac_objext \
25170 conftest
$ac_exeext conftest.
$ac_ext
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25173 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25174 if test $gcc_cv_math_func_cacoshf = yes; then
25176 cat >>confdefs.h
<<_ACEOF
25177 #define HAVE_CACOSHF 1
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25186 $as_echo_n "checking for cacoshl... " >&6; }
25187 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25188 $as_echo_n "(cached) " >&6
25190 if test x
$gcc_no_link = xyes
; then
25191 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25194 /* end confdefs.h. */
25196 #ifdef HAVE_COMPLEX_H
25197 #include <complex.h>
25203 int (*ptr)() = (int (*)())cacoshl;
25212 if ac_fn_c_try_link
"$LINENO"; then :
25213 gcc_cv_math_func_cacoshl
=yes
25215 gcc_cv_math_func_cacoshl
=no
25217 rm -f core conftest.err conftest.
$ac_objext \
25218 conftest
$ac_exeext conftest.
$ac_ext
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25221 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25222 if test $gcc_cv_math_func_cacoshl = yes; then
25224 cat >>confdefs.h
<<_ACEOF
25225 #define HAVE_CACOSHL 1
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25234 $as_echo_n "checking for cacosl... " >&6; }
25235 if ${gcc_cv_math_func_cacosl+:} false
; then :
25236 $as_echo_n "(cached) " >&6
25238 if test x
$gcc_no_link = xyes
; then
25239 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25242 /* end confdefs.h. */
25244 #ifdef HAVE_COMPLEX_H
25245 #include <complex.h>
25251 int (*ptr)() = (int (*)())cacosl;
25260 if ac_fn_c_try_link
"$LINENO"; then :
25261 gcc_cv_math_func_cacosl
=yes
25263 gcc_cv_math_func_cacosl
=no
25265 rm -f core conftest.err conftest.
$ac_objext \
25266 conftest
$ac_exeext conftest.
$ac_ext
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25269 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25270 if test $gcc_cv_math_func_cacosl = yes; then
25272 cat >>confdefs.h
<<_ACEOF
25273 #define HAVE_CACOSL 1
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25282 $as_echo_n "checking for casin... " >&6; }
25283 if ${gcc_cv_math_func_casin+:} false
; then :
25284 $as_echo_n "(cached) " >&6
25286 if test x
$gcc_no_link = xyes
; then
25287 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25290 /* end confdefs.h. */
25292 #ifdef HAVE_COMPLEX_H
25293 #include <complex.h>
25299 int (*ptr)() = (int (*)())casin;
25308 if ac_fn_c_try_link
"$LINENO"; then :
25309 gcc_cv_math_func_casin
=yes
25311 gcc_cv_math_func_casin
=no
25313 rm -f core conftest.err conftest.
$ac_objext \
25314 conftest
$ac_exeext conftest.
$ac_ext
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25317 $as_echo "$gcc_cv_math_func_casin" >&6; }
25318 if test $gcc_cv_math_func_casin = yes; then
25320 cat >>confdefs.h
<<_ACEOF
25321 #define HAVE_CASIN 1
25329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25330 $as_echo_n "checking for casinf... " >&6; }
25331 if ${gcc_cv_math_func_casinf+:} false
; then :
25332 $as_echo_n "(cached) " >&6
25334 if test x
$gcc_no_link = xyes
; then
25335 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25338 /* end confdefs.h. */
25340 #ifdef HAVE_COMPLEX_H
25341 #include <complex.h>
25347 int (*ptr)() = (int (*)())casinf;
25356 if ac_fn_c_try_link
"$LINENO"; then :
25357 gcc_cv_math_func_casinf
=yes
25359 gcc_cv_math_func_casinf
=no
25361 rm -f core conftest.err conftest.
$ac_objext \
25362 conftest
$ac_exeext conftest.
$ac_ext
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25365 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25366 if test $gcc_cv_math_func_casinf = yes; then
25368 cat >>confdefs.h
<<_ACEOF
25369 #define HAVE_CASINF 1
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25378 $as_echo_n "checking for casinh... " >&6; }
25379 if ${gcc_cv_math_func_casinh+:} false
; then :
25380 $as_echo_n "(cached) " >&6
25382 if test x
$gcc_no_link = xyes
; then
25383 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h. */
25388 #ifdef HAVE_COMPLEX_H
25389 #include <complex.h>
25395 int (*ptr)() = (int (*)())casinh;
25404 if ac_fn_c_try_link
"$LINENO"; then :
25405 gcc_cv_math_func_casinh
=yes
25407 gcc_cv_math_func_casinh
=no
25409 rm -f core conftest.err conftest.
$ac_objext \
25410 conftest
$ac_exeext conftest.
$ac_ext
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25413 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25414 if test $gcc_cv_math_func_casinh = yes; then
25416 cat >>confdefs.h
<<_ACEOF
25417 #define HAVE_CASINH 1
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25426 $as_echo_n "checking for casinhf... " >&6; }
25427 if ${gcc_cv_math_func_casinhf+:} false
; then :
25428 $as_echo_n "(cached) " >&6
25430 if test x
$gcc_no_link = xyes
; then
25431 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25434 /* end confdefs.h. */
25436 #ifdef HAVE_COMPLEX_H
25437 #include <complex.h>
25443 int (*ptr)() = (int (*)())casinhf;
25452 if ac_fn_c_try_link
"$LINENO"; then :
25453 gcc_cv_math_func_casinhf
=yes
25455 gcc_cv_math_func_casinhf
=no
25457 rm -f core conftest.err conftest.
$ac_objext \
25458 conftest
$ac_exeext conftest.
$ac_ext
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25461 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25462 if test $gcc_cv_math_func_casinhf = yes; then
25464 cat >>confdefs.h
<<_ACEOF
25465 #define HAVE_CASINHF 1
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25474 $as_echo_n "checking for casinhl... " >&6; }
25475 if ${gcc_cv_math_func_casinhl+:} false
; then :
25476 $as_echo_n "(cached) " >&6
25478 if test x
$gcc_no_link = xyes
; then
25479 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h. */
25484 #ifdef HAVE_COMPLEX_H
25485 #include <complex.h>
25491 int (*ptr)() = (int (*)())casinhl;
25500 if ac_fn_c_try_link
"$LINENO"; then :
25501 gcc_cv_math_func_casinhl
=yes
25503 gcc_cv_math_func_casinhl
=no
25505 rm -f core conftest.err conftest.
$ac_objext \
25506 conftest
$ac_exeext conftest.
$ac_ext
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25509 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25510 if test $gcc_cv_math_func_casinhl = yes; then
25512 cat >>confdefs.h
<<_ACEOF
25513 #define HAVE_CASINHL 1
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25522 $as_echo_n "checking for casinl... " >&6; }
25523 if ${gcc_cv_math_func_casinl+:} false
; then :
25524 $as_echo_n "(cached) " >&6
25526 if test x
$gcc_no_link = xyes
; then
25527 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h. */
25532 #ifdef HAVE_COMPLEX_H
25533 #include <complex.h>
25539 int (*ptr)() = (int (*)())casinl;
25548 if ac_fn_c_try_link
"$LINENO"; then :
25549 gcc_cv_math_func_casinl
=yes
25551 gcc_cv_math_func_casinl
=no
25553 rm -f core conftest.err conftest.
$ac_objext \
25554 conftest
$ac_exeext conftest.
$ac_ext
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25557 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25558 if test $gcc_cv_math_func_casinl = yes; then
25560 cat >>confdefs.h
<<_ACEOF
25561 #define HAVE_CASINL 1
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25570 $as_echo_n "checking for catan... " >&6; }
25571 if ${gcc_cv_math_func_catan+:} false
; then :
25572 $as_echo_n "(cached) " >&6
25574 if test x
$gcc_no_link = xyes
; then
25575 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25578 /* end confdefs.h. */
25580 #ifdef HAVE_COMPLEX_H
25581 #include <complex.h>
25587 int (*ptr)() = (int (*)())catan;
25596 if ac_fn_c_try_link
"$LINENO"; then :
25597 gcc_cv_math_func_catan
=yes
25599 gcc_cv_math_func_catan
=no
25601 rm -f core conftest.err conftest.
$ac_objext \
25602 conftest
$ac_exeext conftest.
$ac_ext
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25605 $as_echo "$gcc_cv_math_func_catan" >&6; }
25606 if test $gcc_cv_math_func_catan = yes; then
25608 cat >>confdefs.h
<<_ACEOF
25609 #define HAVE_CATAN 1
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25618 $as_echo_n "checking for catanf... " >&6; }
25619 if ${gcc_cv_math_func_catanf+:} false
; then :
25620 $as_echo_n "(cached) " >&6
25622 if test x
$gcc_no_link = xyes
; then
25623 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25628 #ifdef HAVE_COMPLEX_H
25629 #include <complex.h>
25635 int (*ptr)() = (int (*)())catanf;
25644 if ac_fn_c_try_link
"$LINENO"; then :
25645 gcc_cv_math_func_catanf
=yes
25647 gcc_cv_math_func_catanf
=no
25649 rm -f core conftest.err conftest.
$ac_objext \
25650 conftest
$ac_exeext conftest.
$ac_ext
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25653 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25654 if test $gcc_cv_math_func_catanf = yes; then
25656 cat >>confdefs.h
<<_ACEOF
25657 #define HAVE_CATANF 1
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25666 $as_echo_n "checking for catanh... " >&6; }
25667 if ${gcc_cv_math_func_catanh+:} false
; then :
25668 $as_echo_n "(cached) " >&6
25670 if test x
$gcc_no_link = xyes
; then
25671 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25674 /* end confdefs.h. */
25676 #ifdef HAVE_COMPLEX_H
25677 #include <complex.h>
25683 int (*ptr)() = (int (*)())catanh;
25692 if ac_fn_c_try_link
"$LINENO"; then :
25693 gcc_cv_math_func_catanh
=yes
25695 gcc_cv_math_func_catanh
=no
25697 rm -f core conftest.err conftest.
$ac_objext \
25698 conftest
$ac_exeext conftest.
$ac_ext
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25701 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25702 if test $gcc_cv_math_func_catanh = yes; then
25704 cat >>confdefs.h
<<_ACEOF
25705 #define HAVE_CATANH 1
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25714 $as_echo_n "checking for catanhf... " >&6; }
25715 if ${gcc_cv_math_func_catanhf+:} false
; then :
25716 $as_echo_n "(cached) " >&6
25718 if test x
$gcc_no_link = xyes
; then
25719 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25722 /* end confdefs.h. */
25724 #ifdef HAVE_COMPLEX_H
25725 #include <complex.h>
25731 int (*ptr)() = (int (*)())catanhf;
25740 if ac_fn_c_try_link
"$LINENO"; then :
25741 gcc_cv_math_func_catanhf
=yes
25743 gcc_cv_math_func_catanhf
=no
25745 rm -f core conftest.err conftest.
$ac_objext \
25746 conftest
$ac_exeext conftest.
$ac_ext
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25749 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25750 if test $gcc_cv_math_func_catanhf = yes; then
25752 cat >>confdefs.h
<<_ACEOF
25753 #define HAVE_CATANHF 1
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25762 $as_echo_n "checking for catanhl... " >&6; }
25763 if ${gcc_cv_math_func_catanhl+:} false
; then :
25764 $as_echo_n "(cached) " >&6
25766 if test x
$gcc_no_link = xyes
; then
25767 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25770 /* end confdefs.h. */
25772 #ifdef HAVE_COMPLEX_H
25773 #include <complex.h>
25779 int (*ptr)() = (int (*)())catanhl;
25788 if ac_fn_c_try_link
"$LINENO"; then :
25789 gcc_cv_math_func_catanhl
=yes
25791 gcc_cv_math_func_catanhl
=no
25793 rm -f core conftest.err conftest.
$ac_objext \
25794 conftest
$ac_exeext conftest.
$ac_ext
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25797 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25798 if test $gcc_cv_math_func_catanhl = yes; then
25800 cat >>confdefs.h
<<_ACEOF
25801 #define HAVE_CATANHL 1
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25810 $as_echo_n "checking for catanl... " >&6; }
25811 if ${gcc_cv_math_func_catanl+:} false
; then :
25812 $as_echo_n "(cached) " >&6
25814 if test x
$gcc_no_link = xyes
; then
25815 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25820 #ifdef HAVE_COMPLEX_H
25821 #include <complex.h>
25827 int (*ptr)() = (int (*)())catanl;
25836 if ac_fn_c_try_link
"$LINENO"; then :
25837 gcc_cv_math_func_catanl
=yes
25839 gcc_cv_math_func_catanl
=no
25841 rm -f core conftest.err conftest.
$ac_objext \
25842 conftest
$ac_exeext conftest.
$ac_ext
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25845 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25846 if test $gcc_cv_math_func_catanl = yes; then
25848 cat >>confdefs.h
<<_ACEOF
25849 #define HAVE_CATANL 1
25855 # For POWER, check the ieee128 math functions
25857 if test "x$have_real_17" = "xyes"; then
25859 cat >>confdefs.h
<<_ACEOF
25860 #define HAVE_REAL_17 1
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25868 $as_echo_n "checking for __acoshieee128... " >&6; }
25869 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
25870 $as_echo_n "(cached) " >&6
25872 if test x
$gcc_no_link = xyes
; then
25873 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25878 _Float128 __acoshieee128 (_Float128);
25879 _Float128 (*ptr)(_Float128) = __acoshieee128;
25888 if ac_fn_c_try_link
"$LINENO"; then :
25889 gcc_cv_math_func___acoshieee128
=yes
25891 gcc_cv_math_func___acoshieee128
=no
25893 rm -f core conftest.err conftest.
$ac_objext \
25894 conftest
$ac_exeext conftest.
$ac_ext
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25897 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25898 if test $gcc_cv_math_func___acoshieee128 = yes; then
25900 cat >>confdefs.h
<<_ACEOF
25901 #define HAVE___ACOSHIEEE128 1
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25910 $as_echo_n "checking for __acosieee128... " >&6; }
25911 if ${gcc_cv_math_func___acosieee128+:} false
; then :
25912 $as_echo_n "(cached) " >&6
25914 if test x
$gcc_no_link = xyes
; then
25915 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25918 /* end confdefs.h. */
25920 _Float128 __acosieee128 (_Float128);
25921 _Float128 (*ptr)(_Float128) = __acosieee128;
25930 if ac_fn_c_try_link
"$LINENO"; then :
25931 gcc_cv_math_func___acosieee128
=yes
25933 gcc_cv_math_func___acosieee128
=no
25935 rm -f core conftest.err conftest.
$ac_objext \
25936 conftest
$ac_exeext conftest.
$ac_ext
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25939 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25940 if test $gcc_cv_math_func___acosieee128 = yes; then
25942 cat >>confdefs.h
<<_ACEOF
25943 #define HAVE___ACOSIEEE128 1
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25952 $as_echo_n "checking for __asinhieee128... " >&6; }
25953 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
25954 $as_echo_n "(cached) " >&6
25956 if test x
$gcc_no_link = xyes
; then
25957 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25960 /* end confdefs.h. */
25962 _Float128 __asinhieee128 (_Float128);
25963 _Float128 (*ptr)(_Float128) = __asinhieee128;
25972 if ac_fn_c_try_link
"$LINENO"; then :
25973 gcc_cv_math_func___asinhieee128
=yes
25975 gcc_cv_math_func___asinhieee128
=no
25977 rm -f core conftest.err conftest.
$ac_objext \
25978 conftest
$ac_exeext conftest.
$ac_ext
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25981 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25982 if test $gcc_cv_math_func___asinhieee128 = yes; then
25984 cat >>confdefs.h
<<_ACEOF
25985 #define HAVE___ASINHIEEE128 1
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25994 $as_echo_n "checking for __asinieee128... " >&6; }
25995 if ${gcc_cv_math_func___asinieee128+:} false
; then :
25996 $as_echo_n "(cached) " >&6
25998 if test x
$gcc_no_link = xyes
; then
25999 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26004 _Float128 __asinieee128 (_Float128);
26005 _Float128 (*ptr)(_Float128) = __asinieee128;
26014 if ac_fn_c_try_link
"$LINENO"; then :
26015 gcc_cv_math_func___asinieee128
=yes
26017 gcc_cv_math_func___asinieee128
=no
26019 rm -f core conftest.err conftest.
$ac_objext \
26020 conftest
$ac_exeext conftest.
$ac_ext
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26023 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26024 if test $gcc_cv_math_func___asinieee128 = yes; then
26026 cat >>confdefs.h
<<_ACEOF
26027 #define HAVE___ASINIEEE128 1
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26036 $as_echo_n "checking for __atan2ieee128... " >&6; }
26037 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26038 $as_echo_n "(cached) " >&6
26040 if test x
$gcc_no_link = xyes
; then
26041 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26044 /* end confdefs.h. */
26046 _Float128 __atan2ieee128 (_Float128);
26047 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26056 if ac_fn_c_try_link
"$LINENO"; then :
26057 gcc_cv_math_func___atan2ieee128
=yes
26059 gcc_cv_math_func___atan2ieee128
=no
26061 rm -f core conftest.err conftest.
$ac_objext \
26062 conftest
$ac_exeext conftest.
$ac_ext
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26065 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26066 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26068 cat >>confdefs.h
<<_ACEOF
26069 #define HAVE___ATAN2IEEE128 1
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26078 $as_echo_n "checking for __atanhieee128... " >&6; }
26079 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26080 $as_echo_n "(cached) " >&6
26082 if test x
$gcc_no_link = xyes
; then
26083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26086 /* end confdefs.h. */
26088 _Float128 __atanhieee128 (_Float128);
26089 _Float128 (*ptr)(_Float128) = __atanhieee128;
26098 if ac_fn_c_try_link
"$LINENO"; then :
26099 gcc_cv_math_func___atanhieee128
=yes
26101 gcc_cv_math_func___atanhieee128
=no
26103 rm -f core conftest.err conftest.
$ac_objext \
26104 conftest
$ac_exeext conftest.
$ac_ext
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26107 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26108 if test $gcc_cv_math_func___atanhieee128 = yes; then
26110 cat >>confdefs.h
<<_ACEOF
26111 #define HAVE___ATANHIEEE128 1
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26120 $as_echo_n "checking for __atanieee128... " >&6; }
26121 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26122 $as_echo_n "(cached) " >&6
26124 if test x
$gcc_no_link = xyes
; then
26125 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26130 _Float128 __atanieee128 (_Float128);
26131 _Float128 (*ptr)(_Float128) = __atanieee128;
26140 if ac_fn_c_try_link
"$LINENO"; then :
26141 gcc_cv_math_func___atanieee128
=yes
26143 gcc_cv_math_func___atanieee128
=no
26145 rm -f core conftest.err conftest.
$ac_objext \
26146 conftest
$ac_exeext conftest.
$ac_ext
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26149 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26150 if test $gcc_cv_math_func___atanieee128 = yes; then
26152 cat >>confdefs.h
<<_ACEOF
26153 #define HAVE___ATANIEEE128 1
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26162 $as_echo_n "checking for __coshieee128... " >&6; }
26163 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26164 $as_echo_n "(cached) " >&6
26166 if test x
$gcc_no_link = xyes
; then
26167 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26170 /* end confdefs.h. */
26172 _Float128 __coshieee128 (_Float128);
26173 _Float128 (*ptr)(_Float128) = __coshieee128;
26182 if ac_fn_c_try_link
"$LINENO"; then :
26183 gcc_cv_math_func___coshieee128
=yes
26185 gcc_cv_math_func___coshieee128
=no
26187 rm -f core conftest.err conftest.
$ac_objext \
26188 conftest
$ac_exeext conftest.
$ac_ext
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26191 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26192 if test $gcc_cv_math_func___coshieee128 = yes; then
26194 cat >>confdefs.h
<<_ACEOF
26195 #define HAVE___COSHIEEE128 1
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26204 $as_echo_n "checking for __cosieee128... " >&6; }
26205 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26206 $as_echo_n "(cached) " >&6
26208 if test x
$gcc_no_link = xyes
; then
26209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26214 _Float128 __cosieee128 (_Float128);
26215 _Float128 (*ptr)(_Float128) = __cosieee128;
26224 if ac_fn_c_try_link
"$LINENO"; then :
26225 gcc_cv_math_func___cosieee128
=yes
26227 gcc_cv_math_func___cosieee128
=no
26229 rm -f core conftest.err conftest.
$ac_objext \
26230 conftest
$ac_exeext conftest.
$ac_ext
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26233 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26234 if test $gcc_cv_math_func___cosieee128 = yes; then
26236 cat >>confdefs.h
<<_ACEOF
26237 #define HAVE___COSIEEE128 1
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26246 $as_echo_n "checking for __erfieee128... " >&6; }
26247 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26248 $as_echo_n "(cached) " >&6
26250 if test x
$gcc_no_link = xyes
; then
26251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26254 /* end confdefs.h. */
26256 _Float128 __erfieee128 (_Float128);
26257 _Float128 (*ptr)(_Float128) = __erfieee128;
26266 if ac_fn_c_try_link
"$LINENO"; then :
26267 gcc_cv_math_func___erfieee128
=yes
26269 gcc_cv_math_func___erfieee128
=no
26271 rm -f core conftest.err conftest.
$ac_objext \
26272 conftest
$ac_exeext conftest.
$ac_ext
26274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26275 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26276 if test $gcc_cv_math_func___erfieee128 = yes; then
26278 cat >>confdefs.h
<<_ACEOF
26279 #define HAVE___ERFIEEE128 1
26287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26288 $as_echo_n "checking for __expieee128... " >&6; }
26289 if ${gcc_cv_math_func___expieee128+:} false
; then :
26290 $as_echo_n "(cached) " >&6
26292 if test x
$gcc_no_link = xyes
; then
26293 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26296 /* end confdefs.h. */
26298 _Float128 __expieee128 (_Float128);
26299 _Float128 (*ptr)(_Float128) = __expieee128;
26308 if ac_fn_c_try_link
"$LINENO"; then :
26309 gcc_cv_math_func___expieee128
=yes
26311 gcc_cv_math_func___expieee128
=no
26313 rm -f core conftest.err conftest.
$ac_objext \
26314 conftest
$ac_exeext conftest.
$ac_ext
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26317 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26318 if test $gcc_cv_math_func___expieee128 = yes; then
26320 cat >>confdefs.h
<<_ACEOF
26321 #define HAVE___EXPIEEE128 1
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26330 $as_echo_n "checking for __fabsieee128... " >&6; }
26331 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26332 $as_echo_n "(cached) " >&6
26334 if test x
$gcc_no_link = xyes
; then
26335 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26338 /* end confdefs.h. */
26340 _Float128 __fabsieee128 (_Float128);
26341 _Float128 (*ptr)(_Float128) = __fabsieee128;
26350 if ac_fn_c_try_link
"$LINENO"; then :
26351 gcc_cv_math_func___fabsieee128
=yes
26353 gcc_cv_math_func___fabsieee128
=no
26355 rm -f core conftest.err conftest.
$ac_objext \
26356 conftest
$ac_exeext conftest.
$ac_ext
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26359 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26360 if test $gcc_cv_math_func___fabsieee128 = yes; then
26362 cat >>confdefs.h
<<_ACEOF
26363 #define HAVE___FABSIEEE128 1
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26372 $as_echo_n "checking for __jnieee128... " >&6; }
26373 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26374 $as_echo_n "(cached) " >&6
26376 if test x
$gcc_no_link = xyes
; then
26377 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26382 _Float128 __jnieee128 (_Float128);
26383 _Float128 (*ptr)(_Float128) = __jnieee128;
26392 if ac_fn_c_try_link
"$LINENO"; then :
26393 gcc_cv_math_func___jnieee128
=yes
26395 gcc_cv_math_func___jnieee128
=no
26397 rm -f core conftest.err conftest.
$ac_objext \
26398 conftest
$ac_exeext conftest.
$ac_ext
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26401 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26402 if test $gcc_cv_math_func___jnieee128 = yes; then
26404 cat >>confdefs.h
<<_ACEOF
26405 #define HAVE___JNIEEE128 1
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26414 $as_echo_n "checking for __log10ieee128... " >&6; }
26415 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26416 $as_echo_n "(cached) " >&6
26418 if test x
$gcc_no_link = xyes
; then
26419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26422 /* end confdefs.h. */
26424 _Float128 __log10ieee128 (_Float128);
26425 _Float128 (*ptr)(_Float128) = __log10ieee128;
26434 if ac_fn_c_try_link
"$LINENO"; then :
26435 gcc_cv_math_func___log10ieee128
=yes
26437 gcc_cv_math_func___log10ieee128
=no
26439 rm -f core conftest.err conftest.
$ac_objext \
26440 conftest
$ac_exeext conftest.
$ac_ext
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26443 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26444 if test $gcc_cv_math_func___log10ieee128 = yes; then
26446 cat >>confdefs.h
<<_ACEOF
26447 #define HAVE___LOG10IEEE128 1
26455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26456 $as_echo_n "checking for __logieee128... " >&6; }
26457 if ${gcc_cv_math_func___logieee128+:} false
; then :
26458 $as_echo_n "(cached) " >&6
26460 if test x
$gcc_no_link = xyes
; then
26461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26464 /* end confdefs.h. */
26466 _Float128 __logieee128 (_Float128);
26467 _Float128 (*ptr)(_Float128) = __logieee128;
26476 if ac_fn_c_try_link
"$LINENO"; then :
26477 gcc_cv_math_func___logieee128
=yes
26479 gcc_cv_math_func___logieee128
=no
26481 rm -f core conftest.err conftest.
$ac_objext \
26482 conftest
$ac_exeext conftest.
$ac_ext
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26485 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26486 if test $gcc_cv_math_func___logieee128 = yes; then
26488 cat >>confdefs.h
<<_ACEOF
26489 #define HAVE___LOGIEEE128 1
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26498 $as_echo_n "checking for __powieee128... " >&6; }
26499 if ${gcc_cv_math_func___powieee128+:} false
; then :
26500 $as_echo_n "(cached) " >&6
26502 if test x
$gcc_no_link = xyes
; then
26503 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26506 /* end confdefs.h. */
26508 _Float128 __powieee128 (_Float128);
26509 _Float128 (*ptr)(_Float128) = __powieee128;
26518 if ac_fn_c_try_link
"$LINENO"; then :
26519 gcc_cv_math_func___powieee128
=yes
26521 gcc_cv_math_func___powieee128
=no
26523 rm -f core conftest.err conftest.
$ac_objext \
26524 conftest
$ac_exeext conftest.
$ac_ext
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26527 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26528 if test $gcc_cv_math_func___powieee128 = yes; then
26530 cat >>confdefs.h
<<_ACEOF
26531 #define HAVE___POWIEEE128 1
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26540 $as_echo_n "checking for __sinhieee128... " >&6; }
26541 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26542 $as_echo_n "(cached) " >&6
26544 if test x
$gcc_no_link = xyes
; then
26545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26548 /* end confdefs.h. */
26550 _Float128 __sinhieee128 (_Float128);
26551 _Float128 (*ptr)(_Float128) = __sinhieee128;
26560 if ac_fn_c_try_link
"$LINENO"; then :
26561 gcc_cv_math_func___sinhieee128
=yes
26563 gcc_cv_math_func___sinhieee128
=no
26565 rm -f core conftest.err conftest.
$ac_objext \
26566 conftest
$ac_exeext conftest.
$ac_ext
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26569 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26570 if test $gcc_cv_math_func___sinhieee128 = yes; then
26572 cat >>confdefs.h
<<_ACEOF
26573 #define HAVE___SINHIEEE128 1
26581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26582 $as_echo_n "checking for __sinieee128... " >&6; }
26583 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26584 $as_echo_n "(cached) " >&6
26586 if test x
$gcc_no_link = xyes
; then
26587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26590 /* end confdefs.h. */
26592 _Float128 __sinieee128 (_Float128);
26593 _Float128 (*ptr)(_Float128) = __sinieee128;
26602 if ac_fn_c_try_link
"$LINENO"; then :
26603 gcc_cv_math_func___sinieee128
=yes
26605 gcc_cv_math_func___sinieee128
=no
26607 rm -f core conftest.err conftest.
$ac_objext \
26608 conftest
$ac_exeext conftest.
$ac_ext
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26611 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26612 if test $gcc_cv_math_func___sinieee128 = yes; then
26614 cat >>confdefs.h
<<_ACEOF
26615 #define HAVE___SINIEEE128 1
26623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26624 $as_echo_n "checking for __sqrtieee128... " >&6; }
26625 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26626 $as_echo_n "(cached) " >&6
26628 if test x
$gcc_no_link = xyes
; then
26629 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26634 _Float128 __sqrtieee128 (_Float128);
26635 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26644 if ac_fn_c_try_link
"$LINENO"; then :
26645 gcc_cv_math_func___sqrtieee128
=yes
26647 gcc_cv_math_func___sqrtieee128
=no
26649 rm -f core conftest.err conftest.
$ac_objext \
26650 conftest
$ac_exeext conftest.
$ac_ext
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26653 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26654 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26656 cat >>confdefs.h
<<_ACEOF
26657 #define HAVE___SQRTIEEE128 1
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26666 $as_echo_n "checking for __tanhieee128... " >&6; }
26667 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26668 $as_echo_n "(cached) " >&6
26670 if test x
$gcc_no_link = xyes
; then
26671 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26674 /* end confdefs.h. */
26676 _Float128 __tanhieee128 (_Float128);
26677 _Float128 (*ptr)(_Float128) = __tanhieee128;
26686 if ac_fn_c_try_link
"$LINENO"; then :
26687 gcc_cv_math_func___tanhieee128
=yes
26689 gcc_cv_math_func___tanhieee128
=no
26691 rm -f core conftest.err conftest.
$ac_objext \
26692 conftest
$ac_exeext conftest.
$ac_ext
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26695 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26696 if test $gcc_cv_math_func___tanhieee128 = yes; then
26698 cat >>confdefs.h
<<_ACEOF
26699 #define HAVE___TANHIEEE128 1
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26708 $as_echo_n "checking for __tanieee128... " >&6; }
26709 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26710 $as_echo_n "(cached) " >&6
26712 if test x
$gcc_no_link = xyes
; then
26713 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26718 _Float128 __tanieee128 (_Float128);
26719 _Float128 (*ptr)(_Float128) = __tanieee128;
26728 if ac_fn_c_try_link
"$LINENO"; then :
26729 gcc_cv_math_func___tanieee128
=yes
26731 gcc_cv_math_func___tanieee128
=no
26733 rm -f core conftest.err conftest.
$ac_objext \
26734 conftest
$ac_exeext conftest.
$ac_ext
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26737 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26738 if test $gcc_cv_math_func___tanieee128 = yes; then
26740 cat >>confdefs.h
<<_ACEOF
26741 #define HAVE___TANIEEE128 1
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26750 $as_echo_n "checking for __ynieee128... " >&6; }
26751 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26752 $as_echo_n "(cached) " >&6
26754 if test x
$gcc_no_link = xyes
; then
26755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h. */
26760 _Float128 __ynieee128 (_Float128);
26761 _Float128 (*ptr)(_Float128) = __ynieee128;
26770 if ac_fn_c_try_link
"$LINENO"; then :
26771 gcc_cv_math_func___ynieee128
=yes
26773 gcc_cv_math_func___ynieee128
=no
26775 rm -f core conftest.err conftest.
$ac_objext \
26776 conftest
$ac_exeext conftest.
$ac_ext
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26779 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26780 if test $gcc_cv_math_func___ynieee128 = yes; then
26782 cat >>confdefs.h
<<_ACEOF
26783 #define HAVE___YNIEEE128 1
26790 # On AIX, clog is present in libm as __clog
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26792 $as_echo_n "checking for __clog in -lm... " >&6; }
26793 if ${ac_cv_lib_m___clog+:} false
; then :
26794 $as_echo_n "(cached) " >&6
26796 ac_check_lib_save_LIBS
=$LIBS
26798 if test x
$gcc_no_link = xyes
; then
26799 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26802 /* end confdefs.h. */
26804 /* Override any GCC internal prototype to avoid an error.
26805 Use char because int might match the return type of a GCC
26806 builtin and then its argument prototype would still apply. */
26819 if ac_fn_c_try_link
"$LINENO"; then :
26820 ac_cv_lib_m___clog
=yes
26822 ac_cv_lib_m___clog
=no
26824 rm -f core conftest.err conftest.
$ac_objext \
26825 conftest
$ac_exeext conftest.
$ac_ext
26826 LIBS
=$ac_check_lib_save_LIBS
26828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26829 $as_echo "$ac_cv_lib_m___clog" >&6; }
26830 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26832 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26839 if test $gcc_cv_math_func_copysign = no
; then
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26841 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26842 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26843 $as_echo_n "(cached) " >&6
26845 if test x
$gcc_no_link = xyes
; then
26846 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26852 copysign_fallback (double x, double y)
26854 return __builtin_copysign (x, y);
26864 if ac_fn_c_try_link
"$LINENO"; then :
26865 gcc_cv_math_inline_builtin_copysign
=yes
26867 gcc_cv_math_inline_builtin_copysign
=no
26869 rm -f core conftest.err conftest.
$ac_objext \
26870 conftest
$ac_exeext conftest.
$ac_ext
26872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26873 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26874 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26876 cat >>confdefs.h
<<_ACEOF
26877 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26884 if test $gcc_cv_math_func_copysignl = no
; then
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26886 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26887 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
26888 $as_echo_n "(cached) " >&6
26890 if test x
$gcc_no_link = xyes
; then
26891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26894 /* end confdefs.h. */
26897 copysignl_fallback (long double x, long double y)
26899 return __builtin_copysignl (x, y);
26909 if ac_fn_c_try_link
"$LINENO"; then :
26910 gcc_cv_math_inline_builtin_copysignl
=yes
26912 gcc_cv_math_inline_builtin_copysignl
=no
26914 rm -f core conftest.err conftest.
$ac_objext \
26915 conftest
$ac_exeext conftest.
$ac_ext
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26918 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26919 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26921 cat >>confdefs.h
<<_ACEOF
26922 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26929 if test $gcc_cv_math_func_fabs = no
; then
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26931 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26932 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
26933 $as_echo_n "(cached) " >&6
26935 if test x
$gcc_no_link = xyes
; then
26936 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h. */
26942 fabs_fallback (double x)
26944 return __builtin_fabs (x);
26954 if ac_fn_c_try_link
"$LINENO"; then :
26955 gcc_cv_math_inline_builtin_fabs
=yes
26957 gcc_cv_math_inline_builtin_fabs
=no
26959 rm -f core conftest.err conftest.
$ac_objext \
26960 conftest
$ac_exeext conftest.
$ac_ext
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26963 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26964 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26966 cat >>confdefs.h
<<_ACEOF
26967 #define HAVE_INLINE_BUILTIN_FABS 1
26974 if test $gcc_cv_math_func_fabsl = no
; then
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26976 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26977 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
26978 $as_echo_n "(cached) " >&6
26980 if test x
$gcc_no_link = xyes
; then
26981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26984 /* end confdefs.h. */
26987 fabsl_fallback (long double x)
26989 return __builtin_fabsl (x);
26999 if ac_fn_c_try_link
"$LINENO"; then :
27000 gcc_cv_math_inline_builtin_fabsl
=yes
27002 gcc_cv_math_inline_builtin_fabsl
=no
27004 rm -f core conftest.err conftest.
$ac_objext \
27005 conftest
$ac_exeext conftest.
$ac_ext
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27008 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27009 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27011 cat >>confdefs.h
<<_ACEOF
27012 #define HAVE_INLINE_BUILTIN_FABSL 1
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27022 $as_echo_n "checking for acosf128... " >&6; }
27023 if ${gcc_cv_math_func_acosf128+:} false
; then :
27024 $as_echo_n "(cached) " >&6
27026 if test x
$gcc_no_link = xyes
; then
27027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h. */
27032 #ifdef HAVE_COMPLEX_H
27033 #include <complex.h>
27039 int (*ptr)() = (int (*)())acosf128;
27048 if ac_fn_c_try_link
"$LINENO"; then :
27049 gcc_cv_math_func_acosf128
=yes
27051 gcc_cv_math_func_acosf128
=no
27053 rm -f core conftest.err conftest.
$ac_objext \
27054 conftest
$ac_exeext conftest.
$ac_ext
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27057 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27058 if test $gcc_cv_math_func_acosf128 = yes; then
27060 cat >>confdefs.h
<<_ACEOF
27061 #define HAVE_ACOSF128 1
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27070 $as_echo_n "checking for acoshf128... " >&6; }
27071 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27072 $as_echo_n "(cached) " >&6
27074 if test x
$gcc_no_link = xyes
; then
27075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27078 /* end confdefs.h. */
27080 #ifdef HAVE_COMPLEX_H
27081 #include <complex.h>
27087 int (*ptr)() = (int (*)())acoshf128;
27096 if ac_fn_c_try_link
"$LINENO"; then :
27097 gcc_cv_math_func_acoshf128
=yes
27099 gcc_cv_math_func_acoshf128
=no
27101 rm -f core conftest.err conftest.
$ac_objext \
27102 conftest
$ac_exeext conftest.
$ac_ext
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27105 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27106 if test $gcc_cv_math_func_acoshf128 = yes; then
27108 cat >>confdefs.h
<<_ACEOF
27109 #define HAVE_ACOSHF128 1
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27118 $as_echo_n "checking for asinf128... " >&6; }
27119 if ${gcc_cv_math_func_asinf128+:} false
; then :
27120 $as_echo_n "(cached) " >&6
27122 if test x
$gcc_no_link = xyes
; then
27123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27126 /* end confdefs.h. */
27128 #ifdef HAVE_COMPLEX_H
27129 #include <complex.h>
27135 int (*ptr)() = (int (*)())asinf128;
27144 if ac_fn_c_try_link
"$LINENO"; then :
27145 gcc_cv_math_func_asinf128
=yes
27147 gcc_cv_math_func_asinf128
=no
27149 rm -f core conftest.err conftest.
$ac_objext \
27150 conftest
$ac_exeext conftest.
$ac_ext
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27153 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27154 if test $gcc_cv_math_func_asinf128 = yes; then
27156 cat >>confdefs.h
<<_ACEOF
27157 #define HAVE_ASINF128 1
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27166 $as_echo_n "checking for asinhf128... " >&6; }
27167 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27168 $as_echo_n "(cached) " >&6
27170 if test x
$gcc_no_link = xyes
; then
27171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27174 /* end confdefs.h. */
27176 #ifdef HAVE_COMPLEX_H
27177 #include <complex.h>
27183 int (*ptr)() = (int (*)())asinhf128;
27192 if ac_fn_c_try_link
"$LINENO"; then :
27193 gcc_cv_math_func_asinhf128
=yes
27195 gcc_cv_math_func_asinhf128
=no
27197 rm -f core conftest.err conftest.
$ac_objext \
27198 conftest
$ac_exeext conftest.
$ac_ext
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27201 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27202 if test $gcc_cv_math_func_asinhf128 = yes; then
27204 cat >>confdefs.h
<<_ACEOF
27205 #define HAVE_ASINHF128 1
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27214 $as_echo_n "checking for atan2f128... " >&6; }
27215 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27216 $as_echo_n "(cached) " >&6
27218 if test x
$gcc_no_link = xyes
; then
27219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27222 /* end confdefs.h. */
27224 #ifdef HAVE_COMPLEX_H
27225 #include <complex.h>
27231 int (*ptr)() = (int (*)())atan2f128;
27240 if ac_fn_c_try_link
"$LINENO"; then :
27241 gcc_cv_math_func_atan2f128
=yes
27243 gcc_cv_math_func_atan2f128
=no
27245 rm -f core conftest.err conftest.
$ac_objext \
27246 conftest
$ac_exeext conftest.
$ac_ext
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27249 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27250 if test $gcc_cv_math_func_atan2f128 = yes; then
27252 cat >>confdefs.h
<<_ACEOF
27253 #define HAVE_ATAN2F128 1
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27262 $as_echo_n "checking for atanf128... " >&6; }
27263 if ${gcc_cv_math_func_atanf128+:} false
; then :
27264 $as_echo_n "(cached) " >&6
27266 if test x
$gcc_no_link = xyes
; then
27267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27270 /* end confdefs.h. */
27272 #ifdef HAVE_COMPLEX_H
27273 #include <complex.h>
27279 int (*ptr)() = (int (*)())atanf128;
27288 if ac_fn_c_try_link
"$LINENO"; then :
27289 gcc_cv_math_func_atanf128
=yes
27291 gcc_cv_math_func_atanf128
=no
27293 rm -f core conftest.err conftest.
$ac_objext \
27294 conftest
$ac_exeext conftest.
$ac_ext
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27297 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27298 if test $gcc_cv_math_func_atanf128 = yes; then
27300 cat >>confdefs.h
<<_ACEOF
27301 #define HAVE_ATANF128 1
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27310 $as_echo_n "checking for atanhf128... " >&6; }
27311 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27312 $as_echo_n "(cached) " >&6
27314 if test x
$gcc_no_link = xyes
; then
27315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27318 /* end confdefs.h. */
27320 #ifdef HAVE_COMPLEX_H
27321 #include <complex.h>
27327 int (*ptr)() = (int (*)())atanhf128;
27336 if ac_fn_c_try_link
"$LINENO"; then :
27337 gcc_cv_math_func_atanhf128
=yes
27339 gcc_cv_math_func_atanhf128
=no
27341 rm -f core conftest.err conftest.
$ac_objext \
27342 conftest
$ac_exeext conftest.
$ac_ext
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27345 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27346 if test $gcc_cv_math_func_atanhf128 = yes; then
27348 cat >>confdefs.h
<<_ACEOF
27349 #define HAVE_ATANHF128 1
27357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27358 $as_echo_n "checking for cargf128... " >&6; }
27359 if ${gcc_cv_math_func_cargf128+:} false
; then :
27360 $as_echo_n "(cached) " >&6
27362 if test x
$gcc_no_link = xyes
; then
27363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h. */
27368 #ifdef HAVE_COMPLEX_H
27369 #include <complex.h>
27375 int (*ptr)() = (int (*)())cargf128;
27384 if ac_fn_c_try_link
"$LINENO"; then :
27385 gcc_cv_math_func_cargf128
=yes
27387 gcc_cv_math_func_cargf128
=no
27389 rm -f core conftest.err conftest.
$ac_objext \
27390 conftest
$ac_exeext conftest.
$ac_ext
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27393 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27394 if test $gcc_cv_math_func_cargf128 = yes; then
27396 cat >>confdefs.h
<<_ACEOF
27397 #define HAVE_CARGF128 1
27405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27406 $as_echo_n "checking for ceilf128... " >&6; }
27407 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27408 $as_echo_n "(cached) " >&6
27410 if test x
$gcc_no_link = xyes
; then
27411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27414 /* end confdefs.h. */
27416 #ifdef HAVE_COMPLEX_H
27417 #include <complex.h>
27423 int (*ptr)() = (int (*)())ceilf128;
27432 if ac_fn_c_try_link
"$LINENO"; then :
27433 gcc_cv_math_func_ceilf128
=yes
27435 gcc_cv_math_func_ceilf128
=no
27437 rm -f core conftest.err conftest.
$ac_objext \
27438 conftest
$ac_exeext conftest.
$ac_ext
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27441 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27442 if test $gcc_cv_math_func_ceilf128 = yes; then
27444 cat >>confdefs.h
<<_ACEOF
27445 #define HAVE_CEILF128 1
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27454 $as_echo_n "checking for copysignf128... " >&6; }
27455 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27456 $as_echo_n "(cached) " >&6
27458 if test x
$gcc_no_link = xyes
; then
27459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27462 /* end confdefs.h. */
27464 #ifdef HAVE_COMPLEX_H
27465 #include <complex.h>
27471 int (*ptr)() = (int (*)())copysignf128;
27480 if ac_fn_c_try_link
"$LINENO"; then :
27481 gcc_cv_math_func_copysignf128
=yes
27483 gcc_cv_math_func_copysignf128
=no
27485 rm -f core conftest.err conftest.
$ac_objext \
27486 conftest
$ac_exeext conftest.
$ac_ext
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27489 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27490 if test $gcc_cv_math_func_copysignf128 = yes; then
27492 cat >>confdefs.h
<<_ACEOF
27493 #define HAVE_COPYSIGNF128 1
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27502 $as_echo_n "checking for cosf128... " >&6; }
27503 if ${gcc_cv_math_func_cosf128+:} false
; then :
27504 $as_echo_n "(cached) " >&6
27506 if test x
$gcc_no_link = xyes
; then
27507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h. */
27512 #ifdef HAVE_COMPLEX_H
27513 #include <complex.h>
27519 int (*ptr)() = (int (*)())cosf128;
27528 if ac_fn_c_try_link
"$LINENO"; then :
27529 gcc_cv_math_func_cosf128
=yes
27531 gcc_cv_math_func_cosf128
=no
27533 rm -f core conftest.err conftest.
$ac_objext \
27534 conftest
$ac_exeext conftest.
$ac_ext
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27537 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27538 if test $gcc_cv_math_func_cosf128 = yes; then
27540 cat >>confdefs.h
<<_ACEOF
27541 #define HAVE_COSF128 1
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27550 $as_echo_n "checking for ccosf128... " >&6; }
27551 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27552 $as_echo_n "(cached) " >&6
27554 if test x
$gcc_no_link = xyes
; then
27555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27558 /* end confdefs.h. */
27560 #ifdef HAVE_COMPLEX_H
27561 #include <complex.h>
27567 int (*ptr)() = (int (*)())ccosf128;
27576 if ac_fn_c_try_link
"$LINENO"; then :
27577 gcc_cv_math_func_ccosf128
=yes
27579 gcc_cv_math_func_ccosf128
=no
27581 rm -f core conftest.err conftest.
$ac_objext \
27582 conftest
$ac_exeext conftest.
$ac_ext
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27585 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27586 if test $gcc_cv_math_func_ccosf128 = yes; then
27588 cat >>confdefs.h
<<_ACEOF
27589 #define HAVE_CCOSF128 1
27597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27598 $as_echo_n "checking for coshf128... " >&6; }
27599 if ${gcc_cv_math_func_coshf128+:} false
; then :
27600 $as_echo_n "(cached) " >&6
27602 if test x
$gcc_no_link = xyes
; then
27603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27606 /* end confdefs.h. */
27608 #ifdef HAVE_COMPLEX_H
27609 #include <complex.h>
27615 int (*ptr)() = (int (*)())coshf128;
27624 if ac_fn_c_try_link
"$LINENO"; then :
27625 gcc_cv_math_func_coshf128
=yes
27627 gcc_cv_math_func_coshf128
=no
27629 rm -f core conftest.err conftest.
$ac_objext \
27630 conftest
$ac_exeext conftest.
$ac_ext
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27633 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27634 if test $gcc_cv_math_func_coshf128 = yes; then
27636 cat >>confdefs.h
<<_ACEOF
27637 #define HAVE_COSHF128 1
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27646 $as_echo_n "checking for ccoshf128... " >&6; }
27647 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27648 $as_echo_n "(cached) " >&6
27650 if test x
$gcc_no_link = xyes
; then
27651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h. */
27656 #ifdef HAVE_COMPLEX_H
27657 #include <complex.h>
27663 int (*ptr)() = (int (*)())ccoshf128;
27672 if ac_fn_c_try_link
"$LINENO"; then :
27673 gcc_cv_math_func_ccoshf128
=yes
27675 gcc_cv_math_func_ccoshf128
=no
27677 rm -f core conftest.err conftest.
$ac_objext \
27678 conftest
$ac_exeext conftest.
$ac_ext
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27681 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27682 if test $gcc_cv_math_func_ccoshf128 = yes; then
27684 cat >>confdefs.h
<<_ACEOF
27685 #define HAVE_CCOSHF128 1
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27694 $as_echo_n "checking for expf128... " >&6; }
27695 if ${gcc_cv_math_func_expf128+:} false
; then :
27696 $as_echo_n "(cached) " >&6
27698 if test x
$gcc_no_link = xyes
; then
27699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27702 /* end confdefs.h. */
27704 #ifdef HAVE_COMPLEX_H
27705 #include <complex.h>
27711 int (*ptr)() = (int (*)())expf128;
27720 if ac_fn_c_try_link
"$LINENO"; then :
27721 gcc_cv_math_func_expf128
=yes
27723 gcc_cv_math_func_expf128
=no
27725 rm -f core conftest.err conftest.
$ac_objext \
27726 conftest
$ac_exeext conftest.
$ac_ext
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27729 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27730 if test $gcc_cv_math_func_expf128 = yes; then
27732 cat >>confdefs.h
<<_ACEOF
27733 #define HAVE_EXPF128 1
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27742 $as_echo_n "checking for cexpf128... " >&6; }
27743 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27744 $as_echo_n "(cached) " >&6
27746 if test x
$gcc_no_link = xyes
; then
27747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27750 /* end confdefs.h. */
27752 #ifdef HAVE_COMPLEX_H
27753 #include <complex.h>
27759 int (*ptr)() = (int (*)())cexpf128;
27768 if ac_fn_c_try_link
"$LINENO"; then :
27769 gcc_cv_math_func_cexpf128
=yes
27771 gcc_cv_math_func_cexpf128
=no
27773 rm -f core conftest.err conftest.
$ac_objext \
27774 conftest
$ac_exeext conftest.
$ac_ext
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27777 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27778 if test $gcc_cv_math_func_cexpf128 = yes; then
27780 cat >>confdefs.h
<<_ACEOF
27781 #define HAVE_CEXPF128 1
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27790 $as_echo_n "checking for fabsf128... " >&6; }
27791 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27792 $as_echo_n "(cached) " >&6
27794 if test x
$gcc_no_link = xyes
; then
27795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27798 /* end confdefs.h. */
27800 #ifdef HAVE_COMPLEX_H
27801 #include <complex.h>
27807 int (*ptr)() = (int (*)())fabsf128;
27816 if ac_fn_c_try_link
"$LINENO"; then :
27817 gcc_cv_math_func_fabsf128
=yes
27819 gcc_cv_math_func_fabsf128
=no
27821 rm -f core conftest.err conftest.
$ac_objext \
27822 conftest
$ac_exeext conftest.
$ac_ext
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27825 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27826 if test $gcc_cv_math_func_fabsf128 = yes; then
27828 cat >>confdefs.h
<<_ACEOF
27829 #define HAVE_FABSF128 1
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27838 $as_echo_n "checking for cabsf128... " >&6; }
27839 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27840 $as_echo_n "(cached) " >&6
27842 if test x
$gcc_no_link = xyes
; then
27843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27846 /* end confdefs.h. */
27848 #ifdef HAVE_COMPLEX_H
27849 #include <complex.h>
27855 int (*ptr)() = (int (*)())cabsf128;
27864 if ac_fn_c_try_link
"$LINENO"; then :
27865 gcc_cv_math_func_cabsf128
=yes
27867 gcc_cv_math_func_cabsf128
=no
27869 rm -f core conftest.err conftest.
$ac_objext \
27870 conftest
$ac_exeext conftest.
$ac_ext
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27873 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27874 if test $gcc_cv_math_func_cabsf128 = yes; then
27876 cat >>confdefs.h
<<_ACEOF
27877 #define HAVE_CABSF128 1
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27886 $as_echo_n "checking for floorf128... " >&6; }
27887 if ${gcc_cv_math_func_floorf128+:} false
; then :
27888 $as_echo_n "(cached) " >&6
27890 if test x
$gcc_no_link = xyes
; then
27891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27894 /* end confdefs.h. */
27896 #ifdef HAVE_COMPLEX_H
27897 #include <complex.h>
27903 int (*ptr)() = (int (*)())floorf128;
27912 if ac_fn_c_try_link
"$LINENO"; then :
27913 gcc_cv_math_func_floorf128
=yes
27915 gcc_cv_math_func_floorf128
=no
27917 rm -f core conftest.err conftest.
$ac_objext \
27918 conftest
$ac_exeext conftest.
$ac_ext
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27921 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27922 if test $gcc_cv_math_func_floorf128 = yes; then
27924 cat >>confdefs.h
<<_ACEOF
27925 #define HAVE_FLOORF128 1
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27934 $as_echo_n "checking for fmaf128... " >&6; }
27935 if ${gcc_cv_math_func_fmaf128+:} false
; then :
27936 $as_echo_n "(cached) " >&6
27938 if test x
$gcc_no_link = xyes
; then
27939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27942 /* end confdefs.h. */
27944 #ifdef HAVE_COMPLEX_H
27945 #include <complex.h>
27951 int (*ptr)() = (int (*)())fmaf128;
27960 if ac_fn_c_try_link
"$LINENO"; then :
27961 gcc_cv_math_func_fmaf128
=yes
27963 gcc_cv_math_func_fmaf128
=no
27965 rm -f core conftest.err conftest.
$ac_objext \
27966 conftest
$ac_exeext conftest.
$ac_ext
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27969 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27970 if test $gcc_cv_math_func_fmaf128 = yes; then
27972 cat >>confdefs.h
<<_ACEOF
27973 #define HAVE_FMAF128 1
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
27982 $as_echo_n "checking for fmodf128... " >&6; }
27983 if ${gcc_cv_math_func_fmodf128+:} false
; then :
27984 $as_echo_n "(cached) " >&6
27986 if test x
$gcc_no_link = xyes
; then
27987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27990 /* end confdefs.h. */
27992 #ifdef HAVE_COMPLEX_H
27993 #include <complex.h>
27999 int (*ptr)() = (int (*)())fmodf128;
28008 if ac_fn_c_try_link
"$LINENO"; then :
28009 gcc_cv_math_func_fmodf128
=yes
28011 gcc_cv_math_func_fmodf128
=no
28013 rm -f core conftest.err conftest.
$ac_objext \
28014 conftest
$ac_exeext conftest.
$ac_ext
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28017 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28018 if test $gcc_cv_math_func_fmodf128 = yes; then
28020 cat >>confdefs.h
<<_ACEOF
28021 #define HAVE_FMODF128 1
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28030 $as_echo_n "checking for frexpf128... " >&6; }
28031 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28032 $as_echo_n "(cached) " >&6
28034 if test x
$gcc_no_link = xyes
; then
28035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28038 /* end confdefs.h. */
28040 #ifdef HAVE_COMPLEX_H
28041 #include <complex.h>
28047 int (*ptr)() = (int (*)())frexpf128;
28056 if ac_fn_c_try_link
"$LINENO"; then :
28057 gcc_cv_math_func_frexpf128
=yes
28059 gcc_cv_math_func_frexpf128
=no
28061 rm -f core conftest.err conftest.
$ac_objext \
28062 conftest
$ac_exeext conftest.
$ac_ext
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28065 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28066 if test $gcc_cv_math_func_frexpf128 = yes; then
28068 cat >>confdefs.h
<<_ACEOF
28069 #define HAVE_FREXPF128 1
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28078 $as_echo_n "checking for hypotf128... " >&6; }
28079 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28080 $as_echo_n "(cached) " >&6
28082 if test x
$gcc_no_link = xyes
; then
28083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h. */
28088 #ifdef HAVE_COMPLEX_H
28089 #include <complex.h>
28095 int (*ptr)() = (int (*)())hypotf128;
28104 if ac_fn_c_try_link
"$LINENO"; then :
28105 gcc_cv_math_func_hypotf128
=yes
28107 gcc_cv_math_func_hypotf128
=no
28109 rm -f core conftest.err conftest.
$ac_objext \
28110 conftest
$ac_exeext conftest.
$ac_ext
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28113 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28114 if test $gcc_cv_math_func_hypotf128 = yes; then
28116 cat >>confdefs.h
<<_ACEOF
28117 #define HAVE_HYPOTF128 1
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28126 $as_echo_n "checking for ldexpf128... " >&6; }
28127 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28128 $as_echo_n "(cached) " >&6
28130 if test x
$gcc_no_link = xyes
; then
28131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28134 /* end confdefs.h. */
28136 #ifdef HAVE_COMPLEX_H
28137 #include <complex.h>
28143 int (*ptr)() = (int (*)())ldexpf128;
28152 if ac_fn_c_try_link
"$LINENO"; then :
28153 gcc_cv_math_func_ldexpf128
=yes
28155 gcc_cv_math_func_ldexpf128
=no
28157 rm -f core conftest.err conftest.
$ac_objext \
28158 conftest
$ac_exeext conftest.
$ac_ext
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28161 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28162 if test $gcc_cv_math_func_ldexpf128 = yes; then
28164 cat >>confdefs.h
<<_ACEOF
28165 #define HAVE_LDEXPF128 1
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28174 $as_echo_n "checking for logf128... " >&6; }
28175 if ${gcc_cv_math_func_logf128+:} false
; then :
28176 $as_echo_n "(cached) " >&6
28178 if test x
$gcc_no_link = xyes
; then
28179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28182 /* end confdefs.h. */
28184 #ifdef HAVE_COMPLEX_H
28185 #include <complex.h>
28191 int (*ptr)() = (int (*)())logf128;
28200 if ac_fn_c_try_link
"$LINENO"; then :
28201 gcc_cv_math_func_logf128
=yes
28203 gcc_cv_math_func_logf128
=no
28205 rm -f core conftest.err conftest.
$ac_objext \
28206 conftest
$ac_exeext conftest.
$ac_ext
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28209 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28210 if test $gcc_cv_math_func_logf128 = yes; then
28212 cat >>confdefs.h
<<_ACEOF
28213 #define HAVE_LOGF128 1
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28222 $as_echo_n "checking for clogf128... " >&6; }
28223 if ${gcc_cv_math_func_clogf128+:} false
; then :
28224 $as_echo_n "(cached) " >&6
28226 if test x
$gcc_no_link = xyes
; then
28227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28230 /* end confdefs.h. */
28232 #ifdef HAVE_COMPLEX_H
28233 #include <complex.h>
28239 int (*ptr)() = (int (*)())clogf128;
28248 if ac_fn_c_try_link
"$LINENO"; then :
28249 gcc_cv_math_func_clogf128
=yes
28251 gcc_cv_math_func_clogf128
=no
28253 rm -f core conftest.err conftest.
$ac_objext \
28254 conftest
$ac_exeext conftest.
$ac_ext
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28257 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28258 if test $gcc_cv_math_func_clogf128 = yes; then
28260 cat >>confdefs.h
<<_ACEOF
28261 #define HAVE_CLOGF128 1
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28270 $as_echo_n "checking for log10f128... " >&6; }
28271 if ${gcc_cv_math_func_log10f128+:} false
; then :
28272 $as_echo_n "(cached) " >&6
28274 if test x
$gcc_no_link = xyes
; then
28275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28278 /* end confdefs.h. */
28280 #ifdef HAVE_COMPLEX_H
28281 #include <complex.h>
28287 int (*ptr)() = (int (*)())log10f128;
28296 if ac_fn_c_try_link
"$LINENO"; then :
28297 gcc_cv_math_func_log10f128
=yes
28299 gcc_cv_math_func_log10f128
=no
28301 rm -f core conftest.err conftest.
$ac_objext \
28302 conftest
$ac_exeext conftest.
$ac_ext
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28305 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28306 if test $gcc_cv_math_func_log10f128 = yes; then
28308 cat >>confdefs.h
<<_ACEOF
28309 #define HAVE_LOG10F128 1
28317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28318 $as_echo_n "checking for clog10f128... " >&6; }
28319 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28320 $as_echo_n "(cached) " >&6
28322 if test x
$gcc_no_link = xyes
; then
28323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28326 /* end confdefs.h. */
28328 #ifdef HAVE_COMPLEX_H
28329 #include <complex.h>
28335 int (*ptr)() = (int (*)())clog10f128;
28344 if ac_fn_c_try_link
"$LINENO"; then :
28345 gcc_cv_math_func_clog10f128
=yes
28347 gcc_cv_math_func_clog10f128
=no
28349 rm -f core conftest.err conftest.
$ac_objext \
28350 conftest
$ac_exeext conftest.
$ac_ext
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28353 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28354 if test $gcc_cv_math_func_clog10f128 = yes; then
28356 cat >>confdefs.h
<<_ACEOF
28357 #define HAVE_CLOG10F128 1
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28366 $as_echo_n "checking for nextafterf128... " >&6; }
28367 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28368 $as_echo_n "(cached) " >&6
28370 if test x
$gcc_no_link = xyes
; then
28371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28374 /* end confdefs.h. */
28376 #ifdef HAVE_COMPLEX_H
28377 #include <complex.h>
28383 int (*ptr)() = (int (*)())nextafterf128;
28392 if ac_fn_c_try_link
"$LINENO"; then :
28393 gcc_cv_math_func_nextafterf128
=yes
28395 gcc_cv_math_func_nextafterf128
=no
28397 rm -f core conftest.err conftest.
$ac_objext \
28398 conftest
$ac_exeext conftest.
$ac_ext
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28401 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28402 if test $gcc_cv_math_func_nextafterf128 = yes; then
28404 cat >>confdefs.h
<<_ACEOF
28405 #define HAVE_NEXTAFTERF128 1
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28414 $as_echo_n "checking for powf128... " >&6; }
28415 if ${gcc_cv_math_func_powf128+:} false
; then :
28416 $as_echo_n "(cached) " >&6
28418 if test x
$gcc_no_link = xyes
; then
28419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h. */
28424 #ifdef HAVE_COMPLEX_H
28425 #include <complex.h>
28431 int (*ptr)() = (int (*)())powf128;
28440 if ac_fn_c_try_link
"$LINENO"; then :
28441 gcc_cv_math_func_powf128
=yes
28443 gcc_cv_math_func_powf128
=no
28445 rm -f core conftest.err conftest.
$ac_objext \
28446 conftest
$ac_exeext conftest.
$ac_ext
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28449 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28450 if test $gcc_cv_math_func_powf128 = yes; then
28452 cat >>confdefs.h
<<_ACEOF
28453 #define HAVE_POWF128 1
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28462 $as_echo_n "checking for cpowf128... " >&6; }
28463 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28464 $as_echo_n "(cached) " >&6
28466 if test x
$gcc_no_link = xyes
; then
28467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28470 /* end confdefs.h. */
28472 #ifdef HAVE_COMPLEX_H
28473 #include <complex.h>
28479 int (*ptr)() = (int (*)())cpowf128;
28488 if ac_fn_c_try_link
"$LINENO"; then :
28489 gcc_cv_math_func_cpowf128
=yes
28491 gcc_cv_math_func_cpowf128
=no
28493 rm -f core conftest.err conftest.
$ac_objext \
28494 conftest
$ac_exeext conftest.
$ac_ext
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28497 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28498 if test $gcc_cv_math_func_cpowf128 = yes; then
28500 cat >>confdefs.h
<<_ACEOF
28501 #define HAVE_CPOWF128 1
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28510 $as_echo_n "checking for roundf128... " >&6; }
28511 if ${gcc_cv_math_func_roundf128+:} false
; then :
28512 $as_echo_n "(cached) " >&6
28514 if test x
$gcc_no_link = xyes
; then
28515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h. */
28520 #ifdef HAVE_COMPLEX_H
28521 #include <complex.h>
28527 int (*ptr)() = (int (*)())roundf128;
28536 if ac_fn_c_try_link
"$LINENO"; then :
28537 gcc_cv_math_func_roundf128
=yes
28539 gcc_cv_math_func_roundf128
=no
28541 rm -f core conftest.err conftest.
$ac_objext \
28542 conftest
$ac_exeext conftest.
$ac_ext
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28545 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28546 if test $gcc_cv_math_func_roundf128 = yes; then
28548 cat >>confdefs.h
<<_ACEOF
28549 #define HAVE_ROUNDF128 1
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28558 $as_echo_n "checking for lroundf128... " >&6; }
28559 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28560 $as_echo_n "(cached) " >&6
28562 if test x
$gcc_no_link = xyes
; then
28563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28566 /* end confdefs.h. */
28568 #ifdef HAVE_COMPLEX_H
28569 #include <complex.h>
28575 int (*ptr)() = (int (*)())lroundf128;
28584 if ac_fn_c_try_link
"$LINENO"; then :
28585 gcc_cv_math_func_lroundf128
=yes
28587 gcc_cv_math_func_lroundf128
=no
28589 rm -f core conftest.err conftest.
$ac_objext \
28590 conftest
$ac_exeext conftest.
$ac_ext
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28593 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28594 if test $gcc_cv_math_func_lroundf128 = yes; then
28596 cat >>confdefs.h
<<_ACEOF
28597 #define HAVE_LROUNDF128 1
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28606 $as_echo_n "checking for llroundf128... " >&6; }
28607 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28608 $as_echo_n "(cached) " >&6
28610 if test x
$gcc_no_link = xyes
; then
28611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28614 /* end confdefs.h. */
28616 #ifdef HAVE_COMPLEX_H
28617 #include <complex.h>
28623 int (*ptr)() = (int (*)())llroundf128;
28632 if ac_fn_c_try_link
"$LINENO"; then :
28633 gcc_cv_math_func_llroundf128
=yes
28635 gcc_cv_math_func_llroundf128
=no
28637 rm -f core conftest.err conftest.
$ac_objext \
28638 conftest
$ac_exeext conftest.
$ac_ext
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28641 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28642 if test $gcc_cv_math_func_llroundf128 = yes; then
28644 cat >>confdefs.h
<<_ACEOF
28645 #define HAVE_LLROUNDF128 1
28653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28654 $as_echo_n "checking for scalbnf128... " >&6; }
28655 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28656 $as_echo_n "(cached) " >&6
28658 if test x
$gcc_no_link = xyes
; then
28659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28662 /* end confdefs.h. */
28664 #ifdef HAVE_COMPLEX_H
28665 #include <complex.h>
28671 int (*ptr)() = (int (*)())scalbnf128;
28680 if ac_fn_c_try_link
"$LINENO"; then :
28681 gcc_cv_math_func_scalbnf128
=yes
28683 gcc_cv_math_func_scalbnf128
=no
28685 rm -f core conftest.err conftest.
$ac_objext \
28686 conftest
$ac_exeext conftest.
$ac_ext
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28689 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28690 if test $gcc_cv_math_func_scalbnf128 = yes; then
28692 cat >>confdefs.h
<<_ACEOF
28693 #define HAVE_SCALBNF128 1
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28702 $as_echo_n "checking for sinf128... " >&6; }
28703 if ${gcc_cv_math_func_sinf128+:} false
; then :
28704 $as_echo_n "(cached) " >&6
28706 if test x
$gcc_no_link = xyes
; then
28707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28710 /* end confdefs.h. */
28712 #ifdef HAVE_COMPLEX_H
28713 #include <complex.h>
28719 int (*ptr)() = (int (*)())sinf128;
28728 if ac_fn_c_try_link
"$LINENO"; then :
28729 gcc_cv_math_func_sinf128
=yes
28731 gcc_cv_math_func_sinf128
=no
28733 rm -f core conftest.err conftest.
$ac_objext \
28734 conftest
$ac_exeext conftest.
$ac_ext
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28737 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28738 if test $gcc_cv_math_func_sinf128 = yes; then
28740 cat >>confdefs.h
<<_ACEOF
28741 #define HAVE_SINF128 1
28749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28750 $as_echo_n "checking for csinf128... " >&6; }
28751 if ${gcc_cv_math_func_csinf128+:} false
; then :
28752 $as_echo_n "(cached) " >&6
28754 if test x
$gcc_no_link = xyes
; then
28755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28758 /* end confdefs.h. */
28760 #ifdef HAVE_COMPLEX_H
28761 #include <complex.h>
28767 int (*ptr)() = (int (*)())csinf128;
28776 if ac_fn_c_try_link
"$LINENO"; then :
28777 gcc_cv_math_func_csinf128
=yes
28779 gcc_cv_math_func_csinf128
=no
28781 rm -f core conftest.err conftest.
$ac_objext \
28782 conftest
$ac_exeext conftest.
$ac_ext
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28785 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28786 if test $gcc_cv_math_func_csinf128 = yes; then
28788 cat >>confdefs.h
<<_ACEOF
28789 #define HAVE_CSINF128 1
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28798 $as_echo_n "checking for sinhf128... " >&6; }
28799 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28800 $as_echo_n "(cached) " >&6
28802 if test x
$gcc_no_link = xyes
; then
28803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28806 /* end confdefs.h. */
28808 #ifdef HAVE_COMPLEX_H
28809 #include <complex.h>
28815 int (*ptr)() = (int (*)())sinhf128;
28824 if ac_fn_c_try_link
"$LINENO"; then :
28825 gcc_cv_math_func_sinhf128
=yes
28827 gcc_cv_math_func_sinhf128
=no
28829 rm -f core conftest.err conftest.
$ac_objext \
28830 conftest
$ac_exeext conftest.
$ac_ext
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28833 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28834 if test $gcc_cv_math_func_sinhf128 = yes; then
28836 cat >>confdefs.h
<<_ACEOF
28837 #define HAVE_SINHF128 1
28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28846 $as_echo_n "checking for csinhf128... " >&6; }
28847 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28848 $as_echo_n "(cached) " >&6
28850 if test x
$gcc_no_link = xyes
; then
28851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28854 /* end confdefs.h. */
28856 #ifdef HAVE_COMPLEX_H
28857 #include <complex.h>
28863 int (*ptr)() = (int (*)())csinhf128;
28872 if ac_fn_c_try_link
"$LINENO"; then :
28873 gcc_cv_math_func_csinhf128
=yes
28875 gcc_cv_math_func_csinhf128
=no
28877 rm -f core conftest.err conftest.
$ac_objext \
28878 conftest
$ac_exeext conftest.
$ac_ext
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28881 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28882 if test $gcc_cv_math_func_csinhf128 = yes; then
28884 cat >>confdefs.h
<<_ACEOF
28885 #define HAVE_CSINHF128 1
28893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28894 $as_echo_n "checking for sqrtf128... " >&6; }
28895 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
28896 $as_echo_n "(cached) " >&6
28898 if test x
$gcc_no_link = xyes
; then
28899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28902 /* end confdefs.h. */
28904 #ifdef HAVE_COMPLEX_H
28905 #include <complex.h>
28911 int (*ptr)() = (int (*)())sqrtf128;
28920 if ac_fn_c_try_link
"$LINENO"; then :
28921 gcc_cv_math_func_sqrtf128
=yes
28923 gcc_cv_math_func_sqrtf128
=no
28925 rm -f core conftest.err conftest.
$ac_objext \
28926 conftest
$ac_exeext conftest.
$ac_ext
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28929 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28930 if test $gcc_cv_math_func_sqrtf128 = yes; then
28932 cat >>confdefs.h
<<_ACEOF
28933 #define HAVE_SQRTF128 1
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28942 $as_echo_n "checking for csqrtf128... " >&6; }
28943 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
28944 $as_echo_n "(cached) " >&6
28946 if test x
$gcc_no_link = xyes
; then
28947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28952 #ifdef HAVE_COMPLEX_H
28953 #include <complex.h>
28959 int (*ptr)() = (int (*)())csqrtf128;
28968 if ac_fn_c_try_link
"$LINENO"; then :
28969 gcc_cv_math_func_csqrtf128
=yes
28971 gcc_cv_math_func_csqrtf128
=no
28973 rm -f core conftest.err conftest.
$ac_objext \
28974 conftest
$ac_exeext conftest.
$ac_ext
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
28977 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
28978 if test $gcc_cv_math_func_csqrtf128 = yes; then
28980 cat >>confdefs.h
<<_ACEOF
28981 #define HAVE_CSQRTF128 1
28989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
28990 $as_echo_n "checking for tanf128... " >&6; }
28991 if ${gcc_cv_math_func_tanf128+:} false
; then :
28992 $as_echo_n "(cached) " >&6
28994 if test x
$gcc_no_link = xyes
; then
28995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28998 /* end confdefs.h. */
29000 #ifdef HAVE_COMPLEX_H
29001 #include <complex.h>
29007 int (*ptr)() = (int (*)())tanf128;
29016 if ac_fn_c_try_link
"$LINENO"; then :
29017 gcc_cv_math_func_tanf128
=yes
29019 gcc_cv_math_func_tanf128
=no
29021 rm -f core conftest.err conftest.
$ac_objext \
29022 conftest
$ac_exeext conftest.
$ac_ext
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29025 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29026 if test $gcc_cv_math_func_tanf128 = yes; then
29028 cat >>confdefs.h
<<_ACEOF
29029 #define HAVE_TANF128 1
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29038 $as_echo_n "checking for ctanf128... " >&6; }
29039 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29040 $as_echo_n "(cached) " >&6
29042 if test x
$gcc_no_link = xyes
; then
29043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29046 /* end confdefs.h. */
29048 #ifdef HAVE_COMPLEX_H
29049 #include <complex.h>
29055 int (*ptr)() = (int (*)())ctanf128;
29064 if ac_fn_c_try_link
"$LINENO"; then :
29065 gcc_cv_math_func_ctanf128
=yes
29067 gcc_cv_math_func_ctanf128
=no
29069 rm -f core conftest.err conftest.
$ac_objext \
29070 conftest
$ac_exeext conftest.
$ac_ext
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29073 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29074 if test $gcc_cv_math_func_ctanf128 = yes; then
29076 cat >>confdefs.h
<<_ACEOF
29077 #define HAVE_CTANF128 1
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29086 $as_echo_n "checking for tanhf128... " >&6; }
29087 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29088 $as_echo_n "(cached) " >&6
29090 if test x
$gcc_no_link = xyes
; then
29091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29094 /* end confdefs.h. */
29096 #ifdef HAVE_COMPLEX_H
29097 #include <complex.h>
29103 int (*ptr)() = (int (*)())tanhf128;
29112 if ac_fn_c_try_link
"$LINENO"; then :
29113 gcc_cv_math_func_tanhf128
=yes
29115 gcc_cv_math_func_tanhf128
=no
29117 rm -f core conftest.err conftest.
$ac_objext \
29118 conftest
$ac_exeext conftest.
$ac_ext
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29121 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29122 if test $gcc_cv_math_func_tanhf128 = yes; then
29124 cat >>confdefs.h
<<_ACEOF
29125 #define HAVE_TANHF128 1
29133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29134 $as_echo_n "checking for ctanhf128... " >&6; }
29135 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29136 $as_echo_n "(cached) " >&6
29138 if test x
$gcc_no_link = xyes
; then
29139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29142 /* end confdefs.h. */
29144 #ifdef HAVE_COMPLEX_H
29145 #include <complex.h>
29151 int (*ptr)() = (int (*)())ctanhf128;
29160 if ac_fn_c_try_link
"$LINENO"; then :
29161 gcc_cv_math_func_ctanhf128
=yes
29163 gcc_cv_math_func_ctanhf128
=no
29165 rm -f core conftest.err conftest.
$ac_objext \
29166 conftest
$ac_exeext conftest.
$ac_ext
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29169 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29170 if test $gcc_cv_math_func_ctanhf128 = yes; then
29172 cat >>confdefs.h
<<_ACEOF
29173 #define HAVE_CTANHF128 1
29181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29182 $as_echo_n "checking for truncf128... " >&6; }
29183 if ${gcc_cv_math_func_truncf128+:} false
; then :
29184 $as_echo_n "(cached) " >&6
29186 if test x
$gcc_no_link = xyes
; then
29187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29192 #ifdef HAVE_COMPLEX_H
29193 #include <complex.h>
29199 int (*ptr)() = (int (*)())truncf128;
29208 if ac_fn_c_try_link
"$LINENO"; then :
29209 gcc_cv_math_func_truncf128
=yes
29211 gcc_cv_math_func_truncf128
=no
29213 rm -f core conftest.err conftest.
$ac_objext \
29214 conftest
$ac_exeext conftest.
$ac_ext
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29217 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29218 if test $gcc_cv_math_func_truncf128 = yes; then
29220 cat >>confdefs.h
<<_ACEOF
29221 #define HAVE_TRUNCF128 1
29229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29230 $as_echo_n "checking for erff128... " >&6; }
29231 if ${gcc_cv_math_func_erff128+:} false
; then :
29232 $as_echo_n "(cached) " >&6
29234 if test x
$gcc_no_link = xyes
; then
29235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29238 /* end confdefs.h. */
29240 #ifdef HAVE_COMPLEX_H
29241 #include <complex.h>
29247 int (*ptr)() = (int (*)())erff128;
29256 if ac_fn_c_try_link
"$LINENO"; then :
29257 gcc_cv_math_func_erff128
=yes
29259 gcc_cv_math_func_erff128
=no
29261 rm -f core conftest.err conftest.
$ac_objext \
29262 conftest
$ac_exeext conftest.
$ac_ext
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29265 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29266 if test $gcc_cv_math_func_erff128 = yes; then
29268 cat >>confdefs.h
<<_ACEOF
29269 #define HAVE_ERFF128 1
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29278 $as_echo_n "checking for erfcf128... " >&6; }
29279 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29280 $as_echo_n "(cached) " >&6
29282 if test x
$gcc_no_link = xyes
; then
29283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29286 /* end confdefs.h. */
29288 #ifdef HAVE_COMPLEX_H
29289 #include <complex.h>
29295 int (*ptr)() = (int (*)())erfcf128;
29304 if ac_fn_c_try_link
"$LINENO"; then :
29305 gcc_cv_math_func_erfcf128
=yes
29307 gcc_cv_math_func_erfcf128
=no
29309 rm -f core conftest.err conftest.
$ac_objext \
29310 conftest
$ac_exeext conftest.
$ac_ext
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29313 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29314 if test $gcc_cv_math_func_erfcf128 = yes; then
29316 cat >>confdefs.h
<<_ACEOF
29317 #define HAVE_ERFCF128 1
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29326 $as_echo_n "checking for j0f128... " >&6; }
29327 if ${gcc_cv_math_func_j0f128+:} false
; then :
29328 $as_echo_n "(cached) " >&6
29330 if test x
$gcc_no_link = xyes
; then
29331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29334 /* end confdefs.h. */
29336 #ifdef HAVE_COMPLEX_H
29337 #include <complex.h>
29343 int (*ptr)() = (int (*)())j0f128;
29352 if ac_fn_c_try_link
"$LINENO"; then :
29353 gcc_cv_math_func_j0f128
=yes
29355 gcc_cv_math_func_j0f128
=no
29357 rm -f core conftest.err conftest.
$ac_objext \
29358 conftest
$ac_exeext conftest.
$ac_ext
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29361 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29362 if test $gcc_cv_math_func_j0f128 = yes; then
29364 cat >>confdefs.h
<<_ACEOF
29365 #define HAVE_J0F128 1
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29374 $as_echo_n "checking for j1f128... " >&6; }
29375 if ${gcc_cv_math_func_j1f128+:} false
; then :
29376 $as_echo_n "(cached) " >&6
29378 if test x
$gcc_no_link = xyes
; then
29379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29382 /* end confdefs.h. */
29384 #ifdef HAVE_COMPLEX_H
29385 #include <complex.h>
29391 int (*ptr)() = (int (*)())j1f128;
29400 if ac_fn_c_try_link
"$LINENO"; then :
29401 gcc_cv_math_func_j1f128
=yes
29403 gcc_cv_math_func_j1f128
=no
29405 rm -f core conftest.err conftest.
$ac_objext \
29406 conftest
$ac_exeext conftest.
$ac_ext
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29409 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29410 if test $gcc_cv_math_func_j1f128 = yes; then
29412 cat >>confdefs.h
<<_ACEOF
29413 #define HAVE_J1F128 1
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29422 $as_echo_n "checking for jnf128... " >&6; }
29423 if ${gcc_cv_math_func_jnf128+:} false
; then :
29424 $as_echo_n "(cached) " >&6
29426 if test x
$gcc_no_link = xyes
; then
29427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29430 /* end confdefs.h. */
29432 #ifdef HAVE_COMPLEX_H
29433 #include <complex.h>
29439 int (*ptr)() = (int (*)())jnf128;
29448 if ac_fn_c_try_link
"$LINENO"; then :
29449 gcc_cv_math_func_jnf128
=yes
29451 gcc_cv_math_func_jnf128
=no
29453 rm -f core conftest.err conftest.
$ac_objext \
29454 conftest
$ac_exeext conftest.
$ac_ext
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29457 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29458 if test $gcc_cv_math_func_jnf128 = yes; then
29460 cat >>confdefs.h
<<_ACEOF
29461 #define HAVE_JNF128 1
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29470 $as_echo_n "checking for y0f128... " >&6; }
29471 if ${gcc_cv_math_func_y0f128+:} false
; then :
29472 $as_echo_n "(cached) " >&6
29474 if test x
$gcc_no_link = xyes
; then
29475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29478 /* end confdefs.h. */
29480 #ifdef HAVE_COMPLEX_H
29481 #include <complex.h>
29487 int (*ptr)() = (int (*)())y0f128;
29496 if ac_fn_c_try_link
"$LINENO"; then :
29497 gcc_cv_math_func_y0f128
=yes
29499 gcc_cv_math_func_y0f128
=no
29501 rm -f core conftest.err conftest.
$ac_objext \
29502 conftest
$ac_exeext conftest.
$ac_ext
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29505 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29506 if test $gcc_cv_math_func_y0f128 = yes; then
29508 cat >>confdefs.h
<<_ACEOF
29509 #define HAVE_Y0F128 1
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29518 $as_echo_n "checking for y1f128... " >&6; }
29519 if ${gcc_cv_math_func_y1f128+:} false
; then :
29520 $as_echo_n "(cached) " >&6
29522 if test x
$gcc_no_link = xyes
; then
29523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29526 /* end confdefs.h. */
29528 #ifdef HAVE_COMPLEX_H
29529 #include <complex.h>
29535 int (*ptr)() = (int (*)())y1f128;
29544 if ac_fn_c_try_link
"$LINENO"; then :
29545 gcc_cv_math_func_y1f128
=yes
29547 gcc_cv_math_func_y1f128
=no
29549 rm -f core conftest.err conftest.
$ac_objext \
29550 conftest
$ac_exeext conftest.
$ac_ext
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29553 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29554 if test $gcc_cv_math_func_y1f128 = yes; then
29556 cat >>confdefs.h
<<_ACEOF
29557 #define HAVE_Y1F128 1
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29566 $as_echo_n "checking for ynf128... " >&6; }
29567 if ${gcc_cv_math_func_ynf128+:} false
; then :
29568 $as_echo_n "(cached) " >&6
29570 if test x
$gcc_no_link = xyes
; then
29571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29574 /* end confdefs.h. */
29576 #ifdef HAVE_COMPLEX_H
29577 #include <complex.h>
29583 int (*ptr)() = (int (*)())ynf128;
29592 if ac_fn_c_try_link
"$LINENO"; then :
29593 gcc_cv_math_func_ynf128
=yes
29595 gcc_cv_math_func_ynf128
=no
29597 rm -f core conftest.err conftest.
$ac_objext \
29598 conftest
$ac_exeext conftest.
$ac_ext
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29601 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29602 if test $gcc_cv_math_func_ynf128 = yes; then
29604 cat >>confdefs.h
<<_ACEOF
29605 #define HAVE_YNF128 1
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29614 $as_echo_n "checking for tgammaf128... " >&6; }
29615 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29616 $as_echo_n "(cached) " >&6
29618 if test x
$gcc_no_link = xyes
; then
29619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29622 /* end confdefs.h. */
29624 #ifdef HAVE_COMPLEX_H
29625 #include <complex.h>
29631 int (*ptr)() = (int (*)())tgammaf128;
29640 if ac_fn_c_try_link
"$LINENO"; then :
29641 gcc_cv_math_func_tgammaf128
=yes
29643 gcc_cv_math_func_tgammaf128
=no
29645 rm -f core conftest.err conftest.
$ac_objext \
29646 conftest
$ac_exeext conftest.
$ac_ext
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29649 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29650 if test $gcc_cv_math_func_tgammaf128 = yes; then
29652 cat >>confdefs.h
<<_ACEOF
29653 #define HAVE_TGAMMAF128 1
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29662 $as_echo_n "checking for lgammaf128... " >&6; }
29663 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29664 $as_echo_n "(cached) " >&6
29666 if test x
$gcc_no_link = xyes
; then
29667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29670 /* end confdefs.h. */
29672 #ifdef HAVE_COMPLEX_H
29673 #include <complex.h>
29679 int (*ptr)() = (int (*)())lgammaf128;
29688 if ac_fn_c_try_link
"$LINENO"; then :
29689 gcc_cv_math_func_lgammaf128
=yes
29691 gcc_cv_math_func_lgammaf128
=no
29693 rm -f core conftest.err conftest.
$ac_objext \
29694 conftest
$ac_exeext conftest.
$ac_ext
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29697 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29698 if test $gcc_cv_math_func_lgammaf128 = yes; then
29700 cat >>confdefs.h
<<_ACEOF
29701 #define HAVE_LGAMMAF128 1
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29711 $as_echo_n "checking for cacosf128... " >&6; }
29712 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29713 $as_echo_n "(cached) " >&6
29715 if test x
$gcc_no_link = xyes
; then
29716 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29719 /* end confdefs.h. */
29721 #ifdef HAVE_COMPLEX_H
29722 #include <complex.h>
29728 int (*ptr)() = (int (*)())cacosf128;
29737 if ac_fn_c_try_link
"$LINENO"; then :
29738 gcc_cv_math_func_cacosf128
=yes
29740 gcc_cv_math_func_cacosf128
=no
29742 rm -f core conftest.err conftest.
$ac_objext \
29743 conftest
$ac_exeext conftest.
$ac_ext
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29746 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29747 if test $gcc_cv_math_func_cacosf128 = yes; then
29749 cat >>confdefs.h
<<_ACEOF
29750 #define HAVE_CACOSF128 1
29758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29759 $as_echo_n "checking for cacoshf128... " >&6; }
29760 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29761 $as_echo_n "(cached) " >&6
29763 if test x
$gcc_no_link = xyes
; then
29764 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29767 /* end confdefs.h. */
29769 #ifdef HAVE_COMPLEX_H
29770 #include <complex.h>
29776 int (*ptr)() = (int (*)())cacoshf128;
29785 if ac_fn_c_try_link
"$LINENO"; then :
29786 gcc_cv_math_func_cacoshf128
=yes
29788 gcc_cv_math_func_cacoshf128
=no
29790 rm -f core conftest.err conftest.
$ac_objext \
29791 conftest
$ac_exeext conftest.
$ac_ext
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29794 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29795 if test $gcc_cv_math_func_cacoshf128 = yes; then
29797 cat >>confdefs.h
<<_ACEOF
29798 #define HAVE_CACOSHF128 1
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29807 $as_echo_n "checking for casinf128... " >&6; }
29808 if ${gcc_cv_math_func_casinf128+:} false
; then :
29809 $as_echo_n "(cached) " >&6
29811 if test x
$gcc_no_link = xyes
; then
29812 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29817 #ifdef HAVE_COMPLEX_H
29818 #include <complex.h>
29824 int (*ptr)() = (int (*)())casinf128;
29833 if ac_fn_c_try_link
"$LINENO"; then :
29834 gcc_cv_math_func_casinf128
=yes
29836 gcc_cv_math_func_casinf128
=no
29838 rm -f core conftest.err conftest.
$ac_objext \
29839 conftest
$ac_exeext conftest.
$ac_ext
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29842 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29843 if test $gcc_cv_math_func_casinf128 = yes; then
29845 cat >>confdefs.h
<<_ACEOF
29846 #define HAVE_CASINF128 1
29854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29855 $as_echo_n "checking for casinhf128... " >&6; }
29856 if ${gcc_cv_math_func_casinhf128+:} false
; then :
29857 $as_echo_n "(cached) " >&6
29859 if test x
$gcc_no_link = xyes
; then
29860 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29863 /* end confdefs.h. */
29865 #ifdef HAVE_COMPLEX_H
29866 #include <complex.h>
29872 int (*ptr)() = (int (*)())casinhf128;
29881 if ac_fn_c_try_link
"$LINENO"; then :
29882 gcc_cv_math_func_casinhf128
=yes
29884 gcc_cv_math_func_casinhf128
=no
29886 rm -f core conftest.err conftest.
$ac_objext \
29887 conftest
$ac_exeext conftest.
$ac_ext
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29890 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29891 if test $gcc_cv_math_func_casinhf128 = yes; then
29893 cat >>confdefs.h
<<_ACEOF
29894 #define HAVE_CASINHF128 1
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29903 $as_echo_n "checking for catanf128... " >&6; }
29904 if ${gcc_cv_math_func_catanf128+:} false
; then :
29905 $as_echo_n "(cached) " >&6
29907 if test x
$gcc_no_link = xyes
; then
29908 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29911 /* end confdefs.h. */
29913 #ifdef HAVE_COMPLEX_H
29914 #include <complex.h>
29920 int (*ptr)() = (int (*)())catanf128;
29929 if ac_fn_c_try_link
"$LINENO"; then :
29930 gcc_cv_math_func_catanf128
=yes
29932 gcc_cv_math_func_catanf128
=no
29934 rm -f core conftest.err conftest.
$ac_objext \
29935 conftest
$ac_exeext conftest.
$ac_ext
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29938 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29939 if test $gcc_cv_math_func_catanf128 = yes; then
29941 cat >>confdefs.h
<<_ACEOF
29942 #define HAVE_CATANF128 1
29950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29951 $as_echo_n "checking for catanhf128... " >&6; }
29952 if ${gcc_cv_math_func_catanhf128+:} false
; then :
29953 $as_echo_n "(cached) " >&6
29955 if test x
$gcc_no_link = xyes
; then
29956 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29959 /* end confdefs.h. */
29961 #ifdef HAVE_COMPLEX_H
29962 #include <complex.h>
29968 int (*ptr)() = (int (*)())catanhf128;
29977 if ac_fn_c_try_link
"$LINENO"; then :
29978 gcc_cv_math_func_catanhf128
=yes
29980 gcc_cv_math_func_catanhf128
=no
29982 rm -f core conftest.err conftest.
$ac_objext \
29983 conftest
$ac_exeext conftest.
$ac_ext
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
29986 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
29987 if test $gcc_cv_math_func_catanhf128 = yes; then
29989 cat >>confdefs.h
<<_ACEOF
29990 #define HAVE_CATANHF128 1
29996 # Check whether the system has a working stat()
29998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
29999 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30000 if ${libgfor_cv_have_working_stat+:} false
; then :
30001 $as_echo_n "(cached) " >&6
30004 if test "$cross_compiling" = yes; then :
30006 case "${target}" in
30007 *mingw
*) libgfor_cv_have_working_stat
=no
;;
30008 *) libgfor_cv_have_working_stat
=yes;;
30011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30012 /* end confdefs.h. */
30015 #include <sys/types.h>
30016 #include <sys/stat.h>
30017 #include <unistd.h>
30022 struct stat st1, st2;
30024 f = fopen ("foo", "w");
30025 g = fopen ("bar", "w");
30026 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30028 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30035 if ac_fn_c_try_run
"$LINENO"; then :
30036 libgfor_cv_have_working_stat
=yes
30038 libgfor_cv_have_working_stat
=no
30040 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30041 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30046 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30047 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30049 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30053 # Check whether __mingw_snprintf() is present
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30056 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30057 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30058 $as_echo_n "(cached) " >&6
30061 if test x
$gcc_no_link = xyes
; then
30062 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30068 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30074 __mingw_snprintf (NULL, 0, "%d\n", 1);
30080 if ac_fn_c_try_link
"$LINENO"; then :
30081 eval "libgfor_cv_have_mingw_snprintf=yes"
30083 eval "libgfor_cv_have_mingw_snprintf=no"
30085 rm -f core conftest.err conftest.
$ac_objext \
30086 conftest
$ac_exeext conftest.
$ac_ext
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30090 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30091 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30093 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30098 have_iec_60559_libc_support
=no
30099 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30100 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30101 have_iec_60559_libc_support
=yes
30104 # Check whether libquadmath should be used
30105 # Check whether --enable-libquadmath-support was given.
30106 if test "${enable_libquadmath_support+set}" = set; then :
30107 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30109 if test "x$have_iec_60559_libc_support" = xyes
; then
30110 ENABLE_LIBQUADMATH_SUPPORT
=default
30112 ENABLE_LIBQUADMATH_SUPPORT
=yes
30116 enable_libquadmath_support
=
30117 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30118 enable_libquadmath_support
=no
30119 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30120 enable_libquadmath_support
=default
30123 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30124 # and have_iec_60559_libc_support.
30132 if test "x$enable_libquadmath_support" != xno
; then
30134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30135 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30136 if ${libgfor_cv_have_float128+:} false
; then :
30137 $as_echo_n "(cached) " >&6
30140 if test x
$gcc_no_link = xyes
; then
30141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30142 /* end confdefs.h. */
30144 _Float128 foo (_Float128 x)
30146 _Complex _Float128 z1, z2;
30152 return (_Float128) z2;
30155 _Float128 bar (_Float128 x)
30157 return x * __builtin_huge_valf128 ();
30160 __float128 baz (__float128 x)
30162 return x * __builtin_huge_valf128 ();
30180 if ac_fn_c_try_compile
"$LINENO"; then :
30182 libgfor_cv_have_float128
=yes
30186 libgfor_cv_have_float128
=no
30189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30191 if test x
$gcc_no_link = xyes
; then
30192 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30195 /* end confdefs.h. */
30197 _Float128 foo (_Float128 x)
30199 _Complex _Float128 z1, z2;
30205 return (_Float128) z2;
30208 _Float128 bar (_Float128 x)
30210 return x * __builtin_huge_valf128 ();
30213 __float128 baz (__float128 x)
30215 return x * __builtin_huge_valf128 ();
30233 if ac_fn_c_try_link
"$LINENO"; then :
30235 libgfor_cv_have_float128
=yes
30239 libgfor_cv_have_float128
=no
30242 rm -f core conftest.err conftest.
$ac_objext \
30243 conftest
$ac_exeext conftest.
$ac_ext
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30247 $as_echo "$libgfor_cv_have_float128" >&6; }
30249 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30254 if test "x$libgfor_cv_have_float128" = xyes
; then
30255 if test "x$USE_IEC_60559" = xyes
; then
30257 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30261 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30264 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30266 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30267 if ${libgfor_cv_have_as_needed+:} false
; then :
30268 $as_echo_n "(cached) " >&6
30271 # Test for native Solaris options first.
30272 # No whitespace after -z to pass it through -Wl.
30273 libgfor_cv_as_needed_option
="-zignore"
30274 libgfor_cv_no_as_needed_option
="-zrecord"
30275 save_LDFLAGS
="$LDFLAGS"
30276 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30277 libgfor_cv_have_as_needed
=no
30279 ac_c_werror_flag
=yes
30280 if test x
$gcc_no_link = xyes
; then
30281 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30294 if ac_fn_c_try_link
"$LINENO"; then :
30295 libgfor_cv_have_as_needed
=yes
30297 libgfor_cv_have_as_needed
=no
30299 rm -f core conftest.err conftest.
$ac_objext \
30300 conftest
$ac_exeext conftest.
$ac_ext
30301 LDFLAGS
="$save_LDFLAGS"
30302 if test "x$libgfor_cv_have_as_needed" = xno
; then
30303 libgfor_cv_as_needed_option
="--as-needed"
30304 libgfor_cv_no_as_needed_option
="--no-as-needed"
30305 save_LDFLAGS
="$LDFLAGS"
30306 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30307 libgfor_cv_have_as_needed
=no
30309 ac_c_werror_flag
=yes
30310 if test x
$gcc_no_link = xyes
; then
30311 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30324 if ac_fn_c_try_link
"$LINENO"; then :
30325 libgfor_cv_have_as_needed
=yes
30327 libgfor_cv_have_as_needed
=no
30329 rm -f core conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30331 LDFLAGS
="$save_LDFLAGS"
30333 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30337 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30339 touch conftest1.
$ac_objext conftest2.
$ac_objext
30340 LQUADMATH
=-lquadmath
30341 $FC -static-libgfortran -### -o conftest \
30342 conftest1.
$ac_objext -lgfortran conftest2.
$ac_objext 2>&1 >/dev
/null \
30343 |
grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30344 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30345 conftest.cmd
>/dev
/null
2>&1; then
30346 LQUADMATH
="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30347 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30348 conftest.cmd
>/dev
/null
2>&1; then
30349 LQUADMATH
="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30350 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30351 conftest.cmd
>/dev
/null
2>&1; then
30352 LQUADMATH
="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30353 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30354 conftest.cmd
>/dev
/null
2>&1; then
30355 LQUADMATH
="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30357 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest conftest.cmd
30359 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30360 if test "x$USE_IEC_60559" = xyes
; then
30361 LIBQUADSPEC
="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30363 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30366 LIBQUADSPEC
="$LQUADMATH"
30368 if test "x$USE_IEC_60559" != xyes
; then
30369 if test -f ..
/libquadmath
/libquadmath.la
; then
30370 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30371 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30372 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30374 LIBQUADLIB
="-lquadmath"
30389 # Check for GNU libc feenableexcept
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30391 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30392 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30393 $as_echo_n "(cached) " >&6
30395 ac_check_lib_save_LIBS
=$LIBS
30397 if test x
$gcc_no_link = xyes
; then
30398 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30401 /* end confdefs.h. */
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30409 char feenableexcept ();
30413 return feenableexcept ();
30418 if ac_fn_c_try_link
"$LINENO"; then :
30419 ac_cv_lib_m_feenableexcept
=yes
30421 ac_cv_lib_m_feenableexcept
=no
30423 rm -f core conftest.err conftest.
$ac_objext \
30424 conftest
$ac_exeext conftest.
$ac_ext
30425 LIBS
=$ac_check_lib_save_LIBS
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30428 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30429 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30430 have_feenableexcept
=yes
30431 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30436 # At least for glibc, clock_gettime is in librt. But don't
30437 # pull that in if it still doesn't give us the function we want. This
30438 # test is copied from libgomp, and modified to not link in -lrt as
30439 # libgfortran calls clock_gettime via a weak reference if it's found
30441 if test "$ac_cv_func_clock_gettime" = no
; then
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30443 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30444 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30445 $as_echo_n "(cached) " >&6
30447 ac_check_lib_save_LIBS
=$LIBS
30449 if test x
$gcc_no_link = xyes
; then
30450 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h. */
30455 /* Override any GCC internal prototype to avoid an error.
30456 Use char because int might match the return type of a GCC
30457 builtin and then its argument prototype would still apply. */
30461 char clock_gettime ();
30465 return clock_gettime ();
30470 if ac_fn_c_try_link
"$LINENO"; then :
30471 ac_cv_lib_rt_clock_gettime
=yes
30473 ac_cv_lib_rt_clock_gettime
=no
30475 rm -f core conftest.err conftest.
$ac_objext \
30476 conftest
$ac_exeext conftest.
$ac_ext
30477 LIBS
=$ac_check_lib_save_LIBS
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30480 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30481 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30483 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30489 # Check for SysV fpsetmask
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30492 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30493 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30494 $as_echo_n "(cached) " >&6
30497 if test x
$gcc_no_link = xyes
; then
30498 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30501 /* end confdefs.h. */
30503 #if HAVE_FLOATINGPOINT_H
30504 # include <floatingpoint.h>
30505 #endif /* HAVE_FLOATINGPOINT_H */
30507 # include <ieeefp.h>
30508 #endif /* HAVE_IEEEFP_H */
30517 if ac_fn_c_try_link
"$LINENO"; then :
30518 eval "libgfor_cv_have_fpsetmask=yes"
30520 eval "libgfor_cv_have_fpsetmask=no"
30522 rm -f core conftest.err conftest.
$ac_objext \
30523 conftest
$ac_exeext conftest.
$ac_ext
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30527 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30528 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30531 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30535 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30542 if test "x$ac_cv_type_fp_except" = xyes
; then :
30544 cat >>confdefs.h
<<_ACEOF
30545 #define HAVE_FP_EXCEPT 1
30550 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30551 #ifdef HAVE_IEEEFP_H
30552 #include <ieeefp.h>
30557 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30559 cat >>confdefs.h
<<_ACEOF
30560 #define HAVE_FP_EXCEPT_T 1
30566 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30567 #ifdef HAVE_IEEEFP_H
30568 #include <ieeefp.h>
30573 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30575 cat >>confdefs.h
<<_ACEOF
30576 #define HAVE_FP_RND 1
30581 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30582 #ifdef HAVE_IEEEFP_H
30583 #include <ieeefp.h>
30588 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30590 cat >>confdefs.h
<<_ACEOF
30591 #define HAVE_FP_RND_T 1
30598 # Check whether we have fpsetsticky or fpresetsticky
30599 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30600 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30601 have_fpsetsticky
=yes
30602 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30606 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30607 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30608 have_fpresetsticky
=yes
30609 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30614 # Check for AIX fp_trap and fp_enable
30615 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30616 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30618 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30622 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30623 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30625 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30630 # Check if _SOFT_FLOAT is defined
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30633 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30634 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30635 $as_echo_n "(cached) " >&6
30637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30638 /* end confdefs.h. */
30654 if ac_fn_c_try_compile
"$LINENO"; then :
30655 ac_cv_defined__SOFT_FLOAT
=yes
30657 ac_cv_defined__SOFT_FLOAT
=no
30659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30662 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30663 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30664 have_soft_float
=yes
30667 # Runs configure.host to set up necessary host-dependent shell variables.
30668 # We then display a message about it, and propagate them through the
30670 .
${srcdir}/configure.
host
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30672 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30674 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30675 FPU_HOST_HEADER
=config
/${fpu_host}.h
30678 # Whether we will build the IEEE modules
30679 if test x
${ieee_support} = xyes
; then
30681 IEEE_SUPPORT_FALSE
='#'
30683 IEEE_SUPPORT_TRUE
='#'
30684 IEEE_SUPPORT_FALSE
=
30689 # Some targets require additional compiler options for IEEE compatibility.
30690 IEEE_FLAGS
="${ieee_flags}"
30693 # Conditionalize the makefile for this target machine.
30695 for f
in ${tmake_file}
30697 if test -f ${srcdir}/config
/$f
30699 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30702 tmake_file
="${tmake_file_}"
30706 # Check for POSIX getpwuid_r
30708 # There are two versions of getpwuid_r, the POSIX one with 5
30709 # arguments, and another one with 4 arguments used by at least HP-UX
30711 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30713 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30714 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30715 $as_echo_n "(cached) " >&6
30718 if test x
$gcc_no_link = xyes
; then
30719 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30725 #include <sys/types.h>
30731 getpwuid_r(0, NULL, NULL, 0, NULL);
30737 if ac_fn_c_try_link
"$LINENO"; then :
30738 libgfor_cv_posix_getpwuid_r
="yes"
30740 libgfor_cv_posix_getpwuid_r
="no"
30742 rm -f core conftest.err conftest.
$ac_objext \
30743 conftest
$ac_exeext conftest.
$ac_ext
30745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30746 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30748 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30750 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30755 # Check out attribute support.
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30758 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30759 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30760 $as_echo_n "(cached) " >&6
30763 save_CFLAGS
="$CFLAGS"
30764 CFLAGS
="$CFLAGS -Werror"
30765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30766 /* end confdefs.h. */
30767 void __attribute__((visibility("hidden"))) foo(void) { }
30776 if ac_fn_c_try_compile
"$LINENO"; then :
30777 libgfor_cv_have_attribute_visibility
=yes
30779 libgfor_cv_have_attribute_visibility
=no
30781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30782 CFLAGS
="$save_CFLAGS"
30784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30785 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30786 if test $libgfor_cv_have_attribute_visibility = yes; then
30788 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30793 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30794 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30795 $as_echo_n "(cached) " >&6
30798 if test x
$gcc_no_link = xyes
; then
30799 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30802 /* end confdefs.h. */
30805 extern void bar(void) __attribute__((alias("foo")));
30814 if ac_fn_c_try_link
"$LINENO"; then :
30815 libgfor_cv_have_attribute_alias
=yes
30817 libgfor_cv_have_attribute_alias
=no
30819 rm -f core conftest.err conftest.
$ac_objext \
30820 conftest
$ac_exeext conftest.
$ac_ext
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30823 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30824 if test $libgfor_cv_have_attribute_alias = yes; then
30826 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30830 # Check out atomic builtins support.
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30833 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30834 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30835 $as_echo_n "(cached) " >&6
30838 if test x
$gcc_no_link = xyes
; then
30839 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30842 /* end confdefs.h. */
30848 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30849 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30854 if ac_fn_c_try_link
"$LINENO"; then :
30855 libgfor_cv_have_atomic_fetch_add
=yes
30857 libgfor_cv_have_atomic_fetch_add
=no
30859 rm -f core conftest.err conftest.
$ac_objext \
30860 conftest
$ac_exeext conftest.
$ac_ext
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30863 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30864 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30866 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30870 # Check out #pragma weak.
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30873 $as_echo_n "checking whether pragma weak works... " >&6; }
30874 if ${libgfor_cv_have_pragma_weak+:} false
; then :
30875 $as_echo_n "(cached) " >&6
30878 gfor_save_CFLAGS
="$CFLAGS"
30879 CFLAGS
="$CFLAGS -Wunknown-pragmas"
30880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30881 /* end confdefs.h. */
30894 if ac_fn_c_try_compile
"$LINENO"; then :
30895 libgfor_cv_have_pragma_weak
=yes
30897 libgfor_cv_have_pragma_weak
=no
30899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30902 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30903 if test $libgfor_cv_have_pragma_weak = yes; then
30905 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30909 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
30911 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30916 # Check out weakref support.
30918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30919 $as_echo_n "checking whether the target supports weakref... " >&6; }
30920 if ${libgfor_cv_have_weakref+:} false
; then :
30921 $as_echo_n "(cached) " >&6
30924 save_CFLAGS
="$CFLAGS"
30925 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
30926 if test x
$gcc_no_link = xyes
; then
30927 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30932 static int mytoto (int) __attribute__((__weakref__("toto")));
30937 return (mytoto != 0);
30942 if ac_fn_c_try_link
"$LINENO"; then :
30943 libgfor_cv_have_weakref
=yes
30945 libgfor_cv_have_weakref
=no
30947 rm -f core conftest.err conftest.
$ac_objext \
30948 conftest
$ac_exeext conftest.
$ac_ext
30949 CFLAGS
="$save_CFLAGS"
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30952 $as_echo "$libgfor_cv_have_weakref" >&6; }
30953 if test $libgfor_cv_have_weakref = yes; then
30955 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30959 # Various other checks on target
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30962 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30963 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
30964 $as_echo_n "(cached) " >&6
30967 if test "$cross_compiling" = yes; then :
30969 case "${target}" in
30970 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
30971 *) libgfor_cv_have_unlink_open_file
=yes;;
30974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30975 /* end confdefs.h. */
30979 #include <unistd.h>
30980 #include <sys/stat.h>
30986 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
30989 if (unlink ("testfile") == -1)
30991 write (fd, "This is a test\n", 15);
30994 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31000 if ac_fn_c_try_run
"$LINENO"; then :
31001 libgfor_cv_have_unlink_open_file
=yes
31003 libgfor_cv_have_unlink_open_file
=no
31005 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31006 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31011 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31012 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
31014 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31018 # Check whether line terminator is LF or CRLF
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31021 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31022 if ${libgfor_cv_have_crlf+:} false
; then :
31023 $as_echo_n "(cached) " >&6
31026 if test "$cross_compiling" = yes; then :
31028 case "${target}" in
31029 *mingw
*) libgfor_cv_have_crlf
=yes ;;
31030 *) libgfor_cv_have_crlf
=no
;;
31033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31034 /* end confdefs.h. */
31036 /* This test program should exit with status 0 if system uses a CRLF as
31037 line terminator, and status 1 otherwise.
31038 Since it is used to check for mingw systems, and should return 0 in any
31039 other case, in case of a failure we will not use CRLF. */
31040 #include <sys/stat.h>
31041 #include <stdlib.h>
31053 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31056 if (write (fd, "\n", 1) < 0)
31061 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31063 bytes = read (fd, buff, 5);
31064 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31071 if ac_fn_c_try_run
"$LINENO"; then :
31072 libgfor_cv_have_crlf
=yes
31074 libgfor_cv_have_crlf
=no
31076 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31077 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31082 $as_echo "$libgfor_cv_have_crlf" >&6; }
31083 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31085 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31089 # Check whether we support AVX extensions
31091 ac_save_CFLAGS
="$CFLAGS"
31093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31094 /* end confdefs.h. */
31096 void _mm256_zeroall (void)
31098 __builtin_ia32_vzeroall ();
31108 if ac_fn_c_try_compile
"$LINENO"; then :
31110 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31114 CFLAGS
="$ac_save_CFLAGS"
31117 # Check whether we support AVX2 extensions
31119 ac_save_CFLAGS
="$CFLAGS"
31120 CFLAGS
="-O2 -mavx2"
31121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31124 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31126 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31128 return __builtin_ia32_andnotsi256 (__X, __Y);
31138 if ac_fn_c_try_compile
"$LINENO"; then :
31140 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31144 CFLAGS
="$ac_save_CFLAGS"
31147 # Check whether we support AVX512f extensions
31149 ac_save_CFLAGS
="$CFLAGS"
31150 CFLAGS
="-O2 -mavx512f"
31151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31152 /* end confdefs.h. */
31154 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31155 __m512d _mm512_add (__m512d a)
31157 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31158 /* For -m64/-mx32 also verify that code will work even if
31159 the target uses call saved zmm16+ and needs to emit
31160 unwind info for them (e.g. on mingw). See PR79127. */
31162 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31174 if ac_fn_c_try_compile
"$LINENO"; then :
31176 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31180 CFLAGS
="$ac_save_CFLAGS"
31183 # Check for FMA3 extensions
31185 ac_save_CFLAGS
="$CFLAGS"
31186 CFLAGS
="-O2 -mfma -mno-fma4"
31187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31188 /* end confdefs.h. */
31190 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31191 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31192 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31194 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31206 if ac_fn_c_try_compile
"$LINENO"; then :
31208 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31212 CFLAGS
="$ac_save_CFLAGS"
31215 # Check for FMA4 extensions
31217 ac_save_CFLAGS
="$CFLAGS"
31218 CFLAGS
="-O2 -mfma4 -mno-fma"
31219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31220 /* end confdefs.h. */
31222 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31223 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31224 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31226 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31238 if ac_fn_c_try_compile
"$LINENO"; then :
31240 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31244 CFLAGS
="$ac_save_CFLAGS"
31247 # Check if AVX128 works
31249 ac_save_CFLAGS
="$CFLAGS"
31250 CFLAGS
="-O2 -mavx -mprefer-avx128"
31251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31252 /* end confdefs.h. */
31265 if ac_fn_c_try_compile
"$LINENO"; then :
31267 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31271 HAVE_AVX128_FALSE
='#'
31273 HAVE_AVX128_TRUE
='#'
31280 HAVE_AVX128_FALSE
='#'
31282 HAVE_AVX128_TRUE
='#'
31287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31288 CFLAGS
="$ac_save_CFLAGS"
31291 # Determine what GCC version number to use in filesystem paths.
31293 get_gcc_base_ver
="cat"
31295 # Check whether --with-gcc-major-version-only was given.
31296 if test "${with_gcc_major_version_only+set}" = set; then :
31297 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31298 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31306 cat >confcache
<<\_ACEOF
31307 # This file is a shell script that caches the results of configure
31308 # tests run on this system so they can be shared between configure
31309 # scripts and configure runs, see configure's option --config-cache.
31310 # It is not useful on other systems. If it contains results you don't
31311 # want to keep, you may remove or edit it.
31313 # config.status only pays attention to the cache file if you give it
31314 # the --recheck option to rerun configure.
31316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31318 # following values.
31322 # The following way of writing the cache mishandles newlines in values,
31323 # but we know of no workaround that is simple, portable, and efficient.
31324 # So, we kill variables containing newlines.
31325 # Ultrix sh set writes to stderr and can't be redirected directly,
31326 # and sets the high bit in the cache file unless we assign to the vars.
31328 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31329 eval ac_val
=\$
$ac_var
31333 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31337 _ | IFS | as_nl
) ;; #(
31338 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31339 *) { eval $ac_var=; unset $ac_var;} ;;
31345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31346 *${as_nl}ac_space
=\
*)
31347 # `set' does not quote correctly, so add quotes: double-quote
31348 # substitution turns \\\\ into \\, and sed turns \\ into \.
31351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31354 # `set' quotes correctly as required by POSIX, so do not add quotes.
31355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31368 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31369 if test -w "$cache_file"; then
31370 if test "x$cache_file" != "x/dev/null"; then
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31372 $as_echo "$as_me: updating cache $cache_file" >&6;}
31373 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31374 cat confcache
>"$cache_file"
31376 case $cache_file in #(
31378 mv -f confcache
"$cache_file"$$
&&
31379 mv -f "$cache_file"$$
"$cache_file" ;; #(
31381 mv -f confcache
"$cache_file" ;;
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31387 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31392 if test ${multilib} = yes; then
31393 multilib_arg
="--enable-multilib"
31398 # Write our Makefile and spec file.
31399 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31401 cat >confcache
<<\_ACEOF
31402 # This file is a shell script that caches the results of configure
31403 # tests run on this system so they can be shared between configure
31404 # scripts and configure runs, see configure's option --config-cache.
31405 # It is not useful on other systems. If it contains results you don't
31406 # want to keep, you may remove or edit it.
31408 # config.status only pays attention to the cache file if you give it
31409 # the --recheck option to rerun configure.
31411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31413 # following values.
31417 # The following way of writing the cache mishandles newlines in values,
31418 # but we know of no workaround that is simple, portable, and efficient.
31419 # So, we kill variables containing newlines.
31420 # Ultrix sh set writes to stderr and can't be redirected directly,
31421 # and sets the high bit in the cache file unless we assign to the vars.
31423 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31424 eval ac_val
=\$
$ac_var
31428 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31429 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31432 _ | IFS | as_nl
) ;; #(
31433 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31434 *) { eval $ac_var=; unset $ac_var;} ;;
31440 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31441 *${as_nl}ac_space
=\
*)
31442 # `set' does not quote correctly, so add quotes: double-quote
31443 # substitution turns \\\\ into \\, and sed turns \\ into \.
31446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31449 # `set' quotes correctly as required by POSIX, so do not add quotes.
31450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31461 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31463 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31464 if test -w "$cache_file"; then
31465 if test "x$cache_file" != "x/dev/null"; then
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31467 $as_echo "$as_me: updating cache $cache_file" >&6;}
31468 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31469 cat confcache
>"$cache_file"
31471 case $cache_file in #(
31473 mv -f confcache
"$cache_file"$$
&&
31474 mv -f "$cache_file"$$
"$cache_file" ;; #(
31476 mv -f confcache
"$cache_file" ;;
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31487 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31488 # Let make expand exec_prefix.
31489 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31491 DEFS
=-DHAVE_CONFIG_H
31496 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31497 # 1. Remove the extension, and $U if already installed.
31498 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31499 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31501 # will be set to the directory where LIBOBJS objects are built.
31502 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31503 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31505 LIBOBJS
=$ac_libobjs
31507 LTLIBOBJS
=$ac_ltlibobjs
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31511 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31512 if test -n "$am_sleep_pid"; then
31513 # Hide warnings about reused PIDs.
31514 wait $am_sleep_pid 2>/dev
/null
31516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31517 $as_echo "done" >&6; }
31518 if test -n "$EXEEXT"; then
31520 am__EXEEXT_FALSE
='#'
31522 am__EXEEXT_TRUE
='#'
31526 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31527 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31530 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31531 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31535 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31538 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31539 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31542 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31543 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31546 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31547 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31550 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31551 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31554 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31555 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31558 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31559 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31562 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31563 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31566 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31567 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31570 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31571 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31574 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31575 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31579 : "${CONFIG_STATUS=./config.status}"
31581 ac_clean_files_save
=$ac_clean_files
31582 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31588 # Generated by $as_me.
31589 # Run this file to recreate the current configuration.
31590 # Compiler output produced by configure, useful for debugging
31591 # configure, is in config.log if it exists.
31594 ac_cs_recheck=false
31597 SHELL=\${CONFIG_SHELL-$SHELL}
31600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31601 ## -------------------- ##
31602 ## M4sh Initialization. ##
31603 ## -------------------- ##
31605 # Be more Bourne compatible
31606 DUALCASE
=1; export DUALCASE
# for MKS sh
31607 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31611 # is contrary to our usage. Disable this feature.
31612 alias -g '${1+"$@"}'='"$@"'
31613 setopt NO_GLOB_SUBST
31615 case `(set -o) 2>/dev/null` in #(
31627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31628 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31631 # Prefer a ksh shell builtin over an external printf program on Solaris,
31632 # but without wasting forks for bash or zsh.
31633 if test -z "$BASH_VERSION$ZSH_VERSION" \
31634 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31635 as_echo='print
-r --'
31636 as_echo_n='print
-rn --'
31637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31638 as_echo='printf %s
\n'
31639 as_echo_n='printf %s
'
31641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31642 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31643 as_echo_n='/usr
/ucb
/echo -n'
31645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31646 as_echo_n_body='eval
31650 expr "X$arg" : "X\\(.*\\)$as_nl";
31651 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31653 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31655 export as_echo_n_body
31656 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31658 export as_echo_body
31659 as_echo='sh
-c $as_echo_body as_echo
'
31662 # The user is always right.
31663 if test "${PATH_SEPARATOR+set}" != set; then
31665 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31666 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31673 # We need space, tab and new line, in precisely that order. Quoting is
31674 # there to prevent editors from complaining about space-tab.
31675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31676 # splitting by setting IFS to empty value.)
31679 # Find who we are. Look in the path if we contain no directory separator.
31682 *[\\/]* ) as_myself=$0 ;;
31683 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31684 for as_dir in $PATH
31687 test -z "$as_dir" && as_dir=.
31688 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31694 # We did not find ourselves, most probably we were run as `sh COMMAND'
31695 # in which case we are not to be found in the path.
31696 if test "x$as_myself" = x
; then
31699 if test ! -f "$as_myself"; then
31700 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31704 # Unset variables that we do not need and which cause bugs (e.g. in
31705 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31706 # suppresses any "Segmentation fault" message there. '((' could
31707 # trigger a bug in pdksh 5.2.14.
31708 for as_var
in BASH_ENV ENV MAIL MAILPATH
31709 do eval test x\
${$as_var+set} = xset \
31710 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31723 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31727 # ----------------------------------------
31728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31730 # script with STATUS, using 1 if that was 0.
31733 as_status
=$1; test $as_status -eq 0 && as_status
=1
31735 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31736 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31738 $as_echo "$as_me: error: $2" >&2
31739 as_fn_exit
$as_status
31743 # as_fn_set_status STATUS
31744 # -----------------------
31745 # Set $? to STATUS, without forking.
31746 as_fn_set_status
()
31749 } # as_fn_set_status
31751 # as_fn_exit STATUS
31752 # -----------------
31753 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31757 as_fn_set_status
$1
31763 # Portably unset VAR.
31766 { eval $1=; unset $1;}
31768 as_unset
=as_fn_unset
31769 # as_fn_append VAR VALUE
31770 # ----------------------
31771 # Append the text in VALUE to the end of the definition contained in VAR. Take
31772 # advantage of any shell optimizations that allow amortized linear growth over
31773 # repeated appends, instead of the typical quadratic growth present in naive
31775 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31776 eval 'as_fn_append ()
31787 # as_fn_arith ARG...
31788 # ------------------
31789 # Perform arithmetic evaluation on the ARGs, and store the result in the
31790 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31791 # must be portable across $(()) and expr.
31792 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31793 eval 'as_fn_arith ()
31800 as_val
=`expr "$@" || test $? -eq 1`
31805 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31806 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31812 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31813 as_basename
=basename
31818 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31824 as_me
=`$as_basename -- "$0" ||
31825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31826 X"$0" : 'X\(//\)$' \| \
31827 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31829 sed '/^.*\/\([^/][^/]*\)\/*$/{
31843 # Avoid depending upon Character Ranges.
31844 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31845 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31846 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31847 as_cr_digits
='0123456789'
31848 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31850 ECHO_C
= ECHO_N
= ECHO_T
=
31851 case `echo -n x` in #(((((
31853 case `echo 'xy\c'` in
31854 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31856 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
31863 rm -f conf$$ conf$$.exe conf$$.
file
31864 if test -d conf$$.dir
; then
31865 rm -f conf$$.dir
/conf$$.
file
31868 mkdir conf$$.dir
2>/dev
/null
31870 if (echo >conf$$.
file) 2>/dev
/null
; then
31871 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31873 # ... but there are two gotchas:
31874 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31875 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31876 # In both cases, we have to default to `cp -pR'.
31877 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31879 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31887 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31888 rmdir conf$$.dir
2>/dev
/null
31893 # Create "$as_dir" as a directory, including parents if necessary.
31898 -*) as_dir
=.
/$as_dir;;
31900 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
31904 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31905 *) as_qdir
=$as_dir;;
31907 as_dirs
="'$as_qdir' $as_dirs"
31908 as_dir
=`$as_dirname -- "$as_dir" ||
31909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31910 X"$as_dir" : 'X\(//\)[^/]' \| \
31911 X"$as_dir" : 'X\(//\)$' \| \
31912 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31913 $as_echo X"$as_dir" |
31914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31918 /^X\(\/\/\)[^/].*/{
31931 test -d "$as_dir" && break
31933 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31934 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
31938 if mkdir
-p .
2>/dev
/null
; then
31939 as_mkdir_p
='mkdir -p "$as_dir"'
31941 test -d .
/-p && rmdir .
/-p
31946 # as_fn_executable_p FILE
31947 # -----------------------
31948 # Test if FILE is an executable regular file.
31949 as_fn_executable_p
()
31951 test -f "$1" && test -x "$1"
31952 } # as_fn_executable_p
31953 as_test_x
='test -x'
31954 as_executable_p
=as_fn_executable_p
31956 # Sed expression to map a string onto a valid CPP name.
31957 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31959 # Sed expression to map a string onto a valid variable name.
31960 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31964 ## ----------------------------------- ##
31965 ## Main body of $CONFIG_STATUS script. ##
31966 ## ----------------------------------- ##
31968 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
31970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31971 # Save the log message, to keep $0 and so on meaningful, and to
31972 # report actual input values of CONFIG_FILES etc. instead of their
31973 # values after options handling.
31975 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31976 generated by GNU Autoconf 2.69. Invocation command line was
31978 CONFIG_FILES = $CONFIG_FILES
31979 CONFIG_HEADERS = $CONFIG_HEADERS
31980 CONFIG_LINKS = $CONFIG_LINKS
31981 CONFIG_COMMANDS = $CONFIG_COMMANDS
31984 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31989 case $ac_config_files in *"
31990 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
31993 case $ac_config_headers in *"
31994 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
31998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31999 # Files that config.status was made for.
32000 config_files="$ac_config_files"
32001 config_headers="$ac_config_headers"
32002 config_commands="$ac_config_commands"
32006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32008 \`$as_me' instantiates files and other configuration actions
32009 from templates according to the current configuration. Unless the files
32010 and actions are specified as TAGs, all are instantiated by default.
32012 Usage: $0 [OPTION]... [TAG]...
32014 -h, --help print this help, then exit
32015 -V, --version print version number and configuration settings, then exit
32016 --config print configuration, then exit
32017 -q, --quiet, --silent
32018 do not print progress messages
32019 -d, --debug don't remove temporary files
32020 --recheck update $as_me by reconfiguring in the same conditions
32021 --file=FILE[:TEMPLATE]
32022 instantiate the configuration file FILE
32023 --header=FILE[:TEMPLATE]
32024 instantiate the configuration header FILE
32026 Configuration files:
32029 Configuration headers:
32032 Configuration commands:
32035 Report bugs to the package provider.
32036 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32037 General help using GNU software: <http://www.gnu.org/gethelp/>."
32040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32041 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32043 GNU Fortran Runtime Library config.status 0.3
32044 configured by $0, generated by GNU Autoconf 2.69,
32045 with options \\"\$ac_cs_config\\"
32047 Copyright (C) 2012 Free Software Foundation, Inc.
32048 This config.status script is free software; the Free Software Foundation
32049 gives unlimited permission to copy, distribute and modify it."
32056 test -n "\$AWK" || AWK=awk
32059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32060 # The default lists apply if the user does not specify any file.
32066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32067 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32071 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32083 # Handling of the options.
32084 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32086 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32087 $as_echo "$ac_cs_version"; exit ;;
32088 --config |
--confi |
--conf |
--con |
--co |
--c )
32089 $as_echo "$ac_cs_config"; exit ;;
32090 --debug |
--debu |
--deb |
--de |
--d |
-d )
32092 --file |
--fil |
--fi |
--f )
32095 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32096 '') as_fn_error $?
"missing file argument" ;;
32098 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32099 ac_need_defaults
=false
;;
32100 --header |
--heade |
--head |
--hea )
32103 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32105 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32106 ac_need_defaults
=false
;;
32108 # Conflict between --help and --header
32109 as_fn_error $?
"ambiguous option: \`$1'
32110 Try \`$0 --help' for more information.";;
32111 --help |
--hel |
-h )
32112 $as_echo "$ac_cs_usage"; exit ;;
32113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32114 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32117 # This is an error.
32118 -*) as_fn_error $?
"unrecognized option: \`$1'
32119 Try \`$0 --help' for more information." ;;
32121 *) as_fn_append ac_config_targets
" $1"
32122 ac_need_defaults
=false
;;
32128 ac_configure_extra_args
=
32130 if $ac_cs_silent; then
32132 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32137 if \$ac_cs_recheck; then
32138 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32140 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32141 CONFIG_SHELL='$SHELL'
32142 export CONFIG_SHELL
32147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32151 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32152 ## Running $as_me. ##
32158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32166 with_multisubdir="$with_multisubdir"
32167 with_multisrctop="$with_multisrctop"
32168 with_target_subdir="$with_target_subdir"
32169 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32170 multi_basedir="$multi_basedir"
32171 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32174 GFORTRAN="$GFORTRAN"
32176 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32179 # The HP-UX ksh and POSIX shell print the target directory to stdout
32180 # if CDPATH is set.
32181 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32183 sed_quote_subst='$sed_quote_subst'
32184 double_quote_subst='$double_quote_subst'
32185 delay_variable_subst='$delay_variable_subst'
32186 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32187 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32188 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32189 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32190 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32191 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32192 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32194 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32195 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32196 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32197 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32198 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32199 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32200 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32201 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32202 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32203 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32204 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32205 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32206 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32207 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32208 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32209 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32210 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32211 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32212 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32213 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32214 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32215 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32216 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32217 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32218 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32219 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32220 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32221 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32222 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32223 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32224 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32225 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32226 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32227 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32228 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32229 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32230 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32231 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32232 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32233 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32234 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"`'
32235 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32236 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32237 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32238 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32239 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32240 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32241 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32242 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32243 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32244 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32245 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32246 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32247 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32248 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32249 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32250 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32251 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32252 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32253 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32254 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32255 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32256 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32257 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32258 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32259 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32260 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32261 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32262 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32263 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32264 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32265 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32266 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32267 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32268 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32269 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32270 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32271 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32272 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32273 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32274 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32275 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32276 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32277 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32278 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32279 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32280 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32281 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32282 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32283 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32284 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32285 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32286 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32287 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32288 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32289 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32290 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32291 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32292 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32293 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32294 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32295 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32296 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32297 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32298 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32299 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32300 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32301 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32302 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32303 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32304 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32305 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32306 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32307 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32308 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32309 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32310 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32311 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32312 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32313 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32314 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32315 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32316 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32317 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32318 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32319 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32320 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32321 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32322 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32323 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32324 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32325 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32326 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32327 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32328 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32329 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32330 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32331 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32332 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32333 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32334 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32335 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32336 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32337 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32338 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32339 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32340 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32341 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32342 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32343 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32344 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32345 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32346 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32347 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32348 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32349 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32350 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32351 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32352 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32353 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32354 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32355 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32356 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32357 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32358 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32359 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32360 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32363 LTCFLAGS='$LTCFLAGS'
32364 compiler='$compiler_DEFAULT'
32366 # A function that is used when there is no print builtin or printf.
32367 func_fallback_echo ()
32369 eval 'cat <<_LTECHO_EOF
32374 # Quote evaled strings.
32388 deplibs_check_method \
32397 lt_cv_sys_global_symbol_pipe \
32398 lt_cv_sys_global_symbol_to_cdecl \
32399 lt_cv_sys_global_symbol_to_c_name_address \
32400 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32401 lt_prog_compiler_no_builtin_flag \
32402 lt_prog_compiler_wl \
32403 lt_prog_compiler_pic \
32404 lt_prog_compiler_static \
32405 lt_cv_prog_compiler_c_o \
32413 export_dynamic_flag_spec \
32414 whole_archive_flag_spec \
32415 compiler_needs_object \
32417 allow_undefined_flag \
32418 no_undefined_flag \
32419 hardcode_libdir_flag_spec \
32420 hardcode_libdir_flag_spec_ld \
32421 hardcode_libdir_separator \
32426 variables_saved_for_relink \
32428 library_names_spec \
32430 install_override_mode \
32434 compiler_lib_search_dirs \
32439 compiler_lib_search_path \
32443 lt_prog_compiler_no_builtin_flag_FC \
32444 lt_prog_compiler_wl_FC \
32445 lt_prog_compiler_pic_FC \
32446 lt_prog_compiler_static_FC \
32447 lt_cv_prog_compiler_c_o_FC \
32448 export_dynamic_flag_spec_FC \
32449 whole_archive_flag_spec_FC \
32450 compiler_needs_object_FC \
32452 allow_undefined_flag_FC \
32453 no_undefined_flag_FC \
32454 hardcode_libdir_flag_spec_FC \
32455 hardcode_libdir_flag_spec_ld_FC \
32456 hardcode_libdir_separator_FC \
32457 fix_srcfile_path_FC \
32458 exclude_expsyms_FC \
32459 include_expsyms_FC \
32460 file_list_spec_FC \
32461 compiler_lib_search_dirs_FC \
32462 predep_objects_FC \
32463 postdep_objects_FC \
32466 compiler_lib_search_path_FC; do
32467 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32468 *[\\\\\\\`\\"\\\$]*)
32469 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32472 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32477 # Double-quote double-evaled strings.
32478 for var in reload_cmds \
32479 old_postinstall_cmds \
32480 old_postuninstall_cmds \
32482 extract_expsyms_cmds \
32483 old_archive_from_new_cmds \
32484 old_archive_from_expsyms_cmds \
32486 archive_expsym_cmds \
32488 module_expsym_cmds \
32489 export_symbols_cmds \
32492 postuninstall_cmds \
32494 sys_lib_search_path_spec \
32495 sys_lib_dlsearch_path_spec \
32497 old_archive_cmds_FC \
32498 old_archive_from_new_cmds_FC \
32499 old_archive_from_expsyms_cmds_FC \
32501 archive_expsym_cmds_FC \
32503 module_expsym_cmds_FC \
32504 export_symbols_cmds_FC \
32505 prelink_cmds_FC; do
32506 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32507 *[\\\\\\\`\\"\\\$]*)
32508 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32511 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32516 ac_aux_dir='$ac_aux_dir'
32517 xsi_shell='$xsi_shell'
32518 lt_shell_append='$lt_shell_append'
32520 # See if we are running on zsh, and set the options which allow our
32521 # commands through without removal of \ escapes INIT.
32522 if test -n "\${ZSH_VERSION+set}" ; then
32523 setopt NO_GLOB_SUBST
32529 TIMESTAMP='$TIMESTAMP'
32540 acx_cv_header_stdint="$acx_cv_header_stdint"
32541 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32542 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32543 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32544 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32545 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32546 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32547 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32548 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32549 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32550 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32551 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32552 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32553 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32560 # Handling of arguments.
32561 for ac_config_target
in $ac_config_targets
32563 case $ac_config_target in
32564 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32565 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32566 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32567 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32568 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32569 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32570 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32572 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32577 # If the user did not use the arguments to specify the items to instantiate,
32578 # then the envvar interface is used. Set only those that are not.
32579 # We use the long form for the default assignment because of an extremely
32580 # bizarre bug on SunOS 4.1.3.
32581 if $ac_need_defaults; then
32582 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32583 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32584 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32587 # Have a temporary directory for convenience. Make it in the build tree
32588 # simply because there is no reason against having it here, and in addition,
32589 # creating and moving files from /tmp can sometimes cause problems.
32590 # Hook for its removal unless debugging.
32591 # Note that there is a small window in which the directory will not be cleaned:
32592 # after its creation but before its name has been assigned to `$tmp'.
32596 trap 'exit_status=$?
32597 : "${ac_tmp:=$tmp}"
32598 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32600 trap 'as_fn_exit 1' 1 2 13 15
32602 # Create a (secure) tmp directory for tmp files.
32605 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32609 tmp
=.
/conf$$
-$RANDOM
32610 (umask 077 && mkdir
"$tmp")
32611 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32614 # Set up the scripts for CONFIG_FILES section.
32615 # No need to generate them if there are no CONFIG_FILES.
32616 # This happens for instance with `./config.status config.h'.
32617 if test -n "$CONFIG_FILES"; then
32620 ac_cr
=`echo X | tr X '\015'`
32621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32622 # But we know of no other shell where ac_cr would be empty at this
32623 # point, so we can use a bashism as a fallback.
32624 if test "x$ac_cr" = x
; then
32625 eval ac_cr
=\$
\'\\r
\'
32627 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32631 ac_cs_awk_cr
=$ac_cr
32634 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32639 echo "cat >conf$$subs.awk <<_ACEOF" &&
32640 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32642 } >conf$$subs.sh ||
32643 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32646 for ac_last_try in false false false false false :; do
32647 . ./conf$$subs.sh ||
32648 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32650 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32651 if test $ac_delim_n = $ac_delim_num; then
32653 elif $ac_last_try; then
32654 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32656 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32659 rm -f conf$$subs.sh
32661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32662 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32666 s/^/S["/; s
/!.
*/"]=/
32676 s/\(.\{148\}\)..*/\1/
32678 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32683 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32690 s/\(.\{148\}\)..*/\1/
32692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32696 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32701 ' <conf$$subs.awk | sed '
32706 ' >>$CONFIG_STATUS || ac_write_fail=1
32707 rm -f conf$$subs.awk
32708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32710 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32711 for (key in S) S_is_set[key] = 1
32717 nfields = split(line, field, "@
")
32719 len = length(field[1])
32720 for (i = 2; i < nfields; i++) {
32722 keylen = length(key)
32723 if (S_is_set[key]) {
32725 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32726 len += length(value) + length(field[++i])
32737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32738 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32739 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32742 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32743 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32746 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32747 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32748 # trailing colons and then remove the whole line if VPATH becomes empty
32749 # (actually we leave an empty line to preserve line numbers).
32750 if test "x
$srcdir" = x.; then
32751 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32770 fi # test -n "$CONFIG_FILES"
32772 # Set up the scripts for CONFIG_HEADERS section.
32773 # No need to generate them if there are no CONFIG_HEADERS.
32774 # This happens for instance with `./config.status Makefile'.
32775 if test -n "$CONFIG_HEADERS"; then
32776 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32780 # Transform confdefs.h into an awk script `defines.awk', embedded as
32781 # here-document in config.status, that substitutes the proper values into
32782 # config.h.in to produce config.h.
32784 # Create a delimiter string that does not exist in confdefs.h, to ease
32785 # handling of long lines.
32787 for ac_last_try in false false :; do
32788 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32789 if test -z "$ac_tt"; then
32791 elif $ac_last_try; then
32792 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32794 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32798 # For the awk script, D is an array of macro values keyed by name,
32799 # likewise P contains macro parameters if any. Preserve backslash
32800 # newline sequences.
32802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32804 s/.\{148\}/&'"$ac_delim"'/g
32807 s/^[ ]*#[ ]*define[ ][ ]*/ /
32814 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32816 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32821 D["\
1"]=" \
3\\\\\\n
"\\/p
32823 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32828 s/.\{148\}/&'"$ac_delim"'/g
32833 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32836 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32838 ' <confdefs.h | sed '
32839 s/'"$ac_delim"'/"\\\
32840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32843 for (key in D) D_is_set[key] = 1
32846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32848 split(line, arg, " ")
32849 if (arg[1] == "#") {
32853 defundef
= substr
(arg
[1], 2)
32856 split(mac1
, mac2
, "(") #)
32858 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32859 if (D_is_set
[macro
]) {
32860 # Preserve the white space surrounding the "#".
32861 print prefix
"define", macro P
[macro
] D
[macro
]
32864 # Replace #undef with comments. This is necessary, for example,
32865 # in the case of _POSIX_SOURCE, which is predefined and required
32866 # on some systems where configure will not decide to define it.
32867 if (defundef
== "undef") {
32868 print
"/*", prefix defundef
, macro
, "*/"
32876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32877 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
32878 fi # test -n "$CONFIG_HEADERS"
32881 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32886 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32888 case $ac_mode$ac_tag in
32890 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
32891 :[FH
]-) ac_tag
=-:-;;
32892 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32909 -) ac_f
="$ac_tmp/stdin";;
32910 *) # Look for the file first in the build tree, then in the source tree
32911 # (if the path is not absolute). The absolute path cannot be DOS-style,
32912 # because $ac_f cannot contain `:'.
32916 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32918 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32920 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32921 as_fn_append ac_file_inputs
" '$ac_f'"
32924 # Let's still pretend it is `configure' which instantiates (i.e., don't
32925 # use $as_me), people would be surprised to read:
32926 # /* config.h. Generated by config.status. */
32927 configure_input
='Generated from '`
32928 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32930 if test x
"$ac_file" != x-
; then
32931 configure_input
="$ac_file. $configure_input"
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32933 $as_echo "$as_me: creating $ac_file" >&6;}
32935 # Neutralize special characters interpreted by sed in replacement strings.
32936 case $configure_input in #(
32937 *\
&* |
*\|
* |
*\\* )
32938 ac_sed_conf_input
=`$as_echo "$configure_input" |
32939 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32940 *) ac_sed_conf_input
=$configure_input;;
32944 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
32945 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
32950 ac_dir
=`$as_dirname -- "$ac_file" ||
32951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32952 X"$ac_file" : 'X\(//\)[^/]' \| \
32953 X"$ac_file" : 'X\(//\)$' \| \
32954 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32955 $as_echo X"$ac_file" |
32956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32960 /^X\(\/\/\)[^/].*/{
32973 as_dir
="$ac_dir"; as_fn_mkdir_p
32977 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32979 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32980 # A ".." for each directory in $ac_dir_suffix.
32981 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32982 case $ac_top_builddir_sub in
32983 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32984 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
32987 ac_abs_top_builddir
=$ac_pwd
32988 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
32989 # for backward compatibility:
32990 ac_top_builddir
=$ac_top_build_prefix
32993 .
) # We are building in place.
32995 ac_top_srcdir
=$ac_top_builddir_sub
32996 ac_abs_top_srcdir
=$ac_pwd ;;
32997 [\\/]* | ?
:[\\/]* ) # Absolute name.
32998 ac_srcdir
=$srcdir$ac_dir_suffix;
32999 ac_top_srcdir
=$srcdir
33000 ac_abs_top_srcdir
=$srcdir ;;
33001 *) # Relative name.
33002 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33003 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33004 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33006 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33016 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33017 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33019 ac_MKDIR_P
=$MKDIR_P
33021 [\\/$
]* | ?
:[\\/]* ) ;;
33022 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
33026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33027 # If the template does not know about datarootdir, expand it.
33028 # FIXME: This hack should be removed a few years after 2.60.
33029 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33041 *datarootdir
*) ac_datarootdir_seen
=yes;;
33042 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33047 ac_datarootdir_hack='
33048 s&@datadir@&$datadir&g
33049 s&@docdir@&$docdir&g
33050 s&@infodir@&$infodir&g
33051 s&@localedir@&$localedir&g
33052 s&@mandir@&$mandir&g
33053 s&\\\${datarootdir}&$datarootdir&g' ;;
33057 # Neutralize VPATH when `$srcdir' = `.'.
33058 # Shell code in configure.ac might set extrasub.
33059 # FIXME: do we really want to maintain this feature?
33060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33061 ac_sed_extra="$ac_vpsub
33064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33066 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33067 s|@configure_input@|
$ac_sed_conf_input|
;t t
33068 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33069 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33070 s
&@srcdir@
&$ac_srcdir&;t t
33071 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33072 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33073 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33074 s
&@builddir@
&$ac_builddir&;t t
33075 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33076 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33077 s
&@INSTALL@
&$ac_INSTALL&;t t
33078 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33079 $ac_datarootdir_hack
33081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33082 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33087 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33089 which seems to be undefined. Please make sure it is defined" >&5
33090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33091 which seems to be undefined. Please make sure it is defined" >&2;}
33093 rm -f "$ac_tmp/stdin"
33095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33104 if test x"$ac_file" != x-; then
33106 $as_echo "/* $configure_input */" \
33107 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33108 } >"$ac_tmp/config.h" \
33109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33110 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33111 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33112 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33115 mv "$ac_tmp/config.h" "$ac_file" \
33116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33119 $as_echo "/* $configure_input */" \
33120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33121 || as_fn_error $? "could not create -" "$LINENO" 5
33123 # Compute "$ac_file"'s index
in $config_headers.
33126 for _am_header
in $config_headers :; do
33127 case $_am_header in
33128 $_am_arg |
$_am_arg:* )
33131 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33134 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33135 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33136 X"$_am_arg" : 'X\(//\)[^/]' \| \
33137 X"$_am_arg" : 'X\(//\)$' \| \
33138 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33139 $as_echo X"$_am_arg" |
33140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33144 /^X\(\/\/\)[^/].*/{
33156 s/.*/./; q'`/stamp-h
$_am_stamp_count
33159 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33160 $as_echo "$as_me: executing $ac_file commands" >&6;}
33165 case $ac_file$ac_mode in
33167 # Only add multilib support code if we just rebuilt the top-level
33169 case " $CONFIG_FILES " in
33171 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33174 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33175 # Older Autoconf quotes --file arguments for eval, but not when files
33176 # are listed without --file. Let's play safe and only enable the eval
33177 # if we detect the quoting.
33178 case $CONFIG_FILES in
33179 *\'*) eval set x
"$CONFIG_FILES" ;;
33180 *) set x
$CONFIG_FILES ;;
33185 # Strip MF so we end up with the name of the file.
33186 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33187 # Check whether this is an Automake generated Makefile or not.
33188 # We used to match only the files named 'Makefile.in', but
33189 # some people rename them; so instead we look at the file content.
33190 # Grep'ing the first line is not enough: some people post-process
33191 # each Makefile.in and add a new line on top of each file to say so.
33192 # Grep'ing the whole file is not good either: AIX grep has a line
33193 # limit of 2048, but all sed's we know have understand at least 4000.
33194 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33195 dirpart
=`$as_dirname -- "$mf" ||
33196 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33197 X"$mf" : 'X\(//\)[^/]' \| \
33198 X"$mf" : 'X\(//\)$' \| \
33199 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33205 /^X\(\/\/\)[^/].*/{
33221 # Extract the definition of DEPDIR, am__include, and am__quote
33222 # from the Makefile without running 'make'.
33223 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33224 test -z "$DEPDIR" && continue
33225 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33226 test -z "$am__include" && continue
33227 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33228 # Find all dependency output files, they are included files with
33229 # $(DEPDIR) in their names. We invoke sed twice because it is the
33230 # simplest approach to changing $(DEPDIR) to its actual value in the
33232 for file in `sed -n "
33233 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33234 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33235 # Make sure the directory exists.
33236 test -f "$dirpart/$file" && continue
33237 fdir
=`$as_dirname -- "$file" ||
33238 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33239 X"$file" : 'X\(//\)[^/]' \| \
33240 X"$file" : 'X\(//\)$' \| \
33241 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33242 $as_echo X"$file" |
33243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33247 /^X\(\/\/\)[^/].*/{
33260 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33261 # echo "creating $dirpart/$file"
33262 echo '# dummy' > "$dirpart/$file"
33269 # See if we are running on zsh, and set the options which allow our
33270 # commands through without removal of \ escapes.
33271 if test -n "${ZSH_VERSION+set}" ; then
33272 setopt NO_GLOB_SUBST
33275 cfgfile
="${ofile}T"
33276 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33279 cat <<_LT_EOF >> "$cfgfile"
33282 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33283 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33284 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33285 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33287 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33288 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33289 # Written by Gordon Matzigkeit, 1996
33291 # This file is part of GNU Libtool.
33293 # GNU Libtool is free software; you can redistribute it and/or
33294 # modify it under the terms of the GNU General Public License as
33295 # published by the Free Software Foundation; either version 2 of
33296 # the License, or (at your option) any later version.
33298 # As a special exception to the GNU General Public License,
33299 # if you distribute this file as part of a program or library that
33300 # is built using GNU Libtool, you may include this file under the
33301 # same distribution terms that you use for the rest of that program.
33303 # GNU Libtool is distributed in the hope that it will be useful,
33304 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33305 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33306 # GNU General Public License for more details.
33308 # You should have received a copy of the GNU General Public License
33309 # along with GNU Libtool; see the file COPYING. If not, a copy
33310 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33311 # obtained by writing to the Free Software Foundation, Inc.,
33312 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33315 # The names of the tagged configurations supported by this script.
33316 available_tags="FC "
33318 # ### BEGIN LIBTOOL CONFIG
33320 # A sed program that does not truncate output.
33323 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33324 Xsed="\$SED -e 1s/^X//"
33326 # A grep program that handles long lines.
33332 # A literal string matcher.
33335 # Shell to use when invoking shell scripts.
33338 # An echo program that protects backslashes.
33341 # Which release of libtool.m4 was used?
33342 macro_version=$macro_version
33343 macro_revision=$macro_revision
33345 # Whether or not to build shared libraries.
33346 build_libtool_libs=$enable_shared
33348 # Whether or not to build static libraries.
33349 build_old_libs=$enable_static
33351 # What type of objects to build.
33354 # Whether or not to optimize for fast installation.
33355 fast_install=$enable_fast_install
33358 host_alias=$host_alias
33362 # The build system.
33363 build_alias=$build_alias
33367 # A BSD- or MS-compatible name lister.
33370 # Whether we need soft or hard links.
33373 # What is the maximum length of a command?
33374 max_cmd_len=$max_cmd_len
33376 # Object file suffix (normally "o").
33379 # Executable file suffix (normally "").
33382 # whether the shell understands "unset".
33385 # turn spaces into newlines.
33388 # turn newlines into spaces.
33391 # An object symbol dumper.
33392 OBJDUMP=$lt_OBJDUMP
33394 # Method to check whether dependent libraries are shared objects.
33395 deplibs_check_method=$lt_deplibs_check_method
33397 # Command to use when deplibs_check_method == "file_magic".
33398 file_magic_cmd=$lt_file_magic_cmd
33402 AR_FLAGS=$lt_AR_FLAGS
33404 # A symbol stripping program.
33407 # Commands used to install an old-style archive.
33409 old_postinstall_cmds=$lt_old_postinstall_cmds
33410 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33412 # Whether to use a lock for old archive extraction.
33413 lock_old_archive_extraction=$lock_old_archive_extraction
33418 # LTCC compiler flags.
33419 LTCFLAGS=$lt_CFLAGS
33421 # Take the output of nm and produce a listing of raw symbols and C names.
33422 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33424 # Transform the output of nm in a proper C declaration.
33425 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33427 # Transform the output of nm in a C name address pair.
33428 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33430 # Transform the output of nm in a C name address pair when lib prefix is needed.
33431 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33433 # The name of the directory that contains temporary libtool files.
33436 # Used to examine libraries when file_magic_cmd begins with "file".
33437 MAGIC_CMD=$MAGIC_CMD
33439 # Must we lock files when doing compilation?
33440 need_locks=$lt_need_locks
33442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33443 DSYMUTIL=$lt_DSYMUTIL
33445 # Tool to change global to local symbols on Mac OS X.
33448 # Tool to manipulate fat objects and archives on Mac OS X.
33451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33455 OTOOL64=$lt_OTOOL64
33457 # Old archive suffix (normally "a").
33460 # Shared library suffix (normally ".so").
33461 shrext_cmds=$lt_shrext_cmds
33463 # The commands to extract the exported symbol list from a shared archive.
33464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33466 # Variables whose values should be saved in libtool wrapper scripts and
33467 # restored at link time.
33468 variables_saved_for_relink=$lt_variables_saved_for_relink
33470 # Do we need the "lib" prefix for modules?
33471 need_lib_prefix=$need_lib_prefix
33473 # Do we need a version for libraries?
33474 need_version=$need_version
33476 # Library versioning type.
33477 version_type=$version_type
33479 # Shared library runtime path variable.
33480 runpath_var=$runpath_var
33482 # Shared library path variable.
33483 shlibpath_var=$shlibpath_var
33485 # Is shlibpath searched before the hard-coded library search path?
33486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33488 # Format of library name prefix.
33489 libname_spec=$lt_libname_spec
33491 # List of archive names. First name is the real one, the rest are links.
33492 # The last name is the one that the linker finds with -lNAME
33493 library_names_spec=$lt_library_names_spec
33495 # The coded name of the library, if different from the real name.
33496 soname_spec=$lt_soname_spec
33498 # Permission mode override for installation of shared libraries.
33499 install_override_mode=$lt_install_override_mode
33501 # Command to use after installation of a shared archive.
33502 postinstall_cmds=$lt_postinstall_cmds
33504 # Command to use after uninstallation of a shared archive.
33505 postuninstall_cmds=$lt_postuninstall_cmds
33507 # Commands used to finish a libtool library installation in a directory.
33508 finish_cmds=$lt_finish_cmds
33510 # As "finish_cmds", except a single script fragment to be evaled but
33512 finish_eval=$lt_finish_eval
33514 # Whether we should hardcode library paths into libraries.
33515 hardcode_into_libs=$hardcode_into_libs
33517 # Compile-time system search path for libraries.
33518 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33520 # Run-time system search path for libraries.
33521 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33523 # Whether dlopen is supported.
33524 dlopen_support=$enable_dlopen
33526 # Whether dlopen of programs is supported.
33527 dlopen_self=$enable_dlopen_self
33529 # Whether dlopen of statically linked programs is supported.
33530 dlopen_self_static=$enable_dlopen_self_static
33532 # Commands to strip libraries.
33533 old_striplib=$lt_old_striplib
33534 striplib=$lt_striplib
33537 # The linker used to build libraries.
33540 # How to create reloadable object files.
33541 reload_flag=$lt_reload_flag
33542 reload_cmds=$lt_reload_cmds
33544 # Commands used to build an old-style archive.
33545 old_archive_cmds=$lt_old_archive_cmds
33547 # A language specific compiler.
33550 # Is the compiler the GNU compiler?
33553 # Compiler flag to turn off builtin functions.
33554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33556 # How to pass a linker flag through the compiler.
33557 wl=$lt_lt_prog_compiler_wl
33559 # Additional compiler flags for building library objects.
33560 pic_flag=$lt_lt_prog_compiler_pic
33562 # Compiler flag to prevent dynamic linking.
33563 link_static_flag=$lt_lt_prog_compiler_static
33565 # Does compiler simultaneously support -c and -o options?
33566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33568 # Whether or not to add -lc for building shared libraries.
33569 build_libtool_need_lc=$archive_cmds_need_lc
33571 # Whether or not to disallow shared libs when runtime libs are static.
33572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33574 # Compiler flag to allow reflexive dlopens.
33575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33577 # Compiler flag to generate shared objects directly from archives.
33578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33580 # Whether the compiler copes with passing no objects directly.
33581 compiler_needs_object=$lt_compiler_needs_object
33583 # Create an old-style archive from a shared archive.
33584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33586 # Create a temporary old-style archive to link instead of a shared archive.
33587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33589 # Commands used to build a shared archive.
33590 archive_cmds=$lt_archive_cmds
33591 archive_expsym_cmds=$lt_archive_expsym_cmds
33593 # Commands used to build a loadable module if different from building
33594 # a shared archive.
33595 module_cmds=$lt_module_cmds
33596 module_expsym_cmds=$lt_module_expsym_cmds
33598 # Whether we are building with GNU ld or not.
33599 with_gnu_ld=$lt_with_gnu_ld
33601 # Flag that allows shared libraries with undefined symbols to be built.
33602 allow_undefined_flag=$lt_allow_undefined_flag
33604 # Flag that enforces no undefined symbols.
33605 no_undefined_flag=$lt_no_undefined_flag
33607 # Flag to hardcode \$libdir into a binary during linking.
33608 # This must work even if \$libdir does not exist
33609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33611 # If ld is used when linking, flag to hardcode \$libdir into a binary
33612 # during linking. This must work even if \$libdir does not exist.
33613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33615 # Whether we need a single "-rpath" flag with a separated argument.
33616 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33619 # DIR into the resulting binary.
33620 hardcode_direct=$hardcode_direct
33622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33623 # DIR into the resulting binary and the resulting library dependency is
33624 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33625 # library is relocated.
33626 hardcode_direct_absolute=$hardcode_direct_absolute
33628 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33629 # into the resulting binary.
33630 hardcode_minus_L=$hardcode_minus_L
33632 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33633 # into the resulting binary.
33634 hardcode_shlibpath_var=$hardcode_shlibpath_var
33636 # Set to "yes" if building a shared library automatically hardcodes DIR
33637 # into the library and all subsequent libraries and executables linked
33639 hardcode_automatic=$hardcode_automatic
33641 # Set to yes if linker adds runtime paths of dependent libraries
33642 # to runtime path list.
33643 inherit_rpath=$inherit_rpath
33645 # Whether libtool must link a program against all its dependency libraries.
33646 link_all_deplibs=$link_all_deplibs
33648 # Fix the shell variable \$srcfile for the compiler.
33649 fix_srcfile_path=$lt_fix_srcfile_path
33651 # Set to "yes" if exported symbols are required.
33652 always_export_symbols=$always_export_symbols
33654 # The commands to list exported symbols.
33655 export_symbols_cmds=$lt_export_symbols_cmds
33657 # Symbols that should not be listed in the preloaded symbols.
33658 exclude_expsyms=$lt_exclude_expsyms
33660 # Symbols that must always be exported.
33661 include_expsyms=$lt_include_expsyms
33663 # Commands necessary for linking programs (against libraries) with templates.
33664 prelink_cmds=$lt_prelink_cmds
33666 # Specify filename containing input files.
33667 file_list_spec=$lt_file_list_spec
33669 # How to hardcode a shared library path into an executable.
33670 hardcode_action=$hardcode_action
33672 # The directories searched by this compiler when creating a shared library.
33673 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33675 # Dependencies to place before and after the objects being linked to
33676 # create a shared library.
33677 predep_objects=$lt_predep_objects
33678 postdep_objects=$lt_postdep_objects
33679 predeps=$lt_predeps
33680 postdeps=$lt_postdeps
33682 # The library search path used internally by the compiler when linking
33683 # a shared library.
33684 compiler_lib_search_path=$lt_compiler_lib_search_path
33686 # ### END LIBTOOL CONFIG
33692 cat <<\_LT_EOF
>> "$cfgfile"
33693 # AIX sometimes has problems with the GCC collect2 program. For some
33694 # reason, if we set the COLLECT_NAMES environment variable, the problems
33695 # vanish in a puff of smoke.
33696 if test "X${COLLECT_NAMES+set}" != Xset
; then
33698 export COLLECT_NAMES
33705 ltmain
="$ac_aux_dir/ltmain.sh"
33708 # We use sed instead of cat because bash on DJGPP gets confused if
33709 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33710 # text mode, it properly converts lines to CR/LF. This bash problem
33711 # is reportedly fixed, but why not run on old versions too?
33712 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33713 ||
(rm -f "$cfgfile"; exit 1)
33717 cat << \_LT_EOF
>> "$cfgfile"
33719 # func_dirname file append nondir_replacement
33720 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33721 # otherwise set result to NONDIR_REPLACEMENT.
33725 */*) func_dirname_result
="${1%/*}${2}" ;;
33726 * ) func_dirname_result
="${3}" ;;
33730 # func_basename file
33733 func_basename_result
="${1##*/}"
33736 # func_dirname_and_basename file append nondir_replacement
33737 # perform func_basename and func_dirname in a single function
33739 # dirname: Compute the dirname of FILE. If nonempty,
33740 # add APPEND to the result, otherwise set result
33741 # to NONDIR_REPLACEMENT.
33742 # value returned in "$func_dirname_result"
33743 # basename: Compute filename of FILE.
33744 # value retuned in "$func_basename_result"
33745 # Implementation must be kept synchronized with func_dirname
33746 # and func_basename. For efficiency, we do not delegate to
33747 # those functions but instead duplicate the functionality here.
33748 func_dirname_and_basename
()
33751 */*) func_dirname_result
="${1%/*}${2}" ;;
33752 * ) func_dirname_result
="${3}" ;;
33754 func_basename_result
="${1##*/}"
33757 # func_stripname prefix suffix name
33758 # strip PREFIX and SUFFIX off of NAME.
33759 # PREFIX and SUFFIX must not contain globbing or regex special
33760 # characters, hashes, percent signs, but SUFFIX may contain a leading
33761 # dot (in which case that matches only a dot).
33764 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33765 # positional parameters, so assign one to ordinary parameter first.
33766 func_stripname_result
=${3}
33767 func_stripname_result
=${func_stripname_result#"${1}"}
33768 func_stripname_result
=${func_stripname_result%"${2}"}
33774 func_opt_split_opt
=${1%%=*}
33775 func_opt_split_arg
=${1#*=}
33782 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33783 *) func_lo2o_result
=${1} ;;
33787 # func_xform libobj-or-source
33790 func_xform_result
=${1%.*}.lo
33793 # func_arith arithmetic-term...
33796 func_arith_result
=$
(( $
* ))
33800 # STRING may not start with a hyphen.
33803 func_len_result
=${#1}
33808 *) # Bourne compatible functions.
33809 cat << \_LT_EOF
>> "$cfgfile"
33811 # func_dirname file append nondir_replacement
33812 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33813 # otherwise set result to NONDIR_REPLACEMENT.
33816 # Extract subdirectory from the argument.
33817 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33818 if test "X$func_dirname_result" = "X${1}"; then
33819 func_dirname_result
="${3}"
33821 func_dirname_result
="$func_dirname_result${2}"
33825 # func_basename file
33828 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33832 # func_stripname prefix suffix name
33833 # strip PREFIX and SUFFIX off of NAME.
33834 # PREFIX and SUFFIX must not contain globbing or regex special
33835 # characters, hashes, percent signs, but SUFFIX may contain a leading
33836 # dot (in which case that matches only a dot).
33837 # func_strip_suffix prefix name
33841 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33842 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33847 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33848 my_sed_long_arg
='1s/^-[^=]*=//'
33853 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33854 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33860 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
33863 # func_xform libobj-or-source
33866 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33869 # func_arith arithmetic-term...
33872 func_arith_result
=`expr "$@"`
33876 # STRING may not start with a hyphen.
33879 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33885 case $lt_shell_append in
33887 cat << \_LT_EOF
>> "$cfgfile"
33889 # func_append var value
33890 # Append VALUE to the end of shell variable VAR.
33898 cat << \_LT_EOF
>> "$cfgfile"
33900 # func_append var value
33901 # Append VALUE to the end of shell variable VAR.
33912 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33913 ||
(rm -f "$cfgfile"; exit 1)
33915 mv -f "$cfgfile" "$ofile" ||
33916 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33920 cat <<_LT_EOF >> "$ofile"
33922 # ### BEGIN LIBTOOL TAG CONFIG: FC
33924 # The linker used to build libraries.
33927 # How to create reloadable object files.
33928 reload_flag=$lt_reload_flag_FC
33929 reload_cmds=$lt_reload_cmds_FC
33931 # Commands used to build an old-style archive.
33932 old_archive_cmds=$lt_old_archive_cmds_FC
33934 # A language specific compiler.
33937 # Is the compiler the GNU compiler?
33940 # Compiler flag to turn off builtin functions.
33941 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33943 # How to pass a linker flag through the compiler.
33944 wl=$lt_lt_prog_compiler_wl_FC
33946 # Additional compiler flags for building library objects.
33947 pic_flag=$lt_lt_prog_compiler_pic_FC
33949 # Compiler flag to prevent dynamic linking.
33950 link_static_flag=$lt_lt_prog_compiler_static_FC
33952 # Does compiler simultaneously support -c and -o options?
33953 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33955 # Whether or not to add -lc for building shared libraries.
33956 build_libtool_need_lc=$archive_cmds_need_lc_FC
33958 # Whether or not to disallow shared libs when runtime libs are static.
33959 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33961 # Compiler flag to allow reflexive dlopens.
33962 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33964 # Compiler flag to generate shared objects directly from archives.
33965 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33967 # Whether the compiler copes with passing no objects directly.
33968 compiler_needs_object=$lt_compiler_needs_object_FC
33970 # Create an old-style archive from a shared archive.
33971 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33973 # Create a temporary old-style archive to link instead of a shared archive.
33974 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33976 # Commands used to build a shared archive.
33977 archive_cmds=$lt_archive_cmds_FC
33978 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
33980 # Commands used to build a loadable module if different from building
33981 # a shared archive.
33982 module_cmds=$lt_module_cmds_FC
33983 module_expsym_cmds=$lt_module_expsym_cmds_FC
33985 # Whether we are building with GNU ld or not.
33986 with_gnu_ld=$lt_with_gnu_ld_FC
33988 # Flag that allows shared libraries with undefined symbols to be built.
33989 allow_undefined_flag=$lt_allow_undefined_flag_FC
33991 # Flag that enforces no undefined symbols.
33992 no_undefined_flag=$lt_no_undefined_flag_FC
33994 # Flag to hardcode \$libdir into a binary during linking.
33995 # This must work even if \$libdir does not exist
33996 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
33998 # If ld is used when linking, flag to hardcode \$libdir into a binary
33999 # during linking. This must work even if \$libdir does not exist.
34000 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34002 # Whether we need a single "-rpath" flag with a separated argument.
34003 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34005 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34006 # DIR into the resulting binary.
34007 hardcode_direct=$hardcode_direct_FC
34009 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34010 # DIR into the resulting binary and the resulting library dependency is
34011 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34012 # library is relocated.
34013 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34015 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34016 # into the resulting binary.
34017 hardcode_minus_L=$hardcode_minus_L_FC
34019 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34020 # into the resulting binary.
34021 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34023 # Set to "yes" if building a shared library automatically hardcodes DIR
34024 # into the library and all subsequent libraries and executables linked
34026 hardcode_automatic=$hardcode_automatic_FC
34028 # Set to yes if linker adds runtime paths of dependent libraries
34029 # to runtime path list.
34030 inherit_rpath=$inherit_rpath_FC
34032 # Whether libtool must link a program against all its dependency libraries.
34033 link_all_deplibs=$link_all_deplibs_FC
34035 # Fix the shell variable \$srcfile for the compiler.
34036 fix_srcfile_path=$lt_fix_srcfile_path_FC
34038 # Set to "yes" if exported symbols are required.
34039 always_export_symbols=$always_export_symbols_FC
34041 # The commands to list exported symbols.
34042 export_symbols_cmds=$lt_export_symbols_cmds_FC
34044 # Symbols that should not be listed in the preloaded symbols.
34045 exclude_expsyms=$lt_exclude_expsyms_FC
34047 # Symbols that must always be exported.
34048 include_expsyms=$lt_include_expsyms_FC
34050 # Commands necessary for linking programs (against libraries) with templates.
34051 prelink_cmds=$lt_prelink_cmds_FC
34053 # Specify filename containing input files.
34054 file_list_spec=$lt_file_list_spec_FC
34056 # How to hardcode a shared library path into an executable.
34057 hardcode_action=$hardcode_action_FC
34059 # The directories searched by this compiler when creating a shared library.
34060 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34062 # Dependencies to place before and after the objects being linked to
34063 # create a shared library.
34064 predep_objects=$lt_predep_objects_FC
34065 postdep_objects=$lt_postdep_objects_FC
34066 predeps=$lt_predeps_FC
34067 postdeps=$lt_postdeps_FC
34069 # The library search path used internally by the compiler when linking
34070 # a shared library.
34071 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34073 # ### END LIBTOOL TAG CONFIG: FC
34078 if test "$GCC" = yes; then
34079 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34081 echo "/* generated for $CC */" > tmp-stdint.h
34084 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34086 #ifndef GCC_GENERATED_STDINT_H
34087 #define GCC_GENERATED_STDINT_H 1
34089 #include <sys/types.h>
34092 if test "$acx_cv_header_stdint" != stdint.h
; then
34093 echo "#include <stddef.h>" >> tmp-stdint.h
34095 if test "$acx_cv_header_stdint" != stddef.h
; then
34096 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34099 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34100 /* glibc uses these symbols as guards to prevent redefinitions. */
34101 #ifdef __int8_t_defined
34106 #ifdef __uint32_t_defined
34112 # ----------------- done header, emit basic int types -------------
34113 if test "$acx_cv_header_stdint" = stddef.h
; then
34114 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34118 #ifndef __uint8_t_defined
34119 #define __uint8_t_defined
34121 typedef unsigned $acx_cv_type_int8_t uint8_t;
34128 #ifndef __uint16_t_defined
34129 #define __uint16_t_defined
34131 typedef unsigned $acx_cv_type_int16_t uint16_t;
34138 #ifndef __uint32_t_defined
34139 #define __uint32_t_defined
34141 typedef unsigned $acx_cv_type_int32_t uint32_t;
34148 #ifndef __int8_t_defined
34149 #define __int8_t_defined
34151 typedef $acx_cv_type_int8_t int8_t;
34158 #ifndef __int16_t_defined
34159 #define __int16_t_defined
34161 typedef $acx_cv_type_int16_t int16_t;
34168 #ifndef __int32_t_defined
34169 #define __int32_t_defined
34171 typedef $acx_cv_type_int32_t int32_t;
34176 elif test "$ac_cv_type_u_int32_t" = yes; then
34177 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34179 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34192 #ifndef __uint8_t_defined
34193 #define __uint8_t_defined
34195 typedef u_int8_t uint8_t;
34202 #ifndef __uint16_t_defined
34203 #define __uint16_t_defined
34205 typedef u_int16_t uint16_t;
34212 #ifndef __uint32_t_defined
34213 #define __uint32_t_defined
34215 typedef u_int32_t uint32_t;
34221 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34223 /* Some systems have guard macros to prevent redefinitions, define them. */
34245 # ------------- done basic int types, emit int64_t types ------------
34246 if test "$ac_cv_type_uint64_t" = yes; then
34247 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34249 /* system headers have good uint64_t and int64_t */
34257 elif test "$ac_cv_type_u_int64_t" = yes; then
34258 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34260 /* system headers have an u_int64_t (and int64_t) */
34266 #ifndef __uint64_t_defined
34267 #define __uint64_t_defined
34269 typedef u_int64_t uint64_t;
34274 elif test -n "$acx_cv_type_int64_t"; then
34275 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34277 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34281 typedef $acx_cv_type_int64_t int64_t;
34286 #ifndef __uint64_t_defined
34287 #define __uint64_t_defined
34289 typedef unsigned $acx_cv_type_int64_t uint64_t;
34295 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34297 /* some common heuristics for int64_t, using compiler-specific tests */
34298 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34301 #ifndef __int64_t_defined
34303 typedef long long int64_t;
34310 typedef unsigned long long uint64_t;
34314 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34315 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34316 does not implement __extension__. But that compiler doesn't define
34318 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34319 # define __extension__
34325 __extension__ typedef long long int64_t;
34331 __extension__ typedef unsigned long long uint64_t;
34335 #elif !defined __STRICT_ANSI__
34336 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34341 typedef __int64 int64_t;
34347 typedef unsigned __int64 uint64_t;
34350 # endif /* compiler */
34352 #endif /* ANSI version */
34356 # ------------- done int64_t types, emit intptr types ------------
34357 if test "$ac_cv_type_uintptr_t" != yes; then
34358 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34360 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34361 #ifndef __uintptr_t_defined
34363 typedef u$acx_cv_type_intptr_t uintptr_t;
34366 #ifndef __intptr_t_defined
34368 typedef $acx_cv_type_intptr_t intptr_t;
34374 # ------------- done intptr types, emit int_least types ------------
34375 if test "$ac_cv_type_int_least32_t" != yes; then
34376 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34378 /* Define int_least types */
34379 typedef int8_t int_least8_t;
34380 typedef int16_t int_least16_t;
34381 typedef int32_t int_least32_t;
34383 typedef int64_t int_least64_t;
34386 typedef uint8_t uint_least8_t;
34387 typedef uint16_t uint_least16_t;
34388 typedef uint32_t uint_least32_t;
34390 typedef uint64_t uint_least64_t;
34395 # ------------- done intptr types, emit int_fast types ------------
34396 if test "$ac_cv_type_int_fast32_t" != yes; then
34397 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34399 /* Define int_fast types. short is often slow */
34400 typedef int8_t int_fast8_t;
34401 typedef int int_fast16_t;
34402 typedef int32_t int_fast32_t;
34404 typedef int64_t int_fast64_t;
34407 typedef uint8_t uint_fast8_t;
34408 typedef unsigned int uint_fast16_t;
34409 typedef uint32_t uint_fast32_t;
34411 typedef uint64_t uint_fast64_t;
34416 if test "$ac_cv_type_uintmax_t" != yes; then
34417 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34419 /* Define intmax based on what we found */
34422 typedef int64_t intmax_t;
34424 typedef long intmax_t;
34429 typedef uint64_t uintmax_t;
34431 typedef unsigned long uintmax_t;
34437 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34439 #endif /* GCC_GENERATED_STDINT_H */
34442 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34445 mv -f tmp-stdint.h gstdint.h
34456 ac_clean_files
=$ac_clean_files_save
34458 test $ac_write_fail = 0 ||
34459 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34462 # configure is writing to config.log, and then calls config.status.
34463 # config.status does its own redirection, appending to config.log.
34464 # Unfortunately, on DOS this fails, as config.log is still kept open
34465 # by configure, so config.status won't be able to write to it; its
34466 # output is simply discarded. So we exec the FD to /dev/null,
34467 # effectively closing config.log, so it can be properly (re)opened and
34468 # appended to by config.status. When coming back to configure, we
34469 # need to make the FD available again.
34470 if test "$no_create" != yes; then
34472 ac_config_status_args
=
34473 test "$silent" = yes &&
34474 ac_config_status_args
="$ac_config_status_args --quiet"
34476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34479 # would make configure fail if this is the last instruction.
34480 $ac_cs_success || as_fn_exit
1
34482 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34484 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}