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
648 LIBGFOR_BUILD_QUAD_FALSE
649 LIBGFOR_BUILD_QUAD_TRUE
654 extra_ldflags_libgfortran
683 LIBGOMP_CHECKED_REAL_KINDS
684 LIBGOMP_CHECKED_INT_KINDS
685 LIBGFOR_MINIMAL_FALSE
687 LIBGFOR_USE_SYMVER_SUN_FALSE
688 LIBGFOR_USE_SYMVER_SUN_TRUE
689 LIBGFOR_USE_SYMVER_GNU_FALSE
690 LIBGFOR_USE_SYMVER_GNU_TRUE
691 LIBGFOR_USE_SYMVER_FALSE
692 LIBGFOR_USE_SYMVER_TRUE
721 MAINTAINER_MODE_FALSE
735 INSTALL_STRIP_PROGRAM
797 program_transform_name
810 enable_option_checking
812 enable_version_specific_runtime_libs
815 enable_maintainer_mode
817 enable_dependency_tracking
828 enable_libquadmath_support
829 with_gcc_major_version_only
831 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
915 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
917 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
920 -build |
--build |
--buil |
--bui |
--bu)
921 ac_prev
=build_alias
;;
922 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
923 build_alias
=$ac_optarg ;;
925 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
926 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
927 ac_prev
=cache_file
;;
928 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
929 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
930 cache_file
=$ac_optarg ;;
933 cache_file
=config.cache
;;
935 -datadir |
--datadir |
--datadi |
--datad)
937 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
938 datadir
=$ac_optarg ;;
940 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
941 |
--dataroo |
--dataro |
--datar)
942 ac_prev
=datarootdir
;;
943 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
944 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
945 datarootdir
=$ac_optarg ;;
947 -disable-* |
--disable-*)
948 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
951 as_fn_error $?
"invalid feature name: $ac_useropt"
952 ac_useropt_orig
=$ac_useropt
953 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep
=', ';;
961 eval enable_
$ac_useropt=no
;;
963 -docdir |
--docdir |
--docdi |
--doc |
--do)
965 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
968 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
970 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
973 -enable-* |
--enable-*)
974 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
977 as_fn_error $?
"invalid feature name: $ac_useropt"
978 ac_useropt_orig
=$ac_useropt
979 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep
=', ';;
987 eval enable_
$ac_useropt=\
$ac_optarg ;;
989 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
990 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
991 |
--exec |
--exe |
--ex)
992 ac_prev
=exec_prefix
;;
993 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
994 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
995 |
--exec=* |
--exe=* |
--ex=*)
996 exec_prefix
=$ac_optarg ;;
998 -gas |
--gas |
--ga |
--g)
999 # Obsolete; use --with-gas.
1002 -help |
--help |
--hel |
--he |
-h)
1003 ac_init_help
=long
;;
1004 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1005 ac_init_help
=recursive
;;
1006 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1007 ac_init_help
=short
;;
1009 -host |
--host |
--hos |
--ho)
1010 ac_prev
=host_alias
;;
1011 -host=* |
--host=* |
--hos=* |
--ho=*)
1012 host_alias
=$ac_optarg ;;
1014 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1016 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1018 htmldir
=$ac_optarg ;;
1020 -includedir |
--includedir |
--includedi |
--included |
--include \
1021 |
--includ |
--inclu |
--incl |
--inc)
1022 ac_prev
=includedir
;;
1023 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1024 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1025 includedir
=$ac_optarg ;;
1027 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1029 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1030 infodir
=$ac_optarg ;;
1032 -libdir |
--libdir |
--libdi |
--libd)
1034 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1035 libdir
=$ac_optarg ;;
1037 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1038 |
--libexe |
--libex |
--libe)
1039 ac_prev
=libexecdir
;;
1040 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1041 |
--libexe=* |
--libex=* |
--libe=*)
1042 libexecdir
=$ac_optarg ;;
1044 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1045 ac_prev
=localedir
;;
1046 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1047 localedir
=$ac_optarg ;;
1049 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1050 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1051 ac_prev
=localstatedir
;;
1052 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1053 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1054 localstatedir
=$ac_optarg ;;
1056 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1058 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1059 mandir
=$ac_optarg ;;
1061 -nfp |
--nfp |
--nf)
1062 # Obsolete; use --without-fp.
1065 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1066 |
--no-cr |
--no-c |
-n)
1069 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1070 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1073 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1074 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1075 |
--oldin |
--oldi |
--old |
--ol |
--o)
1076 ac_prev
=oldincludedir
;;
1077 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1078 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1079 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1080 oldincludedir
=$ac_optarg ;;
1082 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1084 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1085 prefix
=$ac_optarg ;;
1087 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1088 |
--program-pre |
--program-pr |
--program-p)
1089 ac_prev
=program_prefix
;;
1090 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1091 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1092 program_prefix
=$ac_optarg ;;
1094 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1095 |
--program-suf |
--program-su |
--program-s)
1096 ac_prev
=program_suffix
;;
1097 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1098 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1099 program_suffix
=$ac_optarg ;;
1101 -program-transform-name |
--program-transform-name \
1102 |
--program-transform-nam |
--program-transform-na \
1103 |
--program-transform-n |
--program-transform- \
1104 |
--program-transform |
--program-transfor \
1105 |
--program-transfo |
--program-transf \
1106 |
--program-trans |
--program-tran \
1107 |
--progr-tra |
--program-tr |
--program-t)
1108 ac_prev
=program_transform_name
;;
1109 -program-transform-name=* |
--program-transform-name=* \
1110 |
--program-transform-nam=* |
--program-transform-na=* \
1111 |
--program-transform-n=* |
--program-transform-=* \
1112 |
--program-transform=* |
--program-transfor=* \
1113 |
--program-transfo=* |
--program-transf=* \
1114 |
--program-trans=* |
--program-tran=* \
1115 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1116 program_transform_name
=$ac_optarg ;;
1118 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1120 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1121 pdfdir
=$ac_optarg ;;
1123 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1125 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1128 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1129 |
-silent |
--silent |
--silen |
--sile |
--sil)
1132 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1134 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1136 sbindir
=$ac_optarg ;;
1138 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1139 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1140 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1142 ac_prev
=sharedstatedir
;;
1143 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1144 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1145 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1147 sharedstatedir
=$ac_optarg ;;
1149 -site |
--site |
--sit)
1151 -site=* |
--site=* |
--sit=*)
1154 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1156 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1157 srcdir
=$ac_optarg ;;
1159 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1160 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1161 ac_prev
=sysconfdir
;;
1162 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1163 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1164 sysconfdir
=$ac_optarg ;;
1166 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1167 ac_prev
=target_alias
;;
1168 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1169 target_alias
=$ac_optarg ;;
1171 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1174 -version |
--version |
--versio |
--versi |
--vers |
-V)
1175 ac_init_version
=: ;;
1178 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1181 as_fn_error $?
"invalid package name: $ac_useropt"
1182 ac_useropt_orig
=$ac_useropt
1183 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep
=', ';;
1191 eval with_
$ac_useropt=\
$ac_optarg ;;
1193 -without-* |
--without-*)
1194 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=no
;;
1210 # Obsolete; use --with-x.
1213 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1214 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1215 ac_prev
=x_includes
;;
1216 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1217 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1218 x_includes
=$ac_optarg ;;
1220 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1221 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1222 ac_prev
=x_libraries
;;
1223 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1224 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1225 x_libraries
=$ac_optarg ;;
1227 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1232 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1236 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1238 eval $ac_envvar=\
$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252 if test -n "$ac_prev"; then
1253 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error $?
"missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265 # Check all directory arguments for consistency.
1266 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val
=\$
$ac_var
1272 # Remove trailing slashes.
1275 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\
$ac_val;;
1278 # Be sure to have absolute directory names.
1280 [\\/$
]* | ?
:[\\/]* ) continue;;
1281 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1283 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1291 target
=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x
; then
1295 if test "x$build_alias" = x
; then
1296 cross_compiling
=maybe
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $?
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $?
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var
in $ac_precious_vars; do
1369 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1371 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1445 --build=BUILD configure
for building on BUILD
[guessed
]
1446 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1447 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --enable-version-specific-runtime-libs
1462 specify that runtime libraries should be installed
1463 in a compiler-specific directory
1464 --enable-intermodule build the library
in one step
1465 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1466 --disable-silent-rules verbose build output
(undo
: "make V=0")
1467 --enable-maintainer-mode
1468 enable make rules and dependencies not useful
(and
1469 sometimes confusing
) to the casual installer
1470 --enable-multilib build many library versions
(default
)
1471 --enable-dependency-tracking
1472 do not reject slow dependency extractors
1473 --disable-dependency-tracking
1474 speeds up one-time build
1475 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1476 --disable-symvers disable symbol versioning
for libgfortran
1477 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1478 --enable-static[=PKGS
] build static libraries
[default
=yes]
1479 --enable-fast-install[=PKGS
]
1480 optimize
for fast installation
[default
=yes]
1481 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --disable-largefile omit support
for large files
1483 --disable-libquadmath-support
1484 disable libquadmath support
for Fortran
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1490 --with-toolexeclibdir=DIR
1491 install libraries built with a cross compiler within
1493 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1494 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1496 --with-gcc-major-version-only
1497 use only GCC major number
in filesystem paths
1499 Some influential environment variables
:
1500 CC C compiler
command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1503 nonstandard directory
<lib dir
>
1504 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1505 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1506 you have headers
in a nonstandard directory
<include dir
>
1508 FC Fortran compiler
command
1509 FCFLAGS Fortran compiler flags
1511 Use these variables to override the choices made by
`configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to the package provider.
1515 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1516 General help using GNU software: <http://www.gnu.org/gethelp/>.
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1546 .) # We are building in place.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1579 GNU Fortran Runtime Library configure 0.3
1580 generated by GNU Autoconf 2.69
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest.
$ac_objext; then :
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status
$ac_retval
1629 } # ac_fn_c_try_compile
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1637 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1669 # -------------------------------------------------------
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1671 # the include files in INCLUDES and setting the cache variable VAR
1673 ac_fn_c_check_header_mongrel ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if eval \${$3+:} false; then :
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 # Is the header compilable?
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1688 $as_echo_n "checking $2 usability... " >&6; }
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1697 ac_header_compiler=no
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1701 $as_echo "$ac_header_compiler" >&6; }
1703 # Is the header present?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1705 $as_echo_n "checking $2 presence... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1710 if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1713 ac_header_preproc=no
1715 rm -f conftest.err conftest.i conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1717 $as_echo "$ac_header_preproc" >&6; }
1719 # So? What about this header?
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1745 eval "$3=\$ac_header_compiler"
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_header_mongrel
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1765 *) ac_try_echo
=$ac_try;;
1767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1838 *) ac_try_echo
=$ac_try;;
1840 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1844 if test -s conftest.err
; then
1845 grep -v '^ *+' conftest.err
>conftest.er1
1846 cat conftest.er1
>&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest
$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 test -x conftest
$ac_exeext
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.
$ac_ext >&5
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status
$ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func
()
1879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \
${$3+:} false
; then :
1883 $as_echo_n "(cached) " >&6
1885 if test x
$gcc_no_link = xyes
; then
1886 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1892 #define $2 innocuous_$2
1894 /* System header to define __stub macros and hopefully few prototypes,
1895 which can conflict with char $2 (); below.
1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897 <limits.h> exists even on freestanding compilers. */
1900 # include <limits.h>
1902 # include <assert.h>
1907 /* Override any GCC internal prototype to avoid an error.
1908 Use char because int might match the return type of a GCC
1909 builtin and then its argument prototype would still apply. */
1914 /* The GNU C library defines this for functions which it implements
1915 to always fail with ENOSYS. Some functions are actually named
1916 something starting with __ and the normal name is an alias. */
1917 #if defined __stub_$2 || defined __stub___$2
1929 if ac_fn_c_try_link
"$LINENO"; then :
1934 rm -f core conftest.err conftest.
$ac_objext \
1935 conftest
$ac_exeext conftest.
$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_func
1944 # ac_fn_fc_try_compile LINENO
1945 # ---------------------------
1946 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_fc_try_compile
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 rm -f conftest.
$ac_objext
1951 if { { ac_try
="$ac_compile"
1953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_compile") 2>conftest.err
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && {
1967 test -z "$ac_fc_werror_flag" ||
1968 test ! -s conftest.err
1969 } && test -s conftest.$ac_objext; then :
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1980 } # ac_fn_fc_try_compile
1982 # ac_fn_fc_try_link LINENO
1983 # ------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_fc_try_link ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 rm -f conftest.$ac_objext conftest$ac_exeext
1989 if { { ac_try="$ac_link"
1991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1992 *) ac_try_echo
=$ac_try;;
1994 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>conftest.err
1998 if test -s conftest.err
; then
1999 grep -v '^ *+' conftest.err
>conftest.er1
2000 cat conftest.er1
>&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } && {
2005 test -z "$ac_fc_werror_flag" ||
2006 test ! -s conftest.err
2007 } && test -s conftest
$ac_exeext && {
2008 test "$cross_compiling" = yes ||
2009 test -x conftest
$ac_exeext
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.
$ac_ext >&5
2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020 # interfere with the next link command; also delete a directory that is
2021 # left behind by Apple's compiler. We do this before executing the actions.
2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status
$ac_retval
2026 } # ac_fn_fc_try_link
2028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2029 # -------------------------------------------
2030 # Tests whether TYPE exists after having included INCLUDES, setting cache
2031 # variable VAR accordingly.
2032 ac_fn_c_check_type
()
2034 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \
${$3+:} false
; then :
2038 $as_echo_n "(cached) " >&6
2041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2053 if ac_fn_c_try_compile
"$LINENO"; then :
2054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2066 if ac_fn_c_try_compile
"$LINENO"; then :
2071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_type
2082 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2083 # --------------------------------------------
2084 # Tries to find the compile-time value of EXPR in a program that includes
2085 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2087 ac_fn_c_compute_int
()
2089 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2090 if test "$cross_compiling" = yes; then
2091 # Depending upon the size, compute the lo and hi bounds.
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2098 static int test_array [1 - 2 * !(($2) >= 0)];
2100 return test_array [0];
2106 if ac_fn_c_try_compile
"$LINENO"; then :
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2117 return test_array [0];
2123 if ac_fn_c_try_compile
"$LINENO"; then :
2124 ac_hi
=$ac_mid; break
2126 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2127 if test $ac_lo -le $ac_mid; then
2131 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2142 static int test_array [1 - 2 * !(($2) < 0)];
2144 return test_array [0];
2150 if ac_fn_c_try_compile
"$LINENO"; then :
2153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2159 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2161 return test_array [0];
2167 if ac_fn_c_try_compile
"$LINENO"; then :
2168 ac_lo
=$ac_mid; break
2170 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2171 if test $ac_mid -le $ac_hi; then
2175 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2185 # Binary search between lo and hi bounds.
2186 while test "x$ac_lo" != "x$ac_hi"; do
2187 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2194 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2196 return test_array [0];
2202 if ac_fn_c_try_compile
"$LINENO"; then :
2205 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2210 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2217 static long int longval () { return $2; }
2218 static unsigned long int ulongval () { return $2; }
2225 FILE *f = fopen ("conftest.val", "w");
2230 long int i = longval ();
2233 fprintf (f, "%ld", i);
2237 unsigned long int i = ulongval ();
2240 fprintf (f, "%lu", i);
2242 /* Do not output a trailing newline, as this causes \r\n confusion
2243 on some platforms. */
2244 return ferror (f) || fclose (f) != 0;
2250 if ac_fn_c_try_run
"$LINENO"; then :
2251 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2255 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2256 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 as_fn_set_status
$ac_retval
2263 } # ac_fn_c_compute_int
2265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2266 # ----------------------------------------------------
2267 # Tries to find if the field MEMBER exists in type AGGR, after including
2268 # INCLUDES, setting cache variable VAR accordingly.
2269 ac_fn_c_check_member
()
2271 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2273 $as_echo_n "checking for $2.$3... " >&6; }
2274 if eval \
${$4+:} false
; then :
2275 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2290 if ac_fn_c_try_compile
"$LINENO"; then :
2293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2300 if (sizeof ac_aggr.$3)
2306 if ac_fn_c_try_compile
"$LINENO"; then :
2311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_c_check_member
2321 cat >config.log
<<_ACEOF
2322 This file contains any messages produced by compilers while
2323 running configure, to aid debugging if configure makes a mistake.
2325 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2326 generated by GNU Autoconf 2.69. Invocation command line was
2338 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2339 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2340 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2341 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2342 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2344 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2345 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2347 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2348 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2349 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2350 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2351 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2352 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2353 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir
=.
2362 $as_echo "PATH: $as_dir"
2378 # Keep a trace of the command line.
2379 # Strip out --no-create and --no-recursion so they do not pile up.
2380 # Strip out --silent because we don't want to record it for future runs.
2381 # Also quote any args containing shell meta-characters.
2382 # Make two passes to allow for proper duplicate-argument suppression.
2386 ac_must_keep_next
=false
2392 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2393 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2394 |
-silent |
--silent |
--silen |
--sile |
--sil)
2397 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2402 as_fn_append ac_configure_args1
" '$ac_arg'"
2403 if test $ac_must_keep_next = true
; then
2404 ac_must_keep_next
=false
# Got value, back to normal.
2407 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2408 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2409 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2410 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2411 case "$ac_configure_args0 " in
2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2415 -* ) ac_must_keep_next
=true
;;
2418 as_fn_append ac_configure_args
" '$ac_arg'"
2423 { ac_configure_args0
=; unset ac_configure_args0
;}
2424 { ac_configure_args1
=; unset ac_configure_args1
;}
2426 # When interrupted or exit'd, cleanup temporary files, and complete
2427 # config.log. We remove comments because anyway the quotes in there
2428 # would cause problems or look ugly.
2429 # WARNING: Use '\'' to represent an apostrophe within the trap.
2430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2431 trap 'exit_status=$?
2432 # Save into config.log some information that might help in debugging.
2436 $as_echo "## ---------------- ##
2437 ## Cache variables. ##
2438 ## ---------------- ##"
2440 # The following way of writing the cache mishandles newlines in values,
2442 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2443 eval ac_val=\$$ac_var
2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2451 _ | IFS | as_nl) ;; #(
2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2453 *) { eval $ac_var=; unset $ac_var;} ;;
2458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2459 *${as_nl}ac_space=\ *)
2461 "s/'\''/'\''\\\\'\'''\''/g;
2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2472 $as_echo "## ----------------- ##
2473 ## Output variables. ##
2474 ## ----------------- ##"
2476 for ac_var in $ac_subst_vars
2478 eval ac_val=\$$ac_var
2480 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2482 $as_echo "$ac_var='\''$ac_val'\''"
2486 if test -n "$ac_subst_files"; then
2487 $as_echo "## ------------------- ##
2488 ## File substitutions. ##
2489 ## ------------------- ##"
2491 for ac_var
in $ac_subst_files
2493 eval ac_val
=\$
$ac_var
2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2497 $as_echo "$ac_var='\''$ac_val'\''"
2502 if test -s confdefs.h; then
2503 $as_echo "## ----------- ##
2510 test "$ac_signal" != 0 &&
2511 $as_echo "$as_me: caught signal $ac_signal"
2512 $as_echo "$as_me: exit $exit_status"
2514 rm -f core *.core core.conftest.* &&
2515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2518 for ac_signal
in 1 2 13 15; do
2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2524 rm -f -r conftest
* confdefs.h
2526 $as_echo "/* confdefs.h */" > confdefs.h
2528 # Predefined preprocessor variables.
2530 cat >>confdefs.h
<<_ACEOF
2531 #define PACKAGE_NAME "$PACKAGE_NAME"
2534 cat >>confdefs.h
<<_ACEOF
2535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2538 cat >>confdefs.h
<<_ACEOF
2539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2542 cat >>confdefs.h
<<_ACEOF
2543 #define PACKAGE_STRING "$PACKAGE_STRING"
2546 cat >>confdefs.h
<<_ACEOF
2547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2550 cat >>confdefs.h
<<_ACEOF
2551 #define PACKAGE_URL "$PACKAGE_URL"
2555 # Let the site file select an alternate cache file if it wants to.
2556 # Prefer an explicitly selected file to automatically selected ones.
2559 if test -n "$CONFIG_SITE"; then
2560 # We do not want a PATH search for config.site.
2561 case $CONFIG_SITE in #((
2562 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2563 */*) ac_site_file1
=$CONFIG_SITE;;
2564 *) ac_site_file1
=.
/$CONFIG_SITE;;
2566 elif test "x$prefix" != xNONE
; then
2567 ac_site_file1
=$prefix/share
/config.site
2568 ac_site_file2
=$prefix/etc
/config.site
2570 ac_site_file1
=$ac_default_prefix/share
/config.site
2571 ac_site_file2
=$ac_default_prefix/etc
/config.site
2573 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2575 test "x$ac_site_file" = xNONE
&& continue
2576 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2578 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2579 sed 's/^/| /' "$ac_site_file" >&5
2581 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error $?
"failed to load site script $ac_site_file
2584 See \`config.log' for more details" "$LINENO" 5; }
2588 if test -r "$cache_file"; then
2589 # Some versions of bash will fail to source /dev/null (special files
2590 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2591 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2593 $as_echo "$as_me: loading cache $cache_file" >&6;}
2595 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2596 *) .
"./$cache_file";;
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2601 $as_echo "$as_me: creating cache $cache_file" >&6;}
2605 as_fn_append ac_header_list
" unistd.h"
2606 as_fn_append ac_header_list
" sys/random.h"
2607 as_fn_append ac_header_list
" sys/time.h"
2608 as_fn_append ac_header_list
" sys/times.h"
2609 as_fn_append ac_header_list
" sys/resource.h"
2610 as_fn_append ac_header_list
" sys/types.h"
2611 as_fn_append ac_header_list
" sys/stat.h"
2612 as_fn_append ac_header_list
" sys/uio.h"
2613 as_fn_append ac_header_list
" sys/wait.h"
2614 as_fn_append ac_header_list
" floatingpoint.h"
2615 as_fn_append ac_header_list
" ieeefp.h"
2616 as_fn_append ac_header_list
" fenv.h"
2617 as_fn_append ac_header_list
" fptrap.h"
2618 as_fn_append ac_header_list
" fpxcp.h"
2619 as_fn_append ac_header_list
" pwd.h"
2620 as_fn_append ac_header_list
" complex.h"
2621 as_fn_append ac_header_list
" xlocale.h"
2622 as_fn_append ac_func_list
" getrusage"
2623 as_fn_append ac_func_list
" times"
2624 as_fn_append ac_func_list
" mkstemp"
2625 as_fn_append ac_func_list
" strtof"
2626 as_fn_append ac_func_list
" strtold"
2627 as_fn_append ac_func_list
" snprintf"
2628 as_fn_append ac_func_list
" ftruncate"
2629 as_fn_append ac_func_list
" chsize"
2630 as_fn_append ac_func_list
" chdir"
2631 as_fn_append ac_func_list
" getentropy"
2632 as_fn_append ac_func_list
" getlogin"
2633 as_fn_append ac_func_list
" gethostname"
2634 as_fn_append ac_func_list
" kill"
2635 as_fn_append ac_func_list
" link"
2636 as_fn_append ac_func_list
" symlink"
2637 as_fn_append ac_func_list
" sleep"
2638 as_fn_append ac_func_list
" ttyname"
2639 as_fn_append ac_func_list
" sigaction"
2640 as_fn_append ac_func_list
" waitpid"
2641 as_fn_append ac_func_list
" alarm"
2642 as_fn_append ac_func_list
" access"
2643 as_fn_append ac_func_list
" fork"
2644 as_fn_append ac_func_list
" posix_spawn"
2645 as_fn_append ac_func_list
" setmode"
2646 as_fn_append ac_func_list
" fcntl"
2647 as_fn_append ac_func_list
" writev"
2648 as_fn_append ac_func_list
" gettimeofday"
2649 as_fn_append ac_func_list
" stat"
2650 as_fn_append ac_func_list
" fstat"
2651 as_fn_append ac_func_list
" lstat"
2652 as_fn_append ac_func_list
" getpwuid"
2653 as_fn_append ac_func_list
" vsnprintf"
2654 as_fn_append ac_func_list
" dup"
2655 as_fn_append ac_func_list
" getcwd"
2656 as_fn_append ac_func_list
" localtime_r"
2657 as_fn_append ac_func_list
" gmtime_r"
2658 as_fn_append ac_func_list
" getpwuid_r"
2659 as_fn_append ac_func_list
" ttyname_r"
2660 as_fn_append ac_func_list
" clock_gettime"
2661 as_fn_append ac_func_list
" getgid"
2662 as_fn_append ac_func_list
" getpid"
2663 as_fn_append ac_func_list
" getuid"
2664 as_fn_append ac_func_list
" geteuid"
2665 as_fn_append ac_func_list
" umask"
2666 as_fn_append ac_func_list
" getegid"
2667 as_fn_append ac_func_list
" secure_getenv"
2668 as_fn_append ac_func_list
" __secure_getenv"
2669 as_fn_append ac_func_list
" mkostemp"
2670 as_fn_append ac_func_list
" strnlen"
2671 as_fn_append ac_func_list
" strndup"
2672 as_fn_append ac_func_list
" newlocale"
2673 as_fn_append ac_func_list
" freelocale"
2674 as_fn_append ac_func_list
" uselocale"
2675 as_fn_append ac_func_list
" strerror_l"
2676 as_fn_append ac_header_list
" math.h"
2677 # Check that the precious variables saved in the cache have kept the same
2679 ac_cache_corrupted
=false
2680 for ac_var
in $ac_precious_vars; do
2681 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2682 eval ac_new_set
=\
$ac_env_${ac_var}_set
2683 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2684 eval ac_new_val
=\
$ac_env_${ac_var}_value
2685 case $ac_old_set,$ac_new_set in
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2688 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2689 ac_cache_corrupted
=: ;;
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2692 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2693 ac_cache_corrupted
=: ;;
2696 if test "x$ac_old_val" != "x$ac_new_val"; then
2697 # differences in whitespace do not lead to failure.
2698 ac_old_val_w
=`echo x $ac_old_val`
2699 ac_new_val_w
=`echo x $ac_new_val`
2700 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2702 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2703 ac_cache_corrupted
=:
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2706 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2707 eval $ac_var=\
$ac_old_val
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2710 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2712 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2715 # Pass precious variables to config.status.
2716 if test "$ac_new_set" = set; then
2718 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2719 *) ac_arg
=$ac_var=$ac_new_val ;;
2721 case " $ac_configure_args " in
2722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2723 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2727 if $ac_cache_corrupted; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2731 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2732 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2734 ## -------------------- ##
2735 ## Main body of script. ##
2736 ## -------------------- ##
2739 ac_cpp
='$CPP $CPPFLAGS'
2740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2748 ac_config_headers
="$ac_config_headers config.h"
2751 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2752 if test -f "$ac_dir/install-sh"; then
2754 ac_install_sh
="$ac_aux_dir/install-sh -c"
2756 elif test -f "$ac_dir/install.sh"; then
2758 ac_install_sh
="$ac_aux_dir/install.sh -c"
2760 elif test -f "$ac_dir/shtool"; then
2762 ac_install_sh
="$ac_aux_dir/shtool install -c"
2766 if test -z "$ac_aux_dir"; then
2767 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2770 # These three variables are undocumented and unsupported,
2771 # and are intended to be withdrawn in a future Autoconf release.
2772 # They can cause serious problems if a builder's source tree is in a directory
2773 # whose full name contains unusual characters.
2774 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2775 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2776 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2779 # Make sure we can run config.sub.
2780 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2781 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2784 $as_echo_n "checking build system type... " >&6; }
2785 if ${ac_cv_build+:} false
; then :
2786 $as_echo_n "(cached) " >&6
2788 ac_build_alias
=$build_alias
2789 test "x$ac_build_alias" = x
&&
2790 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2791 test "x$ac_build_alias" = x
&&
2792 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2793 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2794 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2798 $as_echo "$ac_cv_build" >&6; }
2799 case $ac_cv_build in
2801 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2804 ac_save_IFS
=$IFS; IFS
='-'
2810 # Remember, the first character of IFS is used to create $*,
2811 # except with old shells:
2814 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2817 case ${build_alias} in
2818 "") build_noncanonical
=${build} ;;
2819 *) build_noncanonical
=${build_alias} ;;
2822 case ${host_alias} in
2823 "") host_noncanonical
=${build_noncanonical} ;;
2824 *) host_noncanonical
=${host_alias} ;;
2827 case ${target_alias} in
2828 "") target_noncanonical
=${host_noncanonical} ;;
2829 *) target_noncanonical
=${target_alias} ;;
2833 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2834 # have matching libraries, they should use host libraries: Makefile.tpl
2835 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2836 # However, they still use the build modules, because the corresponding
2837 # host modules (e.g. bison) are only built for the host when bootstrap
2839 # - build_subdir is where we find build modules, and never changes.
2840 # - build_libsubdir is where we find build libraries, and can be overridden.
2842 # Prefix 'build-' so this never conflicts with target_subdir.
2843 build_subdir
="build-${build_noncanonical}"
2845 # Check whether --with-build-libsubdir was given.
2846 if test "${with_build_libsubdir+set}" = set; then :
2847 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2849 build_libsubdir
="$build_subdir"
2852 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2853 if ( test $srcdir = .
&& test -d gcc
) \
2854 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2855 host_subdir
="host-${host_noncanonical}"
2860 target_subdir
=${target_noncanonical}
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2868 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2869 # Check whether --enable-version-specific-runtime-libs was given.
2870 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2871 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2872 yes) version_specific_libs
=yes ;;
2873 no
) version_specific_libs
=no
;;
2874 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2877 version_specific_libs
=no
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2881 $as_echo "$version_specific_libs" >&6; }
2883 # Build with intermodule optimisations
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2885 $as_echo_n "checking for --enable-intermodule... " >&6; }
2886 # Check whether --enable-intermodule was given.
2887 if test "${enable_intermodule+set}" = set; then :
2888 enableval
=$enable_intermodule; case "$enable_intermodule" in
2889 yes) onestep
="-onestep";;
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2897 $as_echo "$enable_intermodule" >&6; }
2898 if test x
$onestep = x-onestep
; then
2908 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2910 # You will slowly go insane if you do not grok the following fact: when
2911 # building this library, the top-level /target/ becomes the library's /host/.
2913 # configure then causes --target to default to --host, exactly like any
2914 # other package using autoconf. Therefore, 'target' and 'host' will
2915 # always be the same. This makes sense both for native and cross compilers
2916 # just think about it for a little while. :-)
2918 # Also, if this library is being configured as part of a cross compiler, the
2919 # top-level configure script will pass the "real" host as $with_cross_host.
2921 # Do not delete or change the following two lines. For why, see
2922 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2924 $as_echo_n "checking host system type... " >&6; }
2925 if ${ac_cv_host+:} false
; then :
2926 $as_echo_n "(cached) " >&6
2928 if test "x$host_alias" = x
; then
2929 ac_cv_host
=$ac_cv_build
2931 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2932 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2937 $as_echo "$ac_cv_host" >&6; }
2940 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2943 ac_save_IFS
=$IFS; IFS
='-'
2949 # Remember, the first character of IFS is used to create $*,
2950 # except with old shells:
2953 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2957 $as_echo_n "checking target system type... " >&6; }
2958 if ${ac_cv_target+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 if test "x$target_alias" = x
; then
2962 ac_cv_target
=$ac_cv_host
2964 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2965 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2970 $as_echo "$ac_cv_target" >&6; }
2971 case $ac_cv_target in
2973 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2975 target
=$ac_cv_target
2976 ac_save_IFS
=$IFS; IFS
='-'
2982 # Remember, the first character of IFS is used to create $*,
2983 # except with old shells:
2986 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2989 # The aliases save the names the user supplied, while $host etc.
2990 # will get canonicalized.
2991 test -n "$target_alias" &&
2992 test "$program_prefix$program_suffix$program_transform_name" = \
2994 program_prefix
=${target_alias}-
2999 target_alias
=${target_alias-$host_alias}
3002 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3003 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3004 # 1.9.6: minimum required version
3005 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3006 # of other PACKAGE_* variables will, however, and there's nothing
3007 # we can do about that; they come from AC_INIT).
3008 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3009 # file in the top srcdir, etc, etc), so stop complaining.
3010 # no-dist: we don't want 'dist' and related rules.
3011 # -Wall: turns on all automake warnings...
3012 # -Wno-portability: ...except this one, since GNU make is required.
3013 am__api_version
='1.15'
3015 # Find a good install program. We prefer a C program (faster),
3016 # so one script is as good as another. But avoid the broken or
3017 # incompatible versions:
3018 # SysV /etc/install, /usr/sbin/install
3019 # SunOS /usr/etc/install
3020 # IRIX /sbin/install
3022 # AmigaOS /C/install, which installs bootblocks on floppy discs
3023 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3024 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3025 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3026 # OS/2's system install, which has a completely different semantic
3027 # ./install, which can be erroneously created by make from ./install.sh.
3028 # Reject install programs that cannot install multiple files.
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3030 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3031 if test -z "$INSTALL"; then
3032 if ${ac_cv_path_install+:} false
; then :
3033 $as_echo_n "(cached) " >&6
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 # Account for people who put trailing slashes in PATH elements.
3041 case $as_dir/ in #((
3042 .
/ | .
// |
/[cC
]/* | \
3043 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3044 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3047 # OSF1 and SCO ODT 3.0 have their own names for install.
3048 # Don't use installbsd from OSF since it installs stuff as root
3050 for ac_prog
in ginstall scoinst
install; do
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3053 if test $ac_prog = install &&
3054 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3055 # AIX install. It has an incompatible calling convention.
3057 elif test $ac_prog = install &&
3058 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3059 # program-specific install script used by HP pwplus--don't use.
3062 rm -rf conftest.one conftest.two conftest.dir
3063 echo one
> conftest.one
3064 echo two
> conftest.two
3066 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3067 test -s conftest.one
&& test -s conftest.two
&&
3068 test -s conftest.dir
/conftest.one
&&
3069 test -s conftest.dir
/conftest.two
3071 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3084 rm -rf conftest.one conftest.two conftest.dir
3087 if test "${ac_cv_path_install+set}" = set; then
3088 INSTALL
=$ac_cv_path_install
3090 # As a last resort, use the slow shell script. Don't cache a
3091 # value for INSTALL within a source directory, because that will
3092 # break other packages using the cache if that directory is
3093 # removed, or if the value is a relative name.
3094 INSTALL
=$ac_install_sh
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3098 $as_echo "$INSTALL" >&6; }
3100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3101 # It thinks the first close brace ends the variable substitution.
3102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3106 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3109 $as_echo_n "checking whether build environment is sane... " >&6; }
3110 # Reject unsafe characters in $srcdir or the absolute working directory
3111 # name. Accept space and tab only in the latter.
3115 *[\\\"\
#\$\&\'\`$am_lf]*)
3116 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3119 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3120 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3123 # Do 'set' in a subshell so we don't clobber the current shell's
3124 # arguments. Must try -L first in case configure is actually a
3125 # symlink; some systems play weird games with the mod time of symlinks
3126 # (eg FreeBSD returns the mod time of the symlink's containing
3130 for am_try
in 1 2; do
3131 echo "timestamp, slept: $am_has_slept" > conftest.
file
3132 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3133 if test "$*" = "X"; then
3135 set X
`ls -t "$srcdir/configure" conftest.file`
3137 if test "$*" != "X $srcdir/configure conftest.file" \
3138 && test "$*" != "X conftest.file $srcdir/configure"; then
3140 # If neither matched, then we have a broken ls. This can happen
3141 # if, for instance, CONFIG_SHELL is bash and it inherits a
3142 # broken ls alias from the environment. This has actually
3143 # happened. Such a system could not be considered "sane".
3144 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3145 alias in your environment" "$LINENO" 5
3147 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3154 test "$2" = conftest.
file
3160 as_fn_error $?
"newly created file is older than distributed files!
3161 Check your system clock" "$LINENO" 5
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3164 $as_echo "yes" >&6; }
3165 # If we didn't sleep, we still need to ensure time stamps of config.status and
3166 # generated files are strictly newer.
3168 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3175 test "$program_prefix" != NONE
&&
3176 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3177 # Use a double $ so make ignores it.
3178 test "$program_suffix" != NONE
&&
3179 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3180 # Double any \ or $.
3181 # By default was `s,x,x', remove it if useless.
3182 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3183 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3185 # Expand $ac_aux_dir to an absolute path.
3186 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3188 if test x
"${MISSING+set}" != xset
; then
3191 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3193 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3196 # Use eval to expand $SHELL
3197 if eval "$MISSING --is-lightweight"; then
3198 am_missing_run
="$MISSING "
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3202 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3205 if test x
"${install_sh+set}" != xset
; then
3208 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3210 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3214 # Installed binaries are usually stripped using 'strip' when the user
3215 # run "make install-strip". However 'strip' might not be the right
3216 # tool to use in cross-compilation environments, therefore Automake
3217 # will honor the 'STRIP' environment variable to overrule this program.
3218 if test "$cross_compiling" != no
; then
3219 if test -n "$ac_tool_prefix"; then
3220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3221 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_STRIP+:} false
; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$STRIP"; then
3228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 STRIP
=$ac_cv_prog_STRIP
3248 if test -n "$STRIP"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3250 $as_echo "$STRIP" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3258 if test -z "$ac_cv_prog_STRIP"; then
3260 # Extract the first word of "strip", so it can be a program name with args.
3261 set dummy strip
; ac_word
=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$ac_ct_STRIP"; then
3268 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir
=.
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3277 ac_cv_prog_ac_ct_STRIP
="strip"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3288 if test -n "$ac_ct_STRIP"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3290 $as_echo "$ac_ct_STRIP" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3296 if test "x$ac_ct_STRIP" = x
; then
3299 case $cross_compiling:$ac_tool_warned in
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3303 ac_tool_warned
=yes ;;
3308 STRIP
="$ac_cv_prog_STRIP"
3312 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3315 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3316 if test -z "$MKDIR_P"; then
3317 if ${ac_cv_path_mkdir+:} false
; then :
3318 $as_echo_n "(cached) " >&6
3320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3324 test -z "$as_dir" && as_dir
=.
3325 for ac_prog
in mkdir gmkdir
; do
3326 for ac_exec_ext
in '' $ac_executable_extensions; do
3327 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3328 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3329 'mkdir (GNU coreutils) '* | \
3330 'mkdir (coreutils) '* | \
3331 'mkdir (fileutils) '4.1*)
3332 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3342 test -d .
/--version && rmdir .
/--version
3343 if test "${ac_cv_path_mkdir+set}" = set; then
3344 MKDIR_P
="$ac_cv_path_mkdir -p"
3346 # As a last resort, use the slow shell script. Don't cache a
3347 # value for MKDIR_P within a source directory, because that will
3348 # break other packages using the cache if that directory is
3349 # removed, or if the value is a relative name.
3350 MKDIR_P
="$ac_install_sh -d"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3354 $as_echo "$MKDIR_P" >&6; }
3356 for ac_prog
in gawk mawk nawk
awk
3358 # Extract the first word of "$ac_prog", so it can be a program name with args.
3359 set dummy
$ac_prog; ac_word
=$2
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3361 $as_echo_n "checking for $ac_word... " >&6; }
3362 if ${ac_cv_prog_AWK+:} false
; then :
3363 $as_echo_n "(cached) " >&6
3365 if test -n "$AWK"; then
3366 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3372 test -z "$as_dir" && as_dir
=.
3373 for ac_exec_ext
in '' $ac_executable_extensions; do
3374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3375 ac_cv_prog_AWK
="$ac_prog"
3376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3386 if test -n "$AWK"; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3388 $as_echo "$AWK" >&6; }
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 $as_echo "no" >&6; }
3395 test -n "$AWK" && break
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3399 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3401 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3402 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3403 $as_echo_n "(cached) " >&6
3405 cat >conftest.
make <<\_ACEOF
3408 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3410 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3411 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3413 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3415 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3419 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3421 $as_echo "yes" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 SET_MAKE
="MAKE=${MAKE-make}"
3429 rm -rf .tst
2>/dev
/null
3430 mkdir .tst
2>/dev
/null
3431 if test -d .tst
; then
3436 rmdir .tst
2>/dev
/null
3438 # Check whether --enable-silent-rules was given.
3439 if test "${enable_silent_rules+set}" = set; then :
3440 enableval
=$enable_silent_rules;
3443 case $enable_silent_rules in # (((
3444 yes) AM_DEFAULT_VERBOSITY
=0;;
3445 no
) AM_DEFAULT_VERBOSITY
=1;;
3446 *) AM_DEFAULT_VERBOSITY
=1;;
3448 am_make
=${MAKE-make}
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3450 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3451 if ${am_cv_make_support_nested_variables+:} false
; then :
3452 $as_echo_n "(cached) " >&6
3454 if $as_echo 'TRUE=$(BAR$(V))
3460 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3461 am_cv_make_support_nested_variables
=yes
3463 am_cv_make_support_nested_variables
=no
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3467 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3468 if test $am_cv_make_support_nested_variables = yes; then
3470 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3472 AM_V
=$AM_DEFAULT_VERBOSITY
3473 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3477 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3478 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3479 # is not polluted with repeated "-I."
3480 am__isrc
=' -I$(srcdir)'
3481 # test to see if srcdir already configured
3482 if test -f $srcdir/config.status
; then
3483 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3487 # test whether we have cygpath
3488 if test -z "$CYGPATH_W"; then
3489 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3490 CYGPATH_W
='cygpath -w'
3497 # Define the identity of the package.
3498 PACKAGE
='libgfortran'
3502 # Some tools Automake needs.
3504 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3507 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3510 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3513 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3516 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3518 # For better backward compatibility. To be removed once Automake 1.9.x
3519 # dies out for good. For more background, see:
3520 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3522 mkdir_p
='$(MKDIR_P)'
3524 # We need awk for the "check" target (and possibly the TAP driver). The
3525 # system "awk" is bad on some platforms.
3526 # Always define AMTAR for backward compatibility. Yes, it's still used
3527 # in the wild :-( We should find a proper way to deprecate it ...
3531 # We'll loop over all known methods to create a tar archive until one works.
3532 _am_tools
='gnutar pax cpio none'
3534 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3541 # POSIX will say in a future version that running "rm -f" with no argument
3542 # is OK; and we want to be able to make that assumption in our Makefile
3543 # recipes. So use an aggressive probe to check that the usage we want is
3544 # actually supported "in the wild" to an acceptable degree.
3545 # See automake bug#10828.
3546 # To make any issue more visible, cause the running configure to be aborted
3547 # by default if the 'rm' program in use doesn't match our expectations; the
3548 # user can still override this though.
3549 if rm -f && rm -fr && rm -rf; then : OK
; else
3553 Your 'rm' program seems unable to run without file operands specified
3554 on the command line, even when the '-f' option is present. This is contrary
3555 to the behaviour of most rm programs out there, and not conforming with
3556 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3558 Please tell bug-automake@gnu.org about your system, including the value
3559 of your $PATH and any error possibly output before this message. This
3560 can help us improve future automake versions.
3563 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3564 echo 'Configuration will proceed anyway, since you have set the' >&2
3565 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3569 Aborting the configuration process, to ensure you take notice of the issue.
3571 You can download and install GNU coreutils to get an 'rm' implementation
3572 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3574 If you want to complete the configuration process using your problematic
3575 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3576 to "yes", and re-run configure.
3579 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3586 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3587 # Check whether --enable-maintainer-mode was given.
3588 if test "${enable_maintainer_mode+set}" = set; then :
3589 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3591 USE_MAINTAINER_MODE
=no
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3595 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3596 if test $USE_MAINTAINER_MODE = yes; then
3597 MAINTAINER_MODE_TRUE
=
3598 MAINTAINER_MODE_FALSE
='#'
3600 MAINTAINER_MODE_TRUE
='#'
3601 MAINTAINER_MODE_FALSE
=
3604 MAINT
=$MAINTAINER_MODE_TRUE
3607 # Default to --enable-multilib
3608 # Check whether --enable-multilib was given.
3609 if test "${enable_multilib+set}" = set; then :
3610 enableval
=$enable_multilib; case "$enableval" in
3611 yes) multilib
=yes ;;
3613 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3620 # We may get other options which we leave undocumented:
3621 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3622 # See config-ml.in if you want the gory details.
3624 if test "$srcdir" = "."; then
3625 if test "$with_target_subdir" != "."; then
3626 multi_basedir
="$srcdir/$with_multisrctop../.."
3628 multi_basedir
="$srcdir/$with_multisrctop.."
3631 multi_basedir
="$srcdir/.."
3635 # Even if the default multilib is not a cross compilation,
3636 # it may be that some of the other multilibs are.
3637 if test $cross_compiling = no
&& test $multilib = yes \
3638 && test "x${with_multisubdir}" != x
; then
3639 cross_compiling
=maybe
3642 ac_config_commands
="$ac_config_commands default-1"
3645 # Handy for debugging:
3646 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3648 # Are we being configured with some form of cross compiler?
3649 # NB: We don't actually need to know this just now, but when, say, a test
3650 # suite is included, we'll have to know.
3651 if test "$build" != "$host"; then
3652 LIBGFOR_IS_NATIVE
=false
3655 LIBGFOR_IS_NATIVE
=true
3658 DEPDIR
="${am__leading_dot}deps"
3660 ac_config_commands
="$ac_config_commands depfiles"
3663 am_make
=${MAKE-make}
3664 cat > confinc
<< 'END'
3666 @
echo this is the am__doit target
3669 # If we don't find an include directive, just comment out the code.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3671 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3675 # First try GNU make style include.
3676 echo "include confinc" > confmf
3677 # Ignore all kinds of additional output from 'make'.
3678 case `$am_make -s -f confmf 2> /dev/null` in #(
3679 *the\ am__doit\ target
*)
3685 # Now try BSD make style include.
3686 if test "$am__include" = "#"; then
3687 echo '.include "confinc"' > confmf
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target
*)
3690 am__include
=.include
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3699 $as_echo "$_am_result" >&6; }
3700 rm -f confinc confmf
3702 # Check whether --enable-dependency-tracking was given.
3703 if test "${enable_dependency_tracking+set}" = set; then :
3704 enableval
=$enable_dependency_tracking;
3707 if test "x$enable_dependency_tracking" != xno
; then
3708 am_depcomp
="$ac_aux_dir/depcomp"
3712 if test "x$enable_dependency_tracking" != xno; then
3722 ac_cpp
='$CPP $CPPFLAGS'
3723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3728 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_CC+:} false
; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC
="$CC" # Let the user override the test.
3737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir
=.
3742 for ac_exec_ext
in '' $ac_executable_extensions; do
3743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$ac_cv_prog_CC"; then
3767 # Extract the first word of "gcc", so it can be a program name with args.
3768 set dummy gcc
; ac_word
=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -n "$ac_ct_CC"; then
3775 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3781 test -z "$as_dir" && as_dir
=.
3782 for ac_exec_ext
in '' $ac_executable_extensions; do
3783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3784 ac_cv_prog_ac_ct_CC
="gcc"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3795 if test -n "$ac_ct_CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3797 $as_echo "$ac_ct_CC" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3803 if test "x$ac_ct_CC" = x
; then
3806 case $cross_compiling:$ac_tool_warned in
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3810 ac_tool_warned
=yes ;;
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3821 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if ${ac_cv_prog_CC+:} false
; then :
3825 $as_echo_n "(cached) " >&6
3827 if test -n "$CC"; then
3828 ac_cv_prog_CC
="$CC" # Let the user override the test.
3830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir
=.
3835 for ac_exec_ext
in '' $ac_executable_extensions; do
3836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3837 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 if test -n "$CC"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3850 $as_echo "$CC" >&6; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3859 if test -z "$CC"; then
3860 # Extract the first word of "cc", so it can be a program name with args.
3861 set dummy cc
; ac_word
=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_prog_CC+:} false
; then :
3865 $as_echo_n "(cached) " >&6
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC
="$CC" # Let the user override the test.
3871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3875 test -z "$as_dir" && as_dir
=.
3876 for ac_exec_ext
in '' $ac_executable_extensions; do
3877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3879 ac_prog_rejected
=yes
3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 if test $ac_prog_rejected = yes; then
3891 # We found a bogon in the path, so make sure we never use it.
3892 set dummy
$ac_cv_prog_CC
3894 if test $# != 0; then
3895 # We chose a different compiler from the bogus one.
3896 # However, it has the same basename, so the bogon will be chosen
3897 # first if we set CC to just the basename; use the full file name.
3899 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3905 if test -n "$CC"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3907 $as_echo "$CC" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3915 if test -z "$CC"; then
3916 if test -n "$ac_tool_prefix"; then
3917 for ac_prog
in cl.exe
3919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3920 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false
; then :
3924 $as_echo_n "(cached) " >&6
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC
="$CC" # Let the user override the test.
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir
=.
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3956 test -n "$CC" && break
3959 if test -z "$CC"; then
3961 for ac_prog
in cl.exe
3963 # Extract the first word of "$ac_prog", so it can be a program name with args.
3964 set dummy
$ac_prog; ac_word
=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3968 $as_echo_n "(cached) " >&6
3970 if test -n "$ac_ct_CC"; then
3971 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_ac_ct_CC
="$ac_prog"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3991 if test -n "$ac_ct_CC"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3993 $as_echo "$ac_ct_CC" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4000 test -n "$ac_ct_CC" && break
4003 if test "x$ac_ct_CC" = x
; then
4006 case $cross_compiling:$ac_tool_warned in
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4010 ac_tool_warned
=yes ;;
4019 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error $?
"no acceptable C compiler found in \$PATH
4022 See \`config.log' for more details" "$LINENO" 5; }
4024 # Provide some information about the compiler.
4025 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4028 for ac_option
in --version -v -V -qversion; do
4029 { { ac_try
="$ac_compiler $ac_option >&5"
4031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4038 if test -s conftest.err; then
4040 ... rest of stderr output deleted ...
4041 10q' conftest.err >conftest.er1
4042 cat conftest.er1 >&5
4044 rm -f conftest.er1 conftest.err
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4055 printf ("hello world\n");
4061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4062 (eval $ac_link) 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4070 if test x$gcc_no_link = xyes; then
4071 # Setting cross_compile will disable run tests; it will
4072 # also disable AC_CHECK_FILE but that's generally
4073 # correct if we can't link.
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4088 ac_clean_files_save=$ac_clean_files
4089 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4090 # Try to create an executable without -o first, disregard a.out.
4091 # It will help us diagnose broken compilers, and finding out an intuition
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4094 $as_echo_n "checking whether the C compiler works... " >&6; }
4095 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4097 # The possible output files:
4098 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4101 for ac_file in $ac_files
4104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4105 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4110 if { { ac_try="$ac_link_default"
4112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4113 *) ac_try_echo
=$ac_try;;
4115 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116 $as_echo "$ac_try_echo"; } >&5
4117 (eval "$ac_link_default") 2>&5
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }; then :
4121 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4122 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4123 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4124 # so that the user can short-circuit this test for compilers unknown to
4126 for ac_file
in $ac_files ''
4128 test -f "$ac_file" ||
continue
4130 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4133 # We found the default executable, but exeext='' is most
4137 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4139 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 # We set ac_cv_exeext here because the later test for it is not
4142 # safe: cross compilers may not add the suffix if given an `-o'
4143 # argument, so we may need to know it at that point already.
4144 # Even if this section looks crufty: it has the advantage of
4151 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4156 if test -z "$ac_file"; then :
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4159 $as_echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.
$ac_ext >&5
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error
77 "C compiler cannot create executables
4165 See \`config.log' for more details" "$LINENO" 5; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168 $as_echo "yes" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4171 $as_echo_n "checking for C compiler default output file name... " >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4173 $as_echo "$ac_file" >&6; }
4174 ac_exeext
=$ac_cv_exeext
4176 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4177 ac_clean_files
=$ac_clean_files_save
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4179 $as_echo_n "checking for suffix of executables... " >&6; }
4180 if { { ac_try
="$ac_link"
4182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_link") 2>&5
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; }; then :
4191 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4192 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4193 # work properly (i.e., refer to `conftest.exe'), while it won't with
4195 for ac_file
in conftest.exe conftest conftest.
*; do
4196 test -f "$ac_file" ||
continue
4198 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4199 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4207 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4208 See \`config.log' for more details" "$LINENO" 5; }
4210 rm -f conftest conftest
$ac_cv_exeext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4212 $as_echo "$ac_cv_exeext" >&6; }
4214 rm -f conftest.
$ac_ext
4215 EXEEXT
=$ac_cv_exeext
4217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4223 FILE *f = fopen ("conftest.out", "w");
4224 return ferror (f) || fclose (f) != 0;
4230 ac_clean_files
="$ac_clean_files conftest.out"
4231 # Check that the compiler produces executables we can run. If not, either
4232 # the compiler is broken, or we cross compile.
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4234 $as_echo_n "checking whether we are cross compiling... " >&6; }
4235 if test "$cross_compiling" != yes; then
4236 { { ac_try
="$ac_link"
4238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_link") 2>&5
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }
4247 if { ac_try='./conftest$ac_cv_exeext'
4248 { { case "(($ac_try" in
4249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4250 *) ac_try_echo
=$ac_try;;
4252 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_try") 2>&5
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; }; then
4260 if test "$cross_compiling" = maybe
; then
4263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4265 as_fn_error $?
"cannot run C compiled programs.
4266 If you meant to cross compile, use \`--host'.
4267 See \`config.log' for more details" "$LINENO" 5; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4272 $as_echo "$cross_compiling" >&6; }
4274 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4275 ac_clean_files
=$ac_clean_files_save
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4278 $as_echo_n "checking for suffix of object files... " >&6; }
4279 if ${ac_cv_objext+:} false
; then :
4280 $as_echo_n "(cached) " >&6
4282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4293 rm -f conftest.o conftest.obj
4294 if { { ac_try
="$ac_compile"
4296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_compile") 2>&5
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }; then :
4305 for ac_file in conftest.o conftest.obj conftest.*; do
4306 test -f "$ac_file" || continue;
4308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4314 $as_echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4319 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4320 See \
`config.log' for more details" "$LINENO" 5; }
4322 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4325 $as_echo "$ac_cv_objext" >&6; }
4326 OBJEXT=$ac_cv_objext
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4329 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4330 if ${ac_cv_c_compiler_gnu+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4347 if ac_fn_c_try_compile "$LINENO"; then :
4352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4353 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4357 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4358 if test $ac_compiler_gnu = yes; then
4363 ac_test_CFLAGS=${CFLAGS+set}
4364 ac_save_CFLAGS=$CFLAGS
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4366 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4367 if ${ac_cv_prog_cc_g+:} false; then :
4368 $as_echo_n "(cached) " >&6
4370 ac_save_c_werror_flag=$ac_c_werror_flag
4371 ac_c_werror_flag=yes
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4385 if ac_fn_c_try_compile "$LINENO"; then :
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4400 if ac_fn_c_try_compile "$LINENO"; then :
4403 ac_c_werror_flag=$ac_save_c_werror_flag
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4416 if ac_fn_c_try_compile "$LINENO"; then :
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 ac_c_werror_flag=$ac_save_c_werror_flag
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4427 $as_echo "$ac_cv_prog_cc_g" >&6; }
4428 if test "$ac_test_CFLAGS" = set; then
4429 CFLAGS=$ac_save_CFLAGS
4430 elif test $ac_cv_prog_cc_g = yes; then
4431 if test "$GCC" = yes; then
4437 if test "$GCC" = yes; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4444 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4445 if ${ac_cv_prog_cc_c89+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 ac_cv_prog_cc_c89=no
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4456 struct buf { int x; };
4457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4458 static char *e (p, i)
4464 static char *f (char * (*g) (char **, int), char **p, ...)
4469 s = g (p, va_arg (v,int));
4474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4475 function prototypes and stuff, but not '\xHH' hex character constants.
4476 These don't provoke an error unfortunately, instead are silently treated
4477 as 'x'. The following induces an error, until -std is added to get
4478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4479 array size at least. It's necessary to write '\x00'==0 to get something
4480 that's true only with -std. */
4481 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4483 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4484 inside strings and character constants. */
4486 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4488 int test (int i, double x);
4489 struct s1 {int (*f) (int a);};
4490 struct s2 {int (*f) (double a);};
4491 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4497 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4502 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4503 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4505 CC="$ac_save_CC $ac_arg"
4506 if ac_fn_c_try_compile "$LINENO"; then :
4507 ac_cv_prog_cc_c89=$ac_arg
4509 rm -f core conftest.err conftest.$ac_objext
4510 test "x$ac_cv_prog_cc_c89" != "xno" && break
4512 rm -f conftest.$ac_ext
4517 case "x$ac_cv_prog_cc_c89" in
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4520 $as_echo "none needed" >&6; } ;;
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4523 $as_echo "unsupported" >&6; } ;;
4525 CC="$CC $ac_cv_prog_cc_c89"
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4527 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4529 if test "x$ac_cv_prog_cc_c89" != xno; then :
4534 ac_cpp='$CPP $CPPFLAGS'
4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4545 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4546 if ${am_cv_prog_cc_c_o+:} false; then :
4547 $as_echo_n "(cached) " >&6
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4560 # Make sure it works both with $CC and with simple cc.
4561 # Following AC_PROG_CC_C_O, we do the test twice because some
4562 # compilers refuse to overwrite an existing .o file with -o,
4563 # though they will create one.
4564 am_cv_prog_cc_c_o=yes
4566 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4567 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } \
4571 && test -f conftest2.$ac_objext; then
4574 am_cv_prog_cc_c_o=no
4578 rm -f core conftest*
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4582 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4583 if test "$am_cv_prog_cc_c_o" != yes; then
4584 # Losing compiler, so override with the script.
4585 # FIXME: It is wrong to rewrite CC.
4586 # But if we don't then we get into trouble of one sort or another.
4587 # A longer-term fix would be to have automake use am__CC in this case,
4588 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4589 CC="$am_aux_dir/compile $CC"
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 depcc="$CC" am_compiler_list=
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4601 $as_echo_n "checking dependency style of $depcc... " >&6; }
4602 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4606 # We make a subdir and do the tests there. Otherwise we can end up
4607 # making bogus files that we don't know about and never remove. For
4608 # instance it was reported that on HP-UX the gcc test will end up
4609 # making a dummy file named 'D' -- because '-MD' means "put the output
4613 # Copy depcomp to subdir because otherwise we won't find it if we're
4614 # using a relative directory.
4615 cp "$am_depcomp" conftest.dir
4617 # We will build objects and dependencies in a subdirectory because
4618 # it helps to detect inapplicable dependency modes. For instance
4619 # both Tru64's cc and ICC support -MD to output dependencies as a
4620 # side effect of compilation, but ICC will put the dependencies in
4621 # the current directory while Tru64 will put them in the object
4625 am_cv_CC_dependencies_compiler_type=none
4626 if test "$am_compiler_list" = ""; then
4627 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4630 case " $depcc " in #(
4631 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4634 for depmode in $am_compiler_list; do
4635 # Setup a source with many dependencies, because some compilers
4636 # like to wrap large dependency lists on column 80 (with \), and
4637 # we should not choose a depcomp mode which is confused by this.
4639 # We need to recreate these files for each test, as the compiler may
4640 # overwrite some of them when testing with obscure command lines.
4641 # This happens at least with the AIX C compiler.
4643 for i in 1 2 3 4 5 6; do
4644 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4645 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4646 # Solaris 10 /bin/sh.
4647 echo '/* dummy */' > sub/conftst$i.h
4649 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4651 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4652 # mode. It turns out that the SunPro C++ compiler does not properly
4653 # handle '-M -o', and we need to detect this. Also, some Intel
4654 # versions had trouble with output in subdirs.
4655 am__obj=sub/conftest.${OBJEXT-o}
4656 am__minus_obj="-o $am__obj"
4659 # This depmode causes a compiler race in universal mode.
4660 test "$am__universal" = false || continue
4663 # After this tag, mechanisms are not by side-effect, so they'll
4664 # only be used when explicitly requested.
4665 if test "x$enable_dependency_tracking" = xyes; then
4671 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4672 # This compiler won't grok '-c -o', but also, the minuso test has
4673 # not run yet. These depmodes are late enough in the game, and
4674 # so weak that their functioning should not be impacted.
4675 am__obj=conftest.${OBJEXT-o}
4680 if depmode=$depmode \
4681 source=sub/conftest.c object=$am__obj \
4682 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4683 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4684 >/dev/null 2>conftest.err &&
4685 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4686 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4687 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4688 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4689 # icc doesn't choke on unknown options, it will just issue warnings
4690 # or remarks (even with -Werror). So we grep stderr for any message
4691 # that says an option was ignored or not supported.
4692 # When given -MP, icc 7.0 and 7.1 complain thusly:
4693 # icc: Command line warning: ignoring option '-M'; no argument required
4694 # The diagnosis changed in icc 8.0:
4695 # icc: Command line remark: option '-MP' not supported
4696 if (grep 'ignoring option' conftest.err ||
4697 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4698 am_cv_CC_dependencies_compiler_type=$depmode
4707 am_cv_CC_dependencies_compiler_type=none
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4712 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4713 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4716 test "x$enable_dependency_tracking" != xno \
4717 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4719 am__fastdepCC_FALSE='#'
4721 am__fastdepCC_TRUE='#'
4722 am__fastdepCC_FALSE=
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4733 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4734 # On Suns, sometimes $CPP names a directory.
4735 if test -n "$CPP" && test -d "$CPP"; then
4738 if test -z "$CPP"; then
4739 if ${ac_cv_prog_CPP+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 # Double quotes because CPP needs to be expanded
4743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4746 for ac_c_preproc_warn_flag in '' yes
4748 # Use a header file that comes with gcc, so configuring glibc
4749 # with a fresh cross-compiler works.
4750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4751 # <limits.h> exists even on freestanding compilers.
4752 # On the NeXT, cc -E runs the code through the compiler's parser,
4753 # not just through cpp. "Syntax error" is here to catch this case.
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4757 # include <limits.h>
4759 # include <assert.h>
4763 if ac_fn_c_try_cpp "$LINENO"; then :
4766 # Broken: fails on valid input.
4769 rm -f conftest.err conftest.i conftest.$ac_ext
4771 # OK, works on sane cases. Now check whether nonexistent headers
4772 # can be detected and how.
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4775 #include <ac_nonexistent.h>
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4778 # Broken: success on invalid input.
4781 # Passes both tests.
4785 rm -f conftest.err conftest.i conftest.$ac_ext
4788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4789 rm -f conftest.i conftest.err conftest.
$ac_ext
4790 if $ac_preproc_ok; then :
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4803 $as_echo "$CPP" >&6; }
4805 for ac_c_preproc_warn_flag
in '' yes
4807 # Use a header file that comes with gcc, so configuring glibc
4808 # with a fresh cross-compiler works.
4809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4810 # <limits.h> exists even on freestanding compilers.
4811 # On the NeXT, cc -E runs the code through the compiler's parser,
4812 # not just through cpp. "Syntax error" is here to catch this case.
4813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4816 # include <limits.h>
4818 # include <assert.h>
4822 if ac_fn_c_try_cpp
"$LINENO"; then :
4825 # Broken: fails on valid input.
4828 rm -f conftest.err conftest.i conftest.
$ac_ext
4830 # OK, works on sane cases. Now check whether nonexistent headers
4831 # can be detected and how.
4832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4834 #include <ac_nonexistent.h>
4836 if ac_fn_c_try_cpp
"$LINENO"; then :
4837 # Broken: success on invalid input.
4840 # Passes both tests.
4844 rm -f conftest.err conftest.i conftest.
$ac_ext
4847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4848 rm -f conftest.i conftest.err conftest.
$ac_ext
4849 if $ac_preproc_ok; then :
4852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4854 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4855 See \`config.log' for more details" "$LINENO" 5; }
4859 ac_cpp
='$CPP $CPPFLAGS'
4860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4866 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4867 if ${ac_cv_path_GREP+:} false
; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -z "$GREP"; then
4871 ac_path_GREP_found
=false
4872 # Loop through the user's path and test for each of PROGNAME-LIST
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_prog
in grep ggrep
; do
4879 for ac_exec_ext
in '' $ac_executable_extensions; do
4880 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4881 as_fn_executable_p
"$ac_path_GREP" ||
continue
4882 # Check for GNU ac_path_GREP and select it if it is found.
4883 # Check for GNU $ac_path_GREP
4884 case `"$ac_path_GREP" --version 2>&1` in
4886 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4889 $as_echo_n 0123456789 >"conftest.in"
4892 cat "conftest.in" "conftest.in" >"conftest.tmp"
4893 mv "conftest.tmp" "conftest.in"
4894 cp "conftest.in" "conftest.nl"
4895 $as_echo 'GREP' >> "conftest.nl"
4896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4897 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4898 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4899 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4900 # Best one so far, save it but keep looking for a better one
4901 ac_cv_path_GREP
="$ac_path_GREP"
4902 ac_path_GREP_max
=$ac_count
4904 # 10*(2^10) chars as input seems more than enough
4905 test $ac_count -gt 10 && break
4907 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4910 $ac_path_GREP_found && break 3
4915 if test -z "$ac_cv_path_GREP"; then
4916 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4919 ac_cv_path_GREP
=$GREP
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4924 $as_echo "$ac_cv_path_GREP" >&6; }
4925 GREP
="$ac_cv_path_GREP"
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4929 $as_echo_n "checking for egrep... " >&6; }
4930 if ${ac_cv_path_EGREP+:} false
; then :
4931 $as_echo_n "(cached) " >&6
4933 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4934 then ac_cv_path_EGREP
="$GREP -E"
4936 if test -z "$EGREP"; then
4937 ac_path_EGREP_found
=false
4938 # Loop through the user's path and test for each of PROGNAME-LIST
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_prog
in egrep; do
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4947 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4948 # Check for GNU ac_path_EGREP and select it if it is found.
4949 # Check for GNU $ac_path_EGREP
4950 case `"$ac_path_EGREP" --version 2>&1` in
4952 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4955 $as_echo_n 0123456789 >"conftest.in"
4958 cat "conftest.in" "conftest.in" >"conftest.tmp"
4959 mv "conftest.tmp" "conftest.in"
4960 cp "conftest.in" "conftest.nl"
4961 $as_echo 'EGREP' >> "conftest.nl"
4962 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4963 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4964 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4965 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4966 # Best one so far, save it but keep looking for a better one
4967 ac_cv_path_EGREP
="$ac_path_EGREP"
4968 ac_path_EGREP_max
=$ac_count
4970 # 10*(2^10) chars as input seems more than enough
4971 test $ac_count -gt 10 && break
4973 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4976 $ac_path_EGREP_found && break 3
4981 if test -z "$ac_cv_path_EGREP"; then
4982 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4985 ac_cv_path_EGREP
=$EGREP
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4991 $as_echo "$ac_cv_path_EGREP" >&6; }
4992 EGREP
="$ac_cv_path_EGREP"
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4996 $as_echo_n "checking for ANSI C header files... " >&6; }
4997 if ${ac_cv_header_stdc+:} false
; then :
4998 $as_echo_n "(cached) " >&6
5000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5015 if ac_fn_c_try_compile
"$LINENO"; then :
5016 ac_cv_header_stdc
=yes
5018 ac_cv_header_stdc
=no
5020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5022 if test $ac_cv_header_stdc = yes; then
5023 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5030 $EGREP "memchr" >/dev
/null
2>&1; then :
5033 ac_cv_header_stdc
=no
5039 if test $ac_cv_header_stdc = yes; then
5040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5047 $EGREP "free" >/dev
/null
2>&1; then :
5050 ac_cv_header_stdc
=no
5056 if test $ac_cv_header_stdc = yes; then
5057 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5058 if test "$cross_compiling" = yes; then :
5061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 #if ((' ' & 0x0FF) == 0x020)
5066 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5067 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5069 # define ISLOWER(c) \
5070 (('a' <= (c) && (c) <= 'i') \
5071 || ('j' <= (c) && (c) <= 'r') \
5072 || ('s' <= (c) && (c) <= 'z'))
5073 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5076 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5081 for (i = 0; i < 256; i++)
5082 if (XOR (islower (i), ISLOWER (i))
5083 || toupper (i) != TOUPPER (i))
5088 if ac_fn_c_try_run
"$LINENO"; then :
5091 ac_cv_header_stdc
=no
5093 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5094 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5100 $as_echo "$ac_cv_header_stdc" >&6; }
5101 if test $ac_cv_header_stdc = yes; then
5103 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5107 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5108 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5109 inttypes.h stdint.h unistd.h
5111 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5112 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5114 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5115 cat >>confdefs.h
<<_ACEOF
5116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5125 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5126 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5133 if test "$MINIX" = yes; then
5135 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5138 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5141 $as_echo "#define _MINIX 1" >>confdefs.h
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5147 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5148 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5149 $as_echo_n "(cached) " >&6
5151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5154 # define __EXTENSIONS__ 1
5155 $ac_includes_default
5164 if ac_fn_c_try_compile
"$LINENO"; then :
5165 ac_cv_safe_to_define___extensions__
=yes
5167 ac_cv_safe_to_define___extensions__
=no
5169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5172 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5173 test $ac_cv_safe_to_define___extensions__ = yes &&
5174 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5176 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5178 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5180 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5182 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5187 # Check whether --with-toolexeclibdir was given.
5188 if test "${with_toolexeclibdir+set}" = set; then :
5189 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5193 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5197 with_toolexeclibdir
=no
5202 # Calculate toolexeclibdir
5203 # Also toolexecdir, though it's only used in toolexeclibdir
5204 case ${version_specific_libs} in
5206 # Need the gcc compiler version to know where to install libraries
5207 # and header files if --enable-version-specific-runtime-libs option
5209 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5210 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5213 if test -n "$with_cross_host" &&
5214 test x
"$with_cross_host" != x
"no"; then
5215 # Install a library built with a cross compiler in tooldir, not libdir.
5216 toolexecdir
='$(exec_prefix)/$(target_alias)'
5217 case ${with_toolexeclibdir} in
5219 toolexeclibdir
='$(toolexecdir)/lib'
5222 toolexeclibdir
=${with_toolexeclibdir}
5226 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5227 toolexeclibdir
='$(libdir)'
5229 multi_os_directory
=`$CC -print-multi-os-directory`
5230 case $multi_os_directory in
5231 .
) ;; # Avoid trailing /.
5232 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5239 # Create a spec file, so that compile/link tests don't fail
5240 test -f libgfortran.spec ||
touch libgfortran.spec
5243 ac_cpp
='$CPP $CPPFLAGS'
5244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5248 # Check the compiler.
5249 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5250 # We must force CC to /not/ be precious variables; otherwise
5251 # the wrong, non-multilib-adjusted value will be used in multilibs.
5252 # As a side effect, we have to subst CFLAGS ourselves.
5257 ac_cpp
='$CPP $CPPFLAGS'
5258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5263 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_CC+:} false
; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$CC"; then
5270 ac_cv_prog_CC
="$CC" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 if test -n "$CC"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5292 $as_echo "$CC" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5300 if test -z "$ac_cv_prog_CC"; then
5302 # Extract the first word of "gcc", so it can be a program name with args.
5303 set dummy gcc
; ac_word
=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$ac_ct_CC"; then
5310 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_ac_ct_CC
="gcc"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5330 if test -n "$ac_ct_CC"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5332 $as_echo "$ac_ct_CC" >&6; }
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5338 if test "x$ac_ct_CC" = x
; then
5341 case $cross_compiling:$ac_tool_warned in
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned
=yes ;;
5353 if test -z "$CC"; then
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5356 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_CC+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$CC"; then
5363 ac_cv_prog_CC
="$CC" # Let the user override the test.
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_exec_ext
in '' $ac_executable_extensions; do
5371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 if test -n "$CC"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5385 $as_echo "$CC" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5394 if test -z "$CC"; then
5395 # Extract the first word of "cc", so it can be a program name with args.
5396 set dummy cc
; ac_word
=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_CC+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -n "$CC"; then
5403 ac_cv_prog_CC
="$CC" # Let the user override the test.
5406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir
=.
5411 for ac_exec_ext
in '' $ac_executable_extensions; do
5412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5414 ac_prog_rejected
=yes
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 if test $ac_prog_rejected = yes; then
5426 # We found a bogon in the path, so make sure we never use it.
5427 set dummy
$ac_cv_prog_CC
5429 if test $# != 0; then
5430 # We chose a different compiler from the bogus one.
5431 # However, it has the same basename, so the bogon will be chosen
5432 # first if we set CC to just the basename; use the full file name.
5434 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5440 if test -n "$CC"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5442 $as_echo "$CC" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5450 if test -z "$CC"; then
5451 if test -n "$ac_tool_prefix"; then
5452 for ac_prog
in cl.exe
5454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5455 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_CC+:} false
; then :
5459 $as_echo_n "(cached) " >&6
5461 if test -n "$CC"; then
5462 ac_cv_prog_CC
="$CC" # Let the user override the test.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 if test -n "$CC"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5484 $as_echo "$CC" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 test -n "$CC" && break
5494 if test -z "$CC"; then
5496 for ac_prog
in cl.exe
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy
$ac_prog; ac_word
=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5503 $as_echo_n "(cached) " >&6
5505 if test -n "$ac_ct_CC"; then
5506 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir
=.
5513 for ac_exec_ext
in '' $ac_executable_extensions; do
5514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_CC
="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5526 if test -n "$ac_ct_CC"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5528 $as_echo "$ac_ct_CC" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5535 test -n "$ac_ct_CC" && break
5538 if test "x$ac_ct_CC" = x
; then
5541 case $cross_compiling:$ac_tool_warned in
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned
=yes ;;
5554 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5556 as_fn_error $?
"no acceptable C compiler found in \$PATH
5557 See \`config.log' for more details" "$LINENO" 5; }
5559 # Provide some information about the compiler.
5560 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5563 for ac_option
in --version -v -V -qversion; do
5564 { { ac_try
="$ac_compiler $ac_option >&5"
5566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5567 *) ac_try_echo=$ac_try;;
5569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5570 $as_echo "$ac_try_echo"; } >&5
5571 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5573 if test -s conftest.err; then
5575 ... rest of stderr output deleted ...
5576 10q' conftest.err >conftest.er1
5577 cat conftest.er1 >&5
5579 rm -f conftest.er1 conftest.err
5580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5581 test $ac_status = 0; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5585 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5586 if ${ac_cv_c_compiler_gnu+:} false; then :
5587 $as_echo_n "(cached) " >&6
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5603 if ac_fn_c_try_compile "$LINENO"; then :
5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5609 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5613 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5614 if test $ac_compiler_gnu = yes; then
5619 ac_test_CFLAGS=${CFLAGS+set}
5620 ac_save_CFLAGS=$CFLAGS
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5622 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5623 if ${ac_cv_prog_cc_g+:} false; then :
5624 $as_echo_n "(cached) " >&6
5626 ac_save_c_werror_flag=$ac_c_werror_flag
5627 ac_c_werror_flag=yes
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5641 if ac_fn_c_try_compile "$LINENO"; then :
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5656 if ac_fn_c_try_compile "$LINENO"; then :
5659 ac_c_werror_flag=$ac_save_c_werror_flag
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5672 if ac_fn_c_try_compile "$LINENO"; then :
5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 ac_c_werror_flag=$ac_save_c_werror_flag
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5683 $as_echo "$ac_cv_prog_cc_g" >&6; }
5684 if test "$ac_test_CFLAGS" = set; then
5685 CFLAGS=$ac_save_CFLAGS
5686 elif test $ac_cv_prog_cc_g = yes; then
5687 if test "$GCC" = yes; then
5693 if test "$GCC" = yes; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5700 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5701 if ${ac_cv_prog_cc_c89+:} false; then :
5702 $as_echo_n "(cached) " >&6
5704 ac_cv_prog_cc_c89=no
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5712 struct buf { int x; };
5713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5714 static char *e (p, i)
5720 static char *f (char * (*g) (char **, int), char **p, ...)
5725 s = g (p, va_arg (v,int));
5730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5731 function prototypes and stuff, but not '\xHH' hex character constants.
5732 These don't provoke an error unfortunately, instead are silently treated
5733 as 'x'. The following induces an error, until -std is added to get
5734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5735 array size at least. It's necessary to write '\x00'==0 to get something
5736 that's true only with -std. */
5737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5740 inside strings and character constants. */
5742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5744 int test (int i, double x);
5745 struct s1 {int (*f) (int a);};
5746 struct s2 {int (*f) (double a);};
5747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5761 CC="$ac_save_CC $ac_arg"
5762 if ac_fn_c_try_compile "$LINENO"; then :
5763 ac_cv_prog_cc_c89=$ac_arg
5765 rm -f core conftest.err conftest.$ac_objext
5766 test "x$ac_cv_prog_cc_c89" != "xno" && break
5768 rm -f conftest.$ac_ext
5773 case "x$ac_cv_prog_cc_c89" in
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5776 $as_echo "none needed" >&6; } ;;
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5779 $as_echo "unsupported" >&6; } ;;
5781 CC="$CC $ac_cv_prog_cc_c89"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5783 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5785 if test "x$ac_cv_prog_cc_c89" != xno; then :
5790 ac_cpp='$CPP $CPPFLAGS'
5791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5796 ac_cpp='$CPP $CPPFLAGS'
5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5801 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5802 if ${am_cv_prog_cc_c_o+:} false; then :
5803 $as_echo_n "(cached) " >&6
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5816 # Make sure it works both with $CC and with simple cc.
5817 # Following AC_PROG_CC_C_O, we do the test twice because some
5818 # compilers refuse to overwrite an existing .o file with -o,
5819 # though they will create one.
5820 am_cv_prog_cc_c_o=yes
5822 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5823 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } \
5827 && test -f conftest2.$ac_objext; then
5830 am_cv_prog_cc_c_o=no
5834 rm -f core conftest*
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5838 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5839 if test "$am_cv_prog_cc_c_o" != yes; then
5840 # Losing compiler, so override with the script.
5841 # FIXME: It is wrong to rewrite CC.
5842 # But if we don't then we get into trouble of one sort or another.
5843 # A longer-term fix would be to have automake use am__CC in this case,
5844 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5845 CC="$am_aux_dir/compile $CC"
5848 ac_cpp='$CPP $CPPFLAGS'
5849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5854 depcc="$CC" am_compiler_list=
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5857 $as_echo_n "checking dependency style of $depcc... " >&6; }
5858 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5862 # We make a subdir and do the tests there. Otherwise we can end up
5863 # making bogus files that we don't know about and never remove. For
5864 # instance it was reported that on HP-UX the gcc test will end up
5865 # making a dummy file named 'D' -- because '-MD' means "put the output
5869 # Copy depcomp to subdir because otherwise we won't find it if we're
5870 # using a relative directory.
5871 cp "$am_depcomp" conftest.dir
5873 # We will build objects and dependencies in a subdirectory because
5874 # it helps to detect inapplicable dependency modes. For instance
5875 # both Tru64's cc and ICC support -MD to output dependencies as a
5876 # side effect of compilation, but ICC will put the dependencies in
5877 # the current directory while Tru64 will put them in the object
5881 am_cv_CC_dependencies_compiler_type=none
5882 if test "$am_compiler_list" = ""; then
5883 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5886 case " $depcc " in #(
5887 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5890 for depmode in $am_compiler_list; do
5891 # Setup a source with many dependencies, because some compilers
5892 # like to wrap large dependency lists on column 80 (with \), and
5893 # we should not choose a depcomp mode which is confused by this.
5895 # We need to recreate these files for each test, as the compiler may
5896 # overwrite some of them when testing with obscure command lines.
5897 # This happens at least with the AIX C compiler.
5899 for i in 1 2 3 4 5 6; do
5900 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5901 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5902 # Solaris 10 /bin/sh.
5903 echo '/* dummy */' > sub/conftst$i.h
5905 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5907 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5908 # mode. It turns out that the SunPro C++ compiler does not properly
5909 # handle '-M -o', and we need to detect this. Also, some Intel
5910 # versions had trouble with output in subdirs.
5911 am__obj=sub/conftest.${OBJEXT-o}
5912 am__minus_obj="-o $am__obj"
5915 # This depmode causes a compiler race in universal mode.
5916 test "$am__universal" = false || continue
5919 # After this tag, mechanisms are not by side-effect, so they'll
5920 # only be used when explicitly requested.
5921 if test "x$enable_dependency_tracking" = xyes; then
5927 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5928 # This compiler won't grok '-c -o', but also, the minuso test has
5929 # not run yet. These depmodes are late enough in the game, and
5930 # so weak that their functioning should not be impacted.
5931 am__obj=conftest.${OBJEXT-o}
5936 if depmode=$depmode \
5937 source=sub/conftest.c object=$am__obj \
5938 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5939 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5940 >/dev/null 2>conftest.err &&
5941 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5942 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5943 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5944 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5945 # icc doesn't choke on unknown options, it will just issue warnings
5946 # or remarks (even with -Werror). So we grep stderr for any message
5947 # that says an option was ignored or not supported.
5948 # When given -MP, icc 7.0 and 7.1 complain thusly:
5949 # icc: Command line warning: ignoring option '-M'; no argument required
5950 # The diagnosis changed in icc 8.0:
5951 # icc: Command line remark: option '-MP' not supported
5952 if (grep 'ignoring option' conftest.err ||
5953 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5954 am_cv_CC_dependencies_compiler_type=$depmode
5963 am_cv_CC_dependencies_compiler_type=none
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5968 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5969 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5972 test "x$enable_dependency_tracking" != xno \
5973 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5975 am__fastdepCC_FALSE='#'
5977 am__fastdepCC_TRUE='#'
5978 am__fastdepCC_FALSE=
5988 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5990 if test "x$GCC" = "xyes"; then
5991 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5992 ## We like to use C11 and C99 routines when available. This makes
5994 ## __STDC_VERSION__ is set such that libc includes make them available.
5995 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5996 ## Compile the following tests with the same system header contents
5997 ## that we'll encounter when compiling our own source files.
5998 CFLAGS="-std=gnu11 $CFLAGS"
6001 xpowerpc64le*-linux*)
6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6004 #if __SIZEOF_LONG_DOUBLE__ != 16
6005 #error long double is double
6015 if ac_fn_c_try_cpp "$LINENO"; then :
6016 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6017 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6018 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6021 rm -f conftest.err conftest.i conftest.$ac_ext
6027 if test "x$have_real_17" != xno; then
6029 HAVE_REAL_17_FALSE='#'
6031 HAVE_REAL_17_TRUE='#'
6036 # Add CET specific flags if CET is enabled
6037 # Check whether --enable-cet was given.
6038 if test "${enable_cet+set}" = set; then :
6039 enableval=$enable_cet;
6040 case "$enableval" in
6042 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6051 $as_echo_n "checking for CET support... " >&6; }
6053 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6055 i[34567]86-*-linux* | x86_64-*-linux*)
6056 case "$enable_cet" in
6058 # Check if target supports multi-byte NOPs
6059 # and if compiler and assembler support CET insn.
6060 cet_save_CFLAGS="$CFLAGS"
6061 CFLAGS="$CFLAGS -fcf-protection"
6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6069 #if !defined(__SSE2__)
6070 #error target does not support multi-byte NOPs
6079 if ac_fn_c_try_compile "$LINENO"; then :
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 CFLAGS="$cet_save_CFLAGS"
6088 # Check if assembler supports CET.
6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6100 if ac_fn_c_try_compile "$LINENO"; then :
6103 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113 if test x$enable_cet = xyes; then
6114 CET_FLAGS="-fcf-protection -mshstk"
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6116 $as_echo "yes" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6122 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6123 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6124 CFLAGS="$CFLAGS $CET_FLAGS"
6130 # Check for symbol versioning (copied from libssp).
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6132 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6133 # Check whether --enable-symvers was given.
6134 if test "${enable_symvers+set}" = set; then :
6135 enableval=$enable_symvers; gfortran_use_symver=$enableval
6137 gfortran_use_symver=yes
6140 if test "x$gfortran_use_symver" != xno; then
6141 save_LDFLAGS="$LDFLAGS"
6142 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6143 cat > conftest.map <<EOF
6145 global: *foo*; bar; local: *;
6148 if test x$gcc_no_link = xyes; then
6149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6162 if ac_fn_c_try_link "$LINENO"; then :
6163 gfortran_use_symver=gnu
6165 gfortran_use_symver=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6169 if test x$gfortran_use_symver = xno; then
6170 case "$target_os" in
6172 LDFLAGS="$save_LDFLAGS"
6173 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6174 # Sun ld cannot handle wildcards and treats all entries as undefined.
6175 cat > conftest.map <<EOF
6177 global: foo; local: *;
6180 if test x$gcc_no_link = xyes; then
6181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6194 if ac_fn_c_try_link "$LINENO"; then :
6195 gfortran_use_symver=sun
6197 gfortran_use_symver=no
6199 rm -f core conftest.err conftest.$ac_objext \
6200 conftest$ac_exeext conftest.$ac_ext
6204 LDFLAGS="$save_LDFLAGS"
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6207 $as_echo "$gfortran_use_symver" >&6; }
6208 if test "x$gfortran_use_symver" != xno; then
6209 LIBGFOR_USE_SYMVER_TRUE=
6210 LIBGFOR_USE_SYMVER_FALSE='#'
6212 LIBGFOR_USE_SYMVER_TRUE='#'
6213 LIBGFOR_USE_SYMVER_FALSE=
6216 if test "x$gfortran_use_symver" = xgnu; then
6217 LIBGFOR_USE_SYMVER_GNU_TRUE=
6218 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6220 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6221 LIBGFOR_USE_SYMVER_GNU_FALSE=
6224 if test "x$gfortran_use_symver" = xsun; then
6225 LIBGFOR_USE_SYMVER_SUN_TRUE=
6226 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6228 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6229 LIBGFOR_USE_SYMVER_SUN_FALSE=
6233 # For GPU offloading, not everything in libfortran can be supported.
6234 # Currently, the only target that has this problem is nvptx. The
6235 # following is a (partial) list of features that are unsupportable on
6236 # this particular target:
6239 # * C library support for I/O, with printf as the one notable exception
6240 # * C library support for other features such as signal, environment
6241 # variables, time functions
6243 if test "x${target_cpu}" = xnvptx; then
6244 LIBGFOR_MINIMAL_TRUE=
6245 LIBGFOR_MINIMAL_FALSE='#'
6247 LIBGFOR_MINIMAL_TRUE='#'
6248 LIBGFOR_MINIMAL_FALSE=
6252 # Some compiler target support may have limited support for integer
6253 # or floating point numbers – or may want to reduce the libgfortran size
6254 # although they do have the support.
6255 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6256 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6261 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6262 # similarly to how libstdc++ does it
6263 ac_test_CFLAGS="${CFLAGS+set}"
6264 ac_save_CFLAGS="$CFLAGS"
6266 # Check for -ffunction-sections -fdata-sections
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6268 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6269 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6281 if ac_fn_c_try_compile "$LINENO"; then :
6286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6287 if test "$ac_test_CFLAGS" = set; then
6288 CFLAGS="$ac_save_CFLAGS"
6290 # this is the suspicious part
6293 if test x"$ac_fdsections" = x"yes"; then
6294 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6297 $as_echo "$ac_fdsections" >&6; }
6300 # Check linker hardware capability support.
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6302 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6303 if ${ac_cv_path_SED+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6307 for ac_i in 1 2 3 4 5 6 7; do
6308 ac_script="$ac_script$as_nl$ac_script"
6310 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6311 { ac_script=; unset ac_script;}
6312 if test -z "$SED"; then
6313 ac_path_SED_found=false
6314 # Loop through the user's path and test for each of PROGNAME-LIST
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir=.
6320 for ac_prog in sed gsed; do
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6323 as_fn_executable_p "$ac_path_SED" || continue
6324 # Check for GNU ac_path_SED and select it if it is found.
6325 # Check for GNU $ac_path_SED
6326 case `"$ac_path_SED" --version 2>&1` in
6328 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6331 $as_echo_n 0123456789 >"conftest.in"
6334 cat "conftest.in" "conftest.in" >"conftest.tmp"
6335 mv "conftest.tmp" "conftest.in"
6336 cp "conftest.in" "conftest.nl"
6337 $as_echo '' >> "conftest.nl"
6338 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6340 as_fn_arith $ac_count + 1 && ac_count=$as_val
6341 if test $ac_count -gt ${ac_path_SED_max-0}; then
6342 # Best one so far, save it but keep looking for a better one
6343 ac_cv_path_SED="$ac_path_SED"
6344 ac_path_SED_max=$ac_count
6346 # 10*(2^10) chars as input seems more than enough
6347 test $ac_count -gt 10 && break
6349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6352 $ac_path_SED_found && break 3
6357 if test -z "$ac_cv_path_SED"; then
6358 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6366 $as_echo "$ac_cv_path_SED" >&6; }
6367 SED="$ac_cv_path_SED"
6370 test -z "$SED" && SED=sed
6371 Xsed="$SED -e 1s/^X//"
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6384 $as_echo_n "checking for fgrep... " >&6; }
6385 if ${ac_cv_path_FGREP+:} false; then :
6386 $as_echo_n "(cached) " >&6
6388 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6389 then ac_cv_path_FGREP="$GREP -F"
6391 if test -z "$FGREP"; then
6392 ac_path_FGREP_found=false
6393 # Loop through the user's path and test for each of PROGNAME-LIST
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6398 test -z "$as_dir" && as_dir=.
6399 for ac_prog in fgrep; do
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6402 as_fn_executable_p "$ac_path_FGREP" || continue
6403 # Check for GNU ac_path_FGREP and select it if it is found.
6404 # Check for GNU $ac_path_FGREP
6405 case `"$ac_path_FGREP" --version 2>&1` in
6407 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6410 $as_echo_n 0123456789 >"conftest.in"
6413 cat "conftest.in" "conftest.in" >"conftest.tmp"
6414 mv "conftest.tmp" "conftest.in"
6415 cp "conftest.in" "conftest.nl"
6416 $as_echo 'FGREP' >> "conftest.nl"
6417 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6418 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6419 as_fn_arith $ac_count + 1 && ac_count=$as_val
6420 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6421 # Best one so far, save it but keep looking for a better one
6422 ac_cv_path_FGREP="$ac_path_FGREP"
6423 ac_path_FGREP_max=$ac_count
6425 # 10*(2^10) chars as input seems more than enough
6426 test $ac_count -gt 10 && break
6428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6431 $ac_path_FGREP_found && break 3
6436 if test -z "$ac_cv_path_FGREP"; then
6437 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6440 ac_cv_path_FGREP=$FGREP
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6446 $as_echo "$ac_cv_path_FGREP" >&6; }
6447 FGREP="$ac_cv_path_FGREP"
6450 test -z "$GREP" && GREP=grep
6468 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6469 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6470 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6473 $as_echo_n "checking how to print strings... " >&6; }
6474 # Test print first, because it will be a builtin if present.
6475 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6476 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6478 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6481 # Use this function as a fallback that always works.
6482 func_fallback_echo ()
6484 eval 'cat <<_LTECHO_EOF
6488 ECHO='func_fallback_echo'
6491 # func_echo_all arg...
6492 # Invoke $ECHO with all args, space-separated.
6499 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6500 $as_echo "printf" >&6; } ;;
6501 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6502 $as_echo "print -r" >&6; } ;;
6503 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6504 $as_echo "cat" >&6; } ;;
6522 # Check whether --with-gnu-ld was given.
6523 if test "${with_gnu_ld+set}" = set; then :
6524 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6530 if test "$GCC" = yes; then
6531 # Check if gcc -print-prog-name=ld gives a path.
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6533 $as_echo_n "checking for ld used by $CC... " >&6; }
6536 # gcc leaves a trailing carriage return which upsets mingw
6537 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6539 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6542 # Accept absolute paths.
6544 re_direlt='/[^/][^/]*/\.\./'
6545 # Canonicalize the pathname of ld
6546 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6547 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6548 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6550 test -z "$LD" && LD="$ac_prog"
6553 # If it fails, then pretend we aren't using GCC.
6557 # If it is relative, then search for the first ld in PATH.
6561 elif test "$with_gnu_ld" = yes; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6563 $as_echo_n "checking for GNU ld... " >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6566 $as_echo_n "checking for non-GNU ld... " >&6; }
6568 if ${lt_cv_path_LD+:} false; then :
6569 $as_echo_n "(cached) " >&6
6571 if test -z "$LD"; then
6572 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6573 for ac_dir in $PATH; do
6575 test -z "$ac_dir" && ac_dir=.
6576 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6577 lt_cv_path_LD="$ac_dir/$ac_prog"
6578 # Check to see if the program is GNU ld. I'd rather use --version,
6579 # but apparently some variants of GNU ld only accept -v.
6580 # Break only if it was the GNU/non-GNU ld that we prefer.
6581 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6582 *GNU* | *'with BFD'*)
6583 test "$with_gnu_ld" != no && break
6586 test "$with_gnu_ld" != yes && break
6593 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6598 if test -n "$LD"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6600 $as_echo "$LD" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6605 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6607 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6608 if ${lt_cv_prog_gnu_ld+:} false; then :
6609 $as_echo_n "(cached) " >&6
6611 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6612 case `$LD -v 2>&1 </dev
/null
` in
6613 *GNU* | *'with BFD'*)
6614 lt_cv_prog_gnu_ld=yes
6617 lt_cv_prog_gnu_ld=no
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6622 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6623 with_gnu_ld=$lt_cv_prog_gnu_ld
6634 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6637 ac_save_LDFLAGS="$LDFLAGS"
6638 LDFLAGS="$LFLAGS -mclear-hwcap"
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6641 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6642 if test x$gcc_no_link = xyes; then
6643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6656 if ac_fn_c_try_link "$LINENO"; then :
6657 ac_hwcap_ldflags=yes
6661 rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
6663 if test "$ac_hwcap_ldflags" = "yes"; then
6664 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6667 $as_echo "$ac_hwcap_ldflags" >&6; }
6669 LDFLAGS="$ac_save_LDFLAGS"
6673 if test $ac_hwcap_ldflags != no; then
6675 HAVE_HWCAP_FALSE='#'
6683 # Find other programs we need.
6684 if test -n "$ac_tool_prefix"; then
6685 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6686 set dummy ${ac_tool_prefix}as; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_AS+:} false; then :
6690 $as_echo_n "(cached) " >&6
6692 if test -n "$AS"; then
6693 ac_cv_prog_AS="$AS" # Let the user override the test.
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_AS="${ac_tool_prefix}as"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713 if test -n "$AS"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6715 $as_echo "$AS" >&6; }
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6723 if test -z "$ac_cv_prog_AS"; then
6725 # Extract the first word of "as", so it can be a program name with args.
6726 set dummy as; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6730 $as_echo_n "(cached) " >&6
6732 if test -n "$ac_ct_AS"; then
6733 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_ac_ct_AS="as"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6753 if test -n "$ac_ct_AS"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6755 $as_echo "$ac_ct_AS" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 $as_echo "no" >&6; }
6761 if test "x$ac_ct_AS" = x; then
6764 case $cross_compiling:$ac_tool_warned in
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6768 ac_tool_warned=yes ;;
6776 if test -n "$ac_tool_prefix"; then
6777 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6778 set dummy ${ac_tool_prefix}ar; ac_word=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 $as_echo_n "checking for $ac_word... " >&6; }
6781 if ${ac_cv_prog_AR+:} false; then :
6782 $as_echo_n "(cached) " >&6
6784 if test -n "$AR"; then
6785 ac_cv_prog_AR="$AR" # Let the user override the test.
6787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir=.
6792 for ac_exec_ext in '' $ac_executable_extensions; do
6793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6794 ac_cv_prog_AR="${ac_tool_prefix}ar"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805 if test -n "$AR"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6807 $as_echo "$AR" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6815 if test -z "$ac_cv_prog_AR"; then
6817 # Extract the first word of "ar", so it can be a program name with args.
6818 set dummy ar; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6822 $as_echo_n "(cached) " >&6
6824 if test -n "$ac_ct_AR"; then
6825 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_ac_ct_AR="ar"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6845 if test -n "$ac_ct_AR"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6847 $as_echo "$ac_ct_AR" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6853 if test "x$ac_ct_AR" = x; then
6856 case $cross_compiling:$ac_tool_warned in
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6860 ac_tool_warned=yes ;;
6868 if test -n "$ac_tool_prefix"; then
6869 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6870 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_prog_RANLIB+:} false; then :
6874 $as_echo_n "(cached) " >&6
6876 if test -n "$RANLIB"; then
6877 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 test -z "$as_dir" && as_dir=.
6884 for ac_exec_ext in '' $ac_executable_extensions; do
6885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 RANLIB=$ac_cv_prog_RANLIB
6897 if test -n "$RANLIB"; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6899 $as_echo "$RANLIB" >&6; }
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6907 if test -z "$ac_cv_prog_RANLIB"; then
6908 ac_ct_RANLIB=$RANLIB
6909 # Extract the first word of "ranlib", so it can be a program name with args.
6910 set dummy ranlib; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 if test -n "$ac_ct_RANLIB"; then
6917 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_ac_ct_RANLIB="ranlib"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6937 if test -n "$ac_ct_RANLIB"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6939 $as_echo "$ac_ct_RANLIB" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6945 if test "x$ac_ct_RANLIB" = x; then
6946 RANLIB="ranlib-not-found-in-path-error"
6948 case $cross_compiling:$ac_tool_warned in
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6952 ac_tool_warned=yes ;;
6954 RANLIB=$ac_ct_RANLIB
6957 RANLIB="$ac_cv_prog_RANLIB"
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6961 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6963 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6964 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6965 $as_echo_n "(cached) " >&6
6967 cat >conftest.make <<\_ACEOF
6970 @echo '@@@%%%=$(MAKE)=@@@%%%'
6972 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6973 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6975 eval ac_cv_prog_make_${ac_make}_set=yes;;
6977 eval ac_cv_prog_make_${ac_make}_set=no;;
6981 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6983 $as_echo "yes" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 $as_echo "no" >&6; }
6988 SET_MAKE="MAKE=${MAKE-make}"
6994 #AC_MSG_NOTICE([====== Starting libtool configuration])
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
7002 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
7007 macro_version='2.2.7a'
7008 macro_revision='1.3134'
7022 ltmain="$ac_aux_dir/ltmain.sh"
7024 # Backslashify metacharacters that are still active within
7025 # double-quoted strings.
7026 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
7028 # Same as above, but do not quote variable references.
7029 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7031 # Sed substitution to delay expansion of an escaped shell variable in a
7032 # double_quote_subst'ed string.
7033 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7035 # Sed substitution to delay expansion of an escaped single quote.
7036 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7038 # Sed substitution to avoid accidental globbing in evaled expressions
7039 no_glob_subst='s/\*/\\\*/g'
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7042 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7043 if ${lt_cv_path_NM+:} false; then :
7044 $as_echo_n "(cached
) " >&6
7046 if test -n "$NM"; then
7047 # Let the user override the test.
7050 lt_nm_to_check="${ac_tool_prefix}nm
"
7051 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7052 lt_nm_to_check="$lt_nm_to_check nm
"
7054 for lt_tmp_nm in $lt_nm_to_check; do
7055 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7056 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7058 test -z "$ac_dir" && ac_dir=.
7059 tmp_nm="$ac_dir/$lt_tmp_nm"
7060 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7061 # Check to see if the nm accepts a BSD-compat flag.
7062 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7063 # nm: unknown option "B
" ignored
7064 # Tru64's nm complains that /dev/null is an invalid object file
7065 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7066 */dev/null* | *'Invalid file or object type'*)
7067 lt_cv_path_NM="$tmp_nm -B"
7071 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7073 lt_cv_path_NM="$tmp_nm -p"
7077 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7078 continue # so that we can try to find one that supports BSD flags
7087 : ${lt_cv_path_NM=no}
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7091 $as_echo "$lt_cv_path_NM" >&6; }
7092 if test "$lt_cv_path_NM" != "no
"; then
7095 # Didn't find any BSD compatible name lister, look for dumpbin.
7096 if test -n "$DUMPBIN"; then :
7097 # Let the user override the test.
7099 if test -n "$ac_tool_prefix"; then
7100 for ac_prog in dumpbin "link
-dump"
7102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7105 $as_echo_n "checking
for $ac_word...
" >&6; }
7106 if ${ac_cv_prog_DUMPBIN+:} false; then :
7107 $as_echo_n "(cached
) " >&6
7109 if test -n "$DUMPBIN"; then
7110 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7129 DUMPBIN=$ac_cv_prog_DUMPBIN
7130 if test -n "$DUMPBIN"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7132 $as_echo "$DUMPBIN" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7135 $as_echo "no
" >&6; }
7139 test -n "$DUMPBIN" && break
7142 if test -z "$DUMPBIN"; then
7143 ac_ct_DUMPBIN=$DUMPBIN
7144 for ac_prog in dumpbin "link
-dump"
7146 # Extract the first word of "$ac_prog", so it can be a program name with args.
7147 set dummy $ac_prog; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7149 $as_echo_n "checking
for $ac_word...
" >&6; }
7150 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7151 $as_echo_n "(cached
) " >&6
7153 if test -n "$ac_ct_DUMPBIN"; then
7154 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir=.
7161 for ac_exec_ext in '' $ac_executable_extensions; do
7162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7163 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7173 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7174 if test -n "$ac_ct_DUMPBIN"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7176 $as_echo "$ac_ct_DUMPBIN" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7179 $as_echo "no
" >&6; }
7183 test -n "$ac_ct_DUMPBIN" && break
7186 if test "x
$ac_ct_DUMPBIN" = x; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7192 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7193 ac_tool_warned=yes ;;
7195 DUMPBIN=$ac_ct_DUMPBIN
7199 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7201 DUMPBIN="$DUMPBIN -symbols"
7209 if test "$DUMPBIN" != ":"; then
7213 test -z "$NM" && NM=nm
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7221 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7222 if ${lt_cv_nm_interface+:} false; then :
7223 $as_echo_n "(cached
) " >&6
7225 lt_cv_nm_interface="BSD nm
"
7226 echo "int some_variable
= 0;" > conftest.$ac_ext
7227 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7228 (eval "$ac_compile" 2>conftest.err)
7229 cat conftest.err >&5
7230 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7231 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7232 cat conftest.err >&5
7233 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7234 cat conftest.out >&5
7235 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7236 lt_cv_nm_interface="MS dumpbin
"
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7241 $as_echo "$lt_cv_nm_interface" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7244 $as_echo_n "checking whether
ln -s works...
" >&6; }
7246 if test "$LN_S" = "ln -s"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7248 $as_echo "yes" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7251 $as_echo "no
, using
$LN_S" >&6; }
7254 # find the maximum length of command line arguments
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7256 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7257 if ${lt_cv_sys_max_cmd_len+:} false; then :
7258 $as_echo_n "(cached
) " >&6
7265 # On DJGPP, this test can blow up pretty badly due to problems in libc
7266 # (any single argument exceeding 2000 bytes causes a buffer overrun
7267 # during glob expansion). Even if it were fixed, the result of this
7268 # check would be larger than it should be.
7269 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7273 # Under GNU Hurd, this test is not required because there is
7274 # no limit to the length of command line arguments.
7275 # Libtool will interpret -1 as no limit whatsoever
7276 lt_cv_sys_max_cmd_len=-1;
7279 cygwin* | mingw* | cegcc*)
7280 # On Win9x/ME, this test blows up -- it succeeds, but takes
7281 # about 5 minutes as the teststring grows exponentially.
7282 # Worse, since 9x/ME are not pre-emptively multitasking,
7283 # you end up with a "frozen
" computer, even though with patience
7284 # the test eventually succeeds (with a max line length of 256k).
7285 # Instead, let's just punt: use the minimum linelength reported by
7286 # all of the supported platforms: 8192 (on NT/2K/XP).
7287 lt_cv_sys_max_cmd_len=8192;
7291 # On MiNT this can take a long time and run out of memory.
7292 lt_cv_sys_max_cmd_len=8192;
7296 # On AmigaOS with pdksh, this test takes hours, literally.
7297 # So we just punt and use a minimum line length of 8192.
7298 lt_cv_sys_max_cmd_len=8192;
7301 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7302 # This has been around since 386BSD, at least. Likely further.
7303 if test -x /sbin/sysctl; then
7304 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7305 elif test -x /usr/sbin/sysctl; then
7306 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7308 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7310 # And add a safety zone
7311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7316 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7317 lt_cv_sys_max_cmd_len=196608
7321 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7322 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7323 # nice to cause kernel panics so lets avoid the loop below.
7324 # First set a reasonable default.
7325 lt_cv_sys_max_cmd_len=16384
7327 if test -x /sbin/sysconfig; then
7328 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7329 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7334 lt_cv_sys_max_cmd_len=102400
7336 sysv5* | sco5v6* | sysv4.2uw2*)
7337 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7338 if test -n "$kargmax"; then
7339 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7341 lt_cv_sys_max_cmd_len=32768
7345 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7346 if test -n "$lt_cv_sys_max_cmd_len"; then
7347 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7350 # Make teststring a little bigger before we do anything with it.
7351 # a 1K string should be a reasonable start.
7352 for i in 1 2 3 4 5 6 7 8 ; do
7353 teststring=$teststring$teststring
7355 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7356 # If test is not a shell built-in, we'll probably end up computing a
7357 # maximum length that is only half of the actual maximum length, but
7359 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7360 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7361 test $i != 17 # 1/2 MB should be enough
7364 teststring=$teststring$teststring
7366 # Only check the string length outside the loop.
7367 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7369 # Add a significant safety factor because C++ compilers can tack on
7370 # massive amounts of additional arguments before passing them to the
7371 # linker. It appears as though 1/2 is a usable value.
7372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7379 if test -n $lt_cv_sys_max_cmd_len ; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7381 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7384 $as_echo "none
" >&6; }
7386 max_cmd_len=$lt_cv_sys_max_cmd_len
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7398 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7399 # Try some XSI features
7402 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7404 && eval 'test $(( 1 + 1 )) -eq 2 \
7405 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7408 $as_echo "$xsi_shell" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7412 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7414 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7416 && lt_shell_append
=yes
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7418 $as_echo "$lt_shell_append" >&6; }
7421 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7431 # test EBCDIC or ASCII
7432 case `echo X|tr X '\101'` in
7433 A
) # ASCII based system
7434 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7435 lt_SP2NL
='tr \040 \012'
7436 lt_NL2SP
='tr \015\012 \040\040'
7438 *) # EBCDIC based system
7439 lt_SP2NL
='tr \100 \n'
7440 lt_NL2SP
='tr \r\n \100\100'
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7453 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7454 if ${lt_cv_ld_reload_flag+:} false
; then :
7455 $as_echo_n "(cached) " >&6
7457 lt_cv_ld_reload_flag
='-r'
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7460 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7461 reload_flag
=$lt_cv_ld_reload_flag
7462 case $reload_flag in
7464 *) reload_flag
=" $reload_flag" ;;
7466 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7469 if test "$GCC" = yes; then
7470 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7472 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7487 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7491 $as_echo_n "(cached) " >&6
7493 if test -n "$OBJDUMP"; then
7494 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir
=.
7501 for ac_exec_ext
in '' $ac_executable_extensions; do
7502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 OBJDUMP
=$ac_cv_prog_OBJDUMP
7514 if test -n "$OBJDUMP"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7516 $as_echo "$OBJDUMP" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_prog_OBJDUMP"; then
7525 ac_ct_OBJDUMP
=$OBJDUMP
7526 # Extract the first word of "objdump", so it can be a program name with args.
7527 set dummy objdump
; ac_word
=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7531 $as_echo_n "(cached) " >&6
7533 if test -n "$ac_ct_OBJDUMP"; then
7534 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir
=.
7541 for ac_exec_ext
in '' $ac_executable_extensions; do
7542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7554 if test -n "$ac_ct_OBJDUMP"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7556 $as_echo "$ac_ct_OBJDUMP" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7562 if test "x$ac_ct_OBJDUMP" = x
; then
7565 case $cross_compiling:$ac_tool_warned in
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned
=yes ;;
7571 OBJDUMP
=$ac_ct_OBJDUMP
7574 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7577 test -z "$OBJDUMP" && OBJDUMP
=objdump
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7588 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7589 if ${lt_cv_deplibs_check_method+:} false
; then :
7590 $as_echo_n "(cached) " >&6
7592 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7593 lt_cv_file_magic_test_file
=
7594 lt_cv_deplibs_check_method
='unknown'
7595 # Need to set the preceding variable on all platforms that support
7596 # interlibrary dependencies.
7597 # 'none' -- dependencies not supported.
7598 # `unknown' -- same as none, but documents that we really don't know.
7599 # 'pass_all' -- all dependencies passed with no checks.
7600 # 'test_compile' -- check by making test program.
7601 # 'file_magic [[regex]]' -- check by looking for files in library path
7602 # which responds to the $file_magic_cmd with a given extended regex.
7603 # If you have `file' or equivalent on your system and you're not sure
7604 # whether `pass_all' will *always* work, you probably want this one.
7608 lt_cv_deplibs_check_method
=pass_all
7612 lt_cv_deplibs_check_method
=pass_all
7616 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7617 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7618 lt_cv_file_magic_test_file
=/shlib
/libc.so
7622 # func_win32_libid is a shell function defined in ltmain.sh
7623 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7624 lt_cv_file_magic_cmd
='func_win32_libid'
7628 # Base MSYS/MinGW do not provide the 'file' command needed by
7629 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7630 # unless we find 'file', for example because we are cross-compiling.
7631 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7632 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7633 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7634 lt_cv_file_magic_cmd
='func_win32_libid'
7636 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7637 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7642 # use the weaker test based on 'objdump'. See mingw*.
7643 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7644 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7647 darwin
* | rhapsody
*)
7648 lt_cv_deplibs_check_method
=pass_all
7651 freebsd
* | dragonfly
*)
7652 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7655 # Not sure whether the presence of OpenBSD here was a mistake.
7656 # Let's accept both of them until this is cleared up.
7657 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7658 lt_cv_file_magic_cmd
=/usr
/bin
/file
7659 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7663 lt_cv_deplibs_check_method
=pass_all
7668 lt_cv_deplibs_check_method
=pass_all
7672 lt_cv_deplibs_check_method
=pass_all
7675 hpux10.20
* | hpux11
*)
7676 lt_cv_file_magic_cmd
=/usr
/bin
/file
7679 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7680 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7683 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]'
7684 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7687 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7688 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7694 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7695 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7698 irix5
* | irix6
* | nonstopux
*)
7700 *-32|
*"-32 ") libmagic
=32-bit;;
7701 *-n32|
*"-n32 ") libmagic
=N32
;;
7702 *-64|
*"-64 ") libmagic
=64-bit;;
7703 *) libmagic
=never-match
;;
7705 lt_cv_deplibs_check_method
=pass_all
7708 # This must be Linux ELF.
7709 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7710 lt_cv_deplibs_check_method
=pass_all
7714 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7715 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7717 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7722 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7723 lt_cv_file_magic_cmd
=/usr
/bin
/file
7724 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7728 lt_cv_deplibs_check_method
=pass_all
7732 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7733 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7735 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7739 osf3
* | osf4
* | osf5
*)
7740 lt_cv_deplibs_check_method
=pass_all
7744 lt_cv_deplibs_check_method
=pass_all
7748 lt_cv_deplibs_check_method
=pass_all
7751 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7752 lt_cv_deplibs_check_method
=pass_all
7756 case $host_vendor in
7758 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]'
7759 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7762 lt_cv_deplibs_check_method
=pass_all
7765 lt_cv_file_magic_cmd
='/bin/file'
7766 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7769 lt_cv_file_magic_cmd
='/bin/file'
7770 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7771 lt_cv_file_magic_test_file
=/lib
/libc.so
7774 lt_cv_deplibs_check_method
=pass_all
7777 lt_cv_deplibs_check_method
=pass_all
7783 lt_cv_deplibs_check_method
=pass_all
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7789 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7790 file_magic_cmd
=$lt_cv_file_magic_cmd
7791 deplibs_check_method
=$lt_cv_deplibs_check_method
7792 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7807 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_AR+:} false
; then :
7811 $as_echo_n "(cached) " >&6
7813 if test -n "$AR"; then
7814 ac_cv_prog_AR
="$AR" # Let the user override the test.
7816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir
=.
7821 for ac_exec_ext
in '' $ac_executable_extensions; do
7822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7834 if test -n "$AR"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7836 $as_echo "$AR" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_AR"; then
7846 # Extract the first word of "ar", so it can be a program name with args.
7847 set dummy
ar; ac_word
=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$ac_ct_AR"; then
7854 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir
=.
7861 for ac_exec_ext
in '' $ac_executable_extensions; do
7862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_AR
="ar"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7874 if test -n "$ac_ct_AR"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7876 $as_echo "$ac_ct_AR" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_AR" = x
; then
7885 case $cross_compiling:$ac_tool_warned in
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned
=yes ;;
7897 test -z "$AR" && AR
=ar
7898 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7910 if test -n "$ac_tool_prefix"; then
7911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7912 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_prog_STRIP+:} false
; then :
7916 $as_echo_n "(cached) " >&6
7918 if test -n "$STRIP"; then
7919 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7925 test -z "$as_dir" && as_dir
=.
7926 for ac_exec_ext
in '' $ac_executable_extensions; do
7927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 STRIP
=$ac_cv_prog_STRIP
7939 if test -n "$STRIP"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7941 $as_echo "$STRIP" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7949 if test -z "$ac_cv_prog_STRIP"; then
7951 # Extract the first word of "strip", so it can be a program name with args.
7952 set dummy strip
; ac_word
=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7956 $as_echo_n "(cached) " >&6
7958 if test -n "$ac_ct_STRIP"; then
7959 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir
=.
7966 for ac_exec_ext
in '' $ac_executable_extensions; do
7967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_ac_ct_STRIP
="strip"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7979 if test -n "$ac_ct_STRIP"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7981 $as_echo "$ac_ct_STRIP" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7987 if test "x$ac_ct_STRIP" = x
; then
7990 case $cross_compiling:$ac_tool_warned in
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7994 ac_tool_warned
=yes ;;
7999 STRIP
="$ac_cv_prog_STRIP"
8002 test -z "$STRIP" && STRIP
=:
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8011 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_RANLIB+:} false
; then :
8015 $as_echo_n "(cached) " >&6
8017 if test -n "$RANLIB"; then
8018 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8024 test -z "$as_dir" && as_dir
=.
8025 for ac_exec_ext
in '' $ac_executable_extensions; do
8026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 RANLIB
=$ac_cv_prog_RANLIB
8038 if test -n "$RANLIB"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8040 $as_echo "$RANLIB" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_RANLIB"; then
8049 ac_ct_RANLIB
=$RANLIB
8050 # Extract the first word of "ranlib", so it can be a program name with args.
8051 set dummy ranlib
; ac_word
=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8055 $as_echo_n "(cached) " >&6
8057 if test -n "$ac_ct_RANLIB"; then
8058 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8064 test -z "$as_dir" && as_dir
=.
8065 for ac_exec_ext
in '' $ac_executable_extensions; do
8066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8078 if test -n "$ac_ct_RANLIB"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8080 $as_echo "$ac_ct_RANLIB" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_RANLIB" = x
; then
8089 case $cross_compiling:$ac_tool_warned in
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned
=yes ;;
8095 RANLIB
=$ac_ct_RANLIB
8098 RANLIB
="$ac_cv_prog_RANLIB"
8101 test -z "$RANLIB" && RANLIB
=:
8108 # Determine commands to create old-style static archives.
8109 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8110 old_postinstall_cmds
='chmod 644 $oldlib'
8111 old_postuninstall_cmds
=
8113 if test -n "$RANLIB"; then
8116 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8119 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8122 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8127 lock_old_archive_extraction
=yes ;;
8129 lock_old_archive_extraction
=no
;;
8170 # If no C compiler was specified, use CC.
8173 # If no C compiler flags were specified, use CFLAGS.
8174 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8176 # Allow CC to be a program name with arguments.
8180 # Check for command to grab the raw symbol name followed by C symbol from nm.
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8182 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8183 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8184 $as_echo_n "(cached) " >&6
8187 # These are sane defaults that work on at least a few old systems.
8188 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8190 # Character class describing NM global symbol codes.
8191 symcode
='[BCDEGRST]'
8193 # Regexp to match symbols that can be accessed directly from C.
8194 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8196 # Define system-specific variables.
8201 cygwin
* | mingw
* | pw32
* | cegcc
*)
8202 symcode
='[ABCDGISTW]'
8205 if test "$host_cpu" = ia64
; then
8206 symcode
='[ABCDEGRST]'
8210 symcode
='[BCDEGRST]'
8213 symcode
='[BCDEGQRST]'
8224 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8232 # If we're using GNU nm, then use its standard symbol codes.
8233 case `$NM -V 2>&1` in
8234 *GNU
* |
*'with BFD'*)
8235 symcode
='[ABCDGIRSTW]' ;;
8238 # Transform an extracted symbol line into a proper C declaration.
8239 # Some systems (esp. on ia64) link data and code symbols differently,
8240 # so use this general approach.
8241 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8243 # Transform an extracted symbol line into symbol name and symbol address
8244 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8245 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'"
8247 # Handle CRLF in mingw tool chain
8251 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8255 # Try without a prefix underscore, then with it.
8256 for ac_symprfx
in "" "_"; do
8258 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8259 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8261 # Write the raw and C identifiers.
8262 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8263 # Fake it for dumpbin and say T for any non-static function
8264 # and D for any global variable.
8265 # Also find C++ and __fastcall symbols from MSVC++,
8266 # which start with @ or ?.
8267 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8268 " {last_section=section; section=\$ 3};"\
8269 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8270 " \$ 0!~/External *\|/{next};"\
8271 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8272 " {if(hide[section]) next};"\
8273 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8274 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8275 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8276 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8277 " ' prfx=^$ac_symprfx"
8279 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8282 # Check to see that the pipe works correctly.
8286 cat > conftest.
$ac_ext <<_LT_EOF
8291 void nm_test_func(void);
8292 void nm_test_func(void){}
8296 int main(){nm_test_var='a';nm_test_func();return(0);}
8299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8300 (eval $ac_compile) 2>&5
8302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8303 test $ac_status = 0; }; then
8304 # Now try to grab the symbols.
8306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8307 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8310 test $ac_status = 0; } && test -s "$nlist"; then
8311 # Try sorting and uniquifying the output.
8312 if sort "$nlist" |
uniq > "$nlist"T
; then
8313 mv -f "$nlist"T
"$nlist"
8318 # Make sure that we snagged all the symbols we need.
8319 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8320 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8321 cat <<_LT_EOF > conftest.$ac_ext
8327 # Now generate the symbol file.
8328 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8330 cat <<_LT_EOF >> conftest.$ac_ext
8332 /* The mapping between symbol names and symbols. */
8337 lt__PROGRAM__LTX_preloaded_symbols[] =
8339 { "@PROGRAM@", (void *) 0 },
8341 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8342 cat <<\_LT_EOF
>> conftest.
$ac_ext
8346 /* This works around a problem
in FreeBSD linker
*/
8347 #ifdef FREEBSD_WORKAROUND
8348 static const void
*lt_preloaded_setup
() {
8349 return lt__PROGRAM__LTX_preloaded_symbols
;
8357 # Now try linking the two files.
8358 mv conftest.
$ac_objext conftstm.
$ac_objext
8359 lt_save_LIBS
="$LIBS"
8360 lt_save_CFLAGS
="$CFLAGS"
8361 LIBS
="conftstm.$ac_objext"
8362 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8364 (eval $ac_link) 2>&5
8366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8367 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8370 LIBS
="$lt_save_LIBS"
8371 CFLAGS
="$lt_save_CFLAGS"
8373 echo "cannot find nm_test_func in $nlist" >&5
8376 echo "cannot find nm_test_var in $nlist" >&5
8379 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8382 echo "$progname: failed program was:" >&5
8383 cat conftest.
$ac_ext >&5
8385 rm -rf conftest
* conftst
*
8387 # Do not use the global_symbol_pipe unless it works.
8388 if test "$pipe_works" = yes; then
8391 lt_cv_sys_global_symbol_pipe
=
8397 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8398 lt_cv_sys_global_symbol_to_cdecl
=
8400 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8402 $as_echo "failed" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8405 $as_echo "ok" >&6; }
8429 # Check whether --enable-libtool-lock was given.
8430 if test "${enable_libtool_lock+set}" = set; then :
8431 enableval
=$enable_libtool_lock;
8434 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8436 # Some flags need to be propagated to the compiler or linker for good
8440 # Find out which ABI we are using.
8441 echo 'int i;' > conftest.
$ac_ext
8442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8443 (eval $ac_compile) 2>&5
8445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8446 test $ac_status = 0; }; then
8447 case `/usr/bin/file conftest.$ac_objext` in
8459 # Find out which ABI we are using.
8460 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462 (eval $ac_compile) 2>&5
8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465 test $ac_status = 0; }; then
8466 if test "$lt_cv_prog_gnu_ld" = yes; then
8467 case `/usr/bin/file conftest.$ac_objext` in
8469 LD
="${LD-ld} -melf32bsmip"
8472 LD
="${LD-ld} -melf32bmipn32"
8475 LD
="${LD-ld} -melf64bmip"
8479 case `/usr/bin/file conftest.$ac_objext` in
8495 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8496 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8497 # Find out which ABI we are using.
8498 echo 'int i;' > conftest.
$ac_ext
8499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8500 (eval $ac_compile) 2>&5
8502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8503 test $ac_status = 0; }; then
8504 case `/usr/bin/file conftest.o` in
8507 x86_64-
*kfreebsd
*-gnu)
8508 LD
="${LD-ld} -m elf_i386_fbsd"
8511 case `/usr/bin/file conftest.o` in
8513 LD
="${LD-ld} -m elf32_x86_64"
8516 LD
="${LD-ld} -m elf_i386"
8520 powerpc64le-
*linux
*)
8521 LD
="${LD-ld} -m elf32lppclinux"
8524 LD
="${LD-ld} -m elf32ppclinux"
8527 LD
="${LD-ld} -m elf_s390"
8530 LD
="${LD-ld} -m elf32_sparc"
8536 x86_64-
*kfreebsd
*-gnu)
8537 LD
="${LD-ld} -m elf_x86_64_fbsd"
8540 LD
="${LD-ld} -m elf_x86_64"
8543 LD
="${LD-ld} -m elf64lppc"
8546 LD
="${LD-ld} -m elf64ppc"
8548 s390
*-*linux
*|s390
*-*tpf
*)
8549 LD
="${LD-ld} -m elf64_s390"
8552 LD
="${LD-ld} -m elf64_sparc"
8562 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8563 SAVE_CFLAGS
="$CFLAGS"
8564 CFLAGS
="$CFLAGS -belf"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8566 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8567 if ${lt_cv_cc_needs_belf+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8571 ac_cpp
='$CPP $CPPFLAGS'
8572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8576 if test x
$gcc_no_link = xyes
; then
8577 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8590 if ac_fn_c_try_link
"$LINENO"; then :
8591 lt_cv_cc_needs_belf
=yes
8593 lt_cv_cc_needs_belf
=no
8595 rm -f core conftest.err conftest.
$ac_objext \
8596 conftest
$ac_exeext conftest.
$ac_ext
8598 ac_cpp
='$CPP $CPPFLAGS'
8599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8605 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8606 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8607 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8608 CFLAGS
="$SAVE_CFLAGS"
8612 # Find out which ABI we are using.
8613 echo 'int i;' > conftest.
$ac_ext
8614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8615 (eval $ac_compile) 2>&5
8617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8618 test $ac_status = 0; }; then
8619 case `/usr/bin/file conftest.o` in
8621 case $lt_cv_prog_gnu_ld in
8622 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8624 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8636 need_locks
="$enable_libtool_lock"
8640 rhapsody
* | darwin
*)
8641 if test -n "$ac_tool_prefix"; then
8642 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8643 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8645 $as_echo_n "checking for $ac_word... " >&6; }
8646 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8647 $as_echo_n "(cached) " >&6
8649 if test -n "$DSYMUTIL"; then
8650 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8656 test -z "$as_dir" && as_dir
=.
8657 for ac_exec_ext
in '' $ac_executable_extensions; do
8658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8659 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8669 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8670 if test -n "$DSYMUTIL"; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8672 $as_echo "$DSYMUTIL" >&6; }
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8675 $as_echo "no" >&6; }
8680 if test -z "$ac_cv_prog_DSYMUTIL"; then
8681 ac_ct_DSYMUTIL
=$DSYMUTIL
8682 # Extract the first word of "dsymutil", so it can be a program name with args.
8683 set dummy dsymutil
; ac_word
=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8685 $as_echo_n "checking for $ac_word... " >&6; }
8686 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8687 $as_echo_n "(cached) " >&6
8689 if test -n "$ac_ct_DSYMUTIL"; then
8690 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir
=.
8697 for ac_exec_ext
in '' $ac_executable_extensions; do
8698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8709 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8710 if test -n "$ac_ct_DSYMUTIL"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8712 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8718 if test "x$ac_ct_DSYMUTIL" = x
; then
8721 case $cross_compiling:$ac_tool_warned in
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8725 ac_tool_warned
=yes ;;
8727 DSYMUTIL
=$ac_ct_DSYMUTIL
8730 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8733 if test -n "$ac_tool_prefix"; then
8734 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8735 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8737 $as_echo_n "checking for $ac_word... " >&6; }
8738 if ${ac_cv_prog_NMEDIT+:} false
; then :
8739 $as_echo_n "(cached) " >&6
8741 if test -n "$NMEDIT"; then
8742 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir
=.
8749 for ac_exec_ext
in '' $ac_executable_extensions; do
8750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8751 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8761 NMEDIT
=$ac_cv_prog_NMEDIT
8762 if test -n "$NMEDIT"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8764 $as_echo "$NMEDIT" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767 $as_echo "no" >&6; }
8772 if test -z "$ac_cv_prog_NMEDIT"; then
8773 ac_ct_NMEDIT
=$NMEDIT
8774 # Extract the first word of "nmedit", so it can be a program name with args.
8775 set dummy nmedit
; ac_word
=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8777 $as_echo_n "checking for $ac_word... " >&6; }
8778 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8779 $as_echo_n "(cached) " >&6
8781 if test -n "$ac_ct_NMEDIT"; then
8782 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8788 test -z "$as_dir" && as_dir
=.
8789 for ac_exec_ext
in '' $ac_executable_extensions; do
8790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8801 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8802 if test -n "$ac_ct_NMEDIT"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8804 $as_echo "$ac_ct_NMEDIT" >&6; }
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8807 $as_echo "no" >&6; }
8810 if test "x$ac_ct_NMEDIT" = x
; then
8813 case $cross_compiling:$ac_tool_warned in
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8817 ac_tool_warned
=yes ;;
8819 NMEDIT
=$ac_ct_NMEDIT
8822 NMEDIT
="$ac_cv_prog_NMEDIT"
8825 if test -n "$ac_tool_prefix"; then
8826 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8827 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8829 $as_echo_n "checking for $ac_word... " >&6; }
8830 if ${ac_cv_prog_LIPO+:} false
; then :
8831 $as_echo_n "(cached) " >&6
8833 if test -n "$LIPO"; then
8834 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8840 test -z "$as_dir" && as_dir
=.
8841 for ac_exec_ext
in '' $ac_executable_extensions; do
8842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8843 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8853 LIPO
=$ac_cv_prog_LIPO
8854 if test -n "$LIPO"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8856 $as_echo "$LIPO" >&6; }
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859 $as_echo "no" >&6; }
8864 if test -z "$ac_cv_prog_LIPO"; then
8866 # Extract the first word of "lipo", so it can be a program name with args.
8867 set dummy lipo
; ac_word
=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8869 $as_echo_n "checking for $ac_word... " >&6; }
8870 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8871 $as_echo_n "(cached) " >&6
8873 if test -n "$ac_ct_LIPO"; then
8874 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir
=.
8881 for ac_exec_ext
in '' $ac_executable_extensions; do
8882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8883 ac_cv_prog_ac_ct_LIPO
="lipo"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8893 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8894 if test -n "$ac_ct_LIPO"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8896 $as_echo "$ac_ct_LIPO" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8899 $as_echo "no" >&6; }
8902 if test "x$ac_ct_LIPO" = x
; then
8905 case $cross_compiling:$ac_tool_warned in
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8909 ac_tool_warned
=yes ;;
8914 LIPO
="$ac_cv_prog_LIPO"
8917 if test -n "$ac_tool_prefix"; then
8918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8919 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8922 if ${ac_cv_prog_OTOOL+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 if test -n "$OTOOL"; then
8926 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8932 test -z "$as_dir" && as_dir
=.
8933 for ac_exec_ext
in '' $ac_executable_extensions; do
8934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8935 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8945 OTOOL
=$ac_cv_prog_OTOOL
8946 if test -n "$OTOOL"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8948 $as_echo "$OTOOL" >&6; }
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8956 if test -z "$ac_cv_prog_OTOOL"; then
8958 # Extract the first word of "otool", so it can be a program name with args.
8959 set dummy otool
; ac_word
=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8961 $as_echo_n "checking for $ac_word... " >&6; }
8962 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8963 $as_echo_n "(cached) " >&6
8965 if test -n "$ac_ct_OTOOL"; then
8966 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8972 test -z "$as_dir" && as_dir
=.
8973 for ac_exec_ext
in '' $ac_executable_extensions; do
8974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8975 ac_cv_prog_ac_ct_OTOOL
="otool"
8976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8985 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8986 if test -n "$ac_ct_OTOOL"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8988 $as_echo "$ac_ct_OTOOL" >&6; }
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8991 $as_echo "no" >&6; }
8994 if test "x$ac_ct_OTOOL" = x
; then
8997 case $cross_compiling:$ac_tool_warned in
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9001 ac_tool_warned
=yes ;;
9006 OTOOL
="$ac_cv_prog_OTOOL"
9009 if test -n "$ac_tool_prefix"; then
9010 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9011 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9013 $as_echo_n "checking for $ac_word... " >&6; }
9014 if ${ac_cv_prog_OTOOL64+:} false
; then :
9015 $as_echo_n "(cached) " >&6
9017 if test -n "$OTOOL64"; then
9018 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9024 test -z "$as_dir" && as_dir
=.
9025 for ac_exec_ext
in '' $ac_executable_extensions; do
9026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9027 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9037 OTOOL64
=$ac_cv_prog_OTOOL64
9038 if test -n "$OTOOL64"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9040 $as_echo "$OTOOL64" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9048 if test -z "$ac_cv_prog_OTOOL64"; then
9049 ac_ct_OTOOL64
=$OTOOL64
9050 # Extract the first word of "otool64", so it can be a program name with args.
9051 set dummy otool64
; ac_word
=$2
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9053 $as_echo_n "checking for $ac_word... " >&6; }
9054 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9055 $as_echo_n "(cached) " >&6
9057 if test -n "$ac_ct_OTOOL64"; then
9058 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9064 test -z "$as_dir" && as_dir
=.
9065 for ac_exec_ext
in '' $ac_executable_extensions; do
9066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9067 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9077 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9078 if test -n "$ac_ct_OTOOL64"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9080 $as_echo "$ac_ct_OTOOL64" >&6; }
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9083 $as_echo "no" >&6; }
9086 if test "x$ac_ct_OTOOL64" = x
; then
9089 case $cross_compiling:$ac_tool_warned in
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9093 ac_tool_warned
=yes ;;
9095 OTOOL64
=$ac_ct_OTOOL64
9098 OTOOL64
="$ac_cv_prog_OTOOL64"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9128 $as_echo_n "checking for -single_module linker flag... " >&6; }
9129 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9130 $as_echo_n "(cached) " >&6
9132 lt_cv_apple_cc_single_mod
=no
9133 if test -z "${LT_MULTI_MODULE}"; then
9134 # By default we will add the -single_module flag. You can override
9135 # by either setting the environment variable LT_MULTI_MODULE
9136 # non-empty at configure time, or by adding -multi_module to the
9138 rm -rf libconftest.dylib
*
9139 echo "int foo(void){return 1;}" > conftest.c
9140 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9141 -dynamiclib -Wl,-single_module conftest.c" >&5
9142 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9143 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9145 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9146 lt_cv_apple_cc_single_mod
=yes
9148 cat conftest.err
>&5
9150 rm -rf libconftest.dylib
*
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9155 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9157 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9158 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9159 $as_echo_n "(cached) " >&6
9161 lt_cv_ld_exported_symbols_list
=no
9162 save_LDFLAGS
=$LDFLAGS
9163 echo "_main" > conftest.sym
9164 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9165 if test x
$gcc_no_link = xyes
; then
9166 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9179 if ac_fn_c_try_link
"$LINENO"; then :
9180 lt_cv_ld_exported_symbols_list
=yes
9182 lt_cv_ld_exported_symbols_list
=no
9184 rm -f core conftest.err conftest.
$ac_objext \
9185 conftest
$ac_exeext conftest.
$ac_ext
9186 LDFLAGS
="$save_LDFLAGS"
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9190 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9192 $as_echo_n "checking for -force_load linker flag... " >&6; }
9193 if ${lt_cv_ld_force_load+:} false
; then :
9194 $as_echo_n "(cached) " >&6
9196 lt_cv_ld_force_load
=no
9197 cat > conftest.c
<< _LT_EOF
9198 int forced_loaded() { return 2;}
9200 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9201 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9202 echo "$AR cru libconftest.a conftest.o" >&5
9203 $AR cru libconftest.a conftest.o
2>&5
9204 cat > conftest.c
<< _LT_EOF
9205 int main() { return 0;}
9207 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9208 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9210 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9211 lt_cv_ld_force_load
=yes
9213 cat conftest.err
>&5
9215 rm -f conftest.err libconftest.a conftest conftest.c
9216 rm -rf conftest.dSYM
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9220 $as_echo "$lt_cv_ld_force_load" >&6; }
9221 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9222 # build without first building modern cctools / linker.
9223 case $host_cpu-$host_os in
9224 *-rhapsody* |
*-darwin1.
[012])
9225 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9227 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9229 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9230 # deployment target is forced to an earlier version.
9231 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9232 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9235 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9242 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9243 _lt_dar_single_mod
='$single_module'
9245 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9246 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9248 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9250 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9251 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9258 for ac_header
in dlfcn.h
9260 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9262 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9263 cat >>confdefs.h
<<_ACEOF
9264 #define HAVE_DLFCN_H 1
9283 # Check whether --enable-shared was given.
9284 if test "${enable_shared+set}" = set; then :
9285 enableval
=$enable_shared; p
=${PACKAGE-default}
9287 yes) enable_shared
=yes ;;
9288 no
) enable_shared
=no
;;
9291 # Look at the argument we got. We use all the common list separators.
9292 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9293 for pkg
in $enableval; do
9295 if test "X$pkg" = "X$p"; then
9314 # Check whether --enable-static was given.
9315 if test "${enable_static+set}" = set; then :
9316 enableval
=$enable_static; p
=${PACKAGE-default}
9318 yes) enable_static
=yes ;;
9319 no
) enable_static
=no
;;
9322 # Look at the argument we got. We use all the common list separators.
9323 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9324 for pkg
in $enableval; do
9326 if test "X$pkg" = "X$p"; then
9346 # Check whether --with-pic was given.
9347 if test "${with_pic+set}" = set; then :
9348 withval
=$with_pic; pic_mode
="$withval"
9354 test -z "$pic_mode" && pic_mode
=default
9362 # Check whether --enable-fast-install was given.
9363 if test "${enable_fast_install+set}" = set; then :
9364 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9366 yes) enable_fast_install
=yes ;;
9367 no
) enable_fast_install
=no
;;
9369 enable_fast_install
=no
9370 # Look at the argument we got. We use all the common list separators.
9371 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9372 for pkg
in $enableval; do
9374 if test "X$pkg" = "X$p"; then
9375 enable_fast_install
=yes
9382 enable_fast_install
=yes
9395 # This can be used to rebuild libtool when needed
9396 LIBTOOL_DEPS
="$ltmain"
9398 # Always use our own libtool.
9399 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9426 test -z "$LN_S" && LN_S
="ln -s"
9441 if test -n "${ZSH_VERSION+set}" ; then
9442 setopt NO_GLOB_SUBST
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9446 $as_echo_n "checking for objdir... " >&6; }
9447 if ${lt_cv_objdir+:} false
; then :
9448 $as_echo_n "(cached) " >&6
9450 rm -f .libs
2>/dev
/null
9451 mkdir .libs
2>/dev
/null
9452 if test -d .libs
; then
9455 # MS-DOS does not allow filenames that begin with a dot.
9458 rmdir .libs
2>/dev
/null
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9461 $as_echo "$lt_cv_objdir" >&6; }
9462 objdir
=$lt_cv_objdir
9468 cat >>confdefs.h
<<_ACEOF
9469 #define LT_OBJDIR "$lt_cv_objdir/"
9477 # AIX sometimes has problems with the GCC collect2 program. For some
9478 # reason, if we set the COLLECT_NAMES environment variable, the problems
9479 # vanish in a puff of smoke.
9480 if test "X${COLLECT_NAMES+set}" != Xset
; then
9482 export COLLECT_NAMES
9489 can_build_shared
=yes
9491 # All known linkers require a `.a' archive for static linking (except MSVC,
9492 # which needs '.lib').
9495 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9498 old_CFLAGS
="$CFLAGS"
9500 # Set sane defaults for various variables
9501 test -z "$CC" && CC
=cc
9502 test -z "$LTCC" && LTCC
=$CC
9503 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9504 test -z "$LD" && LD
=ld
9505 test -z "$ac_objext" && ac_objext
=o
9507 for cc_temp
in $compiler""; do
9509 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9510 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9515 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9518 # Only perform the check for file, if the check method requires it
9519 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9520 case $deplibs_check_method in
9522 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9524 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9525 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9526 $as_echo_n "(cached) " >&6
9530 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9533 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9534 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9535 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9536 for ac_dir
in $ac_dummy; do
9538 test -z "$ac_dir" && ac_dir
=.
9539 if test -f $ac_dir/${ac_tool_prefix}file; then
9540 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9541 if test -n "$file_magic_test_file"; then
9542 case $deplibs_check_method in
9544 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9545 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9546 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9547 $EGREP "$file_magic_regex" > /dev
/null
; then
9552 *** Warning: the command libtool uses to detect shared libraries,
9553 *** $file_magic_cmd, produces output that libtool cannot recognize.
9554 *** The result is that libtool may fail to recognize shared libraries
9555 *** as such. This will affect the creation of libtool libraries that
9556 *** depend on shared libraries, but programs linked with such libtool
9557 *** libraries will work regardless of this problem. Nevertheless, you
9558 *** may want to report the problem to your system manager and/or to
9559 *** bug-libtool@gnu.org
9569 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9574 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9575 if test -n "$MAGIC_CMD"; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9577 $as_echo "$MAGIC_CMD" >&6; }
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9580 $as_echo "no" >&6; }
9587 if test -z "$lt_cv_path_MAGIC_CMD"; then
9588 if test -n "$ac_tool_prefix"; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9590 $as_echo_n "checking for file... " >&6; }
9591 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9592 $as_echo_n "(cached) " >&6
9596 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9599 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9600 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9601 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9602 for ac_dir
in $ac_dummy; do
9604 test -z "$ac_dir" && ac_dir
=.
9605 if test -f $ac_dir/file; then
9606 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9607 if test -n "$file_magic_test_file"; then
9608 case $deplibs_check_method in
9610 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9611 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9612 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9613 $EGREP "$file_magic_regex" > /dev
/null
; then
9618 *** Warning: the command libtool uses to detect shared libraries,
9619 *** $file_magic_cmd, produces output that libtool cannot recognize.
9620 *** The result is that libtool may fail to recognize shared libraries
9621 *** as such. This will affect the creation of libtool libraries that
9622 *** depend on shared libraries, but programs linked with such libtool
9623 *** libraries will work regardless of this problem. Nevertheless, you
9624 *** may want to report the problem to your system manager and/or to
9625 *** bug-libtool@gnu.org
9635 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9640 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9641 if test -n "$MAGIC_CMD"; then
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9643 $as_echo "$MAGIC_CMD" >&6; }
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9646 $as_echo "no" >&6; }
9659 # Use C for the default configuration in the libtool script
9663 ac_cpp
='$CPP $CPPFLAGS'
9664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9669 # Source file extension for C test sources.
9672 # Object file extension for compiled C test sources.
9676 # Code to be used in simple compile tests
9677 lt_simple_compile_test_code
="int some_variable = 0;"
9679 # Code to be used in simple link tests
9680 lt_simple_link_test_code
='int main(){return(0);}'
9688 # If no C compiler was specified, use CC.
9691 # If no C compiler flags were specified, use CFLAGS.
9692 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9694 # Allow CC to be a program name with arguments.
9697 # Save the default compiler, since it gets overwritten when the other
9698 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9699 compiler_DEFAULT
=$CC
9701 # save warnings/boilerplate of simple test code
9702 ac_outfile
=conftest.
$ac_objext
9703 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9704 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9705 _lt_compiler_boilerplate
=`cat conftest.err`
9708 ac_outfile
=conftest.
$ac_objext
9709 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9710 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9711 _lt_linker_boilerplate
=`cat conftest.err`
9716 ## There is no encapsulation within the following macros, do not change
9717 ## the running order or otherwise move them around unless you know exactly
9718 ## what you are doing...
9719 if test -n "$compiler"; then
9721 lt_prog_compiler_no_builtin_flag
=
9723 if test "$GCC" = yes; then
9724 case $cc_basename in
9726 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9728 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9732 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9733 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9734 $as_echo_n "(cached) " >&6
9736 lt_cv_prog_compiler_rtti_exceptions
=no
9737 ac_outfile
=conftest.
$ac_objext
9738 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9739 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9740 # Insert the option either (1) after the last *FLAGS variable, or
9741 # (2) before a word containing "conftest.", or (3) at the end.
9742 # Note that $ac_compile itself does not contain backslashes and begins
9743 # with a dollar sign (not a hyphen), so the echo should work correctly.
9744 # The option is referenced via a variable to avoid confusing sed.
9745 lt_compile
=`echo "$ac_compile" | $SED \
9746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9748 -e 's:$: $lt_compiler_flag:'`
9749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9750 (eval "$lt_compile" 2>conftest.err
)
9752 cat conftest.err
>&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 if (exit $ac_status) && test -s "$ac_outfile"; then
9755 # The compiler can only warn and ignore the option if not recognized
9756 # So say no if there are warnings other than the usual output.
9757 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9758 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9759 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9760 lt_cv_prog_compiler_rtti_exceptions
=yes
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9767 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9769 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9770 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9782 lt_prog_compiler_wl
=
9783 lt_prog_compiler_pic
=
9784 lt_prog_compiler_static
=
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9787 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9789 if test "$GCC" = yes; then
9790 lt_prog_compiler_wl
='-Wl,'
9791 lt_prog_compiler_static
='-static'
9795 # All AIX code is PIC.
9796 if test "$host_cpu" = ia64
; then
9797 # AIX 5 now supports IA64 processor
9798 lt_prog_compiler_static
='-Bstatic'
9800 lt_prog_compiler_pic
='-fPIC'
9806 # see comment about AmigaOS4 .so support
9807 lt_prog_compiler_pic
='-fPIC'
9810 # FIXME: we need at least 68020 code to build shared libraries, but
9811 # adding the `-m68020' flag to GCC prevents building anything better,
9813 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9818 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9819 # PIC is the default for these OSes.
9822 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9823 # This hack is so that the source file can tell whether it is being
9824 # built for inclusion in a dll (and should export symbols for example).
9825 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9826 # (--disable-auto-import) libraries
9827 lt_prog_compiler_pic
='-DDLL_EXPORT'
9830 darwin
* | rhapsody
*)
9831 # PIC is the default on this platform
9832 # Common symbols not allowed in MH_DYLIB files
9833 lt_prog_compiler_pic
='-fno-common'
9837 # PIC is the default for Haiku.
9838 # The "-static" flag exists, but is broken.
9839 lt_prog_compiler_static
=
9843 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9844 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9845 # sets the default TLS model and affects inlining.
9851 lt_prog_compiler_pic
='-fPIC'
9857 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9858 # Instead, we relocate shared libraries at runtime.
9862 # Just because we use GCC doesn't mean we suddenly get shared libraries
9863 # on systems that don't support them.
9864 lt_prog_compiler_can_build_shared
=no
9869 # QNX uses GNU C++, but need to define -shared option too, otherwise
9871 lt_prog_compiler_pic
='-fPIC -shared'
9875 if test -d /usr
/nec
; then
9876 lt_prog_compiler_pic
=-Kconform_pic
9881 lt_prog_compiler_pic
='-fPIC'
9885 case $cc_basename in
9886 nvcc
*) # Cuda Compiler Driver 2.2
9887 lt_prog_compiler_wl
='-Xlinker '
9888 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9892 # PORTME Check for flag to pass linker flags through the system compiler.
9895 lt_prog_compiler_wl
='-Wl,'
9896 if test "$host_cpu" = ia64
; then
9897 # AIX 5 now supports IA64 processor
9898 lt_prog_compiler_static
='-Bstatic'
9900 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9904 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9905 # This hack is so that the source file can tell whether it is being
9906 # built for inclusion in a dll (and should export symbols for example).
9907 lt_prog_compiler_pic
='-DDLL_EXPORT'
9910 hpux9
* | hpux10
* | hpux11
*)
9911 lt_prog_compiler_wl
='-Wl,'
9912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9919 lt_prog_compiler_pic
='+Z'
9922 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9923 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9926 irix5
* | irix6
* | nonstopux
*)
9927 lt_prog_compiler_wl
='-Wl,'
9928 # PIC (with -KPIC) is the default.
9929 lt_prog_compiler_static
='-non_shared'
9932 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9933 case $cc_basename in
9934 # old Intel for x86_64 which still supported -KPIC.
9936 lt_prog_compiler_wl
='-Wl,'
9937 lt_prog_compiler_pic
='-KPIC'
9938 lt_prog_compiler_static
='-static'
9940 # icc used to be incompatible with GCC.
9941 # ICC 10 doesn't accept -KPIC any more.
9943 lt_prog_compiler_wl
='-Wl,'
9944 lt_prog_compiler_pic
='-fPIC'
9945 lt_prog_compiler_static
='-static'
9947 # Lahey Fortran 8.1.
9949 lt_prog_compiler_wl
='-Wl,'
9950 lt_prog_compiler_pic
='--shared'
9951 lt_prog_compiler_static
='--static'
9953 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9954 # Portland Group compilers (*not* the Pentium gcc compiler,
9955 # which looks to be a dead project)
9956 lt_prog_compiler_wl
='-Wl,'
9957 lt_prog_compiler_pic
='-fpic'
9958 lt_prog_compiler_static
='-Bstatic'
9961 lt_prog_compiler_wl
='-Wl,'
9962 # All Alpha code is PIC.
9963 lt_prog_compiler_static
='-non_shared'
9965 xl
* | bgxl
* | bgf
* | mpixl
*)
9966 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9967 lt_prog_compiler_wl
='-Wl,'
9968 lt_prog_compiler_pic
='-qpic'
9969 lt_prog_compiler_static
='-qstaticlink'
9972 case `$CC -V 2>&1 | sed 5q` in
9973 *Sun\ F
* |
*Sun
*Fortran
*)
9974 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9975 lt_prog_compiler_pic
='-KPIC'
9976 lt_prog_compiler_static
='-Bstatic'
9977 lt_prog_compiler_wl
=''
9981 lt_prog_compiler_pic
='-KPIC'
9982 lt_prog_compiler_static
='-Bstatic'
9983 lt_prog_compiler_wl
='-Wl,'
9991 lt_prog_compiler_pic
='-KPIC'
9992 lt_prog_compiler_static
='-Bstatic'
9996 # QNX uses GNU C++, but need to define -shared option too, otherwise
9998 lt_prog_compiler_pic
='-fPIC -shared'
10001 osf3
* | osf4
* | osf5
*)
10002 lt_prog_compiler_wl
='-Wl,'
10003 # All OSF/1 code is PIC.
10004 lt_prog_compiler_static
='-non_shared'
10008 lt_prog_compiler_static
='-non_shared'
10012 lt_prog_compiler_pic
='-KPIC'
10013 lt_prog_compiler_static
='-Bstatic'
10014 case $cc_basename in
10015 f77
* | f90
* | f95
*)
10016 lt_prog_compiler_wl
='-Qoption ld ';;
10018 lt_prog_compiler_wl
='-Wl,';;
10023 lt_prog_compiler_wl
='-Qoption ld '
10024 lt_prog_compiler_pic
='-PIC'
10025 lt_prog_compiler_static
='-Bstatic'
10028 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10029 lt_prog_compiler_wl
='-Wl,'
10030 lt_prog_compiler_pic
='-KPIC'
10031 lt_prog_compiler_static
='-Bstatic'
10035 if test -d /usr
/nec
;then
10036 lt_prog_compiler_pic
='-Kconform_pic'
10037 lt_prog_compiler_static
='-Bstatic'
10041 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10042 lt_prog_compiler_wl
='-Wl,'
10043 lt_prog_compiler_pic
='-KPIC'
10044 lt_prog_compiler_static
='-Bstatic'
10048 lt_prog_compiler_wl
='-Wl,'
10049 lt_prog_compiler_can_build_shared
=no
10053 lt_prog_compiler_pic
='-pic'
10054 lt_prog_compiler_static
='-Bstatic'
10058 lt_prog_compiler_can_build_shared
=no
10064 # For platforms which do not support PIC, -DPIC is meaningless:
10066 lt_prog_compiler_pic
=
10069 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10073 $as_echo "$lt_prog_compiler_pic" >&6; }
10081 # Check to make sure the PIC flag actually works.
10083 if test -n "$lt_prog_compiler_pic"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10086 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10087 $as_echo_n "(cached) " >&6
10089 lt_cv_prog_compiler_pic_works
=no
10090 ac_outfile
=conftest.
$ac_objext
10091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10092 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10093 # Insert the option either (1) after the last *FLAGS variable, or
10094 # (2) before a word containing "conftest.", or (3) at the end.
10095 # Note that $ac_compile itself does not contain backslashes and begins
10096 # with a dollar sign (not a hyphen), so the echo should work correctly.
10097 # The option is referenced via a variable to avoid confusing sed.
10098 lt_compile
=`echo "$ac_compile" | $SED \
10099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10101 -e 's:$: $lt_compiler_flag:'`
10102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10103 (eval "$lt_compile" 2>conftest.err
)
10105 cat conftest.err
>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 if (exit $ac_status) && test -s "$ac_outfile"; then
10108 # The compiler can only warn and ignore the option if not recognized
10109 # So say no if there are warnings other than the usual output.
10110 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10112 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10113 lt_cv_prog_compiler_pic_works
=yes
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10120 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10122 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10123 case $lt_prog_compiler_pic in
10125 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10128 lt_prog_compiler_pic
=
10129 lt_prog_compiler_can_build_shared
=no
10140 # Check to make sure the static flag actually works.
10142 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10144 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10145 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10146 $as_echo_n "(cached) " >&6
10148 lt_cv_prog_compiler_static_works
=no
10149 save_LDFLAGS
="$LDFLAGS"
10150 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10151 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10152 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10153 # The linker can only warn and ignore the option if not recognized
10154 # So say no if there are warnings
10155 if test -s conftest.err
; then
10156 # Append any errors to the config.log.
10157 cat conftest.err
1>&5
10158 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10159 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10160 if diff conftest.exp conftest.er2
>/dev
/null
; then
10161 lt_cv_prog_compiler_static_works
=yes
10164 lt_cv_prog_compiler_static_works
=yes
10168 LDFLAGS
="$save_LDFLAGS"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10172 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10174 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10177 lt_prog_compiler_static
=
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10187 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10188 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 lt_cv_prog_compiler_c_o
=no
10192 $RM -r conftest
2>/dev
/null
10196 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10198 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10199 # Insert the option either (1) after the last *FLAGS variable, or
10200 # (2) before a word containing "conftest.", or (3) at the end.
10201 # Note that $ac_compile itself does not contain backslashes and begins
10202 # with a dollar sign (not a hyphen), so the echo should work correctly.
10203 lt_compile
=`echo "$ac_compile" | $SED \
10204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10206 -e 's:$: $lt_compiler_flag:'`
10207 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10208 (eval "$lt_compile" 2>out
/conftest.err
)
10210 cat out
/conftest.err
>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10214 # The compiler can only warn and ignore the option if not recognized
10215 # So say no if there are warnings
10216 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10217 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10218 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10219 lt_cv_prog_compiler_c_o
=yes
10224 # SGI C++ compiler will create directory out/ii_files/ for
10225 # template instantiation
10226 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10227 $RM out
/* && rmdir out
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10234 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10242 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10243 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 lt_cv_prog_compiler_c_o
=no
10247 $RM -r conftest
2>/dev
/null
10251 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10253 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10254 # Insert the option either (1) after the last *FLAGS variable, or
10255 # (2) before a word containing "conftest.", or (3) at the end.
10256 # Note that $ac_compile itself does not contain backslashes and begins
10257 # with a dollar sign (not a hyphen), so the echo should work correctly.
10258 lt_compile
=`echo "$ac_compile" | $SED \
10259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10261 -e 's:$: $lt_compiler_flag:'`
10262 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10263 (eval "$lt_compile" 2>out
/conftest.err
)
10265 cat out
/conftest.err
>&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10269 # The compiler can only warn and ignore the option if not recognized
10270 # So say no if there are warnings
10271 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10272 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10273 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10274 lt_cv_prog_compiler_c_o
=yes
10279 # SGI C++ compiler will create directory out/ii_files/ for
10280 # template instantiation
10281 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10282 $RM out
/* && rmdir out
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10289 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10294 hard_links
="nottested"
10295 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10296 # do not overwrite the value of need_locks provided by the user
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10298 $as_echo_n "checking if we can lock with hard links... " >&6; }
10301 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10303 ln conftest.a conftest.b
2>&5 || hard_links
=no
10304 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10306 $as_echo "$hard_links" >&6; }
10307 if test "$hard_links" = no
; then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10309 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10322 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10325 allow_undefined_flag
=
10326 always_export_symbols
=no
10328 archive_expsym_cmds
=
10329 compiler_needs_object
=no
10330 enable_shared_with_static_runtimes
=no
10331 export_dynamic_flag_spec
=
10332 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10333 hardcode_automatic
=no
10335 hardcode_direct_absolute
=no
10336 hardcode_libdir_flag_spec
=
10337 hardcode_libdir_flag_spec_ld
=
10338 hardcode_libdir_separator
=
10339 hardcode_minus_L
=no
10340 hardcode_shlibpath_var
=unsupported
10342 link_all_deplibs
=unknown
10344 module_expsym_cmds
=
10345 old_archive_from_new_cmds
=
10346 old_archive_from_expsyms_cmds
=
10347 thread_safe_flag_spec
=
10348 whole_archive_flag_spec
=
10349 # include_expsyms should be a list of space-separated symbols to be *always*
10350 # included in the symbol list
10352 # exclude_expsyms can be an extended regexp of symbols to exclude
10353 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10354 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10355 # as well as any symbol that contains `d'.
10356 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10357 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10358 # platforms (ab)use it in PIC code, but their linkers get confused if
10359 # the symbol is explicitly referenced. Since portable code cannot
10360 # rely on this symbol name, it's probably fine to never include it in
10361 # preloaded symbol tables.
10362 # Exclude shared library initialization/finalization symbols.
10363 extract_expsyms_cmds
=
10366 cygwin
* | mingw
* | pw32
* | cegcc
*)
10367 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10368 # When not using gcc, we currently assume that we are using
10369 # Microsoft Visual C++.
10370 if test "$GCC" != yes; then
10375 # we just hope/assume this is gcc and not c89 (= MSVC++)
10385 # On some targets, GNU ld is compatible enough with the native linker
10386 # that we're better off using the native interface for both.
10387 lt_use_gnu_ld_interface
=no
10388 if test "$with_gnu_ld" = yes; then
10391 # The AIX port of GNU ld has always aspired to compatibility
10392 # with the native linker. However, as the warning in the GNU ld
10393 # block says, versions before 2.19.5* couldn't really create working
10394 # shared libraries, regardless of the interface used.
10395 case `$LD -v 2>&1` in
10396 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10397 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10398 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10400 lt_use_gnu_ld_interface
=yes
10405 lt_use_gnu_ld_interface
=yes
10410 if test "$lt_use_gnu_ld_interface" = yes; then
10411 # If archive_cmds runs LD, not CC, wlarc should be empty
10414 # Set some defaults for GNU ld with shared library support. These
10415 # are reset later if shared libraries are not supported. Putting them
10416 # here allows them to be overridden if necessary.
10417 runpath_var
=LD_RUN_PATH
10418 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10419 export_dynamic_flag_spec
='${wl}--export-dynamic'
10420 # ancient GNU ld didn't support --whole-archive et. al.
10421 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10422 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10424 whole_archive_flag_spec
=
10426 supports_anon_versioning
=no
10427 case `$LD -v 2>&1` in
10428 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10429 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10430 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10431 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10432 *\
2.11.
*) ;; # other 2.11 versions
10433 *) supports_anon_versioning
=yes ;;
10436 # See if GNU ld supports shared libraries.
10439 # On AIX/PPC, the GNU linker is very broken
10440 if test "$host_cpu" != ia64
; then
10444 *** Warning: the GNU linker, at least up to release 2.19, is reported
10445 *** to be unable to reliably create shared libraries on AIX.
10446 *** Therefore, libtool is disabling shared libraries support. If you
10447 *** really care for shared libraries, you may want to install binutils
10448 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10449 *** You will then need to restart the configuration process.
10458 # see comment about AmigaOS4 .so support
10459 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10460 archive_expsym_cmds
=''
10463 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)'
10464 hardcode_libdir_flag_spec
='-L$libdir'
10465 hardcode_minus_L
=yes
10471 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10472 allow_undefined_flag
=unsupported
10473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10474 # support --undefined. This deserves some investigation. FIXME
10475 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10481 cygwin
* | mingw
* | pw32
* | cegcc
*)
10482 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10483 # as there is no search path for DLLs.
10484 hardcode_libdir_flag_spec
='-L$libdir'
10485 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10486 allow_undefined_flag
=unsupported
10487 always_export_symbols
=no
10488 enable_shared_with_static_runtimes
=yes
10489 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10491 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10492 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10493 # If the export-symbols file already is a .def file (1st line
10494 # is EXPORTS), use it as is; otherwise, prepend...
10495 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10496 cp $export_symbols $output_objdir/$soname.def;
10498 echo EXPORTS > $output_objdir/$soname.def;
10499 cat $export_symbols >> $output_objdir/$soname.def;
10501 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10508 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10509 link_all_deplibs
=yes
10514 hardcode_shlibpath_var
=no
10515 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10516 export_dynamic_flag_spec
='${wl}-E'
10517 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10518 # Instead, shared libraries are loaded at an image base (0x10000000 by
10519 # default) and relocated if they conflict, which is a slow very memory
10520 # consuming and fragmenting process. To avoid this, we pick a random,
10521 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10522 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10523 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10524 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'
10527 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10529 if test "$host_os" = linux-dietlibc
; then
10530 case $cc_basename in
10531 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10534 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10535 && test "$tmp_diet" = no
10537 tmp_addflag
=' $pic_flag'
10538 tmp_sharedflag
='-shared'
10539 case $cc_basename,$host_cpu in
10540 pgcc
*) # Portland Group C compiler
10541 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'
10542 tmp_addflag
=' $pic_flag'
10544 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10545 # Portland Group f77 and f90 compilers
10546 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'
10547 tmp_addflag
=' $pic_flag -Mnomain' ;;
10548 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10549 tmp_addflag
=' -i_dynamic' ;;
10550 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10551 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10552 ifc
* | ifort
*) # Intel Fortran compiler
10553 tmp_addflag
=' -nofor_main' ;;
10554 lf95
*) # Lahey Fortran 8.1
10555 whole_archive_flag_spec
=
10556 tmp_sharedflag
='--shared' ;;
10557 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10558 tmp_sharedflag
='-qmkshrobj'
10560 nvcc
*) # Cuda Compiler Driver 2.2
10561 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10562 compiler_needs_object
=yes
10565 case `$CC -V 2>&1 | sed 5q` in
10566 *Sun\ C
*) # Sun C 5.9
10567 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'
10568 compiler_needs_object
=yes
10569 tmp_sharedflag
='-G' ;;
10570 *Sun\ F
*) # Sun Fortran 8.3
10571 tmp_sharedflag
='-G' ;;
10573 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10575 if test "x$supports_anon_versioning" = xyes
; then
10576 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10578 echo "local: *; };" >> $output_objdir/$libname.ver~
10579 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10582 case $cc_basename in
10583 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10584 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10585 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10586 hardcode_libdir_flag_spec
=
10587 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10588 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10589 if test "x$supports_anon_versioning" = xyes
; then
10590 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10592 echo "local: *; };" >> $output_objdir/$libname.ver~
10593 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10603 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10604 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10607 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10608 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10613 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10617 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10618 *** create shared libraries on Solaris systems. Therefore, libtool
10619 *** is disabling shared libraries support. We urge you to upgrade GNU
10620 *** binutils to release 2.9.1 or newer. Another option is to modify
10621 *** your PATH or compiler configuration so that the native linker is
10622 *** used, and then restart.
10625 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10627 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10633 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10634 case `$LD -v 2>&1` in
10635 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10639 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10640 *** reliably create shared libraries on SCO systems. Therefore, libtool
10641 *** is disabling shared libraries support. We urge you to upgrade GNU
10642 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10643 *** your PATH or compiler configuration so that the native linker is
10644 *** used, and then restart.
10649 # For security reasons, it is highly recommended that you always
10650 # use absolute paths for naming shared libraries, and exclude the
10651 # DT_RUNPATH tag from executables and libraries. But doing so
10652 # requires that you compile everything twice, which is a pain.
10653 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10654 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10655 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10656 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10665 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10667 hardcode_direct
=yes
10668 hardcode_shlibpath_var
=no
10672 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10674 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10681 if test "$ld_shlibs" = no
; then
10683 hardcode_libdir_flag_spec
=
10684 export_dynamic_flag_spec
=
10685 whole_archive_flag_spec
=
10688 # PORTME fill in a description of your system's linker (not GNU ld)
10691 allow_undefined_flag
=unsupported
10692 always_export_symbols
=yes
10693 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'
10694 # Note: this linker hardcodes the directories in LIBPATH if there
10695 # are no directories specified by -L.
10696 hardcode_minus_L
=yes
10697 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10698 # Neither direct hardcoding nor static linking is supported with a
10700 hardcode_direct
=unsupported
10705 if test "$host_cpu" = ia64
; then
10706 # On IA64, the linker does run time linking by default, so we don't
10707 # have to do anything special.
10708 aix_use_runtimelinking
=no
10709 exp_sym_flag
='-Bexport'
10712 # If we're using GNU nm, then we don't want the "-C" option.
10713 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10714 # Also, AIX nm treats weak defined symbols like other global
10715 # defined symbols, whereas GNU nm marks them as "W".
10716 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10717 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'
10719 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'
10721 aix_use_runtimelinking
=no
10723 # Test if we are trying to use run time linking or normal
10724 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10725 # need to do runtime linking.
10726 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10727 for ld_flag
in $LDFLAGS; do
10728 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10729 aix_use_runtimelinking
=yes
10736 exp_sym_flag
='-bexport'
10737 no_entry_flag
='-bnoentry'
10740 # When large executables or shared objects are built, AIX ld can
10741 # have problems creating the table of contents. If linking a library
10742 # or program results in "error TOC overflow" add -mminimal-toc to
10743 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10744 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10747 hardcode_direct
=yes
10748 hardcode_direct_absolute
=yes
10749 hardcode_libdir_separator
=':'
10750 link_all_deplibs
=yes
10751 file_list_spec
='${wl}-f,'
10753 if test "$GCC" = yes; then
10754 case $host_os in aix4.
[012]|aix4.
[012].
*)
10755 # We only want to do this on AIX 4.2 and lower, the check
10756 # below for broken collect2 doesn't work under 4.3+
10757 collect2name
=`${CC} -print-prog-name=collect2`
10758 if test -f "$collect2name" &&
10759 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10761 # We have reworked collect2
10764 # We have old collect2
10765 hardcode_direct
=unsupported
10766 # It fails to find uninstalled libraries when the uninstalled
10767 # path is not listed in the libpath. Setting hardcode_minus_L
10768 # to unsupported forces relinking
10769 hardcode_minus_L
=yes
10770 hardcode_libdir_flag_spec
='-L$libdir'
10771 hardcode_libdir_separator
=
10775 shared_flag
='-shared'
10776 if test "$aix_use_runtimelinking" = yes; then
10777 shared_flag
="$shared_flag "'${wl}-G'
10781 if test "$host_cpu" = ia64
; then
10782 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10783 # chokes on -Wl,-G. The following line is correct:
10786 if test "$aix_use_runtimelinking" = yes; then
10787 shared_flag
='${wl}-G'
10789 shared_flag
='${wl}-bM:SRE'
10794 export_dynamic_flag_spec
='${wl}-bexpall'
10795 # It seems that -bexpall does not export symbols beginning with
10796 # underscore (_), so it is better to generate a list of symbols to export.
10797 always_export_symbols
=yes
10798 if test "$aix_use_runtimelinking" = yes; then
10799 # Warning - without using the other runtime loading flags (-brtl),
10800 # -berok will link without error, but may produce a broken library.
10801 allow_undefined_flag
='-berok'
10802 # Determine the default libpath from the value encoded in an
10803 # empty executable.
10804 if test x
$gcc_no_link = xyes
; then
10805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10818 if ac_fn_c_try_link
"$LINENO"; then :
10820 lt_aix_libpath_sed
='
10821 /Import File Strings/,/^$/ {
10827 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10828 # Check for a 64-bit object if we didn't find anything.
10829 if test -z "$aix_libpath"; then
10830 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10833 rm -f core conftest.err conftest.
$ac_objext \
10834 conftest
$ac_exeext conftest.
$ac_ext
10835 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10837 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10838 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"
10840 if test "$host_cpu" = ia64
; then
10841 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10842 allow_undefined_flag
="-z nodefs"
10843 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"
10845 # Determine the default libpath from the value encoded in an
10846 # empty executable.
10847 if test x
$gcc_no_link = xyes
; then
10848 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10861 if ac_fn_c_try_link
"$LINENO"; then :
10863 lt_aix_libpath_sed
='
10864 /Import File Strings/,/^$/ {
10870 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10871 # Check for a 64-bit object if we didn't find anything.
10872 if test -z "$aix_libpath"; then
10873 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10876 rm -f core conftest.err conftest.
$ac_objext \
10877 conftest
$ac_exeext conftest.
$ac_ext
10878 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10880 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10881 # Warning - without using the other run time loading flags,
10882 # -berok will link without error, but may produce a broken library.
10883 no_undefined_flag
=' ${wl}-bernotok'
10884 allow_undefined_flag
=' ${wl}-berok'
10885 if test "$with_gnu_ld" = yes; then
10886 # We only use this code for GNU lds that support --whole-archive.
10887 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10889 # Exported symbols can be pulled into shared objects from archives
10890 whole_archive_flag_spec
='$convenience'
10892 archive_cmds_need_lc
=yes
10893 # This is similar to how AIX traditionally builds its shared libraries.
10894 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'
10902 # see comment about AmigaOS4 .so support
10903 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10904 archive_expsym_cmds
=''
10907 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)'
10908 hardcode_libdir_flag_spec
='-L$libdir'
10909 hardcode_minus_L
=yes
10915 export_dynamic_flag_spec
=-rdynamic
10918 cygwin
* | mingw
* | pw32
* | cegcc
*)
10919 # When not using gcc, we currently assume that we are using
10920 # Microsoft Visual C++.
10921 # hardcode_libdir_flag_spec is actually meaningless, as there is
10922 # no search path for DLLs.
10923 hardcode_libdir_flag_spec
=' '
10924 allow_undefined_flag
=unsupported
10925 # Tell ltmain to make .lib files, not .a files.
10927 # Tell ltmain to make .dll files, not .so files.
10929 # FIXME: Setting linknames here is a bad hack.
10930 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10931 # The linker will automatically build a .lib file if we build a DLL.
10932 old_archive_from_new_cmds
='true'
10933 # FIXME: Should let the user specify the lib program.
10934 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10935 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10936 enable_shared_with_static_runtimes
=yes
10939 darwin
* | rhapsody
*)
10942 archive_cmds_need_lc
=no
10944 hardcode_automatic
=yes
10945 hardcode_shlibpath_var
=unsupported
10946 if test "$lt_cv_ld_force_load" = "yes"; then
10947 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\"`'
10949 whole_archive_flag_spec
=''
10951 link_all_deplibs
=yes
10952 allow_undefined_flag
="$_lt_dar_allow_undefined"
10953 case $cc_basename in
10954 ifort
*) _lt_dar_can_shared
=yes ;;
10955 *) _lt_dar_can_shared
=$GCC ;;
10957 if test "$_lt_dar_can_shared" = "yes"; then
10958 output_verbose_link_cmd
=func_echo_all
10959 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10960 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10961 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}"
10962 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}"
10971 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10972 hardcode_libdir_flag_spec
='-L$libdir'
10973 hardcode_shlibpath_var
=no
10976 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10977 # support. Future versions do this automatically, but an explicit c++rt0.o
10978 # does not break anything, and helps significantly (at the cost of a little
10981 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10982 hardcode_libdir_flag_spec
='-R$libdir'
10983 hardcode_direct
=yes
10984 hardcode_shlibpath_var
=no
10987 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10989 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10990 hardcode_direct
=yes
10991 hardcode_minus_L
=yes
10992 hardcode_shlibpath_var
=no
10995 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10996 freebsd
* | dragonfly
*)
10997 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10998 hardcode_libdir_flag_spec
='-R$libdir'
10999 hardcode_direct
=yes
11000 hardcode_shlibpath_var
=no
11004 if test "$GCC" = yes; then
11005 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'
11007 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'
11009 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11010 hardcode_libdir_separator
=:
11011 hardcode_direct
=yes
11013 # hardcode_minus_L: Not really in the search PATH,
11014 # but as the default location of the library.
11015 hardcode_minus_L
=yes
11016 export_dynamic_flag_spec
='${wl}-E'
11020 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11021 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11023 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11025 if test "$with_gnu_ld" = no
; then
11026 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11027 hardcode_libdir_flag_spec_ld
='+b $libdir'
11028 hardcode_libdir_separator
=:
11029 hardcode_direct
=yes
11030 hardcode_direct_absolute
=yes
11031 export_dynamic_flag_spec
='${wl}-E'
11032 # hardcode_minus_L: Not really in the search PATH,
11033 # but as the default location of the library.
11034 hardcode_minus_L
=yes
11039 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11042 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11045 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11048 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11054 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11057 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11061 # Older versions of the 11.00 compiler do not understand -b yet
11062 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11064 $as_echo_n "checking if $CC understands -b... " >&6; }
11065 if ${lt_cv_prog_compiler__b+:} false
; then :
11066 $as_echo_n "(cached) " >&6
11068 lt_cv_prog_compiler__b
=no
11069 save_LDFLAGS
="$LDFLAGS"
11070 LDFLAGS
="$LDFLAGS -b"
11071 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11072 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11073 # The linker can only warn and ignore the option if not recognized
11074 # So say no if there are warnings
11075 if test -s conftest.err
; then
11076 # Append any errors to the config.log.
11077 cat conftest.err
1>&5
11078 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11079 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11080 if diff conftest.exp conftest.er2
>/dev
/null
; then
11081 lt_cv_prog_compiler__b
=yes
11084 lt_cv_prog_compiler__b
=yes
11088 LDFLAGS
="$save_LDFLAGS"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11092 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11094 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11095 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11097 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11103 if test "$with_gnu_ld" = no
; then
11104 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11105 hardcode_libdir_separator
=:
11110 hardcode_shlibpath_var
=no
11113 hardcode_direct
=yes
11114 hardcode_direct_absolute
=yes
11115 export_dynamic_flag_spec
='${wl}-E'
11117 # hardcode_minus_L: Not really in the search PATH,
11118 # but as the default location of the library.
11119 hardcode_minus_L
=yes
11125 irix5
* | irix6
* | nonstopux
*)
11126 if test "$GCC" = yes; then
11127 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'
11128 # Try to use the -exported_symbol ld option, if it does not
11129 # work, assume that -exports_file does not work either and
11130 # implicitly export all symbols.
11131 save_LDFLAGS
="$LDFLAGS"
11132 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11133 if test x
$gcc_no_link = xyes
; then
11134 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11140 if ac_fn_c_try_link
"$LINENO"; then :
11141 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'
11144 rm -f core conftest.err conftest.
$ac_objext \
11145 conftest
$ac_exeext conftest.
$ac_ext
11146 LDFLAGS
="$save_LDFLAGS"
11148 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'
11149 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'
11151 archive_cmds_need_lc
='no'
11152 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11153 hardcode_libdir_separator
=:
11155 link_all_deplibs
=yes
11159 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11160 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11162 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11164 hardcode_libdir_flag_spec
='-R$libdir'
11165 hardcode_direct
=yes
11166 hardcode_shlibpath_var
=no
11170 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11171 hardcode_direct
=yes
11172 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11173 hardcode_libdir_separator
=:
11174 hardcode_shlibpath_var
=no
11181 if test -f /usr
/libexec
/ld.so
; then
11182 hardcode_direct
=yes
11183 hardcode_shlibpath_var
=no
11184 hardcode_direct_absolute
=yes
11185 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11186 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11187 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11188 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11189 export_dynamic_flag_spec
='${wl}-E'
11192 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11193 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11194 hardcode_libdir_flag_spec
='-R$libdir'
11197 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11198 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11208 hardcode_libdir_flag_spec
='-L$libdir'
11209 hardcode_minus_L
=yes
11210 allow_undefined_flag
=unsupported
11211 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'
11212 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11216 if test "$GCC" = yes; then
11217 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11218 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'
11220 allow_undefined_flag
=' -expect_unresolved \*'
11221 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'
11223 archive_cmds_need_lc
='no'
11224 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11225 hardcode_libdir_separator
=:
11228 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11229 if test "$GCC" = yes; then
11230 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11231 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'
11232 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11234 allow_undefined_flag
=' -expect_unresolved \*'
11235 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'
11236 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~
11237 $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'
11239 # Both c and cxx compiler support -rpath directly
11240 hardcode_libdir_flag_spec
='-rpath $libdir'
11242 archive_cmds_need_lc
='no'
11243 hardcode_libdir_separator
=:
11247 no_undefined_flag
=' -z defs'
11248 if test "$GCC" = yes; then
11250 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11251 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11252 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11254 case `$CC -V 2>&1` in
11257 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11258 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11259 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11263 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11265 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11269 hardcode_libdir_flag_spec
='-R$libdir'
11270 hardcode_shlibpath_var
=no
11272 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11274 # The compiler driver will combine and reorder linker options,
11275 # but understands `-z linker_flag'. GCC discards it without `$wl',
11276 # but is careful enough not to reorder.
11277 # Supported since Solaris 2.6 (maybe 2.5.1?)
11278 if test "$GCC" = yes; then
11279 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11281 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11285 link_all_deplibs
=yes
11289 if test "x$host_vendor" = xsequent
; then
11290 # Use $CC to link under sequent, because it throws in some extra .o
11291 # files that make .init and .fini sections work.
11292 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11294 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11296 hardcode_libdir_flag_spec
='-L$libdir'
11297 hardcode_direct
=yes
11298 hardcode_minus_L
=yes
11299 hardcode_shlibpath_var
=no
11303 case $host_vendor in
11305 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11306 hardcode_direct
=yes # is this really true???
11309 ## LD is ld it makes a PLAMLIB
11310 ## CC just makes a GrossModule.
11311 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11312 reload_cmds
='$CC -r -o $output$reload_objs'
11316 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11317 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11320 runpath_var
='LD_RUN_PATH'
11321 hardcode_shlibpath_var
=no
11325 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11326 hardcode_shlibpath_var
=no
11327 export_dynamic_flag_spec
='-Bexport'
11331 if test -d /usr
/nec
; then
11332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11333 hardcode_shlibpath_var
=no
11334 runpath_var
=LD_RUN_PATH
11335 hardcode_runpath_var
=yes
11340 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11341 no_undefined_flag
='${wl}-z,text'
11342 archive_cmds_need_lc
=no
11343 hardcode_shlibpath_var
=no
11344 runpath_var
='LD_RUN_PATH'
11346 if test "$GCC" = yes; then
11347 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11348 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11351 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11355 sysv5
* | sco3.2v5
* | sco5v6
*)
11356 # Note: We can NOT use -z defs as we might desire, because we do not
11357 # link with -lc, and that would cause any symbols used from libc to
11358 # always be unresolved, which means just about no library would
11359 # ever link correctly. If we're not using GNU ld we use -z text
11360 # though, which does catch some bad symbols but isn't as heavy-handed
11362 no_undefined_flag
='${wl}-z,text'
11363 allow_undefined_flag
='${wl}-z,nodefs'
11364 archive_cmds_need_lc
=no
11365 hardcode_shlibpath_var
=no
11366 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11367 hardcode_libdir_separator
=':'
11368 link_all_deplibs
=yes
11369 export_dynamic_flag_spec
='${wl}-Bexport'
11370 runpath_var
='LD_RUN_PATH'
11372 if test "$GCC" = yes; then
11373 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11374 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11376 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11377 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11382 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11383 hardcode_libdir_flag_spec
='-L$libdir'
11384 hardcode_shlibpath_var
=no
11392 if test x
$host_vendor = xsni
; then
11394 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11395 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11402 $as_echo "$ld_shlibs" >&6; }
11403 test "$ld_shlibs" = no
&& can_build_shared
=no
11405 with_gnu_ld
=$with_gnu_ld
11422 # Do we need to explicitly link libc?
11424 case "x$archive_cmds_need_lc" in
11426 # Assume -lc should be added
11427 archive_cmds_need_lc
=yes
11429 if test "$enable_shared" = yes && test "$GCC" = yes; then
11430 case $archive_cmds in
11432 # FIXME: we may have to deal with multi-command sequences.
11435 # Test whether the compiler implicitly links with -lc since on some
11436 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11437 # to ld, don't add -lc before -lgcc.
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11439 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11440 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11441 $as_echo_n "(cached) " >&6
11444 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11447 (eval $ac_compile) 2>&5
11449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11450 test $ac_status = 0; } 2>conftest.err
; then
11453 libobjs
=conftest.
$ac_objext
11455 wl
=$lt_prog_compiler_wl
11456 pic_flag
=$lt_prog_compiler_pic
11462 lt_save_allow_undefined_flag
=$allow_undefined_flag
11463 allow_undefined_flag
=
11464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11465 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11468 test $ac_status = 0; }
11470 lt_cv_archive_cmds_need_lc
=no
11472 lt_cv_archive_cmds_need_lc
=yes
11474 allow_undefined_flag
=$lt_save_allow_undefined_flag
11476 cat conftest.err
1>&5
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11482 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11483 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11647 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11649 if test "$GCC" = yes; then
11651 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11652 *) lt_awk_arg
="/^libraries:/" ;;
11655 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11656 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11658 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11659 case $lt_search_path_spec in
11661 # if the path contains ";" then we assume it to be the separator
11662 # otherwise default to the standard path separator (i.e. ":") - it is
11663 # assumed that no part of a normal pathname contains ";" but that should
11664 # okay in the real world where ";" in dirpaths is itself problematic.
11665 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11668 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11671 # Ok, now we have the path, separated by spaces, we can step through it
11672 # and add multilib dir if necessary.
11673 lt_tmp_lt_search_path_spec
=
11674 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11675 for lt_sys_path
in $lt_search_path_spec; do
11676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11677 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11679 test -d "$lt_sys_path" && \
11680 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11683 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11684 BEGIN {RS=" "; FS="/|\n";} {
11687 for (lt_i = NF; lt_i > 0; lt_i--) {
11688 if ($lt_i != "" && $lt_i != ".") {
11689 if ($lt_i == "..") {
11692 if (lt_count == 0) {
11693 lt_foo="/" $lt_i lt_foo;
11700 if (lt_foo != "") { lt_freq[lt_foo]++; }
11701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11703 # AWK program above erroneously prepends '/' to C:/dos/paths
11706 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11707 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11709 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11711 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11713 library_names_spec
=
11714 libname_spec
='lib$name'
11718 postuninstall_cmds
=
11722 shlibpath_overrides_runpath
=unknown
11724 dynamic_linker
="$host_os ld.so"
11725 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11726 need_lib_prefix
=unknown
11727 hardcode_into_libs
=no
11729 # when you set need_version to no, make sure it does not cause -set_version
11730 # flags to be left without arguments
11731 need_version
=unknown
11736 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11737 shlibpath_var
=LIBPATH
11739 # AIX 3 has no versioning support, so we append a major version to the name.
11740 soname_spec
='${libname}${release}${shared_ext}$major'
11747 hardcode_into_libs
=yes
11748 if test "$host_cpu" = ia64
; then
11749 # AIX 5 supports IA64
11750 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11751 shlibpath_var
=LD_LIBRARY_PATH
11753 # With GCC up to 2.95.x, collect2 would create an import file
11754 # for dependence libraries. The import file would start with
11755 # the line `#! .'. This would cause the generated library to
11756 # depend on `.', always an invalid library. This was fixed in
11757 # development snapshots of GCC prior to 3.0.
11759 aix4 | aix4.
[01] | aix4.
[01].
*)
11760 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11762 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11765 can_build_shared
=no
11769 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11770 # soname into executable. Probably we can add versioning support to
11771 # collect2, so additional links can be useful in future.
11772 if test "$aix_use_runtimelinking" = yes; then
11773 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11774 # instead of lib<name>.a to let people know that these are not
11775 # typical AIX shared libraries.
11776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 # We preserve .a as extension for shared libraries through AIX4.2
11779 # and later when we are not doing run time linking.
11780 library_names_spec
='${libname}${release}.a $libname.a'
11781 soname_spec
='${libname}${release}${shared_ext}$major'
11783 shlibpath_var
=LIBPATH
11790 # Since July 2007 AmigaOS4 officially supports .so libraries.
11791 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 library_names_spec
='$libname.ixlibrary $libname.a'
11796 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11797 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'
11803 library_names_spec
='${libname}${shared_ext}'
11804 dynamic_linker
="$host_os ld.so"
11805 shlibpath_var
=LIBRARY_PATH
11811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11812 soname_spec
='${libname}${release}${shared_ext}$major'
11813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11814 shlibpath_var
=LD_LIBRARY_PATH
11815 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11816 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11817 # the default ld.so.conf also contains /usr/contrib/lib and
11818 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11819 # libtool to hard-code these into programs
11822 cygwin
* | mingw
* | pw32
* | cegcc
*)
11823 version_type
=windows
11828 case $GCC,$host_os in
11829 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11830 library_names_spec
='$libname.dll.a'
11831 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11832 postinstall_cmds
='base_file=`basename \${file}`~
11833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11834 dldir=$destdir/`dirname \$dlpath`~
11835 test -d \$dldir || mkdir -p \$dldir~
11836 $install_prog $dir/$dlname \$dldir/$dlname~
11837 chmod a+x \$dldir/$dlname~
11838 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11839 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11841 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11842 dlpath=$dir/\$dldll~
11844 shlibpath_overrides_runpath
=yes
11848 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11849 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11851 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11854 # MinGW DLLs use traditional 'lib' prefix
11855 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11858 # pw32 DLLs use 'pw' prefix rather than 'lib'
11859 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11865 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11868 dynamic_linker
='Win32 ld.exe'
11869 # FIXME: first we should search . and the directory the executable is in
11873 darwin
* | rhapsody
*)
11874 dynamic_linker
="$host_os dyld"
11875 version_type
=darwin
11878 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11879 soname_spec
='${libname}${release}${major}$shared_ext'
11880 shlibpath_overrides_runpath
=yes
11881 shlibpath_var
=DYLD_LIBRARY_PATH
11882 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11884 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11885 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11893 soname_spec
='${libname}${release}${shared_ext}$major'
11894 shlibpath_var
=LD_LIBRARY_PATH
11897 freebsd
* | dragonfly
*)
11898 # DragonFly does not have aout. When/if they implement a new
11899 # versioning mechanism, adjust this.
11900 if test -x /usr
/bin
/objformat
; then
11901 objformat
=`/usr/bin/objformat`
11904 freebsd
[23].
*) objformat
=aout
;;
11905 *) objformat
=elf
;;
11908 version_type
=freebsd-
$objformat
11909 case $version_type in
11911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11916 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11920 shlibpath_var
=LD_LIBRARY_PATH
11923 shlibpath_overrides_runpath
=yes
11925 freebsd3.
[01]* | freebsdelf3.
[01]*)
11926 shlibpath_overrides_runpath
=yes
11927 hardcode_into_libs
=yes
11929 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11930 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11931 shlibpath_overrides_runpath
=no
11932 hardcode_into_libs
=yes
11934 *) # from 4.6 on, and DragonFly
11935 shlibpath_overrides_runpath
=yes
11936 hardcode_into_libs
=yes
11945 dynamic_linker
="$host_os runtime_loader"
11946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11947 soname_spec
='${libname}${release}${shared_ext}$major'
11948 shlibpath_var
=LIBRARY_PATH
11949 shlibpath_overrides_runpath
=yes
11950 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11951 hardcode_into_libs
=yes
11954 hpux9
* | hpux10
* | hpux11
*)
11955 # Give a soname corresponding to the major version so that dld.sl refuses to
11956 # link against other versions.
11963 hardcode_into_libs
=yes
11964 dynamic_linker
="$host_os dld.so"
11965 shlibpath_var
=LD_LIBRARY_PATH
11966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11968 soname_spec
='${libname}${release}${shared_ext}$major'
11969 if test "X$HPUX_IA64_MODE" = X32
; then
11970 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11972 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11974 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11978 hardcode_into_libs
=yes
11979 dynamic_linker
="$host_os dld.sl"
11980 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11981 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11985 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11989 dynamic_linker
="$host_os dld.sl"
11990 shlibpath_var
=SHLIB_PATH
11991 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11993 soname_spec
='${libname}${release}${shared_ext}$major'
11996 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11997 postinstall_cmds
='chmod 555 $lib'
11998 # or fails outright, so override atomically:
11999 install_override_mode
=555
12006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12007 soname_spec
='${libname}${release}${shared_ext}$major'
12008 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12009 shlibpath_var
=LD_LIBRARY_PATH
12010 shlibpath_overrides_runpath
=no
12011 hardcode_into_libs
=yes
12014 irix5
* | irix6
* | nonstopux
*)
12016 nonstopux
*) version_type
=nonstopux
;;
12018 if test "$lt_cv_prog_gnu_ld" = yes; then
12026 soname_spec
='${libname}${release}${shared_ext}$major'
12027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12029 irix5
* | nonstopux
*)
12030 libsuff
= shlibsuff
=
12033 case $LD in # libtool.m4 will add one of these switches to LD
12034 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12035 libsuff
= shlibsuff
= libmagic
=32-bit;;
12036 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12037 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12038 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12039 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12040 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12044 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12045 shlibpath_overrides_runpath
=no
12046 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12047 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12048 hardcode_into_libs
=yes
12051 # No shared lib support for Linux oldld, aout, or coff.
12052 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12056 # This must be Linux ELF.
12058 # uclinux* changes (here and below) have been submitted to the libtool
12059 # project, but have not yet been accepted: they are GCC-local changes
12060 # for the time being. (See
12061 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12062 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12067 soname_spec
='${libname}${release}${shared_ext}$major'
12068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12069 shlibpath_var
=LD_LIBRARY_PATH
12070 shlibpath_overrides_runpath
=no
12072 # Some binutils ld are patched to set DT_RUNPATH
12073 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 lt_cv_shlibpath_overrides_runpath
=no
12077 save_LDFLAGS
=$LDFLAGS
12078 save_libdir
=$libdir
12079 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12080 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12081 if test x
$gcc_no_link = xyes
; then
12082 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12095 if ac_fn_c_try_link
"$LINENO"; then :
12096 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12097 lt_cv_shlibpath_overrides_runpath
=yes
12100 rm -f core conftest.err conftest.
$ac_objext \
12101 conftest
$ac_exeext conftest.
$ac_ext
12102 LDFLAGS
=$save_LDFLAGS
12103 libdir
=$save_libdir
12107 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12109 # This implies no fast_install, which is unacceptable.
12110 # Some rework will be needed to allow for fast_install
12111 # before this can be enabled.
12112 hardcode_into_libs
=yes
12114 # Append ld.so.conf contents to the search path
12115 if test -f /etc
/ld.so.conf
; then
12116 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' ' '`
12117 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12120 # We used to test for /lib/ld.so.1 and disable shared libraries on
12121 # powerpc, because MkLinux only supported shared libraries with the
12122 # GNU dynamic linker. Since this was broken with cross compilers,
12123 # most powerpc-linux boxes support dynamic linking these days and
12124 # people can always --disable-shared, the test was removed, and we
12125 # assume the GNU/Linux dynamic linker is in use.
12126 dynamic_linker
='GNU/Linux ld.so'
12133 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12135 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12136 dynamic_linker
='NetBSD (a.out) ld.so'
12138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12139 soname_spec
='${libname}${release}${shared_ext}$major'
12140 dynamic_linker
='NetBSD ld.elf_so'
12142 shlibpath_var
=LD_LIBRARY_PATH
12143 shlibpath_overrides_runpath
=yes
12144 hardcode_into_libs
=yes
12149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12150 shlibpath_var
=LD_LIBRARY_PATH
12151 shlibpath_overrides_runpath
=yes
12158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12159 soname_spec
='${libname}${release}${shared_ext}$major'
12160 shlibpath_var
=LD_LIBRARY_PATH
12161 shlibpath_overrides_runpath
=no
12162 hardcode_into_libs
=yes
12163 dynamic_linker
='ldqnx.so'
12168 sys_lib_dlsearch_path_spec
="/usr/lib"
12170 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12172 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12173 *) need_version
=no
;;
12175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12176 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12177 shlibpath_var
=LD_LIBRARY_PATH
12178 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12180 openbsd2.
[89] | openbsd2.
[89].
*)
12181 shlibpath_overrides_runpath
=no
12184 shlibpath_overrides_runpath
=yes
12188 shlibpath_overrides_runpath
=yes
12193 libname_spec
='$name'
12196 library_names_spec
='$libname${shared_ext} $libname.a'
12197 dynamic_linker
='OS/2 ld.exe'
12198 shlibpath_var
=LIBPATH
12201 osf3
* | osf4
* | osf5
*)
12205 soname_spec
='${libname}${release}${shared_ext}$major'
12206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12207 shlibpath_var
=LD_LIBRARY_PATH
12208 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12209 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 soname_spec
='${libname}${release}${shared_ext}$major'
12222 shlibpath_var
=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath
=yes
12224 hardcode_into_libs
=yes
12225 # ldd complains unless libraries are executable
12226 postinstall_cmds
='chmod +x $lib'
12231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12232 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12233 shlibpath_var
=LD_LIBRARY_PATH
12234 shlibpath_overrides_runpath
=yes
12235 if test "$with_gnu_ld" = yes; then
12243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12244 soname_spec
='${libname}${release}${shared_ext}$major'
12245 shlibpath_var
=LD_LIBRARY_PATH
12246 case $host_vendor in
12248 shlibpath_overrides_runpath
=no
12250 runpath_var
=LD_RUN_PATH
12258 shlibpath_overrides_runpath
=no
12259 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12265 if test -d /usr
/nec
;then
12267 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12268 soname_spec
='$libname${shared_ext}.$major'
12269 shlibpath_var
=LD_LIBRARY_PATH
12273 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12274 version_type
=freebsd-elf
12277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12278 soname_spec
='${libname}${release}${shared_ext}$major'
12279 shlibpath_var
=LD_LIBRARY_PATH
12280 shlibpath_overrides_runpath
=yes
12281 hardcode_into_libs
=yes
12282 if test "$with_gnu_ld" = yes; then
12283 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12285 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12288 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12292 sys_lib_dlsearch_path_spec
='/usr/lib'
12296 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12301 shlibpath_var
=LD_LIBRARY_PATH
12302 shlibpath_overrides_runpath
=no
12303 hardcode_into_libs
=yes
12308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12309 soname_spec
='${libname}${release}${shared_ext}$major'
12310 shlibpath_var
=LD_LIBRARY_PATH
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12318 $as_echo "$dynamic_linker" >&6; }
12319 test "$dynamic_linker" = no
&& can_build_shared
=no
12321 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12322 if test "$GCC" = yes; then
12323 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12326 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12327 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12329 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12330 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12425 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12427 if test -n "$hardcode_libdir_flag_spec" ||
12428 test -n "$runpath_var" ||
12429 test "X$hardcode_automatic" = "Xyes" ; then
12431 # We can hardcode non-existent directories.
12432 if test "$hardcode_direct" != no
&&
12433 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12434 # have to relink, otherwise we might link with an installed library
12435 # when we should be linking with a yet-to-be-installed one
12436 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12437 test "$hardcode_minus_L" != no
; then
12438 # Linking always hardcodes the temporary library directory.
12439 hardcode_action
=relink
12441 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12442 hardcode_action
=immediate
12445 # We cannot hardcode anything, or else we can only hardcode existing
12447 hardcode_action
=unsupported
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12450 $as_echo "$hardcode_action" >&6; }
12452 if test "$hardcode_action" = relink ||
12453 test "$inherit_rpath" = yes; then
12454 # Fast installation is not supported
12455 enable_fast_install
=no
12456 elif test "$shlibpath_overrides_runpath" = yes ||
12457 test "$enable_shared" = no
; then
12458 # Fast installation is not necessary
12459 enable_fast_install
=needless
12467 if test "x$enable_dlopen" != xyes
; then
12468 enable_dlopen
=unknown
12469 enable_dlopen_self
=unknown
12470 enable_dlopen_self_static
=unknown
12477 lt_cv_dlopen
="load_add_on"
12479 lt_cv_dlopen_self
=yes
12482 mingw
* | pw32
* | cegcc
*)
12483 lt_cv_dlopen
="LoadLibrary"
12488 lt_cv_dlopen
="dlopen"
12493 # if libdl is installed we need to link against it
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12496 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_check_lib_save_LIBS
=$LIBS
12501 if test x
$gcc_no_link = xyes
; then
12502 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12522 if ac_fn_c_try_link
"$LINENO"; then :
12523 ac_cv_lib_dl_dlopen
=yes
12525 ac_cv_lib_dl_dlopen
=no
12527 rm -f core conftest.err conftest.
$ac_objext \
12528 conftest
$ac_exeext conftest.
$ac_ext
12529 LIBS
=$ac_check_lib_save_LIBS
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12532 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12533 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12534 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12537 lt_cv_dlopen
="dyld"
12539 lt_cv_dlopen_self
=yes
12546 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12547 if test "x$ac_cv_func_shl_load" = xyes
; then :
12548 lt_cv_dlopen
="shl_load"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12551 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12552 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12553 $as_echo_n "(cached) " >&6
12555 ac_check_lib_save_LIBS
=$LIBS
12557 if test x
$gcc_no_link = xyes
; then
12558 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12573 return shl_load ();
12578 if ac_fn_c_try_link
"$LINENO"; then :
12579 ac_cv_lib_dld_shl_load
=yes
12581 ac_cv_lib_dld_shl_load
=no
12583 rm -f core conftest.err conftest.
$ac_objext \
12584 conftest
$ac_exeext conftest.
$ac_ext
12585 LIBS
=$ac_check_lib_save_LIBS
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12588 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12589 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12590 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12592 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12593 if test "x$ac_cv_func_dlopen" = xyes
; then :
12594 lt_cv_dlopen
="dlopen"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12598 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12601 ac_check_lib_save_LIBS
=$LIBS
12603 if test x
$gcc_no_link = xyes
; then
12604 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 /* Override any GCC internal prototype to avoid an error.
12610 Use char because int might match the return type of a GCC
12611 builtin and then its argument prototype would still apply. */
12624 if ac_fn_c_try_link
"$LINENO"; then :
12625 ac_cv_lib_dl_dlopen
=yes
12627 ac_cv_lib_dl_dlopen
=no
12629 rm -f core conftest.err conftest.
$ac_objext \
12630 conftest
$ac_exeext conftest.
$ac_ext
12631 LIBS
=$ac_check_lib_save_LIBS
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12635 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12636 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12639 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12640 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12641 $as_echo_n "(cached) " >&6
12643 ac_check_lib_save_LIBS
=$LIBS
12644 LIBS
="-lsvld $LIBS"
12645 if test x
$gcc_no_link = xyes
; then
12646 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12666 if ac_fn_c_try_link
"$LINENO"; then :
12667 ac_cv_lib_svld_dlopen
=yes
12669 ac_cv_lib_svld_dlopen
=no
12671 rm -f core conftest.err conftest.
$ac_objext \
12672 conftest
$ac_exeext conftest.
$ac_ext
12673 LIBS
=$ac_check_lib_save_LIBS
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12676 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12677 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12678 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12681 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12682 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12683 $as_echo_n "(cached) " >&6
12685 ac_check_lib_save_LIBS
=$LIBS
12687 if test x
$gcc_no_link = xyes
; then
12688 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12703 return dld_link ();
12708 if ac_fn_c_try_link
"$LINENO"; then :
12709 ac_cv_lib_dld_dld_link
=yes
12711 ac_cv_lib_dld_dld_link
=no
12713 rm -f core conftest.err conftest.
$ac_objext \
12714 conftest
$ac_exeext conftest.
$ac_ext
12715 LIBS
=$ac_check_lib_save_LIBS
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12718 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12719 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12720 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12741 if test "x$lt_cv_dlopen" != xno
; then
12747 case $lt_cv_dlopen in
12749 save_CPPFLAGS
="$CPPFLAGS"
12750 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12752 save_LDFLAGS
="$LDFLAGS"
12753 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12756 LIBS
="$lt_cv_dlopen_libs $LIBS"
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12759 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12760 if ${lt_cv_dlopen_self+:} false
; then :
12761 $as_echo_n "(cached) " >&6
12763 if test "$cross_compiling" = yes; then :
12764 lt_cv_dlopen_self
=cross
12766 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12767 lt_status
=$lt_dlunknown
12768 cat > conftest.
$ac_ext <<_LT_EOF
12769 #line 12769 "configure"
12770 #include "confdefs.h"
12779 # define LT_DLGLOBAL RTLD_GLOBAL
12782 # define LT_DLGLOBAL DL_GLOBAL
12784 # define LT_DLGLOBAL 0
12788 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12789 find out it does not work in some platform. */
12790 #ifndef LT_DLLAZY_OR_NOW
12792 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12795 # define LT_DLLAZY_OR_NOW DL_LAZY
12798 # define LT_DLLAZY_OR_NOW RTLD_NOW
12801 # define LT_DLLAZY_OR_NOW DL_NOW
12803 # define LT_DLLAZY_OR_NOW 0
12810 /* When -fvisbility=hidden is used, assume the code has been annotated
12811 correspondingly for the symbols needed. */
12812 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12813 void fnord () __attribute__((visibility("default")));
12816 void fnord () { int i=42; }
12819 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12820 int status = $lt_dlunknown;
12824 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12827 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12828 else puts (dlerror ());
12830 /* dlclose (self); */
12838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12839 (eval $ac_link) 2>&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12843 (.
/conftest
; exit; ) >&5 2>/dev
/null
12845 case x
$lt_status in
12846 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12847 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12848 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12851 # compilation failed
12852 lt_cv_dlopen_self
=no
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12860 $as_echo "$lt_cv_dlopen_self" >&6; }
12862 if test "x$lt_cv_dlopen_self" = xyes
; then
12863 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12865 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12866 if ${lt_cv_dlopen_self_static+:} false
; then :
12867 $as_echo_n "(cached) " >&6
12869 if test "$cross_compiling" = yes; then :
12870 lt_cv_dlopen_self_static
=cross
12872 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12873 lt_status
=$lt_dlunknown
12874 cat > conftest.
$ac_ext <<_LT_EOF
12875 #line 12875 "configure"
12876 #include "confdefs.h"
12885 # define LT_DLGLOBAL RTLD_GLOBAL
12888 # define LT_DLGLOBAL DL_GLOBAL
12890 # define LT_DLGLOBAL 0
12894 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12895 find out it does not work in some platform. */
12896 #ifndef LT_DLLAZY_OR_NOW
12898 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12901 # define LT_DLLAZY_OR_NOW DL_LAZY
12904 # define LT_DLLAZY_OR_NOW RTLD_NOW
12907 # define LT_DLLAZY_OR_NOW DL_NOW
12909 # define LT_DLLAZY_OR_NOW 0
12916 /* When -fvisbility=hidden is used, assume the code has been annotated
12917 correspondingly for the symbols needed. */
12918 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12919 void fnord () __attribute__((visibility("default")));
12922 void fnord () { int i=42; }
12925 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12926 int status = $lt_dlunknown;
12930 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12933 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12934 else puts (dlerror ());
12936 /* dlclose (self); */
12944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12945 (eval $ac_link) 2>&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12948 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12949 (.
/conftest
; exit; ) >&5 2>/dev
/null
12951 case x
$lt_status in
12952 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12953 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12954 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12957 # compilation failed
12958 lt_cv_dlopen_self_static
=no
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12966 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12969 CPPFLAGS
="$save_CPPFLAGS"
12970 LDFLAGS
="$save_LDFLAGS"
12975 case $lt_cv_dlopen_self in
12976 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12977 *) enable_dlopen_self
=unknown
;;
12980 case $lt_cv_dlopen_self_static in
12981 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12982 *) enable_dlopen_self_static
=unknown
;;
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13005 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13006 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13007 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13008 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13010 $as_echo "yes" >&6; }
13012 # FIXME - insert some real tests, host_os isn't really good enough
13015 if test -n "$STRIP" ; then
13016 striplib
="$STRIP -x"
13017 old_striplib
="$STRIP -S"
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13019 $as_echo "yes" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13022 $as_echo "no" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027 $as_echo "no" >&6; }
13043 # Report which library types will actually be built
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13045 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13047 $as_echo "$can_build_shared" >&6; }
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13050 $as_echo_n "checking whether to build shared libraries... " >&6; }
13051 test "$can_build_shared" = "no" && enable_shared
=no
13053 # On AIX, shared libraries and static libraries use the same namespace, and
13054 # are all built from PIC.
13057 test "$enable_shared" = yes && enable_static
=no
13058 if test -n "$RANLIB"; then
13059 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13060 postinstall_cmds
='$RANLIB $lib'
13065 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13066 test "$enable_shared" = yes && enable_static
=no
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13071 $as_echo "$enable_shared" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13074 $as_echo_n "checking whether to build static libraries... " >&6; }
13075 # Make sure either enable_shared or enable_static is yes.
13076 test "$enable_shared" = yes || enable_static
=yes
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13078 $as_echo "$enable_static" >&6; }
13085 ac_cpp
='$CPP $CPPFLAGS'
13086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13104 ac_config_commands
="$ac_config_commands libtool"
13109 # Only expand once:
13114 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13115 # These system don't have libm, or don't need it
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13119 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13120 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13121 $as_echo_n "(cached) " >&6
13123 ac_check_lib_save_LIBS
=$LIBS
13125 if test x
$gcc_no_link = xyes
; then
13126 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13137 char _mwvalidcheckl ();
13141 return _mwvalidcheckl ();
13146 if ac_fn_c_try_link
"$LINENO"; then :
13147 ac_cv_lib_mw__mwvalidcheckl
=yes
13149 ac_cv_lib_mw__mwvalidcheckl
=no
13151 rm -f core conftest.err conftest.
$ac_objext \
13152 conftest
$ac_exeext conftest.
$ac_ext
13153 LIBS
=$ac_check_lib_save_LIBS
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13156 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13157 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13162 $as_echo_n "checking for cos in -lm... " >&6; }
13163 if ${ac_cv_lib_m_cos+:} false
; then :
13164 $as_echo_n "(cached) " >&6
13166 ac_check_lib_save_LIBS
=$LIBS
13168 if test x
$gcc_no_link = xyes
; then
13169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13189 if ac_fn_c_try_link
"$LINENO"; then :
13190 ac_cv_lib_m_cos
=yes
13194 rm -f core conftest.err conftest.
$ac_objext \
13195 conftest
$ac_exeext conftest.
$ac_ext
13196 LIBS
=$ac_check_lib_save_LIBS
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13199 $as_echo "$ac_cv_lib_m_cos" >&6; }
13200 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13207 $as_echo_n "checking for cos in -lm... " >&6; }
13208 if ${ac_cv_lib_m_cos+:} false
; then :
13209 $as_echo_n "(cached) " >&6
13211 ac_check_lib_save_LIBS
=$LIBS
13213 if test x
$gcc_no_link = xyes
; then
13214 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13219 /* Override any GCC internal prototype to avoid an error.
13220 Use char because int might match the return type of a GCC
13221 builtin and then its argument prototype would still apply. */
13234 if ac_fn_c_try_link
"$LINENO"; then :
13235 ac_cv_lib_m_cos
=yes
13239 rm -f core conftest.err conftest.
$ac_objext \
13240 conftest
$ac_exeext conftest.
$ac_ext
13241 LIBS
=$ac_check_lib_save_LIBS
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13244 $as_echo "$ac_cv_lib_m_cos" >&6; }
13245 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13257 *-cygwin* |
*-mingw*)
13258 # 'host' will be top-level target in the case of a target lib,
13259 # we must compare to with_cross_host to decide if this is a native
13260 # or cross-compiler and select where to install dlls appropriately.
13261 if test -n "$with_cross_host" &&
13262 test x
"$with_cross_host" != x
"no"; then
13263 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13265 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13277 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13279 # We need gfortran to compile parts of the library
13280 #AC_PROG_FC(gfortran)
13282 ac_ext
=${ac_fc_srcext-f}
13283 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13284 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13285 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13286 if test -n "$ac_tool_prefix"; then
13287 for ac_prog
in gfortran
13289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13290 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13292 $as_echo_n "checking for $ac_word... " >&6; }
13293 if ${ac_cv_prog_FC+:} false
; then :
13294 $as_echo_n "(cached) " >&6
13296 if test -n "$FC"; then
13297 ac_cv_prog_FC
="$FC" # Let the user override the test.
13299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13300 for as_dir
in $PATH
13303 test -z "$as_dir" && as_dir
=.
13304 for ac_exec_ext
in '' $ac_executable_extensions; do
13305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13306 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13317 if test -n "$FC"; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13319 $as_echo "$FC" >&6; }
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13322 $as_echo "no" >&6; }
13326 test -n "$FC" && break
13329 if test -z "$FC"; then
13331 for ac_prog
in gfortran
13333 # Extract the first word of "$ac_prog", so it can be a program name with args.
13334 set dummy
$ac_prog; ac_word
=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13336 $as_echo_n "checking for $ac_word... " >&6; }
13337 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13338 $as_echo_n "(cached) " >&6
13340 if test -n "$ac_ct_FC"; then
13341 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13344 for as_dir
in $PATH
13347 test -z "$as_dir" && as_dir
=.
13348 for ac_exec_ext
in '' $ac_executable_extensions; do
13349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13350 ac_cv_prog_ac_ct_FC
="$ac_prog"
13351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13360 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13361 if test -n "$ac_ct_FC"; then
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13363 $as_echo "$ac_ct_FC" >&6; }
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13366 $as_echo "no" >&6; }
13370 test -n "$ac_ct_FC" && break
13373 if test "x$ac_ct_FC" = x
; then
13376 case $cross_compiling:$ac_tool_warned in
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13380 ac_tool_warned
=yes ;;
13387 # Provide some information about the compiler.
13388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13391 for ac_option
in --version -v -V -qversion; do
13392 { { ac_try
="$ac_compiler $ac_option >&5"
13393 case "(($ac_try" in
13394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13395 *) ac_try_echo=$ac_try;;
13397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13398 $as_echo "$ac_try_echo"; } >&5
13399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13401 if test -s conftest.err; then
13403 ... rest of stderr output deleted ...
13404 10q' conftest.err >conftest.er1
13405 cat conftest.er1 >&5
13407 rm -f conftest.er1 conftest.err
13408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13409 test $ac_status = 0; }
13413 # If we don't use `.F
' as extension, the preprocessor is not run on the
13414 # input file. (Note that this only needs to work for GNU compilers.)
13415 ac_save_ext=$ac_ext
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13418 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13419 if ${ac_cv_fc_compiler_gnu+:} false; then :
13420 $as_echo_n "(cached) " >&6
13422 cat > conftest.$ac_ext <<_ACEOF
13430 if ac_fn_fc_try_compile "$LINENO"; then :
13431 ac_compiler_gnu=yes
13435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13436 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13440 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13441 ac_ext=$ac_save_ext
13442 ac_test_FCFLAGS=${FCFLAGS+set}
13443 ac_save_FCFLAGS=$FCFLAGS
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13446 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13447 if ${ac_cv_prog_fc_g+:} false; then :
13448 $as_echo_n "(cached) " >&6
13451 cat > conftest.$ac_ext <<_ACEOF
13456 if ac_fn_fc_try_compile "$LINENO"; then :
13457 ac_cv_prog_fc_g=yes
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13465 $as_echo "$ac_cv_prog_fc_g" >&6; }
13466 if test "$ac_test_FCFLAGS" = set; then
13467 FCFLAGS=$ac_save_FCFLAGS
13468 elif test $ac_cv_prog_fc_g = yes; then
13469 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13475 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13482 if test $ac_compiler_gnu = yes; then
13488 ac_cpp='$CPP $CPPFLAGS'
13489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13490 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13493 ac_ext=${ac_fc_srcext-f}
13494 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13495 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13496 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13499 if test -z "$FC" || test "X$FC" = "Xno"; then
13503 archive_cmds_need_lc_FC=no
13504 allow_undefined_flag_FC=
13505 always_export_symbols_FC=no
13506 archive_expsym_cmds_FC=
13507 export_dynamic_flag_spec_FC=
13508 hardcode_direct_FC=no
13509 hardcode_direct_absolute_FC=no
13510 hardcode_libdir_flag_spec_FC=
13511 hardcode_libdir_flag_spec_ld_FC=
13512 hardcode_libdir_separator_FC=
13513 hardcode_minus_L_FC=no
13514 hardcode_automatic_FC=no
13515 inherit_rpath_FC=no
13517 module_expsym_cmds_FC=
13518 link_all_deplibs_FC=unknown
13519 old_archive_cmds_FC=$old_archive_cmds
13520 reload_flag_FC=$reload_flag
13521 reload_cmds_FC=$reload_cmds
13522 no_undefined_flag_FC=
13523 whole_archive_flag_spec_FC=
13524 enable_shared_with_static_runtimes_FC=no
13526 # Source file extension for fc test sources.
13527 ac_ext=${ac_fc_srcext-f}
13529 # Object file extension for compiled fc test sources.
13533 # No sense in running all these tests if we already determined that
13534 # the FC compiler isn't working. Some variables
(like enable_shared
)
13535 # are currently assumed to apply to all compilers on this platform,
13536 # and will be corrupted by setting them based on a non-working compiler.
13537 if test "$_lt_disable_FC" != yes; then
13538 # Code to be used in simple compile tests
13539 lt_simple_compile_test_code
="\
13545 # Code to be used in simple link tests
13546 lt_simple_link_test_code
="\
13551 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13558 # If no C compiler was specified, use CC.
13561 # If no C compiler flags were specified, use CFLAGS.
13562 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13564 # Allow CC to be a program name with arguments.
13568 # save warnings/boilerplate of simple test code
13569 ac_outfile
=conftest.
$ac_objext
13570 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13571 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13572 _lt_compiler_boilerplate
=`cat conftest.err`
13575 ac_outfile
=conftest.
$ac_objext
13576 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13577 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13578 _lt_linker_boilerplate
=`cat conftest.err`
13582 # Allow CC to be a program name with arguments.
13587 GCC
=$ac_cv_fc_compiler_gnu
13590 for cc_temp
in $compiler""; do
13592 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13593 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13598 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13601 if test -n "$compiler"; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13603 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13605 $as_echo "$can_build_shared" >&6; }
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13608 $as_echo_n "checking whether to build shared libraries... " >&6; }
13609 test "$can_build_shared" = "no" && enable_shared
=no
13611 # On AIX, shared libraries and static libraries use the same namespace, and
13612 # are all built from PIC.
13615 test "$enable_shared" = yes && enable_static
=no
13616 if test -n "$RANLIB"; then
13617 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13618 postinstall_cmds
='$RANLIB $lib'
13622 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13623 test "$enable_shared" = yes && enable_static
=no
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13628 $as_echo "$enable_shared" >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13631 $as_echo_n "checking whether to build static libraries... " >&6; }
13632 # Make sure either enable_shared or enable_static is yes.
13633 test "$enable_shared" = yes || enable_static
=yes
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13635 $as_echo "$enable_static" >&6; }
13637 GCC_FC
="$ac_cv_fc_compiler_gnu"
13641 ## There is no encapsulation within the following macros, do not change
13642 ## the running order or otherwise move them around unless you know exactly
13643 ## what you are doing...
13644 # Dependencies to place before and after the object being linked:
13646 postdep_objects_FC
=
13649 compiler_lib_search_path_FC
=
13651 cat > conftest.
$ac_ext <<_LT_EOF
13660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13661 (eval $ac_compile) 2>&5
13663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13664 test $ac_status = 0; }; then
13665 # Parse the compiler output and extract the necessary
13666 # objects, libraries and library flags.
13668 # Sentinel used to keep track of whether or not we are before
13669 # the conftest object file.
13670 pre_test_object_deps_done
=no
13672 for p
in `eval "$output_verbose_link_cmd"`; do
13676 # Some compilers place space between "-{L,R}" and the path.
13677 # Remove the space.
13678 if test $p = "-L" ||
13679 test $p = "-R"; then
13686 if test "$pre_test_object_deps_done" = no
; then
13689 # Internal compiler library paths should come after those
13690 # provided the user. The postdeps already come after the
13691 # user supplied libs so there is no need to process them.
13692 if test -z "$compiler_lib_search_path_FC"; then
13693 compiler_lib_search_path_FC
="${prev}${p}"
13695 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13698 # The "-l" case would never come before the object being
13699 # linked, so don't bother handling this case.
13702 if test -z "$postdeps_FC"; then
13703 postdeps_FC
="${prev}${p}"
13705 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13711 # This assumes that the test object file only shows up
13712 # once in the compiler output.
13713 if test "$p" = "conftest.$objext"; then
13714 pre_test_object_deps_done
=yes
13718 if test "$pre_test_object_deps_done" = no
; then
13719 if test -z "$predep_objects_FC"; then
13720 predep_objects_FC
="$p"
13722 predep_objects_FC
="$predep_objects_FC $p"
13725 if test -z "$postdep_objects_FC"; then
13726 postdep_objects_FC
="$p"
13728 postdep_objects_FC
="$postdep_objects_FC $p"
13733 *) ;; # Ignore the rest.
13741 echo "libtool.m4: error: problem compiling FC test program"
13744 $RM -f confest.
$objext
13746 # PORTME: override above test on systems where it is broken
13749 case " $postdeps_FC " in
13750 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13752 compiler_lib_search_dirs_FC
=
13753 if test -n "${compiler_lib_search_path_FC}"; then
13754 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13787 lt_prog_compiler_wl_FC
=
13788 lt_prog_compiler_pic_FC
=
13789 lt_prog_compiler_static_FC
=
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13792 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13794 if test "$GCC" = yes; then
13795 lt_prog_compiler_wl_FC
='-Wl,'
13796 lt_prog_compiler_static_FC
='-static'
13800 # All AIX code is PIC.
13801 if test "$host_cpu" = ia64
; then
13802 # AIX 5 now supports IA64 processor
13803 lt_prog_compiler_static_FC
='-Bstatic'
13805 lt_prog_compiler_pic_FC
='-fPIC'
13811 # see comment about AmigaOS4 .so support
13812 lt_prog_compiler_pic_FC
='-fPIC'
13815 # FIXME: we need at least 68020 code to build shared libraries, but
13816 # adding the `-m68020' flag to GCC prevents building anything better,
13818 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13823 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13824 # PIC is the default for these OSes.
13827 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13828 # This hack is so that the source file can tell whether it is being
13829 # built for inclusion in a dll (and should export symbols for example).
13830 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13831 # (--disable-auto-import) libraries
13832 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13835 darwin
* | rhapsody
*)
13836 # PIC is the default on this platform
13837 # Common symbols not allowed in MH_DYLIB files
13838 lt_prog_compiler_pic_FC
='-fno-common'
13842 # PIC is the default for Haiku.
13843 # The "-static" flag exists, but is broken.
13844 lt_prog_compiler_static_FC
=
13848 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13849 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13850 # sets the default TLS model and affects inlining.
13856 lt_prog_compiler_pic_FC
='-fPIC'
13862 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13863 # Instead, we relocate shared libraries at runtime.
13867 # Just because we use GCC doesn't mean we suddenly get shared libraries
13868 # on systems that don't support them.
13869 lt_prog_compiler_can_build_shared_FC
=no
13874 # QNX uses GNU C++, but need to define -shared option too, otherwise
13875 # it will coredump.
13876 lt_prog_compiler_pic_FC
='-fPIC -shared'
13880 if test -d /usr
/nec
; then
13881 lt_prog_compiler_pic_FC
=-Kconform_pic
13886 lt_prog_compiler_pic_FC
='-fPIC'
13890 case $cc_basename in
13891 nvcc
*) # Cuda Compiler Driver 2.2
13892 lt_prog_compiler_wl_FC
='-Xlinker '
13893 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13897 # PORTME Check for flag to pass linker flags through the system compiler.
13900 lt_prog_compiler_wl_FC
='-Wl,'
13901 if test "$host_cpu" = ia64
; then
13902 # AIX 5 now supports IA64 processor
13903 lt_prog_compiler_static_FC
='-Bstatic'
13905 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13909 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13910 # This hack is so that the source file can tell whether it is being
13911 # built for inclusion in a dll (and should export symbols for example).
13912 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13915 hpux9
* | hpux10
* | hpux11
*)
13916 lt_prog_compiler_wl_FC
='-Wl,'
13917 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13918 # not for PA HP-UX.
13924 lt_prog_compiler_pic_FC
='+Z'
13927 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13928 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13931 irix5
* | irix6
* | nonstopux
*)
13932 lt_prog_compiler_wl_FC
='-Wl,'
13933 # PIC (with -KPIC) is the default.
13934 lt_prog_compiler_static_FC
='-non_shared'
13937 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13938 case $cc_basename in
13939 # old Intel for x86_64 which still supported -KPIC.
13941 lt_prog_compiler_wl_FC
='-Wl,'
13942 lt_prog_compiler_pic_FC
='-KPIC'
13943 lt_prog_compiler_static_FC
='-static'
13945 # icc used to be incompatible with GCC.
13946 # ICC 10 doesn't accept -KPIC any more.
13948 lt_prog_compiler_wl_FC
='-Wl,'
13949 lt_prog_compiler_pic_FC
='-fPIC'
13950 lt_prog_compiler_static_FC
='-static'
13952 # Lahey Fortran 8.1.
13954 lt_prog_compiler_wl_FC
='-Wl,'
13955 lt_prog_compiler_pic_FC
='--shared'
13956 lt_prog_compiler_static_FC
='--static'
13958 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13959 # Portland Group compilers (*not* the Pentium gcc compiler,
13960 # which looks to be a dead project)
13961 lt_prog_compiler_wl_FC
='-Wl,'
13962 lt_prog_compiler_pic_FC
='-fpic'
13963 lt_prog_compiler_static_FC
='-Bstatic'
13966 lt_prog_compiler_wl_FC
='-Wl,'
13967 # All Alpha code is PIC.
13968 lt_prog_compiler_static_FC
='-non_shared'
13970 xl
* | bgxl
* | bgf
* | mpixl
*)
13971 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13972 lt_prog_compiler_wl_FC
='-Wl,'
13973 lt_prog_compiler_pic_FC
='-qpic'
13974 lt_prog_compiler_static_FC
='-qstaticlink'
13977 case `$CC -V 2>&1 | sed 5q` in
13978 *Sun\ F
* |
*Sun
*Fortran
*)
13979 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13980 lt_prog_compiler_pic_FC
='-KPIC'
13981 lt_prog_compiler_static_FC
='-Bstatic'
13982 lt_prog_compiler_wl_FC
=''
13986 lt_prog_compiler_pic_FC
='-KPIC'
13987 lt_prog_compiler_static_FC
='-Bstatic'
13988 lt_prog_compiler_wl_FC
='-Wl,'
13996 lt_prog_compiler_pic_FC
='-KPIC'
13997 lt_prog_compiler_static_FC
='-Bstatic'
14001 # QNX uses GNU C++, but need to define -shared option too, otherwise
14002 # it will coredump.
14003 lt_prog_compiler_pic_FC
='-fPIC -shared'
14006 osf3
* | osf4
* | osf5
*)
14007 lt_prog_compiler_wl_FC
='-Wl,'
14008 # All OSF/1 code is PIC.
14009 lt_prog_compiler_static_FC
='-non_shared'
14013 lt_prog_compiler_static_FC
='-non_shared'
14017 lt_prog_compiler_pic_FC
='-KPIC'
14018 lt_prog_compiler_static_FC
='-Bstatic'
14019 case $cc_basename in
14020 f77
* | f90
* | f95
*)
14021 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14023 lt_prog_compiler_wl_FC
='-Wl,';;
14028 lt_prog_compiler_wl_FC
='-Qoption ld '
14029 lt_prog_compiler_pic_FC
='-PIC'
14030 lt_prog_compiler_static_FC
='-Bstatic'
14033 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14034 lt_prog_compiler_wl_FC
='-Wl,'
14035 lt_prog_compiler_pic_FC
='-KPIC'
14036 lt_prog_compiler_static_FC
='-Bstatic'
14040 if test -d /usr
/nec
;then
14041 lt_prog_compiler_pic_FC
='-Kconform_pic'
14042 lt_prog_compiler_static_FC
='-Bstatic'
14046 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14047 lt_prog_compiler_wl_FC
='-Wl,'
14048 lt_prog_compiler_pic_FC
='-KPIC'
14049 lt_prog_compiler_static_FC
='-Bstatic'
14053 lt_prog_compiler_wl_FC
='-Wl,'
14054 lt_prog_compiler_can_build_shared_FC
=no
14058 lt_prog_compiler_pic_FC
='-pic'
14059 lt_prog_compiler_static_FC
='-Bstatic'
14063 lt_prog_compiler_can_build_shared_FC
=no
14069 # For platforms which do not support PIC, -DPIC is meaningless:
14071 lt_prog_compiler_pic_FC
=
14074 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14078 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14083 # Check to make sure the PIC flag actually works.
14085 if test -n "$lt_prog_compiler_pic_FC"; then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14087 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14088 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14089 $as_echo_n "(cached) " >&6
14091 lt_cv_prog_compiler_pic_works_FC
=no
14092 ac_outfile
=conftest.
$ac_objext
14093 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14094 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14095 # Insert the option either (1) after the last *FLAGS variable, or
14096 # (2) before a word containing "conftest.", or (3) at the end.
14097 # Note that $ac_compile itself does not contain backslashes and begins
14098 # with a dollar sign (not a hyphen), so the echo should work correctly.
14099 # The option is referenced via a variable to avoid confusing sed.
14100 lt_compile
=`echo "$ac_compile" | $SED \
14101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14103 -e 's:$: $lt_compiler_flag:'`
14104 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14105 (eval "$lt_compile" 2>conftest.err
)
14107 cat conftest.err
>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 if (exit $ac_status) && test -s "$ac_outfile"; then
14110 # The compiler can only warn and ignore the option if not recognized
14111 # So say no if there are warnings other than the usual output.
14112 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14113 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14114 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14115 lt_cv_prog_compiler_pic_works_FC
=yes
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14122 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14124 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14125 case $lt_prog_compiler_pic_FC in
14127 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14130 lt_prog_compiler_pic_FC
=
14131 lt_prog_compiler_can_build_shared_FC
=no
14139 # Check to make sure the static flag actually works.
14141 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14143 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14144 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14145 $as_echo_n "(cached) " >&6
14147 lt_cv_prog_compiler_static_works_FC
=no
14148 save_LDFLAGS
="$LDFLAGS"
14149 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14150 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14151 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14152 # The linker can only warn and ignore the option if not recognized
14153 # So say no if there are warnings
14154 if test -s conftest.err
; then
14155 # Append any errors to the config.log.
14156 cat conftest.err
1>&5
14157 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14158 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14159 if diff conftest.exp conftest.er2
>/dev
/null
; then
14160 lt_cv_prog_compiler_static_works_FC
=yes
14163 lt_cv_prog_compiler_static_works_FC
=yes
14167 LDFLAGS
="$save_LDFLAGS"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14171 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14173 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14176 lt_prog_compiler_static_FC
=
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14183 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14184 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14185 $as_echo_n "(cached) " >&6
14187 lt_cv_prog_compiler_c_o_FC
=no
14188 $RM -r conftest
2>/dev
/null
14192 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14194 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14195 # Insert the option either (1) after the last *FLAGS variable, or
14196 # (2) before a word containing "conftest.", or (3) at the end.
14197 # Note that $ac_compile itself does not contain backslashes and begins
14198 # with a dollar sign (not a hyphen), so the echo should work correctly.
14199 lt_compile
=`echo "$ac_compile" | $SED \
14200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14202 -e 's:$: $lt_compiler_flag:'`
14203 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14204 (eval "$lt_compile" 2>out
/conftest.err
)
14206 cat out
/conftest.err
>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14210 # The compiler can only warn and ignore the option if not recognized
14211 # So say no if there are warnings
14212 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14213 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14214 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14215 lt_cv_prog_compiler_c_o_FC
=yes
14220 # SGI C++ compiler will create directory out/ii_files/ for
14221 # template instantiation
14222 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14223 $RM out
/* && rmdir out
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14230 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14235 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14236 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14237 $as_echo_n "(cached) " >&6
14239 lt_cv_prog_compiler_c_o_FC
=no
14240 $RM -r conftest
2>/dev
/null
14244 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14246 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14247 # Insert the option either (1) after the last *FLAGS variable, or
14248 # (2) before a word containing "conftest.", or (3) at the end.
14249 # Note that $ac_compile itself does not contain backslashes and begins
14250 # with a dollar sign (not a hyphen), so the echo should work correctly.
14251 lt_compile
=`echo "$ac_compile" | $SED \
14252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14254 -e 's:$: $lt_compiler_flag:'`
14255 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14256 (eval "$lt_compile" 2>out
/conftest.err
)
14258 cat out
/conftest.err
>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14262 # The compiler can only warn and ignore the option if not recognized
14263 # So say no if there are warnings
14264 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14265 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14266 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14267 lt_cv_prog_compiler_c_o_FC
=yes
14272 # SGI C++ compiler will create directory out/ii_files/ for
14273 # template instantiation
14274 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14275 $RM out
/* && rmdir out
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14282 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14287 hard_links
="nottested"
14288 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14289 # do not overwrite the value of need_locks provided by the user
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14291 $as_echo_n "checking if we can lock with hard links... " >&6; }
14294 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14296 ln conftest.a conftest.b
2>&5 || hard_links
=no
14297 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14299 $as_echo "$hard_links" >&6; }
14300 if test "$hard_links" = no
; then
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14302 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14312 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14315 allow_undefined_flag_FC
=
14316 always_export_symbols_FC
=no
14318 archive_expsym_cmds_FC
=
14319 compiler_needs_object_FC
=no
14320 enable_shared_with_static_runtimes_FC
=no
14321 export_dynamic_flag_spec_FC
=
14322 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323 hardcode_automatic_FC
=no
14324 hardcode_direct_FC
=no
14325 hardcode_direct_absolute_FC
=no
14326 hardcode_libdir_flag_spec_FC
=
14327 hardcode_libdir_flag_spec_ld_FC
=
14328 hardcode_libdir_separator_FC
=
14329 hardcode_minus_L_FC
=no
14330 hardcode_shlibpath_var_FC
=unsupported
14331 inherit_rpath_FC
=no
14332 link_all_deplibs_FC
=unknown
14334 module_expsym_cmds_FC
=
14335 old_archive_from_new_cmds_FC
=
14336 old_archive_from_expsyms_cmds_FC
=
14337 thread_safe_flag_spec_FC
=
14338 whole_archive_flag_spec_FC
=
14339 # include_expsyms should be a list of space-separated symbols to be *always*
14340 # included in the symbol list
14341 include_expsyms_FC
=
14342 # exclude_expsyms can be an extended regexp of symbols to exclude
14343 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14344 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14345 # as well as any symbol that contains `d'.
14346 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14347 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14348 # platforms (ab)use it in PIC code, but their linkers get confused if
14349 # the symbol is explicitly referenced. Since portable code cannot
14350 # rely on this symbol name, it's probably fine to never include it in
14351 # preloaded symbol tables.
14352 # Exclude shared library initialization/finalization symbols.
14353 extract_expsyms_cmds
=
14356 cygwin
* | mingw
* | pw32
* | cegcc
*)
14357 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14358 # When not using gcc, we currently assume that we are using
14359 # Microsoft Visual C++.
14360 if test "$GCC" != yes; then
14365 # we just hope/assume this is gcc and not c89 (= MSVC++)
14375 # On some targets, GNU ld is compatible enough with the native linker
14376 # that we're better off using the native interface for both.
14377 lt_use_gnu_ld_interface
=no
14378 if test "$with_gnu_ld" = yes; then
14381 # The AIX port of GNU ld has always aspired to compatibility
14382 # with the native linker. However, as the warning in the GNU ld
14383 # block says, versions before 2.19.5* couldn't really create working
14384 # shared libraries, regardless of the interface used.
14385 case `$LD -v 2>&1` in
14386 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14387 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14388 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14390 lt_use_gnu_ld_interface
=yes
14395 lt_use_gnu_ld_interface
=yes
14400 if test "$lt_use_gnu_ld_interface" = yes; then
14401 # If archive_cmds runs LD, not CC, wlarc should be empty
14404 # Set some defaults for GNU ld with shared library support. These
14405 # are reset later if shared libraries are not supported. Putting them
14406 # here allows them to be overridden if necessary.
14407 runpath_var
=LD_RUN_PATH
14408 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14409 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14410 # ancient GNU ld didn't support --whole-archive et. al.
14411 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14412 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14414 whole_archive_flag_spec_FC
=
14416 supports_anon_versioning
=no
14417 case `$LD -v 2>&1` in
14418 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14419 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14420 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14421 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14422 *\
2.11.
*) ;; # other 2.11 versions
14423 *) supports_anon_versioning
=yes ;;
14426 # See if GNU ld supports shared libraries.
14429 # On AIX/PPC, the GNU linker is very broken
14430 if test "$host_cpu" != ia64
; then
14434 *** Warning: the GNU linker, at least up to release 2.19, is reported
14435 *** to be unable to reliably create shared libraries on AIX.
14436 *** Therefore, libtool is disabling shared libraries support. If you
14437 *** really care for shared libraries, you may want to install binutils
14438 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14439 *** You will then need to restart the configuration process.
14448 # see comment about AmigaOS4 .so support
14449 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14450 archive_expsym_cmds_FC
=''
14453 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)'
14454 hardcode_libdir_flag_spec_FC
='-L$libdir'
14455 hardcode_minus_L_FC
=yes
14461 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14462 allow_undefined_flag_FC
=unsupported
14463 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14464 # support --undefined. This deserves some investigation. FIXME
14465 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14471 cygwin
* | mingw
* | pw32
* | cegcc
*)
14472 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14473 # as there is no search path for DLLs.
14474 hardcode_libdir_flag_spec_FC
='-L$libdir'
14475 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14476 allow_undefined_flag_FC
=unsupported
14477 always_export_symbols_FC
=no
14478 enable_shared_with_static_runtimes_FC
=yes
14479 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14481 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14482 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14483 # If the export-symbols file already is a .def file (1st line
14484 # is EXPORTS), use it as is; otherwise, prepend...
14485 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14486 cp $export_symbols $output_objdir/$soname.def;
14488 echo EXPORTS > $output_objdir/$soname.def;
14489 cat $export_symbols >> $output_objdir/$soname.def;
14491 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14498 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14499 link_all_deplibs_FC
=yes
14503 hardcode_direct_FC
=no
14504 hardcode_shlibpath_var_FC
=no
14505 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14506 export_dynamic_flag_spec_FC
='${wl}-E'
14507 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14508 # Instead, shared libraries are loaded at an image base (0x10000000 by
14509 # default) and relocated if they conflict, which is a slow very memory
14510 # consuming and fragmenting process. To avoid this, we pick a random,
14511 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14512 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14513 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'
14514 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'
14517 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14519 if test "$host_os" = linux-dietlibc
; then
14520 case $cc_basename in
14521 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14524 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14525 && test "$tmp_diet" = no
14527 tmp_addflag
=' $pic_flag'
14528 tmp_sharedflag
='-shared'
14529 case $cc_basename,$host_cpu in
14530 pgcc
*) # Portland Group C compiler
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'
14534 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14535 # Portland Group f77 and f90 compilers
14536 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'
14537 tmp_addflag
=' $pic_flag -Mnomain' ;;
14538 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14539 tmp_addflag
=' -i_dynamic' ;;
14540 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14541 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14542 ifc
* | ifort
*) # Intel Fortran compiler
14543 tmp_addflag
=' -nofor_main' ;;
14544 lf95
*) # Lahey Fortran 8.1
14545 whole_archive_flag_spec_FC
=
14546 tmp_sharedflag
='--shared' ;;
14547 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14548 tmp_sharedflag
='-qmkshrobj'
14550 nvcc
*) # Cuda Compiler Driver 2.2
14551 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'
14552 compiler_needs_object_FC
=yes
14555 case `$CC -V 2>&1 | sed 5q` in
14556 *Sun\ C
*) # Sun C 5.9
14557 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'
14558 compiler_needs_object_FC
=yes
14559 tmp_sharedflag
='-G' ;;
14560 *Sun\ F
*) # Sun Fortran 8.3
14561 tmp_sharedflag
='-G' ;;
14563 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 if test "x$supports_anon_versioning" = xyes
; then
14566 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14568 echo "local: *; };" >> $output_objdir/$libname.ver~
14569 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14572 case $cc_basename in
14573 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14574 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14575 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14576 hardcode_libdir_flag_spec_FC
=
14577 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14578 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14579 if test "x$supports_anon_versioning" = xyes
; then
14580 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14581 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14582 echo "local: *; };" >> $output_objdir/$libname.ver~
14583 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14593 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14594 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14597 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14598 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14603 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14607 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14608 *** create shared libraries on Solaris systems. Therefore, libtool
14609 *** is disabling shared libraries support. We urge you to upgrade GNU
14610 *** binutils to release 2.9.1 or newer. Another option is to modify
14611 *** your PATH or compiler configuration so that the native linker is
14612 *** used, and then restart.
14615 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14616 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14617 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14623 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14624 case `$LD -v 2>&1` in
14625 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14629 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14630 *** reliably create shared libraries on SCO systems. Therefore, libtool
14631 *** is disabling shared libraries support. We urge you to upgrade GNU
14632 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14633 *** your PATH or compiler configuration so that the native linker is
14634 *** used, and then restart.
14639 # For security reasons, it is highly recommended that you always
14640 # use absolute paths for naming shared libraries, and exclude the
14641 # DT_RUNPATH tag from executables and libraries. But doing so
14642 # requires that you compile everything twice, which is a pain.
14643 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14644 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14645 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14646 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14655 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14657 hardcode_direct_FC
=yes
14658 hardcode_shlibpath_var_FC
=no
14662 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14663 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14664 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14671 if test "$ld_shlibs_FC" = no
; then
14673 hardcode_libdir_flag_spec_FC
=
14674 export_dynamic_flag_spec_FC
=
14675 whole_archive_flag_spec_FC
=
14678 # PORTME fill in a description of your system's linker (not GNU ld)
14681 allow_undefined_flag_FC
=unsupported
14682 always_export_symbols_FC
=yes
14683 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'
14684 # Note: this linker hardcodes the directories in LIBPATH if there
14685 # are no directories specified by -L.
14686 hardcode_minus_L_FC
=yes
14687 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14688 # Neither direct hardcoding nor static linking is supported with a
14690 hardcode_direct_FC
=unsupported
14695 if test "$host_cpu" = ia64
; then
14696 # On IA64, the linker does run time linking by default, so we don't
14697 # have to do anything special.
14698 aix_use_runtimelinking
=no
14699 exp_sym_flag
='-Bexport'
14702 # If we're using GNU nm, then we don't want the "-C" option.
14703 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14704 # Also, AIX nm treats weak defined symbols like other global
14705 # defined symbols, whereas GNU nm marks them as "W".
14706 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14707 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'
14709 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'
14711 aix_use_runtimelinking
=no
14713 # Test if we are trying to use run time linking or normal
14714 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14715 # need to do runtime linking.
14716 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14717 for ld_flag
in $LDFLAGS; do
14718 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14719 aix_use_runtimelinking
=yes
14726 exp_sym_flag
='-bexport'
14727 no_entry_flag
='-bnoentry'
14730 # When large executables or shared objects are built, AIX ld can
14731 # have problems creating the table of contents. If linking a library
14732 # or program results in "error TOC overflow" add -mminimal-toc to
14733 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14734 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14737 hardcode_direct_FC
=yes
14738 hardcode_direct_absolute_FC
=yes
14739 hardcode_libdir_separator_FC
=':'
14740 link_all_deplibs_FC
=yes
14741 file_list_spec_FC
='${wl}-f,'
14743 if test "$GCC" = yes; then
14744 case $host_os in aix4.
[012]|aix4.
[012].
*)
14745 # We only want to do this on AIX 4.2 and lower, the check
14746 # below for broken collect2 doesn't work under 4.3+
14747 collect2name
=`${CC} -print-prog-name=collect2`
14748 if test -f "$collect2name" &&
14749 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14751 # We have reworked collect2
14754 # We have old collect2
14755 hardcode_direct_FC
=unsupported
14756 # It fails to find uninstalled libraries when the uninstalled
14757 # path is not listed in the libpath. Setting hardcode_minus_L
14758 # to unsupported forces relinking
14759 hardcode_minus_L_FC
=yes
14760 hardcode_libdir_flag_spec_FC
='-L$libdir'
14761 hardcode_libdir_separator_FC
=
14765 shared_flag
='-shared'
14766 if test "$aix_use_runtimelinking" = yes; then
14767 shared_flag
="$shared_flag "'${wl}-G'
14771 if test "$host_cpu" = ia64
; then
14772 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14773 # chokes on -Wl,-G. The following line is correct:
14776 if test "$aix_use_runtimelinking" = yes; then
14777 shared_flag
='${wl}-G'
14779 shared_flag
='${wl}-bM:SRE'
14784 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14785 # It seems that -bexpall does not export symbols beginning with
14786 # underscore (_), so it is better to generate a list of symbols to export.
14787 always_export_symbols_FC
=yes
14788 if test "$aix_use_runtimelinking" = yes; then
14789 # Warning - without using the other runtime loading flags (-brtl),
14790 # -berok will link without error, but may produce a broken library.
14791 allow_undefined_flag_FC
='-berok'
14792 # Determine the default libpath from the value encoded in an
14793 # empty executable.
14794 if test x
$gcc_no_link = xyes
; then
14795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14797 cat > conftest.
$ac_ext <<_ACEOF
14802 if ac_fn_fc_try_link
"$LINENO"; then :
14804 lt_aix_libpath_sed
='
14805 /Import File Strings/,/^$/ {
14811 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14812 # Check for a 64-bit object if we didn't find anything.
14813 if test -z "$aix_libpath"; then
14814 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14817 rm -f core conftest.err conftest.
$ac_objext \
14818 conftest
$ac_exeext conftest.
$ac_ext
14819 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14821 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14822 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"
14824 if test "$host_cpu" = ia64
; then
14825 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14826 allow_undefined_flag_FC
="-z nodefs"
14827 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"
14829 # Determine the default libpath from the value encoded in an
14830 # empty executable.
14831 if test x
$gcc_no_link = xyes
; then
14832 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14834 cat > conftest.
$ac_ext <<_ACEOF
14839 if ac_fn_fc_try_link
"$LINENO"; then :
14841 lt_aix_libpath_sed
='
14842 /Import File Strings/,/^$/ {
14848 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14849 # Check for a 64-bit object if we didn't find anything.
14850 if test -z "$aix_libpath"; then
14851 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14854 rm -f core conftest.err conftest.
$ac_objext \
14855 conftest
$ac_exeext conftest.
$ac_ext
14856 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14858 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14859 # Warning - without using the other run time loading flags,
14860 # -berok will link without error, but may produce a broken library.
14861 no_undefined_flag_FC
=' ${wl}-bernotok'
14862 allow_undefined_flag_FC
=' ${wl}-berok'
14863 if test "$with_gnu_ld" = yes; then
14864 # We only use this code for GNU lds that support --whole-archive.
14865 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14867 # Exported symbols can be pulled into shared objects from archives
14868 whole_archive_flag_spec_FC
='$convenience'
14870 archive_cmds_need_lc_FC
=yes
14871 # This is similar to how AIX traditionally builds its shared libraries.
14872 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'
14880 # see comment about AmigaOS4 .so support
14881 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14882 archive_expsym_cmds_FC
=''
14885 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)'
14886 hardcode_libdir_flag_spec_FC
='-L$libdir'
14887 hardcode_minus_L_FC
=yes
14893 export_dynamic_flag_spec_FC
=-rdynamic
14896 cygwin
* | mingw
* | pw32
* | cegcc
*)
14897 # When not using gcc, we currently assume that we are using
14898 # Microsoft Visual C++.
14899 # hardcode_libdir_flag_spec is actually meaningless, as there is
14900 # no search path for DLLs.
14901 hardcode_libdir_flag_spec_FC
=' '
14902 allow_undefined_flag_FC
=unsupported
14903 # Tell ltmain to make .lib files, not .a files.
14905 # Tell ltmain to make .dll files, not .so files.
14907 # FIXME: Setting linknames here is a bad hack.
14908 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14909 # The linker will automatically build a .lib file if we build a DLL.
14910 old_archive_from_new_cmds_FC
='true'
14911 # FIXME: Should let the user specify the lib program.
14912 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14913 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14914 enable_shared_with_static_runtimes_FC
=yes
14917 darwin
* | rhapsody
*)
14920 archive_cmds_need_lc_FC
=no
14921 hardcode_direct_FC
=no
14922 hardcode_automatic_FC
=yes
14923 hardcode_shlibpath_var_FC
=unsupported
14924 if test "$lt_cv_ld_force_load" = "yes"; then
14925 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\"`'
14927 whole_archive_flag_spec_FC
=''
14929 link_all_deplibs_FC
=yes
14930 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14931 case $cc_basename in
14932 ifort
*) _lt_dar_can_shared
=yes ;;
14933 *) _lt_dar_can_shared
=$GCC ;;
14935 if test "$_lt_dar_can_shared" = "yes"; then
14936 output_verbose_link_cmd
=func_echo_all
14937 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}"
14938 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14939 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}"
14940 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}"
14949 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14950 hardcode_libdir_flag_spec_FC
='-L$libdir'
14951 hardcode_shlibpath_var_FC
=no
14954 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14955 # support. Future versions do this automatically, but an explicit c++rt0.o
14956 # does not break anything, and helps significantly (at the cost of a little
14959 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14960 hardcode_libdir_flag_spec_FC
='-R$libdir'
14961 hardcode_direct_FC
=yes
14962 hardcode_shlibpath_var_FC
=no
14965 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14967 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14968 hardcode_direct_FC
=yes
14969 hardcode_minus_L_FC
=yes
14970 hardcode_shlibpath_var_FC
=no
14973 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14974 freebsd
* | dragonfly
*)
14975 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14976 hardcode_libdir_flag_spec_FC
='-R$libdir'
14977 hardcode_direct_FC
=yes
14978 hardcode_shlibpath_var_FC
=no
14982 if test "$GCC" = yes; then
14983 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'
14985 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'
14987 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14988 hardcode_libdir_separator_FC
=:
14989 hardcode_direct_FC
=yes
14991 # hardcode_minus_L: Not really in the search PATH,
14992 # but as the default location of the library.
14993 hardcode_minus_L_FC
=yes
14994 export_dynamic_flag_spec_FC
='${wl}-E'
14998 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14999 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15001 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15003 if test "$with_gnu_ld" = no
; then
15004 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15005 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15006 hardcode_libdir_separator_FC
=:
15007 hardcode_direct_FC
=yes
15008 hardcode_direct_absolute_FC
=yes
15009 export_dynamic_flag_spec_FC
='${wl}-E'
15010 # hardcode_minus_L: Not really in the search PATH,
15011 # but as the default location of the library.
15012 hardcode_minus_L_FC
=yes
15017 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15020 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15023 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15026 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15032 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15035 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15038 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15042 if test "$with_gnu_ld" = no
; then
15043 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15044 hardcode_libdir_separator_FC
=:
15048 hardcode_direct_FC
=no
15049 hardcode_shlibpath_var_FC
=no
15052 hardcode_direct_FC
=yes
15053 hardcode_direct_absolute_FC
=yes
15054 export_dynamic_flag_spec_FC
='${wl}-E'
15056 # hardcode_minus_L: Not really in the search PATH,
15057 # but as the default location of the library.
15058 hardcode_minus_L_FC
=yes
15064 irix5
* | irix6
* | nonstopux
*)
15065 if test "$GCC" = yes; then
15066 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'
15067 # Try to use the -exported_symbol ld option, if it does not
15068 # work, assume that -exports_file does not work either and
15069 # implicitly export all symbols.
15070 save_LDFLAGS
="$LDFLAGS"
15071 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15072 if test x
$gcc_no_link = xyes
; then
15073 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15075 cat > conftest.
$ac_ext <<_ACEOF
15078 if ac_fn_fc_try_link
"$LINENO"; then :
15079 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'
15082 rm -f core conftest.err conftest.
$ac_objext \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 LDFLAGS
="$save_LDFLAGS"
15086 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'
15087 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'
15089 archive_cmds_need_lc_FC
='no'
15090 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15091 hardcode_libdir_separator_FC
=:
15092 inherit_rpath_FC
=yes
15093 link_all_deplibs_FC
=yes
15097 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15098 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15100 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15102 hardcode_libdir_flag_spec_FC
='-R$libdir'
15103 hardcode_direct_FC
=yes
15104 hardcode_shlibpath_var_FC
=no
15108 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_FC
=yes
15110 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15111 hardcode_libdir_separator_FC
=:
15112 hardcode_shlibpath_var_FC
=no
15119 if test -f /usr
/libexec
/ld.so
; then
15120 hardcode_direct_FC
=yes
15121 hardcode_shlibpath_var_FC
=no
15122 hardcode_direct_absolute_FC
=yes
15123 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15124 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15125 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15126 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15127 export_dynamic_flag_spec_FC
='${wl}-E'
15130 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15131 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15132 hardcode_libdir_flag_spec_FC
='-R$libdir'
15135 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15136 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15146 hardcode_libdir_flag_spec_FC
='-L$libdir'
15147 hardcode_minus_L_FC
=yes
15148 allow_undefined_flag_FC
=unsupported
15149 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'
15150 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15154 if test "$GCC" = yes; then
15155 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15156 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'
15158 allow_undefined_flag_FC
=' -expect_unresolved \*'
15159 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'
15161 archive_cmds_need_lc_FC
='no'
15162 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15163 hardcode_libdir_separator_FC
=:
15166 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15167 if test "$GCC" = yes; then
15168 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15169 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'
15170 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15172 allow_undefined_flag_FC
=' -expect_unresolved \*'
15173 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'
15174 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~
15175 $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'
15177 # Both c and cxx compiler support -rpath directly
15178 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15180 archive_cmds_need_lc_FC
='no'
15181 hardcode_libdir_separator_FC
=:
15185 no_undefined_flag_FC
=' -z defs'
15186 if test "$GCC" = yes; then
15188 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15189 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15190 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15192 case `$CC -V 2>&1` in
15195 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15196 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15197 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15201 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15202 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15203 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15207 hardcode_libdir_flag_spec_FC
='-R$libdir'
15208 hardcode_shlibpath_var_FC
=no
15210 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15212 # The compiler driver will combine and reorder linker options,
15213 # but understands `-z linker_flag'. GCC discards it without `$wl',
15214 # but is careful enough not to reorder.
15215 # Supported since Solaris 2.6 (maybe 2.5.1?)
15216 if test "$GCC" = yes; then
15217 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15219 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15223 link_all_deplibs_FC
=yes
15227 if test "x$host_vendor" = xsequent
; then
15228 # Use $CC to link under sequent, because it throws in some extra .o
15229 # files that make .init and .fini sections work.
15230 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15232 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15234 hardcode_libdir_flag_spec_FC
='-L$libdir'
15235 hardcode_direct_FC
=yes
15236 hardcode_minus_L_FC
=yes
15237 hardcode_shlibpath_var_FC
=no
15241 case $host_vendor in
15243 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15244 hardcode_direct_FC
=yes # is this really true???
15247 ## LD is ld it makes a PLAMLIB
15248 ## CC just makes a GrossModule.
15249 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15250 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15251 hardcode_direct_FC
=no
15254 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15255 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15258 runpath_var
='LD_RUN_PATH'
15259 hardcode_shlibpath_var_FC
=no
15263 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15264 hardcode_shlibpath_var_FC
=no
15265 export_dynamic_flag_spec_FC
='-Bexport'
15269 if test -d /usr
/nec
; then
15270 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15271 hardcode_shlibpath_var_FC
=no
15272 runpath_var
=LD_RUN_PATH
15273 hardcode_runpath_var
=yes
15278 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15279 no_undefined_flag_FC
='${wl}-z,text'
15280 archive_cmds_need_lc_FC
=no
15281 hardcode_shlibpath_var_FC
=no
15282 runpath_var
='LD_RUN_PATH'
15284 if test "$GCC" = yes; then
15285 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15286 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15288 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15289 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15293 sysv5
* | sco3.2v5
* | sco5v6
*)
15294 # Note: We can NOT use -z defs as we might desire, because we do not
15295 # link with -lc, and that would cause any symbols used from libc to
15296 # always be unresolved, which means just about no library would
15297 # ever link correctly. If we're not using GNU ld we use -z text
15298 # though, which does catch some bad symbols but isn't as heavy-handed
15300 no_undefined_flag_FC
='${wl}-z,text'
15301 allow_undefined_flag_FC
='${wl}-z,nodefs'
15302 archive_cmds_need_lc_FC
=no
15303 hardcode_shlibpath_var_FC
=no
15304 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15305 hardcode_libdir_separator_FC
=':'
15306 link_all_deplibs_FC
=yes
15307 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15308 runpath_var
='LD_RUN_PATH'
15310 if test "$GCC" = yes; then
15311 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15312 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15314 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15315 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15320 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15321 hardcode_libdir_flag_spec_FC
='-L$libdir'
15322 hardcode_shlibpath_var_FC
=no
15330 if test x
$host_vendor = xsni
; then
15332 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15333 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15340 $as_echo "$ld_shlibs_FC" >&6; }
15341 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15343 with_gnu_ld_FC
=$with_gnu_ld
15351 # Do we need to explicitly link libc?
15353 case "x$archive_cmds_need_lc_FC" in
15355 # Assume -lc should be added
15356 archive_cmds_need_lc_FC
=yes
15358 if test "$enable_shared" = yes && test "$GCC" = yes; then
15359 case $archive_cmds_FC in
15361 # FIXME: we may have to deal with multi-command sequences.
15364 # Test whether the compiler implicitly links with -lc since on some
15365 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15366 # to ld, don't add -lc before -lgcc.
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15368 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15369 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15370 $as_echo_n "(cached) " >&6
15373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15376 (eval $ac_compile) 2>&5
15378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 test $ac_status = 0; } 2>conftest.err
; then
15382 libobjs
=conftest.
$ac_objext
15384 wl
=$lt_prog_compiler_wl_FC
15385 pic_flag
=$lt_prog_compiler_pic_FC
15391 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15392 allow_undefined_flag_FC
=
15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15394 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; }
15399 lt_cv_archive_cmds_need_lc_FC
=no
15401 lt_cv_archive_cmds_need_lc_FC
=yes
15403 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15405 cat conftest.err
1>&5
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15411 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15412 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15485 library_names_spec
=
15486 libname_spec
='lib$name'
15490 postuninstall_cmds
=
15494 shlibpath_overrides_runpath
=unknown
15496 dynamic_linker
="$host_os ld.so"
15497 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15498 need_lib_prefix
=unknown
15499 hardcode_into_libs
=no
15501 # when you set need_version to no, make sure it does not cause -set_version
15502 # flags to be left without arguments
15503 need_version
=unknown
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15509 shlibpath_var
=LIBPATH
15511 # AIX 3 has no versioning support, so we append a major version to the name.
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15519 hardcode_into_libs
=yes
15520 if test "$host_cpu" = ia64
; then
15521 # AIX 5 supports IA64
15522 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15523 shlibpath_var
=LD_LIBRARY_PATH
15525 # With GCC up to 2.95.x, collect2 would create an import file
15526 # for dependence libraries. The import file would start with
15527 # the line `#! .'. This would cause the generated library to
15528 # depend on `.', always an invalid library. This was fixed in
15529 # development snapshots of GCC prior to 3.0.
15531 aix4 | aix4.
[01] | aix4.
[01].
*)
15532 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15534 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15537 can_build_shared
=no
15541 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15542 # soname into executable. Probably we can add versioning support to
15543 # collect2, so additional links can be useful in future.
15544 if test "$aix_use_runtimelinking" = yes; then
15545 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15546 # instead of lib<name>.a to let people know that these are not
15547 # typical AIX shared libraries.
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 # We preserve .a as extension for shared libraries through AIX4.2
15551 # and later when we are not doing run time linking.
15552 library_names_spec
='${libname}${release}.a $libname.a'
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15555 shlibpath_var
=LIBPATH
15562 # Since July 2007 AmigaOS4 officially supports .so libraries.
15563 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15567 library_names_spec
='$libname.ixlibrary $libname.a'
15568 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15569 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'
15575 library_names_spec
='${libname}${shared_ext}'
15576 dynamic_linker
="$host_os ld.so"
15577 shlibpath_var
=LIBRARY_PATH
15583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15584 soname_spec
='${libname}${release}${shared_ext}$major'
15585 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15586 shlibpath_var
=LD_LIBRARY_PATH
15587 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15588 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15589 # the default ld.so.conf also contains /usr/contrib/lib and
15590 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15591 # libtool to hard-code these into programs
15594 cygwin
* | mingw
* | pw32
* | cegcc
*)
15595 version_type
=windows
15600 case $GCC,$host_os in
15601 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15602 library_names_spec
='$libname.dll.a'
15603 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15604 postinstall_cmds
='base_file=`basename \${file}`~
15605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15606 dldir=$destdir/`dirname \$dlpath`~
15607 test -d \$dldir || mkdir -p \$dldir~
15608 $install_prog $dir/$dlname \$dldir/$dlname~
15609 chmod a+x \$dldir/$dlname~
15610 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15611 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15613 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15614 dlpath=$dir/\$dldll~
15616 shlibpath_overrides_runpath
=yes
15620 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15621 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15625 # MinGW DLLs use traditional 'lib' prefix
15626 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15629 # pw32 DLLs use 'pw' prefix rather than 'lib'
15630 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15636 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15639 dynamic_linker
='Win32 ld.exe'
15640 # FIXME: first we should search . and the directory the executable is in
15644 darwin
* | rhapsody
*)
15645 dynamic_linker
="$host_os dyld"
15646 version_type
=darwin
15649 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15650 soname_spec
='${libname}${release}${major}$shared_ext'
15651 shlibpath_overrides_runpath
=yes
15652 shlibpath_var
=DYLD_LIBRARY_PATH
15653 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15655 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15663 soname_spec
='${libname}${release}${shared_ext}$major'
15664 shlibpath_var
=LD_LIBRARY_PATH
15667 freebsd
* | dragonfly
*)
15668 # DragonFly does not have aout. When/if they implement a new
15669 # versioning mechanism, adjust this.
15670 if test -x /usr
/bin
/objformat
; then
15671 objformat
=`/usr/bin/objformat`
15674 freebsd
[23].
*) objformat
=aout
;;
15675 *) objformat
=elf
;;
15678 version_type
=freebsd-
$objformat
15679 case $version_type in
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15690 shlibpath_var
=LD_LIBRARY_PATH
15693 shlibpath_overrides_runpath
=yes
15695 freebsd3.
[01]* | freebsdelf3.
[01]*)
15696 shlibpath_overrides_runpath
=yes
15697 hardcode_into_libs
=yes
15699 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15700 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15701 shlibpath_overrides_runpath
=no
15702 hardcode_into_libs
=yes
15704 *) # from 4.6 on, and DragonFly
15705 shlibpath_overrides_runpath
=yes
15706 hardcode_into_libs
=yes
15715 dynamic_linker
="$host_os runtime_loader"
15716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15717 soname_spec
='${libname}${release}${shared_ext}$major'
15718 shlibpath_var
=LIBRARY_PATH
15719 shlibpath_overrides_runpath
=yes
15720 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15721 hardcode_into_libs
=yes
15724 hpux9
* | hpux10
* | hpux11
*)
15725 # Give a soname corresponding to the major version so that dld.sl refuses to
15726 # link against other versions.
15733 hardcode_into_libs
=yes
15734 dynamic_linker
="$host_os dld.so"
15735 shlibpath_var
=LD_LIBRARY_PATH
15736 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15738 soname_spec
='${libname}${release}${shared_ext}$major'
15739 if test "X$HPUX_IA64_MODE" = X32
; then
15740 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15742 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15744 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15748 hardcode_into_libs
=yes
15749 dynamic_linker
="$host_os dld.sl"
15750 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15751 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753 soname_spec
='${libname}${release}${shared_ext}$major'
15754 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15755 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15759 dynamic_linker
="$host_os dld.sl"
15760 shlibpath_var
=SHLIB_PATH
15761 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15763 soname_spec
='${libname}${release}${shared_ext}$major'
15766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15767 postinstall_cmds
='chmod 555 $lib'
15768 # or fails outright, so override atomically:
15769 install_override_mode
=555
15776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15777 soname_spec
='${libname}${release}${shared_ext}$major'
15778 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15779 shlibpath_var
=LD_LIBRARY_PATH
15780 shlibpath_overrides_runpath
=no
15781 hardcode_into_libs
=yes
15784 irix5
* | irix6
* | nonstopux
*)
15786 nonstopux
*) version_type
=nonstopux
;;
15788 if test "$lt_cv_prog_gnu_ld" = yes; then
15796 soname_spec
='${libname}${release}${shared_ext}$major'
15797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15799 irix5
* | nonstopux
*)
15800 libsuff
= shlibsuff
=
15803 case $LD in # libtool.m4 will add one of these switches to LD
15804 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15805 libsuff
= shlibsuff
= libmagic
=32-bit;;
15806 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15807 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15808 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15809 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15810 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15814 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15815 shlibpath_overrides_runpath
=no
15816 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15817 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15818 hardcode_into_libs
=yes
15821 # No shared lib support for Linux oldld, aout, or coff.
15822 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15826 # This must be Linux ELF.
15828 # uclinux* changes (here and below) have been submitted to the libtool
15829 # project, but have not yet been accepted: they are GCC-local changes
15830 # for the time being. (See
15831 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15832 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15837 soname_spec
='${libname}${release}${shared_ext}$major'
15838 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15839 shlibpath_var
=LD_LIBRARY_PATH
15840 shlibpath_overrides_runpath
=no
15842 # Some binutils ld are patched to set DT_RUNPATH
15843 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15844 $as_echo_n "(cached) " >&6
15846 lt_cv_shlibpath_overrides_runpath
=no
15847 save_LDFLAGS
=$LDFLAGS
15848 save_libdir
=$libdir
15849 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15850 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15851 if test x
$gcc_no_link = xyes
; then
15852 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15854 cat > conftest.
$ac_ext <<_ACEOF
15859 if ac_fn_fc_try_link
"$LINENO"; then :
15860 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15861 lt_cv_shlibpath_overrides_runpath
=yes
15864 rm -f core conftest.err conftest.
$ac_objext \
15865 conftest
$ac_exeext conftest.
$ac_ext
15866 LDFLAGS
=$save_LDFLAGS
15867 libdir
=$save_libdir
15871 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15873 # This implies no fast_install, which is unacceptable.
15874 # Some rework will be needed to allow for fast_install
15875 # before this can be enabled.
15876 hardcode_into_libs
=yes
15878 # Append ld.so.conf contents to the search path
15879 if test -f /etc
/ld.so.conf
; then
15880 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' ' '`
15881 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15884 # We used to test for /lib/ld.so.1 and disable shared libraries on
15885 # powerpc, because MkLinux only supported shared libraries with the
15886 # GNU dynamic linker. Since this was broken with cross compilers,
15887 # most powerpc-linux boxes support dynamic linking these days and
15888 # people can always --disable-shared, the test was removed, and we
15889 # assume the GNU/Linux dynamic linker is in use.
15890 dynamic_linker
='GNU/Linux ld.so'
15897 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15899 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15900 dynamic_linker
='NetBSD (a.out) ld.so'
15902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15903 soname_spec
='${libname}${release}${shared_ext}$major'
15904 dynamic_linker
='NetBSD ld.elf_so'
15906 shlibpath_var
=LD_LIBRARY_PATH
15907 shlibpath_overrides_runpath
=yes
15908 hardcode_into_libs
=yes
15913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15914 shlibpath_var
=LD_LIBRARY_PATH
15915 shlibpath_overrides_runpath
=yes
15922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15923 soname_spec
='${libname}${release}${shared_ext}$major'
15924 shlibpath_var
=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath
=no
15926 hardcode_into_libs
=yes
15927 dynamic_linker
='ldqnx.so'
15932 sys_lib_dlsearch_path_spec
="/usr/lib"
15934 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15936 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15937 *) need_version
=no
;;
15939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15940 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15941 shlibpath_var
=LD_LIBRARY_PATH
15942 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15944 openbsd2.
[89] | openbsd2.
[89].
*)
15945 shlibpath_overrides_runpath
=no
15948 shlibpath_overrides_runpath
=yes
15952 shlibpath_overrides_runpath
=yes
15957 libname_spec
='$name'
15960 library_names_spec
='$libname${shared_ext} $libname.a'
15961 dynamic_linker
='OS/2 ld.exe'
15962 shlibpath_var
=LIBPATH
15965 osf3
* | osf4
* | osf5
*)
15969 soname_spec
='${libname}${release}${shared_ext}$major'
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15971 shlibpath_var
=LD_LIBRARY_PATH
15972 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15973 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15985 soname_spec
='${libname}${release}${shared_ext}$major'
15986 shlibpath_var
=LD_LIBRARY_PATH
15987 shlibpath_overrides_runpath
=yes
15988 hardcode_into_libs
=yes
15989 # ldd complains unless libraries are executable
15990 postinstall_cmds
='chmod +x $lib'
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15996 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15997 shlibpath_var
=LD_LIBRARY_PATH
15998 shlibpath_overrides_runpath
=yes
15999 if test "$with_gnu_ld" = yes; then
16007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16008 soname_spec
='${libname}${release}${shared_ext}$major'
16009 shlibpath_var
=LD_LIBRARY_PATH
16010 case $host_vendor in
16012 shlibpath_overrides_runpath
=no
16014 runpath_var
=LD_RUN_PATH
16022 shlibpath_overrides_runpath
=no
16023 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16029 if test -d /usr
/nec
;then
16031 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16032 soname_spec
='$libname${shared_ext}.$major'
16033 shlibpath_var
=LD_LIBRARY_PATH
16037 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16038 version_type
=freebsd-elf
16041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16042 soname_spec
='${libname}${release}${shared_ext}$major'
16043 shlibpath_var
=LD_LIBRARY_PATH
16044 shlibpath_overrides_runpath
=yes
16045 hardcode_into_libs
=yes
16046 if test "$with_gnu_ld" = yes; then
16047 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16049 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16052 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16056 sys_lib_dlsearch_path_spec
='/usr/lib'
16060 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16065 shlibpath_var
=LD_LIBRARY_PATH
16066 shlibpath_overrides_runpath
=no
16067 hardcode_into_libs
=yes
16072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16073 soname_spec
='${libname}${release}${shared_ext}$major'
16074 shlibpath_var
=LD_LIBRARY_PATH
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16082 $as_echo "$dynamic_linker" >&6; }
16083 test "$dynamic_linker" = no
&& can_build_shared
=no
16085 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16086 if test "$GCC" = yes; then
16087 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16090 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16091 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16093 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16094 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16135 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16136 hardcode_action_FC
=
16137 if test -n "$hardcode_libdir_flag_spec_FC" ||
16138 test -n "$runpath_var_FC" ||
16139 test "X$hardcode_automatic_FC" = "Xyes" ; then
16141 # We can hardcode non-existent directories.
16142 if test "$hardcode_direct_FC" != no
&&
16143 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16144 # have to relink, otherwise we might link with an installed library
16145 # when we should be linking with a yet-to-be-installed one
16146 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16147 test "$hardcode_minus_L_FC" != no
; then
16148 # Linking always hardcodes the temporary library directory.
16149 hardcode_action_FC
=relink
16151 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16152 hardcode_action_FC
=immediate
16155 # We cannot hardcode anything, or else we can only hardcode existing
16157 hardcode_action_FC
=unsupported
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16160 $as_echo "$hardcode_action_FC" >&6; }
16162 if test "$hardcode_action_FC" = relink ||
16163 test "$inherit_rpath_FC" = yes; then
16164 # Fast installation is not supported
16165 enable_fast_install
=no
16166 elif test "$shlibpath_overrides_runpath" = yes ||
16167 test "$enable_shared" = no
; then
16168 # Fast installation is not necessary
16169 enable_fast_install
=needless
16178 fi # test -n "$compiler"
16182 fi # test "$_lt_disable_FC" != yes
16185 ac_cpp
='$CPP $CPPFLAGS'
16186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16192 # extra LD Flags which are required for targets
16195 # Darwin needs -single_module when linking libgfortran
16196 extra_ldflags_libgfortran
=-Wl,-single_module
16201 # We need a working compiler at that point, otherwise give a clear
16202 # error message and bail out.
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16205 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16206 ac_ext
=${ac_fc_srcext-f}
16207 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16208 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16209 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16211 cat > conftest.
$ac_ext <<_ACEOF
16214 real, parameter :: bar = sin (12.34 / 2.5)
16217 if ac_fn_fc_try_compile
"$LINENO"; then :
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16219 $as_echo "yes" >&6; }
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222 $as_echo "no" >&6; }
16223 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16228 ac_cpp
='$CPP $CPPFLAGS'
16229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16235 # Check whether --enable-largefile was given.
16236 if test "${enable_largefile+set}" = set; then :
16237 enableval
=$enable_largefile;
16240 if test "$enable_largefile" != no
; then
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16243 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16244 if ${ac_cv_sys_largefile_CC+:} false
; then :
16245 $as_echo_n "(cached) " >&6
16247 ac_cv_sys_largefile_CC
=no
16248 if test "$GCC" != yes; then
16251 # IRIX 6.2 and later do not support large files by default,
16252 # so use the C compiler's -n32 option if that helps.
16253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16254 /* end confdefs.h. */
16255 #include <sys/types.h>
16256 /* Check that off_t can represent 2**63 - 1 correctly.
16257 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16258 since some C++ compilers masquerading as C compilers
16259 incorrectly reject 9223372036854775807. */
16260 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16262 && LARGE_OFF_T % 2147483647 == 1)
16272 if ac_fn_c_try_compile
"$LINENO"; then :
16275 rm -f core conftest.err conftest.
$ac_objext
16277 if ac_fn_c_try_compile
"$LINENO"; then :
16278 ac_cv_sys_largefile_CC
=' -n32'; break
16280 rm -f core conftest.err conftest.
$ac_objext
16284 rm -f conftest.
$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16288 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16289 if test "$ac_cv_sys_largefile_CC" != no
; then
16290 CC
=$CC$ac_cv_sys_largefile_CC
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16294 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16295 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16296 $as_echo_n "(cached) " >&6
16299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16301 #include <sys/types.h>
16302 /* Check that off_t can represent 2**63 - 1 correctly.
16303 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16304 since some C++ compilers masquerading as C compilers
16305 incorrectly reject 9223372036854775807. */
16306 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16307 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16308 && LARGE_OFF_T % 2147483647 == 1)
16318 if ac_fn_c_try_compile
"$LINENO"; then :
16319 ac_cv_sys_file_offset_bits
=no
; break
16321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16323 /* end confdefs.h. */
16324 #define _FILE_OFFSET_BITS 64
16325 #include <sys/types.h>
16326 /* Check that off_t can represent 2**63 - 1 correctly.
16327 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16328 since some C++ compilers masquerading as C compilers
16329 incorrectly reject 9223372036854775807. */
16330 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16332 && LARGE_OFF_T % 2147483647 == 1)
16342 if ac_fn_c_try_compile
"$LINENO"; then :
16343 ac_cv_sys_file_offset_bits
=64; break
16345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16346 ac_cv_sys_file_offset_bits
=unknown
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16351 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16352 case $ac_cv_sys_file_offset_bits in #(
16355 cat >>confdefs.h
<<_ACEOF
16356 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16361 if test $ac_cv_sys_file_offset_bits = unknown
; then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16363 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16364 if ${ac_cv_sys_large_files+:} false
; then :
16365 $as_echo_n "(cached) " >&6
16368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #include <sys/types.h>
16371 /* Check that off_t can represent 2**63 - 1 correctly.
16372 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16373 since some C++ compilers masquerading as C compilers
16374 incorrectly reject 9223372036854775807. */
16375 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16376 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16377 && LARGE_OFF_T % 2147483647 == 1)
16387 if ac_fn_c_try_compile
"$LINENO"; then :
16388 ac_cv_sys_large_files
=no
; break
16390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16393 #define _LARGE_FILES 1
16394 #include <sys/types.h>
16395 /* Check that off_t can represent 2**63 - 1 correctly.
16396 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16397 since some C++ compilers masquerading as C compilers
16398 incorrectly reject 9223372036854775807. */
16399 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16401 && LARGE_OFF_T % 2147483647 == 1)
16411 if ac_fn_c_try_compile
"$LINENO"; then :
16412 ac_cv_sys_large_files
=1; break
16414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16415 ac_cv_sys_large_files
=unknown
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16420 $as_echo "$ac_cv_sys_large_files" >&6; }
16421 case $ac_cv_sys_large_files in #(
16424 cat >>confdefs.h
<<_ACEOF
16425 #define _LARGE_FILES $ac_cv_sys_large_files
16437 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16438 if test "x$ac_cv_type_off_t" = xyes
; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define off_t long int
16449 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16450 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16452 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16455 for ac_type
in 'int' 'long int' 'long long int'; do
16456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 $ac_includes_default
16462 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16463 test_array [0] = 0;
16464 return test_array [0];
16470 if ac_fn_c_try_compile
"$LINENO"; then :
16472 cat >>confdefs.h
<<_ACEOF
16473 #define intptr_t $ac_type
16478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16479 test -z "$ac_type" && break
16485 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16486 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16488 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16491 for ac_type
in 'unsigned int' 'unsigned long int' \
16492 'unsigned long long int'; do
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 $ac_includes_default
16499 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16500 test_array [0] = 0;
16501 return test_array [0];
16507 if ac_fn_c_try_compile
"$LINENO"; then :
16509 cat >>confdefs.h
<<_ACEOF
16510 #define uintptr_t $ac_type
16515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16516 test -z "$ac_type" && break
16521 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16522 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16524 cat >>confdefs.h
<<_ACEOF
16525 #define HAVE_PTRDIFF_T 1
16532 # check header files (we assume C89 is available, so don't check for that)
16536 for ac_header
in $ac_header_list
16538 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16539 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16541 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16542 cat >>confdefs.h
<<_ACEOF
16543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16588 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16590 acx_cv_header_stdint
=stddef.h
16591 acx_cv_header_stdint_kind
="(already complete)"
16592 for i
in stdint.h
$inttype_headers; do
16593 unset ac_cv_type_uintptr_t
16594 unset ac_cv_type_uintmax_t
16595 unset ac_cv_type_int_least32_t
16596 unset ac_cv_type_int_fast32_t
16597 unset ac_cv_type_uint64_t
16598 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16599 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16602 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16603 acx_cv_header_stdint
=$i
16608 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16611 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16614 acx_cv_header_stdint_kind
="(mostly complete)"
16617 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16620 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16623 acx_cv_header_stdint_kind
="(mostly complete)"
16626 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16629 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16632 acx_cv_header_stdint_kind
="(mostly complete)"
16635 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16638 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16641 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16646 if test "$acx_cv_header_stdint" = stddef.h
; then
16647 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16648 for i
in stdint.h
$inttype_headers; do
16649 unset ac_cv_type_uintptr_t
16650 unset ac_cv_type_uint32_t
16651 unset ac_cv_type_uint64_t
16652 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16653 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16656 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16657 acx_cv_header_stdint
=$i
16662 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16665 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16669 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16672 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16679 if test "$acx_cv_header_stdint" = stddef.h
; then
16680 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16681 for i
in sys
/types.h
$inttype_headers; do
16682 unset ac_cv_type_u_int32_t
16683 unset ac_cv_type_u_int64_t
16684 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16685 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16688 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16689 acx_cv_header_stdint
=$i
16694 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16697 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16704 if test "$acx_cv_header_stdint" = stddef.h
; then
16705 acx_cv_header_stdint_kind
="(using manual detection)"
16708 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16709 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16710 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16711 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16712 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16714 # ----------------- Summarize what we found so far
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16717 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16719 case `$as_basename -- gstdint.h ||
16720 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16721 Xgstdint.h : 'X\(//\)$' \| \
16722 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16723 $as_echo X/gstdint.h |
16724 sed '/^.*\/\([^/][^/]*\)\/*$/{
16737 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16738 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16739 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16740 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16745 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16747 # ----------------- done included file, check C basic types --------
16749 # Lacking an uintptr_t? Test size of void *
16750 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16751 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16754 # This bug is HP SR number 8606223364.
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16756 $as_echo_n "checking size of void *... " >&6; }
16757 if ${ac_cv_sizeof_void_p+:} false
; then :
16758 $as_echo_n "(cached) " >&6
16760 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16763 if test "$ac_cv_type_void_p" = yes; then
16764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16766 as_fn_error
77 "cannot compute sizeof (void *)
16767 See \`config.log' for more details" "$LINENO" 5; }
16769 ac_cv_sizeof_void_p
=0
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16775 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16779 cat >>confdefs.h
<<_ACEOF
16780 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16786 # Lacking an uint64_t? Test size of long
16787 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16788 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16791 # This bug is HP SR number 8606223364.
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16793 $as_echo_n "checking size of long... " >&6; }
16794 if ${ac_cv_sizeof_long+:} false
; then :
16795 $as_echo_n "(cached) " >&6
16797 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16800 if test "$ac_cv_type_long" = yes; then
16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16803 as_fn_error
77 "cannot compute sizeof (long)
16804 See \`config.log' for more details" "$LINENO" 5; }
16806 ac_cv_sizeof_long
=0
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16812 $as_echo "$ac_cv_sizeof_long" >&6; }
16816 cat >>confdefs.h
<<_ACEOF
16817 #define SIZEOF_LONG $ac_cv_sizeof_long
16823 if test $acx_cv_header_stdint = stddef.h
; then
16824 # Lacking a good header? Test size of everything and deduce all types.
16825 # The cast to long int works around a bug in the HP C Compiler
16826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16828 # This bug is HP SR number 8606223364.
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16830 $as_echo_n "checking size of int... " >&6; }
16831 if ${ac_cv_sizeof_int+:} false
; then :
16832 $as_echo_n "(cached) " >&6
16834 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16837 if test "$ac_cv_type_int" = yes; then
16838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16840 as_fn_error
77 "cannot compute sizeof (int)
16841 See \`config.log' for more details" "$LINENO" 5; }
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16849 $as_echo "$ac_cv_sizeof_int" >&6; }
16853 cat >>confdefs.h
<<_ACEOF
16854 #define SIZEOF_INT $ac_cv_sizeof_int
16858 # The cast to long int works around a bug in the HP C Compiler
16859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16861 # This bug is HP SR number 8606223364.
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16863 $as_echo_n "checking size of short... " >&6; }
16864 if ${ac_cv_sizeof_short+:} false
; then :
16865 $as_echo_n "(cached) " >&6
16867 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16870 if test "$ac_cv_type_short" = yes; then
16871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16873 as_fn_error
77 "cannot compute sizeof (short)
16874 See \`config.log' for more details" "$LINENO" 5; }
16876 ac_cv_sizeof_short
=0
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16882 $as_echo "$ac_cv_sizeof_short" >&6; }
16886 cat >>confdefs.h
<<_ACEOF
16887 #define SIZEOF_SHORT $ac_cv_sizeof_short
16891 # The cast to long int works around a bug in the HP C Compiler
16892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16894 # This bug is HP SR number 8606223364.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16896 $as_echo_n "checking size of char... " >&6; }
16897 if ${ac_cv_sizeof_char+:} false
; then :
16898 $as_echo_n "(cached) " >&6
16900 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16903 if test "$ac_cv_type_char" = yes; then
16904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16906 as_fn_error
77 "cannot compute sizeof (char)
16907 See \`config.log' for more details" "$LINENO" 5; }
16909 ac_cv_sizeof_char
=0
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16915 $as_echo "$ac_cv_sizeof_char" >&6; }
16919 cat >>confdefs.h
<<_ACEOF
16920 #define SIZEOF_CHAR $ac_cv_sizeof_char
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16926 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16927 case "$ac_cv_sizeof_char" in
16928 1) acx_cv_type_int8_t
=char
;;
16929 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16932 $as_echo "$acx_cv_type_int8_t" >&6; }
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16935 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16936 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16937 2:*) acx_cv_type_int16_t
=int
;;
16938 *:2) acx_cv_type_int16_t
=short
;;
16939 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16942 $as_echo "$acx_cv_type_int16_t" >&6; }
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16945 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16946 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16947 4:*) acx_cv_type_int32_t
=int
;;
16948 *:4) acx_cv_type_int32_t
=long
;;
16949 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16952 $as_echo "$acx_cv_type_int32_t" >&6; }
16955 # These tests are here to make the output prettier
16957 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16958 case "$ac_cv_sizeof_long" in
16959 8) acx_cv_type_int64_t
=long
;;
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16962 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16964 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16967 # Now we can use the above types
16969 if test "$ac_cv_type_uintptr_t" != yes; then
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16971 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16972 case $ac_cv_sizeof_void_p in
16973 2) acx_cv_type_intptr_t
=int16_t
;;
16974 4) acx_cv_type_intptr_t
=int32_t
;;
16975 8) acx_cv_type_intptr_t
=int64_t
;;
16976 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16979 $as_echo "$acx_cv_type_intptr_t" >&6; }
16982 # ----------------- done all checks, emit header -------------
16983 ac_config_commands
="$ac_config_commands gstdint.h"
16988 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16989 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16991 cat >>confdefs.h
<<_ACEOF
16992 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16997 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16998 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17000 cat >>confdefs.h
<<_ACEOF
17001 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17006 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17007 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17009 cat >>confdefs.h
<<_ACEOF
17010 #define HAVE_STRUCT_STAT_ST_RDEV 1
17017 case "${host}--x${with_newlib}" in
17019 hardwire_newlib
=1;;
17021 hardwire_newlib
=1;;
17024 # Check for library functions.
17025 if test "${hardwire_newlib:-0}" -eq 1; then
17026 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17027 # may not work correctly, because the compiler may not be able to
17028 # link executables.
17030 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17033 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17036 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17039 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17042 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17045 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17048 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17051 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17054 # At some point, we should differentiate between architectures
17055 # like x86, which have long double versions, and alpha/powerpc/etc.,
17056 # which don't. For the time being, punt.
17057 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17059 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17066 for ac_func
in $ac_func_list
17068 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17069 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17070 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17071 cat >>confdefs.h
<<_ACEOF
17072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17189 # Check strerror_r, cannot be above as versions with two and three arguments exist
17191 ac_save_CFLAGS
="$CFLAGS"
17192 CFLAGS
="-Wimplicit-function-declaration -Werror"
17193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 #define _GNU_SOURCE 1
17196 #include <string.h>
17197 #include <locale.h>
17201 char s[128]; strerror_r(5, s, 128);
17206 if ac_fn_c_try_compile
"$LINENO"; then :
17208 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17212 CFLAGS
="$ac_save_CFLAGS"
17214 ac_save_CFLAGS
="$CFLAGS"
17215 CFLAGS
="-Wimplicit-function-declaration -Werror"
17216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 #define _GNU_SOURCE 1
17219 #include <string.h>
17220 #include <locale.h>
17224 char s[128]; strerror_r(5, s);
17229 if ac_fn_c_try_compile
"$LINENO"; then :
17231 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17235 CFLAGS
="$ac_save_CFLAGS"
17238 # Check for C99 (and other IEEE) math functions
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17240 $as_echo_n "checking for sin in -lm... " >&6; }
17241 if ${ac_cv_lib_m_sin+:} false
; then :
17242 $as_echo_n "(cached) " >&6
17244 ac_check_lib_save_LIBS
=$LIBS
17246 if test x
$gcc_no_link = xyes
; then
17247 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17252 /* Override any GCC internal prototype to avoid an error.
17253 Use char because int might match the return type of a GCC
17254 builtin and then its argument prototype would still apply. */
17267 if ac_fn_c_try_link
"$LINENO"; then :
17268 ac_cv_lib_m_sin
=yes
17272 rm -f core conftest.err conftest.
$ac_objext \
17273 conftest
$ac_exeext conftest.
$ac_ext
17274 LIBS
=$ac_check_lib_save_LIBS
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17277 $as_echo "$ac_cv_lib_m_sin" >&6; }
17278 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17279 cat >>confdefs.h
<<_ACEOF
17280 #define HAVE_LIBM 1
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17294 $as_echo_n "checking for acosf... " >&6; }
17295 if ${gcc_cv_math_func_acosf+:} false
; then :
17296 $as_echo_n "(cached) " >&6
17298 if test x
$gcc_no_link = xyes
; then
17299 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17304 #ifdef HAVE_COMPLEX_H
17305 #include <complex.h>
17311 int (*ptr)() = (int (*)())acosf;
17320 if ac_fn_c_try_link
"$LINENO"; then :
17321 gcc_cv_math_func_acosf
=yes
17323 gcc_cv_math_func_acosf
=no
17325 rm -f core conftest.err conftest.
$ac_objext \
17326 conftest
$ac_exeext conftest.
$ac_ext
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17329 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17330 if test $gcc_cv_math_func_acosf = yes; then
17332 cat >>confdefs.h
<<_ACEOF
17333 #define HAVE_ACOSF 1
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17342 $as_echo_n "checking for acos... " >&6; }
17343 if ${gcc_cv_math_func_acos+:} false
; then :
17344 $as_echo_n "(cached) " >&6
17346 if test x
$gcc_no_link = xyes
; then
17347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17352 #ifdef HAVE_COMPLEX_H
17353 #include <complex.h>
17359 int (*ptr)() = (int (*)())acos;
17368 if ac_fn_c_try_link
"$LINENO"; then :
17369 gcc_cv_math_func_acos
=yes
17371 gcc_cv_math_func_acos
=no
17373 rm -f core conftest.err conftest.
$ac_objext \
17374 conftest
$ac_exeext conftest.
$ac_ext
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17377 $as_echo "$gcc_cv_math_func_acos" >&6; }
17378 if test $gcc_cv_math_func_acos = yes; then
17380 cat >>confdefs.h
<<_ACEOF
17381 #define HAVE_ACOS 1
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17390 $as_echo_n "checking for acosl... " >&6; }
17391 if ${gcc_cv_math_func_acosl+:} false
; then :
17392 $as_echo_n "(cached) " >&6
17394 if test x
$gcc_no_link = xyes
; then
17395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17400 #ifdef HAVE_COMPLEX_H
17401 #include <complex.h>
17407 int (*ptr)() = (int (*)())acosl;
17416 if ac_fn_c_try_link
"$LINENO"; then :
17417 gcc_cv_math_func_acosl
=yes
17419 gcc_cv_math_func_acosl
=no
17421 rm -f core conftest.err conftest.
$ac_objext \
17422 conftest
$ac_exeext conftest.
$ac_ext
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17425 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17426 if test $gcc_cv_math_func_acosl = yes; then
17428 cat >>confdefs.h
<<_ACEOF
17429 #define HAVE_ACOSL 1
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17438 $as_echo_n "checking for acoshf... " >&6; }
17439 if ${gcc_cv_math_func_acoshf+:} false
; then :
17440 $as_echo_n "(cached) " >&6
17442 if test x
$gcc_no_link = xyes
; then
17443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17448 #ifdef HAVE_COMPLEX_H
17449 #include <complex.h>
17455 int (*ptr)() = (int (*)())acoshf;
17464 if ac_fn_c_try_link
"$LINENO"; then :
17465 gcc_cv_math_func_acoshf
=yes
17467 gcc_cv_math_func_acoshf
=no
17469 rm -f core conftest.err conftest.
$ac_objext \
17470 conftest
$ac_exeext conftest.
$ac_ext
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17473 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17474 if test $gcc_cv_math_func_acoshf = yes; then
17476 cat >>confdefs.h
<<_ACEOF
17477 #define HAVE_ACOSHF 1
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17486 $as_echo_n "checking for acosh... " >&6; }
17487 if ${gcc_cv_math_func_acosh+:} false
; then :
17488 $as_echo_n "(cached) " >&6
17490 if test x
$gcc_no_link = xyes
; then
17491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17496 #ifdef HAVE_COMPLEX_H
17497 #include <complex.h>
17503 int (*ptr)() = (int (*)())acosh;
17512 if ac_fn_c_try_link
"$LINENO"; then :
17513 gcc_cv_math_func_acosh
=yes
17515 gcc_cv_math_func_acosh
=no
17517 rm -f core conftest.err conftest.
$ac_objext \
17518 conftest
$ac_exeext conftest.
$ac_ext
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17521 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17522 if test $gcc_cv_math_func_acosh = yes; then
17524 cat >>confdefs.h
<<_ACEOF
17525 #define HAVE_ACOSH 1
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17534 $as_echo_n "checking for acoshl... " >&6; }
17535 if ${gcc_cv_math_func_acoshl+:} false
; then :
17536 $as_echo_n "(cached) " >&6
17538 if test x
$gcc_no_link = xyes
; then
17539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17544 #ifdef HAVE_COMPLEX_H
17545 #include <complex.h>
17551 int (*ptr)() = (int (*)())acoshl;
17560 if ac_fn_c_try_link
"$LINENO"; then :
17561 gcc_cv_math_func_acoshl
=yes
17563 gcc_cv_math_func_acoshl
=no
17565 rm -f core conftest.err conftest.
$ac_objext \
17566 conftest
$ac_exeext conftest.
$ac_ext
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17569 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17570 if test $gcc_cv_math_func_acoshl = yes; then
17572 cat >>confdefs.h
<<_ACEOF
17573 #define HAVE_ACOSHL 1
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17582 $as_echo_n "checking for asinf... " >&6; }
17583 if ${gcc_cv_math_func_asinf+:} false
; then :
17584 $as_echo_n "(cached) " >&6
17586 if test x
$gcc_no_link = xyes
; then
17587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17592 #ifdef HAVE_COMPLEX_H
17593 #include <complex.h>
17599 int (*ptr)() = (int (*)())asinf;
17608 if ac_fn_c_try_link
"$LINENO"; then :
17609 gcc_cv_math_func_asinf
=yes
17611 gcc_cv_math_func_asinf
=no
17613 rm -f core conftest.err conftest.
$ac_objext \
17614 conftest
$ac_exeext conftest.
$ac_ext
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17617 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17618 if test $gcc_cv_math_func_asinf = yes; then
17620 cat >>confdefs.h
<<_ACEOF
17621 #define HAVE_ASINF 1
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17630 $as_echo_n "checking for asin... " >&6; }
17631 if ${gcc_cv_math_func_asin+:} false
; then :
17632 $as_echo_n "(cached) " >&6
17634 if test x
$gcc_no_link = xyes
; then
17635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 #ifdef HAVE_COMPLEX_H
17641 #include <complex.h>
17647 int (*ptr)() = (int (*)())asin;
17656 if ac_fn_c_try_link
"$LINENO"; then :
17657 gcc_cv_math_func_asin
=yes
17659 gcc_cv_math_func_asin
=no
17661 rm -f core conftest.err conftest.
$ac_objext \
17662 conftest
$ac_exeext conftest.
$ac_ext
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17665 $as_echo "$gcc_cv_math_func_asin" >&6; }
17666 if test $gcc_cv_math_func_asin = yes; then
17668 cat >>confdefs.h
<<_ACEOF
17669 #define HAVE_ASIN 1
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17678 $as_echo_n "checking for asinl... " >&6; }
17679 if ${gcc_cv_math_func_asinl+:} false
; then :
17680 $as_echo_n "(cached) " >&6
17682 if test x
$gcc_no_link = xyes
; then
17683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17688 #ifdef HAVE_COMPLEX_H
17689 #include <complex.h>
17695 int (*ptr)() = (int (*)())asinl;
17704 if ac_fn_c_try_link
"$LINENO"; then :
17705 gcc_cv_math_func_asinl
=yes
17707 gcc_cv_math_func_asinl
=no
17709 rm -f core conftest.err conftest.
$ac_objext \
17710 conftest
$ac_exeext conftest.
$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17713 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17714 if test $gcc_cv_math_func_asinl = yes; then
17716 cat >>confdefs.h
<<_ACEOF
17717 #define HAVE_ASINL 1
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17726 $as_echo_n "checking for asinhf... " >&6; }
17727 if ${gcc_cv_math_func_asinhf+:} false
; then :
17728 $as_echo_n "(cached) " >&6
17730 if test x
$gcc_no_link = xyes
; then
17731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17736 #ifdef HAVE_COMPLEX_H
17737 #include <complex.h>
17743 int (*ptr)() = (int (*)())asinhf;
17752 if ac_fn_c_try_link
"$LINENO"; then :
17753 gcc_cv_math_func_asinhf
=yes
17755 gcc_cv_math_func_asinhf
=no
17757 rm -f core conftest.err conftest.
$ac_objext \
17758 conftest
$ac_exeext conftest.
$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17761 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17762 if test $gcc_cv_math_func_asinhf = yes; then
17764 cat >>confdefs.h
<<_ACEOF
17765 #define HAVE_ASINHF 1
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17774 $as_echo_n "checking for asinh... " >&6; }
17775 if ${gcc_cv_math_func_asinh+:} false
; then :
17776 $as_echo_n "(cached) " >&6
17778 if test x
$gcc_no_link = xyes
; then
17779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 #ifdef HAVE_COMPLEX_H
17785 #include <complex.h>
17791 int (*ptr)() = (int (*)())asinh;
17800 if ac_fn_c_try_link
"$LINENO"; then :
17801 gcc_cv_math_func_asinh
=yes
17803 gcc_cv_math_func_asinh
=no
17805 rm -f core conftest.err conftest.
$ac_objext \
17806 conftest
$ac_exeext conftest.
$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17809 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17810 if test $gcc_cv_math_func_asinh = yes; then
17812 cat >>confdefs.h
<<_ACEOF
17813 #define HAVE_ASINH 1
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17822 $as_echo_n "checking for asinhl... " >&6; }
17823 if ${gcc_cv_math_func_asinhl+:} false
; then :
17824 $as_echo_n "(cached) " >&6
17826 if test x
$gcc_no_link = xyes
; then
17827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 #ifdef HAVE_COMPLEX_H
17833 #include <complex.h>
17839 int (*ptr)() = (int (*)())asinhl;
17848 if ac_fn_c_try_link
"$LINENO"; then :
17849 gcc_cv_math_func_asinhl
=yes
17851 gcc_cv_math_func_asinhl
=no
17853 rm -f core conftest.err conftest.
$ac_objext \
17854 conftest
$ac_exeext conftest.
$ac_ext
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17857 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17858 if test $gcc_cv_math_func_asinhl = yes; then
17860 cat >>confdefs.h
<<_ACEOF
17861 #define HAVE_ASINHL 1
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17870 $as_echo_n "checking for atan2f... " >&6; }
17871 if ${gcc_cv_math_func_atan2f+:} false
; then :
17872 $as_echo_n "(cached) " >&6
17874 if test x
$gcc_no_link = xyes
; then
17875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 #ifdef HAVE_COMPLEX_H
17881 #include <complex.h>
17887 int (*ptr)() = (int (*)())atan2f;
17896 if ac_fn_c_try_link
"$LINENO"; then :
17897 gcc_cv_math_func_atan2f
=yes
17899 gcc_cv_math_func_atan2f
=no
17901 rm -f core conftest.err conftest.
$ac_objext \
17902 conftest
$ac_exeext conftest.
$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17905 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17906 if test $gcc_cv_math_func_atan2f = yes; then
17908 cat >>confdefs.h
<<_ACEOF
17909 #define HAVE_ATAN2F 1
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17918 $as_echo_n "checking for atan2... " >&6; }
17919 if ${gcc_cv_math_func_atan2+:} false
; then :
17920 $as_echo_n "(cached) " >&6
17922 if test x
$gcc_no_link = xyes
; then
17923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17928 #ifdef HAVE_COMPLEX_H
17929 #include <complex.h>
17935 int (*ptr)() = (int (*)())atan2;
17944 if ac_fn_c_try_link
"$LINENO"; then :
17945 gcc_cv_math_func_atan2
=yes
17947 gcc_cv_math_func_atan2
=no
17949 rm -f core conftest.err conftest.
$ac_objext \
17950 conftest
$ac_exeext conftest.
$ac_ext
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17953 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17954 if test $gcc_cv_math_func_atan2 = yes; then
17956 cat >>confdefs.h
<<_ACEOF
17957 #define HAVE_ATAN2 1
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17966 $as_echo_n "checking for atan2l... " >&6; }
17967 if ${gcc_cv_math_func_atan2l+:} false
; then :
17968 $as_echo_n "(cached) " >&6
17970 if test x
$gcc_no_link = xyes
; then
17971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17976 #ifdef HAVE_COMPLEX_H
17977 #include <complex.h>
17983 int (*ptr)() = (int (*)())atan2l;
17992 if ac_fn_c_try_link
"$LINENO"; then :
17993 gcc_cv_math_func_atan2l
=yes
17995 gcc_cv_math_func_atan2l
=no
17997 rm -f core conftest.err conftest.
$ac_objext \
17998 conftest
$ac_exeext conftest.
$ac_ext
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18001 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18002 if test $gcc_cv_math_func_atan2l = yes; then
18004 cat >>confdefs.h
<<_ACEOF
18005 #define HAVE_ATAN2L 1
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18014 $as_echo_n "checking for atanf... " >&6; }
18015 if ${gcc_cv_math_func_atanf+:} false
; then :
18016 $as_echo_n "(cached) " >&6
18018 if test x
$gcc_no_link = xyes
; then
18019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 #ifdef HAVE_COMPLEX_H
18025 #include <complex.h>
18031 int (*ptr)() = (int (*)())atanf;
18040 if ac_fn_c_try_link
"$LINENO"; then :
18041 gcc_cv_math_func_atanf
=yes
18043 gcc_cv_math_func_atanf
=no
18045 rm -f core conftest.err conftest.
$ac_objext \
18046 conftest
$ac_exeext conftest.
$ac_ext
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18049 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18050 if test $gcc_cv_math_func_atanf = yes; then
18052 cat >>confdefs.h
<<_ACEOF
18053 #define HAVE_ATANF 1
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18062 $as_echo_n "checking for atan... " >&6; }
18063 if ${gcc_cv_math_func_atan+:} false
; then :
18064 $as_echo_n "(cached) " >&6
18066 if test x
$gcc_no_link = xyes
; then
18067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h. */
18072 #ifdef HAVE_COMPLEX_H
18073 #include <complex.h>
18079 int (*ptr)() = (int (*)())atan;
18088 if ac_fn_c_try_link
"$LINENO"; then :
18089 gcc_cv_math_func_atan
=yes
18091 gcc_cv_math_func_atan
=no
18093 rm -f core conftest.err conftest.
$ac_objext \
18094 conftest
$ac_exeext conftest.
$ac_ext
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18097 $as_echo "$gcc_cv_math_func_atan" >&6; }
18098 if test $gcc_cv_math_func_atan = yes; then
18100 cat >>confdefs.h
<<_ACEOF
18101 #define HAVE_ATAN 1
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18110 $as_echo_n "checking for atanl... " >&6; }
18111 if ${gcc_cv_math_func_atanl+:} false
; then :
18112 $as_echo_n "(cached) " >&6
18114 if test x
$gcc_no_link = xyes
; then
18115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 #ifdef HAVE_COMPLEX_H
18121 #include <complex.h>
18127 int (*ptr)() = (int (*)())atanl;
18136 if ac_fn_c_try_link
"$LINENO"; then :
18137 gcc_cv_math_func_atanl
=yes
18139 gcc_cv_math_func_atanl
=no
18141 rm -f core conftest.err conftest.
$ac_objext \
18142 conftest
$ac_exeext conftest.
$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18145 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18146 if test $gcc_cv_math_func_atanl = yes; then
18148 cat >>confdefs.h
<<_ACEOF
18149 #define HAVE_ATANL 1
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18158 $as_echo_n "checking for atanhf... " >&6; }
18159 if ${gcc_cv_math_func_atanhf+:} false
; then :
18160 $as_echo_n "(cached) " >&6
18162 if test x
$gcc_no_link = xyes
; then
18163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 #ifdef HAVE_COMPLEX_H
18169 #include <complex.h>
18175 int (*ptr)() = (int (*)())atanhf;
18184 if ac_fn_c_try_link
"$LINENO"; then :
18185 gcc_cv_math_func_atanhf
=yes
18187 gcc_cv_math_func_atanhf
=no
18189 rm -f core conftest.err conftest.
$ac_objext \
18190 conftest
$ac_exeext conftest.
$ac_ext
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18193 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18194 if test $gcc_cv_math_func_atanhf = yes; then
18196 cat >>confdefs.h
<<_ACEOF
18197 #define HAVE_ATANHF 1
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18206 $as_echo_n "checking for atanh... " >&6; }
18207 if ${gcc_cv_math_func_atanh+:} false
; then :
18208 $as_echo_n "(cached) " >&6
18210 if test x
$gcc_no_link = xyes
; then
18211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 #ifdef HAVE_COMPLEX_H
18217 #include <complex.h>
18223 int (*ptr)() = (int (*)())atanh;
18232 if ac_fn_c_try_link
"$LINENO"; then :
18233 gcc_cv_math_func_atanh
=yes
18235 gcc_cv_math_func_atanh
=no
18237 rm -f core conftest.err conftest.
$ac_objext \
18238 conftest
$ac_exeext conftest.
$ac_ext
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18241 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18242 if test $gcc_cv_math_func_atanh = yes; then
18244 cat >>confdefs.h
<<_ACEOF
18245 #define HAVE_ATANH 1
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18254 $as_echo_n "checking for atanhl... " >&6; }
18255 if ${gcc_cv_math_func_atanhl+:} false
; then :
18256 $as_echo_n "(cached) " >&6
18258 if test x
$gcc_no_link = xyes
; then
18259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 #ifdef HAVE_COMPLEX_H
18265 #include <complex.h>
18271 int (*ptr)() = (int (*)())atanhl;
18280 if ac_fn_c_try_link
"$LINENO"; then :
18281 gcc_cv_math_func_atanhl
=yes
18283 gcc_cv_math_func_atanhl
=no
18285 rm -f core conftest.err conftest.
$ac_objext \
18286 conftest
$ac_exeext conftest.
$ac_ext
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18289 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18290 if test $gcc_cv_math_func_atanhl = yes; then
18292 cat >>confdefs.h
<<_ACEOF
18293 #define HAVE_ATANHL 1
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18302 $as_echo_n "checking for cargf... " >&6; }
18303 if ${gcc_cv_math_func_cargf+:} false
; then :
18304 $as_echo_n "(cached) " >&6
18306 if test x
$gcc_no_link = xyes
; then
18307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 #ifdef HAVE_COMPLEX_H
18313 #include <complex.h>
18319 int (*ptr)() = (int (*)())cargf;
18328 if ac_fn_c_try_link
"$LINENO"; then :
18329 gcc_cv_math_func_cargf
=yes
18331 gcc_cv_math_func_cargf
=no
18333 rm -f core conftest.err conftest.
$ac_objext \
18334 conftest
$ac_exeext conftest.
$ac_ext
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18337 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18338 if test $gcc_cv_math_func_cargf = yes; then
18340 cat >>confdefs.h
<<_ACEOF
18341 #define HAVE_CARGF 1
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18350 $as_echo_n "checking for carg... " >&6; }
18351 if ${gcc_cv_math_func_carg+:} false
; then :
18352 $as_echo_n "(cached) " >&6
18354 if test x
$gcc_no_link = xyes
; then
18355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18360 #ifdef HAVE_COMPLEX_H
18361 #include <complex.h>
18367 int (*ptr)() = (int (*)())carg;
18376 if ac_fn_c_try_link
"$LINENO"; then :
18377 gcc_cv_math_func_carg
=yes
18379 gcc_cv_math_func_carg
=no
18381 rm -f core conftest.err conftest.
$ac_objext \
18382 conftest
$ac_exeext conftest.
$ac_ext
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18385 $as_echo "$gcc_cv_math_func_carg" >&6; }
18386 if test $gcc_cv_math_func_carg = yes; then
18388 cat >>confdefs.h
<<_ACEOF
18389 #define HAVE_CARG 1
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18398 $as_echo_n "checking for cargl... " >&6; }
18399 if ${gcc_cv_math_func_cargl+:} false
; then :
18400 $as_echo_n "(cached) " >&6
18402 if test x
$gcc_no_link = xyes
; then
18403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18408 #ifdef HAVE_COMPLEX_H
18409 #include <complex.h>
18415 int (*ptr)() = (int (*)())cargl;
18424 if ac_fn_c_try_link
"$LINENO"; then :
18425 gcc_cv_math_func_cargl
=yes
18427 gcc_cv_math_func_cargl
=no
18429 rm -f core conftest.err conftest.
$ac_objext \
18430 conftest
$ac_exeext conftest.
$ac_ext
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18433 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18434 if test $gcc_cv_math_func_cargl = yes; then
18436 cat >>confdefs.h
<<_ACEOF
18437 #define HAVE_CARGL 1
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18446 $as_echo_n "checking for ceilf... " >&6; }
18447 if ${gcc_cv_math_func_ceilf+:} false
; then :
18448 $as_echo_n "(cached) " >&6
18450 if test x
$gcc_no_link = xyes
; then
18451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18454 /* end confdefs.h. */
18456 #ifdef HAVE_COMPLEX_H
18457 #include <complex.h>
18463 int (*ptr)() = (int (*)())ceilf;
18472 if ac_fn_c_try_link
"$LINENO"; then :
18473 gcc_cv_math_func_ceilf
=yes
18475 gcc_cv_math_func_ceilf
=no
18477 rm -f core conftest.err conftest.
$ac_objext \
18478 conftest
$ac_exeext conftest.
$ac_ext
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18481 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18482 if test $gcc_cv_math_func_ceilf = yes; then
18484 cat >>confdefs.h
<<_ACEOF
18485 #define HAVE_CEILF 1
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18494 $as_echo_n "checking for ceil... " >&6; }
18495 if ${gcc_cv_math_func_ceil+:} false
; then :
18496 $as_echo_n "(cached) " >&6
18498 if test x
$gcc_no_link = xyes
; then
18499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18504 #ifdef HAVE_COMPLEX_H
18505 #include <complex.h>
18511 int (*ptr)() = (int (*)())ceil;
18520 if ac_fn_c_try_link
"$LINENO"; then :
18521 gcc_cv_math_func_ceil
=yes
18523 gcc_cv_math_func_ceil
=no
18525 rm -f core conftest.err conftest.
$ac_objext \
18526 conftest
$ac_exeext conftest.
$ac_ext
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18529 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18530 if test $gcc_cv_math_func_ceil = yes; then
18532 cat >>confdefs.h
<<_ACEOF
18533 #define HAVE_CEIL 1
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18542 $as_echo_n "checking for ceill... " >&6; }
18543 if ${gcc_cv_math_func_ceill+:} false
; then :
18544 $as_echo_n "(cached) " >&6
18546 if test x
$gcc_no_link = xyes
; then
18547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18552 #ifdef HAVE_COMPLEX_H
18553 #include <complex.h>
18559 int (*ptr)() = (int (*)())ceill;
18568 if ac_fn_c_try_link
"$LINENO"; then :
18569 gcc_cv_math_func_ceill
=yes
18571 gcc_cv_math_func_ceill
=no
18573 rm -f core conftest.err conftest.
$ac_objext \
18574 conftest
$ac_exeext conftest.
$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18577 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18578 if test $gcc_cv_math_func_ceill = yes; then
18580 cat >>confdefs.h
<<_ACEOF
18581 #define HAVE_CEILL 1
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18590 $as_echo_n "checking for copysignf... " >&6; }
18591 if ${gcc_cv_math_func_copysignf+:} false
; then :
18592 $as_echo_n "(cached) " >&6
18594 if test x
$gcc_no_link = xyes
; then
18595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18600 #ifdef HAVE_COMPLEX_H
18601 #include <complex.h>
18607 int (*ptr)() = (int (*)())copysignf;
18616 if ac_fn_c_try_link
"$LINENO"; then :
18617 gcc_cv_math_func_copysignf
=yes
18619 gcc_cv_math_func_copysignf
=no
18621 rm -f core conftest.err conftest.
$ac_objext \
18622 conftest
$ac_exeext conftest.
$ac_ext
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18625 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18626 if test $gcc_cv_math_func_copysignf = yes; then
18628 cat >>confdefs.h
<<_ACEOF
18629 #define HAVE_COPYSIGNF 1
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18638 $as_echo_n "checking for copysign... " >&6; }
18639 if ${gcc_cv_math_func_copysign+:} false
; then :
18640 $as_echo_n "(cached) " >&6
18642 if test x
$gcc_no_link = xyes
; then
18643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 #ifdef HAVE_COMPLEX_H
18649 #include <complex.h>
18655 int (*ptr)() = (int (*)())copysign;
18664 if ac_fn_c_try_link
"$LINENO"; then :
18665 gcc_cv_math_func_copysign
=yes
18667 gcc_cv_math_func_copysign
=no
18669 rm -f core conftest.err conftest.
$ac_objext \
18670 conftest
$ac_exeext conftest.
$ac_ext
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18673 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18674 if test $gcc_cv_math_func_copysign = yes; then
18676 cat >>confdefs.h
<<_ACEOF
18677 #define HAVE_COPYSIGN 1
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18686 $as_echo_n "checking for copysignl... " >&6; }
18687 if ${gcc_cv_math_func_copysignl+:} false
; then :
18688 $as_echo_n "(cached) " >&6
18690 if test x
$gcc_no_link = xyes
; then
18691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18696 #ifdef HAVE_COMPLEX_H
18697 #include <complex.h>
18703 int (*ptr)() = (int (*)())copysignl;
18712 if ac_fn_c_try_link
"$LINENO"; then :
18713 gcc_cv_math_func_copysignl
=yes
18715 gcc_cv_math_func_copysignl
=no
18717 rm -f core conftest.err conftest.
$ac_objext \
18718 conftest
$ac_exeext conftest.
$ac_ext
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18721 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18722 if test $gcc_cv_math_func_copysignl = yes; then
18724 cat >>confdefs.h
<<_ACEOF
18725 #define HAVE_COPYSIGNL 1
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18734 $as_echo_n "checking for cosf... " >&6; }
18735 if ${gcc_cv_math_func_cosf+:} false
; then :
18736 $as_echo_n "(cached) " >&6
18738 if test x
$gcc_no_link = xyes
; then
18739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18744 #ifdef HAVE_COMPLEX_H
18745 #include <complex.h>
18751 int (*ptr)() = (int (*)())cosf;
18760 if ac_fn_c_try_link
"$LINENO"; then :
18761 gcc_cv_math_func_cosf
=yes
18763 gcc_cv_math_func_cosf
=no
18765 rm -f core conftest.err conftest.
$ac_objext \
18766 conftest
$ac_exeext conftest.
$ac_ext
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18769 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18770 if test $gcc_cv_math_func_cosf = yes; then
18772 cat >>confdefs.h
<<_ACEOF
18773 #define HAVE_COSF 1
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18782 $as_echo_n "checking for cos... " >&6; }
18783 if ${gcc_cv_math_func_cos+:} false
; then :
18784 $as_echo_n "(cached) " >&6
18786 if test x
$gcc_no_link = xyes
; then
18787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18792 #ifdef HAVE_COMPLEX_H
18793 #include <complex.h>
18799 int (*ptr)() = (int (*)())cos;
18808 if ac_fn_c_try_link
"$LINENO"; then :
18809 gcc_cv_math_func_cos
=yes
18811 gcc_cv_math_func_cos
=no
18813 rm -f core conftest.err conftest.
$ac_objext \
18814 conftest
$ac_exeext conftest.
$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18817 $as_echo "$gcc_cv_math_func_cos" >&6; }
18818 if test $gcc_cv_math_func_cos = yes; then
18820 cat >>confdefs.h
<<_ACEOF
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18830 $as_echo_n "checking for cosl... " >&6; }
18831 if ${gcc_cv_math_func_cosl+:} false
; then :
18832 $as_echo_n "(cached) " >&6
18834 if test x
$gcc_no_link = xyes
; then
18835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18840 #ifdef HAVE_COMPLEX_H
18841 #include <complex.h>
18847 int (*ptr)() = (int (*)())cosl;
18856 if ac_fn_c_try_link
"$LINENO"; then :
18857 gcc_cv_math_func_cosl
=yes
18859 gcc_cv_math_func_cosl
=no
18861 rm -f core conftest.err conftest.
$ac_objext \
18862 conftest
$ac_exeext conftest.
$ac_ext
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18865 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18866 if test $gcc_cv_math_func_cosl = yes; then
18868 cat >>confdefs.h
<<_ACEOF
18869 #define HAVE_COSL 1
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18878 $as_echo_n "checking for ccosf... " >&6; }
18879 if ${gcc_cv_math_func_ccosf+:} false
; then :
18880 $as_echo_n "(cached) " >&6
18882 if test x
$gcc_no_link = xyes
; then
18883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18888 #ifdef HAVE_COMPLEX_H
18889 #include <complex.h>
18895 int (*ptr)() = (int (*)())ccosf;
18904 if ac_fn_c_try_link
"$LINENO"; then :
18905 gcc_cv_math_func_ccosf
=yes
18907 gcc_cv_math_func_ccosf
=no
18909 rm -f core conftest.err conftest.
$ac_objext \
18910 conftest
$ac_exeext conftest.
$ac_ext
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18913 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18914 if test $gcc_cv_math_func_ccosf = yes; then
18916 cat >>confdefs.h
<<_ACEOF
18917 #define HAVE_CCOSF 1
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18926 $as_echo_n "checking for ccos... " >&6; }
18927 if ${gcc_cv_math_func_ccos+:} false
; then :
18928 $as_echo_n "(cached) " >&6
18930 if test x
$gcc_no_link = xyes
; then
18931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18936 #ifdef HAVE_COMPLEX_H
18937 #include <complex.h>
18943 int (*ptr)() = (int (*)())ccos;
18952 if ac_fn_c_try_link
"$LINENO"; then :
18953 gcc_cv_math_func_ccos
=yes
18955 gcc_cv_math_func_ccos
=no
18957 rm -f core conftest.err conftest.
$ac_objext \
18958 conftest
$ac_exeext conftest.
$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18961 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18962 if test $gcc_cv_math_func_ccos = yes; then
18964 cat >>confdefs.h
<<_ACEOF
18965 #define HAVE_CCOS 1
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18974 $as_echo_n "checking for ccosl... " >&6; }
18975 if ${gcc_cv_math_func_ccosl+:} false
; then :
18976 $as_echo_n "(cached) " >&6
18978 if test x
$gcc_no_link = xyes
; then
18979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18984 #ifdef HAVE_COMPLEX_H
18985 #include <complex.h>
18991 int (*ptr)() = (int (*)())ccosl;
19000 if ac_fn_c_try_link
"$LINENO"; then :
19001 gcc_cv_math_func_ccosl
=yes
19003 gcc_cv_math_func_ccosl
=no
19005 rm -f core conftest.err conftest.
$ac_objext \
19006 conftest
$ac_exeext conftest.
$ac_ext
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19009 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19010 if test $gcc_cv_math_func_ccosl = yes; then
19012 cat >>confdefs.h
<<_ACEOF
19013 #define HAVE_CCOSL 1
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19022 $as_echo_n "checking for coshf... " >&6; }
19023 if ${gcc_cv_math_func_coshf+:} false
; then :
19024 $as_echo_n "(cached) " >&6
19026 if test x
$gcc_no_link = xyes
; then
19027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19032 #ifdef HAVE_COMPLEX_H
19033 #include <complex.h>
19039 int (*ptr)() = (int (*)())coshf;
19048 if ac_fn_c_try_link
"$LINENO"; then :
19049 gcc_cv_math_func_coshf
=yes
19051 gcc_cv_math_func_coshf
=no
19053 rm -f core conftest.err conftest.
$ac_objext \
19054 conftest
$ac_exeext conftest.
$ac_ext
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19057 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19058 if test $gcc_cv_math_func_coshf = yes; then
19060 cat >>confdefs.h
<<_ACEOF
19061 #define HAVE_COSHF 1
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19070 $as_echo_n "checking for cosh... " >&6; }
19071 if ${gcc_cv_math_func_cosh+:} false
; then :
19072 $as_echo_n "(cached) " >&6
19074 if test x
$gcc_no_link = xyes
; then
19075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19080 #ifdef HAVE_COMPLEX_H
19081 #include <complex.h>
19087 int (*ptr)() = (int (*)())cosh;
19096 if ac_fn_c_try_link
"$LINENO"; then :
19097 gcc_cv_math_func_cosh
=yes
19099 gcc_cv_math_func_cosh
=no
19101 rm -f core conftest.err conftest.
$ac_objext \
19102 conftest
$ac_exeext conftest.
$ac_ext
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19105 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19106 if test $gcc_cv_math_func_cosh = yes; then
19108 cat >>confdefs.h
<<_ACEOF
19109 #define HAVE_COSH 1
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19118 $as_echo_n "checking for coshl... " >&6; }
19119 if ${gcc_cv_math_func_coshl+:} false
; then :
19120 $as_echo_n "(cached) " >&6
19122 if test x
$gcc_no_link = xyes
; then
19123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h. */
19128 #ifdef HAVE_COMPLEX_H
19129 #include <complex.h>
19135 int (*ptr)() = (int (*)())coshl;
19144 if ac_fn_c_try_link
"$LINENO"; then :
19145 gcc_cv_math_func_coshl
=yes
19147 gcc_cv_math_func_coshl
=no
19149 rm -f core conftest.err conftest.
$ac_objext \
19150 conftest
$ac_exeext conftest.
$ac_ext
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19153 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19154 if test $gcc_cv_math_func_coshl = yes; then
19156 cat >>confdefs.h
<<_ACEOF
19157 #define HAVE_COSHL 1
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19166 $as_echo_n "checking for ccoshf... " >&6; }
19167 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19168 $as_echo_n "(cached) " >&6
19170 if test x
$gcc_no_link = xyes
; then
19171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19176 #ifdef HAVE_COMPLEX_H
19177 #include <complex.h>
19183 int (*ptr)() = (int (*)())ccoshf;
19192 if ac_fn_c_try_link
"$LINENO"; then :
19193 gcc_cv_math_func_ccoshf
=yes
19195 gcc_cv_math_func_ccoshf
=no
19197 rm -f core conftest.err conftest.
$ac_objext \
19198 conftest
$ac_exeext conftest.
$ac_ext
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19201 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19202 if test $gcc_cv_math_func_ccoshf = yes; then
19204 cat >>confdefs.h
<<_ACEOF
19205 #define HAVE_CCOSHF 1
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19214 $as_echo_n "checking for ccosh... " >&6; }
19215 if ${gcc_cv_math_func_ccosh+:} false
; then :
19216 $as_echo_n "(cached) " >&6
19218 if test x
$gcc_no_link = xyes
; then
19219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19224 #ifdef HAVE_COMPLEX_H
19225 #include <complex.h>
19231 int (*ptr)() = (int (*)())ccosh;
19240 if ac_fn_c_try_link
"$LINENO"; then :
19241 gcc_cv_math_func_ccosh
=yes
19243 gcc_cv_math_func_ccosh
=no
19245 rm -f core conftest.err conftest.
$ac_objext \
19246 conftest
$ac_exeext conftest.
$ac_ext
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19249 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19250 if test $gcc_cv_math_func_ccosh = yes; then
19252 cat >>confdefs.h
<<_ACEOF
19253 #define HAVE_CCOSH 1
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19262 $as_echo_n "checking for ccoshl... " >&6; }
19263 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19264 $as_echo_n "(cached) " >&6
19266 if test x
$gcc_no_link = xyes
; then
19267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19272 #ifdef HAVE_COMPLEX_H
19273 #include <complex.h>
19279 int (*ptr)() = (int (*)())ccoshl;
19288 if ac_fn_c_try_link
"$LINENO"; then :
19289 gcc_cv_math_func_ccoshl
=yes
19291 gcc_cv_math_func_ccoshl
=no
19293 rm -f core conftest.err conftest.
$ac_objext \
19294 conftest
$ac_exeext conftest.
$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19297 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19298 if test $gcc_cv_math_func_ccoshl = yes; then
19300 cat >>confdefs.h
<<_ACEOF
19301 #define HAVE_CCOSHL 1
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19310 $as_echo_n "checking for expf... " >&6; }
19311 if ${gcc_cv_math_func_expf+:} false
; then :
19312 $as_echo_n "(cached) " >&6
19314 if test x
$gcc_no_link = xyes
; then
19315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19320 #ifdef HAVE_COMPLEX_H
19321 #include <complex.h>
19327 int (*ptr)() = (int (*)())expf;
19336 if ac_fn_c_try_link
"$LINENO"; then :
19337 gcc_cv_math_func_expf
=yes
19339 gcc_cv_math_func_expf
=no
19341 rm -f core conftest.err conftest.
$ac_objext \
19342 conftest
$ac_exeext conftest.
$ac_ext
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19345 $as_echo "$gcc_cv_math_func_expf" >&6; }
19346 if test $gcc_cv_math_func_expf = yes; then
19348 cat >>confdefs.h
<<_ACEOF
19349 #define HAVE_EXPF 1
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19358 $as_echo_n "checking for exp... " >&6; }
19359 if ${gcc_cv_math_func_exp+:} false
; then :
19360 $as_echo_n "(cached) " >&6
19362 if test x
$gcc_no_link = xyes
; then
19363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19368 #ifdef HAVE_COMPLEX_H
19369 #include <complex.h>
19375 int (*ptr)() = (int (*)())exp;
19384 if ac_fn_c_try_link
"$LINENO"; then :
19385 gcc_cv_math_func_exp
=yes
19387 gcc_cv_math_func_exp
=no
19389 rm -f core conftest.err conftest.
$ac_objext \
19390 conftest
$ac_exeext conftest.
$ac_ext
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19393 $as_echo "$gcc_cv_math_func_exp" >&6; }
19394 if test $gcc_cv_math_func_exp = yes; then
19396 cat >>confdefs.h
<<_ACEOF
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19406 $as_echo_n "checking for expl... " >&6; }
19407 if ${gcc_cv_math_func_expl+:} false
; then :
19408 $as_echo_n "(cached) " >&6
19410 if test x
$gcc_no_link = xyes
; then
19411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19416 #ifdef HAVE_COMPLEX_H
19417 #include <complex.h>
19423 int (*ptr)() = (int (*)())expl;
19432 if ac_fn_c_try_link
"$LINENO"; then :
19433 gcc_cv_math_func_expl
=yes
19435 gcc_cv_math_func_expl
=no
19437 rm -f core conftest.err conftest.
$ac_objext \
19438 conftest
$ac_exeext conftest.
$ac_ext
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19441 $as_echo "$gcc_cv_math_func_expl" >&6; }
19442 if test $gcc_cv_math_func_expl = yes; then
19444 cat >>confdefs.h
<<_ACEOF
19445 #define HAVE_EXPL 1
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19454 $as_echo_n "checking for cexpf... " >&6; }
19455 if ${gcc_cv_math_func_cexpf+:} false
; then :
19456 $as_echo_n "(cached) " >&6
19458 if test x
$gcc_no_link = xyes
; then
19459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19464 #ifdef HAVE_COMPLEX_H
19465 #include <complex.h>
19471 int (*ptr)() = (int (*)())cexpf;
19480 if ac_fn_c_try_link
"$LINENO"; then :
19481 gcc_cv_math_func_cexpf
=yes
19483 gcc_cv_math_func_cexpf
=no
19485 rm -f core conftest.err conftest.
$ac_objext \
19486 conftest
$ac_exeext conftest.
$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19489 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19490 if test $gcc_cv_math_func_cexpf = yes; then
19492 cat >>confdefs.h
<<_ACEOF
19493 #define HAVE_CEXPF 1
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19502 $as_echo_n "checking for cexp... " >&6; }
19503 if ${gcc_cv_math_func_cexp+:} false
; then :
19504 $as_echo_n "(cached) " >&6
19506 if test x
$gcc_no_link = xyes
; then
19507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 #ifdef HAVE_COMPLEX_H
19513 #include <complex.h>
19519 int (*ptr)() = (int (*)())cexp;
19528 if ac_fn_c_try_link
"$LINENO"; then :
19529 gcc_cv_math_func_cexp
=yes
19531 gcc_cv_math_func_cexp
=no
19533 rm -f core conftest.err conftest.
$ac_objext \
19534 conftest
$ac_exeext conftest.
$ac_ext
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19537 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19538 if test $gcc_cv_math_func_cexp = yes; then
19540 cat >>confdefs.h
<<_ACEOF
19541 #define HAVE_CEXP 1
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19550 $as_echo_n "checking for cexpl... " >&6; }
19551 if ${gcc_cv_math_func_cexpl+:} false
; then :
19552 $as_echo_n "(cached) " >&6
19554 if test x
$gcc_no_link = xyes
; then
19555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19560 #ifdef HAVE_COMPLEX_H
19561 #include <complex.h>
19567 int (*ptr)() = (int (*)())cexpl;
19576 if ac_fn_c_try_link
"$LINENO"; then :
19577 gcc_cv_math_func_cexpl
=yes
19579 gcc_cv_math_func_cexpl
=no
19581 rm -f core conftest.err conftest.
$ac_objext \
19582 conftest
$ac_exeext conftest.
$ac_ext
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19585 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19586 if test $gcc_cv_math_func_cexpl = yes; then
19588 cat >>confdefs.h
<<_ACEOF
19589 #define HAVE_CEXPL 1
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19598 $as_echo_n "checking for fabsf... " >&6; }
19599 if ${gcc_cv_math_func_fabsf+:} false
; then :
19600 $as_echo_n "(cached) " >&6
19602 if test x
$gcc_no_link = xyes
; then
19603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19608 #ifdef HAVE_COMPLEX_H
19609 #include <complex.h>
19615 int (*ptr)() = (int (*)())fabsf;
19624 if ac_fn_c_try_link
"$LINENO"; then :
19625 gcc_cv_math_func_fabsf
=yes
19627 gcc_cv_math_func_fabsf
=no
19629 rm -f core conftest.err conftest.
$ac_objext \
19630 conftest
$ac_exeext conftest.
$ac_ext
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19633 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19634 if test $gcc_cv_math_func_fabsf = yes; then
19636 cat >>confdefs.h
<<_ACEOF
19637 #define HAVE_FABSF 1
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19646 $as_echo_n "checking for fabs... " >&6; }
19647 if ${gcc_cv_math_func_fabs+:} false
; then :
19648 $as_echo_n "(cached) " >&6
19650 if test x
$gcc_no_link = xyes
; then
19651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19656 #ifdef HAVE_COMPLEX_H
19657 #include <complex.h>
19663 int (*ptr)() = (int (*)())fabs;
19672 if ac_fn_c_try_link
"$LINENO"; then :
19673 gcc_cv_math_func_fabs
=yes
19675 gcc_cv_math_func_fabs
=no
19677 rm -f core conftest.err conftest.
$ac_objext \
19678 conftest
$ac_exeext conftest.
$ac_ext
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19681 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19682 if test $gcc_cv_math_func_fabs = yes; then
19684 cat >>confdefs.h
<<_ACEOF
19685 #define HAVE_FABS 1
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19694 $as_echo_n "checking for fabsl... " >&6; }
19695 if ${gcc_cv_math_func_fabsl+:} false
; then :
19696 $as_echo_n "(cached) " >&6
19698 if test x
$gcc_no_link = xyes
; then
19699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19704 #ifdef HAVE_COMPLEX_H
19705 #include <complex.h>
19711 int (*ptr)() = (int (*)())fabsl;
19720 if ac_fn_c_try_link
"$LINENO"; then :
19721 gcc_cv_math_func_fabsl
=yes
19723 gcc_cv_math_func_fabsl
=no
19725 rm -f core conftest.err conftest.
$ac_objext \
19726 conftest
$ac_exeext conftest.
$ac_ext
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19729 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19730 if test $gcc_cv_math_func_fabsl = yes; then
19732 cat >>confdefs.h
<<_ACEOF
19733 #define HAVE_FABSL 1
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19742 $as_echo_n "checking for cabsf... " >&6; }
19743 if ${gcc_cv_math_func_cabsf+:} false
; then :
19744 $as_echo_n "(cached) " >&6
19746 if test x
$gcc_no_link = xyes
; then
19747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19752 #ifdef HAVE_COMPLEX_H
19753 #include <complex.h>
19759 int (*ptr)() = (int (*)())cabsf;
19768 if ac_fn_c_try_link
"$LINENO"; then :
19769 gcc_cv_math_func_cabsf
=yes
19771 gcc_cv_math_func_cabsf
=no
19773 rm -f core conftest.err conftest.
$ac_objext \
19774 conftest
$ac_exeext conftest.
$ac_ext
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19777 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19778 if test $gcc_cv_math_func_cabsf = yes; then
19780 cat >>confdefs.h
<<_ACEOF
19781 #define HAVE_CABSF 1
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19790 $as_echo_n "checking for cabs... " >&6; }
19791 if ${gcc_cv_math_func_cabs+:} false
; then :
19792 $as_echo_n "(cached) " >&6
19794 if test x
$gcc_no_link = xyes
; then
19795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19800 #ifdef HAVE_COMPLEX_H
19801 #include <complex.h>
19807 int (*ptr)() = (int (*)())cabs;
19816 if ac_fn_c_try_link
"$LINENO"; then :
19817 gcc_cv_math_func_cabs
=yes
19819 gcc_cv_math_func_cabs
=no
19821 rm -f core conftest.err conftest.
$ac_objext \
19822 conftest
$ac_exeext conftest.
$ac_ext
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19825 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19826 if test $gcc_cv_math_func_cabs = yes; then
19828 cat >>confdefs.h
<<_ACEOF
19829 #define HAVE_CABS 1
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19838 $as_echo_n "checking for cabsl... " >&6; }
19839 if ${gcc_cv_math_func_cabsl+:} false
; then :
19840 $as_echo_n "(cached) " >&6
19842 if test x
$gcc_no_link = xyes
; then
19843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19848 #ifdef HAVE_COMPLEX_H
19849 #include <complex.h>
19855 int (*ptr)() = (int (*)())cabsl;
19864 if ac_fn_c_try_link
"$LINENO"; then :
19865 gcc_cv_math_func_cabsl
=yes
19867 gcc_cv_math_func_cabsl
=no
19869 rm -f core conftest.err conftest.
$ac_objext \
19870 conftest
$ac_exeext conftest.
$ac_ext
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19873 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19874 if test $gcc_cv_math_func_cabsl = yes; then
19876 cat >>confdefs.h
<<_ACEOF
19877 #define HAVE_CABSL 1
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19886 $as_echo_n "checking for floorf... " >&6; }
19887 if ${gcc_cv_math_func_floorf+:} false
; then :
19888 $as_echo_n "(cached) " >&6
19890 if test x
$gcc_no_link = xyes
; then
19891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 #ifdef HAVE_COMPLEX_H
19897 #include <complex.h>
19903 int (*ptr)() = (int (*)())floorf;
19912 if ac_fn_c_try_link
"$LINENO"; then :
19913 gcc_cv_math_func_floorf
=yes
19915 gcc_cv_math_func_floorf
=no
19917 rm -f core conftest.err conftest.
$ac_objext \
19918 conftest
$ac_exeext conftest.
$ac_ext
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19921 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19922 if test $gcc_cv_math_func_floorf = yes; then
19924 cat >>confdefs.h
<<_ACEOF
19925 #define HAVE_FLOORF 1
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19934 $as_echo_n "checking for floor... " >&6; }
19935 if ${gcc_cv_math_func_floor+:} false
; then :
19936 $as_echo_n "(cached) " >&6
19938 if test x
$gcc_no_link = xyes
; then
19939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19944 #ifdef HAVE_COMPLEX_H
19945 #include <complex.h>
19951 int (*ptr)() = (int (*)())floor;
19960 if ac_fn_c_try_link
"$LINENO"; then :
19961 gcc_cv_math_func_floor
=yes
19963 gcc_cv_math_func_floor
=no
19965 rm -f core conftest.err conftest.
$ac_objext \
19966 conftest
$ac_exeext conftest.
$ac_ext
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19969 $as_echo "$gcc_cv_math_func_floor" >&6; }
19970 if test $gcc_cv_math_func_floor = yes; then
19972 cat >>confdefs.h
<<_ACEOF
19973 #define HAVE_FLOOR 1
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19982 $as_echo_n "checking for floorl... " >&6; }
19983 if ${gcc_cv_math_func_floorl+:} false
; then :
19984 $as_echo_n "(cached) " >&6
19986 if test x
$gcc_no_link = xyes
; then
19987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19992 #ifdef HAVE_COMPLEX_H
19993 #include <complex.h>
19999 int (*ptr)() = (int (*)())floorl;
20008 if ac_fn_c_try_link
"$LINENO"; then :
20009 gcc_cv_math_func_floorl
=yes
20011 gcc_cv_math_func_floorl
=no
20013 rm -f core conftest.err conftest.
$ac_objext \
20014 conftest
$ac_exeext conftest.
$ac_ext
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20017 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20018 if test $gcc_cv_math_func_floorl = yes; then
20020 cat >>confdefs.h
<<_ACEOF
20021 #define HAVE_FLOORL 1
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20030 $as_echo_n "checking for fmaf... " >&6; }
20031 if ${gcc_cv_math_func_fmaf+:} false
; then :
20032 $as_echo_n "(cached) " >&6
20034 if test x
$gcc_no_link = xyes
; then
20035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20040 #ifdef HAVE_COMPLEX_H
20041 #include <complex.h>
20047 int (*ptr)() = (int (*)())fmaf;
20056 if ac_fn_c_try_link
"$LINENO"; then :
20057 gcc_cv_math_func_fmaf
=yes
20059 gcc_cv_math_func_fmaf
=no
20061 rm -f core conftest.err conftest.
$ac_objext \
20062 conftest
$ac_exeext conftest.
$ac_ext
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20065 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20066 if test $gcc_cv_math_func_fmaf = yes; then
20068 cat >>confdefs.h
<<_ACEOF
20069 #define HAVE_FMAF 1
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20078 $as_echo_n "checking for fma... " >&6; }
20079 if ${gcc_cv_math_func_fma+:} false
; then :
20080 $as_echo_n "(cached) " >&6
20082 if test x
$gcc_no_link = xyes
; then
20083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20088 #ifdef HAVE_COMPLEX_H
20089 #include <complex.h>
20095 int (*ptr)() = (int (*)())fma;
20104 if ac_fn_c_try_link
"$LINENO"; then :
20105 gcc_cv_math_func_fma
=yes
20107 gcc_cv_math_func_fma
=no
20109 rm -f core conftest.err conftest.
$ac_objext \
20110 conftest
$ac_exeext conftest.
$ac_ext
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20113 $as_echo "$gcc_cv_math_func_fma" >&6; }
20114 if test $gcc_cv_math_func_fma = yes; then
20116 cat >>confdefs.h
<<_ACEOF
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20126 $as_echo_n "checking for fmal... " >&6; }
20127 if ${gcc_cv_math_func_fmal+:} false
; then :
20128 $as_echo_n "(cached) " >&6
20130 if test x
$gcc_no_link = xyes
; then
20131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20136 #ifdef HAVE_COMPLEX_H
20137 #include <complex.h>
20143 int (*ptr)() = (int (*)())fmal;
20152 if ac_fn_c_try_link
"$LINENO"; then :
20153 gcc_cv_math_func_fmal
=yes
20155 gcc_cv_math_func_fmal
=no
20157 rm -f core conftest.err conftest.
$ac_objext \
20158 conftest
$ac_exeext conftest.
$ac_ext
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20161 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20162 if test $gcc_cv_math_func_fmal = yes; then
20164 cat >>confdefs.h
<<_ACEOF
20165 #define HAVE_FMAL 1
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20174 $as_echo_n "checking for fmodf... " >&6; }
20175 if ${gcc_cv_math_func_fmodf+:} false
; then :
20176 $as_echo_n "(cached) " >&6
20178 if test x
$gcc_no_link = xyes
; then
20179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20184 #ifdef HAVE_COMPLEX_H
20185 #include <complex.h>
20191 int (*ptr)() = (int (*)())fmodf;
20200 if ac_fn_c_try_link
"$LINENO"; then :
20201 gcc_cv_math_func_fmodf
=yes
20203 gcc_cv_math_func_fmodf
=no
20205 rm -f core conftest.err conftest.
$ac_objext \
20206 conftest
$ac_exeext conftest.
$ac_ext
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20209 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20210 if test $gcc_cv_math_func_fmodf = yes; then
20212 cat >>confdefs.h
<<_ACEOF
20213 #define HAVE_FMODF 1
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20222 $as_echo_n "checking for fmod... " >&6; }
20223 if ${gcc_cv_math_func_fmod+:} false
; then :
20224 $as_echo_n "(cached) " >&6
20226 if test x
$gcc_no_link = xyes
; then
20227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20230 /* end confdefs.h. */
20232 #ifdef HAVE_COMPLEX_H
20233 #include <complex.h>
20239 int (*ptr)() = (int (*)())fmod;
20248 if ac_fn_c_try_link
"$LINENO"; then :
20249 gcc_cv_math_func_fmod
=yes
20251 gcc_cv_math_func_fmod
=no
20253 rm -f core conftest.err conftest.
$ac_objext \
20254 conftest
$ac_exeext conftest.
$ac_ext
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20257 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20258 if test $gcc_cv_math_func_fmod = yes; then
20260 cat >>confdefs.h
<<_ACEOF
20261 #define HAVE_FMOD 1
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20270 $as_echo_n "checking for fmodl... " >&6; }
20271 if ${gcc_cv_math_func_fmodl+:} false
; then :
20272 $as_echo_n "(cached) " >&6
20274 if test x
$gcc_no_link = xyes
; then
20275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20278 /* end confdefs.h. */
20280 #ifdef HAVE_COMPLEX_H
20281 #include <complex.h>
20287 int (*ptr)() = (int (*)())fmodl;
20296 if ac_fn_c_try_link
"$LINENO"; then :
20297 gcc_cv_math_func_fmodl
=yes
20299 gcc_cv_math_func_fmodl
=no
20301 rm -f core conftest.err conftest.
$ac_objext \
20302 conftest
$ac_exeext conftest.
$ac_ext
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20305 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20306 if test $gcc_cv_math_func_fmodl = yes; then
20308 cat >>confdefs.h
<<_ACEOF
20309 #define HAVE_FMODL 1
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20318 $as_echo_n "checking for frexpf... " >&6; }
20319 if ${gcc_cv_math_func_frexpf+:} false
; then :
20320 $as_echo_n "(cached) " >&6
20322 if test x
$gcc_no_link = xyes
; then
20323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20326 /* end confdefs.h. */
20328 #ifdef HAVE_COMPLEX_H
20329 #include <complex.h>
20335 int (*ptr)() = (int (*)())frexpf;
20344 if ac_fn_c_try_link
"$LINENO"; then :
20345 gcc_cv_math_func_frexpf
=yes
20347 gcc_cv_math_func_frexpf
=no
20349 rm -f core conftest.err conftest.
$ac_objext \
20350 conftest
$ac_exeext conftest.
$ac_ext
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20353 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20354 if test $gcc_cv_math_func_frexpf = yes; then
20356 cat >>confdefs.h
<<_ACEOF
20357 #define HAVE_FREXPF 1
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20366 $as_echo_n "checking for frexp... " >&6; }
20367 if ${gcc_cv_math_func_frexp+:} false
; then :
20368 $as_echo_n "(cached) " >&6
20370 if test x
$gcc_no_link = xyes
; then
20371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20374 /* end confdefs.h. */
20376 #ifdef HAVE_COMPLEX_H
20377 #include <complex.h>
20383 int (*ptr)() = (int (*)())frexp;
20392 if ac_fn_c_try_link
"$LINENO"; then :
20393 gcc_cv_math_func_frexp
=yes
20395 gcc_cv_math_func_frexp
=no
20397 rm -f core conftest.err conftest.
$ac_objext \
20398 conftest
$ac_exeext conftest.
$ac_ext
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20401 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20402 if test $gcc_cv_math_func_frexp = yes; then
20404 cat >>confdefs.h
<<_ACEOF
20405 #define HAVE_FREXP 1
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20414 $as_echo_n "checking for frexpl... " >&6; }
20415 if ${gcc_cv_math_func_frexpl+:} false
; then :
20416 $as_echo_n "(cached) " >&6
20418 if test x
$gcc_no_link = xyes
; then
20419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20422 /* end confdefs.h. */
20424 #ifdef HAVE_COMPLEX_H
20425 #include <complex.h>
20431 int (*ptr)() = (int (*)())frexpl;
20440 if ac_fn_c_try_link
"$LINENO"; then :
20441 gcc_cv_math_func_frexpl
=yes
20443 gcc_cv_math_func_frexpl
=no
20445 rm -f core conftest.err conftest.
$ac_objext \
20446 conftest
$ac_exeext conftest.
$ac_ext
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20449 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20450 if test $gcc_cv_math_func_frexpl = yes; then
20452 cat >>confdefs.h
<<_ACEOF
20453 #define HAVE_FREXPL 1
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20462 $as_echo_n "checking for hypotf... " >&6; }
20463 if ${gcc_cv_math_func_hypotf+:} false
; then :
20464 $as_echo_n "(cached) " >&6
20466 if test x
$gcc_no_link = xyes
; then
20467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20472 #ifdef HAVE_COMPLEX_H
20473 #include <complex.h>
20479 int (*ptr)() = (int (*)())hypotf;
20488 if ac_fn_c_try_link
"$LINENO"; then :
20489 gcc_cv_math_func_hypotf
=yes
20491 gcc_cv_math_func_hypotf
=no
20493 rm -f core conftest.err conftest.
$ac_objext \
20494 conftest
$ac_exeext conftest.
$ac_ext
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20497 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20498 if test $gcc_cv_math_func_hypotf = yes; then
20500 cat >>confdefs.h
<<_ACEOF
20501 #define HAVE_HYPOTF 1
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20510 $as_echo_n "checking for hypot... " >&6; }
20511 if ${gcc_cv_math_func_hypot+:} false
; then :
20512 $as_echo_n "(cached) " >&6
20514 if test x
$gcc_no_link = xyes
; then
20515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20518 /* end confdefs.h. */
20520 #ifdef HAVE_COMPLEX_H
20521 #include <complex.h>
20527 int (*ptr)() = (int (*)())hypot;
20536 if ac_fn_c_try_link
"$LINENO"; then :
20537 gcc_cv_math_func_hypot
=yes
20539 gcc_cv_math_func_hypot
=no
20541 rm -f core conftest.err conftest.
$ac_objext \
20542 conftest
$ac_exeext conftest.
$ac_ext
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20545 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20546 if test $gcc_cv_math_func_hypot = yes; then
20548 cat >>confdefs.h
<<_ACEOF
20549 #define HAVE_HYPOT 1
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20558 $as_echo_n "checking for hypotl... " >&6; }
20559 if ${gcc_cv_math_func_hypotl+:} false
; then :
20560 $as_echo_n "(cached) " >&6
20562 if test x
$gcc_no_link = xyes
; then
20563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20568 #ifdef HAVE_COMPLEX_H
20569 #include <complex.h>
20575 int (*ptr)() = (int (*)())hypotl;
20584 if ac_fn_c_try_link
"$LINENO"; then :
20585 gcc_cv_math_func_hypotl
=yes
20587 gcc_cv_math_func_hypotl
=no
20589 rm -f core conftest.err conftest.
$ac_objext \
20590 conftest
$ac_exeext conftest.
$ac_ext
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20593 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20594 if test $gcc_cv_math_func_hypotl = yes; then
20596 cat >>confdefs.h
<<_ACEOF
20597 #define HAVE_HYPOTL 1
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20606 $as_echo_n "checking for ldexpf... " >&6; }
20607 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20608 $as_echo_n "(cached) " >&6
20610 if test x
$gcc_no_link = xyes
; then
20611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20616 #ifdef HAVE_COMPLEX_H
20617 #include <complex.h>
20623 int (*ptr)() = (int (*)())ldexpf;
20632 if ac_fn_c_try_link
"$LINENO"; then :
20633 gcc_cv_math_func_ldexpf
=yes
20635 gcc_cv_math_func_ldexpf
=no
20637 rm -f core conftest.err conftest.
$ac_objext \
20638 conftest
$ac_exeext conftest.
$ac_ext
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20641 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20642 if test $gcc_cv_math_func_ldexpf = yes; then
20644 cat >>confdefs.h
<<_ACEOF
20645 #define HAVE_LDEXPF 1
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20654 $as_echo_n "checking for ldexp... " >&6; }
20655 if ${gcc_cv_math_func_ldexp+:} false
; then :
20656 $as_echo_n "(cached) " >&6
20658 if test x
$gcc_no_link = xyes
; then
20659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20664 #ifdef HAVE_COMPLEX_H
20665 #include <complex.h>
20671 int (*ptr)() = (int (*)())ldexp;
20680 if ac_fn_c_try_link
"$LINENO"; then :
20681 gcc_cv_math_func_ldexp
=yes
20683 gcc_cv_math_func_ldexp
=no
20685 rm -f core conftest.err conftest.
$ac_objext \
20686 conftest
$ac_exeext conftest.
$ac_ext
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20689 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20690 if test $gcc_cv_math_func_ldexp = yes; then
20692 cat >>confdefs.h
<<_ACEOF
20693 #define HAVE_LDEXP 1
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20702 $as_echo_n "checking for ldexpl... " >&6; }
20703 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20704 $as_echo_n "(cached) " >&6
20706 if test x
$gcc_no_link = xyes
; then
20707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20712 #ifdef HAVE_COMPLEX_H
20713 #include <complex.h>
20719 int (*ptr)() = (int (*)())ldexpl;
20728 if ac_fn_c_try_link
"$LINENO"; then :
20729 gcc_cv_math_func_ldexpl
=yes
20731 gcc_cv_math_func_ldexpl
=no
20733 rm -f core conftest.err conftest.
$ac_objext \
20734 conftest
$ac_exeext conftest.
$ac_ext
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20737 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20738 if test $gcc_cv_math_func_ldexpl = yes; then
20740 cat >>confdefs.h
<<_ACEOF
20741 #define HAVE_LDEXPL 1
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20750 $as_echo_n "checking for logf... " >&6; }
20751 if ${gcc_cv_math_func_logf+:} false
; then :
20752 $as_echo_n "(cached) " >&6
20754 if test x
$gcc_no_link = xyes
; then
20755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20758 /* end confdefs.h. */
20760 #ifdef HAVE_COMPLEX_H
20761 #include <complex.h>
20767 int (*ptr)() = (int (*)())logf;
20776 if ac_fn_c_try_link
"$LINENO"; then :
20777 gcc_cv_math_func_logf
=yes
20779 gcc_cv_math_func_logf
=no
20781 rm -f core conftest.err conftest.
$ac_objext \
20782 conftest
$ac_exeext conftest.
$ac_ext
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20785 $as_echo "$gcc_cv_math_func_logf" >&6; }
20786 if test $gcc_cv_math_func_logf = yes; then
20788 cat >>confdefs.h
<<_ACEOF
20789 #define HAVE_LOGF 1
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20798 $as_echo_n "checking for log... " >&6; }
20799 if ${gcc_cv_math_func_log+:} false
; then :
20800 $as_echo_n "(cached) " >&6
20802 if test x
$gcc_no_link = xyes
; then
20803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 #ifdef HAVE_COMPLEX_H
20809 #include <complex.h>
20815 int (*ptr)() = (int (*)())log;
20824 if ac_fn_c_try_link
"$LINENO"; then :
20825 gcc_cv_math_func_log
=yes
20827 gcc_cv_math_func_log
=no
20829 rm -f core conftest.err conftest.
$ac_objext \
20830 conftest
$ac_exeext conftest.
$ac_ext
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20833 $as_echo "$gcc_cv_math_func_log" >&6; }
20834 if test $gcc_cv_math_func_log = yes; then
20836 cat >>confdefs.h
<<_ACEOF
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20846 $as_echo_n "checking for logl... " >&6; }
20847 if ${gcc_cv_math_func_logl+:} false
; then :
20848 $as_echo_n "(cached) " >&6
20850 if test x
$gcc_no_link = xyes
; then
20851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20856 #ifdef HAVE_COMPLEX_H
20857 #include <complex.h>
20863 int (*ptr)() = (int (*)())logl;
20872 if ac_fn_c_try_link
"$LINENO"; then :
20873 gcc_cv_math_func_logl
=yes
20875 gcc_cv_math_func_logl
=no
20877 rm -f core conftest.err conftest.
$ac_objext \
20878 conftest
$ac_exeext conftest.
$ac_ext
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20881 $as_echo "$gcc_cv_math_func_logl" >&6; }
20882 if test $gcc_cv_math_func_logl = yes; then
20884 cat >>confdefs.h
<<_ACEOF
20885 #define HAVE_LOGL 1
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20894 $as_echo_n "checking for clogf... " >&6; }
20895 if ${gcc_cv_math_func_clogf+:} false
; then :
20896 $as_echo_n "(cached) " >&6
20898 if test x
$gcc_no_link = xyes
; then
20899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20904 #ifdef HAVE_COMPLEX_H
20905 #include <complex.h>
20911 int (*ptr)() = (int (*)())clogf;
20920 if ac_fn_c_try_link
"$LINENO"; then :
20921 gcc_cv_math_func_clogf
=yes
20923 gcc_cv_math_func_clogf
=no
20925 rm -f core conftest.err conftest.
$ac_objext \
20926 conftest
$ac_exeext conftest.
$ac_ext
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20929 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20930 if test $gcc_cv_math_func_clogf = yes; then
20932 cat >>confdefs.h
<<_ACEOF
20933 #define HAVE_CLOGF 1
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20942 $as_echo_n "checking for clog... " >&6; }
20943 if ${gcc_cv_math_func_clog+:} false
; then :
20944 $as_echo_n "(cached) " >&6
20946 if test x
$gcc_no_link = xyes
; then
20947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20952 #ifdef HAVE_COMPLEX_H
20953 #include <complex.h>
20959 int (*ptr)() = (int (*)())clog;
20968 if ac_fn_c_try_link
"$LINENO"; then :
20969 gcc_cv_math_func_clog
=yes
20971 gcc_cv_math_func_clog
=no
20973 rm -f core conftest.err conftest.
$ac_objext \
20974 conftest
$ac_exeext conftest.
$ac_ext
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20977 $as_echo "$gcc_cv_math_func_clog" >&6; }
20978 if test $gcc_cv_math_func_clog = yes; then
20980 cat >>confdefs.h
<<_ACEOF
20981 #define HAVE_CLOG 1
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20990 $as_echo_n "checking for clogl... " >&6; }
20991 if ${gcc_cv_math_func_clogl+:} false
; then :
20992 $as_echo_n "(cached) " >&6
20994 if test x
$gcc_no_link = xyes
; then
20995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
21000 #ifdef HAVE_COMPLEX_H
21001 #include <complex.h>
21007 int (*ptr)() = (int (*)())clogl;
21016 if ac_fn_c_try_link
"$LINENO"; then :
21017 gcc_cv_math_func_clogl
=yes
21019 gcc_cv_math_func_clogl
=no
21021 rm -f core conftest.err conftest.
$ac_objext \
21022 conftest
$ac_exeext conftest.
$ac_ext
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21025 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21026 if test $gcc_cv_math_func_clogl = yes; then
21028 cat >>confdefs.h
<<_ACEOF
21029 #define HAVE_CLOGL 1
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21038 $as_echo_n "checking for log10f... " >&6; }
21039 if ${gcc_cv_math_func_log10f+:} false
; then :
21040 $as_echo_n "(cached) " >&6
21042 if test x
$gcc_no_link = xyes
; then
21043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21048 #ifdef HAVE_COMPLEX_H
21049 #include <complex.h>
21055 int (*ptr)() = (int (*)())log10f;
21064 if ac_fn_c_try_link
"$LINENO"; then :
21065 gcc_cv_math_func_log10f
=yes
21067 gcc_cv_math_func_log10f
=no
21069 rm -f core conftest.err conftest.
$ac_objext \
21070 conftest
$ac_exeext conftest.
$ac_ext
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21073 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21074 if test $gcc_cv_math_func_log10f = yes; then
21076 cat >>confdefs.h
<<_ACEOF
21077 #define HAVE_LOG10F 1
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21086 $as_echo_n "checking for log10... " >&6; }
21087 if ${gcc_cv_math_func_log10+:} false
; then :
21088 $as_echo_n "(cached) " >&6
21090 if test x
$gcc_no_link = xyes
; then
21091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21096 #ifdef HAVE_COMPLEX_H
21097 #include <complex.h>
21103 int (*ptr)() = (int (*)())log10;
21112 if ac_fn_c_try_link
"$LINENO"; then :
21113 gcc_cv_math_func_log10
=yes
21115 gcc_cv_math_func_log10
=no
21117 rm -f core conftest.err conftest.
$ac_objext \
21118 conftest
$ac_exeext conftest.
$ac_ext
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21121 $as_echo "$gcc_cv_math_func_log10" >&6; }
21122 if test $gcc_cv_math_func_log10 = yes; then
21124 cat >>confdefs.h
<<_ACEOF
21125 #define HAVE_LOG10 1
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21134 $as_echo_n "checking for log10l... " >&6; }
21135 if ${gcc_cv_math_func_log10l+:} false
; then :
21136 $as_echo_n "(cached) " >&6
21138 if test x
$gcc_no_link = xyes
; then
21139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h. */
21144 #ifdef HAVE_COMPLEX_H
21145 #include <complex.h>
21151 int (*ptr)() = (int (*)())log10l;
21160 if ac_fn_c_try_link
"$LINENO"; then :
21161 gcc_cv_math_func_log10l
=yes
21163 gcc_cv_math_func_log10l
=no
21165 rm -f core conftest.err conftest.
$ac_objext \
21166 conftest
$ac_exeext conftest.
$ac_ext
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21169 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21170 if test $gcc_cv_math_func_log10l = yes; then
21172 cat >>confdefs.h
<<_ACEOF
21173 #define HAVE_LOG10L 1
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21182 $as_echo_n "checking for clog10f... " >&6; }
21183 if ${gcc_cv_math_func_clog10f+:} false
; then :
21184 $as_echo_n "(cached) " >&6
21186 if test x
$gcc_no_link = xyes
; then
21187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21192 #ifdef HAVE_COMPLEX_H
21193 #include <complex.h>
21199 int (*ptr)() = (int (*)())clog10f;
21208 if ac_fn_c_try_link
"$LINENO"; then :
21209 gcc_cv_math_func_clog10f
=yes
21211 gcc_cv_math_func_clog10f
=no
21213 rm -f core conftest.err conftest.
$ac_objext \
21214 conftest
$ac_exeext conftest.
$ac_ext
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21217 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21218 if test $gcc_cv_math_func_clog10f = yes; then
21220 cat >>confdefs.h
<<_ACEOF
21221 #define HAVE_CLOG10F 1
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21230 $as_echo_n "checking for clog10... " >&6; }
21231 if ${gcc_cv_math_func_clog10+:} false
; then :
21232 $as_echo_n "(cached) " >&6
21234 if test x
$gcc_no_link = xyes
; then
21235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h. */
21240 #ifdef HAVE_COMPLEX_H
21241 #include <complex.h>
21247 int (*ptr)() = (int (*)())clog10;
21256 if ac_fn_c_try_link
"$LINENO"; then :
21257 gcc_cv_math_func_clog10
=yes
21259 gcc_cv_math_func_clog10
=no
21261 rm -f core conftest.err conftest.
$ac_objext \
21262 conftest
$ac_exeext conftest.
$ac_ext
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21265 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21266 if test $gcc_cv_math_func_clog10 = yes; then
21268 cat >>confdefs.h
<<_ACEOF
21269 #define HAVE_CLOG10 1
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21278 $as_echo_n "checking for clog10l... " >&6; }
21279 if ${gcc_cv_math_func_clog10l+:} false
; then :
21280 $as_echo_n "(cached) " >&6
21282 if test x
$gcc_no_link = xyes
; then
21283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21288 #ifdef HAVE_COMPLEX_H
21289 #include <complex.h>
21295 int (*ptr)() = (int (*)())clog10l;
21304 if ac_fn_c_try_link
"$LINENO"; then :
21305 gcc_cv_math_func_clog10l
=yes
21307 gcc_cv_math_func_clog10l
=no
21309 rm -f core conftest.err conftest.
$ac_objext \
21310 conftest
$ac_exeext conftest.
$ac_ext
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21313 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21314 if test $gcc_cv_math_func_clog10l = yes; then
21316 cat >>confdefs.h
<<_ACEOF
21317 #define HAVE_CLOG10L 1
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21326 $as_echo_n "checking for nextafterf... " >&6; }
21327 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21328 $as_echo_n "(cached) " >&6
21330 if test x
$gcc_no_link = xyes
; then
21331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21334 /* end confdefs.h. */
21336 #ifdef HAVE_COMPLEX_H
21337 #include <complex.h>
21343 int (*ptr)() = (int (*)())nextafterf;
21352 if ac_fn_c_try_link
"$LINENO"; then :
21353 gcc_cv_math_func_nextafterf
=yes
21355 gcc_cv_math_func_nextafterf
=no
21357 rm -f core conftest.err conftest.
$ac_objext \
21358 conftest
$ac_exeext conftest.
$ac_ext
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21361 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21362 if test $gcc_cv_math_func_nextafterf = yes; then
21364 cat >>confdefs.h
<<_ACEOF
21365 #define HAVE_NEXTAFTERF 1
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21374 $as_echo_n "checking for nextafter... " >&6; }
21375 if ${gcc_cv_math_func_nextafter+:} false
; then :
21376 $as_echo_n "(cached) " >&6
21378 if test x
$gcc_no_link = xyes
; then
21379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21384 #ifdef HAVE_COMPLEX_H
21385 #include <complex.h>
21391 int (*ptr)() = (int (*)())nextafter;
21400 if ac_fn_c_try_link
"$LINENO"; then :
21401 gcc_cv_math_func_nextafter
=yes
21403 gcc_cv_math_func_nextafter
=no
21405 rm -f core conftest.err conftest.
$ac_objext \
21406 conftest
$ac_exeext conftest.
$ac_ext
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21409 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21410 if test $gcc_cv_math_func_nextafter = yes; then
21412 cat >>confdefs.h
<<_ACEOF
21413 #define HAVE_NEXTAFTER 1
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21422 $as_echo_n "checking for nextafterl... " >&6; }
21423 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21424 $as_echo_n "(cached) " >&6
21426 if test x
$gcc_no_link = xyes
; then
21427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21432 #ifdef HAVE_COMPLEX_H
21433 #include <complex.h>
21439 int (*ptr)() = (int (*)())nextafterl;
21448 if ac_fn_c_try_link
"$LINENO"; then :
21449 gcc_cv_math_func_nextafterl
=yes
21451 gcc_cv_math_func_nextafterl
=no
21453 rm -f core conftest.err conftest.
$ac_objext \
21454 conftest
$ac_exeext conftest.
$ac_ext
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21457 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21458 if test $gcc_cv_math_func_nextafterl = yes; then
21460 cat >>confdefs.h
<<_ACEOF
21461 #define HAVE_NEXTAFTERL 1
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21470 $as_echo_n "checking for powf... " >&6; }
21471 if ${gcc_cv_math_func_powf+:} false
; then :
21472 $as_echo_n "(cached) " >&6
21474 if test x
$gcc_no_link = xyes
; then
21475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21480 #ifdef HAVE_COMPLEX_H
21481 #include <complex.h>
21487 int (*ptr)() = (int (*)())powf;
21496 if ac_fn_c_try_link
"$LINENO"; then :
21497 gcc_cv_math_func_powf
=yes
21499 gcc_cv_math_func_powf
=no
21501 rm -f core conftest.err conftest.
$ac_objext \
21502 conftest
$ac_exeext conftest.
$ac_ext
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21505 $as_echo "$gcc_cv_math_func_powf" >&6; }
21506 if test $gcc_cv_math_func_powf = yes; then
21508 cat >>confdefs.h
<<_ACEOF
21509 #define HAVE_POWF 1
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21518 $as_echo_n "checking for pow... " >&6; }
21519 if ${gcc_cv_math_func_pow+:} false
; then :
21520 $as_echo_n "(cached) " >&6
21522 if test x
$gcc_no_link = xyes
; then
21523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h. */
21528 #ifdef HAVE_COMPLEX_H
21529 #include <complex.h>
21535 int (*ptr)() = (int (*)())pow;
21544 if ac_fn_c_try_link
"$LINENO"; then :
21545 gcc_cv_math_func_pow
=yes
21547 gcc_cv_math_func_pow
=no
21549 rm -f core conftest.err conftest.
$ac_objext \
21550 conftest
$ac_exeext conftest.
$ac_ext
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21553 $as_echo "$gcc_cv_math_func_pow" >&6; }
21554 if test $gcc_cv_math_func_pow = yes; then
21556 cat >>confdefs.h
<<_ACEOF
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21566 $as_echo_n "checking for cpowf... " >&6; }
21567 if ${gcc_cv_math_func_cpowf+:} false
; then :
21568 $as_echo_n "(cached) " >&6
21570 if test x
$gcc_no_link = xyes
; then
21571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21574 /* end confdefs.h. */
21576 #ifdef HAVE_COMPLEX_H
21577 #include <complex.h>
21583 int (*ptr)() = (int (*)())cpowf;
21592 if ac_fn_c_try_link
"$LINENO"; then :
21593 gcc_cv_math_func_cpowf
=yes
21595 gcc_cv_math_func_cpowf
=no
21597 rm -f core conftest.err conftest.
$ac_objext \
21598 conftest
$ac_exeext conftest.
$ac_ext
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21601 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21602 if test $gcc_cv_math_func_cpowf = yes; then
21604 cat >>confdefs.h
<<_ACEOF
21605 #define HAVE_CPOWF 1
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21614 $as_echo_n "checking for cpow... " >&6; }
21615 if ${gcc_cv_math_func_cpow+:} false
; then :
21616 $as_echo_n "(cached) " >&6
21618 if test x
$gcc_no_link = xyes
; then
21619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21624 #ifdef HAVE_COMPLEX_H
21625 #include <complex.h>
21631 int (*ptr)() = (int (*)())cpow;
21640 if ac_fn_c_try_link
"$LINENO"; then :
21641 gcc_cv_math_func_cpow
=yes
21643 gcc_cv_math_func_cpow
=no
21645 rm -f core conftest.err conftest.
$ac_objext \
21646 conftest
$ac_exeext conftest.
$ac_ext
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21649 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21650 if test $gcc_cv_math_func_cpow = yes; then
21652 cat >>confdefs.h
<<_ACEOF
21653 #define HAVE_CPOW 1
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21662 $as_echo_n "checking for cpowl... " >&6; }
21663 if ${gcc_cv_math_func_cpowl+:} false
; then :
21664 $as_echo_n "(cached) " >&6
21666 if test x
$gcc_no_link = xyes
; then
21667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21672 #ifdef HAVE_COMPLEX_H
21673 #include <complex.h>
21679 int (*ptr)() = (int (*)())cpowl;
21688 if ac_fn_c_try_link
"$LINENO"; then :
21689 gcc_cv_math_func_cpowl
=yes
21691 gcc_cv_math_func_cpowl
=no
21693 rm -f core conftest.err conftest.
$ac_objext \
21694 conftest
$ac_exeext conftest.
$ac_ext
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21697 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21698 if test $gcc_cv_math_func_cpowl = yes; then
21700 cat >>confdefs.h
<<_ACEOF
21701 #define HAVE_CPOWL 1
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21710 $as_echo_n "checking for roundf... " >&6; }
21711 if ${gcc_cv_math_func_roundf+:} false
; then :
21712 $as_echo_n "(cached) " >&6
21714 if test x
$gcc_no_link = xyes
; then
21715 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21720 #ifdef HAVE_COMPLEX_H
21721 #include <complex.h>
21727 int (*ptr)() = (int (*)())roundf;
21736 if ac_fn_c_try_link
"$LINENO"; then :
21737 gcc_cv_math_func_roundf
=yes
21739 gcc_cv_math_func_roundf
=no
21741 rm -f core conftest.err conftest.
$ac_objext \
21742 conftest
$ac_exeext conftest.
$ac_ext
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21745 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21746 if test $gcc_cv_math_func_roundf = yes; then
21748 cat >>confdefs.h
<<_ACEOF
21749 #define HAVE_ROUNDF 1
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21758 $as_echo_n "checking for round... " >&6; }
21759 if ${gcc_cv_math_func_round+:} false
; then :
21760 $as_echo_n "(cached) " >&6
21762 if test x
$gcc_no_link = xyes
; then
21763 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21768 #ifdef HAVE_COMPLEX_H
21769 #include <complex.h>
21775 int (*ptr)() = (int (*)())round;
21784 if ac_fn_c_try_link
"$LINENO"; then :
21785 gcc_cv_math_func_round
=yes
21787 gcc_cv_math_func_round
=no
21789 rm -f core conftest.err conftest.
$ac_objext \
21790 conftest
$ac_exeext conftest.
$ac_ext
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21793 $as_echo "$gcc_cv_math_func_round" >&6; }
21794 if test $gcc_cv_math_func_round = yes; then
21796 cat >>confdefs.h
<<_ACEOF
21797 #define HAVE_ROUND 1
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21806 $as_echo_n "checking for roundl... " >&6; }
21807 if ${gcc_cv_math_func_roundl+:} false
; then :
21808 $as_echo_n "(cached) " >&6
21810 if test x
$gcc_no_link = xyes
; then
21811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h. */
21816 #ifdef HAVE_COMPLEX_H
21817 #include <complex.h>
21823 int (*ptr)() = (int (*)())roundl;
21832 if ac_fn_c_try_link
"$LINENO"; then :
21833 gcc_cv_math_func_roundl
=yes
21835 gcc_cv_math_func_roundl
=no
21837 rm -f core conftest.err conftest.
$ac_objext \
21838 conftest
$ac_exeext conftest.
$ac_ext
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21841 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21842 if test $gcc_cv_math_func_roundl = yes; then
21844 cat >>confdefs.h
<<_ACEOF
21845 #define HAVE_ROUNDL 1
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21854 $as_echo_n "checking for lroundf... " >&6; }
21855 if ${gcc_cv_math_func_lroundf+:} false
; then :
21856 $as_echo_n "(cached) " >&6
21858 if test x
$gcc_no_link = xyes
; then
21859 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21862 /* end confdefs.h. */
21864 #ifdef HAVE_COMPLEX_H
21865 #include <complex.h>
21871 int (*ptr)() = (int (*)())lroundf;
21880 if ac_fn_c_try_link
"$LINENO"; then :
21881 gcc_cv_math_func_lroundf
=yes
21883 gcc_cv_math_func_lroundf
=no
21885 rm -f core conftest.err conftest.
$ac_objext \
21886 conftest
$ac_exeext conftest.
$ac_ext
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21889 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21890 if test $gcc_cv_math_func_lroundf = yes; then
21892 cat >>confdefs.h
<<_ACEOF
21893 #define HAVE_LROUNDF 1
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21902 $as_echo_n "checking for lround... " >&6; }
21903 if ${gcc_cv_math_func_lround+:} false
; then :
21904 $as_echo_n "(cached) " >&6
21906 if test x
$gcc_no_link = xyes
; then
21907 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21912 #ifdef HAVE_COMPLEX_H
21913 #include <complex.h>
21919 int (*ptr)() = (int (*)())lround;
21928 if ac_fn_c_try_link
"$LINENO"; then :
21929 gcc_cv_math_func_lround
=yes
21931 gcc_cv_math_func_lround
=no
21933 rm -f core conftest.err conftest.
$ac_objext \
21934 conftest
$ac_exeext conftest.
$ac_ext
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21937 $as_echo "$gcc_cv_math_func_lround" >&6; }
21938 if test $gcc_cv_math_func_lround = yes; then
21940 cat >>confdefs.h
<<_ACEOF
21941 #define HAVE_LROUND 1
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21950 $as_echo_n "checking for lroundl... " >&6; }
21951 if ${gcc_cv_math_func_lroundl+:} false
; then :
21952 $as_echo_n "(cached) " >&6
21954 if test x
$gcc_no_link = xyes
; then
21955 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h. */
21960 #ifdef HAVE_COMPLEX_H
21961 #include <complex.h>
21967 int (*ptr)() = (int (*)())lroundl;
21976 if ac_fn_c_try_link
"$LINENO"; then :
21977 gcc_cv_math_func_lroundl
=yes
21979 gcc_cv_math_func_lroundl
=no
21981 rm -f core conftest.err conftest.
$ac_objext \
21982 conftest
$ac_exeext conftest.
$ac_ext
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21985 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21986 if test $gcc_cv_math_func_lroundl = yes; then
21988 cat >>confdefs.h
<<_ACEOF
21989 #define HAVE_LROUNDL 1
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21998 $as_echo_n "checking for llroundf... " >&6; }
21999 if ${gcc_cv_math_func_llroundf+:} false
; then :
22000 $as_echo_n "(cached) " >&6
22002 if test x
$gcc_no_link = xyes
; then
22003 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22006 /* end confdefs.h. */
22008 #ifdef HAVE_COMPLEX_H
22009 #include <complex.h>
22015 int (*ptr)() = (int (*)())llroundf;
22024 if ac_fn_c_try_link
"$LINENO"; then :
22025 gcc_cv_math_func_llroundf
=yes
22027 gcc_cv_math_func_llroundf
=no
22029 rm -f core conftest.err conftest.
$ac_objext \
22030 conftest
$ac_exeext conftest.
$ac_ext
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22033 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22034 if test $gcc_cv_math_func_llroundf = yes; then
22036 cat >>confdefs.h
<<_ACEOF
22037 #define HAVE_LLROUNDF 1
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22046 $as_echo_n "checking for llround... " >&6; }
22047 if ${gcc_cv_math_func_llround+:} false
; then :
22048 $as_echo_n "(cached) " >&6
22050 if test x
$gcc_no_link = xyes
; then
22051 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h. */
22056 #ifdef HAVE_COMPLEX_H
22057 #include <complex.h>
22063 int (*ptr)() = (int (*)())llround;
22072 if ac_fn_c_try_link
"$LINENO"; then :
22073 gcc_cv_math_func_llround
=yes
22075 gcc_cv_math_func_llround
=no
22077 rm -f core conftest.err conftest.
$ac_objext \
22078 conftest
$ac_exeext conftest.
$ac_ext
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22081 $as_echo "$gcc_cv_math_func_llround" >&6; }
22082 if test $gcc_cv_math_func_llround = yes; then
22084 cat >>confdefs.h
<<_ACEOF
22085 #define HAVE_LLROUND 1
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22094 $as_echo_n "checking for llroundl... " >&6; }
22095 if ${gcc_cv_math_func_llroundl+:} false
; then :
22096 $as_echo_n "(cached) " >&6
22098 if test x
$gcc_no_link = xyes
; then
22099 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h. */
22104 #ifdef HAVE_COMPLEX_H
22105 #include <complex.h>
22111 int (*ptr)() = (int (*)())llroundl;
22120 if ac_fn_c_try_link
"$LINENO"; then :
22121 gcc_cv_math_func_llroundl
=yes
22123 gcc_cv_math_func_llroundl
=no
22125 rm -f core conftest.err conftest.
$ac_objext \
22126 conftest
$ac_exeext conftest.
$ac_ext
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22129 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22130 if test $gcc_cv_math_func_llroundl = yes; then
22132 cat >>confdefs.h
<<_ACEOF
22133 #define HAVE_LLROUNDL 1
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22142 $as_echo_n "checking for scalbnf... " >&6; }
22143 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22144 $as_echo_n "(cached) " >&6
22146 if test x
$gcc_no_link = xyes
; then
22147 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h. */
22152 #ifdef HAVE_COMPLEX_H
22153 #include <complex.h>
22159 int (*ptr)() = (int (*)())scalbnf;
22168 if ac_fn_c_try_link
"$LINENO"; then :
22169 gcc_cv_math_func_scalbnf
=yes
22171 gcc_cv_math_func_scalbnf
=no
22173 rm -f core conftest.err conftest.
$ac_objext \
22174 conftest
$ac_exeext conftest.
$ac_ext
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22177 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22178 if test $gcc_cv_math_func_scalbnf = yes; then
22180 cat >>confdefs.h
<<_ACEOF
22181 #define HAVE_SCALBNF 1
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22190 $as_echo_n "checking for scalbn... " >&6; }
22191 if ${gcc_cv_math_func_scalbn+:} false
; then :
22192 $as_echo_n "(cached) " >&6
22194 if test x
$gcc_no_link = xyes
; then
22195 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22198 /* end confdefs.h. */
22200 #ifdef HAVE_COMPLEX_H
22201 #include <complex.h>
22207 int (*ptr)() = (int (*)())scalbn;
22216 if ac_fn_c_try_link
"$LINENO"; then :
22217 gcc_cv_math_func_scalbn
=yes
22219 gcc_cv_math_func_scalbn
=no
22221 rm -f core conftest.err conftest.
$ac_objext \
22222 conftest
$ac_exeext conftest.
$ac_ext
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22225 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22226 if test $gcc_cv_math_func_scalbn = yes; then
22228 cat >>confdefs.h
<<_ACEOF
22229 #define HAVE_SCALBN 1
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22238 $as_echo_n "checking for scalbnl... " >&6; }
22239 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22240 $as_echo_n "(cached) " >&6
22242 if test x
$gcc_no_link = xyes
; then
22243 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h. */
22248 #ifdef HAVE_COMPLEX_H
22249 #include <complex.h>
22255 int (*ptr)() = (int (*)())scalbnl;
22264 if ac_fn_c_try_link
"$LINENO"; then :
22265 gcc_cv_math_func_scalbnl
=yes
22267 gcc_cv_math_func_scalbnl
=no
22269 rm -f core conftest.err conftest.
$ac_objext \
22270 conftest
$ac_exeext conftest.
$ac_ext
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22273 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22274 if test $gcc_cv_math_func_scalbnl = yes; then
22276 cat >>confdefs.h
<<_ACEOF
22277 #define HAVE_SCALBNL 1
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22286 $as_echo_n "checking for sinf... " >&6; }
22287 if ${gcc_cv_math_func_sinf+:} false
; then :
22288 $as_echo_n "(cached) " >&6
22290 if test x
$gcc_no_link = xyes
; then
22291 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22294 /* end confdefs.h. */
22296 #ifdef HAVE_COMPLEX_H
22297 #include <complex.h>
22303 int (*ptr)() = (int (*)())sinf;
22312 if ac_fn_c_try_link
"$LINENO"; then :
22313 gcc_cv_math_func_sinf
=yes
22315 gcc_cv_math_func_sinf
=no
22317 rm -f core conftest.err conftest.
$ac_objext \
22318 conftest
$ac_exeext conftest.
$ac_ext
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22321 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22322 if test $gcc_cv_math_func_sinf = yes; then
22324 cat >>confdefs.h
<<_ACEOF
22325 #define HAVE_SINF 1
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22334 $as_echo_n "checking for sin... " >&6; }
22335 if ${gcc_cv_math_func_sin+:} false
; then :
22336 $as_echo_n "(cached) " >&6
22338 if test x
$gcc_no_link = xyes
; then
22339 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22342 /* end confdefs.h. */
22344 #ifdef HAVE_COMPLEX_H
22345 #include <complex.h>
22351 int (*ptr)() = (int (*)())sin;
22360 if ac_fn_c_try_link
"$LINENO"; then :
22361 gcc_cv_math_func_sin
=yes
22363 gcc_cv_math_func_sin
=no
22365 rm -f core conftest.err conftest.
$ac_objext \
22366 conftest
$ac_exeext conftest.
$ac_ext
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22369 $as_echo "$gcc_cv_math_func_sin" >&6; }
22370 if test $gcc_cv_math_func_sin = yes; then
22372 cat >>confdefs.h
<<_ACEOF
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22382 $as_echo_n "checking for sinl... " >&6; }
22383 if ${gcc_cv_math_func_sinl+:} false
; then :
22384 $as_echo_n "(cached) " >&6
22386 if test x
$gcc_no_link = xyes
; then
22387 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22392 #ifdef HAVE_COMPLEX_H
22393 #include <complex.h>
22399 int (*ptr)() = (int (*)())sinl;
22408 if ac_fn_c_try_link
"$LINENO"; then :
22409 gcc_cv_math_func_sinl
=yes
22411 gcc_cv_math_func_sinl
=no
22413 rm -f core conftest.err conftest.
$ac_objext \
22414 conftest
$ac_exeext conftest.
$ac_ext
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22417 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22418 if test $gcc_cv_math_func_sinl = yes; then
22420 cat >>confdefs.h
<<_ACEOF
22421 #define HAVE_SINL 1
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22430 $as_echo_n "checking for csinf... " >&6; }
22431 if ${gcc_cv_math_func_csinf+:} false
; then :
22432 $as_echo_n "(cached) " >&6
22434 if test x
$gcc_no_link = xyes
; then
22435 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h. */
22440 #ifdef HAVE_COMPLEX_H
22441 #include <complex.h>
22447 int (*ptr)() = (int (*)())csinf;
22456 if ac_fn_c_try_link
"$LINENO"; then :
22457 gcc_cv_math_func_csinf
=yes
22459 gcc_cv_math_func_csinf
=no
22461 rm -f core conftest.err conftest.
$ac_objext \
22462 conftest
$ac_exeext conftest.
$ac_ext
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22465 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22466 if test $gcc_cv_math_func_csinf = yes; then
22468 cat >>confdefs.h
<<_ACEOF
22469 #define HAVE_CSINF 1
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22478 $as_echo_n "checking for csin... " >&6; }
22479 if ${gcc_cv_math_func_csin+:} false
; then :
22480 $as_echo_n "(cached) " >&6
22482 if test x
$gcc_no_link = xyes
; then
22483 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h. */
22488 #ifdef HAVE_COMPLEX_H
22489 #include <complex.h>
22495 int (*ptr)() = (int (*)())csin;
22504 if ac_fn_c_try_link
"$LINENO"; then :
22505 gcc_cv_math_func_csin
=yes
22507 gcc_cv_math_func_csin
=no
22509 rm -f core conftest.err conftest.
$ac_objext \
22510 conftest
$ac_exeext conftest.
$ac_ext
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22513 $as_echo "$gcc_cv_math_func_csin" >&6; }
22514 if test $gcc_cv_math_func_csin = yes; then
22516 cat >>confdefs.h
<<_ACEOF
22517 #define HAVE_CSIN 1
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22526 $as_echo_n "checking for csinl... " >&6; }
22527 if ${gcc_cv_math_func_csinl+:} false
; then :
22528 $as_echo_n "(cached) " >&6
22530 if test x
$gcc_no_link = xyes
; then
22531 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22534 /* end confdefs.h. */
22536 #ifdef HAVE_COMPLEX_H
22537 #include <complex.h>
22543 int (*ptr)() = (int (*)())csinl;
22552 if ac_fn_c_try_link
"$LINENO"; then :
22553 gcc_cv_math_func_csinl
=yes
22555 gcc_cv_math_func_csinl
=no
22557 rm -f core conftest.err conftest.
$ac_objext \
22558 conftest
$ac_exeext conftest.
$ac_ext
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22561 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22562 if test $gcc_cv_math_func_csinl = yes; then
22564 cat >>confdefs.h
<<_ACEOF
22565 #define HAVE_CSINL 1
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22574 $as_echo_n "checking for sinhf... " >&6; }
22575 if ${gcc_cv_math_func_sinhf+:} false
; then :
22576 $as_echo_n "(cached) " >&6
22578 if test x
$gcc_no_link = xyes
; then
22579 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22582 /* end confdefs.h. */
22584 #ifdef HAVE_COMPLEX_H
22585 #include <complex.h>
22591 int (*ptr)() = (int (*)())sinhf;
22600 if ac_fn_c_try_link
"$LINENO"; then :
22601 gcc_cv_math_func_sinhf
=yes
22603 gcc_cv_math_func_sinhf
=no
22605 rm -f core conftest.err conftest.
$ac_objext \
22606 conftest
$ac_exeext conftest.
$ac_ext
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22609 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22610 if test $gcc_cv_math_func_sinhf = yes; then
22612 cat >>confdefs.h
<<_ACEOF
22613 #define HAVE_SINHF 1
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22622 $as_echo_n "checking for sinh... " >&6; }
22623 if ${gcc_cv_math_func_sinh+:} false
; then :
22624 $as_echo_n "(cached) " >&6
22626 if test x
$gcc_no_link = xyes
; then
22627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22632 #ifdef HAVE_COMPLEX_H
22633 #include <complex.h>
22639 int (*ptr)() = (int (*)())sinh;
22648 if ac_fn_c_try_link
"$LINENO"; then :
22649 gcc_cv_math_func_sinh
=yes
22651 gcc_cv_math_func_sinh
=no
22653 rm -f core conftest.err conftest.
$ac_objext \
22654 conftest
$ac_exeext conftest.
$ac_ext
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22657 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22658 if test $gcc_cv_math_func_sinh = yes; then
22660 cat >>confdefs.h
<<_ACEOF
22661 #define HAVE_SINH 1
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22670 $as_echo_n "checking for sinhl... " >&6; }
22671 if ${gcc_cv_math_func_sinhl+:} false
; then :
22672 $as_echo_n "(cached) " >&6
22674 if test x
$gcc_no_link = xyes
; then
22675 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22678 /* end confdefs.h. */
22680 #ifdef HAVE_COMPLEX_H
22681 #include <complex.h>
22687 int (*ptr)() = (int (*)())sinhl;
22696 if ac_fn_c_try_link
"$LINENO"; then :
22697 gcc_cv_math_func_sinhl
=yes
22699 gcc_cv_math_func_sinhl
=no
22701 rm -f core conftest.err conftest.
$ac_objext \
22702 conftest
$ac_exeext conftest.
$ac_ext
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22705 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22706 if test $gcc_cv_math_func_sinhl = yes; then
22708 cat >>confdefs.h
<<_ACEOF
22709 #define HAVE_SINHL 1
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22718 $as_echo_n "checking for csinhf... " >&6; }
22719 if ${gcc_cv_math_func_csinhf+:} false
; then :
22720 $as_echo_n "(cached) " >&6
22722 if test x
$gcc_no_link = xyes
; then
22723 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22726 /* end confdefs.h. */
22728 #ifdef HAVE_COMPLEX_H
22729 #include <complex.h>
22735 int (*ptr)() = (int (*)())csinhf;
22744 if ac_fn_c_try_link
"$LINENO"; then :
22745 gcc_cv_math_func_csinhf
=yes
22747 gcc_cv_math_func_csinhf
=no
22749 rm -f core conftest.err conftest.
$ac_objext \
22750 conftest
$ac_exeext conftest.
$ac_ext
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22753 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22754 if test $gcc_cv_math_func_csinhf = yes; then
22756 cat >>confdefs.h
<<_ACEOF
22757 #define HAVE_CSINHF 1
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22766 $as_echo_n "checking for csinh... " >&6; }
22767 if ${gcc_cv_math_func_csinh+:} false
; then :
22768 $as_echo_n "(cached) " >&6
22770 if test x
$gcc_no_link = xyes
; then
22771 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22776 #ifdef HAVE_COMPLEX_H
22777 #include <complex.h>
22783 int (*ptr)() = (int (*)())csinh;
22792 if ac_fn_c_try_link
"$LINENO"; then :
22793 gcc_cv_math_func_csinh
=yes
22795 gcc_cv_math_func_csinh
=no
22797 rm -f core conftest.err conftest.
$ac_objext \
22798 conftest
$ac_exeext conftest.
$ac_ext
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22801 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22802 if test $gcc_cv_math_func_csinh = yes; then
22804 cat >>confdefs.h
<<_ACEOF
22805 #define HAVE_CSINH 1
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22814 $as_echo_n "checking for csinhl... " >&6; }
22815 if ${gcc_cv_math_func_csinhl+:} false
; then :
22816 $as_echo_n "(cached) " >&6
22818 if test x
$gcc_no_link = xyes
; then
22819 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h. */
22824 #ifdef HAVE_COMPLEX_H
22825 #include <complex.h>
22831 int (*ptr)() = (int (*)())csinhl;
22840 if ac_fn_c_try_link
"$LINENO"; then :
22841 gcc_cv_math_func_csinhl
=yes
22843 gcc_cv_math_func_csinhl
=no
22845 rm -f core conftest.err conftest.
$ac_objext \
22846 conftest
$ac_exeext conftest.
$ac_ext
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22849 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22850 if test $gcc_cv_math_func_csinhl = yes; then
22852 cat >>confdefs.h
<<_ACEOF
22853 #define HAVE_CSINHL 1
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22862 $as_echo_n "checking for sqrtf... " >&6; }
22863 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22864 $as_echo_n "(cached) " >&6
22866 if test x
$gcc_no_link = xyes
; then
22867 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22870 /* end confdefs.h. */
22872 #ifdef HAVE_COMPLEX_H
22873 #include <complex.h>
22879 int (*ptr)() = (int (*)())sqrtf;
22888 if ac_fn_c_try_link
"$LINENO"; then :
22889 gcc_cv_math_func_sqrtf
=yes
22891 gcc_cv_math_func_sqrtf
=no
22893 rm -f core conftest.err conftest.
$ac_objext \
22894 conftest
$ac_exeext conftest.
$ac_ext
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22897 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22898 if test $gcc_cv_math_func_sqrtf = yes; then
22900 cat >>confdefs.h
<<_ACEOF
22901 #define HAVE_SQRTF 1
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22910 $as_echo_n "checking for sqrt... " >&6; }
22911 if ${gcc_cv_math_func_sqrt+:} false
; then :
22912 $as_echo_n "(cached) " >&6
22914 if test x
$gcc_no_link = xyes
; then
22915 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22920 #ifdef HAVE_COMPLEX_H
22921 #include <complex.h>
22927 int (*ptr)() = (int (*)())sqrt;
22936 if ac_fn_c_try_link
"$LINENO"; then :
22937 gcc_cv_math_func_sqrt
=yes
22939 gcc_cv_math_func_sqrt
=no
22941 rm -f core conftest.err conftest.
$ac_objext \
22942 conftest
$ac_exeext conftest.
$ac_ext
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22945 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22946 if test $gcc_cv_math_func_sqrt = yes; then
22948 cat >>confdefs.h
<<_ACEOF
22949 #define HAVE_SQRT 1
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22958 $as_echo_n "checking for sqrtl... " >&6; }
22959 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22960 $as_echo_n "(cached) " >&6
22962 if test x
$gcc_no_link = xyes
; then
22963 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22966 /* end confdefs.h. */
22968 #ifdef HAVE_COMPLEX_H
22969 #include <complex.h>
22975 int (*ptr)() = (int (*)())sqrtl;
22984 if ac_fn_c_try_link
"$LINENO"; then :
22985 gcc_cv_math_func_sqrtl
=yes
22987 gcc_cv_math_func_sqrtl
=no
22989 rm -f core conftest.err conftest.
$ac_objext \
22990 conftest
$ac_exeext conftest.
$ac_ext
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22993 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22994 if test $gcc_cv_math_func_sqrtl = yes; then
22996 cat >>confdefs.h
<<_ACEOF
22997 #define HAVE_SQRTL 1
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23006 $as_echo_n "checking for csqrtf... " >&6; }
23007 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23008 $as_echo_n "(cached) " >&6
23010 if test x
$gcc_no_link = xyes
; then
23011 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23014 /* end confdefs.h. */
23016 #ifdef HAVE_COMPLEX_H
23017 #include <complex.h>
23023 int (*ptr)() = (int (*)())csqrtf;
23032 if ac_fn_c_try_link
"$LINENO"; then :
23033 gcc_cv_math_func_csqrtf
=yes
23035 gcc_cv_math_func_csqrtf
=no
23037 rm -f core conftest.err conftest.
$ac_objext \
23038 conftest
$ac_exeext conftest.
$ac_ext
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23041 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23042 if test $gcc_cv_math_func_csqrtf = yes; then
23044 cat >>confdefs.h
<<_ACEOF
23045 #define HAVE_CSQRTF 1
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23054 $as_echo_n "checking for csqrt... " >&6; }
23055 if ${gcc_cv_math_func_csqrt+:} false
; then :
23056 $as_echo_n "(cached) " >&6
23058 if test x
$gcc_no_link = xyes
; then
23059 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23064 #ifdef HAVE_COMPLEX_H
23065 #include <complex.h>
23071 int (*ptr)() = (int (*)())csqrt;
23080 if ac_fn_c_try_link
"$LINENO"; then :
23081 gcc_cv_math_func_csqrt
=yes
23083 gcc_cv_math_func_csqrt
=no
23085 rm -f core conftest.err conftest.
$ac_objext \
23086 conftest
$ac_exeext conftest.
$ac_ext
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23089 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23090 if test $gcc_cv_math_func_csqrt = yes; then
23092 cat >>confdefs.h
<<_ACEOF
23093 #define HAVE_CSQRT 1
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23102 $as_echo_n "checking for csqrtl... " >&6; }
23103 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23104 $as_echo_n "(cached) " >&6
23106 if test x
$gcc_no_link = xyes
; then
23107 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23110 /* end confdefs.h. */
23112 #ifdef HAVE_COMPLEX_H
23113 #include <complex.h>
23119 int (*ptr)() = (int (*)())csqrtl;
23128 if ac_fn_c_try_link
"$LINENO"; then :
23129 gcc_cv_math_func_csqrtl
=yes
23131 gcc_cv_math_func_csqrtl
=no
23133 rm -f core conftest.err conftest.
$ac_objext \
23134 conftest
$ac_exeext conftest.
$ac_ext
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23137 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23138 if test $gcc_cv_math_func_csqrtl = yes; then
23140 cat >>confdefs.h
<<_ACEOF
23141 #define HAVE_CSQRTL 1
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23150 $as_echo_n "checking for tanf... " >&6; }
23151 if ${gcc_cv_math_func_tanf+:} false
; then :
23152 $as_echo_n "(cached) " >&6
23154 if test x
$gcc_no_link = xyes
; then
23155 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23158 /* end confdefs.h. */
23160 #ifdef HAVE_COMPLEX_H
23161 #include <complex.h>
23167 int (*ptr)() = (int (*)())tanf;
23176 if ac_fn_c_try_link
"$LINENO"; then :
23177 gcc_cv_math_func_tanf
=yes
23179 gcc_cv_math_func_tanf
=no
23181 rm -f core conftest.err conftest.
$ac_objext \
23182 conftest
$ac_exeext conftest.
$ac_ext
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23185 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23186 if test $gcc_cv_math_func_tanf = yes; then
23188 cat >>confdefs.h
<<_ACEOF
23189 #define HAVE_TANF 1
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23198 $as_echo_n "checking for tan... " >&6; }
23199 if ${gcc_cv_math_func_tan+:} false
; then :
23200 $as_echo_n "(cached) " >&6
23202 if test x
$gcc_no_link = xyes
; then
23203 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23208 #ifdef HAVE_COMPLEX_H
23209 #include <complex.h>
23215 int (*ptr)() = (int (*)())tan;
23224 if ac_fn_c_try_link
"$LINENO"; then :
23225 gcc_cv_math_func_tan
=yes
23227 gcc_cv_math_func_tan
=no
23229 rm -f core conftest.err conftest.
$ac_objext \
23230 conftest
$ac_exeext conftest.
$ac_ext
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23233 $as_echo "$gcc_cv_math_func_tan" >&6; }
23234 if test $gcc_cv_math_func_tan = yes; then
23236 cat >>confdefs.h
<<_ACEOF
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23246 $as_echo_n "checking for tanl... " >&6; }
23247 if ${gcc_cv_math_func_tanl+:} false
; then :
23248 $as_echo_n "(cached) " >&6
23250 if test x
$gcc_no_link = xyes
; then
23251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23254 /* end confdefs.h. */
23256 #ifdef HAVE_COMPLEX_H
23257 #include <complex.h>
23263 int (*ptr)() = (int (*)())tanl;
23272 if ac_fn_c_try_link
"$LINENO"; then :
23273 gcc_cv_math_func_tanl
=yes
23275 gcc_cv_math_func_tanl
=no
23277 rm -f core conftest.err conftest.
$ac_objext \
23278 conftest
$ac_exeext conftest.
$ac_ext
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23281 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23282 if test $gcc_cv_math_func_tanl = yes; then
23284 cat >>confdefs.h
<<_ACEOF
23285 #define HAVE_TANL 1
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23294 $as_echo_n "checking for ctanf... " >&6; }
23295 if ${gcc_cv_math_func_ctanf+:} false
; then :
23296 $as_echo_n "(cached) " >&6
23298 if test x
$gcc_no_link = xyes
; then
23299 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23302 /* end confdefs.h. */
23304 #ifdef HAVE_COMPLEX_H
23305 #include <complex.h>
23311 int (*ptr)() = (int (*)())ctanf;
23320 if ac_fn_c_try_link
"$LINENO"; then :
23321 gcc_cv_math_func_ctanf
=yes
23323 gcc_cv_math_func_ctanf
=no
23325 rm -f core conftest.err conftest.
$ac_objext \
23326 conftest
$ac_exeext conftest.
$ac_ext
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23329 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23330 if test $gcc_cv_math_func_ctanf = yes; then
23332 cat >>confdefs.h
<<_ACEOF
23333 #define HAVE_CTANF 1
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23342 $as_echo_n "checking for ctan... " >&6; }
23343 if ${gcc_cv_math_func_ctan+:} false
; then :
23344 $as_echo_n "(cached) " >&6
23346 if test x
$gcc_no_link = xyes
; then
23347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23352 #ifdef HAVE_COMPLEX_H
23353 #include <complex.h>
23359 int (*ptr)() = (int (*)())ctan;
23368 if ac_fn_c_try_link
"$LINENO"; then :
23369 gcc_cv_math_func_ctan
=yes
23371 gcc_cv_math_func_ctan
=no
23373 rm -f core conftest.err conftest.
$ac_objext \
23374 conftest
$ac_exeext conftest.
$ac_ext
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23377 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23378 if test $gcc_cv_math_func_ctan = yes; then
23380 cat >>confdefs.h
<<_ACEOF
23381 #define HAVE_CTAN 1
23389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23390 $as_echo_n "checking for ctanl... " >&6; }
23391 if ${gcc_cv_math_func_ctanl+:} false
; then :
23392 $as_echo_n "(cached) " >&6
23394 if test x
$gcc_no_link = xyes
; then
23395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23400 #ifdef HAVE_COMPLEX_H
23401 #include <complex.h>
23407 int (*ptr)() = (int (*)())ctanl;
23416 if ac_fn_c_try_link
"$LINENO"; then :
23417 gcc_cv_math_func_ctanl
=yes
23419 gcc_cv_math_func_ctanl
=no
23421 rm -f core conftest.err conftest.
$ac_objext \
23422 conftest
$ac_exeext conftest.
$ac_ext
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23425 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23426 if test $gcc_cv_math_func_ctanl = yes; then
23428 cat >>confdefs.h
<<_ACEOF
23429 #define HAVE_CTANL 1
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23438 $as_echo_n "checking for tanhf... " >&6; }
23439 if ${gcc_cv_math_func_tanhf+:} false
; then :
23440 $as_echo_n "(cached) " >&6
23442 if test x
$gcc_no_link = xyes
; then
23443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h. */
23448 #ifdef HAVE_COMPLEX_H
23449 #include <complex.h>
23455 int (*ptr)() = (int (*)())tanhf;
23464 if ac_fn_c_try_link
"$LINENO"; then :
23465 gcc_cv_math_func_tanhf
=yes
23467 gcc_cv_math_func_tanhf
=no
23469 rm -f core conftest.err conftest.
$ac_objext \
23470 conftest
$ac_exeext conftest.
$ac_ext
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23473 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23474 if test $gcc_cv_math_func_tanhf = yes; then
23476 cat >>confdefs.h
<<_ACEOF
23477 #define HAVE_TANHF 1
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23486 $as_echo_n "checking for tanh... " >&6; }
23487 if ${gcc_cv_math_func_tanh+:} false
; then :
23488 $as_echo_n "(cached) " >&6
23490 if test x
$gcc_no_link = xyes
; then
23491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23496 #ifdef HAVE_COMPLEX_H
23497 #include <complex.h>
23503 int (*ptr)() = (int (*)())tanh;
23512 if ac_fn_c_try_link
"$LINENO"; then :
23513 gcc_cv_math_func_tanh
=yes
23515 gcc_cv_math_func_tanh
=no
23517 rm -f core conftest.err conftest.
$ac_objext \
23518 conftest
$ac_exeext conftest.
$ac_ext
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23521 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23522 if test $gcc_cv_math_func_tanh = yes; then
23524 cat >>confdefs.h
<<_ACEOF
23525 #define HAVE_TANH 1
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23534 $as_echo_n "checking for tanhl... " >&6; }
23535 if ${gcc_cv_math_func_tanhl+:} false
; then :
23536 $as_echo_n "(cached) " >&6
23538 if test x
$gcc_no_link = xyes
; then
23539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23544 #ifdef HAVE_COMPLEX_H
23545 #include <complex.h>
23551 int (*ptr)() = (int (*)())tanhl;
23560 if ac_fn_c_try_link
"$LINENO"; then :
23561 gcc_cv_math_func_tanhl
=yes
23563 gcc_cv_math_func_tanhl
=no
23565 rm -f core conftest.err conftest.
$ac_objext \
23566 conftest
$ac_exeext conftest.
$ac_ext
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23569 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23570 if test $gcc_cv_math_func_tanhl = yes; then
23572 cat >>confdefs.h
<<_ACEOF
23573 #define HAVE_TANHL 1
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23582 $as_echo_n "checking for ctanhf... " >&6; }
23583 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23584 $as_echo_n "(cached) " >&6
23586 if test x
$gcc_no_link = xyes
; then
23587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23592 #ifdef HAVE_COMPLEX_H
23593 #include <complex.h>
23599 int (*ptr)() = (int (*)())ctanhf;
23608 if ac_fn_c_try_link
"$LINENO"; then :
23609 gcc_cv_math_func_ctanhf
=yes
23611 gcc_cv_math_func_ctanhf
=no
23613 rm -f core conftest.err conftest.
$ac_objext \
23614 conftest
$ac_exeext conftest.
$ac_ext
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23617 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23618 if test $gcc_cv_math_func_ctanhf = yes; then
23620 cat >>confdefs.h
<<_ACEOF
23621 #define HAVE_CTANHF 1
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23630 $as_echo_n "checking for ctanh... " >&6; }
23631 if ${gcc_cv_math_func_ctanh+:} false
; then :
23632 $as_echo_n "(cached) " >&6
23634 if test x
$gcc_no_link = xyes
; then
23635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23638 /* end confdefs.h. */
23640 #ifdef HAVE_COMPLEX_H
23641 #include <complex.h>
23647 int (*ptr)() = (int (*)())ctanh;
23656 if ac_fn_c_try_link
"$LINENO"; then :
23657 gcc_cv_math_func_ctanh
=yes
23659 gcc_cv_math_func_ctanh
=no
23661 rm -f core conftest.err conftest.
$ac_objext \
23662 conftest
$ac_exeext conftest.
$ac_ext
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23665 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23666 if test $gcc_cv_math_func_ctanh = yes; then
23668 cat >>confdefs.h
<<_ACEOF
23669 #define HAVE_CTANH 1
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23678 $as_echo_n "checking for ctanhl... " >&6; }
23679 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23680 $as_echo_n "(cached) " >&6
23682 if test x
$gcc_no_link = xyes
; then
23683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23688 #ifdef HAVE_COMPLEX_H
23689 #include <complex.h>
23695 int (*ptr)() = (int (*)())ctanhl;
23704 if ac_fn_c_try_link
"$LINENO"; then :
23705 gcc_cv_math_func_ctanhl
=yes
23707 gcc_cv_math_func_ctanhl
=no
23709 rm -f core conftest.err conftest.
$ac_objext \
23710 conftest
$ac_exeext conftest.
$ac_ext
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23713 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23714 if test $gcc_cv_math_func_ctanhl = yes; then
23716 cat >>confdefs.h
<<_ACEOF
23717 #define HAVE_CTANHL 1
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23726 $as_echo_n "checking for truncf... " >&6; }
23727 if ${gcc_cv_math_func_truncf+:} false
; then :
23728 $as_echo_n "(cached) " >&6
23730 if test x
$gcc_no_link = xyes
; then
23731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h. */
23736 #ifdef HAVE_COMPLEX_H
23737 #include <complex.h>
23743 int (*ptr)() = (int (*)())truncf;
23752 if ac_fn_c_try_link
"$LINENO"; then :
23753 gcc_cv_math_func_truncf
=yes
23755 gcc_cv_math_func_truncf
=no
23757 rm -f core conftest.err conftest.
$ac_objext \
23758 conftest
$ac_exeext conftest.
$ac_ext
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23761 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23762 if test $gcc_cv_math_func_truncf = yes; then
23764 cat >>confdefs.h
<<_ACEOF
23765 #define HAVE_TRUNCF 1
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23774 $as_echo_n "checking for trunc... " >&6; }
23775 if ${gcc_cv_math_func_trunc+:} false
; then :
23776 $as_echo_n "(cached) " >&6
23778 if test x
$gcc_no_link = xyes
; then
23779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23784 #ifdef HAVE_COMPLEX_H
23785 #include <complex.h>
23791 int (*ptr)() = (int (*)())trunc;
23800 if ac_fn_c_try_link
"$LINENO"; then :
23801 gcc_cv_math_func_trunc
=yes
23803 gcc_cv_math_func_trunc
=no
23805 rm -f core conftest.err conftest.
$ac_objext \
23806 conftest
$ac_exeext conftest.
$ac_ext
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23809 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23810 if test $gcc_cv_math_func_trunc = yes; then
23812 cat >>confdefs.h
<<_ACEOF
23813 #define HAVE_TRUNC 1
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23822 $as_echo_n "checking for truncl... " >&6; }
23823 if ${gcc_cv_math_func_truncl+:} false
; then :
23824 $as_echo_n "(cached) " >&6
23826 if test x
$gcc_no_link = xyes
; then
23827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23832 #ifdef HAVE_COMPLEX_H
23833 #include <complex.h>
23839 int (*ptr)() = (int (*)())truncl;
23848 if ac_fn_c_try_link
"$LINENO"; then :
23849 gcc_cv_math_func_truncl
=yes
23851 gcc_cv_math_func_truncl
=no
23853 rm -f core conftest.err conftest.
$ac_objext \
23854 conftest
$ac_exeext conftest.
$ac_ext
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23857 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23858 if test $gcc_cv_math_func_truncl = yes; then
23860 cat >>confdefs.h
<<_ACEOF
23861 #define HAVE_TRUNCL 1
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23870 $as_echo_n "checking for erff... " >&6; }
23871 if ${gcc_cv_math_func_erff+:} false
; then :
23872 $as_echo_n "(cached) " >&6
23874 if test x
$gcc_no_link = xyes
; then
23875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23878 /* end confdefs.h. */
23880 #ifdef HAVE_COMPLEX_H
23881 #include <complex.h>
23887 int (*ptr)() = (int (*)())erff;
23896 if ac_fn_c_try_link
"$LINENO"; then :
23897 gcc_cv_math_func_erff
=yes
23899 gcc_cv_math_func_erff
=no
23901 rm -f core conftest.err conftest.
$ac_objext \
23902 conftest
$ac_exeext conftest.
$ac_ext
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23905 $as_echo "$gcc_cv_math_func_erff" >&6; }
23906 if test $gcc_cv_math_func_erff = yes; then
23908 cat >>confdefs.h
<<_ACEOF
23909 #define HAVE_ERFF 1
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23918 $as_echo_n "checking for erf... " >&6; }
23919 if ${gcc_cv_math_func_erf+:} false
; then :
23920 $as_echo_n "(cached) " >&6
23922 if test x
$gcc_no_link = xyes
; then
23923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23928 #ifdef HAVE_COMPLEX_H
23929 #include <complex.h>
23935 int (*ptr)() = (int (*)())erf;
23944 if ac_fn_c_try_link
"$LINENO"; then :
23945 gcc_cv_math_func_erf
=yes
23947 gcc_cv_math_func_erf
=no
23949 rm -f core conftest.err conftest.
$ac_objext \
23950 conftest
$ac_exeext conftest.
$ac_ext
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23953 $as_echo "$gcc_cv_math_func_erf" >&6; }
23954 if test $gcc_cv_math_func_erf = yes; then
23956 cat >>confdefs.h
<<_ACEOF
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23966 $as_echo_n "checking for erfcf... " >&6; }
23967 if ${gcc_cv_math_func_erfcf+:} false
; then :
23968 $as_echo_n "(cached) " >&6
23970 if test x
$gcc_no_link = xyes
; then
23971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23976 #ifdef HAVE_COMPLEX_H
23977 #include <complex.h>
23983 int (*ptr)() = (int (*)())erfcf;
23992 if ac_fn_c_try_link
"$LINENO"; then :
23993 gcc_cv_math_func_erfcf
=yes
23995 gcc_cv_math_func_erfcf
=no
23997 rm -f core conftest.err conftest.
$ac_objext \
23998 conftest
$ac_exeext conftest.
$ac_ext
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24001 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24002 if test $gcc_cv_math_func_erfcf = yes; then
24004 cat >>confdefs.h
<<_ACEOF
24005 #define HAVE_ERFCF 1
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24014 $as_echo_n "checking for erfc... " >&6; }
24015 if ${gcc_cv_math_func_erfc+:} false
; then :
24016 $as_echo_n "(cached) " >&6
24018 if test x
$gcc_no_link = xyes
; then
24019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24024 #ifdef HAVE_COMPLEX_H
24025 #include <complex.h>
24031 int (*ptr)() = (int (*)())erfc;
24040 if ac_fn_c_try_link
"$LINENO"; then :
24041 gcc_cv_math_func_erfc
=yes
24043 gcc_cv_math_func_erfc
=no
24045 rm -f core conftest.err conftest.
$ac_objext \
24046 conftest
$ac_exeext conftest.
$ac_ext
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24049 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24050 if test $gcc_cv_math_func_erfc = yes; then
24052 cat >>confdefs.h
<<_ACEOF
24053 #define HAVE_ERFC 1
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24062 $as_echo_n "checking for erfcl... " >&6; }
24063 if ${gcc_cv_math_func_erfcl+:} false
; then :
24064 $as_echo_n "(cached) " >&6
24066 if test x
$gcc_no_link = xyes
; then
24067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h. */
24072 #ifdef HAVE_COMPLEX_H
24073 #include <complex.h>
24079 int (*ptr)() = (int (*)())erfcl;
24088 if ac_fn_c_try_link
"$LINENO"; then :
24089 gcc_cv_math_func_erfcl
=yes
24091 gcc_cv_math_func_erfcl
=no
24093 rm -f core conftest.err conftest.
$ac_objext \
24094 conftest
$ac_exeext conftest.
$ac_ext
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24097 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24098 if test $gcc_cv_math_func_erfcl = yes; then
24100 cat >>confdefs.h
<<_ACEOF
24101 #define HAVE_ERFCL 1
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24110 $as_echo_n "checking for j0f... " >&6; }
24111 if ${gcc_cv_math_func_j0f+:} false
; then :
24112 $as_echo_n "(cached) " >&6
24114 if test x
$gcc_no_link = xyes
; then
24115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24118 /* end confdefs.h. */
24120 #ifdef HAVE_COMPLEX_H
24121 #include <complex.h>
24127 int (*ptr)() = (int (*)())j0f;
24136 if ac_fn_c_try_link
"$LINENO"; then :
24137 gcc_cv_math_func_j0f
=yes
24139 gcc_cv_math_func_j0f
=no
24141 rm -f core conftest.err conftest.
$ac_objext \
24142 conftest
$ac_exeext conftest.
$ac_ext
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24145 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24146 if test $gcc_cv_math_func_j0f = yes; then
24148 cat >>confdefs.h
<<_ACEOF
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24158 $as_echo_n "checking for j0... " >&6; }
24159 if ${gcc_cv_math_func_j0+:} false
; then :
24160 $as_echo_n "(cached) " >&6
24162 if test x
$gcc_no_link = xyes
; then
24163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24166 /* end confdefs.h. */
24168 #ifdef HAVE_COMPLEX_H
24169 #include <complex.h>
24175 int (*ptr)() = (int (*)())j0;
24184 if ac_fn_c_try_link
"$LINENO"; then :
24185 gcc_cv_math_func_j0
=yes
24187 gcc_cv_math_func_j0
=no
24189 rm -f core conftest.err conftest.
$ac_objext \
24190 conftest
$ac_exeext conftest.
$ac_ext
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24193 $as_echo "$gcc_cv_math_func_j0" >&6; }
24194 if test $gcc_cv_math_func_j0 = yes; then
24196 cat >>confdefs.h
<<_ACEOF
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24206 $as_echo_n "checking for j1f... " >&6; }
24207 if ${gcc_cv_math_func_j1f+:} false
; then :
24208 $as_echo_n "(cached) " >&6
24210 if test x
$gcc_no_link = xyes
; then
24211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h. */
24216 #ifdef HAVE_COMPLEX_H
24217 #include <complex.h>
24223 int (*ptr)() = (int (*)())j1f;
24232 if ac_fn_c_try_link
"$LINENO"; then :
24233 gcc_cv_math_func_j1f
=yes
24235 gcc_cv_math_func_j1f
=no
24237 rm -f core conftest.err conftest.
$ac_objext \
24238 conftest
$ac_exeext conftest.
$ac_ext
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24241 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24242 if test $gcc_cv_math_func_j1f = yes; then
24244 cat >>confdefs.h
<<_ACEOF
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24254 $as_echo_n "checking for j1... " >&6; }
24255 if ${gcc_cv_math_func_j1+:} false
; then :
24256 $as_echo_n "(cached) " >&6
24258 if test x
$gcc_no_link = xyes
; then
24259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24262 /* end confdefs.h. */
24264 #ifdef HAVE_COMPLEX_H
24265 #include <complex.h>
24271 int (*ptr)() = (int (*)())j1;
24280 if ac_fn_c_try_link
"$LINENO"; then :
24281 gcc_cv_math_func_j1
=yes
24283 gcc_cv_math_func_j1
=no
24285 rm -f core conftest.err conftest.
$ac_objext \
24286 conftest
$ac_exeext conftest.
$ac_ext
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24289 $as_echo "$gcc_cv_math_func_j1" >&6; }
24290 if test $gcc_cv_math_func_j1 = yes; then
24292 cat >>confdefs.h
<<_ACEOF
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24302 $as_echo_n "checking for jnf... " >&6; }
24303 if ${gcc_cv_math_func_jnf+:} false
; then :
24304 $as_echo_n "(cached) " >&6
24306 if test x
$gcc_no_link = xyes
; then
24307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24310 /* end confdefs.h. */
24312 #ifdef HAVE_COMPLEX_H
24313 #include <complex.h>
24319 int (*ptr)() = (int (*)())jnf;
24328 if ac_fn_c_try_link
"$LINENO"; then :
24329 gcc_cv_math_func_jnf
=yes
24331 gcc_cv_math_func_jnf
=no
24333 rm -f core conftest.err conftest.
$ac_objext \
24334 conftest
$ac_exeext conftest.
$ac_ext
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24337 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24338 if test $gcc_cv_math_func_jnf = yes; then
24340 cat >>confdefs.h
<<_ACEOF
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24350 $as_echo_n "checking for jn... " >&6; }
24351 if ${gcc_cv_math_func_jn+:} false
; then :
24352 $as_echo_n "(cached) " >&6
24354 if test x
$gcc_no_link = xyes
; then
24355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24358 /* end confdefs.h. */
24360 #ifdef HAVE_COMPLEX_H
24361 #include <complex.h>
24367 int (*ptr)() = (int (*)())jn;
24376 if ac_fn_c_try_link
"$LINENO"; then :
24377 gcc_cv_math_func_jn
=yes
24379 gcc_cv_math_func_jn
=no
24381 rm -f core conftest.err conftest.
$ac_objext \
24382 conftest
$ac_exeext conftest.
$ac_ext
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24385 $as_echo "$gcc_cv_math_func_jn" >&6; }
24386 if test $gcc_cv_math_func_jn = yes; then
24388 cat >>confdefs.h
<<_ACEOF
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24398 $as_echo_n "checking for jnl... " >&6; }
24399 if ${gcc_cv_math_func_jnl+:} false
; then :
24400 $as_echo_n "(cached) " >&6
24402 if test x
$gcc_no_link = xyes
; then
24403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24406 /* end confdefs.h. */
24408 #ifdef HAVE_COMPLEX_H
24409 #include <complex.h>
24415 int (*ptr)() = (int (*)())jnl;
24424 if ac_fn_c_try_link
"$LINENO"; then :
24425 gcc_cv_math_func_jnl
=yes
24427 gcc_cv_math_func_jnl
=no
24429 rm -f core conftest.err conftest.
$ac_objext \
24430 conftest
$ac_exeext conftest.
$ac_ext
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24433 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24434 if test $gcc_cv_math_func_jnl = yes; then
24436 cat >>confdefs.h
<<_ACEOF
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24446 $as_echo_n "checking for y0f... " >&6; }
24447 if ${gcc_cv_math_func_y0f+:} false
; then :
24448 $as_echo_n "(cached) " >&6
24450 if test x
$gcc_no_link = xyes
; then
24451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h. */
24456 #ifdef HAVE_COMPLEX_H
24457 #include <complex.h>
24463 int (*ptr)() = (int (*)())y0f;
24472 if ac_fn_c_try_link
"$LINENO"; then :
24473 gcc_cv_math_func_y0f
=yes
24475 gcc_cv_math_func_y0f
=no
24477 rm -f core conftest.err conftest.
$ac_objext \
24478 conftest
$ac_exeext conftest.
$ac_ext
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24481 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24482 if test $gcc_cv_math_func_y0f = yes; then
24484 cat >>confdefs.h
<<_ACEOF
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24494 $as_echo_n "checking for y0... " >&6; }
24495 if ${gcc_cv_math_func_y0+:} false
; then :
24496 $as_echo_n "(cached) " >&6
24498 if test x
$gcc_no_link = xyes
; then
24499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24504 #ifdef HAVE_COMPLEX_H
24505 #include <complex.h>
24511 int (*ptr)() = (int (*)())y0;
24520 if ac_fn_c_try_link
"$LINENO"; then :
24521 gcc_cv_math_func_y0
=yes
24523 gcc_cv_math_func_y0
=no
24525 rm -f core conftest.err conftest.
$ac_objext \
24526 conftest
$ac_exeext conftest.
$ac_ext
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24529 $as_echo "$gcc_cv_math_func_y0" >&6; }
24530 if test $gcc_cv_math_func_y0 = yes; then
24532 cat >>confdefs.h
<<_ACEOF
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24542 $as_echo_n "checking for y1f... " >&6; }
24543 if ${gcc_cv_math_func_y1f+:} false
; then :
24544 $as_echo_n "(cached) " >&6
24546 if test x
$gcc_no_link = xyes
; then
24547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24550 /* end confdefs.h. */
24552 #ifdef HAVE_COMPLEX_H
24553 #include <complex.h>
24559 int (*ptr)() = (int (*)())y1f;
24568 if ac_fn_c_try_link
"$LINENO"; then :
24569 gcc_cv_math_func_y1f
=yes
24571 gcc_cv_math_func_y1f
=no
24573 rm -f core conftest.err conftest.
$ac_objext \
24574 conftest
$ac_exeext conftest.
$ac_ext
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24577 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24578 if test $gcc_cv_math_func_y1f = yes; then
24580 cat >>confdefs.h
<<_ACEOF
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24590 $as_echo_n "checking for y1... " >&6; }
24591 if ${gcc_cv_math_func_y1+:} false
; then :
24592 $as_echo_n "(cached) " >&6
24594 if test x
$gcc_no_link = xyes
; then
24595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h. */
24600 #ifdef HAVE_COMPLEX_H
24601 #include <complex.h>
24607 int (*ptr)() = (int (*)())y1;
24616 if ac_fn_c_try_link
"$LINENO"; then :
24617 gcc_cv_math_func_y1
=yes
24619 gcc_cv_math_func_y1
=no
24621 rm -f core conftest.err conftest.
$ac_objext \
24622 conftest
$ac_exeext conftest.
$ac_ext
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24625 $as_echo "$gcc_cv_math_func_y1" >&6; }
24626 if test $gcc_cv_math_func_y1 = yes; then
24628 cat >>confdefs.h
<<_ACEOF
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24638 $as_echo_n "checking for ynf... " >&6; }
24639 if ${gcc_cv_math_func_ynf+:} false
; then :
24640 $as_echo_n "(cached) " >&6
24642 if test x
$gcc_no_link = xyes
; then
24643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24646 /* end confdefs.h. */
24648 #ifdef HAVE_COMPLEX_H
24649 #include <complex.h>
24655 int (*ptr)() = (int (*)())ynf;
24664 if ac_fn_c_try_link
"$LINENO"; then :
24665 gcc_cv_math_func_ynf
=yes
24667 gcc_cv_math_func_ynf
=no
24669 rm -f core conftest.err conftest.
$ac_objext \
24670 conftest
$ac_exeext conftest.
$ac_ext
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24673 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24674 if test $gcc_cv_math_func_ynf = yes; then
24676 cat >>confdefs.h
<<_ACEOF
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24686 $as_echo_n "checking for yn... " >&6; }
24687 if ${gcc_cv_math_func_yn+:} false
; then :
24688 $as_echo_n "(cached) " >&6
24690 if test x
$gcc_no_link = xyes
; then
24691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h. */
24696 #ifdef HAVE_COMPLEX_H
24697 #include <complex.h>
24703 int (*ptr)() = (int (*)())yn;
24712 if ac_fn_c_try_link
"$LINENO"; then :
24713 gcc_cv_math_func_yn
=yes
24715 gcc_cv_math_func_yn
=no
24717 rm -f core conftest.err conftest.
$ac_objext \
24718 conftest
$ac_exeext conftest.
$ac_ext
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24721 $as_echo "$gcc_cv_math_func_yn" >&6; }
24722 if test $gcc_cv_math_func_yn = yes; then
24724 cat >>confdefs.h
<<_ACEOF
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24734 $as_echo_n "checking for ynl... " >&6; }
24735 if ${gcc_cv_math_func_ynl+:} false
; then :
24736 $as_echo_n "(cached) " >&6
24738 if test x
$gcc_no_link = xyes
; then
24739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24744 #ifdef HAVE_COMPLEX_H
24745 #include <complex.h>
24751 int (*ptr)() = (int (*)())ynl;
24760 if ac_fn_c_try_link
"$LINENO"; then :
24761 gcc_cv_math_func_ynl
=yes
24763 gcc_cv_math_func_ynl
=no
24765 rm -f core conftest.err conftest.
$ac_objext \
24766 conftest
$ac_exeext conftest.
$ac_ext
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24769 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24770 if test $gcc_cv_math_func_ynl = yes; then
24772 cat >>confdefs.h
<<_ACEOF
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24782 $as_echo_n "checking for tgamma... " >&6; }
24783 if ${gcc_cv_math_func_tgamma+:} false
; then :
24784 $as_echo_n "(cached) " >&6
24786 if test x
$gcc_no_link = xyes
; then
24787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24790 /* end confdefs.h. */
24792 #ifdef HAVE_COMPLEX_H
24793 #include <complex.h>
24799 int (*ptr)() = (int (*)())tgamma;
24808 if ac_fn_c_try_link
"$LINENO"; then :
24809 gcc_cv_math_func_tgamma
=yes
24811 gcc_cv_math_func_tgamma
=no
24813 rm -f core conftest.err conftest.
$ac_objext \
24814 conftest
$ac_exeext conftest.
$ac_ext
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24817 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24818 if test $gcc_cv_math_func_tgamma = yes; then
24820 cat >>confdefs.h
<<_ACEOF
24821 #define HAVE_TGAMMA 1
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24830 $as_echo_n "checking for tgammaf... " >&6; }
24831 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24832 $as_echo_n "(cached) " >&6
24834 if test x
$gcc_no_link = xyes
; then
24835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24838 /* end confdefs.h. */
24840 #ifdef HAVE_COMPLEX_H
24841 #include <complex.h>
24847 int (*ptr)() = (int (*)())tgammaf;
24856 if ac_fn_c_try_link
"$LINENO"; then :
24857 gcc_cv_math_func_tgammaf
=yes
24859 gcc_cv_math_func_tgammaf
=no
24861 rm -f core conftest.err conftest.
$ac_objext \
24862 conftest
$ac_exeext conftest.
$ac_ext
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24865 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24866 if test $gcc_cv_math_func_tgammaf = yes; then
24868 cat >>confdefs.h
<<_ACEOF
24869 #define HAVE_TGAMMAF 1
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24878 $as_echo_n "checking for lgamma... " >&6; }
24879 if ${gcc_cv_math_func_lgamma+:} false
; then :
24880 $as_echo_n "(cached) " >&6
24882 if test x
$gcc_no_link = xyes
; then
24883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24886 /* end confdefs.h. */
24888 #ifdef HAVE_COMPLEX_H
24889 #include <complex.h>
24895 int (*ptr)() = (int (*)())lgamma;
24904 if ac_fn_c_try_link
"$LINENO"; then :
24905 gcc_cv_math_func_lgamma
=yes
24907 gcc_cv_math_func_lgamma
=no
24909 rm -f core conftest.err conftest.
$ac_objext \
24910 conftest
$ac_exeext conftest.
$ac_ext
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24913 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24914 if test $gcc_cv_math_func_lgamma = yes; then
24916 cat >>confdefs.h
<<_ACEOF
24917 #define HAVE_LGAMMA 1
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24926 $as_echo_n "checking for lgammaf... " >&6; }
24927 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24928 $as_echo_n "(cached) " >&6
24930 if test x
$gcc_no_link = xyes
; then
24931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24934 /* end confdefs.h. */
24936 #ifdef HAVE_COMPLEX_H
24937 #include <complex.h>
24943 int (*ptr)() = (int (*)())lgammaf;
24952 if ac_fn_c_try_link
"$LINENO"; then :
24953 gcc_cv_math_func_lgammaf
=yes
24955 gcc_cv_math_func_lgammaf
=no
24957 rm -f core conftest.err conftest.
$ac_objext \
24958 conftest
$ac_exeext conftest.
$ac_ext
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24961 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24962 if test $gcc_cv_math_func_lgammaf = yes; then
24964 cat >>confdefs.h
<<_ACEOF
24965 #define HAVE_LGAMMAF 1
24971 # Check for GFORTRAN_C99_1.1 funcs
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24976 $as_echo_n "checking for cacos... " >&6; }
24977 if ${gcc_cv_math_func_cacos+:} false
; then :
24978 $as_echo_n "(cached) " >&6
24980 if test x
$gcc_no_link = xyes
; then
24981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24984 /* end confdefs.h. */
24986 #ifdef HAVE_COMPLEX_H
24987 #include <complex.h>
24993 int (*ptr)() = (int (*)())cacos;
25002 if ac_fn_c_try_link
"$LINENO"; then :
25003 gcc_cv_math_func_cacos
=yes
25005 gcc_cv_math_func_cacos
=no
25007 rm -f core conftest.err conftest.
$ac_objext \
25008 conftest
$ac_exeext conftest.
$ac_ext
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25011 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25012 if test $gcc_cv_math_func_cacos = yes; then
25014 cat >>confdefs.h
<<_ACEOF
25015 #define HAVE_CACOS 1
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25024 $as_echo_n "checking for cacosf... " >&6; }
25025 if ${gcc_cv_math_func_cacosf+:} false
; then :
25026 $as_echo_n "(cached) " >&6
25028 if test x
$gcc_no_link = xyes
; then
25029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25034 #ifdef HAVE_COMPLEX_H
25035 #include <complex.h>
25041 int (*ptr)() = (int (*)())cacosf;
25050 if ac_fn_c_try_link
"$LINENO"; then :
25051 gcc_cv_math_func_cacosf
=yes
25053 gcc_cv_math_func_cacosf
=no
25055 rm -f core conftest.err conftest.
$ac_objext \
25056 conftest
$ac_exeext conftest.
$ac_ext
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25059 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25060 if test $gcc_cv_math_func_cacosf = yes; then
25062 cat >>confdefs.h
<<_ACEOF
25063 #define HAVE_CACOSF 1
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25072 $as_echo_n "checking for cacosh... " >&6; }
25073 if ${gcc_cv_math_func_cacosh+:} false
; then :
25074 $as_echo_n "(cached) " >&6
25076 if test x
$gcc_no_link = xyes
; then
25077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25082 #ifdef HAVE_COMPLEX_H
25083 #include <complex.h>
25089 int (*ptr)() = (int (*)())cacosh;
25098 if ac_fn_c_try_link
"$LINENO"; then :
25099 gcc_cv_math_func_cacosh
=yes
25101 gcc_cv_math_func_cacosh
=no
25103 rm -f core conftest.err conftest.
$ac_objext \
25104 conftest
$ac_exeext conftest.
$ac_ext
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25107 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25108 if test $gcc_cv_math_func_cacosh = yes; then
25110 cat >>confdefs.h
<<_ACEOF
25111 #define HAVE_CACOSH 1
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25120 $as_echo_n "checking for cacoshf... " >&6; }
25121 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25122 $as_echo_n "(cached) " >&6
25124 if test x
$gcc_no_link = xyes
; then
25125 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25130 #ifdef HAVE_COMPLEX_H
25131 #include <complex.h>
25137 int (*ptr)() = (int (*)())cacoshf;
25146 if ac_fn_c_try_link
"$LINENO"; then :
25147 gcc_cv_math_func_cacoshf
=yes
25149 gcc_cv_math_func_cacoshf
=no
25151 rm -f core conftest.err conftest.
$ac_objext \
25152 conftest
$ac_exeext conftest.
$ac_ext
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25155 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25156 if test $gcc_cv_math_func_cacoshf = yes; then
25158 cat >>confdefs.h
<<_ACEOF
25159 #define HAVE_CACOSHF 1
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25168 $as_echo_n "checking for cacoshl... " >&6; }
25169 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25170 $as_echo_n "(cached) " >&6
25172 if test x
$gcc_no_link = xyes
; then
25173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25176 /* end confdefs.h. */
25178 #ifdef HAVE_COMPLEX_H
25179 #include <complex.h>
25185 int (*ptr)() = (int (*)())cacoshl;
25194 if ac_fn_c_try_link
"$LINENO"; then :
25195 gcc_cv_math_func_cacoshl
=yes
25197 gcc_cv_math_func_cacoshl
=no
25199 rm -f core conftest.err conftest.
$ac_objext \
25200 conftest
$ac_exeext conftest.
$ac_ext
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25203 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25204 if test $gcc_cv_math_func_cacoshl = yes; then
25206 cat >>confdefs.h
<<_ACEOF
25207 #define HAVE_CACOSHL 1
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25216 $as_echo_n "checking for cacosl... " >&6; }
25217 if ${gcc_cv_math_func_cacosl+:} false
; then :
25218 $as_echo_n "(cached) " >&6
25220 if test x
$gcc_no_link = xyes
; then
25221 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25226 #ifdef HAVE_COMPLEX_H
25227 #include <complex.h>
25233 int (*ptr)() = (int (*)())cacosl;
25242 if ac_fn_c_try_link
"$LINENO"; then :
25243 gcc_cv_math_func_cacosl
=yes
25245 gcc_cv_math_func_cacosl
=no
25247 rm -f core conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25251 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25252 if test $gcc_cv_math_func_cacosl = yes; then
25254 cat >>confdefs.h
<<_ACEOF
25255 #define HAVE_CACOSL 1
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25264 $as_echo_n "checking for casin... " >&6; }
25265 if ${gcc_cv_math_func_casin+:} false
; then :
25266 $as_echo_n "(cached) " >&6
25268 if test x
$gcc_no_link = xyes
; then
25269 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25272 /* end confdefs.h. */
25274 #ifdef HAVE_COMPLEX_H
25275 #include <complex.h>
25281 int (*ptr)() = (int (*)())casin;
25290 if ac_fn_c_try_link
"$LINENO"; then :
25291 gcc_cv_math_func_casin
=yes
25293 gcc_cv_math_func_casin
=no
25295 rm -f core conftest.err conftest.
$ac_objext \
25296 conftest
$ac_exeext conftest.
$ac_ext
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25299 $as_echo "$gcc_cv_math_func_casin" >&6; }
25300 if test $gcc_cv_math_func_casin = yes; then
25302 cat >>confdefs.h
<<_ACEOF
25303 #define HAVE_CASIN 1
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25312 $as_echo_n "checking for casinf... " >&6; }
25313 if ${gcc_cv_math_func_casinf+:} false
; then :
25314 $as_echo_n "(cached) " >&6
25316 if test x
$gcc_no_link = xyes
; then
25317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25320 /* end confdefs.h. */
25322 #ifdef HAVE_COMPLEX_H
25323 #include <complex.h>
25329 int (*ptr)() = (int (*)())casinf;
25338 if ac_fn_c_try_link
"$LINENO"; then :
25339 gcc_cv_math_func_casinf
=yes
25341 gcc_cv_math_func_casinf
=no
25343 rm -f core conftest.err conftest.
$ac_objext \
25344 conftest
$ac_exeext conftest.
$ac_ext
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25347 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25348 if test $gcc_cv_math_func_casinf = yes; then
25350 cat >>confdefs.h
<<_ACEOF
25351 #define HAVE_CASINF 1
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25360 $as_echo_n "checking for casinh... " >&6; }
25361 if ${gcc_cv_math_func_casinh+:} false
; then :
25362 $as_echo_n "(cached) " >&6
25364 if test x
$gcc_no_link = xyes
; then
25365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25368 /* end confdefs.h. */
25370 #ifdef HAVE_COMPLEX_H
25371 #include <complex.h>
25377 int (*ptr)() = (int (*)())casinh;
25386 if ac_fn_c_try_link
"$LINENO"; then :
25387 gcc_cv_math_func_casinh
=yes
25389 gcc_cv_math_func_casinh
=no
25391 rm -f core conftest.err conftest.
$ac_objext \
25392 conftest
$ac_exeext conftest.
$ac_ext
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25395 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25396 if test $gcc_cv_math_func_casinh = yes; then
25398 cat >>confdefs.h
<<_ACEOF
25399 #define HAVE_CASINH 1
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25408 $as_echo_n "checking for casinhf... " >&6; }
25409 if ${gcc_cv_math_func_casinhf+:} false
; then :
25410 $as_echo_n "(cached) " >&6
25412 if test x
$gcc_no_link = xyes
; then
25413 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25418 #ifdef HAVE_COMPLEX_H
25419 #include <complex.h>
25425 int (*ptr)() = (int (*)())casinhf;
25434 if ac_fn_c_try_link
"$LINENO"; then :
25435 gcc_cv_math_func_casinhf
=yes
25437 gcc_cv_math_func_casinhf
=no
25439 rm -f core conftest.err conftest.
$ac_objext \
25440 conftest
$ac_exeext conftest.
$ac_ext
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25443 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25444 if test $gcc_cv_math_func_casinhf = yes; then
25446 cat >>confdefs.h
<<_ACEOF
25447 #define HAVE_CASINHF 1
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25456 $as_echo_n "checking for casinhl... " >&6; }
25457 if ${gcc_cv_math_func_casinhl+:} false
; then :
25458 $as_echo_n "(cached) " >&6
25460 if test x
$gcc_no_link = xyes
; then
25461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25464 /* end confdefs.h. */
25466 #ifdef HAVE_COMPLEX_H
25467 #include <complex.h>
25473 int (*ptr)() = (int (*)())casinhl;
25482 if ac_fn_c_try_link
"$LINENO"; then :
25483 gcc_cv_math_func_casinhl
=yes
25485 gcc_cv_math_func_casinhl
=no
25487 rm -f core conftest.err conftest.
$ac_objext \
25488 conftest
$ac_exeext conftest.
$ac_ext
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25491 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25492 if test $gcc_cv_math_func_casinhl = yes; then
25494 cat >>confdefs.h
<<_ACEOF
25495 #define HAVE_CASINHL 1
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25504 $as_echo_n "checking for casinl... " >&6; }
25505 if ${gcc_cv_math_func_casinl+:} false
; then :
25506 $as_echo_n "(cached) " >&6
25508 if test x
$gcc_no_link = xyes
; then
25509 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25514 #ifdef HAVE_COMPLEX_H
25515 #include <complex.h>
25521 int (*ptr)() = (int (*)())casinl;
25530 if ac_fn_c_try_link
"$LINENO"; then :
25531 gcc_cv_math_func_casinl
=yes
25533 gcc_cv_math_func_casinl
=no
25535 rm -f core conftest.err conftest.
$ac_objext \
25536 conftest
$ac_exeext conftest.
$ac_ext
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25539 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25540 if test $gcc_cv_math_func_casinl = yes; then
25542 cat >>confdefs.h
<<_ACEOF
25543 #define HAVE_CASINL 1
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25552 $as_echo_n "checking for catan... " >&6; }
25553 if ${gcc_cv_math_func_catan+:} false
; then :
25554 $as_echo_n "(cached) " >&6
25556 if test x
$gcc_no_link = xyes
; then
25557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25562 #ifdef HAVE_COMPLEX_H
25563 #include <complex.h>
25569 int (*ptr)() = (int (*)())catan;
25578 if ac_fn_c_try_link
"$LINENO"; then :
25579 gcc_cv_math_func_catan
=yes
25581 gcc_cv_math_func_catan
=no
25583 rm -f core conftest.err conftest.
$ac_objext \
25584 conftest
$ac_exeext conftest.
$ac_ext
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25587 $as_echo "$gcc_cv_math_func_catan" >&6; }
25588 if test $gcc_cv_math_func_catan = yes; then
25590 cat >>confdefs.h
<<_ACEOF
25591 #define HAVE_CATAN 1
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25600 $as_echo_n "checking for catanf... " >&6; }
25601 if ${gcc_cv_math_func_catanf+:} false
; then :
25602 $as_echo_n "(cached) " >&6
25604 if test x
$gcc_no_link = xyes
; then
25605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25608 /* end confdefs.h. */
25610 #ifdef HAVE_COMPLEX_H
25611 #include <complex.h>
25617 int (*ptr)() = (int (*)())catanf;
25626 if ac_fn_c_try_link
"$LINENO"; then :
25627 gcc_cv_math_func_catanf
=yes
25629 gcc_cv_math_func_catanf
=no
25631 rm -f core conftest.err conftest.
$ac_objext \
25632 conftest
$ac_exeext conftest.
$ac_ext
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25635 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25636 if test $gcc_cv_math_func_catanf = yes; then
25638 cat >>confdefs.h
<<_ACEOF
25639 #define HAVE_CATANF 1
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25648 $as_echo_n "checking for catanh... " >&6; }
25649 if ${gcc_cv_math_func_catanh+:} false
; then :
25650 $as_echo_n "(cached) " >&6
25652 if test x
$gcc_no_link = xyes
; then
25653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25656 /* end confdefs.h. */
25658 #ifdef HAVE_COMPLEX_H
25659 #include <complex.h>
25665 int (*ptr)() = (int (*)())catanh;
25674 if ac_fn_c_try_link
"$LINENO"; then :
25675 gcc_cv_math_func_catanh
=yes
25677 gcc_cv_math_func_catanh
=no
25679 rm -f core conftest.err conftest.
$ac_objext \
25680 conftest
$ac_exeext conftest.
$ac_ext
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25683 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25684 if test $gcc_cv_math_func_catanh = yes; then
25686 cat >>confdefs.h
<<_ACEOF
25687 #define HAVE_CATANH 1
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25696 $as_echo_n "checking for catanhf... " >&6; }
25697 if ${gcc_cv_math_func_catanhf+:} false
; then :
25698 $as_echo_n "(cached) " >&6
25700 if test x
$gcc_no_link = xyes
; then
25701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25704 /* end confdefs.h. */
25706 #ifdef HAVE_COMPLEX_H
25707 #include <complex.h>
25713 int (*ptr)() = (int (*)())catanhf;
25722 if ac_fn_c_try_link
"$LINENO"; then :
25723 gcc_cv_math_func_catanhf
=yes
25725 gcc_cv_math_func_catanhf
=no
25727 rm -f core conftest.err conftest.
$ac_objext \
25728 conftest
$ac_exeext conftest.
$ac_ext
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25731 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25732 if test $gcc_cv_math_func_catanhf = yes; then
25734 cat >>confdefs.h
<<_ACEOF
25735 #define HAVE_CATANHF 1
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25744 $as_echo_n "checking for catanhl... " >&6; }
25745 if ${gcc_cv_math_func_catanhl+:} false
; then :
25746 $as_echo_n "(cached) " >&6
25748 if test x
$gcc_no_link = xyes
; then
25749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25754 #ifdef HAVE_COMPLEX_H
25755 #include <complex.h>
25761 int (*ptr)() = (int (*)())catanhl;
25770 if ac_fn_c_try_link
"$LINENO"; then :
25771 gcc_cv_math_func_catanhl
=yes
25773 gcc_cv_math_func_catanhl
=no
25775 rm -f core conftest.err conftest.
$ac_objext \
25776 conftest
$ac_exeext conftest.
$ac_ext
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25779 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25780 if test $gcc_cv_math_func_catanhl = yes; then
25782 cat >>confdefs.h
<<_ACEOF
25783 #define HAVE_CATANHL 1
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25792 $as_echo_n "checking for catanl... " >&6; }
25793 if ${gcc_cv_math_func_catanl+:} false
; then :
25794 $as_echo_n "(cached) " >&6
25796 if test x
$gcc_no_link = xyes
; then
25797 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25800 /* end confdefs.h. */
25802 #ifdef HAVE_COMPLEX_H
25803 #include <complex.h>
25809 int (*ptr)() = (int (*)())catanl;
25818 if ac_fn_c_try_link
"$LINENO"; then :
25819 gcc_cv_math_func_catanl
=yes
25821 gcc_cv_math_func_catanl
=no
25823 rm -f core conftest.err conftest.
$ac_objext \
25824 conftest
$ac_exeext conftest.
$ac_ext
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25827 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25828 if test $gcc_cv_math_func_catanl = yes; then
25830 cat >>confdefs.h
<<_ACEOF
25831 #define HAVE_CATANL 1
25837 # For POWER, check the ieee128 math functions
25839 if test "x$have_real_17" = "xyes"; then
25841 cat >>confdefs.h
<<_ACEOF
25842 #define HAVE_REAL_17 1
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25850 $as_echo_n "checking for __acoshieee128... " >&6; }
25851 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
25852 $as_echo_n "(cached) " >&6
25854 if test x
$gcc_no_link = xyes
; then
25855 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25858 /* end confdefs.h. */
25860 __float128 __acoshieee128 (__float128);
25861 __float128 (*ptr)(__float128) = __acoshieee128;
25870 if ac_fn_c_try_link
"$LINENO"; then :
25871 gcc_cv_math_func___acoshieee128
=yes
25873 gcc_cv_math_func___acoshieee128
=no
25875 rm -f core conftest.err conftest.
$ac_objext \
25876 conftest
$ac_exeext conftest.
$ac_ext
25878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25879 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25880 if test $gcc_cv_math_func___acoshieee128 = yes; then
25882 cat >>confdefs.h
<<_ACEOF
25883 #define HAVE___ACOSHIEEE128 1
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25892 $as_echo_n "checking for __acosieee128... " >&6; }
25893 if ${gcc_cv_math_func___acosieee128+:} false
; then :
25894 $as_echo_n "(cached) " >&6
25896 if test x
$gcc_no_link = xyes
; then
25897 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h. */
25902 __float128 __acosieee128 (__float128);
25903 __float128 (*ptr)(__float128) = __acosieee128;
25912 if ac_fn_c_try_link
"$LINENO"; then :
25913 gcc_cv_math_func___acosieee128
=yes
25915 gcc_cv_math_func___acosieee128
=no
25917 rm -f core conftest.err conftest.
$ac_objext \
25918 conftest
$ac_exeext conftest.
$ac_ext
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25921 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25922 if test $gcc_cv_math_func___acosieee128 = yes; then
25924 cat >>confdefs.h
<<_ACEOF
25925 #define HAVE___ACOSIEEE128 1
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25934 $as_echo_n "checking for __asinhieee128... " >&6; }
25935 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
25936 $as_echo_n "(cached) " >&6
25938 if test x
$gcc_no_link = xyes
; then
25939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25942 /* end confdefs.h. */
25944 __float128 __asinhieee128 (__float128);
25945 __float128 (*ptr)(__float128) = __asinhieee128;
25954 if ac_fn_c_try_link
"$LINENO"; then :
25955 gcc_cv_math_func___asinhieee128
=yes
25957 gcc_cv_math_func___asinhieee128
=no
25959 rm -f core conftest.err conftest.
$ac_objext \
25960 conftest
$ac_exeext conftest.
$ac_ext
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25963 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25964 if test $gcc_cv_math_func___asinhieee128 = yes; then
25966 cat >>confdefs.h
<<_ACEOF
25967 #define HAVE___ASINHIEEE128 1
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25976 $as_echo_n "checking for __asinieee128... " >&6; }
25977 if ${gcc_cv_math_func___asinieee128+:} false
; then :
25978 $as_echo_n "(cached) " >&6
25980 if test x
$gcc_no_link = xyes
; then
25981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25984 /* end confdefs.h. */
25986 __float128 __asinieee128 (__float128);
25987 __float128 (*ptr)(__float128) = __asinieee128;
25996 if ac_fn_c_try_link
"$LINENO"; then :
25997 gcc_cv_math_func___asinieee128
=yes
25999 gcc_cv_math_func___asinieee128
=no
26001 rm -f core conftest.err conftest.
$ac_objext \
26002 conftest
$ac_exeext conftest.
$ac_ext
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26005 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26006 if test $gcc_cv_math_func___asinieee128 = yes; then
26008 cat >>confdefs.h
<<_ACEOF
26009 #define HAVE___ASINIEEE128 1
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26018 $as_echo_n "checking for __atan2ieee128... " >&6; }
26019 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26020 $as_echo_n "(cached) " >&6
26022 if test x
$gcc_no_link = xyes
; then
26023 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26026 /* end confdefs.h. */
26028 __float128 __atan2ieee128 (__float128);
26029 __float128 (*ptr)(__float128) = __atan2ieee128;
26038 if ac_fn_c_try_link
"$LINENO"; then :
26039 gcc_cv_math_func___atan2ieee128
=yes
26041 gcc_cv_math_func___atan2ieee128
=no
26043 rm -f core conftest.err conftest.
$ac_objext \
26044 conftest
$ac_exeext conftest.
$ac_ext
26046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26047 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26048 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26050 cat >>confdefs.h
<<_ACEOF
26051 #define HAVE___ATAN2IEEE128 1
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26060 $as_echo_n "checking for __atanhieee128... " >&6; }
26061 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26062 $as_echo_n "(cached) " >&6
26064 if test x
$gcc_no_link = xyes
; then
26065 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26068 /* end confdefs.h. */
26070 __float128 __atanhieee128 (__float128);
26071 __float128 (*ptr)(__float128) = __atanhieee128;
26080 if ac_fn_c_try_link
"$LINENO"; then :
26081 gcc_cv_math_func___atanhieee128
=yes
26083 gcc_cv_math_func___atanhieee128
=no
26085 rm -f core conftest.err conftest.
$ac_objext \
26086 conftest
$ac_exeext conftest.
$ac_ext
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26089 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26090 if test $gcc_cv_math_func___atanhieee128 = yes; then
26092 cat >>confdefs.h
<<_ACEOF
26093 #define HAVE___ATANHIEEE128 1
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26102 $as_echo_n "checking for __atanieee128... " >&6; }
26103 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26104 $as_echo_n "(cached) " >&6
26106 if test x
$gcc_no_link = xyes
; then
26107 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26110 /* end confdefs.h. */
26112 __float128 __atanieee128 (__float128);
26113 __float128 (*ptr)(__float128) = __atanieee128;
26122 if ac_fn_c_try_link
"$LINENO"; then :
26123 gcc_cv_math_func___atanieee128
=yes
26125 gcc_cv_math_func___atanieee128
=no
26127 rm -f core conftest.err conftest.
$ac_objext \
26128 conftest
$ac_exeext conftest.
$ac_ext
26130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26131 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26132 if test $gcc_cv_math_func___atanieee128 = yes; then
26134 cat >>confdefs.h
<<_ACEOF
26135 #define HAVE___ATANIEEE128 1
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26144 $as_echo_n "checking for __coshieee128... " >&6; }
26145 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26146 $as_echo_n "(cached) " >&6
26148 if test x
$gcc_no_link = xyes
; then
26149 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26152 /* end confdefs.h. */
26154 __float128 __coshieee128 (__float128);
26155 __float128 (*ptr)(__float128) = __coshieee128;
26164 if ac_fn_c_try_link
"$LINENO"; then :
26165 gcc_cv_math_func___coshieee128
=yes
26167 gcc_cv_math_func___coshieee128
=no
26169 rm -f core conftest.err conftest.
$ac_objext \
26170 conftest
$ac_exeext conftest.
$ac_ext
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26173 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26174 if test $gcc_cv_math_func___coshieee128 = yes; then
26176 cat >>confdefs.h
<<_ACEOF
26177 #define HAVE___COSHIEEE128 1
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26186 $as_echo_n "checking for __cosieee128... " >&6; }
26187 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26188 $as_echo_n "(cached) " >&6
26190 if test x
$gcc_no_link = xyes
; then
26191 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h. */
26196 __float128 __cosieee128 (__float128);
26197 __float128 (*ptr)(__float128) = __cosieee128;
26206 if ac_fn_c_try_link
"$LINENO"; then :
26207 gcc_cv_math_func___cosieee128
=yes
26209 gcc_cv_math_func___cosieee128
=no
26211 rm -f core conftest.err conftest.
$ac_objext \
26212 conftest
$ac_exeext conftest.
$ac_ext
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26215 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26216 if test $gcc_cv_math_func___cosieee128 = yes; then
26218 cat >>confdefs.h
<<_ACEOF
26219 #define HAVE___COSIEEE128 1
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26228 $as_echo_n "checking for __erfieee128... " >&6; }
26229 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26230 $as_echo_n "(cached) " >&6
26232 if test x
$gcc_no_link = xyes
; then
26233 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26236 /* end confdefs.h. */
26238 __float128 __erfieee128 (__float128);
26239 __float128 (*ptr)(__float128) = __erfieee128;
26248 if ac_fn_c_try_link
"$LINENO"; then :
26249 gcc_cv_math_func___erfieee128
=yes
26251 gcc_cv_math_func___erfieee128
=no
26253 rm -f core conftest.err conftest.
$ac_objext \
26254 conftest
$ac_exeext conftest.
$ac_ext
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26257 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26258 if test $gcc_cv_math_func___erfieee128 = yes; then
26260 cat >>confdefs.h
<<_ACEOF
26261 #define HAVE___ERFIEEE128 1
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26270 $as_echo_n "checking for __expieee128... " >&6; }
26271 if ${gcc_cv_math_func___expieee128+:} false
; then :
26272 $as_echo_n "(cached) " >&6
26274 if test x
$gcc_no_link = xyes
; then
26275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26278 /* end confdefs.h. */
26280 __float128 __expieee128 (__float128);
26281 __float128 (*ptr)(__float128) = __expieee128;
26290 if ac_fn_c_try_link
"$LINENO"; then :
26291 gcc_cv_math_func___expieee128
=yes
26293 gcc_cv_math_func___expieee128
=no
26295 rm -f core conftest.err conftest.
$ac_objext \
26296 conftest
$ac_exeext conftest.
$ac_ext
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26299 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26300 if test $gcc_cv_math_func___expieee128 = yes; then
26302 cat >>confdefs.h
<<_ACEOF
26303 #define HAVE___EXPIEEE128 1
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26312 $as_echo_n "checking for __fabsieee128... " >&6; }
26313 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26314 $as_echo_n "(cached) " >&6
26316 if test x
$gcc_no_link = xyes
; then
26317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26320 /* end confdefs.h. */
26322 __float128 __fabsieee128 (__float128);
26323 __float128 (*ptr)(__float128) = __fabsieee128;
26332 if ac_fn_c_try_link
"$LINENO"; then :
26333 gcc_cv_math_func___fabsieee128
=yes
26335 gcc_cv_math_func___fabsieee128
=no
26337 rm -f core conftest.err conftest.
$ac_objext \
26338 conftest
$ac_exeext conftest.
$ac_ext
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26341 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26342 if test $gcc_cv_math_func___fabsieee128 = yes; then
26344 cat >>confdefs.h
<<_ACEOF
26345 #define HAVE___FABSIEEE128 1
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26354 $as_echo_n "checking for __jnieee128... " >&6; }
26355 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26356 $as_echo_n "(cached) " >&6
26358 if test x
$gcc_no_link = xyes
; then
26359 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26362 /* end confdefs.h. */
26364 __float128 __jnieee128 (__float128);
26365 __float128 (*ptr)(__float128) = __jnieee128;
26374 if ac_fn_c_try_link
"$LINENO"; then :
26375 gcc_cv_math_func___jnieee128
=yes
26377 gcc_cv_math_func___jnieee128
=no
26379 rm -f core conftest.err conftest.
$ac_objext \
26380 conftest
$ac_exeext conftest.
$ac_ext
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26383 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26384 if test $gcc_cv_math_func___jnieee128 = yes; then
26386 cat >>confdefs.h
<<_ACEOF
26387 #define HAVE___JNIEEE128 1
26395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26396 $as_echo_n "checking for __log10ieee128... " >&6; }
26397 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26398 $as_echo_n "(cached) " >&6
26400 if test x
$gcc_no_link = xyes
; then
26401 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h. */
26406 __float128 __log10ieee128 (__float128);
26407 __float128 (*ptr)(__float128) = __log10ieee128;
26416 if ac_fn_c_try_link
"$LINENO"; then :
26417 gcc_cv_math_func___log10ieee128
=yes
26419 gcc_cv_math_func___log10ieee128
=no
26421 rm -f core conftest.err conftest.
$ac_objext \
26422 conftest
$ac_exeext conftest.
$ac_ext
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26425 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26426 if test $gcc_cv_math_func___log10ieee128 = yes; then
26428 cat >>confdefs.h
<<_ACEOF
26429 #define HAVE___LOG10IEEE128 1
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26438 $as_echo_n "checking for __logieee128... " >&6; }
26439 if ${gcc_cv_math_func___logieee128+:} false
; then :
26440 $as_echo_n "(cached) " >&6
26442 if test x
$gcc_no_link = xyes
; then
26443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26446 /* end confdefs.h. */
26448 __float128 __logieee128 (__float128);
26449 __float128 (*ptr)(__float128) = __logieee128;
26458 if ac_fn_c_try_link
"$LINENO"; then :
26459 gcc_cv_math_func___logieee128
=yes
26461 gcc_cv_math_func___logieee128
=no
26463 rm -f core conftest.err conftest.
$ac_objext \
26464 conftest
$ac_exeext conftest.
$ac_ext
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26467 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26468 if test $gcc_cv_math_func___logieee128 = yes; then
26470 cat >>confdefs.h
<<_ACEOF
26471 #define HAVE___LOGIEEE128 1
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26480 $as_echo_n "checking for __powieee128... " >&6; }
26481 if ${gcc_cv_math_func___powieee128+:} false
; then :
26482 $as_echo_n "(cached) " >&6
26484 if test x
$gcc_no_link = xyes
; then
26485 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26490 __float128 __powieee128 (__float128);
26491 __float128 (*ptr)(__float128) = __powieee128;
26500 if ac_fn_c_try_link
"$LINENO"; then :
26501 gcc_cv_math_func___powieee128
=yes
26503 gcc_cv_math_func___powieee128
=no
26505 rm -f core conftest.err conftest.
$ac_objext \
26506 conftest
$ac_exeext conftest.
$ac_ext
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26509 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26510 if test $gcc_cv_math_func___powieee128 = yes; then
26512 cat >>confdefs.h
<<_ACEOF
26513 #define HAVE___POWIEEE128 1
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26522 $as_echo_n "checking for __sinhieee128... " >&6; }
26523 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26524 $as_echo_n "(cached) " >&6
26526 if test x
$gcc_no_link = xyes
; then
26527 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26530 /* end confdefs.h. */
26532 __float128 __sinhieee128 (__float128);
26533 __float128 (*ptr)(__float128) = __sinhieee128;
26542 if ac_fn_c_try_link
"$LINENO"; then :
26543 gcc_cv_math_func___sinhieee128
=yes
26545 gcc_cv_math_func___sinhieee128
=no
26547 rm -f core conftest.err conftest.
$ac_objext \
26548 conftest
$ac_exeext conftest.
$ac_ext
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26551 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26552 if test $gcc_cv_math_func___sinhieee128 = yes; then
26554 cat >>confdefs.h
<<_ACEOF
26555 #define HAVE___SINHIEEE128 1
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26564 $as_echo_n "checking for __sinieee128... " >&6; }
26565 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26566 $as_echo_n "(cached) " >&6
26568 if test x
$gcc_no_link = xyes
; then
26569 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26572 /* end confdefs.h. */
26574 __float128 __sinieee128 (__float128);
26575 __float128 (*ptr)(__float128) = __sinieee128;
26584 if ac_fn_c_try_link
"$LINENO"; then :
26585 gcc_cv_math_func___sinieee128
=yes
26587 gcc_cv_math_func___sinieee128
=no
26589 rm -f core conftest.err conftest.
$ac_objext \
26590 conftest
$ac_exeext conftest.
$ac_ext
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26593 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26594 if test $gcc_cv_math_func___sinieee128 = yes; then
26596 cat >>confdefs.h
<<_ACEOF
26597 #define HAVE___SINIEEE128 1
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26606 $as_echo_n "checking for __sqrtieee128... " >&6; }
26607 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26608 $as_echo_n "(cached) " >&6
26610 if test x
$gcc_no_link = xyes
; then
26611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26614 /* end confdefs.h. */
26616 __float128 __sqrtieee128 (__float128);
26617 __float128 (*ptr)(__float128) = __sqrtieee128;
26626 if ac_fn_c_try_link
"$LINENO"; then :
26627 gcc_cv_math_func___sqrtieee128
=yes
26629 gcc_cv_math_func___sqrtieee128
=no
26631 rm -f core conftest.err conftest.
$ac_objext \
26632 conftest
$ac_exeext conftest.
$ac_ext
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26635 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26636 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26638 cat >>confdefs.h
<<_ACEOF
26639 #define HAVE___SQRTIEEE128 1
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26648 $as_echo_n "checking for __tanhieee128... " >&6; }
26649 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26650 $as_echo_n "(cached) " >&6
26652 if test x
$gcc_no_link = xyes
; then
26653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26656 /* end confdefs.h. */
26658 __float128 __tanhieee128 (__float128);
26659 __float128 (*ptr)(__float128) = __tanhieee128;
26668 if ac_fn_c_try_link
"$LINENO"; then :
26669 gcc_cv_math_func___tanhieee128
=yes
26671 gcc_cv_math_func___tanhieee128
=no
26673 rm -f core conftest.err conftest.
$ac_objext \
26674 conftest
$ac_exeext conftest.
$ac_ext
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26677 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26678 if test $gcc_cv_math_func___tanhieee128 = yes; then
26680 cat >>confdefs.h
<<_ACEOF
26681 #define HAVE___TANHIEEE128 1
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26690 $as_echo_n "checking for __tanieee128... " >&6; }
26691 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26692 $as_echo_n "(cached) " >&6
26694 if test x
$gcc_no_link = xyes
; then
26695 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26700 __float128 __tanieee128 (__float128);
26701 __float128 (*ptr)(__float128) = __tanieee128;
26710 if ac_fn_c_try_link
"$LINENO"; then :
26711 gcc_cv_math_func___tanieee128
=yes
26713 gcc_cv_math_func___tanieee128
=no
26715 rm -f core conftest.err conftest.
$ac_objext \
26716 conftest
$ac_exeext conftest.
$ac_ext
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26719 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26720 if test $gcc_cv_math_func___tanieee128 = yes; then
26722 cat >>confdefs.h
<<_ACEOF
26723 #define HAVE___TANIEEE128 1
26731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26732 $as_echo_n "checking for __ynieee128... " >&6; }
26733 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26734 $as_echo_n "(cached) " >&6
26736 if test x
$gcc_no_link = xyes
; then
26737 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26740 /* end confdefs.h. */
26742 __float128 __ynieee128 (__float128);
26743 __float128 (*ptr)(__float128) = __ynieee128;
26752 if ac_fn_c_try_link
"$LINENO"; then :
26753 gcc_cv_math_func___ynieee128
=yes
26755 gcc_cv_math_func___ynieee128
=no
26757 rm -f core conftest.err conftest.
$ac_objext \
26758 conftest
$ac_exeext conftest.
$ac_ext
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26761 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26762 if test $gcc_cv_math_func___ynieee128 = yes; then
26764 cat >>confdefs.h
<<_ACEOF
26765 #define HAVE___YNIEEE128 1
26772 # On AIX, clog is present in libm as __clog
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26774 $as_echo_n "checking for __clog in -lm... " >&6; }
26775 if ${ac_cv_lib_m___clog+:} false
; then :
26776 $as_echo_n "(cached) " >&6
26778 ac_check_lib_save_LIBS
=$LIBS
26780 if test x
$gcc_no_link = xyes
; then
26781 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26784 /* end confdefs.h. */
26786 /* Override any GCC internal prototype to avoid an error.
26787 Use char because int might match the return type of a GCC
26788 builtin and then its argument prototype would still apply. */
26801 if ac_fn_c_try_link
"$LINENO"; then :
26802 ac_cv_lib_m___clog
=yes
26804 ac_cv_lib_m___clog
=no
26806 rm -f core conftest.err conftest.
$ac_objext \
26807 conftest
$ac_exeext conftest.
$ac_ext
26808 LIBS
=$ac_check_lib_save_LIBS
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26811 $as_echo "$ac_cv_lib_m___clog" >&6; }
26812 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26814 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26821 if test $gcc_cv_math_func_copysign = no
; then
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26823 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26824 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26825 $as_echo_n "(cached) " >&6
26827 if test x
$gcc_no_link = xyes
; then
26828 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26834 copysign_fallback (double x, double y)
26836 return __builtin_copysign (x, y);
26846 if ac_fn_c_try_link
"$LINENO"; then :
26847 gcc_cv_math_inline_builtin_copysign
=yes
26849 gcc_cv_math_inline_builtin_copysign
=no
26851 rm -f core conftest.err conftest.
$ac_objext \
26852 conftest
$ac_exeext conftest.
$ac_ext
26854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26855 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26856 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26858 cat >>confdefs.h
<<_ACEOF
26859 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26866 if test $gcc_cv_math_func_copysignl = no
; then
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26868 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26869 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
26870 $as_echo_n "(cached) " >&6
26872 if test x
$gcc_no_link = xyes
; then
26873 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26876 /* end confdefs.h. */
26879 copysignl_fallback (long double x, long double y)
26881 return __builtin_copysignl (x, y);
26891 if ac_fn_c_try_link
"$LINENO"; then :
26892 gcc_cv_math_inline_builtin_copysignl
=yes
26894 gcc_cv_math_inline_builtin_copysignl
=no
26896 rm -f core conftest.err conftest.
$ac_objext \
26897 conftest
$ac_exeext conftest.
$ac_ext
26899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26900 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26901 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26903 cat >>confdefs.h
<<_ACEOF
26904 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26911 if test $gcc_cv_math_func_fabs = no
; then
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26913 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26914 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
26915 $as_echo_n "(cached) " >&6
26917 if test x
$gcc_no_link = xyes
; then
26918 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26924 fabs_fallback (double x)
26926 return __builtin_fabs (x);
26936 if ac_fn_c_try_link
"$LINENO"; then :
26937 gcc_cv_math_inline_builtin_fabs
=yes
26939 gcc_cv_math_inline_builtin_fabs
=no
26941 rm -f core conftest.err conftest.
$ac_objext \
26942 conftest
$ac_exeext conftest.
$ac_ext
26944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26945 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26946 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26948 cat >>confdefs.h
<<_ACEOF
26949 #define HAVE_INLINE_BUILTIN_FABS 1
26956 if test $gcc_cv_math_func_fabsl = no
; then
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26958 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26959 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
26960 $as_echo_n "(cached) " >&6
26962 if test x
$gcc_no_link = xyes
; then
26963 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26969 fabsl_fallback (long double x)
26971 return __builtin_fabsl (x);
26981 if ac_fn_c_try_link
"$LINENO"; then :
26982 gcc_cv_math_inline_builtin_fabsl
=yes
26984 gcc_cv_math_inline_builtin_fabsl
=no
26986 rm -f core conftest.err conftest.
$ac_objext \
26987 conftest
$ac_exeext conftest.
$ac_ext
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
26990 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
26991 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
26993 cat >>confdefs.h
<<_ACEOF
26994 #define HAVE_INLINE_BUILTIN_FABSL 1
27000 # Check whether the system has a working stat()
27002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
27003 $as_echo_n "checking whether the target stat is reliable... " >&6; }
27004 if ${libgfor_cv_have_working_stat+:} false
; then :
27005 $as_echo_n "(cached) " >&6
27008 if test "$cross_compiling" = yes; then :
27010 case "${target}" in
27011 *mingw
*) libgfor_cv_have_working_stat
=no
;;
27012 *) libgfor_cv_have_working_stat
=yes;;
27015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27016 /* end confdefs.h. */
27019 #include <sys/types.h>
27020 #include <sys/stat.h>
27021 #include <unistd.h>
27026 struct stat st1, st2;
27028 f = fopen ("foo", "w");
27029 g = fopen ("bar", "w");
27030 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
27032 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
27039 if ac_fn_c_try_run
"$LINENO"; then :
27040 libgfor_cv_have_working_stat
=yes
27042 libgfor_cv_have_working_stat
=no
27044 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
27045 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
27050 $as_echo "$libgfor_cv_have_working_stat" >&6; }
27051 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
27053 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
27057 # Check whether __mingw_snprintf() is present
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
27060 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
27061 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
27062 $as_echo_n "(cached) " >&6
27065 if test x
$gcc_no_link = xyes
; then
27066 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27072 extern int __mingw_snprintf (char *, size_t, const char *, ...);
27078 __mingw_snprintf (NULL, 0, "%d\n", 1);
27084 if ac_fn_c_try_link
"$LINENO"; then :
27085 eval "libgfor_cv_have_mingw_snprintf=yes"
27087 eval "libgfor_cv_have_mingw_snprintf=no"
27089 rm -f core conftest.err conftest.
$ac_objext \
27090 conftest
$ac_exeext conftest.
$ac_ext
27093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
27094 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
27095 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
27097 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
27102 # Check whether libquadmath should be used
27103 # Check whether --enable-libquadmath-support was given.
27104 if test "${enable_libquadmath_support+set}" = set; then :
27105 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
27107 ENABLE_LIBQUADMATH_SUPPORT
=yes
27110 enable_libquadmath_support
=
27111 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
27112 enable_libquadmath_support
=no
27115 # Check whether we have a __float128 type, depends on enable_libquadmath_support
27119 if test "x$enable_libquadmath_support" != xno
; then
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
27122 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
27123 if ${libgfor_cv_have_float128+:} false
; then :
27124 $as_echo_n "(cached) " >&6
27127 if test x
$gcc_no_link = xyes
; then
27128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27129 /* end confdefs.h. */
27131 typedef _Complex float __attribute__((mode(TC))) __complex128;
27133 __float128 foo (__float128 x)
27136 __complex128 z1, z2;
27142 return (__float128) z2;
27145 __float128 bar (__float128 x)
27147 return x * __builtin_huge_valq ();
27161 if ac_fn_c_try_compile
"$LINENO"; then :
27163 libgfor_cv_have_float128
=yes
27167 libgfor_cv_have_float128
=no
27170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27172 if test x
$gcc_no_link = xyes
; then
27173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27176 /* end confdefs.h. */
27178 typedef _Complex float __attribute__((mode(TC))) __complex128;
27180 __float128 foo (__float128 x)
27183 __complex128 z1, z2;
27189 return (__float128) z2;
27192 __float128 bar (__float128 x)
27194 return x * __builtin_huge_valq ();
27208 if ac_fn_c_try_link
"$LINENO"; then :
27210 libgfor_cv_have_float128
=yes
27214 libgfor_cv_have_float128
=no
27217 rm -f core conftest.err conftest.
$ac_objext \
27218 conftest
$ac_exeext conftest.
$ac_ext
27221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
27222 $as_echo "$libgfor_cv_have_float128" >&6; }
27224 if test "x$libgfor_cv_have_float128" = xyes
; then
27226 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
27229 ac_xsave_c_werror_flag
=$ac_c_werror_flag
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
27231 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
27232 if ${libgfor_cv_have_as_needed+:} false
; then :
27233 $as_echo_n "(cached) " >&6
27236 # Test for native Solaris options first.
27237 # No whitespace after -z to pass it through -Wl.
27238 libgfor_cv_as_needed_option
="-zignore"
27239 libgfor_cv_no_as_needed_option
="-zrecord"
27240 save_LDFLAGS
="$LDFLAGS"
27241 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
27242 libgfor_cv_have_as_needed
=no
27244 ac_c_werror_flag
=yes
27245 if test x
$gcc_no_link = xyes
; then
27246 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27249 /* end confdefs.h. */
27259 if ac_fn_c_try_link
"$LINENO"; then :
27260 libgfor_cv_have_as_needed
=yes
27262 libgfor_cv_have_as_needed
=no
27264 rm -f core conftest.err conftest.
$ac_objext \
27265 conftest
$ac_exeext conftest.
$ac_ext
27266 LDFLAGS
="$save_LDFLAGS"
27267 if test "x$libgfor_cv_have_as_needed" = xno
; then
27268 libgfor_cv_as_needed_option
="--as-needed"
27269 libgfor_cv_no_as_needed_option
="--no-as-needed"
27270 save_LDFLAGS
="$LDFLAGS"
27271 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
27272 libgfor_cv_have_as_needed
=no
27274 ac_c_werror_flag
=yes
27275 if test x
$gcc_no_link = xyes
; then
27276 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27279 /* end confdefs.h. */
27289 if ac_fn_c_try_link
"$LINENO"; then :
27290 libgfor_cv_have_as_needed
=yes
27292 libgfor_cv_have_as_needed
=no
27294 rm -f core conftest.err conftest.
$ac_objext \
27295 conftest
$ac_exeext conftest.
$ac_ext
27296 LDFLAGS
="$save_LDFLAGS"
27298 ac_c_werror_flag
=$ac_xsave_c_werror_flag
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
27302 $as_echo "$libgfor_cv_have_as_needed" >&6; }
27304 if test "x$libgfor_cv_have_as_needed" = xyes
; then
27305 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
27307 LIBQUADSPEC
="-lquadmath"
27309 if test -f ..
/libquadmath
/libquadmath.la
; then
27310 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
27311 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
27312 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
27314 LIBQUADLIB
="-lquadmath"
27320 # for --disable-quadmath
27331 if test "x$libgfor_cv_have_float128" = xyes
; then
27332 LIBGFOR_BUILD_QUAD_TRUE
=
27333 LIBGFOR_BUILD_QUAD_FALSE
='#'
27335 LIBGFOR_BUILD_QUAD_TRUE
='#'
27336 LIBGFOR_BUILD_QUAD_FALSE
=
27341 # Check for GNU libc feenableexcept
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
27343 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
27344 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
27345 $as_echo_n "(cached) " >&6
27347 ac_check_lib_save_LIBS
=$LIBS
27349 if test x
$gcc_no_link = xyes
; then
27350 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27353 /* end confdefs.h. */
27355 /* Override any GCC internal prototype to avoid an error.
27356 Use char because int might match the return type of a GCC
27357 builtin and then its argument prototype would still apply. */
27361 char feenableexcept ();
27365 return feenableexcept ();
27370 if ac_fn_c_try_link
"$LINENO"; then :
27371 ac_cv_lib_m_feenableexcept
=yes
27373 ac_cv_lib_m_feenableexcept
=no
27375 rm -f core conftest.err conftest.
$ac_objext \
27376 conftest
$ac_exeext conftest.
$ac_ext
27377 LIBS
=$ac_check_lib_save_LIBS
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
27380 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
27381 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
27382 have_feenableexcept
=yes
27383 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
27388 # At least for glibc, clock_gettime is in librt. But don't
27389 # pull that in if it still doesn't give us the function we want. This
27390 # test is copied from libgomp, and modified to not link in -lrt as
27391 # libgfortran calls clock_gettime via a weak reference if it's found
27393 if test "$ac_cv_func_clock_gettime" = no
; then
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
27395 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
27396 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
27397 $as_echo_n "(cached) " >&6
27399 ac_check_lib_save_LIBS
=$LIBS
27401 if test x
$gcc_no_link = xyes
; then
27402 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27405 /* end confdefs.h. */
27407 /* Override any GCC internal prototype to avoid an error.
27408 Use char because int might match the return type of a GCC
27409 builtin and then its argument prototype would still apply. */
27413 char clock_gettime ();
27417 return clock_gettime ();
27422 if ac_fn_c_try_link
"$LINENO"; then :
27423 ac_cv_lib_rt_clock_gettime
=yes
27425 ac_cv_lib_rt_clock_gettime
=no
27427 rm -f core conftest.err conftest.
$ac_objext \
27428 conftest
$ac_exeext conftest.
$ac_ext
27429 LIBS
=$ac_check_lib_save_LIBS
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
27432 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
27433 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
27435 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
27441 # Check for SysV fpsetmask
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
27444 $as_echo_n "checking whether fpsetmask is present... " >&6; }
27445 if ${libgfor_cv_have_fpsetmask+:} false
; then :
27446 $as_echo_n "(cached) " >&6
27449 if test x
$gcc_no_link = xyes
; then
27450 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27453 /* end confdefs.h. */
27455 #if HAVE_FLOATINGPOINT_H
27456 # include <floatingpoint.h>
27457 #endif /* HAVE_FLOATINGPOINT_H */
27459 # include <ieeefp.h>
27460 #endif /* HAVE_IEEEFP_H */
27469 if ac_fn_c_try_link
"$LINENO"; then :
27470 eval "libgfor_cv_have_fpsetmask=yes"
27472 eval "libgfor_cv_have_fpsetmask=no"
27474 rm -f core conftest.err conftest.
$ac_objext \
27475 conftest
$ac_exeext conftest.
$ac_ext
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
27479 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
27480 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
27483 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
27487 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
27488 #ifdef HAVE_IEEEFP_H
27489 #include <ieeefp.h>
27494 if test "x$ac_cv_type_fp_except" = xyes
; then :
27496 cat >>confdefs.h
<<_ACEOF
27497 #define HAVE_FP_EXCEPT 1
27502 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
27503 #ifdef HAVE_IEEEFP_H
27504 #include <ieeefp.h>
27509 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
27511 cat >>confdefs.h
<<_ACEOF
27512 #define HAVE_FP_EXCEPT_T 1
27518 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
27519 #ifdef HAVE_IEEEFP_H
27520 #include <ieeefp.h>
27525 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
27527 cat >>confdefs.h
<<_ACEOF
27528 #define HAVE_FP_RND 1
27533 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
27534 #ifdef HAVE_IEEEFP_H
27535 #include <ieeefp.h>
27540 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
27542 cat >>confdefs.h
<<_ACEOF
27543 #define HAVE_FP_RND_T 1
27550 # Check whether we have fpsetsticky or fpresetsticky
27551 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
27552 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
27553 have_fpsetsticky
=yes
27554 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
27558 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
27559 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
27560 have_fpresetsticky
=yes
27561 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
27566 # Check for AIX fp_trap and fp_enable
27567 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
27568 if test "x$ac_cv_func_fp_trap" = xyes
; then :
27570 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
27574 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
27575 if test "x$ac_cv_func_fp_enable" = xyes
; then :
27577 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
27582 # Check if _SOFT_FLOAT is defined
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
27585 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
27586 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
27587 $as_echo_n "(cached) " >&6
27589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27590 /* end confdefs.h. */
27606 if ac_fn_c_try_compile
"$LINENO"; then :
27607 ac_cv_defined__SOFT_FLOAT
=yes
27609 ac_cv_defined__SOFT_FLOAT
=no
27611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
27614 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
27615 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
27616 have_soft_float
=yes
27619 # Runs configure.host to set up necessary host-dependent shell variables.
27620 # We then display a message about it, and propagate them through the
27622 .
${srcdir}/configure.
host
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
27624 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
27626 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
27627 FPU_HOST_HEADER
=config
/${fpu_host}.h
27630 # Whether we will build the IEEE modules
27631 if test x
${ieee_support} = xyes
; then
27633 IEEE_SUPPORT_FALSE
='#'
27635 IEEE_SUPPORT_TRUE
='#'
27636 IEEE_SUPPORT_FALSE
=
27641 # Some targets require additional compiler options for IEEE compatibility.
27642 IEEE_FLAGS
="${ieee_flags}"
27645 # Conditionalize the makefile for this target machine.
27647 for f
in ${tmake_file}
27649 if test -f ${srcdir}/config
/$f
27651 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
27654 tmake_file
="${tmake_file_}"
27658 # Check for POSIX getpwuid_r
27660 # There are two versions of getpwuid_r, the POSIX one with 5
27661 # arguments, and another one with 4 arguments used by at least HP-UX
27663 if test "$ac_cv_func_getpwuid_r" = "yes"; then
27664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
27665 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
27666 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
27667 $as_echo_n "(cached) " >&6
27670 if test x
$gcc_no_link = xyes
; then
27671 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27674 /* end confdefs.h. */
27677 #include <sys/types.h>
27683 getpwuid_r(0, NULL, NULL, 0, NULL);
27689 if ac_fn_c_try_link
"$LINENO"; then :
27690 libgfor_cv_posix_getpwuid_r
="yes"
27692 libgfor_cv_posix_getpwuid_r
="no"
27694 rm -f core conftest.err conftest.
$ac_objext \
27695 conftest
$ac_exeext conftest.
$ac_ext
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
27698 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
27700 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
27702 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
27707 # Check out attribute support.
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
27710 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
27711 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
27712 $as_echo_n "(cached) " >&6
27715 save_CFLAGS
="$CFLAGS"
27716 CFLAGS
="$CFLAGS -Werror"
27717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27718 /* end confdefs.h. */
27719 void __attribute__((visibility("hidden"))) foo(void) { }
27728 if ac_fn_c_try_compile
"$LINENO"; then :
27729 libgfor_cv_have_attribute_visibility
=yes
27731 libgfor_cv_have_attribute_visibility
=no
27733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27734 CFLAGS
="$save_CFLAGS"
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
27737 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
27738 if test $libgfor_cv_have_attribute_visibility = yes; then
27740 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
27745 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
27746 if ${libgfor_cv_have_attribute_alias+:} false
; then :
27747 $as_echo_n "(cached) " >&6
27750 if test x
$gcc_no_link = xyes
; then
27751 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27757 extern void bar(void) __attribute__((alias("foo")));
27766 if ac_fn_c_try_link
"$LINENO"; then :
27767 libgfor_cv_have_attribute_alias
=yes
27769 libgfor_cv_have_attribute_alias
=no
27771 rm -f core conftest.err conftest.
$ac_objext \
27772 conftest
$ac_exeext conftest.
$ac_ext
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
27775 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
27776 if test $libgfor_cv_have_attribute_alias = yes; then
27778 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
27782 # Check out atomic builtins support.
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
27785 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
27786 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
27787 $as_echo_n "(cached) " >&6
27790 if test x
$gcc_no_link = xyes
; then
27791 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27794 /* end confdefs.h. */
27800 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
27801 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
27806 if ac_fn_c_try_link
"$LINENO"; then :
27807 libgfor_cv_have_atomic_fetch_add
=yes
27809 libgfor_cv_have_atomic_fetch_add
=no
27811 rm -f core conftest.err conftest.
$ac_objext \
27812 conftest
$ac_exeext conftest.
$ac_ext
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
27815 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
27816 if test $libgfor_cv_have_atomic_fetch_add = yes; then
27818 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
27822 # Check out #pragma weak.
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
27825 $as_echo_n "checking whether pragma weak works... " >&6; }
27826 if ${libgfor_cv_have_pragma_weak+:} false
; then :
27827 $as_echo_n "(cached) " >&6
27830 gfor_save_CFLAGS
="$CFLAGS"
27831 CFLAGS
="$CFLAGS -Wunknown-pragmas"
27832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27846 if ac_fn_c_try_compile
"$LINENO"; then :
27847 libgfor_cv_have_pragma_weak
=yes
27849 libgfor_cv_have_pragma_weak
=no
27851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
27854 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
27855 if test $libgfor_cv_have_pragma_weak = yes; then
27857 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
27861 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
27863 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
27868 # Check out weakref support.
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
27871 $as_echo_n "checking whether the target supports weakref... " >&6; }
27872 if ${libgfor_cv_have_weakref+:} false
; then :
27873 $as_echo_n "(cached) " >&6
27876 save_CFLAGS
="$CFLAGS"
27877 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
27878 if test x
$gcc_no_link = xyes
; then
27879 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27882 /* end confdefs.h. */
27884 static int mytoto (int) __attribute__((__weakref__("toto")));
27889 return (mytoto != 0);
27894 if ac_fn_c_try_link
"$LINENO"; then :
27895 libgfor_cv_have_weakref
=yes
27897 libgfor_cv_have_weakref
=no
27899 rm -f core conftest.err conftest.
$ac_objext \
27900 conftest
$ac_exeext conftest.
$ac_ext
27901 CFLAGS
="$save_CFLAGS"
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
27904 $as_echo "$libgfor_cv_have_weakref" >&6; }
27905 if test $libgfor_cv_have_weakref = yes; then
27907 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
27911 # Various other checks on target
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
27914 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
27915 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
27916 $as_echo_n "(cached) " >&6
27919 if test "$cross_compiling" = yes; then :
27921 case "${target}" in
27922 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
27923 *) libgfor_cv_have_unlink_open_file
=yes;;
27926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27927 /* end confdefs.h. */
27931 #include <unistd.h>
27932 #include <sys/stat.h>
27938 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
27941 if (unlink ("testfile") == -1)
27943 write (fd, "This is a test\n", 15);
27946 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
27952 if ac_fn_c_try_run
"$LINENO"; then :
27953 libgfor_cv_have_unlink_open_file
=yes
27955 libgfor_cv_have_unlink_open_file
=no
27957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
27958 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
27963 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
27964 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
27966 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
27970 # Check whether line terminator is LF or CRLF
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
27973 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
27974 if ${libgfor_cv_have_crlf+:} false
; then :
27975 $as_echo_n "(cached) " >&6
27978 if test "$cross_compiling" = yes; then :
27980 case "${target}" in
27981 *mingw
*) libgfor_cv_have_crlf
=yes ;;
27982 *) libgfor_cv_have_crlf
=no
;;
27985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27986 /* end confdefs.h. */
27988 /* This test program should exit with status 0 if system uses a CRLF as
27989 line terminator, and status 1 otherwise.
27990 Since it is used to check for mingw systems, and should return 0 in any
27991 other case, in case of a failure we will not use CRLF. */
27992 #include <sys/stat.h>
27993 #include <stdlib.h>
28005 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
28008 if (write (fd, "\n", 1) < 0)
28013 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
28015 bytes = read (fd, buff, 5);
28016 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
28023 if ac_fn_c_try_run
"$LINENO"; then :
28024 libgfor_cv_have_crlf
=yes
28026 libgfor_cv_have_crlf
=no
28028 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
28029 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
28034 $as_echo "$libgfor_cv_have_crlf" >&6; }
28035 if test x
"$libgfor_cv_have_crlf" = xyes
; then
28037 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
28041 # Check whether we support AVX extensions
28043 ac_save_CFLAGS
="$CFLAGS"
28045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28046 /* end confdefs.h. */
28048 void _mm256_zeroall (void)
28050 __builtin_ia32_vzeroall ();
28060 if ac_fn_c_try_compile
"$LINENO"; then :
28062 $as_echo "#define HAVE_AVX 1" >>confdefs.h
28065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28066 CFLAGS
="$ac_save_CFLAGS"
28069 # Check whether we support AVX2 extensions
28071 ac_save_CFLAGS
="$CFLAGS"
28072 CFLAGS
="-O2 -mavx2"
28073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28074 /* end confdefs.h. */
28076 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
28078 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
28080 return __builtin_ia32_andnotsi256 (__X, __Y);
28090 if ac_fn_c_try_compile
"$LINENO"; then :
28092 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
28095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28096 CFLAGS
="$ac_save_CFLAGS"
28099 # Check whether we support AVX512f extensions
28101 ac_save_CFLAGS
="$CFLAGS"
28102 CFLAGS
="-O2 -mavx512f"
28103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28104 /* end confdefs.h. */
28106 typedef double __m512d __attribute__ ((__vector_size__ (64)));
28107 __m512d _mm512_add (__m512d a)
28109 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
28110 /* For -m64/-mx32 also verify that code will work even if
28111 the target uses call saved zmm16+ and needs to emit
28112 unwind info for them (e.g. on mingw). See PR79127. */
28114 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
28126 if ac_fn_c_try_compile
"$LINENO"; then :
28128 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
28131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28132 CFLAGS
="$ac_save_CFLAGS"
28135 # Check for FMA3 extensions
28137 ac_save_CFLAGS
="$CFLAGS"
28138 CFLAGS
="-O2 -mfma -mno-fma4"
28139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h. */
28142 typedef float __m128 __attribute__ ((__vector_size__ (16)));
28143 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
28144 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
28146 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
28158 if ac_fn_c_try_compile
"$LINENO"; then :
28160 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
28163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28164 CFLAGS
="$ac_save_CFLAGS"
28167 # Check for FMA4 extensions
28169 ac_save_CFLAGS
="$CFLAGS"
28170 CFLAGS
="-O2 -mfma4 -mno-fma"
28171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28174 typedef float __m128 __attribute__ ((__vector_size__ (16)));
28175 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
28176 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
28178 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
28190 if ac_fn_c_try_compile
"$LINENO"; then :
28192 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
28195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28196 CFLAGS
="$ac_save_CFLAGS"
28199 # Check if AVX128 works
28201 ac_save_CFLAGS
="$CFLAGS"
28202 CFLAGS
="-O2 -mavx -mprefer-avx128"
28203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28204 /* end confdefs.h. */
28217 if ac_fn_c_try_compile
"$LINENO"; then :
28219 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
28223 HAVE_AVX128_FALSE
='#'
28225 HAVE_AVX128_TRUE
='#'
28232 HAVE_AVX128_FALSE
='#'
28234 HAVE_AVX128_TRUE
='#'
28239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28240 CFLAGS
="$ac_save_CFLAGS"
28243 # Determine what GCC version number to use in filesystem paths.
28245 get_gcc_base_ver
="cat"
28247 # Check whether --with-gcc-major-version-only was given.
28248 if test "${with_gcc_major_version_only+set}" = set; then :
28249 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
28250 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
28258 cat >confcache
<<\_ACEOF
28259 # This file is a shell script that caches the results of configure
28260 # tests run on this system so they can be shared between configure
28261 # scripts and configure runs, see configure's option --config-cache.
28262 # It is not useful on other systems. If it contains results you don't
28263 # want to keep, you may remove or edit it.
28265 # config.status only pays attention to the cache file if you give it
28266 # the --recheck option to rerun configure.
28268 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28269 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28270 # following values.
28274 # The following way of writing the cache mishandles newlines in values,
28275 # but we know of no workaround that is simple, portable, and efficient.
28276 # So, we kill variables containing newlines.
28277 # Ultrix sh set writes to stderr and can't be redirected directly,
28278 # and sets the high bit in the cache file unless we assign to the vars.
28280 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28281 eval ac_val
=\$
$ac_var
28285 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28286 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28289 _ | IFS | as_nl
) ;; #(
28290 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
28291 *) { eval $ac_var=; unset $ac_var;} ;;
28297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28298 *${as_nl}ac_space
=\
*)
28299 # `set' does not quote correctly, so add quotes: double-quote
28300 # substitution turns \\\\ into \\, and sed turns \\ into \.
28303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28306 # `set' quotes correctly as required by POSIX, so do not add quotes.
28307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28320 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
28321 if test -w "$cache_file"; then
28322 if test "x$cache_file" != "x/dev/null"; then
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28324 $as_echo "$as_me: updating cache $cache_file" >&6;}
28325 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
28326 cat confcache
>"$cache_file"
28328 case $cache_file in #(
28330 mv -f confcache
"$cache_file"$$
&&
28331 mv -f "$cache_file"$$
"$cache_file" ;; #(
28333 mv -f confcache
"$cache_file" ;;
28338 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28339 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28344 if test ${multilib} = yes; then
28345 multilib_arg
="--enable-multilib"
28350 # Write our Makefile and spec file.
28351 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
28353 cat >confcache
<<\_ACEOF
28354 # This file is a shell script that caches the results of configure
28355 # tests run on this system so they can be shared between configure
28356 # scripts and configure runs, see configure's option --config-cache.
28357 # It is not useful on other systems. If it contains results you don't
28358 # want to keep, you may remove or edit it.
28360 # config.status only pays attention to the cache file if you give it
28361 # the --recheck option to rerun configure.
28363 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28364 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28365 # following values.
28369 # The following way of writing the cache mishandles newlines in values,
28370 # but we know of no workaround that is simple, portable, and efficient.
28371 # So, we kill variables containing newlines.
28372 # Ultrix sh set writes to stderr and can't be redirected directly,
28373 # and sets the high bit in the cache file unless we assign to the vars.
28375 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28376 eval ac_val
=\$
$ac_var
28380 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28384 _ | IFS | as_nl
) ;; #(
28385 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
28386 *) { eval $ac_var=; unset $ac_var;} ;;
28392 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28393 *${as_nl}ac_space
=\
*)
28394 # `set' does not quote correctly, so add quotes: double-quote
28395 # substitution turns \\\\ into \\, and sed turns \\ into \.
28398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28401 # `set' quotes correctly as required by POSIX, so do not add quotes.
28402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28415 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
28416 if test -w "$cache_file"; then
28417 if test "x$cache_file" != "x/dev/null"; then
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28419 $as_echo "$as_me: updating cache $cache_file" >&6;}
28420 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
28421 cat confcache
>"$cache_file"
28423 case $cache_file in #(
28425 mv -f confcache
"$cache_file"$$
&&
28426 mv -f "$cache_file"$$
"$cache_file" ;; #(
28428 mv -f confcache
"$cache_file" ;;
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28434 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28439 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28440 # Let make expand exec_prefix.
28441 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28443 DEFS
=-DHAVE_CONFIG_H
28448 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28449 # 1. Remove the extension, and $U if already installed.
28450 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
28451 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
28452 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28453 # will be set to the directory where LIBOBJS objects are built.
28454 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28455 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
28457 LIBOBJS
=$ac_libobjs
28459 LTLIBOBJS
=$ac_ltlibobjs
28462 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
28463 as_fn_error $?
"conditional \"onestep\" was never defined.
28464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
28467 $as_echo_n "checking that generated files are newer than configure... " >&6; }
28468 if test -n "$am_sleep_pid"; then
28469 # Hide warnings about reused PIDs.
28470 wait $am_sleep_pid 2>/dev
/null
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
28473 $as_echo "done" >&6; }
28474 if test -n "$EXEEXT"; then
28476 am__EXEEXT_FALSE
='#'
28478 am__EXEEXT_TRUE
='#'
28482 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28483 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
28484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28486 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28487 as_fn_error $?
"conditional \"AMDEP\" was never defined.
28488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28490 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28491 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
28492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28494 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28495 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
28496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28498 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
28499 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
28500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28502 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
28503 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
28504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28506 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
28507 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
28508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28510 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
28511 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
28512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28514 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
28515 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
28516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28518 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
28519 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
28520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28522 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
28523 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
28524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28526 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
28527 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
28528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28530 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
28531 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
28532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28534 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
28535 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
28536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28539 : "${CONFIG_STATUS=./config.status}"
28541 ac_clean_files_save
=$ac_clean_files
28542 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
28544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
28546 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
28548 # Generated by $as_me.
28549 # Run this file to recreate the current configuration.
28550 # Compiler output produced by configure, useful for debugging
28551 # configure, is in config.log if it exists.
28554 ac_cs_recheck=false
28557 SHELL=\${CONFIG_SHELL-$SHELL}
28560 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
28561 ## -------------------- ##
28562 ## M4sh Initialization. ##
28563 ## -------------------- ##
28565 # Be more Bourne compatible
28566 DUALCASE
=1; export DUALCASE
# for MKS sh
28567 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
28570 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28571 # is contrary to our usage. Disable this feature.
28572 alias -g '${1+"$@"}'='"$@"'
28573 setopt NO_GLOB_SUBST
28575 case `(set -o) 2>/dev/null` in #(
28587 # Printing a long string crashes Solaris 7 /usr/bin/printf.
28588 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
28589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
28590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
28591 # Prefer a ksh shell builtin over an external printf program on Solaris,
28592 # but without wasting forks for bash or zsh.
28593 if test -z "$BASH_VERSION$ZSH_VERSION" \
28594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
28595 as_echo='print
-r --'
28596 as_echo_n='print
-rn --'
28597 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
28598 as_echo='printf %s
\n'
28599 as_echo_n='printf %s
'
28601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
28602 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
28603 as_echo_n='/usr
/ucb
/echo -n'
28605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
28606 as_echo_n_body='eval
28610 expr "X$arg" : "X\\(.*\\)$as_nl";
28611 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
28613 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
28615 export as_echo_n_body
28616 as_echo_n='sh
-c $as_echo_n_body as_echo
'
28618 export as_echo_body
28619 as_echo='sh
-c $as_echo_body as_echo
'
28622 # The user is always right.
28623 if test "${PATH_SEPARATOR+set}" != set; then
28625 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
28626 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
28633 # We need space, tab and new line, in precisely that order. Quoting is
28634 # there to prevent editors from complaining about space-tab.
28635 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
28636 # splitting by setting IFS to empty value.)
28639 # Find who we are. Look in the path if we contain no directory separator.
28642 *[\\/]* ) as_myself=$0 ;;
28643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28644 for as_dir in $PATH
28647 test -z "$as_dir" && as_dir=.
28648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28654 # We did not find ourselves, most probably we were run as `sh COMMAND'
28655 # in which case we are not to be found in the path.
28656 if test "x$as_myself" = x
; then
28659 if test ! -f "$as_myself"; then
28660 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28664 # Unset variables that we do not need and which cause bugs (e.g. in
28665 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
28666 # suppresses any "Segmentation fault" message there. '((' could
28667 # trigger a bug in pdksh 5.2.14.
28668 for as_var
in BASH_ENV ENV MAIL MAILPATH
28669 do eval test x\
${$as_var+set} = xset \
28670 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
28683 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
28686 # as_fn_error STATUS ERROR [LINENO LOG_FD]
28687 # ----------------------------------------
28688 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
28689 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
28690 # script with STATUS, using 1 if that was 0.
28693 as_status
=$1; test $as_status -eq 0 && as_status
=1
28695 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
28696 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
28698 $as_echo "$as_me: error: $2" >&2
28699 as_fn_exit
$as_status
28703 # as_fn_set_status STATUS
28704 # -----------------------
28705 # Set $? to STATUS, without forking.
28706 as_fn_set_status
()
28709 } # as_fn_set_status
28711 # as_fn_exit STATUS
28712 # -----------------
28713 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
28717 as_fn_set_status
$1
28723 # Portably unset VAR.
28726 { eval $1=; unset $1;}
28728 as_unset
=as_fn_unset
28729 # as_fn_append VAR VALUE
28730 # ----------------------
28731 # Append the text in VALUE to the end of the definition contained in VAR. Take
28732 # advantage of any shell optimizations that allow amortized linear growth over
28733 # repeated appends, instead of the typical quadratic growth present in naive
28735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
28736 eval 'as_fn_append ()
28747 # as_fn_arith ARG...
28748 # ------------------
28749 # Perform arithmetic evaluation on the ARGs, and store the result in the
28750 # global $as_val. Take advantage of shells that can avoid forks. The arguments
28751 # must be portable across $(()) and expr.
28752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
28753 eval 'as_fn_arith ()
28760 as_val
=`expr "$@" || test $? -eq 1`
28765 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
28766 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
28772 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28773 as_basename
=basename
28778 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
28784 as_me
=`$as_basename -- "$0" ||
28785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28786 X"$0" : 'X\(//\)$' \| \
28787 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28789 sed '/^.*\/\([^/][^/]*\)\/*$/{
28803 # Avoid depending upon Character Ranges.
28804 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28805 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28806 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28807 as_cr_digits
='0123456789'
28808 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28810 ECHO_C
= ECHO_N
= ECHO_T
=
28811 case `echo -n x` in #(((((
28813 case `echo 'xy\c'` in
28814 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
28816 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
28823 rm -f conf$$ conf$$.exe conf$$.
file
28824 if test -d conf$$.dir
; then
28825 rm -f conf$$.dir
/conf$$.
file
28828 mkdir conf$$.dir
2>/dev
/null
28830 if (echo >conf$$.
file) 2>/dev
/null
; then
28831 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28833 # ... but there are two gotchas:
28834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28836 # In both cases, we have to default to `cp -pR'.
28837 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
28839 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28847 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
28848 rmdir conf$$.dir
2>/dev
/null
28853 # Create "$as_dir" as a directory, including parents if necessary.
28858 -*) as_dir
=.
/$as_dir;;
28860 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
28864 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28865 *) as_qdir
=$as_dir;;
28867 as_dirs
="'$as_qdir' $as_dirs"
28868 as_dir
=`$as_dirname -- "$as_dir" ||
28869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28870 X"$as_dir" : 'X\(//\)[^/]' \| \
28871 X"$as_dir" : 'X\(//\)$' \| \
28872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28873 $as_echo X"$as_dir" |
28874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28878 /^X\(\/\/\)[^/].*/{
28891 test -d "$as_dir" && break
28893 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
28894 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
28898 if mkdir
-p .
2>/dev
/null
; then
28899 as_mkdir_p
='mkdir -p "$as_dir"'
28901 test -d .
/-p && rmdir .
/-p
28906 # as_fn_executable_p FILE
28907 # -----------------------
28908 # Test if FILE is an executable regular file.
28909 as_fn_executable_p
()
28911 test -f "$1" && test -x "$1"
28912 } # as_fn_executable_p
28913 as_test_x
='test -x'
28914 as_executable_p
=as_fn_executable_p
28916 # Sed expression to map a string onto a valid CPP name.
28917 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28919 # Sed expression to map a string onto a valid variable name.
28920 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28924 ## ----------------------------------- ##
28925 ## Main body of $CONFIG_STATUS script. ##
28926 ## ----------------------------------- ##
28928 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
28930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28931 # Save the log message, to keep $0 and so on meaningful, and to
28932 # report actual input values of CONFIG_FILES etc. instead of their
28933 # values after options handling.
28935 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
28936 generated by GNU Autoconf 2.69. Invocation command line was
28938 CONFIG_FILES = $CONFIG_FILES
28939 CONFIG_HEADERS = $CONFIG_HEADERS
28940 CONFIG_LINKS = $CONFIG_LINKS
28941 CONFIG_COMMANDS = $CONFIG_COMMANDS
28944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
28949 case $ac_config_files in *"
28950 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
28953 case $ac_config_headers in *"
28954 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
28958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28959 # Files that config.status was made for.
28960 config_files="$ac_config_files"
28961 config_headers="$ac_config_headers"
28962 config_commands="$ac_config_commands"
28966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28968 \`$as_me' instantiates files and other configuration actions
28969 from templates according to the current configuration. Unless the files
28970 and actions are specified as TAGs, all are instantiated by default.
28972 Usage: $0 [OPTION]... [TAG]...
28974 -h, --help print this help, then exit
28975 -V, --version print version number and configuration settings, then exit
28976 --config print configuration, then exit
28977 -q, --quiet, --silent
28978 do not print progress messages
28979 -d, --debug don't remove temporary files
28980 --recheck update $as_me by reconfiguring in the same conditions
28981 --file=FILE[:TEMPLATE]
28982 instantiate the configuration file FILE
28983 --header=FILE[:TEMPLATE]
28984 instantiate the configuration header FILE
28986 Configuration files:
28989 Configuration headers:
28992 Configuration commands:
28995 Report bugs to the package provider.
28996 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
28997 General help using GNU software: <http://www.gnu.org/gethelp/>."
29000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
29003 GNU Fortran Runtime Library config.status 0.3
29004 configured by $0, generated by GNU Autoconf 2.69,
29005 with options \\"\$ac_cs_config\\"
29007 Copyright (C) 2012 Free Software Foundation, Inc.
29008 This config.status script is free software; the Free Software Foundation
29009 gives unlimited permission to copy, distribute and modify it."
29016 test -n "\$AWK" || AWK=awk
29019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29020 # The default lists apply if the user does not specify any file.
29026 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
29027 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
29031 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
29043 # Handling of the options.
29044 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29046 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
29047 $as_echo "$ac_cs_version"; exit ;;
29048 --config |
--confi |
--conf |
--con |
--co |
--c )
29049 $as_echo "$ac_cs_config"; exit ;;
29050 --debug |
--debu |
--deb |
--de |
--d |
-d )
29052 --file |
--fil |
--fi |
--f )
29055 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29056 '') as_fn_error $?
"missing file argument" ;;
29058 as_fn_append CONFIG_FILES
" '$ac_optarg'"
29059 ac_need_defaults
=false
;;
29060 --header |
--heade |
--head |
--hea )
29063 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29065 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
29066 ac_need_defaults
=false
;;
29068 # Conflict between --help and --header
29069 as_fn_error $?
"ambiguous option: \`$1'
29070 Try \`$0 --help' for more information.";;
29071 --help |
--hel |
-h )
29072 $as_echo "$ac_cs_usage"; exit ;;
29073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29074 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29077 # This is an error.
29078 -*) as_fn_error $?
"unrecognized option: \`$1'
29079 Try \`$0 --help' for more information." ;;
29081 *) as_fn_append ac_config_targets
" $1"
29082 ac_need_defaults
=false
;;
29088 ac_configure_extra_args
=
29090 if $ac_cs_silent; then
29092 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29097 if \$ac_cs_recheck; then
29098 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
29101 CONFIG_SHELL='$SHELL'
29102 export CONFIG_SHELL
29107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29112 ## Running $as_me. ##
29118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29126 with_multisubdir="$with_multisubdir"
29127 with_multisrctop="$with_multisrctop"
29128 with_target_subdir="$with_target_subdir"
29129 ac_configure_args="${multilib_arg} ${ac_configure_args}"
29130 multi_basedir="$multi_basedir"
29131 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
29134 GFORTRAN="$GFORTRAN"
29136 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29139 # The HP-UX ksh and POSIX shell print the target directory to stdout
29140 # if CDPATH is set.
29141 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29143 sed_quote_subst='$sed_quote_subst'
29144 double_quote_subst='$double_quote_subst'
29145 delay_variable_subst='$delay_variable_subst'
29146 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
29147 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
29148 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
29149 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
29150 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
29151 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
29152 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
29153 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
29154 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
29155 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
29156 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
29157 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
29158 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
29159 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
29160 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
29161 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
29162 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
29163 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
29164 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
29165 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
29166 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
29167 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
29168 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
29169 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
29170 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
29171 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
29172 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
29173 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
29174 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
29175 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
29176 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
29177 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
29178 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
29179 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
29180 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
29181 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
29182 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
29183 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29184 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29185 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
29186 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
29187 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
29188 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
29189 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
29190 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
29191 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
29192 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
29193 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
29194 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"`'
29195 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
29196 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
29197 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
29198 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
29199 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
29200 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
29201 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
29202 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
29203 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
29204 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
29205 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
29206 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
29207 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
29208 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
29209 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
29210 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29211 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
29212 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
29213 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
29214 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
29215 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
29216 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
29217 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29218 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
29219 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29220 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
29221 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29222 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
29223 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
29224 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
29225 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
29226 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
29227 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
29228 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
29229 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
29230 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
29231 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
29232 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
29233 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
29234 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
29235 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
29236 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
29237 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
29238 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
29239 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
29240 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
29241 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
29242 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
29243 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
29244 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
29245 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
29246 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
29247 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
29248 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
29249 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
29250 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
29251 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
29252 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
29253 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29254 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29255 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
29256 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
29257 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
29258 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
29259 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
29260 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
29261 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
29262 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
29263 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
29264 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
29265 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
29266 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
29267 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
29268 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
29269 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
29270 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
29271 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
29272 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
29273 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
29274 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
29275 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
29276 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
29277 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
29278 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
29279 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
29280 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
29281 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
29282 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
29283 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
29284 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
29285 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
29286 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
29287 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
29288 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
29289 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
29290 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
29291 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
29292 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
29293 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
29294 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
29295 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
29296 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
29297 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
29298 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
29299 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
29300 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
29301 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
29302 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
29303 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
29304 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
29305 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
29306 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
29307 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
29308 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
29309 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
29310 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
29311 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
29312 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
29313 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
29314 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
29315 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
29316 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
29317 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
29318 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
29319 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
29320 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
29323 LTCFLAGS='$LTCFLAGS'
29324 compiler='$compiler_DEFAULT'
29326 # A function that is used when there is no print builtin or printf.
29327 func_fallback_echo ()
29329 eval 'cat <<_LTECHO_EOF
29334 # Quote evaled strings.
29348 deplibs_check_method \
29357 lt_cv_sys_global_symbol_pipe \
29358 lt_cv_sys_global_symbol_to_cdecl \
29359 lt_cv_sys_global_symbol_to_c_name_address \
29360 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
29361 lt_prog_compiler_no_builtin_flag \
29362 lt_prog_compiler_wl \
29363 lt_prog_compiler_pic \
29364 lt_prog_compiler_static \
29365 lt_cv_prog_compiler_c_o \
29373 export_dynamic_flag_spec \
29374 whole_archive_flag_spec \
29375 compiler_needs_object \
29377 allow_undefined_flag \
29378 no_undefined_flag \
29379 hardcode_libdir_flag_spec \
29380 hardcode_libdir_flag_spec_ld \
29381 hardcode_libdir_separator \
29386 variables_saved_for_relink \
29388 library_names_spec \
29390 install_override_mode \
29394 compiler_lib_search_dirs \
29399 compiler_lib_search_path \
29403 lt_prog_compiler_no_builtin_flag_FC \
29404 lt_prog_compiler_wl_FC \
29405 lt_prog_compiler_pic_FC \
29406 lt_prog_compiler_static_FC \
29407 lt_cv_prog_compiler_c_o_FC \
29408 export_dynamic_flag_spec_FC \
29409 whole_archive_flag_spec_FC \
29410 compiler_needs_object_FC \
29412 allow_undefined_flag_FC \
29413 no_undefined_flag_FC \
29414 hardcode_libdir_flag_spec_FC \
29415 hardcode_libdir_flag_spec_ld_FC \
29416 hardcode_libdir_separator_FC \
29417 fix_srcfile_path_FC \
29418 exclude_expsyms_FC \
29419 include_expsyms_FC \
29420 file_list_spec_FC \
29421 compiler_lib_search_dirs_FC \
29422 predep_objects_FC \
29423 postdep_objects_FC \
29426 compiler_lib_search_path_FC; do
29427 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
29428 *[\\\\\\\`\\"\\\$]*)
29429 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
29432 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29437 # Double-quote double-evaled strings.
29438 for var in reload_cmds \
29439 old_postinstall_cmds \
29440 old_postuninstall_cmds \
29442 extract_expsyms_cmds \
29443 old_archive_from_new_cmds \
29444 old_archive_from_expsyms_cmds \
29446 archive_expsym_cmds \
29448 module_expsym_cmds \
29449 export_symbols_cmds \
29452 postuninstall_cmds \
29454 sys_lib_search_path_spec \
29455 sys_lib_dlsearch_path_spec \
29457 old_archive_cmds_FC \
29458 old_archive_from_new_cmds_FC \
29459 old_archive_from_expsyms_cmds_FC \
29461 archive_expsym_cmds_FC \
29463 module_expsym_cmds_FC \
29464 export_symbols_cmds_FC \
29465 prelink_cmds_FC; do
29466 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
29467 *[\\\\\\\`\\"\\\$]*)
29468 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29471 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29476 ac_aux_dir='$ac_aux_dir'
29477 xsi_shell='$xsi_shell'
29478 lt_shell_append='$lt_shell_append'
29480 # See if we are running on zsh, and set the options which allow our
29481 # commands through without removal of \ escapes INIT.
29482 if test -n "\${ZSH_VERSION+set}" ; then
29483 setopt NO_GLOB_SUBST
29489 TIMESTAMP='$TIMESTAMP'
29500 acx_cv_header_stdint="$acx_cv_header_stdint"
29501 acx_cv_type_int8_t="$acx_cv_type_int8_t"
29502 acx_cv_type_int16_t="$acx_cv_type_int16_t"
29503 acx_cv_type_int32_t="$acx_cv_type_int32_t"
29504 acx_cv_type_int64_t="$acx_cv_type_int64_t"
29505 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
29506 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
29507 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
29508 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
29509 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
29510 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
29511 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
29512 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
29513 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
29518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29520 # Handling of arguments.
29521 for ac_config_target
in $ac_config_targets
29523 case $ac_config_target in
29524 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
29525 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29526 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29527 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29528 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
29529 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29530 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
29532 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
29537 # If the user did not use the arguments to specify the items to instantiate,
29538 # then the envvar interface is used. Set only those that are not.
29539 # We use the long form for the default assignment because of an extremely
29540 # bizarre bug on SunOS 4.1.3.
29541 if $ac_need_defaults; then
29542 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29543 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29544 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29547 # Have a temporary directory for convenience. Make it in the build tree
29548 # simply because there is no reason against having it here, and in addition,
29549 # creating and moving files from /tmp can sometimes cause problems.
29550 # Hook for its removal unless debugging.
29551 # Note that there is a small window in which the directory will not be cleaned:
29552 # after its creation but before its name has been assigned to `$tmp'.
29556 trap 'exit_status=$?
29557 : "${ac_tmp:=$tmp}"
29558 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
29560 trap 'as_fn_exit 1' 1 2 13 15
29562 # Create a (secure) tmp directory for tmp files.
29565 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29569 tmp
=.
/conf$$
-$RANDOM
29570 (umask 077 && mkdir
"$tmp")
29571 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
29574 # Set up the scripts for CONFIG_FILES section.
29575 # No need to generate them if there are no CONFIG_FILES.
29576 # This happens for instance with `./config.status config.h'.
29577 if test -n "$CONFIG_FILES"; then
29580 ac_cr
=`echo X | tr X '\015'`
29581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
29582 # But we know of no other shell where ac_cr would be empty at this
29583 # point, so we can use a bashism as a fallback.
29584 if test "x$ac_cr" = x
; then
29585 eval ac_cr
=\$
\'\\r
\'
29587 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
29588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
29591 ac_cs_awk_cr
=$ac_cr
29594 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
29599 echo "cat >conf$$subs.awk <<_ACEOF" &&
29600 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
29602 } >conf$$subs.sh ||
29603 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
29604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
29606 for ac_last_try in false false false false false :; do
29607 . ./conf$$subs.sh ||
29608 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
29610 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
29611 if test $ac_delim_n = $ac_delim_num; then
29613 elif $ac_last_try; then
29614 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
29616 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
29619 rm -f conf$$subs.sh
29621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29622 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
29626 s/^/S["/; s
/!.
*/"]=/
29636 s/\(.\{148\}\)..*/\1/
29638 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
29643 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
29650 s/\(.\{148\}\)..*/\1/
29652 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
29656 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
29661 ' <conf$$subs.awk | sed '
29666 ' >>$CONFIG_STATUS || ac_write_fail=1
29667 rm -f conf$$subs.awk
29668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29670 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
29671 for (key in S) S_is_set[key] = 1
29677 nfields = split(line, field, "@
")
29679 len = length(field[1])
29680 for (i = 2; i < nfields; i++) {
29682 keylen = length(key)
29683 if (S_is_set[key]) {
29685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
29686 len += length(value) + length(field[++i])
29697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29698 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
29699 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
29702 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
29703 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
29706 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
29707 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
29708 # trailing colons and then remove the whole line if VPATH becomes empty
29709 # (actually we leave an empty line to preserve line numbers).
29710 if test "x
$srcdir" = x.; then
29711 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
29729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29730 fi # test -n "$CONFIG_FILES"
29732 # Set up the scripts for CONFIG_HEADERS section.
29733 # No need to generate them if there are no CONFIG_HEADERS.
29734 # This happens for instance with `./config.status Makefile'.
29735 if test -n "$CONFIG_HEADERS"; then
29736 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
29740 # Transform confdefs.h into an awk script `defines.awk', embedded as
29741 # here-document in config.status, that substitutes the proper values into
29742 # config.h.in to produce config.h.
29744 # Create a delimiter string that does not exist in confdefs.h, to ease
29745 # handling of long lines.
29747 for ac_last_try in false false :; do
29748 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
29749 if test -z "$ac_tt"; then
29751 elif $ac_last_try; then
29752 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
29754 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
29758 # For the awk script, D is an array of macro values keyed by name,
29759 # likewise P contains macro parameters if any. Preserve backslash
29760 # newline sequences.
29762 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29764 s/.\{148\}/&'"$ac_delim"'/g
29767 s/^[ ]*#[ ]*define[ ][ ]*/ /
29774 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
29776 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
29780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
29781 D["\
1"]=" \
3\\\\\\n
"\\/p
29783 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
29788 s/.\{148\}/&'"$ac_delim"'/g
29793 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
29796 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
29798 ' <confdefs.h | sed '
29799 s/'"$ac_delim"'/"\\\
29800 "/g' >>$CONFIG_STATUS || ac_write_fail=1
29802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29803 for (key in D) D_is_set[key] = 1
29806 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29808 split(line, arg, " ")
29809 if (arg[1] == "#") {
29813 defundef
= substr
(arg
[1], 2)
29816 split(mac1
, mac2
, "(") #)
29818 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
29819 if (D_is_set
[macro
]) {
29820 # Preserve the white space surrounding the "#".
29821 print prefix
"define", macro P
[macro
] D
[macro
]
29824 # Replace #undef with comments. This is necessary, for example,
29825 # in the case of _POSIX_SOURCE, which is predefined and required
29826 # on some systems where configure will not decide to define it.
29827 if (defundef
== "undef") {
29828 print
"/*", prefix defundef
, macro
, "*/"
29836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29837 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
29838 fi # test -n "$CONFIG_HEADERS"
29841 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29846 :[FHLC
]) ac_mode
=$ac_tag; continue;;
29848 case $ac_mode$ac_tag in
29850 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
29851 :[FH
]-) ac_tag
=-:-;;
29852 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
29869 -) ac_f
="$ac_tmp/stdin";;
29870 *) # Look for the file first in the build tree, then in the source tree
29871 # (if the path is not absolute). The absolute path cannot be DOS-style,
29872 # because $ac_f cannot contain `:'.
29876 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
29878 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29880 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29881 as_fn_append ac_file_inputs
" '$ac_f'"
29884 # Let's still pretend it is `configure' which instantiates (i.e., don't
29885 # use $as_me), people would be surprised to read:
29886 # /* config.h. Generated by config.status. */
29887 configure_input
='Generated from '`
29888 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29890 if test x
"$ac_file" != x-
; then
29891 configure_input
="$ac_file. $configure_input"
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29893 $as_echo "$as_me: creating $ac_file" >&6;}
29895 # Neutralize special characters interpreted by sed in replacement strings.
29896 case $configure_input in #(
29897 *\
&* |
*\|
* |
*\\* )
29898 ac_sed_conf_input
=`$as_echo "$configure_input" |
29899 sed 's/[\\\\&|]/\\\\&/g'`;; #(
29900 *) ac_sed_conf_input
=$configure_input;;
29904 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
29905 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
29910 ac_dir
=`$as_dirname -- "$ac_file" ||
29911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29912 X"$ac_file" : 'X\(//\)[^/]' \| \
29913 X"$ac_file" : 'X\(//\)$' \| \
29914 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29915 $as_echo X"$ac_file" |
29916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29920 /^X\(\/\/\)[^/].*/{
29933 as_dir
="$ac_dir"; as_fn_mkdir_p
29937 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
29939 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29940 # A ".." for each directory in $ac_dir_suffix.
29941 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29942 case $ac_top_builddir_sub in
29943 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
29944 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
29947 ac_abs_top_builddir
=$ac_pwd
29948 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
29949 # for backward compatibility:
29950 ac_top_builddir
=$ac_top_build_prefix
29953 .
) # We are building in place.
29955 ac_top_srcdir
=$ac_top_builddir_sub
29956 ac_abs_top_srcdir
=$ac_pwd ;;
29957 [\\/]* | ?
:[\\/]* ) # Absolute name.
29958 ac_srcdir
=$srcdir$ac_dir_suffix;
29959 ac_top_srcdir
=$srcdir
29960 ac_abs_top_srcdir
=$srcdir ;;
29961 *) # Relative name.
29962 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
29963 ac_top_srcdir
=$ac_top_build_prefix$srcdir
29964 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
29966 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
29976 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29977 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
29979 ac_MKDIR_P
=$MKDIR_P
29981 [\\/$
]* | ?
:[\\/]* ) ;;
29982 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
29986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29987 # If the template does not know about datarootdir, expand it.
29988 # FIXME: This hack should be removed a few years after 2.60.
29989 ac_datarootdir_hack
=; ac_datarootdir_seen
=
30000 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30001 *datarootdir
*) ac_datarootdir_seen
=yes;;
30002 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
30003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30004 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30007 ac_datarootdir_hack='
30008 s&@datadir@&$datadir&g
30009 s&@docdir@&$docdir&g
30010 s&@infodir@&$infodir&g
30011 s&@localedir@&$localedir&g
30012 s&@mandir@&$mandir&g
30013 s&\\\${datarootdir}&$datarootdir&g' ;;
30017 # Neutralize VPATH when `$srcdir' = `.'.
30018 # Shell code in configure.ac might set extrasub.
30019 # FIXME: do we really want to maintain this feature?
30020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30021 ac_sed_extra="$ac_vpsub
30024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
30026 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30027 s|@configure_input@|
$ac_sed_conf_input|
;t t
30028 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
30029 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
30030 s
&@srcdir@
&$ac_srcdir&;t t
30031 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
30032 s
&@top_srcdir@
&$ac_top_srcdir&;t t
30033 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
30034 s
&@builddir@
&$ac_builddir&;t t
30035 s
&@abs_builddir@
&$ac_abs_builddir&;t t
30036 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
30037 s
&@INSTALL@
&$ac_INSTALL&;t t
30038 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
30039 $ac_datarootdir_hack
30041 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
30042 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
30044 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30045 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
30046 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
30047 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
30049 which seems to be undefined. Please make sure it is defined" >&5
30050 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
30051 which seems to be undefined. Please make sure it is defined" >&2;}
30053 rm -f "$ac_tmp/stdin"
30055 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
30056 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
30058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30064 if test x"$ac_file" != x-; then
30066 $as_echo "/* $configure_input */" \
30067 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
30068 } >"$ac_tmp/config.h" \
30069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30070 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
30072 $as_echo "$as_me: $ac_file is unchanged" >&6;}
30075 mv "$ac_tmp/config.h" "$ac_file" \
30076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30079 $as_echo "/* $configure_input */" \
30080 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
30081 || as_fn_error $? "could not create -" "$LINENO" 5
30083 # Compute "$ac_file"'s index
in $config_headers.
30086 for _am_header
in $config_headers :; do
30087 case $_am_header in
30088 $_am_arg |
$_am_arg:* )
30091 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30094 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
30095 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30096 X"$_am_arg" : 'X\(//\)[^/]' \| \
30097 X"$_am_arg" : 'X\(//\)$' \| \
30098 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
30099 $as_echo X"$_am_arg" |
30100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30104 /^X\(\/\/\)[^/].*/{
30116 s/.*/./; q'`/stamp-h
$_am_stamp_count
30119 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
30120 $as_echo "$as_me: executing $ac_file commands" >&6;}
30125 case $ac_file$ac_mode in
30127 # Only add multilib support code if we just rebuilt the top-level
30129 case " $CONFIG_FILES " in
30131 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30134 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
30135 # Older Autoconf quotes --file arguments for eval, but not when files
30136 # are listed without --file. Let's play safe and only enable the eval
30137 # if we detect the quoting.
30138 case $CONFIG_FILES in
30139 *\'*) eval set x
"$CONFIG_FILES" ;;
30140 *) set x
$CONFIG_FILES ;;
30145 # Strip MF so we end up with the name of the file.
30146 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30147 # Check whether this is an Automake generated Makefile or not.
30148 # We used to match only the files named 'Makefile.in', but
30149 # some people rename them; so instead we look at the file content.
30150 # Grep'ing the first line is not enough: some people post-process
30151 # each Makefile.in and add a new line on top of each file to say so.
30152 # Grep'ing the whole file is not good either: AIX grep has a line
30153 # limit of 2048, but all sed's we know have understand at least 4000.
30154 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
30155 dirpart
=`$as_dirname -- "$mf" ||
30156 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30157 X"$mf" : 'X\(//\)[^/]' \| \
30158 X"$mf" : 'X\(//\)$' \| \
30159 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30165 /^X\(\/\/\)[^/].*/{
30181 # Extract the definition of DEPDIR, am__include, and am__quote
30182 # from the Makefile without running 'make'.
30183 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30184 test -z "$DEPDIR" && continue
30185 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30186 test -z "$am__include" && continue
30187 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30188 # Find all dependency output files, they are included files with
30189 # $(DEPDIR) in their names. We invoke sed twice because it is the
30190 # simplest approach to changing $(DEPDIR) to its actual value in the
30192 for file in `sed -n "
30193 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30194 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
30195 # Make sure the directory exists.
30196 test -f "$dirpart/$file" && continue
30197 fdir
=`$as_dirname -- "$file" ||
30198 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30199 X"$file" : 'X\(//\)[^/]' \| \
30200 X"$file" : 'X\(//\)$' \| \
30201 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30202 $as_echo X"$file" |
30203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30207 /^X\(\/\/\)[^/].*/{
30220 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
30221 # echo "creating $dirpart/$file"
30222 echo '# dummy' > "$dirpart/$file"
30229 # See if we are running on zsh, and set the options which allow our
30230 # commands through without removal of \ escapes.
30231 if test -n "${ZSH_VERSION+set}" ; then
30232 setopt NO_GLOB_SUBST
30235 cfgfile
="${ofile}T"
30236 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30239 cat <<_LT_EOF >> "$cfgfile"
30242 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30243 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
30244 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30245 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30247 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30248 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
30249 # Written by Gordon Matzigkeit, 1996
30251 # This file is part of GNU Libtool.
30253 # GNU Libtool is free software; you can redistribute it and/or
30254 # modify it under the terms of the GNU General Public License as
30255 # published by the Free Software Foundation; either version 2 of
30256 # the License, or (at your option) any later version.
30258 # As a special exception to the GNU General Public License,
30259 # if you distribute this file as part of a program or library that
30260 # is built using GNU Libtool, you may include this file under the
30261 # same distribution terms that you use for the rest of that program.
30263 # GNU Libtool is distributed in the hope that it will be useful,
30264 # but WITHOUT ANY WARRANTY; without even the implied warranty of
30265 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30266 # GNU General Public License for more details.
30268 # You should have received a copy of the GNU General Public License
30269 # along with GNU Libtool; see the file COPYING. If not, a copy
30270 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
30271 # obtained by writing to the Free Software Foundation, Inc.,
30272 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30275 # The names of the tagged configurations supported by this script.
30276 available_tags="FC "
30278 # ### BEGIN LIBTOOL CONFIG
30280 # A sed program that does not truncate output.
30283 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30284 Xsed="\$SED -e 1s/^X//"
30286 # A grep program that handles long lines.
30292 # A literal string matcher.
30295 # Shell to use when invoking shell scripts.
30298 # An echo program that protects backslashes.
30301 # Which release of libtool.m4 was used?
30302 macro_version=$macro_version
30303 macro_revision=$macro_revision
30305 # Whether or not to build shared libraries.
30306 build_libtool_libs=$enable_shared
30308 # Whether or not to build static libraries.
30309 build_old_libs=$enable_static
30311 # What type of objects to build.
30314 # Whether or not to optimize for fast installation.
30315 fast_install=$enable_fast_install
30318 host_alias=$host_alias
30322 # The build system.
30323 build_alias=$build_alias
30327 # A BSD- or MS-compatible name lister.
30330 # Whether we need soft or hard links.
30333 # What is the maximum length of a command?
30334 max_cmd_len=$max_cmd_len
30336 # Object file suffix (normally "o").
30339 # Executable file suffix (normally "").
30342 # whether the shell understands "unset".
30345 # turn spaces into newlines.
30348 # turn newlines into spaces.
30351 # An object symbol dumper.
30352 OBJDUMP=$lt_OBJDUMP
30354 # Method to check whether dependent libraries are shared objects.
30355 deplibs_check_method=$lt_deplibs_check_method
30357 # Command to use when deplibs_check_method == "file_magic".
30358 file_magic_cmd=$lt_file_magic_cmd
30362 AR_FLAGS=$lt_AR_FLAGS
30364 # A symbol stripping program.
30367 # Commands used to install an old-style archive.
30369 old_postinstall_cmds=$lt_old_postinstall_cmds
30370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30372 # Whether to use a lock for old archive extraction.
30373 lock_old_archive_extraction=$lock_old_archive_extraction
30378 # LTCC compiler flags.
30379 LTCFLAGS=$lt_CFLAGS
30381 # Take the output of nm and produce a listing of raw symbols and C names.
30382 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30384 # Transform the output of nm in a proper C declaration.
30385 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30387 # Transform the output of nm in a C name address pair.
30388 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30390 # Transform the output of nm in a C name address pair when lib prefix is needed.
30391 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
30393 # The name of the directory that contains temporary libtool files.
30396 # Used to examine libraries when file_magic_cmd begins with "file".
30397 MAGIC_CMD=$MAGIC_CMD
30399 # Must we lock files when doing compilation?
30400 need_locks=$lt_need_locks
30402 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
30403 DSYMUTIL=$lt_DSYMUTIL
30405 # Tool to change global to local symbols on Mac OS X.
30408 # Tool to manipulate fat objects and archives on Mac OS X.
30411 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
30414 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
30415 OTOOL64=$lt_OTOOL64
30417 # Old archive suffix (normally "a").
30420 # Shared library suffix (normally ".so").
30421 shrext_cmds=$lt_shrext_cmds
30423 # The commands to extract the exported symbol list from a shared archive.
30424 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30426 # Variables whose values should be saved in libtool wrapper scripts and
30427 # restored at link time.
30428 variables_saved_for_relink=$lt_variables_saved_for_relink
30430 # Do we need the "lib" prefix for modules?
30431 need_lib_prefix=$need_lib_prefix
30433 # Do we need a version for libraries?
30434 need_version=$need_version
30436 # Library versioning type.
30437 version_type=$version_type
30439 # Shared library runtime path variable.
30440 runpath_var=$runpath_var
30442 # Shared library path variable.
30443 shlibpath_var=$shlibpath_var
30445 # Is shlibpath searched before the hard-coded library search path?
30446 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30448 # Format of library name prefix.
30449 libname_spec=$lt_libname_spec
30451 # List of archive names. First name is the real one, the rest are links.
30452 # The last name is the one that the linker finds with -lNAME
30453 library_names_spec=$lt_library_names_spec
30455 # The coded name of the library, if different from the real name.
30456 soname_spec=$lt_soname_spec
30458 # Permission mode override for installation of shared libraries.
30459 install_override_mode=$lt_install_override_mode
30461 # Command to use after installation of a shared archive.
30462 postinstall_cmds=$lt_postinstall_cmds
30464 # Command to use after uninstallation of a shared archive.
30465 postuninstall_cmds=$lt_postuninstall_cmds
30467 # Commands used to finish a libtool library installation in a directory.
30468 finish_cmds=$lt_finish_cmds
30470 # As "finish_cmds", except a single script fragment to be evaled but
30472 finish_eval=$lt_finish_eval
30474 # Whether we should hardcode library paths into libraries.
30475 hardcode_into_libs=$hardcode_into_libs
30477 # Compile-time system search path for libraries.
30478 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30480 # Run-time system search path for libraries.
30481 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30483 # Whether dlopen is supported.
30484 dlopen_support=$enable_dlopen
30486 # Whether dlopen of programs is supported.
30487 dlopen_self=$enable_dlopen_self
30489 # Whether dlopen of statically linked programs is supported.
30490 dlopen_self_static=$enable_dlopen_self_static
30492 # Commands to strip libraries.
30493 old_striplib=$lt_old_striplib
30494 striplib=$lt_striplib
30497 # The linker used to build libraries.
30500 # How to create reloadable object files.
30501 reload_flag=$lt_reload_flag
30502 reload_cmds=$lt_reload_cmds
30504 # Commands used to build an old-style archive.
30505 old_archive_cmds=$lt_old_archive_cmds
30507 # A language specific compiler.
30510 # Is the compiler the GNU compiler?
30513 # Compiler flag to turn off builtin functions.
30514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30516 # How to pass a linker flag through the compiler.
30517 wl=$lt_lt_prog_compiler_wl
30519 # Additional compiler flags for building library objects.
30520 pic_flag=$lt_lt_prog_compiler_pic
30522 # Compiler flag to prevent dynamic linking.
30523 link_static_flag=$lt_lt_prog_compiler_static
30525 # Does compiler simultaneously support -c and -o options?
30526 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30528 # Whether or not to add -lc for building shared libraries.
30529 build_libtool_need_lc=$archive_cmds_need_lc
30531 # Whether or not to disallow shared libs when runtime libs are static.
30532 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30534 # Compiler flag to allow reflexive dlopens.
30535 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30537 # Compiler flag to generate shared objects directly from archives.
30538 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30540 # Whether the compiler copes with passing no objects directly.
30541 compiler_needs_object=$lt_compiler_needs_object
30543 # Create an old-style archive from a shared archive.
30544 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30546 # Create a temporary old-style archive to link instead of a shared archive.
30547 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30549 # Commands used to build a shared archive.
30550 archive_cmds=$lt_archive_cmds
30551 archive_expsym_cmds=$lt_archive_expsym_cmds
30553 # Commands used to build a loadable module if different from building
30554 # a shared archive.
30555 module_cmds=$lt_module_cmds
30556 module_expsym_cmds=$lt_module_expsym_cmds
30558 # Whether we are building with GNU ld or not.
30559 with_gnu_ld=$lt_with_gnu_ld
30561 # Flag that allows shared libraries with undefined symbols to be built.
30562 allow_undefined_flag=$lt_allow_undefined_flag
30564 # Flag that enforces no undefined symbols.
30565 no_undefined_flag=$lt_no_undefined_flag
30567 # Flag to hardcode \$libdir into a binary during linking.
30568 # This must work even if \$libdir does not exist
30569 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30571 # If ld is used when linking, flag to hardcode \$libdir into a binary
30572 # during linking. This must work even if \$libdir does not exist.
30573 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30575 # Whether we need a single "-rpath" flag with a separated argument.
30576 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30578 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30579 # DIR into the resulting binary.
30580 hardcode_direct=$hardcode_direct
30582 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30583 # DIR into the resulting binary and the resulting library dependency is
30584 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30585 # library is relocated.
30586 hardcode_direct_absolute=$hardcode_direct_absolute
30588 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30589 # into the resulting binary.
30590 hardcode_minus_L=$hardcode_minus_L
30592 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30593 # into the resulting binary.
30594 hardcode_shlibpath_var=$hardcode_shlibpath_var
30596 # Set to "yes" if building a shared library automatically hardcodes DIR
30597 # into the library and all subsequent libraries and executables linked
30599 hardcode_automatic=$hardcode_automatic
30601 # Set to yes if linker adds runtime paths of dependent libraries
30602 # to runtime path list.
30603 inherit_rpath=$inherit_rpath
30605 # Whether libtool must link a program against all its dependency libraries.
30606 link_all_deplibs=$link_all_deplibs
30608 # Fix the shell variable \$srcfile for the compiler.
30609 fix_srcfile_path=$lt_fix_srcfile_path
30611 # Set to "yes" if exported symbols are required.
30612 always_export_symbols=$always_export_symbols
30614 # The commands to list exported symbols.
30615 export_symbols_cmds=$lt_export_symbols_cmds
30617 # Symbols that should not be listed in the preloaded symbols.
30618 exclude_expsyms=$lt_exclude_expsyms
30620 # Symbols that must always be exported.
30621 include_expsyms=$lt_include_expsyms
30623 # Commands necessary for linking programs (against libraries) with templates.
30624 prelink_cmds=$lt_prelink_cmds
30626 # Specify filename containing input files.
30627 file_list_spec=$lt_file_list_spec
30629 # How to hardcode a shared library path into an executable.
30630 hardcode_action=$hardcode_action
30632 # The directories searched by this compiler when creating a shared library.
30633 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
30635 # Dependencies to place before and after the objects being linked to
30636 # create a shared library.
30637 predep_objects=$lt_predep_objects
30638 postdep_objects=$lt_postdep_objects
30639 predeps=$lt_predeps
30640 postdeps=$lt_postdeps
30642 # The library search path used internally by the compiler when linking
30643 # a shared library.
30644 compiler_lib_search_path=$lt_compiler_lib_search_path
30646 # ### END LIBTOOL CONFIG
30652 cat <<\_LT_EOF
>> "$cfgfile"
30653 # AIX sometimes has problems with the GCC collect2 program. For some
30654 # reason, if we set the COLLECT_NAMES environment variable, the problems
30655 # vanish in a puff of smoke.
30656 if test "X${COLLECT_NAMES+set}" != Xset
; then
30658 export COLLECT_NAMES
30665 ltmain
="$ac_aux_dir/ltmain.sh"
30668 # We use sed instead of cat because bash on DJGPP gets confused if
30669 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30670 # text mode, it properly converts lines to CR/LF. This bash problem
30671 # is reportedly fixed, but why not run on old versions too?
30672 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30673 ||
(rm -f "$cfgfile"; exit 1)
30677 cat << \_LT_EOF
>> "$cfgfile"
30679 # func_dirname file append nondir_replacement
30680 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30681 # otherwise set result to NONDIR_REPLACEMENT.
30685 */*) func_dirname_result
="${1%/*}${2}" ;;
30686 * ) func_dirname_result
="${3}" ;;
30690 # func_basename file
30693 func_basename_result
="${1##*/}"
30696 # func_dirname_and_basename file append nondir_replacement
30697 # perform func_basename and func_dirname in a single function
30699 # dirname: Compute the dirname of FILE. If nonempty,
30700 # add APPEND to the result, otherwise set result
30701 # to NONDIR_REPLACEMENT.
30702 # value returned in "$func_dirname_result"
30703 # basename: Compute filename of FILE.
30704 # value retuned in "$func_basename_result"
30705 # Implementation must be kept synchronized with func_dirname
30706 # and func_basename. For efficiency, we do not delegate to
30707 # those functions but instead duplicate the functionality here.
30708 func_dirname_and_basename
()
30711 */*) func_dirname_result
="${1%/*}${2}" ;;
30712 * ) func_dirname_result
="${3}" ;;
30714 func_basename_result
="${1##*/}"
30717 # func_stripname prefix suffix name
30718 # strip PREFIX and SUFFIX off of NAME.
30719 # PREFIX and SUFFIX must not contain globbing or regex special
30720 # characters, hashes, percent signs, but SUFFIX may contain a leading
30721 # dot (in which case that matches only a dot).
30724 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30725 # positional parameters, so assign one to ordinary parameter first.
30726 func_stripname_result
=${3}
30727 func_stripname_result
=${func_stripname_result#"${1}"}
30728 func_stripname_result
=${func_stripname_result%"${2}"}
30734 func_opt_split_opt
=${1%%=*}
30735 func_opt_split_arg
=${1#*=}
30742 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30743 *) func_lo2o_result
=${1} ;;
30747 # func_xform libobj-or-source
30750 func_xform_result
=${1%.*}.lo
30753 # func_arith arithmetic-term...
30756 func_arith_result
=$
(( $
* ))
30760 # STRING may not start with a hyphen.
30763 func_len_result
=${#1}
30768 *) # Bourne compatible functions.
30769 cat << \_LT_EOF
>> "$cfgfile"
30771 # func_dirname file append nondir_replacement
30772 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30773 # otherwise set result to NONDIR_REPLACEMENT.
30776 # Extract subdirectory from the argument.
30777 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
30778 if test "X$func_dirname_result" = "X${1}"; then
30779 func_dirname_result
="${3}"
30781 func_dirname_result
="$func_dirname_result${2}"
30785 # func_basename file
30788 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
30792 # func_stripname prefix suffix name
30793 # strip PREFIX and SUFFIX off of NAME.
30794 # PREFIX and SUFFIX must not contain globbing or regex special
30795 # characters, hashes, percent signs, but SUFFIX may contain a leading
30796 # dot (in which case that matches only a dot).
30797 # func_strip_suffix prefix name
30801 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
30802 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
30807 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30808 my_sed_long_arg
='1s/^-[^=]*=//'
30813 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
30814 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
30820 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
30823 # func_xform libobj-or-source
30826 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
30829 # func_arith arithmetic-term...
30832 func_arith_result
=`expr "$@"`
30836 # STRING may not start with a hyphen.
30839 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
30845 case $lt_shell_append in
30847 cat << \_LT_EOF
>> "$cfgfile"
30849 # func_append var value
30850 # Append VALUE to the end of shell variable VAR.
30858 cat << \_LT_EOF
>> "$cfgfile"
30860 # func_append var value
30861 # Append VALUE to the end of shell variable VAR.
30872 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30873 ||
(rm -f "$cfgfile"; exit 1)
30875 mv -f "$cfgfile" "$ofile" ||
30876 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30880 cat <<_LT_EOF >> "$ofile"
30882 # ### BEGIN LIBTOOL TAG CONFIG: FC
30884 # The linker used to build libraries.
30887 # How to create reloadable object files.
30888 reload_flag=$lt_reload_flag_FC
30889 reload_cmds=$lt_reload_cmds_FC
30891 # Commands used to build an old-style archive.
30892 old_archive_cmds=$lt_old_archive_cmds_FC
30894 # A language specific compiler.
30897 # Is the compiler the GNU compiler?
30900 # Compiler flag to turn off builtin functions.
30901 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
30903 # How to pass a linker flag through the compiler.
30904 wl=$lt_lt_prog_compiler_wl_FC
30906 # Additional compiler flags for building library objects.
30907 pic_flag=$lt_lt_prog_compiler_pic_FC
30909 # Compiler flag to prevent dynamic linking.
30910 link_static_flag=$lt_lt_prog_compiler_static_FC
30912 # Does compiler simultaneously support -c and -o options?
30913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
30915 # Whether or not to add -lc for building shared libraries.
30916 build_libtool_need_lc=$archive_cmds_need_lc_FC
30918 # Whether or not to disallow shared libs when runtime libs are static.
30919 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
30921 # Compiler flag to allow reflexive dlopens.
30922 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
30924 # Compiler flag to generate shared objects directly from archives.
30925 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
30927 # Whether the compiler copes with passing no objects directly.
30928 compiler_needs_object=$lt_compiler_needs_object_FC
30930 # Create an old-style archive from a shared archive.
30931 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
30933 # Create a temporary old-style archive to link instead of a shared archive.
30934 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
30936 # Commands used to build a shared archive.
30937 archive_cmds=$lt_archive_cmds_FC
30938 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
30940 # Commands used to build a loadable module if different from building
30941 # a shared archive.
30942 module_cmds=$lt_module_cmds_FC
30943 module_expsym_cmds=$lt_module_expsym_cmds_FC
30945 # Whether we are building with GNU ld or not.
30946 with_gnu_ld=$lt_with_gnu_ld_FC
30948 # Flag that allows shared libraries with undefined symbols to be built.
30949 allow_undefined_flag=$lt_allow_undefined_flag_FC
30951 # Flag that enforces no undefined symbols.
30952 no_undefined_flag=$lt_no_undefined_flag_FC
30954 # Flag to hardcode \$libdir into a binary during linking.
30955 # This must work even if \$libdir does not exist
30956 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
30958 # If ld is used when linking, flag to hardcode \$libdir into a binary
30959 # during linking. This must work even if \$libdir does not exist.
30960 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
30962 # Whether we need a single "-rpath" flag with a separated argument.
30963 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
30965 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30966 # DIR into the resulting binary.
30967 hardcode_direct=$hardcode_direct_FC
30969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30970 # DIR into the resulting binary and the resulting library dependency is
30971 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30972 # library is relocated.
30973 hardcode_direct_absolute=$hardcode_direct_absolute_FC
30975 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30976 # into the resulting binary.
30977 hardcode_minus_L=$hardcode_minus_L_FC
30979 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30980 # into the resulting binary.
30981 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
30983 # Set to "yes" if building a shared library automatically hardcodes DIR
30984 # into the library and all subsequent libraries and executables linked
30986 hardcode_automatic=$hardcode_automatic_FC
30988 # Set to yes if linker adds runtime paths of dependent libraries
30989 # to runtime path list.
30990 inherit_rpath=$inherit_rpath_FC
30992 # Whether libtool must link a program against all its dependency libraries.
30993 link_all_deplibs=$link_all_deplibs_FC
30995 # Fix the shell variable \$srcfile for the compiler.
30996 fix_srcfile_path=$lt_fix_srcfile_path_FC
30998 # Set to "yes" if exported symbols are required.
30999 always_export_symbols=$always_export_symbols_FC
31001 # The commands to list exported symbols.
31002 export_symbols_cmds=$lt_export_symbols_cmds_FC
31004 # Symbols that should not be listed in the preloaded symbols.
31005 exclude_expsyms=$lt_exclude_expsyms_FC
31007 # Symbols that must always be exported.
31008 include_expsyms=$lt_include_expsyms_FC
31010 # Commands necessary for linking programs (against libraries) with templates.
31011 prelink_cmds=$lt_prelink_cmds_FC
31013 # Specify filename containing input files.
31014 file_list_spec=$lt_file_list_spec_FC
31016 # How to hardcode a shared library path into an executable.
31017 hardcode_action=$hardcode_action_FC
31019 # The directories searched by this compiler when creating a shared library.
31020 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
31022 # Dependencies to place before and after the objects being linked to
31023 # create a shared library.
31024 predep_objects=$lt_predep_objects_FC
31025 postdep_objects=$lt_postdep_objects_FC
31026 predeps=$lt_predeps_FC
31027 postdeps=$lt_postdeps_FC
31029 # The library search path used internally by the compiler when linking
31030 # a shared library.
31031 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
31033 # ### END LIBTOOL TAG CONFIG: FC
31038 if test "$GCC" = yes; then
31039 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
31041 echo "/* generated for $CC */" > tmp-stdint.h
31044 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31046 #ifndef GCC_GENERATED_STDINT_H
31047 #define GCC_GENERATED_STDINT_H 1
31049 #include <sys/types.h>
31052 if test "$acx_cv_header_stdint" != stdint.h
; then
31053 echo "#include <stddef.h>" >> tmp-stdint.h
31055 if test "$acx_cv_header_stdint" != stddef.h
; then
31056 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
31059 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31060 /* glibc uses these symbols as guards to prevent redefinitions. */
31061 #ifdef __int8_t_defined
31066 #ifdef __uint32_t_defined
31072 # ----------------- done header, emit basic int types -------------
31073 if test "$acx_cv_header_stdint" = stddef.h
; then
31074 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31078 #ifndef __uint8_t_defined
31079 #define __uint8_t_defined
31081 typedef unsigned $acx_cv_type_int8_t uint8_t;
31088 #ifndef __uint16_t_defined
31089 #define __uint16_t_defined
31091 typedef unsigned $acx_cv_type_int16_t uint16_t;
31098 #ifndef __uint32_t_defined
31099 #define __uint32_t_defined
31101 typedef unsigned $acx_cv_type_int32_t uint32_t;
31108 #ifndef __int8_t_defined
31109 #define __int8_t_defined
31111 typedef $acx_cv_type_int8_t int8_t;
31118 #ifndef __int16_t_defined
31119 #define __int16_t_defined
31121 typedef $acx_cv_type_int16_t int16_t;
31128 #ifndef __int32_t_defined
31129 #define __int32_t_defined
31131 typedef $acx_cv_type_int32_t int32_t;
31136 elif test "$ac_cv_type_u_int32_t" = yes; then
31137 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31139 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
31152 #ifndef __uint8_t_defined
31153 #define __uint8_t_defined
31155 typedef u_int8_t uint8_t;
31162 #ifndef __uint16_t_defined
31163 #define __uint16_t_defined
31165 typedef u_int16_t uint16_t;
31172 #ifndef __uint32_t_defined
31173 #define __uint32_t_defined
31175 typedef u_int32_t uint32_t;
31181 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31183 /* Some systems have guard macros to prevent redefinitions, define them. */
31205 # ------------- done basic int types, emit int64_t types ------------
31206 if test "$ac_cv_type_uint64_t" = yes; then
31207 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31209 /* system headers have good uint64_t and int64_t */
31217 elif test "$ac_cv_type_u_int64_t" = yes; then
31218 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31220 /* system headers have an u_int64_t (and int64_t) */
31226 #ifndef __uint64_t_defined
31227 #define __uint64_t_defined
31229 typedef u_int64_t uint64_t;
31234 elif test -n "$acx_cv_type_int64_t"; then
31235 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31237 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
31241 typedef $acx_cv_type_int64_t int64_t;
31246 #ifndef __uint64_t_defined
31247 #define __uint64_t_defined
31249 typedef unsigned $acx_cv_type_int64_t uint64_t;
31255 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31257 /* some common heuristics for int64_t, using compiler-specific tests */
31258 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
31261 #ifndef __int64_t_defined
31263 typedef long long int64_t;
31270 typedef unsigned long long uint64_t;
31274 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
31275 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
31276 does not implement __extension__. But that compiler doesn't define
31278 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
31279 # define __extension__
31285 __extension__ typedef long long int64_t;
31291 __extension__ typedef unsigned long long uint64_t;
31295 #elif !defined __STRICT_ANSI__
31296 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
31301 typedef __int64 int64_t;
31307 typedef unsigned __int64 uint64_t;
31310 # endif /* compiler */
31312 #endif /* ANSI version */
31316 # ------------- done int64_t types, emit intptr types ------------
31317 if test "$ac_cv_type_uintptr_t" != yes; then
31318 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31320 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
31321 #ifndef __uintptr_t_defined
31323 typedef u$acx_cv_type_intptr_t uintptr_t;
31326 #ifndef __intptr_t_defined
31328 typedef $acx_cv_type_intptr_t intptr_t;
31334 # ------------- done intptr types, emit int_least types ------------
31335 if test "$ac_cv_type_int_least32_t" != yes; then
31336 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31338 /* Define int_least types */
31339 typedef int8_t int_least8_t;
31340 typedef int16_t int_least16_t;
31341 typedef int32_t int_least32_t;
31343 typedef int64_t int_least64_t;
31346 typedef uint8_t uint_least8_t;
31347 typedef uint16_t uint_least16_t;
31348 typedef uint32_t uint_least32_t;
31350 typedef uint64_t uint_least64_t;
31355 # ------------- done intptr types, emit int_fast types ------------
31356 if test "$ac_cv_type_int_fast32_t" != yes; then
31357 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31359 /* Define int_fast types. short is often slow */
31360 typedef int8_t int_fast8_t;
31361 typedef int int_fast16_t;
31362 typedef int32_t int_fast32_t;
31364 typedef int64_t int_fast64_t;
31367 typedef uint8_t uint_fast8_t;
31368 typedef unsigned int uint_fast16_t;
31369 typedef uint32_t uint_fast32_t;
31371 typedef uint64_t uint_fast64_t;
31376 if test "$ac_cv_type_uintmax_t" != yes; then
31377 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31379 /* Define intmax based on what we found */
31382 typedef int64_t intmax_t;
31384 typedef long intmax_t;
31389 typedef uint64_t uintmax_t;
31391 typedef unsigned long uintmax_t;
31397 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31399 #endif /* GCC_GENERATED_STDINT_H */
31402 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
31405 mv -f tmp-stdint.h gstdint.h
31416 ac_clean_files
=$ac_clean_files_save
31418 test $ac_write_fail = 0 ||
31419 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
31422 # configure is writing to config.log, and then calls config.status.
31423 # config.status does its own redirection, appending to config.log.
31424 # Unfortunately, on DOS this fails, as config.log is still kept open
31425 # by configure, so config.status won't be able to write to it; its
31426 # output is simply discarded. So we exec the FD to /dev/null,
31427 # effectively closing config.log, so it can be properly (re)opened and
31428 # appended to by config.status. When coming back to configure, we
31429 # need to make the FD available again.
31430 if test "$no_create" != yes; then
31432 ac_config_status_args
=
31433 test "$silent" = yes &&
31434 ac_config_status_args
="$ac_config_status_args --quiet"
31436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31439 # would make configure fail if this is the last instruction.
31440 $ac_cs_success || as_fn_exit
1
31442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
31444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}