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
647 LIBGFOR_BUILD_QUAD_FALSE
648 LIBGFOR_BUILD_QUAD_TRUE
653 extra_ldflags_libgfortran
681 LIBGFOR_MINIMAL_FALSE
683 LIBGFOR_USE_SYMVER_SUN_FALSE
684 LIBGFOR_USE_SYMVER_SUN_TRUE
685 LIBGFOR_USE_SYMVER_GNU_FALSE
686 LIBGFOR_USE_SYMVER_GNU_TRUE
687 LIBGFOR_USE_SYMVER_FALSE
688 LIBGFOR_USE_SYMVER_TRUE
715 MAINTAINER_MODE_FALSE
729 INSTALL_STRIP_PROGRAM
791 program_transform_name
804 enable_option_checking
806 enable_version_specific_runtime_libs
809 enable_maintainer_mode
811 enable_dependency_tracking
822 enable_libquadmath_support
823 with_gcc_major_version_only
825 ac_precious_vars
='build_alias
838 # Initialize some variables set by options.
840 ac_init_version
=false
841 ac_unrecognized_opts
=
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
852 program_transform_name
=s
,x
,x
,
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir
='${exec_prefix}/bin'
867 sbindir
='${exec_prefix}/sbin'
868 libexecdir
='${exec_prefix}/libexec'
869 datarootdir
='${prefix}/share'
870 datadir
='${datarootdir}'
871 sysconfdir
='${prefix}/etc'
872 sharedstatedir
='${prefix}/com'
873 localstatedir
='${prefix}/var'
874 includedir
='${prefix}/include'
875 oldincludedir
='/usr/include'
876 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
877 infodir
='${datarootdir}/info'
882 libdir
='${exec_prefix}/lib'
883 localedir
='${datarootdir}/locale'
884 mandir
='${datarootdir}/man'
890 # If the previous option needs an argument, assign it.
891 if test -n "$ac_prev"; then
892 eval $ac_prev=\
$ac_option
898 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 # Accept the important Cygnus configure options, so we can diagnose typos.
905 case $ac_dashdash$ac_option in
909 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
911 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
914 -build |
--build |
--buil |
--bui |
--bu)
915 ac_prev
=build_alias
;;
916 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
917 build_alias
=$ac_optarg ;;
919 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
920 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
921 ac_prev
=cache_file
;;
922 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
923 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
924 cache_file
=$ac_optarg ;;
927 cache_file
=config.cache
;;
929 -datadir |
--datadir |
--datadi |
--datad)
931 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
932 datadir
=$ac_optarg ;;
934 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
935 |
--dataroo |
--dataro |
--datar)
936 ac_prev
=datarootdir
;;
937 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
938 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
939 datarootdir
=$ac_optarg ;;
941 -disable-* |
--disable-*)
942 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
945 as_fn_error $?
"invalid feature name: $ac_useropt"
946 ac_useropt_orig
=$ac_useropt
947 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948 case $ac_user_opts in
952 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
953 ac_unrecognized_sep
=', ';;
955 eval enable_
$ac_useropt=no
;;
957 -docdir |
--docdir |
--docdi |
--doc |
--do)
959 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
962 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
964 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
967 -enable-* |
--enable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error $?
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=\
$ac_optarg ;;
983 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
984 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
985 |
--exec |
--exe |
--ex)
986 ac_prev
=exec_prefix
;;
987 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
988 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
989 |
--exec=* |
--exe=* |
--ex=*)
990 exec_prefix
=$ac_optarg ;;
992 -gas |
--gas |
--ga |
--g)
993 # Obsolete; use --with-gas.
996 -help |
--help |
--hel |
--he |
-h)
998 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
999 ac_init_help
=recursive
;;
1000 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1001 ac_init_help
=short
;;
1003 -host |
--host |
--hos |
--ho)
1004 ac_prev
=host_alias
;;
1005 -host=* |
--host=* |
--hos=* |
--ho=*)
1006 host_alias
=$ac_optarg ;;
1008 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1010 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1012 htmldir
=$ac_optarg ;;
1014 -includedir |
--includedir |
--includedi |
--included |
--include \
1015 |
--includ |
--inclu |
--incl |
--inc)
1016 ac_prev
=includedir
;;
1017 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1018 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1019 includedir
=$ac_optarg ;;
1021 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1023 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1024 infodir
=$ac_optarg ;;
1026 -libdir |
--libdir |
--libdi |
--libd)
1028 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1029 libdir
=$ac_optarg ;;
1031 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1032 |
--libexe |
--libex |
--libe)
1033 ac_prev
=libexecdir
;;
1034 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1035 |
--libexe=* |
--libex=* |
--libe=*)
1036 libexecdir
=$ac_optarg ;;
1038 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1039 ac_prev
=localedir
;;
1040 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1041 localedir
=$ac_optarg ;;
1043 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1044 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1045 ac_prev
=localstatedir
;;
1046 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1047 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1048 localstatedir
=$ac_optarg ;;
1050 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1052 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1053 mandir
=$ac_optarg ;;
1055 -nfp |
--nfp |
--nf)
1056 # Obsolete; use --without-fp.
1059 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1060 |
--no-cr |
--no-c |
-n)
1063 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1064 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1067 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1068 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1069 |
--oldin |
--oldi |
--old |
--ol |
--o)
1070 ac_prev
=oldincludedir
;;
1071 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1072 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1073 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1074 oldincludedir
=$ac_optarg ;;
1076 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1078 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1079 prefix
=$ac_optarg ;;
1081 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1082 |
--program-pre |
--program-pr |
--program-p)
1083 ac_prev
=program_prefix
;;
1084 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1085 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1086 program_prefix
=$ac_optarg ;;
1088 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1089 |
--program-suf |
--program-su |
--program-s)
1090 ac_prev
=program_suffix
;;
1091 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1092 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1093 program_suffix
=$ac_optarg ;;
1095 -program-transform-name |
--program-transform-name \
1096 |
--program-transform-nam |
--program-transform-na \
1097 |
--program-transform-n |
--program-transform- \
1098 |
--program-transform |
--program-transfor \
1099 |
--program-transfo |
--program-transf \
1100 |
--program-trans |
--program-tran \
1101 |
--progr-tra |
--program-tr |
--program-t)
1102 ac_prev
=program_transform_name
;;
1103 -program-transform-name=* |
--program-transform-name=* \
1104 |
--program-transform-nam=* |
--program-transform-na=* \
1105 |
--program-transform-n=* |
--program-transform-=* \
1106 |
--program-transform=* |
--program-transfor=* \
1107 |
--program-transfo=* |
--program-transf=* \
1108 |
--program-trans=* |
--program-tran=* \
1109 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1110 program_transform_name
=$ac_optarg ;;
1112 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1114 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1115 pdfdir
=$ac_optarg ;;
1117 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1119 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1122 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1123 |
-silent |
--silent |
--silen |
--sile |
--sil)
1126 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1128 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1130 sbindir
=$ac_optarg ;;
1132 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1133 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1134 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1136 ac_prev
=sharedstatedir
;;
1137 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1138 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1139 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1141 sharedstatedir
=$ac_optarg ;;
1143 -site |
--site |
--sit)
1145 -site=* |
--site=* |
--sit=*)
1148 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1150 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1151 srcdir
=$ac_optarg ;;
1153 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1154 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1155 ac_prev
=sysconfdir
;;
1156 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1157 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1158 sysconfdir
=$ac_optarg ;;
1160 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1161 ac_prev
=target_alias
;;
1162 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1163 target_alias
=$ac_optarg ;;
1165 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1168 -version |
--version |
--versio |
--versi |
--vers |
-V)
1169 ac_init_version
=: ;;
1172 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error $?
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=\
$ac_optarg ;;
1187 -without-* |
--without-*)
1188 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error $?
"invalid package name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval with_
$ac_useropt=no
;;
1204 # Obsolete; use --with-x.
1207 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1208 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1209 ac_prev
=x_includes
;;
1210 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1211 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1212 x_includes
=$ac_optarg ;;
1214 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1215 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1216 ac_prev
=x_libraries
;;
1217 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1218 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1219 x_libraries
=$ac_optarg ;;
1221 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information"
1226 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
1228 case $ac_envvar in #(
1229 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1230 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1232 eval $ac_envvar=\
$ac_optarg
1233 export $ac_envvar ;;
1236 # FIXME: should be removed in autoconf 3.0.
1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 if test -n "$ac_prev"; then
1247 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1248 as_fn_error $?
"missing argument to $ac_option"
1251 if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1254 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 # Check all directory arguments for consistency.
1260 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir
1265 eval ac_val
=\$
$ac_var
1266 # Remove trailing slashes.
1269 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\
$ac_val;;
1272 # Be sure to have absolute directory names.
1274 [\\/$
]* | ?
:[\\/]* ) continue;;
1275 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1277 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1285 target
=$target_alias
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x
; then
1289 if test "x$build_alias" = x
; then
1290 cross_compiling
=maybe
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $?
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $?
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 for ac_var
in $ac_precious_vars; do
1363 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1365 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --program-prefix=PREFIX prepend PREFIX to installed program names
1435 --program-suffix=SUFFIX append SUFFIX to installed program names
1436 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1439 --build=BUILD configure
for building on BUILD
[guessed
]
1440 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1441 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1452 --disable-option-checking ignore unrecognized
--enable/--with options
1453 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1454 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1455 --enable-version-specific-runtime-libs
1456 specify that runtime libraries should be installed
1457 in a compiler-specific directory
1458 --enable-intermodule build the library
in one step
1459 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1460 --disable-silent-rules verbose build output
(undo
: "make V=0")
1461 --enable-maintainer-mode
1462 enable make rules and dependencies not useful
(and
1463 sometimes confusing
) to the casual installer
1464 --enable-multilib build many library versions
(default
)
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1470 --disable-symvers disable symbol versioning
for libgfortran
1471 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1472 --enable-static[=PKGS
] build static libraries
[default
=yes]
1473 --enable-fast-install[=PKGS
]
1474 optimize
for fast installation
[default
=yes]
1475 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1476 --disable-largefile omit support
for large files
1477 --disable-libquadmath-support
1478 disable libquadmath support
for Fortran
1481 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1482 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1483 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1484 --with-toolexeclibdir=DIR
1485 install libraries built with a cross compiler within
1487 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1488 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1490 --with-gcc-major-version-only
1491 use only GCC major number
in filesystem paths
1493 Some influential environment variables
:
1494 CC C compiler
command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1497 nonstandard directory
<lib dir
>
1498 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1499 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1500 you have headers
in a nonstandard directory
<include dir
>
1502 FC Fortran compiler
command
1503 FCFLAGS Fortran compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to the package provider.
1509 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1510 General help using GNU software: <http://www.gnu.org/gethelp/>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1540 .) # We are building in place.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1573 GNU Fortran Runtime Library configure 0.3
1574 generated by GNU Autoconf 2.69
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1597 *) ac_try_echo
=$ac_try;;
1599 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err
; then
1604 grep -v '^ *+' conftest.err
>conftest.er1
1605 cat conftest.er1
>&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.
$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.
$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status
$ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1631 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1667 ac_fn_c_check_header_mongrel ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1691 ac_header_compiler=no
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1704 if ac_fn_c_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1707 ac_header_preproc=no
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1739 eval "$3=\$ac_header_compiler"
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 } # ac_fn_c_check_header_mongrel
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1759 *) ac_try_echo
=$ac_try;;
1761 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1767 { { case "(($ac_try" in
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_try") 2>&5
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; }; }; then :
1779 $as_echo "$as_me: program exited with status $ac_status" >&5
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=$ac_status
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1791 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists and can be compiled using the include files in
1794 # INCLUDES, setting the cache variable VAR accordingly.
1795 ac_fn_c_check_header_compile ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1808 if ac_fn_c_try_compile "$LINENO"; then :
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_header_compile
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1838 if test -s conftest.err
; then
1839 grep -v '^ *+' conftest.err
>conftest.er1
1840 cat conftest.er1
>&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest
$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 test -x conftest
$ac_exeext
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status
$ac_retval
1866 } # ac_fn_c_try_link
1868 # ac_fn_c_check_func LINENO FUNC VAR
1869 # ----------------------------------
1870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1871 ac_fn_c_check_func
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \
${$3+:} false
; then :
1877 $as_echo_n "(cached) " >&6
1879 if test x
$gcc_no_link = xyes
; then
1880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link
"$LINENO"; then :
1928 rm -f core conftest.err conftest.
$ac_objext \
1929 conftest
$ac_exeext conftest.
$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1938 # ac_fn_fc_try_compile LINENO
1939 # ---------------------------
1940 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_fc_try_compile
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 rm -f conftest.
$ac_objext
1945 if { { ac_try
="$ac_compile"
1947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_compile") 2>conftest.err
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && {
1961 test -z "$ac_fc_werror_flag" ||
1962 test ! -s conftest.err
1963 } && test -s conftest.$ac_objext; then :
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_fc_try_compile
1976 # ac_fn_fc_try_link LINENO
1977 # ------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_fc_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1986 *) ac_try_echo
=$ac_try;;
1988 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err
; then
1993 grep -v '^ *+' conftest.err
>conftest.er1
1994 cat conftest.er1
>&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_fc_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest
$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 test -x conftest
$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.
$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status
$ac_retval
2020 } # ac_fn_fc_try_link
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \
${$3+:} false
; then :
2032 $as_echo_n "(cached) " >&6
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_type
2076 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2077 # --------------------------------------------
2078 # Tries to find the compile-time value of EXPR in a program that includes
2079 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2081 ac_fn_c_compute_int
()
2083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2084 if test "$cross_compiling" = yes; then
2085 # Depending upon the size, compute the lo and hi bounds.
2086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 static int test_array [1 - 2 * !(($2) >= 0)];
2094 return test_array [0];
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2111 return test_array [0];
2117 if ac_fn_c_try_compile
"$LINENO"; then :
2118 ac_hi
=$ac_mid; break
2120 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2121 if test $ac_lo -le $ac_mid; then
2125 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2136 static int test_array [1 - 2 * !(($2) < 0)];
2138 return test_array [0];
2144 if ac_fn_c_try_compile
"$LINENO"; then :
2147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2153 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2155 return test_array [0];
2161 if ac_fn_c_try_compile
"$LINENO"; then :
2162 ac_lo
=$ac_mid; break
2164 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2165 if test $ac_mid -le $ac_hi; then
2169 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2179 # Binary search between lo and hi bounds.
2180 while test "x$ac_lo" != "x$ac_hi"; do
2181 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2188 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2190 return test_array [0];
2196 if ac_fn_c_try_compile
"$LINENO"; then :
2199 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2204 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 static long int longval () { return $2; }
2212 static unsigned long int ulongval () { return $2; }
2219 FILE *f = fopen ("conftest.val", "w");
2224 long int i = longval ();
2227 fprintf (f, "%ld", i);
2231 unsigned long int i = ulongval ();
2234 fprintf (f, "%lu", i);
2236 /* Do not output a trailing newline, as this causes \r\n confusion
2237 on some platforms. */
2238 return ferror (f) || fclose (f) != 0;
2244 if ac_fn_c_try_run
"$LINENO"; then :
2245 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2250 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 as_fn_set_status
$ac_retval
2257 } # ac_fn_c_compute_int
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member
()
2265 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if eval \
${$4+:} false
; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2284 if ac_fn_c_try_compile
"$LINENO"; then :
2287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2294 if (sizeof ac_aggr.$3)
2300 if ac_fn_c_try_compile
"$LINENO"; then :
2305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2314 } # ac_fn_c_check_member
2315 cat >config.log
<<_ACEOF
2316 This file contains any messages produced by compilers while
2317 running configure, to aid debugging if configure makes a mistake.
2319 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2320 generated by GNU Autoconf 2.69. Invocation command line was
2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2344 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 $as_echo "PATH: $as_dir"
2372 # Keep a trace of the command line.
2373 # Strip out --no-create and --no-recursion so they do not pile up.
2374 # Strip out --silent because we don't want to record it for future runs.
2375 # Also quote any args containing shell meta-characters.
2376 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_must_keep_next
=false
2386 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2387 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2388 |
-silent |
--silent |
--silen |
--sile |
--sil)
2391 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2394 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2396 as_fn_append ac_configure_args1
" '$ac_arg'"
2397 if test $ac_must_keep_next = true
; then
2398 ac_must_keep_next
=false
# Got value, back to normal.
2401 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2402 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2403 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2404 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2405 case "$ac_configure_args0 " in
2406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2409 -* ) ac_must_keep_next
=true
;;
2412 as_fn_append ac_configure_args
" '$ac_arg'"
2417 { ac_configure_args0
=; unset ac_configure_args0
;}
2418 { ac_configure_args1
=; unset ac_configure_args1
;}
2420 # When interrupted or exit'd, cleanup temporary files, and complete
2421 # config.log. We remove comments because anyway the quotes in there
2422 # would cause problems or look ugly.
2423 # WARNING: Use '\'' to represent an apostrophe within the trap.
2424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2425 trap 'exit_status=$?
2426 # Save into config.log some information that might help in debugging.
2430 $as_echo "## ---------------- ##
2431 ## Cache variables. ##
2432 ## ---------------- ##"
2434 # The following way of writing the cache mishandles newlines in values,
2436 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2437 eval ac_val=\$$ac_var
2441 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2445 _ | IFS | as_nl) ;; #(
2446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2447 *) { eval $ac_var=; unset $ac_var;} ;;
2452 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2453 *${as_nl}ac_space=\ *)
2455 "s/'\''/'\''\\\\'\'''\''/g;
2456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 $as_echo "## ----------------- ##
2467 ## Output variables. ##
2468 ## ----------------- ##"
2470 for ac_var in $ac_subst_vars
2472 eval ac_val=\$$ac_var
2474 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476 $as_echo "$ac_var='\''$ac_val'\''"
2480 if test -n "$ac_subst_files"; then
2481 $as_echo "## ------------------- ##
2482 ## File substitutions. ##
2483 ## ------------------- ##"
2485 for ac_var
in $ac_subst_files
2487 eval ac_val
=\$
$ac_var
2489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2491 $as_echo "$ac_var='\''$ac_val'\''"
2496 if test -s confdefs.h; then
2497 $as_echo "## ----------- ##
2504 test "$ac_signal" != 0 &&
2505 $as_echo "$as_me: caught signal $ac_signal"
2506 $as_echo "$as_me: exit $exit_status"
2508 rm -f core *.core core.conftest.* &&
2509 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2512 for ac_signal
in 1 2 13 15; do
2513 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2518 rm -f -r conftest
* confdefs.h
2520 $as_echo "/* confdefs.h */" > confdefs.h
2522 # Predefined preprocessor variables.
2524 cat >>confdefs.h
<<_ACEOF
2525 #define PACKAGE_NAME "$PACKAGE_NAME"
2528 cat >>confdefs.h
<<_ACEOF
2529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_STRING "$PACKAGE_STRING"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_URL "$PACKAGE_URL"
2549 # Let the site file select an alternate cache file if it wants to.
2550 # Prefer an explicitly selected file to automatically selected ones.
2553 if test -n "$CONFIG_SITE"; then
2554 # We do not want a PATH search for config.site.
2555 case $CONFIG_SITE in #((
2556 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2557 */*) ac_site_file1
=$CONFIG_SITE;;
2558 *) ac_site_file1
=.
/$CONFIG_SITE;;
2560 elif test "x$prefix" != xNONE
; then
2561 ac_site_file1
=$prefix/share
/config.site
2562 ac_site_file2
=$prefix/etc
/config.site
2564 ac_site_file1
=$ac_default_prefix/share
/config.site
2565 ac_site_file2
=$ac_default_prefix/etc
/config.site
2567 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2569 test "x$ac_site_file" = xNONE
&& continue
2570 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2573 sed 's/^/| /' "$ac_site_file" >&5
2575 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $?
"failed to load site script $ac_site_file
2578 See \`config.log' for more details" "$LINENO" 5; }
2582 if test -r "$cache_file"; then
2583 # Some versions of bash will fail to source /dev/null (special files
2584 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2585 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2587 $as_echo "$as_me: loading cache $cache_file" >&6;}
2589 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2590 *) .
"./$cache_file";;
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2595 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599 as_fn_append ac_header_list
" unistd.h"
2600 as_fn_append ac_header_list
" sys/random.h"
2601 as_fn_append ac_header_list
" sys/time.h"
2602 as_fn_append ac_header_list
" sys/times.h"
2603 as_fn_append ac_header_list
" sys/resource.h"
2604 as_fn_append ac_header_list
" sys/types.h"
2605 as_fn_append ac_header_list
" sys/stat.h"
2606 as_fn_append ac_header_list
" sys/uio.h"
2607 as_fn_append ac_header_list
" sys/wait.h"
2608 as_fn_append ac_header_list
" floatingpoint.h"
2609 as_fn_append ac_header_list
" ieeefp.h"
2610 as_fn_append ac_header_list
" fenv.h"
2611 as_fn_append ac_header_list
" fptrap.h"
2612 as_fn_append ac_header_list
" fpxcp.h"
2613 as_fn_append ac_header_list
" pwd.h"
2614 as_fn_append ac_header_list
" complex.h"
2615 as_fn_append ac_header_list
" xlocale.h"
2616 as_fn_append ac_func_list
" getrusage"
2617 as_fn_append ac_func_list
" times"
2618 as_fn_append ac_func_list
" mkstemp"
2619 as_fn_append ac_func_list
" strtof"
2620 as_fn_append ac_func_list
" strtold"
2621 as_fn_append ac_func_list
" snprintf"
2622 as_fn_append ac_func_list
" ftruncate"
2623 as_fn_append ac_func_list
" chsize"
2624 as_fn_append ac_func_list
" chdir"
2625 as_fn_append ac_func_list
" getentropy"
2626 as_fn_append ac_func_list
" getlogin"
2627 as_fn_append ac_func_list
" gethostname"
2628 as_fn_append ac_func_list
" kill"
2629 as_fn_append ac_func_list
" link"
2630 as_fn_append ac_func_list
" symlink"
2631 as_fn_append ac_func_list
" sleep"
2632 as_fn_append ac_func_list
" ttyname"
2633 as_fn_append ac_func_list
" sigaction"
2634 as_fn_append ac_func_list
" waitpid"
2635 as_fn_append ac_func_list
" alarm"
2636 as_fn_append ac_func_list
" access"
2637 as_fn_append ac_func_list
" fork"
2638 as_fn_append ac_func_list
" posix_spawn"
2639 as_fn_append ac_func_list
" setmode"
2640 as_fn_append ac_func_list
" fcntl"
2641 as_fn_append ac_func_list
" writev"
2642 as_fn_append ac_func_list
" gettimeofday"
2643 as_fn_append ac_func_list
" stat"
2644 as_fn_append ac_func_list
" fstat"
2645 as_fn_append ac_func_list
" lstat"
2646 as_fn_append ac_func_list
" getpwuid"
2647 as_fn_append ac_func_list
" vsnprintf"
2648 as_fn_append ac_func_list
" dup"
2649 as_fn_append ac_func_list
" getcwd"
2650 as_fn_append ac_func_list
" localtime_r"
2651 as_fn_append ac_func_list
" gmtime_r"
2652 as_fn_append ac_func_list
" getpwuid_r"
2653 as_fn_append ac_func_list
" ttyname_r"
2654 as_fn_append ac_func_list
" clock_gettime"
2655 as_fn_append ac_func_list
" getgid"
2656 as_fn_append ac_func_list
" getpid"
2657 as_fn_append ac_func_list
" getuid"
2658 as_fn_append ac_func_list
" geteuid"
2659 as_fn_append ac_func_list
" umask"
2660 as_fn_append ac_func_list
" getegid"
2661 as_fn_append ac_func_list
" secure_getenv"
2662 as_fn_append ac_func_list
" __secure_getenv"
2663 as_fn_append ac_func_list
" mkostemp"
2664 as_fn_append ac_func_list
" strnlen"
2665 as_fn_append ac_func_list
" strndup"
2666 as_fn_append ac_func_list
" newlocale"
2667 as_fn_append ac_func_list
" freelocale"
2668 as_fn_append ac_func_list
" uselocale"
2669 as_fn_append ac_func_list
" strerror_l"
2670 as_fn_append ac_header_list
" math.h"
2671 # Check that the precious variables saved in the cache have kept the same
2673 ac_cache_corrupted
=false
2674 for ac_var
in $ac_precious_vars; do
2675 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2676 eval ac_new_set
=\
$ac_env_${ac_var}_set
2677 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2678 eval ac_new_val
=\
$ac_env_${ac_var}_value
2679 case $ac_old_set,$ac_new_set in
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2682 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2683 ac_cache_corrupted
=: ;;
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2686 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2687 ac_cache_corrupted
=: ;;
2690 if test "x$ac_old_val" != "x$ac_new_val"; then
2691 # differences in whitespace do not lead to failure.
2692 ac_old_val_w
=`echo x $ac_old_val`
2693 ac_new_val_w
=`echo x $ac_new_val`
2694 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2696 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2697 ac_cache_corrupted
=:
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2700 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2701 eval $ac_var=\
$ac_old_val
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2704 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2706 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2709 # Pass precious variables to config.status.
2710 if test "$ac_new_set" = set; then
2712 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2713 *) ac_arg
=$ac_var=$ac_new_val ;;
2715 case " $ac_configure_args " in
2716 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2717 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2721 if $ac_cache_corrupted; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2725 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2726 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2728 ## -------------------- ##
2729 ## Main body of script. ##
2730 ## -------------------- ##
2733 ac_cpp
='$CPP $CPPFLAGS'
2734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2742 ac_config_headers
="$ac_config_headers config.h"
2745 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2746 if test -f "$ac_dir/install-sh"; then
2748 ac_install_sh
="$ac_aux_dir/install-sh -c"
2750 elif test -f "$ac_dir/install.sh"; then
2752 ac_install_sh
="$ac_aux_dir/install.sh -c"
2754 elif test -f "$ac_dir/shtool"; then
2756 ac_install_sh
="$ac_aux_dir/shtool install -c"
2760 if test -z "$ac_aux_dir"; then
2761 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2764 # These three variables are undocumented and unsupported,
2765 # and are intended to be withdrawn in a future Autoconf release.
2766 # They can cause serious problems if a builder's source tree is in a directory
2767 # whose full name contains unusual characters.
2768 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2769 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2770 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2773 # Make sure we can run config.sub.
2774 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2775 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2778 $as_echo_n "checking build system type... " >&6; }
2779 if ${ac_cv_build+:} false
; then :
2780 $as_echo_n "(cached) " >&6
2782 ac_build_alias
=$build_alias
2783 test "x$ac_build_alias" = x
&&
2784 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2785 test "x$ac_build_alias" = x
&&
2786 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2787 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2788 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2792 $as_echo "$ac_cv_build" >&6; }
2793 case $ac_cv_build in
2795 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2798 ac_save_IFS
=$IFS; IFS
='-'
2804 # Remember, the first character of IFS is used to create $*,
2805 # except with old shells:
2808 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2811 case ${build_alias} in
2812 "") build_noncanonical
=${build} ;;
2813 *) build_noncanonical
=${build_alias} ;;
2816 case ${host_alias} in
2817 "") host_noncanonical
=${build_noncanonical} ;;
2818 *) host_noncanonical
=${host_alias} ;;
2821 case ${target_alias} in
2822 "") target_noncanonical
=${host_noncanonical} ;;
2823 *) target_noncanonical
=${target_alias} ;;
2827 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2828 # have matching libraries, they should use host libraries: Makefile.tpl
2829 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2830 # However, they still use the build modules, because the corresponding
2831 # host modules (e.g. bison) are only built for the host when bootstrap
2833 # - build_subdir is where we find build modules, and never changes.
2834 # - build_libsubdir is where we find build libraries, and can be overridden.
2836 # Prefix 'build-' so this never conflicts with target_subdir.
2837 build_subdir
="build-${build_noncanonical}"
2839 # Check whether --with-build-libsubdir was given.
2840 if test "${with_build_libsubdir+set}" = set; then :
2841 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2843 build_libsubdir
="$build_subdir"
2846 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2847 if ( test $srcdir = .
&& test -d gcc
) \
2848 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2849 host_subdir
="host-${host_noncanonical}"
2854 target_subdir
=${target_noncanonical}
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2862 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2863 # Check whether --enable-version-specific-runtime-libs was given.
2864 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2865 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2866 yes) version_specific_libs
=yes ;;
2867 no
) version_specific_libs
=no
;;
2868 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2871 version_specific_libs
=no
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2875 $as_echo "$version_specific_libs" >&6; }
2877 # Build with intermodule optimisations
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2879 $as_echo_n "checking for --enable-intermodule... " >&6; }
2880 # Check whether --enable-intermodule was given.
2881 if test "${enable_intermodule+set}" = set; then :
2882 enableval
=$enable_intermodule; case "$enable_intermodule" in
2883 yes) onestep
="-onestep";;
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2891 $as_echo "$enable_intermodule" >&6; }
2892 if test x
$onestep = x-onestep
; then
2902 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2904 # You will slowly go insane if you do not grok the following fact: when
2905 # building this library, the top-level /target/ becomes the library's /host/.
2907 # configure then causes --target to default to --host, exactly like any
2908 # other package using autoconf. Therefore, 'target' and 'host' will
2909 # always be the same. This makes sense both for native and cross compilers
2910 # just think about it for a little while. :-)
2912 # Also, if this library is being configured as part of a cross compiler, the
2913 # top-level configure script will pass the "real" host as $with_cross_host.
2915 # Do not delete or change the following two lines. For why, see
2916 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2918 $as_echo_n "checking host system type... " >&6; }
2919 if ${ac_cv_host+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2922 if test "x$host_alias" = x
; then
2923 ac_cv_host
=$ac_cv_build
2925 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2926 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2931 $as_echo "$ac_cv_host" >&6; }
2934 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2937 ac_save_IFS
=$IFS; IFS
='-'
2943 # Remember, the first character of IFS is used to create $*,
2944 # except with old shells:
2947 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2951 $as_echo_n "checking target system type... " >&6; }
2952 if ${ac_cv_target+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 if test "x$target_alias" = x
; then
2956 ac_cv_target
=$ac_cv_host
2958 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2959 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2964 $as_echo "$ac_cv_target" >&6; }
2965 case $ac_cv_target in
2967 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2969 target
=$ac_cv_target
2970 ac_save_IFS
=$IFS; IFS
='-'
2976 # Remember, the first character of IFS is used to create $*,
2977 # except with old shells:
2980 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2983 # The aliases save the names the user supplied, while $host etc.
2984 # will get canonicalized.
2985 test -n "$target_alias" &&
2986 test "$program_prefix$program_suffix$program_transform_name" = \
2988 program_prefix
=${target_alias}-
2993 target_alias
=${target_alias-$host_alias}
2996 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2997 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2998 # 1.9.6: minimum required version
2999 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3000 # of other PACKAGE_* variables will, however, and there's nothing
3001 # we can do about that; they come from AC_INIT).
3002 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3003 # file in the top srcdir, etc, etc), so stop complaining.
3004 # no-dist: we don't want 'dist' and related rules.
3005 # -Wall: turns on all automake warnings...
3006 # -Wno-portability: ...except this one, since GNU make is required.
3007 am__api_version
='1.15'
3009 # Find a good install program. We prefer a C program (faster),
3010 # so one script is as good as another. But avoid the broken or
3011 # incompatible versions:
3012 # SysV /etc/install, /usr/sbin/install
3013 # SunOS /usr/etc/install
3014 # IRIX /sbin/install
3016 # AmigaOS /C/install, which installs bootblocks on floppy discs
3017 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3018 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3019 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3020 # OS/2's system install, which has a completely different semantic
3021 # ./install, which can be erroneously created by make from ./install.sh.
3022 # Reject install programs that cannot install multiple files.
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3024 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3025 if test -z "$INSTALL"; then
3026 if ${ac_cv_path_install+:} false
; then :
3027 $as_echo_n "(cached) " >&6
3029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir
=.
3034 # Account for people who put trailing slashes in PATH elements.
3035 case $as_dir/ in #((
3036 .
/ | .
// |
/[cC
]/* | \
3037 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3038 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3041 # OSF1 and SCO ODT 3.0 have their own names for install.
3042 # Don't use installbsd from OSF since it installs stuff as root
3044 for ac_prog
in ginstall scoinst
install; do
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3047 if test $ac_prog = install &&
3048 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3049 # AIX install. It has an incompatible calling convention.
3051 elif test $ac_prog = install &&
3052 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3053 # program-specific install script used by HP pwplus--don't use.
3056 rm -rf conftest.one conftest.two conftest.dir
3057 echo one
> conftest.one
3058 echo two
> conftest.two
3060 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3061 test -s conftest.one
&& test -s conftest.two
&&
3062 test -s conftest.dir
/conftest.one
&&
3063 test -s conftest.dir
/conftest.two
3065 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3078 rm -rf conftest.one conftest.two conftest.dir
3081 if test "${ac_cv_path_install+set}" = set; then
3082 INSTALL
=$ac_cv_path_install
3084 # As a last resort, use the slow shell script. Don't cache a
3085 # value for INSTALL within a source directory, because that will
3086 # break other packages using the cache if that directory is
3087 # removed, or if the value is a relative name.
3088 INSTALL
=$ac_install_sh
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3092 $as_echo "$INSTALL" >&6; }
3094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3095 # It thinks the first close brace ends the variable substitution.
3096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3100 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3103 $as_echo_n "checking whether build environment is sane... " >&6; }
3104 # Reject unsafe characters in $srcdir or the absolute working directory
3105 # name. Accept space and tab only in the latter.
3109 *[\\\"\
#\$\&\'\`$am_lf]*)
3110 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3113 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3114 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3117 # Do 'set' in a subshell so we don't clobber the current shell's
3118 # arguments. Must try -L first in case configure is actually a
3119 # symlink; some systems play weird games with the mod time of symlinks
3120 # (eg FreeBSD returns the mod time of the symlink's containing
3124 for am_try
in 1 2; do
3125 echo "timestamp, slept: $am_has_slept" > conftest.
file
3126 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3127 if test "$*" = "X"; then
3129 set X
`ls -t "$srcdir/configure" conftest.file`
3131 if test "$*" != "X $srcdir/configure conftest.file" \
3132 && test "$*" != "X conftest.file $srcdir/configure"; then
3134 # If neither matched, then we have a broken ls. This can happen
3135 # if, for instance, CONFIG_SHELL is bash and it inherits a
3136 # broken ls alias from the environment. This has actually
3137 # happened. Such a system could not be considered "sane".
3138 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3139 alias in your environment" "$LINENO" 5
3141 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3148 test "$2" = conftest.
file
3154 as_fn_error $?
"newly created file is older than distributed files!
3155 Check your system clock" "$LINENO" 5
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3158 $as_echo "yes" >&6; }
3159 # If we didn't sleep, we still need to ensure time stamps of config.status and
3160 # generated files are strictly newer.
3162 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3169 test "$program_prefix" != NONE
&&
3170 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3171 # Use a double $ so make ignores it.
3172 test "$program_suffix" != NONE
&&
3173 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3174 # Double any \ or $.
3175 # By default was `s,x,x', remove it if useless.
3176 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3177 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3179 # Expand $ac_aux_dir to an absolute path.
3180 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3182 if test x
"${MISSING+set}" != xset
; then
3185 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3187 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3190 # Use eval to expand $SHELL
3191 if eval "$MISSING --is-lightweight"; then
3192 am_missing_run
="$MISSING "
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3196 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3199 if test x
"${install_sh+set}" != xset
; then
3202 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3204 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3208 # Installed binaries are usually stripped using 'strip' when the user
3209 # run "make install-strip". However 'strip' might not be the right
3210 # tool to use in cross-compilation environments, therefore Automake
3211 # will honor the 'STRIP' environment variable to overrule this program.
3212 if test "$cross_compiling" != no
; then
3213 if test -n "$ac_tool_prefix"; then
3214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3215 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_STRIP+:} false
; then :
3219 $as_echo_n "(cached) " >&6
3221 if test -n "$STRIP"; then
3222 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_exec_ext
in '' $ac_executable_extensions; do
3230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 STRIP
=$ac_cv_prog_STRIP
3242 if test -n "$STRIP"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3244 $as_echo "$STRIP" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3252 if test -z "$ac_cv_prog_STRIP"; then
3254 # Extract the first word of "strip", so it can be a program name with args.
3255 set dummy strip
; ac_word
=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3259 $as_echo_n "(cached) " >&6
3261 if test -n "$ac_ct_STRIP"; then
3262 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir
=.
3269 for ac_exec_ext
in '' $ac_executable_extensions; do
3270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3271 ac_cv_prog_ac_ct_STRIP
="strip"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3282 if test -n "$ac_ct_STRIP"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3284 $as_echo "$ac_ct_STRIP" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3290 if test "x$ac_ct_STRIP" = x
; then
3293 case $cross_compiling:$ac_tool_warned in
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3297 ac_tool_warned
=yes ;;
3302 STRIP
="$ac_cv_prog_STRIP"
3306 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3309 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3310 if test -z "$MKDIR_P"; then
3311 if ${ac_cv_path_mkdir+:} false
; then :
3312 $as_echo_n "(cached) " >&6
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3315 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3318 test -z "$as_dir" && as_dir
=.
3319 for ac_prog
in mkdir gmkdir
; do
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3322 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3323 'mkdir (GNU coreutils) '* | \
3324 'mkdir (coreutils) '* | \
3325 'mkdir (fileutils) '4.1*)
3326 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3336 test -d .
/--version && rmdir .
/--version
3337 if test "${ac_cv_path_mkdir+set}" = set; then
3338 MKDIR_P
="$ac_cv_path_mkdir -p"
3340 # As a last resort, use the slow shell script. Don't cache a
3341 # value for MKDIR_P within a source directory, because that will
3342 # break other packages using the cache if that directory is
3343 # removed, or if the value is a relative name.
3344 MKDIR_P
="$ac_install_sh -d"
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3348 $as_echo "$MKDIR_P" >&6; }
3350 for ac_prog
in gawk mawk nawk
awk
3352 # Extract the first word of "$ac_prog", so it can be a program name with args.
3353 set dummy
$ac_prog; ac_word
=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_AWK+:} false
; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$AWK"; then
3360 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir
=.
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_AWK
="$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$AWK"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3382 $as_echo "$AWK" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$AWK" && break
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3395 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3396 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3397 $as_echo_n "(cached) " >&6
3399 cat >conftest.
make <<\_ACEOF
3402 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3404 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3407 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3409 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3413 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3415 $as_echo "yes" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3420 SET_MAKE
="MAKE=${MAKE-make}"
3423 rm -rf .tst
2>/dev
/null
3424 mkdir .tst
2>/dev
/null
3425 if test -d .tst
; then
3430 rmdir .tst
2>/dev
/null
3432 # Check whether --enable-silent-rules was given.
3433 if test "${enable_silent_rules+set}" = set; then :
3434 enableval
=$enable_silent_rules;
3437 case $enable_silent_rules in # (((
3438 yes) AM_DEFAULT_VERBOSITY
=0;;
3439 no
) AM_DEFAULT_VERBOSITY
=1;;
3440 *) AM_DEFAULT_VERBOSITY
=1;;
3442 am_make
=${MAKE-make}
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3444 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3445 if ${am_cv_make_support_nested_variables+:} false
; then :
3446 $as_echo_n "(cached) " >&6
3448 if $as_echo 'TRUE=$(BAR$(V))
3454 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3455 am_cv_make_support_nested_variables
=yes
3457 am_cv_make_support_nested_variables
=no
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3461 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3462 if test $am_cv_make_support_nested_variables = yes; then
3464 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3466 AM_V
=$AM_DEFAULT_VERBOSITY
3467 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3471 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3472 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3473 # is not polluted with repeated "-I."
3474 am__isrc
=' -I$(srcdir)'
3475 # test to see if srcdir already configured
3476 if test -f $srcdir/config.status
; then
3477 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3481 # test whether we have cygpath
3482 if test -z "$CYGPATH_W"; then
3483 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3484 CYGPATH_W
='cygpath -w'
3491 # Define the identity of the package.
3492 PACKAGE
='libgfortran'
3496 # Some tools Automake needs.
3498 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3501 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3504 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3507 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3510 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3512 # For better backward compatibility. To be removed once Automake 1.9.x
3513 # dies out for good. For more background, see:
3514 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3515 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3516 mkdir_p
='$(MKDIR_P)'
3518 # We need awk for the "check" target (and possibly the TAP driver). The
3519 # system "awk" is bad on some platforms.
3520 # Always define AMTAR for backward compatibility. Yes, it's still used
3521 # in the wild :-( We should find a proper way to deprecate it ...
3525 # We'll loop over all known methods to create a tar archive until one works.
3526 _am_tools
='gnutar pax cpio none'
3528 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3535 # POSIX will say in a future version that running "rm -f" with no argument
3536 # is OK; and we want to be able to make that assumption in our Makefile
3537 # recipes. So use an aggressive probe to check that the usage we want is
3538 # actually supported "in the wild" to an acceptable degree.
3539 # See automake bug#10828.
3540 # To make any issue more visible, cause the running configure to be aborted
3541 # by default if the 'rm' program in use doesn't match our expectations; the
3542 # user can still override this though.
3543 if rm -f && rm -fr && rm -rf; then : OK
; else
3547 Your 'rm' program seems unable to run without file operands specified
3548 on the command line, even when the '-f' option is present. This is contrary
3549 to the behaviour of most rm programs out there, and not conforming with
3550 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3552 Please tell bug-automake@gnu.org about your system, including the value
3553 of your $PATH and any error possibly output before this message. This
3554 can help us improve future automake versions.
3557 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3558 echo 'Configuration will proceed anyway, since you have set the' >&2
3559 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3563 Aborting the configuration process, to ensure you take notice of the issue.
3565 You can download and install GNU coreutils to get an 'rm' implementation
3566 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3568 If you want to complete the configuration process using your problematic
3569 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3570 to "yes", and re-run configure.
3573 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3580 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3581 # Check whether --enable-maintainer-mode was given.
3582 if test "${enable_maintainer_mode+set}" = set; then :
3583 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3585 USE_MAINTAINER_MODE
=no
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3589 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3590 if test $USE_MAINTAINER_MODE = yes; then
3591 MAINTAINER_MODE_TRUE
=
3592 MAINTAINER_MODE_FALSE
='#'
3594 MAINTAINER_MODE_TRUE
='#'
3595 MAINTAINER_MODE_FALSE
=
3598 MAINT
=$MAINTAINER_MODE_TRUE
3601 # Default to --enable-multilib
3602 # Check whether --enable-multilib was given.
3603 if test "${enable_multilib+set}" = set; then :
3604 enableval
=$enable_multilib; case "$enableval" in
3605 yes) multilib
=yes ;;
3607 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3614 # We may get other options which we leave undocumented:
3615 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3616 # See config-ml.in if you want the gory details.
3618 if test "$srcdir" = "."; then
3619 if test "$with_target_subdir" != "."; then
3620 multi_basedir
="$srcdir/$with_multisrctop../.."
3622 multi_basedir
="$srcdir/$with_multisrctop.."
3625 multi_basedir
="$srcdir/.."
3629 # Even if the default multilib is not a cross compilation,
3630 # it may be that some of the other multilibs are.
3631 if test $cross_compiling = no
&& test $multilib = yes \
3632 && test "x${with_multisubdir}" != x
; then
3633 cross_compiling
=maybe
3636 ac_config_commands
="$ac_config_commands default-1"
3639 # Handy for debugging:
3640 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3642 # Are we being configured with some form of cross compiler?
3643 # NB: We don't actually need to know this just now, but when, say, a test
3644 # suite is included, we'll have to know.
3645 if test "$build" != "$host"; then
3646 LIBGFOR_IS_NATIVE
=false
3649 LIBGFOR_IS_NATIVE
=true
3652 DEPDIR
="${am__leading_dot}deps"
3654 ac_config_commands
="$ac_config_commands depfiles"
3657 am_make
=${MAKE-make}
3658 cat > confinc
<< 'END'
3660 @
echo this is the am__doit target
3663 # If we don't find an include directive, just comment out the code.
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3665 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3669 # First try GNU make style include.
3670 echo "include confinc" > confmf
3671 # Ignore all kinds of additional output from 'make'.
3672 case `$am_make -s -f confmf 2> /dev/null` in #(
3673 *the\ am__doit\ target
*)
3679 # Now try BSD make style include.
3680 if test "$am__include" = "#"; then
3681 echo '.include "confinc"' > confmf
3682 case `$am_make -s -f confmf 2> /dev/null` in #(
3683 *the\ am__doit\ target
*)
3684 am__include
=.include
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3693 $as_echo "$_am_result" >&6; }
3694 rm -f confinc confmf
3696 # Check whether --enable-dependency-tracking was given.
3697 if test "${enable_dependency_tracking+set}" = set; then :
3698 enableval
=$enable_dependency_tracking;
3701 if test "x$enable_dependency_tracking" != xno
; then
3702 am_depcomp
="$ac_aux_dir/depcomp"
3706 if test "x$enable_dependency_tracking" != xno; then
3716 ac_cpp
='$CPP $CPPFLAGS'
3717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3720 if test -n "$ac_tool_prefix"; then
3721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3722 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if ${ac_cv_prog_CC+:} false
; then :
3726 $as_echo_n "(cached) " >&6
3728 if test -n "$CC"; then
3729 ac_cv_prog_CC
="$CC" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 if test -n "$CC"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3751 $as_echo "$CC" >&6; }
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3754 $as_echo "no" >&6; }
3759 if test -z "$ac_cv_prog_CC"; then
3761 # Extract the first word of "gcc", so it can be a program name with args.
3762 set dummy gcc
; ac_word
=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -n "$ac_ct_CC"; then
3769 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_ac_ct_CC
="gcc"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3789 if test -n "$ac_ct_CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3791 $as_echo "$ac_ct_CC" >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3797 if test "x$ac_ct_CC" = x
; then
3800 case $cross_compiling:$ac_tool_warned in
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3804 ac_tool_warned
=yes ;;
3812 if test -z "$CC"; then
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3815 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_prog_CC+:} false
; then :
3819 $as_echo_n "(cached) " >&6
3821 if test -n "$CC"; then
3822 ac_cv_prog_CC
="$CC" # Let the user override the test.
3824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3828 test -z "$as_dir" && as_dir
=.
3829 for ac_exec_ext
in '' $ac_executable_extensions; do
3830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 if test -n "$CC"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3844 $as_echo "$CC" >&6; }
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3853 if test -z "$CC"; then
3854 # Extract the first word of "cc", so it can be a program name with args.
3855 set dummy cc
; ac_word
=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_CC+:} false
; then :
3859 $as_echo_n "(cached) " >&6
3861 if test -n "$CC"; then
3862 ac_cv_prog_CC
="$CC" # Let the user override the test.
3865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir
=.
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3873 ac_prog_rejected
=yes
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 if test $ac_prog_rejected = yes; then
3885 # We found a bogon in the path, so make sure we never use it.
3886 set dummy
$ac_cv_prog_CC
3888 if test $# != 0; then
3889 # We chose a different compiler from the bogus one.
3890 # However, it has the same basename, so the bogon will be chosen
3891 # first if we set CC to just the basename; use the full file name.
3893 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3899 if test -n "$CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3901 $as_echo "$CC" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3909 if test -z "$CC"; then
3910 if test -n "$ac_tool_prefix"; then
3911 for ac_prog
in cl.exe
3913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3914 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if ${ac_cv_prog_CC+:} false
; then :
3918 $as_echo_n "(cached) " >&6
3920 if test -n "$CC"; then
3921 ac_cv_prog_CC
="$CC" # Let the user override the test.
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_exec_ext
in '' $ac_executable_extensions; do
3929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3930 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 if test -n "$CC"; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3943 $as_echo "$CC" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3950 test -n "$CC" && break
3953 if test -z "$CC"; then
3955 for ac_prog
in cl.exe
3957 # Extract the first word of "$ac_prog", so it can be a program name with args.
3958 set dummy
$ac_prog; ac_word
=$2
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960 $as_echo_n "checking for $ac_word... " >&6; }
3961 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3962 $as_echo_n "(cached) " >&6
3964 if test -n "$ac_ct_CC"; then
3965 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3974 ac_cv_prog_ac_ct_CC
="$ac_prog"
3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3985 if test -n "$ac_ct_CC"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3987 $as_echo "$ac_ct_CC" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3994 test -n "$ac_ct_CC" && break
3997 if test "x$ac_ct_CC" = x
; then
4000 case $cross_compiling:$ac_tool_warned in
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4004 ac_tool_warned
=yes ;;
4013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $?
"no acceptable C compiler found in \$PATH
4016 See \`config.log' for more details" "$LINENO" 5; }
4018 # Provide some information about the compiler.
4019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4022 for ac_option
in --version -v -V -qversion; do
4023 { { ac_try
="$ac_compiler $ac_option >&5"
4025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4032 if test -s conftest.err; then
4034 ... rest of stderr output deleted ...
4035 10q' conftest.err >conftest.er1
4036 cat conftest.er1 >&5
4038 rm -f conftest.er1 conftest.err
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4049 printf ("hello world\n");
4055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4056 (eval $ac_link) 2>&5
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; then :
4064 if test x$gcc_no_link = xyes; then
4065 # Setting cross_compile will disable run tests; it will
4066 # also disable AC_CHECK_FILE but that's generally
4067 # correct if we can't link.
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4082 ac_clean_files_save=$ac_clean_files
4083 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4084 # Try to create an executable without -o first, disregard a.out.
4085 # It will help us diagnose broken compilers, and finding out an intuition
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4088 $as_echo_n "checking whether the C compiler works... " >&6; }
4089 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4091 # The possible output files:
4092 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4095 for ac_file in $ac_files
4098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4099 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4104 if { { ac_try="$ac_link_default"
4106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4107 *) ac_try_echo
=$ac_try;;
4109 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_link_default") 2>&5
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; then :
4115 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4116 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4117 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4118 # so that the user can short-circuit this test for compilers unknown to
4120 for ac_file
in $ac_files ''
4122 test -f "$ac_file" ||
continue
4124 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4127 # We found the default executable, but exeext='' is most
4131 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4133 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4135 # We set ac_cv_exeext here because the later test for it is not
4136 # safe: cross compilers may not add the suffix if given an `-o'
4137 # argument, so we may need to know it at that point already.
4138 # Even if this section looks crufty: it has the advantage of
4145 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4150 if test -z "$ac_file"; then :
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 $as_echo "no" >&6; }
4153 $as_echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.
$ac_ext >&5
4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error
77 "C compiler cannot create executables
4159 See \`config.log' for more details" "$LINENO" 5; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4162 $as_echo "yes" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4165 $as_echo_n "checking for C compiler default output file name... " >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4167 $as_echo "$ac_file" >&6; }
4168 ac_exeext
=$ac_cv_exeext
4170 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4171 ac_clean_files
=$ac_clean_files_save
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4173 $as_echo_n "checking for suffix of executables... " >&6; }
4174 if { { ac_try
="$ac_link"
4176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_link") 2>&5
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4186 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4187 # work properly (i.e., refer to `conftest.exe'), while it won't with
4189 for ac_file
in conftest.exe conftest conftest.
*; do
4190 test -f "$ac_file" ||
continue
4192 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4193 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4202 See \`config.log' for more details" "$LINENO" 5; }
4204 rm -f conftest conftest
$ac_cv_exeext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4206 $as_echo "$ac_cv_exeext" >&6; }
4208 rm -f conftest.
$ac_ext
4209 EXEEXT
=$ac_cv_exeext
4211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4217 FILE *f = fopen ("conftest.out", "w");
4218 return ferror (f) || fclose (f) != 0;
4224 ac_clean_files
="$ac_clean_files conftest.out"
4225 # Check that the compiler produces executables we can run. If not, either
4226 # the compiler is broken, or we cross compile.
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4228 $as_echo_n "checking whether we are cross compiling... " >&6; }
4229 if test "$cross_compiling" != yes; then
4230 { { ac_try
="$ac_link"
4232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4233 *) ac_try_echo=$ac_try;;
4235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4236 $as_echo "$ac_try_echo"; } >&5
4237 (eval "$ac_link") 2>&5
4239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4240 test $ac_status = 0; }
4241 if { ac_try='./conftest$ac_cv_exeext'
4242 { { case "(($ac_try" in
4243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4244 *) ac_try_echo
=$ac_try;;
4246 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4247 $as_echo "$ac_try_echo"; } >&5
4248 (eval "$ac_try") 2>&5
4250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4251 test $ac_status = 0; }; }; then
4254 if test "$cross_compiling" = maybe
; then
4257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error $?
"cannot run C compiled programs.
4260 If you meant to cross compile, use \`--host'.
4261 See \`config.log' for more details" "$LINENO" 5; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4266 $as_echo "$cross_compiling" >&6; }
4268 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4269 ac_clean_files
=$ac_clean_files_save
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4272 $as_echo_n "checking for suffix of object files... " >&6; }
4273 if ${ac_cv_objext+:} false
; then :
4274 $as_echo_n "(cached) " >&6
4276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4287 rm -f conftest.o conftest.obj
4288 if { { ac_try
="$ac_compile"
4290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 $as_echo "$ac_try_echo"; } >&5
4295 (eval "$ac_compile") 2>&5
4297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4298 test $ac_status = 0; }; then :
4299 for ac_file in conftest.o conftest.obj conftest.*; do
4300 test -f "$ac_file" || continue;
4302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4303 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4308 $as_echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4314 See \
`config.log' for more details" "$LINENO" 5; }
4316 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4319 $as_echo "$ac_cv_objext" >&6; }
4320 OBJEXT=$ac_cv_objext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4323 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4324 if ${ac_cv_c_compiler_gnu+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4341 if ac_fn_c_try_compile "$LINENO"; then :
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4351 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4352 if test $ac_compiler_gnu = yes; then
4357 ac_test_CFLAGS=${CFLAGS+set}
4358 ac_save_CFLAGS=$CFLAGS
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4360 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4361 if ${ac_cv_prog_cc_g+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 ac_save_c_werror_flag=$ac_c_werror_flag
4365 ac_c_werror_flag=yes
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4379 if ac_fn_c_try_compile "$LINENO"; then :
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4394 if ac_fn_c_try_compile "$LINENO"; then :
4397 ac_c_werror_flag=$ac_save_c_werror_flag
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 if ac_fn_c_try_compile "$LINENO"; then :
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 ac_c_werror_flag=$ac_save_c_werror_flag
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4421 $as_echo "$ac_cv_prog_cc_g" >&6; }
4422 if test "$ac_test_CFLAGS" = set; then
4423 CFLAGS=$ac_save_CFLAGS
4424 elif test $ac_cv_prog_cc_g = yes; then
4425 if test "$GCC" = yes; then
4431 if test "$GCC" = yes; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4438 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4439 if ${ac_cv_prog_cc_c89+:} false; then :
4440 $as_echo_n "(cached) " >&6
4442 ac_cv_prog_cc_c89=no
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4450 struct buf { int x; };
4451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4452 static char *e (p, i)
4458 static char *f (char * (*g) (char **, int), char **p, ...)
4463 s = g (p, va_arg (v,int));
4468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4469 function prototypes and stuff, but not '\xHH' hex character constants.
4470 These don't provoke an error unfortunately, instead are silently treated
4471 as 'x'. The following induces an error, until -std is added to get
4472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4473 array size at least. It's necessary to write '\x00'==0 to get something
4474 that's true only with -std. */
4475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4478 inside strings and character constants. */
4480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4482 int test (int i, double x);
4483 struct s1 {int (*f) (int a);};
4484 struct s2 {int (*f) (double a);};
4485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4499 CC="$ac_save_CC $ac_arg"
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_prog_cc_c89=$ac_arg
4503 rm -f core conftest.err conftest.$ac_objext
4504 test "x$ac_cv_prog_cc_c89" != "xno" && break
4506 rm -f conftest.$ac_ext
4511 case "x$ac_cv_prog_cc_c89" in
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4514 $as_echo "none needed" >&6; } ;;
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4517 $as_echo "unsupported" >&6; } ;;
4519 CC="$CC $ac_cv_prog_cc_c89"
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4521 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4523 if test "x$ac_cv_prog_cc_c89" != xno; then :
4528 ac_cpp='$CPP $CPPFLAGS'
4529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4539 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4540 if ${am_cv_prog_cc_c_o+:} false; then :
4541 $as_echo_n "(cached) " >&6
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4554 # Make sure it works both with $CC and with simple cc.
4555 # Following AC_PROG_CC_C_O, we do the test twice because some
4556 # compilers refuse to overwrite an existing .o file with -o,
4557 # though they will create one.
4558 am_cv_prog_cc_c_o=yes
4560 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4561 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } \
4565 && test -f conftest2.$ac_objext; then
4568 am_cv_prog_cc_c_o=no
4572 rm -f core conftest*
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4576 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4577 if test "$am_cv_prog_cc_c_o" != yes; then
4578 # Losing compiler, so override with the script.
4579 # FIXME: It is wrong to rewrite CC.
4580 # But if we don't then we get into trouble of one sort or another.
4581 # A longer-term fix would be to have automake use am__CC in this case,
4582 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4583 CC="$am_aux_dir/compile $CC"
4586 ac_cpp='$CPP $CPPFLAGS'
4587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4592 depcc="$CC" am_compiler_list=
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4595 $as_echo_n "checking dependency style of $depcc... " >&6; }
4596 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4600 # We make a subdir and do the tests there. Otherwise we can end up
4601 # making bogus files that we don't know about and never remove. For
4602 # instance it was reported that on HP-UX the gcc test will end up
4603 # making a dummy file named 'D' -- because '-MD' means "put the output
4607 # Copy depcomp to subdir because otherwise we won't find it if we're
4608 # using a relative directory.
4609 cp "$am_depcomp" conftest.dir
4611 # We will build objects and dependencies in a subdirectory because
4612 # it helps to detect inapplicable dependency modes. For instance
4613 # both Tru64's cc and ICC support -MD to output dependencies as a
4614 # side effect of compilation, but ICC will put the dependencies in
4615 # the current directory while Tru64 will put them in the object
4619 am_cv_CC_dependencies_compiler_type=none
4620 if test "$am_compiler_list" = ""; then
4621 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4624 case " $depcc " in #(
4625 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4628 for depmode in $am_compiler_list; do
4629 # Setup a source with many dependencies, because some compilers
4630 # like to wrap large dependency lists on column 80 (with \), and
4631 # we should not choose a depcomp mode which is confused by this.
4633 # We need to recreate these files for each test, as the compiler may
4634 # overwrite some of them when testing with obscure command lines.
4635 # This happens at least with the AIX C compiler.
4637 for i in 1 2 3 4 5 6; do
4638 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4639 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4640 # Solaris 10 /bin/sh.
4641 echo '/* dummy */' > sub/conftst$i.h
4643 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4645 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4646 # mode. It turns out that the SunPro C++ compiler does not properly
4647 # handle '-M -o', and we need to detect this. Also, some Intel
4648 # versions had trouble with output in subdirs.
4649 am__obj=sub/conftest.${OBJEXT-o}
4650 am__minus_obj="-o $am__obj"
4653 # This depmode causes a compiler race in universal mode.
4654 test "$am__universal" = false || continue
4657 # After this tag, mechanisms are not by side-effect, so they'll
4658 # only be used when explicitly requested.
4659 if test "x$enable_dependency_tracking" = xyes; then
4665 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4666 # This compiler won't grok '-c -o', but also, the minuso test has
4667 # not run yet. These depmodes are late enough in the game, and
4668 # so weak that their functioning should not be impacted.
4669 am__obj=conftest.${OBJEXT-o}
4674 if depmode=$depmode \
4675 source=sub/conftest.c object=$am__obj \
4676 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4677 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4678 >/dev/null 2>conftest.err &&
4679 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4680 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4681 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4682 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4683 # icc doesn't choke on unknown options, it will just issue warnings
4684 # or remarks (even with -Werror). So we grep stderr for any message
4685 # that says an option was ignored or not supported.
4686 # When given -MP, icc 7.0 and 7.1 complain thusly:
4687 # icc: Command line warning: ignoring option '-M'; no argument required
4688 # The diagnosis changed in icc 8.0:
4689 # icc: Command line remark: option '-MP' not supported
4690 if (grep 'ignoring option' conftest.err ||
4691 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4692 am_cv_CC_dependencies_compiler_type=$depmode
4701 am_cv_CC_dependencies_compiler_type=none
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4706 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4707 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4710 test "x$enable_dependency_tracking" != xno \
4711 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4713 am__fastdepCC_FALSE='#'
4715 am__fastdepCC_TRUE='#'
4716 am__fastdepCC_FALSE=
4722 ac_cpp='$CPP $CPPFLAGS'
4723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4727 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4728 # On Suns, sometimes $CPP names a directory.
4729 if test -n "$CPP" && test -d "$CPP"; then
4732 if test -z "$CPP"; then
4733 if ${ac_cv_prog_CPP+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 # Double quotes because CPP needs to be expanded
4737 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4740 for ac_c_preproc_warn_flag in '' yes
4742 # Use a header file that comes with gcc, so configuring glibc
4743 # with a fresh cross-compiler works.
4744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4745 # <limits.h> exists even on freestanding compilers.
4746 # On the NeXT, cc -E runs the code through the compiler's parser,
4747 # not just through cpp. "Syntax error" is here to catch this case.
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4751 # include <limits.h>
4753 # include <assert.h>
4757 if ac_fn_c_try_cpp "$LINENO"; then :
4760 # Broken: fails on valid input.
4763 rm -f conftest.err conftest.i conftest.$ac_ext
4765 # OK, works on sane cases. Now check whether nonexistent headers
4766 # can be detected and how.
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4769 #include <ac_nonexistent.h>
4771 if ac_fn_c_try_cpp "$LINENO"; then :
4772 # Broken: success on invalid input.
4775 # Passes both tests.
4779 rm -f conftest.err conftest.i conftest.$ac_ext
4782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4783 rm -f conftest.i conftest.err conftest.
$ac_ext
4784 if $ac_preproc_ok; then :
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4797 $as_echo "$CPP" >&6; }
4799 for ac_c_preproc_warn_flag
in '' yes
4801 # Use a header file that comes with gcc, so configuring glibc
4802 # with a fresh cross-compiler works.
4803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 # <limits.h> exists even on freestanding compilers.
4805 # On the NeXT, cc -E runs the code through the compiler's parser,
4806 # not just through cpp. "Syntax error" is here to catch this case.
4807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4810 # include <limits.h>
4812 # include <assert.h>
4816 if ac_fn_c_try_cpp
"$LINENO"; then :
4819 # Broken: fails on valid input.
4822 rm -f conftest.err conftest.i conftest.
$ac_ext
4824 # OK, works on sane cases. Now check whether nonexistent headers
4825 # can be detected and how.
4826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4828 #include <ac_nonexistent.h>
4830 if ac_fn_c_try_cpp
"$LINENO"; then :
4831 # Broken: success on invalid input.
4834 # Passes both tests.
4838 rm -f conftest.err conftest.i conftest.
$ac_ext
4841 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4842 rm -f conftest.i conftest.err conftest.
$ac_ext
4843 if $ac_preproc_ok; then :
4846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4848 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4849 See \`config.log' for more details" "$LINENO" 5; }
4853 ac_cpp
='$CPP $CPPFLAGS'
4854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4860 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4861 if ${ac_cv_path_GREP+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -z "$GREP"; then
4865 ac_path_GREP_found
=false
4866 # Loop through the user's path and test for each of PROGNAME-LIST
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4868 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_prog
in grep ggrep
; do
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4875 as_fn_executable_p
"$ac_path_GREP" ||
continue
4876 # Check for GNU ac_path_GREP and select it if it is found.
4877 # Check for GNU $ac_path_GREP
4878 case `"$ac_path_GREP" --version 2>&1` in
4880 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4883 $as_echo_n 0123456789 >"conftest.in"
4886 cat "conftest.in" "conftest.in" >"conftest.tmp"
4887 mv "conftest.tmp" "conftest.in"
4888 cp "conftest.in" "conftest.nl"
4889 $as_echo 'GREP' >> "conftest.nl"
4890 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4891 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4892 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4893 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4894 # Best one so far, save it but keep looking for a better one
4895 ac_cv_path_GREP
="$ac_path_GREP"
4896 ac_path_GREP_max
=$ac_count
4898 # 10*(2^10) chars as input seems more than enough
4899 test $ac_count -gt 10 && break
4901 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4904 $ac_path_GREP_found && break 3
4909 if test -z "$ac_cv_path_GREP"; then
4910 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4913 ac_cv_path_GREP
=$GREP
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4918 $as_echo "$ac_cv_path_GREP" >&6; }
4919 GREP
="$ac_cv_path_GREP"
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4923 $as_echo_n "checking for egrep... " >&6; }
4924 if ${ac_cv_path_EGREP+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4928 then ac_cv_path_EGREP
="$GREP -E"
4930 if test -z "$EGREP"; then
4931 ac_path_EGREP_found
=false
4932 # Loop through the user's path and test for each of PROGNAME-LIST
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_prog
in egrep; do
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4941 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4942 # Check for GNU ac_path_EGREP and select it if it is found.
4943 # Check for GNU $ac_path_EGREP
4944 case `"$ac_path_EGREP" --version 2>&1` in
4946 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4949 $as_echo_n 0123456789 >"conftest.in"
4952 cat "conftest.in" "conftest.in" >"conftest.tmp"
4953 mv "conftest.tmp" "conftest.in"
4954 cp "conftest.in" "conftest.nl"
4955 $as_echo 'EGREP' >> "conftest.nl"
4956 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4957 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4958 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4959 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4960 # Best one so far, save it but keep looking for a better one
4961 ac_cv_path_EGREP
="$ac_path_EGREP"
4962 ac_path_EGREP_max
=$ac_count
4964 # 10*(2^10) chars as input seems more than enough
4965 test $ac_count -gt 10 && break
4967 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4970 $ac_path_EGREP_found && break 3
4975 if test -z "$ac_cv_path_EGREP"; then
4976 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4979 ac_cv_path_EGREP
=$EGREP
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4985 $as_echo "$ac_cv_path_EGREP" >&6; }
4986 EGREP
="$ac_cv_path_EGREP"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4990 $as_echo_n "checking for ANSI C header files... " >&6; }
4991 if ${ac_cv_header_stdc+:} false
; then :
4992 $as_echo_n "(cached) " >&6
4994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
5009 if ac_fn_c_try_compile
"$LINENO"; then :
5010 ac_cv_header_stdc
=yes
5012 ac_cv_header_stdc
=no
5014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5016 if test $ac_cv_header_stdc = yes; then
5017 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5024 $EGREP "memchr" >/dev
/null
2>&1; then :
5027 ac_cv_header_stdc
=no
5033 if test $ac_cv_header_stdc = yes; then
5034 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5036 /* end confdefs.h. */
5040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5041 $EGREP "free" >/dev
/null
2>&1; then :
5044 ac_cv_header_stdc
=no
5050 if test $ac_cv_header_stdc = yes; then
5051 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5052 if test "$cross_compiling" = yes; then :
5055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5059 #if ((' ' & 0x0FF) == 0x020)
5060 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5061 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5063 # define ISLOWER(c) \
5064 (('a' <= (c) && (c) <= 'i') \
5065 || ('j' <= (c) && (c) <= 'r') \
5066 || ('s' <= (c) && (c) <= 'z'))
5067 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5075 for (i = 0; i < 256; i++)
5076 if (XOR (islower (i), ISLOWER (i))
5077 || toupper (i) != TOUPPER (i))
5082 if ac_fn_c_try_run
"$LINENO"; then :
5085 ac_cv_header_stdc
=no
5087 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5088 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5094 $as_echo "$ac_cv_header_stdc" >&6; }
5095 if test $ac_cv_header_stdc = yes; then
5097 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5101 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5102 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5103 inttypes.h stdint.h unistd.h
5105 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5106 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5108 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5109 cat >>confdefs.h
<<_ACEOF
5110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5119 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5120 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5127 if test "$MINIX" = yes; then
5129 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5132 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5135 $as_echo "#define _MINIX 1" >>confdefs.h
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5141 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5142 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5143 $as_echo_n "(cached) " >&6
5145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5148 # define __EXTENSIONS__ 1
5149 $ac_includes_default
5158 if ac_fn_c_try_compile
"$LINENO"; then :
5159 ac_cv_safe_to_define___extensions__
=yes
5161 ac_cv_safe_to_define___extensions__
=no
5163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5166 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5167 test $ac_cv_safe_to_define___extensions__ = yes &&
5168 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5170 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5172 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5174 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5176 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5181 # Check whether --with-toolexeclibdir was given.
5182 if test "${with_toolexeclibdir+set}" = set; then :
5183 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5187 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5191 with_toolexeclibdir
=no
5196 # Calculate toolexeclibdir
5197 # Also toolexecdir, though it's only used in toolexeclibdir
5198 case ${version_specific_libs} in
5200 # Need the gcc compiler version to know where to install libraries
5201 # and header files if --enable-version-specific-runtime-libs option
5203 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5204 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5207 if test -n "$with_cross_host" &&
5208 test x
"$with_cross_host" != x
"no"; then
5209 # Install a library built with a cross compiler in tooldir, not libdir.
5210 toolexecdir
='$(exec_prefix)/$(target_alias)'
5211 case ${with_toolexeclibdir} in
5213 toolexeclibdir
='$(toolexecdir)/lib'
5216 toolexeclibdir
=${with_toolexeclibdir}
5220 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5221 toolexeclibdir
='$(libdir)'
5223 multi_os_directory
=`$CC -print-multi-os-directory`
5224 case $multi_os_directory in
5225 .
) ;; # Avoid trailing /.
5226 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5233 # Create a spec file, so that compile/link tests don't fail
5234 test -f libgfortran.spec ||
touch libgfortran.spec
5237 ac_cpp
='$CPP $CPPFLAGS'
5238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5242 # Check the compiler.
5243 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5244 # We must force CC to /not/ be precious variables; otherwise
5245 # the wrong, non-multilib-adjusted value will be used in multilibs.
5246 # As a side effect, we have to subst CFLAGS ourselves.
5251 ac_cpp
='$CPP $CPPFLAGS'
5252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5255 if test -n "$ac_tool_prefix"; then
5256 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5257 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_CC+:} false
; then :
5261 $as_echo_n "(cached) " >&6
5263 if test -n "$CC"; then
5264 ac_cv_prog_CC
="$CC" # Let the user override the test.
5266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir
=.
5271 for ac_exec_ext
in '' $ac_executable_extensions; do
5272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 if test -n "$CC"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5286 $as_echo "$CC" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5294 if test -z "$ac_cv_prog_CC"; then
5296 # Extract the first word of "gcc", so it can be a program name with args.
5297 set dummy gcc
; ac_word
=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5301 $as_echo_n "(cached) " >&6
5303 if test -n "$ac_ct_CC"; then
5304 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_ac_ct_CC
="gcc"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5324 if test -n "$ac_ct_CC"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5326 $as_echo "$ac_ct_CC" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5332 if test "x$ac_ct_CC" = x
; then
5335 case $cross_compiling:$ac_tool_warned in
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5339 ac_tool_warned
=yes ;;
5347 if test -z "$CC"; then
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5350 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_CC+:} false
; then :
5354 $as_echo_n "(cached) " >&6
5356 if test -n "$CC"; then
5357 ac_cv_prog_CC
="$CC" # Let the user override the test.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 if test -n "$CC"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5379 $as_echo "$CC" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5388 if test -z "$CC"; then
5389 # Extract the first word of "cc", so it can be a program name with args.
5390 set dummy cc
; ac_word
=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_CC+:} false
; then :
5394 $as_echo_n "(cached) " >&6
5396 if test -n "$CC"; then
5397 ac_cv_prog_CC
="$CC" # Let the user override the test.
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir
=.
5405 for ac_exec_ext
in '' $ac_executable_extensions; do
5406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5407 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5408 ac_prog_rejected
=yes
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 if test $ac_prog_rejected = yes; then
5420 # We found a bogon in the path, so make sure we never use it.
5421 set dummy
$ac_cv_prog_CC
5423 if test $# != 0; then
5424 # We chose a different compiler from the bogus one.
5425 # However, it has the same basename, so the bogon will be chosen
5426 # first if we set CC to just the basename; use the full file name.
5428 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5434 if test -n "$CC"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5436 $as_echo "$CC" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5444 if test -z "$CC"; then
5445 if test -n "$ac_tool_prefix"; then
5446 for ac_prog
in cl.exe
5448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5449 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_CC+:} false
; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -n "$CC"; then
5456 ac_cv_prog_CC
="$CC" # Let the user override the test.
5458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5462 test -z "$as_dir" && as_dir
=.
5463 for ac_exec_ext
in '' $ac_executable_extensions; do
5464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 if test -n "$CC"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5478 $as_echo "$CC" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 test -n "$CC" && break
5488 if test -z "$CC"; then
5490 for ac_prog
in cl.exe
5492 # Extract the first word of "$ac_prog", so it can be a program name with args.
5493 set dummy
$ac_prog; ac_word
=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5497 $as_echo_n "(cached) " >&6
5499 if test -n "$ac_ct_CC"; then
5500 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5506 test -z "$as_dir" && as_dir
=.
5507 for ac_exec_ext
in '' $ac_executable_extensions; do
5508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_CC
="$ac_prog"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5520 if test -n "$ac_ct_CC"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5522 $as_echo "$ac_ct_CC" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5529 test -n "$ac_ct_CC" && break
5532 if test "x$ac_ct_CC" = x
; then
5535 case $cross_compiling:$ac_tool_warned in
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5539 ac_tool_warned
=yes ;;
5548 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5550 as_fn_error $?
"no acceptable C compiler found in \$PATH
5551 See \`config.log' for more details" "$LINENO" 5; }
5553 # Provide some information about the compiler.
5554 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5557 for ac_option
in --version -v -V -qversion; do
5558 { { ac_try
="$ac_compiler $ac_option >&5"
5560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5561 *) ac_try_echo=$ac_try;;
5563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5564 $as_echo "$ac_try_echo"; } >&5
5565 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5567 if test -s conftest.err; then
5569 ... rest of stderr output deleted ...
5570 10q' conftest.err >conftest.er1
5571 cat conftest.er1 >&5
5573 rm -f conftest.er1 conftest.err
5574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5575 test $ac_status = 0; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5579 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5580 if ${ac_cv_c_compiler_gnu+:} false; then :
5581 $as_echo_n "(cached) " >&6
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5597 if ac_fn_c_try_compile "$LINENO"; then :
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5603 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5607 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5608 if test $ac_compiler_gnu = yes; then
5613 ac_test_CFLAGS=${CFLAGS+set}
5614 ac_save_CFLAGS=$CFLAGS
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5616 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5617 if ${ac_cv_prog_cc_g+:} false; then :
5618 $as_echo_n "(cached) " >&6
5620 ac_save_c_werror_flag=$ac_c_werror_flag
5621 ac_c_werror_flag=yes
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5635 if ac_fn_c_try_compile "$LINENO"; then :
5639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5640 /* end confdefs.h. */
5650 if ac_fn_c_try_compile "$LINENO"; then :
5653 ac_c_werror_flag=$ac_save_c_werror_flag
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5666 if ac_fn_c_try_compile "$LINENO"; then :
5669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5674 ac_c_werror_flag=$ac_save_c_werror_flag
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5677 $as_echo "$ac_cv_prog_cc_g" >&6; }
5678 if test "$ac_test_CFLAGS" = set; then
5679 CFLAGS=$ac_save_CFLAGS
5680 elif test $ac_cv_prog_cc_g = yes; then
5681 if test "$GCC" = yes; then
5687 if test "$GCC" = yes; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5694 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5695 if ${ac_cv_prog_cc_c89+:} false; then :
5696 $as_echo_n "(cached) " >&6
5698 ac_cv_prog_cc_c89=no
5700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5705 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5706 struct buf { int x; };
5707 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5708 static char *e (p, i)
5714 static char *f (char * (*g) (char **, int), char **p, ...)
5719 s = g (p, va_arg (v,int));
5724 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5725 function prototypes and stuff, but not '\xHH' hex character constants.
5726 These don't provoke an error unfortunately, instead are silently treated
5727 as 'x'. The following induces an error, until -std is added to get
5728 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5729 array size at least. It's necessary to write '\x00'==0 to get something
5730 that's true only with -std. */
5731 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5733 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5734 inside strings and character constants. */
5736 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5738 int test (int i, double x);
5739 struct s1 {int (*f) (int a);};
5740 struct s2 {int (*f) (double a);};
5741 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5747 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5752 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5753 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5755 CC="$ac_save_CC $ac_arg"
5756 if ac_fn_c_try_compile "$LINENO"; then :
5757 ac_cv_prog_cc_c89=$ac_arg
5759 rm -f core conftest.err conftest.$ac_objext
5760 test "x$ac_cv_prog_cc_c89" != "xno" && break
5762 rm -f conftest.$ac_ext
5767 case "x$ac_cv_prog_cc_c89" in
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5770 $as_echo "none needed" >&6; } ;;
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5773 $as_echo "unsupported" >&6; } ;;
5775 CC="$CC $ac_cv_prog_cc_c89"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5777 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5779 if test "x$ac_cv_prog_cc_c89" != xno; then :
5784 ac_cpp='$CPP $CPPFLAGS'
5785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5795 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5796 if ${am_cv_prog_cc_c_o+:} false; then :
5797 $as_echo_n "(cached) " >&6
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5810 # Make sure it works both with $CC and with simple cc.
5811 # Following AC_PROG_CC_C_O, we do the test twice because some
5812 # compilers refuse to overwrite an existing .o file with -o,
5813 # though they will create one.
5814 am_cv_prog_cc_c_o=yes
5816 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5817 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } \
5821 && test -f conftest2.$ac_objext; then
5824 am_cv_prog_cc_c_o=no
5828 rm -f core conftest*
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5832 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5833 if test "$am_cv_prog_cc_c_o" != yes; then
5834 # Losing compiler, so override with the script.
5835 # FIXME: It is wrong to rewrite CC.
5836 # But if we don't then we get into trouble of one sort or another.
5837 # A longer-term fix would be to have automake use am__CC in this case,
5838 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5839 CC="$am_aux_dir/compile $CC"
5842 ac_cpp='$CPP $CPPFLAGS'
5843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5848 depcc="$CC" am_compiler_list=
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5851 $as_echo_n "checking dependency style of $depcc... " >&6; }
5852 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5856 # We make a subdir and do the tests there. Otherwise we can end up
5857 # making bogus files that we don't know about and never remove. For
5858 # instance it was reported that on HP-UX the gcc test will end up
5859 # making a dummy file named 'D' -- because '-MD' means "put the output
5863 # Copy depcomp to subdir because otherwise we won't find it if we're
5864 # using a relative directory.
5865 cp "$am_depcomp" conftest.dir
5867 # We will build objects and dependencies in a subdirectory because
5868 # it helps to detect inapplicable dependency modes. For instance
5869 # both Tru64's cc and ICC support -MD to output dependencies as a
5870 # side effect of compilation, but ICC will put the dependencies in
5871 # the current directory while Tru64 will put them in the object
5875 am_cv_CC_dependencies_compiler_type=none
5876 if test "$am_compiler_list" = ""; then
5877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5880 case " $depcc " in #(
5881 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5884 for depmode in $am_compiler_list; do
5885 # Setup a source with many dependencies, because some compilers
5886 # like to wrap large dependency lists on column 80 (with \), and
5887 # we should not choose a depcomp mode which is confused by this.
5889 # We need to recreate these files for each test, as the compiler may
5890 # overwrite some of them when testing with obscure command lines.
5891 # This happens at least with the AIX C compiler.
5893 for i in 1 2 3 4 5 6; do
5894 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5895 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5896 # Solaris 10 /bin/sh.
5897 echo '/* dummy */' > sub/conftst$i.h
5899 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5901 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5902 # mode. It turns out that the SunPro C++ compiler does not properly
5903 # handle '-M -o', and we need to detect this. Also, some Intel
5904 # versions had trouble with output in subdirs.
5905 am__obj=sub/conftest.${OBJEXT-o}
5906 am__minus_obj="-o $am__obj"
5909 # This depmode causes a compiler race in universal mode.
5910 test "$am__universal" = false || continue
5913 # After this tag, mechanisms are not by side-effect, so they'll
5914 # only be used when explicitly requested.
5915 if test "x$enable_dependency_tracking" = xyes; then
5921 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5922 # This compiler won't grok '-c -o', but also, the minuso test has
5923 # not run yet. These depmodes are late enough in the game, and
5924 # so weak that their functioning should not be impacted.
5925 am__obj=conftest.${OBJEXT-o}
5930 if depmode=$depmode \
5931 source=sub/conftest.c object=$am__obj \
5932 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5933 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5934 >/dev/null 2>conftest.err &&
5935 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5936 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5937 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5938 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5939 # icc doesn't choke on unknown options, it will just issue warnings
5940 # or remarks (even with -Werror). So we grep stderr for any message
5941 # that says an option was ignored or not supported.
5942 # When given -MP, icc 7.0 and 7.1 complain thusly:
5943 # icc: Command line warning: ignoring option '-M'; no argument required
5944 # The diagnosis changed in icc 8.0:
5945 # icc: Command line remark: option '-MP' not supported
5946 if (grep 'ignoring option' conftest.err ||
5947 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5948 am_cv_CC_dependencies_compiler_type=$depmode
5957 am_cv_CC_dependencies_compiler_type=none
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5962 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5963 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5966 test "x$enable_dependency_tracking" != xno \
5967 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5969 am__fastdepCC_FALSE='#'
5971 am__fastdepCC_TRUE='#'
5972 am__fastdepCC_FALSE=
5982 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5983 if test "x$GCC" = "xyes"; then
5984 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5985 ## We like to use C11 and C99 routines when available. This makes
5987 ## __STDC_VERSION__ is set such that libc includes make them available.
5988 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5989 ## Compile the following tests with the same system header contents
5990 ## that we'll encounter when compiling our own source files.
5991 CFLAGS="-std=gnu11 $CFLAGS"
5994 # Add CET specific flags if CET is enabled
5995 # Check whether --enable-cet was given.
5996 if test "${enable_cet+set}" = set; then :
5997 enableval=$enable_cet;
5998 case "$enableval" in
6000 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6009 $as_echo_n "checking for CET support... " >&6; }
6012 i[34567]86-*-linux* | x86_64-*-linux*)
6013 case "$enable_cet" in
6015 # Check if target supports multi-byte NOPs
6016 # and if assembler supports CET insn.
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6024 #if !defined(__SSE2__)
6025 #error target does not support multi-byte NOPs
6034 if ac_fn_c_try_compile "$LINENO"; then :
6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 # Check if assembler supports CET.
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6054 if ac_fn_c_try_compile "$LINENO"; then :
6057 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 if test x$enable_cet = xyes; then
6068 CET_FLAGS="-fcf-protection -mshstk"
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6070 $as_echo "yes" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6073 $as_echo "no" >&6; }
6076 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6077 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6078 CFLAGS="$CFLAGS $CET_FLAGS"
6084 # Check for symbol versioning (copied from libssp).
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6086 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6087 # Check whether --enable-symvers was given.
6088 if test "${enable_symvers+set}" = set; then :
6089 enableval=$enable_symvers; gfortran_use_symver=$enableval
6091 gfortran_use_symver=yes
6094 if test "x$gfortran_use_symver" != xno; then
6095 save_LDFLAGS="$LDFLAGS"
6096 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6097 cat > conftest.map <<EOF
6099 global: *foo*; bar; local: *;
6102 if test x$gcc_no_link = xyes; then
6103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6116 if ac_fn_c_try_link "$LINENO"; then :
6117 gfortran_use_symver=gnu
6119 gfortran_use_symver=no
6121 rm -f core conftest.err conftest.$ac_objext \
6122 conftest$ac_exeext conftest.$ac_ext
6123 if test x$gfortran_use_symver = xno; then
6124 case "$target_os" in
6126 LDFLAGS="$save_LDFLAGS"
6127 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6128 # Sun ld cannot handle wildcards and treats all entries as undefined.
6129 cat > conftest.map <<EOF
6131 global: foo; local: *;
6134 if test x$gcc_no_link = xyes; then
6135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6148 if ac_fn_c_try_link "$LINENO"; then :
6149 gfortran_use_symver=sun
6151 gfortran_use_symver=no
6153 rm -f core conftest.err conftest.$ac_objext \
6154 conftest$ac_exeext conftest.$ac_ext
6158 LDFLAGS="$save_LDFLAGS"
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6161 $as_echo "$gfortran_use_symver" >&6; }
6162 if test "x$gfortran_use_symver" != xno; then
6163 LIBGFOR_USE_SYMVER_TRUE=
6164 LIBGFOR_USE_SYMVER_FALSE='#'
6166 LIBGFOR_USE_SYMVER_TRUE='#'
6167 LIBGFOR_USE_SYMVER_FALSE=
6170 if test "x$gfortran_use_symver" = xgnu; then
6171 LIBGFOR_USE_SYMVER_GNU_TRUE=
6172 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6174 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6175 LIBGFOR_USE_SYMVER_GNU_FALSE=
6178 if test "x$gfortran_use_symver" = xsun; then
6179 LIBGFOR_USE_SYMVER_SUN_TRUE=
6180 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6182 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6183 LIBGFOR_USE_SYMVER_SUN_FALSE=
6187 # For GPU offloading, not everything in libfortran can be supported.
6188 # Currently, the only target that has this problem is nvptx. The
6189 # following is a (partial) list of features that are unsupportable on
6190 # this particular target:
6193 # * C library support for I/O, with printf as the one notable exception
6194 # * C library support for other features such as signal, environment
6195 # variables, time functions
6197 if test "x${target_cpu}" = xnvptx; then
6198 LIBGFOR_MINIMAL_TRUE=
6199 LIBGFOR_MINIMAL_FALSE='#'
6201 LIBGFOR_MINIMAL_TRUE='#'
6202 LIBGFOR_MINIMAL_FALSE=
6206 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6207 # similarly to how libstdc++ does it
6208 ac_test_CFLAGS="${CFLAGS+set}"
6209 ac_save_CFLAGS="$CFLAGS"
6211 # Check for -ffunction-sections -fdata-sections
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6213 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6214 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6226 if ac_fn_c_try_compile "$LINENO"; then :
6231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6232 if test "$ac_test_CFLAGS" = set; then
6233 CFLAGS="$ac_save_CFLAGS"
6235 # this is the suspicious part
6238 if test x"$ac_fdsections" = x"yes"; then
6239 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6242 $as_echo "$ac_fdsections" >&6; }
6245 # Check linker hardware capability support.
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6247 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6248 if ${ac_cv_path_SED+:} false; then :
6249 $as_echo_n "(cached) " >&6
6251 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6252 for ac_i in 1 2 3 4 5 6 7; do
6253 ac_script="$ac_script$as_nl$ac_script"
6255 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6256 { ac_script=; unset ac_script;}
6257 if test -z "$SED"; then
6258 ac_path_SED_found=false
6259 # Loop through the user's path and test for each of PROGNAME-LIST
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir=.
6265 for ac_prog in sed gsed; do
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6268 as_fn_executable_p "$ac_path_SED" || continue
6269 # Check for GNU ac_path_SED and select it if it is found.
6270 # Check for GNU $ac_path_SED
6271 case `"$ac_path_SED" --version 2>&1` in
6273 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6276 $as_echo_n 0123456789 >"conftest.in"
6279 cat "conftest.in" "conftest.in" >"conftest.tmp"
6280 mv "conftest.tmp" "conftest.in"
6281 cp "conftest.in" "conftest.nl"
6282 $as_echo '' >> "conftest.nl"
6283 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6285 as_fn_arith $ac_count + 1 && ac_count=$as_val
6286 if test $ac_count -gt ${ac_path_SED_max-0}; then
6287 # Best one so far, save it but keep looking for a better one
6288 ac_cv_path_SED="$ac_path_SED"
6289 ac_path_SED_max=$ac_count
6291 # 10*(2^10) chars as input seems more than enough
6292 test $ac_count -gt 10 && break
6294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6297 $ac_path_SED_found && break 3
6302 if test -z "$ac_cv_path_SED"; then
6303 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6311 $as_echo "$ac_cv_path_SED" >&6; }
6312 SED="$ac_cv_path_SED"
6315 test -z "$SED" && SED=sed
6316 Xsed="$SED -e 1s/^X//"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6329 $as_echo_n "checking for fgrep... " >&6; }
6330 if ${ac_cv_path_FGREP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6333 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6334 then ac_cv_path_FGREP="$GREP -F"
6336 if test -z "$FGREP"; then
6337 ac_path_FGREP_found=false
6338 # Loop through the user's path and test for each of PROGNAME-LIST
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6343 test -z "$as_dir" && as_dir=.
6344 for ac_prog in fgrep; do
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6347 as_fn_executable_p "$ac_path_FGREP" || continue
6348 # Check for GNU ac_path_FGREP and select it if it is found.
6349 # Check for GNU $ac_path_FGREP
6350 case `"$ac_path_FGREP" --version 2>&1` in
6352 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6355 $as_echo_n 0123456789 >"conftest.in"
6358 cat "conftest.in" "conftest.in" >"conftest.tmp"
6359 mv "conftest.tmp" "conftest.in"
6360 cp "conftest.in" "conftest.nl"
6361 $as_echo 'FGREP' >> "conftest.nl"
6362 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6363 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6364 as_fn_arith $ac_count + 1 && ac_count=$as_val
6365 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6366 # Best one so far, save it but keep looking for a better one
6367 ac_cv_path_FGREP="$ac_path_FGREP"
6368 ac_path_FGREP_max=$ac_count
6370 # 10*(2^10) chars as input seems more than enough
6371 test $ac_count -gt 10 && break
6373 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6376 $ac_path_FGREP_found && break 3
6381 if test -z "$ac_cv_path_FGREP"; then
6382 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6385 ac_cv_path_FGREP=$FGREP
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6391 $as_echo "$ac_cv_path_FGREP" >&6; }
6392 FGREP="$ac_cv_path_FGREP"
6395 test -z "$GREP" && GREP=grep
6413 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6414 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6418 $as_echo_n "checking how to print strings... " >&6; }
6419 # Test print first, because it will be a builtin if present.
6420 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6421 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6423 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6426 # Use this function as a fallback that always works.
6427 func_fallback_echo ()
6429 eval 'cat <<_LTECHO_EOF
6433 ECHO='func_fallback_echo'
6436 # func_echo_all arg...
6437 # Invoke $ECHO with all args, space-separated.
6444 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6445 $as_echo "printf" >&6; } ;;
6446 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6447 $as_echo "print -r" >&6; } ;;
6448 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6449 $as_echo "cat" >&6; } ;;
6467 # Check whether --with-gnu-ld was given.
6468 if test "${with_gnu_ld+set}" = set; then :
6469 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6475 if test "$GCC" = yes; then
6476 # Check if gcc -print-prog-name=ld gives a path.
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6478 $as_echo_n "checking for ld used by $CC... " >&6; }
6481 # gcc leaves a trailing carriage return which upsets mingw
6482 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6484 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6487 # Accept absolute paths.
6489 re_direlt='/[^/][^/]*/\.\./'
6490 # Canonicalize the pathname of ld
6491 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6492 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6493 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6495 test -z "$LD" && LD="$ac_prog"
6498 # If it fails, then pretend we aren't using GCC.
6502 # If it is relative, then search for the first ld in PATH.
6506 elif test "$with_gnu_ld" = yes; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6508 $as_echo_n "checking for GNU ld... " >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6511 $as_echo_n "checking for non-GNU ld... " >&6; }
6513 if ${lt_cv_path_LD+:} false; then :
6514 $as_echo_n "(cached) " >&6
6516 if test -z "$LD"; then
6517 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6518 for ac_dir in $PATH; do
6520 test -z "$ac_dir" && ac_dir=.
6521 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6522 lt_cv_path_LD="$ac_dir/$ac_prog"
6523 # Check to see if the program is GNU ld. I'd rather use --version,
6524 # but apparently some variants of GNU ld only accept -v.
6525 # Break only if it was the GNU/non-GNU ld that we prefer.
6526 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6527 *GNU* | *'with BFD'*)
6528 test "$with_gnu_ld" != no && break
6531 test "$with_gnu_ld" != yes && break
6538 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6543 if test -n "$LD"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6545 $as_echo "$LD" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6550 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6552 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6553 if ${lt_cv_prog_gnu_ld+:} false; then :
6554 $as_echo_n "(cached) " >&6
6556 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6557 case `$LD -v 2>&1 </dev
/null
` in
6558 *GNU* | *'with BFD'*)
6559 lt_cv_prog_gnu_ld=yes
6562 lt_cv_prog_gnu_ld=no
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6567 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6568 with_gnu_ld=$lt_cv_prog_gnu_ld
6579 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6582 ac_save_LDFLAGS="$LDFLAGS"
6583 LDFLAGS="$LFLAGS -mclear-hwcap"
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6586 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6587 if test x$gcc_no_link = xyes; then
6588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6601 if ac_fn_c_try_link "$LINENO"; then :
6602 ac_hwcap_ldflags=yes
6606 rm -f core conftest.err conftest.$ac_objext \
6607 conftest$ac_exeext conftest.$ac_ext
6608 if test "$ac_hwcap_ldflags" = "yes"; then
6609 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6612 $as_echo "$ac_hwcap_ldflags" >&6; }
6614 LDFLAGS="$ac_save_LDFLAGS"
6618 if test $ac_hwcap_ldflags != no; then
6620 HAVE_HWCAP_FALSE='#'
6628 # Find other programs we need.
6629 if test -n "$ac_tool_prefix"; then
6630 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6631 set dummy ${ac_tool_prefix}as; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_AS+:} false; then :
6635 $as_echo_n "(cached) " >&6
6637 if test -n "$AS"; then
6638 ac_cv_prog_AS="$AS" # Let the user override the test.
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AS="${ac_tool_prefix}as"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 if test -n "$AS"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6660 $as_echo "$AS" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6668 if test -z "$ac_cv_prog_AS"; then
6670 # Extract the first word of "as", so it can be a program name with args.
6671 set dummy as; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6675 $as_echo_n "(cached) " >&6
6677 if test -n "$ac_ct_AS"; then
6678 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_ac_ct_AS="as"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6698 if test -n "$ac_ct_AS"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6700 $as_echo "$ac_ct_AS" >&6; }
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6706 if test "x$ac_ct_AS" = x; then
6709 case $cross_compiling:$ac_tool_warned in
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713 ac_tool_warned=yes ;;
6721 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6723 set dummy ${ac_tool_prefix}ar; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_AR+:} false; then :
6727 $as_echo_n "(cached) " >&6
6729 if test -n "$AR"; then
6730 ac_cv_prog_AR="$AR" # Let the user override the test.
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir=.
6737 for ac_exec_ext in '' $ac_executable_extensions; do
6738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6739 ac_cv_prog_AR="${ac_tool_prefix}ar"
6740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 if test -n "$AR"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6752 $as_echo "$AR" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6760 if test -z "$ac_cv_prog_AR"; then
6762 # Extract the first word of "ar", so it can be a program name with args.
6763 set dummy ar; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6767 $as_echo_n "(cached) " >&6
6769 if test -n "$ac_ct_AR"; then
6770 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_ac_ct_AR="ar"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6790 if test -n "$ac_ct_AR"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6792 $as_echo "$ac_ct_AR" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6798 if test "x$ac_ct_AR" = x; then
6801 case $cross_compiling:$ac_tool_warned in
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805 ac_tool_warned=yes ;;
6813 if test -n "$ac_tool_prefix"; then
6814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_RANLIB+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$RANLIB"; then
6822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 RANLIB=$ac_cv_prog_RANLIB
6842 if test -n "$RANLIB"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6844 $as_echo "$RANLIB" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6852 if test -z "$ac_cv_prog_RANLIB"; then
6853 ac_ct_RANLIB=$RANLIB
6854 # Extract the first word of "ranlib", so it can be a program name with args.
6855 set dummy ranlib; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6859 $as_echo_n "(cached) " >&6
6861 if test -n "$ac_ct_RANLIB"; then
6862 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_ac_ct_RANLIB="ranlib"
6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6881 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6882 if test -n "$ac_ct_RANLIB"; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6884 $as_echo "$ac_ct_RANLIB" >&6; }
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6890 if test "x$ac_ct_RANLIB" = x; then
6891 RANLIB="ranlib-not-found-in-path-error"
6893 case $cross_compiling:$ac_tool_warned in
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6897 ac_tool_warned=yes ;;
6899 RANLIB=$ac_ct_RANLIB
6902 RANLIB="$ac_cv_prog_RANLIB"
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6906 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6908 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6909 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6910 $as_echo_n "(cached) " >&6
6912 cat >conftest.make <<\_ACEOF
6915 @echo '@@@%%%=$(MAKE)=@@@%%%'
6917 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6918 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6920 eval ac_cv_prog_make_${ac_make}_set=yes;;
6922 eval ac_cv_prog_make_${ac_make}_set=no;;
6926 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6928 $as_echo "yes" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6933 SET_MAKE="MAKE=${MAKE-make}"
6939 #AC_MSG_NOTICE([====== Starting libtool configuration])
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6947 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6952 macro_version='2.2.7a'
6953 macro_revision='1.3134'
6967 ltmain="$ac_aux_dir/ltmain.sh"
6969 # Backslashify metacharacters that are still active within
6970 # double-quoted strings.
6971 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6973 # Same as above, but do not quote variable references.
6974 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6976 # Sed substitution to delay expansion of an escaped shell variable in a
6977 # double_quote_subst'ed string.
6978 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6980 # Sed substitution to delay expansion of an escaped single quote.
6981 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6983 # Sed substitution to avoid accidental globbing in evaled expressions
6984 no_glob_subst='s/\*/\\\*/g'
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6987 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6988 if ${lt_cv_path_NM+:} false; then :
6989 $as_echo_n "(cached
) " >&6
6991 if test -n "$NM"; then
6992 # Let the user override the test.
6995 lt_nm_to_check="${ac_tool_prefix}nm
"
6996 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6997 lt_nm_to_check="$lt_nm_to_check nm
"
6999 for lt_tmp_nm in $lt_nm_to_check; do
7000 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7001 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7003 test -z "$ac_dir" && ac_dir=.
7004 tmp_nm="$ac_dir/$lt_tmp_nm"
7005 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7006 # Check to see if the nm accepts a BSD-compat flag.
7007 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7008 # nm: unknown option "B
" ignored
7009 # Tru64's nm complains that /dev/null is an invalid object file
7010 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7011 */dev/null* | *'Invalid file or object type'*)
7012 lt_cv_path_NM="$tmp_nm -B"
7016 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7018 lt_cv_path_NM="$tmp_nm -p"
7022 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7023 continue # so that we can try to find one that supports BSD flags
7032 : ${lt_cv_path_NM=no}
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7036 $as_echo "$lt_cv_path_NM" >&6; }
7037 if test "$lt_cv_path_NM" != "no
"; then
7040 # Didn't find any BSD compatible name lister, look for dumpbin.
7041 if test -n "$DUMPBIN"; then :
7042 # Let the user override the test.
7044 if test -n "$ac_tool_prefix"; then
7045 for ac_prog in dumpbin "link
-dump"
7047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7050 $as_echo_n "checking
for $ac_word...
" >&6; }
7051 if ${ac_cv_prog_DUMPBIN+:} false; then :
7052 $as_echo_n "(cached
) " >&6
7054 if test -n "$DUMPBIN"; then
7055 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir=.
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7074 DUMPBIN=$ac_cv_prog_DUMPBIN
7075 if test -n "$DUMPBIN"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7077 $as_echo "$DUMPBIN" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7080 $as_echo "no
" >&6; }
7084 test -n "$DUMPBIN" && break
7087 if test -z "$DUMPBIN"; then
7088 ac_ct_DUMPBIN=$DUMPBIN
7089 for ac_prog in dumpbin "link
-dump"
7091 # Extract the first word of "$ac_prog", so it can be a program name with args.
7092 set dummy $ac_prog; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7094 $as_echo_n "checking
for $ac_word...
" >&6; }
7095 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7096 $as_echo_n "(cached
) " >&6
7098 if test -n "$ac_ct_DUMPBIN"; then
7099 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7118 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7119 if test -n "$ac_ct_DUMPBIN"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7121 $as_echo "$ac_ct_DUMPBIN" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7124 $as_echo "no
" >&6; }
7128 test -n "$ac_ct_DUMPBIN" && break
7131 if test "x
$ac_ct_DUMPBIN" = x; then
7134 case $cross_compiling:$ac_tool_warned in
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7137 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7138 ac_tool_warned=yes ;;
7140 DUMPBIN=$ac_ct_DUMPBIN
7144 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7146 DUMPBIN="$DUMPBIN -symbols"
7154 if test "$DUMPBIN" != ":"; then
7158 test -z "$NM" && NM=nm
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7166 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7167 if ${lt_cv_nm_interface+:} false; then :
7168 $as_echo_n "(cached
) " >&6
7170 lt_cv_nm_interface="BSD nm
"
7171 echo "int some_variable
= 0;" > conftest.$ac_ext
7172 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7173 (eval "$ac_compile" 2>conftest.err)
7174 cat conftest.err >&5
7175 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7176 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7177 cat conftest.err >&5
7178 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7179 cat conftest.out >&5
7180 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7181 lt_cv_nm_interface="MS dumpbin
"
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7186 $as_echo "$lt_cv_nm_interface" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7189 $as_echo_n "checking whether
ln -s works...
" >&6; }
7191 if test "$LN_S" = "ln -s"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7193 $as_echo "yes" >&6; }
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7196 $as_echo "no
, using
$LN_S" >&6; }
7199 # find the maximum length of command line arguments
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7201 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7202 if ${lt_cv_sys_max_cmd_len+:} false; then :
7203 $as_echo_n "(cached
) " >&6
7210 # On DJGPP, this test can blow up pretty badly due to problems in libc
7211 # (any single argument exceeding 2000 bytes causes a buffer overrun
7212 # during glob expansion). Even if it were fixed, the result of this
7213 # check would be larger than it should be.
7214 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7218 # Under GNU Hurd, this test is not required because there is
7219 # no limit to the length of command line arguments.
7220 # Libtool will interpret -1 as no limit whatsoever
7221 lt_cv_sys_max_cmd_len=-1;
7224 cygwin* | mingw* | cegcc*)
7225 # On Win9x/ME, this test blows up -- it succeeds, but takes
7226 # about 5 minutes as the teststring grows exponentially.
7227 # Worse, since 9x/ME are not pre-emptively multitasking,
7228 # you end up with a "frozen
" computer, even though with patience
7229 # the test eventually succeeds (with a max line length of 256k).
7230 # Instead, let's just punt: use the minimum linelength reported by
7231 # all of the supported platforms: 8192 (on NT/2K/XP).
7232 lt_cv_sys_max_cmd_len=8192;
7236 # On MiNT this can take a long time and run out of memory.
7237 lt_cv_sys_max_cmd_len=8192;
7241 # On AmigaOS with pdksh, this test takes hours, literally.
7242 # So we just punt and use a minimum line length of 8192.
7243 lt_cv_sys_max_cmd_len=8192;
7246 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7247 # This has been around since 386BSD, at least. Likely further.
7248 if test -x /sbin/sysctl; then
7249 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7250 elif test -x /usr/sbin/sysctl; then
7251 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7253 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7255 # And add a safety zone
7256 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7261 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7262 lt_cv_sys_max_cmd_len=196608
7266 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7267 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7268 # nice to cause kernel panics so lets avoid the loop below.
7269 # First set a reasonable default.
7270 lt_cv_sys_max_cmd_len=16384
7272 if test -x /sbin/sysconfig; then
7273 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7274 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7279 lt_cv_sys_max_cmd_len=102400
7281 sysv5* | sco5v6* | sysv4.2uw2*)
7282 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7283 if test -n "$kargmax"; then
7284 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7286 lt_cv_sys_max_cmd_len=32768
7290 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7291 if test -n "$lt_cv_sys_max_cmd_len"; then
7292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7295 # Make teststring a little bigger before we do anything with it.
7296 # a 1K string should be a reasonable start.
7297 for i in 1 2 3 4 5 6 7 8 ; do
7298 teststring=$teststring$teststring
7300 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7301 # If test is not a shell built-in, we'll probably end up computing a
7302 # maximum length that is only half of the actual maximum length, but
7304 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7305 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7306 test $i != 17 # 1/2 MB should be enough
7309 teststring=$teststring$teststring
7311 # Only check the string length outside the loop.
7312 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7314 # Add a significant safety factor because C++ compilers can tack on
7315 # massive amounts of additional arguments before passing them to the
7316 # linker. It appears as though 1/2 is a usable value.
7317 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7324 if test -n $lt_cv_sys_max_cmd_len ; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7326 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7329 $as_echo "none
" >&6; }
7331 max_cmd_len=$lt_cv_sys_max_cmd_len
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7343 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7344 # Try some XSI features
7347 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7349 && eval 'test $(( 1 + 1 )) -eq 2 \
7350 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7353 $as_echo "$xsi_shell" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7357 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7359 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7361 && lt_shell_append
=yes
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7363 $as_echo "$lt_shell_append" >&6; }
7366 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7376 # test EBCDIC or ASCII
7377 case `echo X|tr X '\101'` in
7378 A
) # ASCII based system
7379 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7380 lt_SP2NL
='tr \040 \012'
7381 lt_NL2SP
='tr \015\012 \040\040'
7383 *) # EBCDIC based system
7384 lt_SP2NL
='tr \100 \n'
7385 lt_NL2SP
='tr \r\n \100\100'
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7398 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7399 if ${lt_cv_ld_reload_flag+:} false
; then :
7400 $as_echo_n "(cached) " >&6
7402 lt_cv_ld_reload_flag
='-r'
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7405 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7406 reload_flag
=$lt_cv_ld_reload_flag
7407 case $reload_flag in
7409 *) reload_flag
=" $reload_flag" ;;
7411 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7414 if test "$GCC" = yes; then
7415 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7417 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7432 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7436 $as_echo_n "(cached) " >&6
7438 if test -n "$OBJDUMP"; then
7439 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir
=.
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 OBJDUMP
=$ac_cv_prog_OBJDUMP
7459 if test -n "$OBJDUMP"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7461 $as_echo "$OBJDUMP" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_OBJDUMP"; then
7470 ac_ct_OBJDUMP
=$OBJDUMP
7471 # Extract the first word of "objdump", so it can be a program name with args.
7472 set dummy objdump
; ac_word
=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7476 $as_echo_n "(cached) " >&6
7478 if test -n "$ac_ct_OBJDUMP"; then
7479 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir
=.
7486 for ac_exec_ext
in '' $ac_executable_extensions; do
7487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7499 if test -n "$ac_ct_OBJDUMP"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7501 $as_echo "$ac_ct_OBJDUMP" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_OBJDUMP" = x
; then
7510 case $cross_compiling:$ac_tool_warned in
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned
=yes ;;
7516 OBJDUMP
=$ac_ct_OBJDUMP
7519 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7522 test -z "$OBJDUMP" && OBJDUMP
=objdump
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7533 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7534 if ${lt_cv_deplibs_check_method+:} false
; then :
7535 $as_echo_n "(cached) " >&6
7537 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7538 lt_cv_file_magic_test_file
=
7539 lt_cv_deplibs_check_method
='unknown'
7540 # Need to set the preceding variable on all platforms that support
7541 # interlibrary dependencies.
7542 # 'none' -- dependencies not supported.
7543 # `unknown' -- same as none, but documents that we really don't know.
7544 # 'pass_all' -- all dependencies passed with no checks.
7545 # 'test_compile' -- check by making test program.
7546 # 'file_magic [[regex]]' -- check by looking for files in library path
7547 # which responds to the $file_magic_cmd with a given extended regex.
7548 # If you have `file' or equivalent on your system and you're not sure
7549 # whether `pass_all' will *always* work, you probably want this one.
7553 lt_cv_deplibs_check_method
=pass_all
7557 lt_cv_deplibs_check_method
=pass_all
7561 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7562 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7563 lt_cv_file_magic_test_file
=/shlib
/libc.so
7567 # func_win32_libid is a shell function defined in ltmain.sh
7568 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7569 lt_cv_file_magic_cmd
='func_win32_libid'
7573 # Base MSYS/MinGW do not provide the 'file' command needed by
7574 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7575 # unless we find 'file', for example because we are cross-compiling.
7576 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7577 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7578 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7579 lt_cv_file_magic_cmd
='func_win32_libid'
7581 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7582 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7587 # use the weaker test based on 'objdump'. See mingw*.
7588 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7589 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7592 darwin
* | rhapsody
*)
7593 lt_cv_deplibs_check_method
=pass_all
7596 freebsd
* | dragonfly
*)
7597 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7600 # Not sure whether the presence of OpenBSD here was a mistake.
7601 # Let's accept both of them until this is cleared up.
7602 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7603 lt_cv_file_magic_cmd
=/usr
/bin
/file
7604 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7608 lt_cv_deplibs_check_method
=pass_all
7613 lt_cv_deplibs_check_method
=pass_all
7617 lt_cv_deplibs_check_method
=pass_all
7620 hpux10.20
* | hpux11
*)
7621 lt_cv_file_magic_cmd
=/usr
/bin
/file
7624 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7625 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7628 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]'
7629 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7632 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7633 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7639 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7640 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7643 irix5
* | irix6
* | nonstopux
*)
7645 *-32|
*"-32 ") libmagic
=32-bit;;
7646 *-n32|
*"-n32 ") libmagic
=N32
;;
7647 *-64|
*"-64 ") libmagic
=64-bit;;
7648 *) libmagic
=never-match
;;
7650 lt_cv_deplibs_check_method
=pass_all
7653 # This must be Linux ELF.
7654 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7655 lt_cv_deplibs_check_method
=pass_all
7659 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7660 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7662 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7667 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7668 lt_cv_file_magic_cmd
=/usr
/bin
/file
7669 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7673 lt_cv_deplibs_check_method
=pass_all
7677 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7678 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7680 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7684 osf3
* | osf4
* | osf5
*)
7685 lt_cv_deplibs_check_method
=pass_all
7689 lt_cv_deplibs_check_method
=pass_all
7693 lt_cv_deplibs_check_method
=pass_all
7696 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7697 lt_cv_deplibs_check_method
=pass_all
7701 case $host_vendor in
7703 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]'
7704 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7707 lt_cv_deplibs_check_method
=pass_all
7710 lt_cv_file_magic_cmd
='/bin/file'
7711 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7714 lt_cv_file_magic_cmd
='/bin/file'
7715 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7716 lt_cv_file_magic_test_file
=/lib
/libc.so
7719 lt_cv_deplibs_check_method
=pass_all
7722 lt_cv_deplibs_check_method
=pass_all
7728 lt_cv_deplibs_check_method
=pass_all
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7734 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7735 file_magic_cmd
=$lt_cv_file_magic_cmd
7736 deplibs_check_method
=$lt_cv_deplibs_check_method
7737 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7750 if test -n "$ac_tool_prefix"; then
7751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7752 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7754 $as_echo_n "checking for $ac_word... " >&6; }
7755 if ${ac_cv_prog_AR+:} false
; then :
7756 $as_echo_n "(cached) " >&6
7758 if test -n "$AR"; then
7759 ac_cv_prog_AR
="$AR" # Let the user override the test.
7761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir
=.
7766 for ac_exec_ext
in '' $ac_executable_extensions; do
7767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 if test -n "$AR"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7781 $as_echo "$AR" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 $as_echo "no" >&6; }
7789 if test -z "$ac_cv_prog_AR"; then
7791 # Extract the first word of "ar", so it can be a program name with args.
7792 set dummy
ar; ac_word
=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794 $as_echo_n "checking for $ac_word... " >&6; }
7795 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7796 $as_echo_n "(cached) " >&6
7798 if test -n "$ac_ct_AR"; then
7799 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir
=.
7806 for ac_exec_ext
in '' $ac_executable_extensions; do
7807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7808 ac_cv_prog_ac_ct_AR
="ar"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7819 if test -n "$ac_ct_AR"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7821 $as_echo "$ac_ct_AR" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 $as_echo "no" >&6; }
7827 if test "x$ac_ct_AR" = x
; then
7830 case $cross_compiling:$ac_tool_warned in
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7834 ac_tool_warned
=yes ;;
7842 test -z "$AR" && AR
=ar
7843 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7855 if test -n "$ac_tool_prefix"; then
7856 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7857 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_prog_STRIP+:} false
; then :
7861 $as_echo_n "(cached) " >&6
7863 if test -n "$STRIP"; then
7864 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir
=.
7871 for ac_exec_ext
in '' $ac_executable_extensions; do
7872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 STRIP
=$ac_cv_prog_STRIP
7884 if test -n "$STRIP"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7886 $as_echo "$STRIP" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7894 if test -z "$ac_cv_prog_STRIP"; then
7896 # Extract the first word of "strip", so it can be a program name with args.
7897 set dummy strip
; ac_word
=$2
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7899 $as_echo_n "checking for $ac_word... " >&6; }
7900 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7901 $as_echo_n "(cached) " >&6
7903 if test -n "$ac_ct_STRIP"; then
7904 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7910 test -z "$as_dir" && as_dir
=.
7911 for ac_exec_ext
in '' $ac_executable_extensions; do
7912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7913 ac_cv_prog_ac_ct_STRIP
="strip"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7924 if test -n "$ac_ct_STRIP"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7926 $as_echo "$ac_ct_STRIP" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 $as_echo "no" >&6; }
7932 if test "x$ac_ct_STRIP" = x
; then
7935 case $cross_compiling:$ac_tool_warned in
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7939 ac_tool_warned
=yes ;;
7944 STRIP
="$ac_cv_prog_STRIP"
7947 test -z "$STRIP" && STRIP
=:
7954 if test -n "$ac_tool_prefix"; then
7955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7956 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_prog_RANLIB+:} false
; then :
7960 $as_echo_n "(cached) " >&6
7962 if test -n "$RANLIB"; then
7963 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir
=.
7970 for ac_exec_ext
in '' $ac_executable_extensions; do
7971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 RANLIB
=$ac_cv_prog_RANLIB
7983 if test -n "$RANLIB"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7985 $as_echo "$RANLIB" >&6; }
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7993 if test -z "$ac_cv_prog_RANLIB"; then
7994 ac_ct_RANLIB
=$RANLIB
7995 # Extract the first word of "ranlib", so it can be a program name with args.
7996 set dummy ranlib
; ac_word
=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 if test -n "$ac_ct_RANLIB"; then
8003 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir
=.
8010 for ac_exec_ext
in '' $ac_executable_extensions; do
8011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8023 if test -n "$ac_ct_RANLIB"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8025 $as_echo "$ac_ct_RANLIB" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8031 if test "x$ac_ct_RANLIB" = x
; then
8034 case $cross_compiling:$ac_tool_warned in
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8038 ac_tool_warned
=yes ;;
8040 RANLIB
=$ac_ct_RANLIB
8043 RANLIB
="$ac_cv_prog_RANLIB"
8046 test -z "$RANLIB" && RANLIB
=:
8053 # Determine commands to create old-style static archives.
8054 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8055 old_postinstall_cmds
='chmod 644 $oldlib'
8056 old_postuninstall_cmds
=
8058 if test -n "$RANLIB"; then
8061 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8064 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8067 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8072 lock_old_archive_extraction
=yes ;;
8074 lock_old_archive_extraction
=no
;;
8115 # If no C compiler was specified, use CC.
8118 # If no C compiler flags were specified, use CFLAGS.
8119 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8121 # Allow CC to be a program name with arguments.
8125 # Check for command to grab the raw symbol name followed by C symbol from nm.
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8127 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8128 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8129 $as_echo_n "(cached) " >&6
8132 # These are sane defaults that work on at least a few old systems.
8133 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8135 # Character class describing NM global symbol codes.
8136 symcode
='[BCDEGRST]'
8138 # Regexp to match symbols that can be accessed directly from C.
8139 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8141 # Define system-specific variables.
8146 cygwin
* | mingw
* | pw32
* | cegcc
*)
8147 symcode
='[ABCDGISTW]'
8150 if test "$host_cpu" = ia64
; then
8151 symcode
='[ABCDEGRST]'
8155 symcode
='[BCDEGRST]'
8158 symcode
='[BCDEGQRST]'
8169 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8177 # If we're using GNU nm, then use its standard symbol codes.
8178 case `$NM -V 2>&1` in
8179 *GNU
* |
*'with BFD'*)
8180 symcode
='[ABCDGIRSTW]' ;;
8183 # Transform an extracted symbol line into a proper C declaration.
8184 # Some systems (esp. on ia64) link data and code symbols differently,
8185 # so use this general approach.
8186 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8188 # Transform an extracted symbol line into symbol name and symbol address
8189 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8190 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'"
8192 # Handle CRLF in mingw tool chain
8196 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8200 # Try without a prefix underscore, then with it.
8201 for ac_symprfx
in "" "_"; do
8203 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8204 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8206 # Write the raw and C identifiers.
8207 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8208 # Fake it for dumpbin and say T for any non-static function
8209 # and D for any global variable.
8210 # Also find C++ and __fastcall symbols from MSVC++,
8211 # which start with @ or ?.
8212 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8213 " {last_section=section; section=\$ 3};"\
8214 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8215 " \$ 0!~/External *\|/{next};"\
8216 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8217 " {if(hide[section]) next};"\
8218 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8219 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8220 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8221 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8222 " ' prfx=^$ac_symprfx"
8224 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8227 # Check to see that the pipe works correctly.
8231 cat > conftest.
$ac_ext <<_LT_EOF
8236 void nm_test_func(void);
8237 void nm_test_func(void){}
8241 int main(){nm_test_var='a';nm_test_func();return(0);}
8244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8245 (eval $ac_compile) 2>&5
8247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8248 test $ac_status = 0; }; then
8249 # Now try to grab the symbols.
8251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8252 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8255 test $ac_status = 0; } && test -s "$nlist"; then
8256 # Try sorting and uniquifying the output.
8257 if sort "$nlist" |
uniq > "$nlist"T
; then
8258 mv -f "$nlist"T
"$nlist"
8263 # Make sure that we snagged all the symbols we need.
8264 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8265 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8266 cat <<_LT_EOF > conftest.$ac_ext
8272 # Now generate the symbol file.
8273 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8275 cat <<_LT_EOF >> conftest.$ac_ext
8277 /* The mapping between symbol names and symbols. */
8282 lt__PROGRAM__LTX_preloaded_symbols[] =
8284 { "@PROGRAM@", (void *) 0 },
8286 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8287 cat <<\_LT_EOF
>> conftest.
$ac_ext
8291 /* This works around a problem
in FreeBSD linker
*/
8292 #ifdef FREEBSD_WORKAROUND
8293 static const void
*lt_preloaded_setup
() {
8294 return lt__PROGRAM__LTX_preloaded_symbols
;
8302 # Now try linking the two files.
8303 mv conftest.
$ac_objext conftstm.
$ac_objext
8304 lt_save_LIBS
="$LIBS"
8305 lt_save_CFLAGS
="$CFLAGS"
8306 LIBS
="conftstm.$ac_objext"
8307 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8309 (eval $ac_link) 2>&5
8311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8312 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8315 LIBS
="$lt_save_LIBS"
8316 CFLAGS
="$lt_save_CFLAGS"
8318 echo "cannot find nm_test_func in $nlist" >&5
8321 echo "cannot find nm_test_var in $nlist" >&5
8324 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8327 echo "$progname: failed program was:" >&5
8328 cat conftest.
$ac_ext >&5
8330 rm -rf conftest
* conftst
*
8332 # Do not use the global_symbol_pipe unless it works.
8333 if test "$pipe_works" = yes; then
8336 lt_cv_sys_global_symbol_pipe
=
8342 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8343 lt_cv_sys_global_symbol_to_cdecl
=
8345 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8347 $as_echo "failed" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8350 $as_echo "ok" >&6; }
8374 # Check whether --enable-libtool-lock was given.
8375 if test "${enable_libtool_lock+set}" = set; then :
8376 enableval
=$enable_libtool_lock;
8379 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8381 # Some flags need to be propagated to the compiler or linker for good
8385 # Find out which ABI we are using.
8386 echo 'int i;' > conftest.
$ac_ext
8387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8388 (eval $ac_compile) 2>&5
8390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8391 test $ac_status = 0; }; then
8392 case `/usr/bin/file conftest.$ac_objext` in
8404 # Find out which ABI we are using.
8405 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8407 (eval $ac_compile) 2>&5
8409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8410 test $ac_status = 0; }; then
8411 if test "$lt_cv_prog_gnu_ld" = yes; then
8412 case `/usr/bin/file conftest.$ac_objext` in
8414 LD
="${LD-ld} -melf32bsmip"
8417 LD
="${LD-ld} -melf32bmipn32"
8420 LD
="${LD-ld} -melf64bmip"
8424 case `/usr/bin/file conftest.$ac_objext` in
8440 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8441 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8442 # Find out which ABI we are using.
8443 echo 'int i;' > conftest.
$ac_ext
8444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8445 (eval $ac_compile) 2>&5
8447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8448 test $ac_status = 0; }; then
8449 case `/usr/bin/file conftest.o` in
8452 x86_64-
*kfreebsd
*-gnu)
8453 LD
="${LD-ld} -m elf_i386_fbsd"
8456 case `/usr/bin/file conftest.o` in
8458 LD
="${LD-ld} -m elf32_x86_64"
8461 LD
="${LD-ld} -m elf_i386"
8465 powerpc64le-
*linux
*)
8466 LD
="${LD-ld} -m elf32lppclinux"
8469 LD
="${LD-ld} -m elf32ppclinux"
8472 LD
="${LD-ld} -m elf_s390"
8475 LD
="${LD-ld} -m elf32_sparc"
8481 x86_64-
*kfreebsd
*-gnu)
8482 LD
="${LD-ld} -m elf_x86_64_fbsd"
8485 LD
="${LD-ld} -m elf_x86_64"
8488 LD
="${LD-ld} -m elf64lppc"
8491 LD
="${LD-ld} -m elf64ppc"
8493 s390
*-*linux
*|s390
*-*tpf
*)
8494 LD
="${LD-ld} -m elf64_s390"
8497 LD
="${LD-ld} -m elf64_sparc"
8507 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8508 SAVE_CFLAGS
="$CFLAGS"
8509 CFLAGS
="$CFLAGS -belf"
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8511 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8512 if ${lt_cv_cc_needs_belf+:} false
; then :
8513 $as_echo_n "(cached) " >&6
8516 ac_cpp
='$CPP $CPPFLAGS'
8517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8521 if test x
$gcc_no_link = xyes
; then
8522 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8535 if ac_fn_c_try_link
"$LINENO"; then :
8536 lt_cv_cc_needs_belf
=yes
8538 lt_cv_cc_needs_belf
=no
8540 rm -f core conftest.err conftest.
$ac_objext \
8541 conftest
$ac_exeext conftest.
$ac_ext
8543 ac_cpp
='$CPP $CPPFLAGS'
8544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8550 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8551 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8552 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8553 CFLAGS
="$SAVE_CFLAGS"
8557 # Find out which ABI we are using.
8558 echo 'int i;' > conftest.
$ac_ext
8559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8560 (eval $ac_compile) 2>&5
8562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8563 test $ac_status = 0; }; then
8564 case `/usr/bin/file conftest.o` in
8566 case $lt_cv_prog_gnu_ld in
8567 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8569 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8581 need_locks
="$enable_libtool_lock"
8585 rhapsody
* | darwin
*)
8586 if test -n "$ac_tool_prefix"; then
8587 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8588 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8590 $as_echo_n "checking for $ac_word... " >&6; }
8591 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8592 $as_echo_n "(cached) " >&6
8594 if test -n "$DSYMUTIL"; then
8595 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8601 test -z "$as_dir" && as_dir
=.
8602 for ac_exec_ext
in '' $ac_executable_extensions; do
8603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8604 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8614 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8615 if test -n "$DSYMUTIL"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8617 $as_echo "$DSYMUTIL" >&6; }
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8620 $as_echo "no" >&6; }
8625 if test -z "$ac_cv_prog_DSYMUTIL"; then
8626 ac_ct_DSYMUTIL
=$DSYMUTIL
8627 # Extract the first word of "dsymutil", so it can be a program name with args.
8628 set dummy dsymutil
; ac_word
=$2
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8630 $as_echo_n "checking for $ac_word... " >&6; }
8631 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8632 $as_echo_n "(cached) " >&6
8634 if test -n "$ac_ct_DSYMUTIL"; then
8635 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8641 test -z "$as_dir" && as_dir
=.
8642 for ac_exec_ext
in '' $ac_executable_extensions; do
8643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8644 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8654 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8655 if test -n "$ac_ct_DSYMUTIL"; then
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8657 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8660 $as_echo "no" >&6; }
8663 if test "x$ac_ct_DSYMUTIL" = x
; then
8666 case $cross_compiling:$ac_tool_warned in
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8670 ac_tool_warned
=yes ;;
8672 DSYMUTIL
=$ac_ct_DSYMUTIL
8675 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8678 if test -n "$ac_tool_prefix"; then
8679 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8680 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8682 $as_echo_n "checking for $ac_word... " >&6; }
8683 if ${ac_cv_prog_NMEDIT+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8686 if test -n "$NMEDIT"; then
8687 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8693 test -z "$as_dir" && as_dir
=.
8694 for ac_exec_ext
in '' $ac_executable_extensions; do
8695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8696 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8706 NMEDIT
=$ac_cv_prog_NMEDIT
8707 if test -n "$NMEDIT"; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8709 $as_echo "$NMEDIT" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8712 $as_echo "no" >&6; }
8717 if test -z "$ac_cv_prog_NMEDIT"; then
8718 ac_ct_NMEDIT
=$NMEDIT
8719 # Extract the first word of "nmedit", so it can be a program name with args.
8720 set dummy nmedit
; ac_word
=$2
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8722 $as_echo_n "checking for $ac_word... " >&6; }
8723 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8724 $as_echo_n "(cached) " >&6
8726 if test -n "$ac_ct_NMEDIT"; then
8727 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8733 test -z "$as_dir" && as_dir
=.
8734 for ac_exec_ext
in '' $ac_executable_extensions; do
8735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8736 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8746 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8747 if test -n "$ac_ct_NMEDIT"; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8749 $as_echo "$ac_ct_NMEDIT" >&6; }
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8752 $as_echo "no" >&6; }
8755 if test "x$ac_ct_NMEDIT" = x
; then
8758 case $cross_compiling:$ac_tool_warned in
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8762 ac_tool_warned
=yes ;;
8764 NMEDIT
=$ac_ct_NMEDIT
8767 NMEDIT
="$ac_cv_prog_NMEDIT"
8770 if test -n "$ac_tool_prefix"; then
8771 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8772 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8774 $as_echo_n "checking for $ac_word... " >&6; }
8775 if ${ac_cv_prog_LIPO+:} false
; then :
8776 $as_echo_n "(cached) " >&6
8778 if test -n "$LIPO"; then
8779 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8785 test -z "$as_dir" && as_dir
=.
8786 for ac_exec_ext
in '' $ac_executable_extensions; do
8787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8788 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8798 LIPO
=$ac_cv_prog_LIPO
8799 if test -n "$LIPO"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8801 $as_echo "$LIPO" >&6; }
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8809 if test -z "$ac_cv_prog_LIPO"; then
8811 # Extract the first word of "lipo", so it can be a program name with args.
8812 set dummy lipo
; ac_word
=$2
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8814 $as_echo_n "checking for $ac_word... " >&6; }
8815 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8816 $as_echo_n "(cached) " >&6
8818 if test -n "$ac_ct_LIPO"; then
8819 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8825 test -z "$as_dir" && as_dir
=.
8826 for ac_exec_ext
in '' $ac_executable_extensions; do
8827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8828 ac_cv_prog_ac_ct_LIPO
="lipo"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8838 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8839 if test -n "$ac_ct_LIPO"; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8841 $as_echo "$ac_ct_LIPO" >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8844 $as_echo "no" >&6; }
8847 if test "x$ac_ct_LIPO" = x
; then
8850 case $cross_compiling:$ac_tool_warned in
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8854 ac_tool_warned
=yes ;;
8859 LIPO
="$ac_cv_prog_LIPO"
8862 if test -n "$ac_tool_prefix"; then
8863 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8864 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8866 $as_echo_n "checking for $ac_word... " >&6; }
8867 if ${ac_cv_prog_OTOOL+:} false
; then :
8868 $as_echo_n "(cached) " >&6
8870 if test -n "$OTOOL"; then
8871 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8877 test -z "$as_dir" && as_dir
=.
8878 for ac_exec_ext
in '' $ac_executable_extensions; do
8879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8880 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8890 OTOOL
=$ac_cv_prog_OTOOL
8891 if test -n "$OTOOL"; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8893 $as_echo "$OTOOL" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8901 if test -z "$ac_cv_prog_OTOOL"; then
8903 # Extract the first word of "otool", so it can be a program name with args.
8904 set dummy otool
; ac_word
=$2
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8906 $as_echo_n "checking for $ac_word... " >&6; }
8907 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 if test -n "$ac_ct_OTOOL"; then
8911 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8917 test -z "$as_dir" && as_dir
=.
8918 for ac_exec_ext
in '' $ac_executable_extensions; do
8919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8920 ac_cv_prog_ac_ct_OTOOL
="otool"
8921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8931 if test -n "$ac_ct_OTOOL"; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8933 $as_echo "$ac_ct_OTOOL" >&6; }
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8939 if test "x$ac_ct_OTOOL" = x
; then
8942 case $cross_compiling:$ac_tool_warned in
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8946 ac_tool_warned
=yes ;;
8951 OTOOL
="$ac_cv_prog_OTOOL"
8954 if test -n "$ac_tool_prefix"; then
8955 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8956 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8958 $as_echo_n "checking for $ac_word... " >&6; }
8959 if ${ac_cv_prog_OTOOL64+:} false
; then :
8960 $as_echo_n "(cached) " >&6
8962 if test -n "$OTOOL64"; then
8963 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8969 test -z "$as_dir" && as_dir
=.
8970 for ac_exec_ext
in '' $ac_executable_extensions; do
8971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8972 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8982 OTOOL64
=$ac_cv_prog_OTOOL64
8983 if test -n "$OTOOL64"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8985 $as_echo "$OTOOL64" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8993 if test -z "$ac_cv_prog_OTOOL64"; then
8994 ac_ct_OTOOL64
=$OTOOL64
8995 # Extract the first word of "otool64", so it can be a program name with args.
8996 set dummy otool64
; ac_word
=$2
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8998 $as_echo_n "checking for $ac_word... " >&6; }
8999 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9000 $as_echo_n "(cached) " >&6
9002 if test -n "$ac_ct_OTOOL64"; then
9003 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9009 test -z "$as_dir" && as_dir
=.
9010 for ac_exec_ext
in '' $ac_executable_extensions; do
9011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9012 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9022 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9023 if test -n "$ac_ct_OTOOL64"; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9025 $as_echo "$ac_ct_OTOOL64" >&6; }
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028 $as_echo "no" >&6; }
9031 if test "x$ac_ct_OTOOL64" = x
; then
9034 case $cross_compiling:$ac_tool_warned in
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9038 ac_tool_warned
=yes ;;
9040 OTOOL64
=$ac_ct_OTOOL64
9043 OTOOL64
="$ac_cv_prog_OTOOL64"
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9073 $as_echo_n "checking for -single_module linker flag... " >&6; }
9074 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 lt_cv_apple_cc_single_mod
=no
9078 if test -z "${LT_MULTI_MODULE}"; then
9079 # By default we will add the -single_module flag. You can override
9080 # by either setting the environment variable LT_MULTI_MODULE
9081 # non-empty at configure time, or by adding -multi_module to the
9083 rm -rf libconftest.dylib
*
9084 echo "int foo(void){return 1;}" > conftest.c
9085 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9086 -dynamiclib -Wl,-single_module conftest.c" >&5
9087 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9088 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9090 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9091 lt_cv_apple_cc_single_mod
=yes
9093 cat conftest.err
>&5
9095 rm -rf libconftest.dylib
*
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9100 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9102 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9103 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9104 $as_echo_n "(cached) " >&6
9106 lt_cv_ld_exported_symbols_list
=no
9107 save_LDFLAGS
=$LDFLAGS
9108 echo "_main" > conftest.sym
9109 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9110 if test x
$gcc_no_link = xyes
; then
9111 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9124 if ac_fn_c_try_link
"$LINENO"; then :
9125 lt_cv_ld_exported_symbols_list
=yes
9127 lt_cv_ld_exported_symbols_list
=no
9129 rm -f core conftest.err conftest.
$ac_objext \
9130 conftest
$ac_exeext conftest.
$ac_ext
9131 LDFLAGS
="$save_LDFLAGS"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9137 $as_echo_n "checking for -force_load linker flag... " >&6; }
9138 if ${lt_cv_ld_force_load+:} false
; then :
9139 $as_echo_n "(cached) " >&6
9141 lt_cv_ld_force_load
=no
9142 cat > conftest.c
<< _LT_EOF
9143 int forced_loaded() { return 2;}
9145 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9146 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9147 echo "$AR cru libconftest.a conftest.o" >&5
9148 $AR cru libconftest.a conftest.o
2>&5
9149 cat > conftest.c
<< _LT_EOF
9150 int main() { return 0;}
9152 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9153 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9155 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9156 lt_cv_ld_force_load
=yes
9158 cat conftest.err
>&5
9160 rm -f conftest.err libconftest.a conftest conftest.c
9161 rm -rf conftest.dSYM
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9165 $as_echo "$lt_cv_ld_force_load" >&6; }
9167 rhapsody
* | darwin1.
[012])
9168 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9170 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9171 darwin
*) # darwin 5.x on
9172 # if running on 10.5 or later, the deployment target defaults
9173 # to the OS version, if on x86, and 10.4, the deployment
9174 # target defaults to 10.4. Don't you love it?
9175 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9176 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9177 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9179 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9181 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9185 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9186 _lt_dar_single_mod
='$single_module'
9188 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9189 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9191 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9193 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9194 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9201 for ac_header
in dlfcn.h
9203 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9205 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9206 cat >>confdefs.h
<<_ACEOF
9207 #define HAVE_DLFCN_H 1
9226 # Check whether --enable-shared was given.
9227 if test "${enable_shared+set}" = set; then :
9228 enableval
=$enable_shared; p
=${PACKAGE-default}
9230 yes) enable_shared
=yes ;;
9231 no
) enable_shared
=no
;;
9234 # Look at the argument we got. We use all the common list separators.
9235 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9236 for pkg
in $enableval; do
9238 if test "X$pkg" = "X$p"; then
9257 # Check whether --enable-static was given.
9258 if test "${enable_static+set}" = set; then :
9259 enableval
=$enable_static; p
=${PACKAGE-default}
9261 yes) enable_static
=yes ;;
9262 no
) enable_static
=no
;;
9265 # Look at the argument we got. We use all the common list separators.
9266 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9267 for pkg
in $enableval; do
9269 if test "X$pkg" = "X$p"; then
9289 # Check whether --with-pic was given.
9290 if test "${with_pic+set}" = set; then :
9291 withval
=$with_pic; pic_mode
="$withval"
9297 test -z "$pic_mode" && pic_mode
=default
9305 # Check whether --enable-fast-install was given.
9306 if test "${enable_fast_install+set}" = set; then :
9307 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9309 yes) enable_fast_install
=yes ;;
9310 no
) enable_fast_install
=no
;;
9312 enable_fast_install
=no
9313 # Look at the argument we got. We use all the common list separators.
9314 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9315 for pkg
in $enableval; do
9317 if test "X$pkg" = "X$p"; then
9318 enable_fast_install
=yes
9325 enable_fast_install
=yes
9338 # This can be used to rebuild libtool when needed
9339 LIBTOOL_DEPS
="$ltmain"
9341 # Always use our own libtool.
9342 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9369 test -z "$LN_S" && LN_S
="ln -s"
9384 if test -n "${ZSH_VERSION+set}" ; then
9385 setopt NO_GLOB_SUBST
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9389 $as_echo_n "checking for objdir... " >&6; }
9390 if ${lt_cv_objdir+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 rm -f .libs
2>/dev
/null
9394 mkdir .libs
2>/dev
/null
9395 if test -d .libs
; then
9398 # MS-DOS does not allow filenames that begin with a dot.
9401 rmdir .libs
2>/dev
/null
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9404 $as_echo "$lt_cv_objdir" >&6; }
9405 objdir
=$lt_cv_objdir
9411 cat >>confdefs.h
<<_ACEOF
9412 #define LT_OBJDIR "$lt_cv_objdir/"
9420 # AIX sometimes has problems with the GCC collect2 program. For some
9421 # reason, if we set the COLLECT_NAMES environment variable, the problems
9422 # vanish in a puff of smoke.
9423 if test "X${COLLECT_NAMES+set}" != Xset
; then
9425 export COLLECT_NAMES
9432 can_build_shared
=yes
9434 # All known linkers require a `.a' archive for static linking (except MSVC,
9435 # which needs '.lib').
9438 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9441 old_CFLAGS
="$CFLAGS"
9443 # Set sane defaults for various variables
9444 test -z "$CC" && CC
=cc
9445 test -z "$LTCC" && LTCC
=$CC
9446 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9447 test -z "$LD" && LD
=ld
9448 test -z "$ac_objext" && ac_objext
=o
9450 for cc_temp
in $compiler""; do
9452 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9453 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9458 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9461 # Only perform the check for file, if the check method requires it
9462 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9463 case $deplibs_check_method in
9465 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9467 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9468 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9469 $as_echo_n "(cached) " >&6
9473 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9476 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9477 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9478 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9479 for ac_dir
in $ac_dummy; do
9481 test -z "$ac_dir" && ac_dir
=.
9482 if test -f $ac_dir/${ac_tool_prefix}file; then
9483 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9484 if test -n "$file_magic_test_file"; then
9485 case $deplibs_check_method in
9487 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9488 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9489 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9490 $EGREP "$file_magic_regex" > /dev
/null
; then
9495 *** Warning: the command libtool uses to detect shared libraries,
9496 *** $file_magic_cmd, produces output that libtool cannot recognize.
9497 *** The result is that libtool may fail to recognize shared libraries
9498 *** as such. This will affect the creation of libtool libraries that
9499 *** depend on shared libraries, but programs linked with such libtool
9500 *** libraries will work regardless of this problem. Nevertheless, you
9501 *** may want to report the problem to your system manager and/or to
9502 *** bug-libtool@gnu.org
9512 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9517 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9518 if test -n "$MAGIC_CMD"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9520 $as_echo "$MAGIC_CMD" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9530 if test -z "$lt_cv_path_MAGIC_CMD"; then
9531 if test -n "$ac_tool_prefix"; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9533 $as_echo_n "checking for file... " >&6; }
9534 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9539 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9542 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9543 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9544 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9545 for ac_dir
in $ac_dummy; do
9547 test -z "$ac_dir" && ac_dir
=.
9548 if test -f $ac_dir/file; then
9549 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9550 if test -n "$file_magic_test_file"; then
9551 case $deplibs_check_method in
9553 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9554 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9555 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9556 $EGREP "$file_magic_regex" > /dev
/null
; then
9561 *** Warning: the command libtool uses to detect shared libraries,
9562 *** $file_magic_cmd, produces output that libtool cannot recognize.
9563 *** The result is that libtool may fail to recognize shared libraries
9564 *** as such. This will affect the creation of libtool libraries that
9565 *** depend on shared libraries, but programs linked with such libtool
9566 *** libraries will work regardless of this problem. Nevertheless, you
9567 *** may want to report the problem to your system manager and/or to
9568 *** bug-libtool@gnu.org
9578 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9583 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9584 if test -n "$MAGIC_CMD"; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9586 $as_echo "$MAGIC_CMD" >&6; }
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9589 $as_echo "no" >&6; }
9602 # Use C for the default configuration in the libtool script
9606 ac_cpp
='$CPP $CPPFLAGS'
9607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9612 # Source file extension for C test sources.
9615 # Object file extension for compiled C test sources.
9619 # Code to be used in simple compile tests
9620 lt_simple_compile_test_code
="int some_variable = 0;"
9622 # Code to be used in simple link tests
9623 lt_simple_link_test_code
='int main(){return(0);}'
9631 # If no C compiler was specified, use CC.
9634 # If no C compiler flags were specified, use CFLAGS.
9635 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9637 # Allow CC to be a program name with arguments.
9640 # Save the default compiler, since it gets overwritten when the other
9641 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9642 compiler_DEFAULT
=$CC
9644 # save warnings/boilerplate of simple test code
9645 ac_outfile
=conftest.
$ac_objext
9646 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9647 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9648 _lt_compiler_boilerplate
=`cat conftest.err`
9651 ac_outfile
=conftest.
$ac_objext
9652 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9653 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9654 _lt_linker_boilerplate
=`cat conftest.err`
9659 ## There is no encapsulation within the following macros, do not change
9660 ## the running order or otherwise move them around unless you know exactly
9661 ## what you are doing...
9662 if test -n "$compiler"; then
9664 lt_prog_compiler_no_builtin_flag
=
9666 if test "$GCC" = yes; then
9667 case $cc_basename in
9669 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9671 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9675 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9676 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9677 $as_echo_n "(cached) " >&6
9679 lt_cv_prog_compiler_rtti_exceptions
=no
9680 ac_outfile
=conftest.
$ac_objext
9681 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9682 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9683 # Insert the option either (1) after the last *FLAGS variable, or
9684 # (2) before a word containing "conftest.", or (3) at the end.
9685 # Note that $ac_compile itself does not contain backslashes and begins
9686 # with a dollar sign (not a hyphen), so the echo should work correctly.
9687 # The option is referenced via a variable to avoid confusing sed.
9688 lt_compile
=`echo "$ac_compile" | $SED \
9689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9691 -e 's:$: $lt_compiler_flag:'`
9692 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9693 (eval "$lt_compile" 2>conftest.err
)
9695 cat conftest.err
>&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 if (exit $ac_status) && test -s "$ac_outfile"; then
9698 # The compiler can only warn and ignore the option if not recognized
9699 # So say no if there are warnings other than the usual output.
9700 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9701 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9702 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9703 lt_cv_prog_compiler_rtti_exceptions
=yes
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9710 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9712 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9713 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9725 lt_prog_compiler_wl
=
9726 lt_prog_compiler_pic
=
9727 lt_prog_compiler_static
=
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9730 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9732 if test "$GCC" = yes; then
9733 lt_prog_compiler_wl
='-Wl,'
9734 lt_prog_compiler_static
='-static'
9738 # All AIX code is PIC.
9739 if test "$host_cpu" = ia64
; then
9740 # AIX 5 now supports IA64 processor
9741 lt_prog_compiler_static
='-Bstatic'
9743 lt_prog_compiler_pic
='-fPIC'
9749 # see comment about AmigaOS4 .so support
9750 lt_prog_compiler_pic
='-fPIC'
9753 # FIXME: we need at least 68020 code to build shared libraries, but
9754 # adding the `-m68020' flag to GCC prevents building anything better,
9756 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9761 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9762 # PIC is the default for these OSes.
9765 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9766 # This hack is so that the source file can tell whether it is being
9767 # built for inclusion in a dll (and should export symbols for example).
9768 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9769 # (--disable-auto-import) libraries
9770 lt_prog_compiler_pic
='-DDLL_EXPORT'
9773 darwin
* | rhapsody
*)
9774 # PIC is the default on this platform
9775 # Common symbols not allowed in MH_DYLIB files
9776 lt_prog_compiler_pic
='-fno-common'
9780 # PIC is the default for Haiku.
9781 # The "-static" flag exists, but is broken.
9782 lt_prog_compiler_static
=
9786 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9787 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9788 # sets the default TLS model and affects inlining.
9794 lt_prog_compiler_pic
='-fPIC'
9800 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9801 # Instead, we relocate shared libraries at runtime.
9805 # Just because we use GCC doesn't mean we suddenly get shared libraries
9806 # on systems that don't support them.
9807 lt_prog_compiler_can_build_shared
=no
9812 # QNX uses GNU C++, but need to define -shared option too, otherwise
9814 lt_prog_compiler_pic
='-fPIC -shared'
9818 if test -d /usr
/nec
; then
9819 lt_prog_compiler_pic
=-Kconform_pic
9824 lt_prog_compiler_pic
='-fPIC'
9828 case $cc_basename in
9829 nvcc
*) # Cuda Compiler Driver 2.2
9830 lt_prog_compiler_wl
='-Xlinker '
9831 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9835 # PORTME Check for flag to pass linker flags through the system compiler.
9838 lt_prog_compiler_wl
='-Wl,'
9839 if test "$host_cpu" = ia64
; then
9840 # AIX 5 now supports IA64 processor
9841 lt_prog_compiler_static
='-Bstatic'
9843 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9847 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9848 # This hack is so that the source file can tell whether it is being
9849 # built for inclusion in a dll (and should export symbols for example).
9850 lt_prog_compiler_pic
='-DDLL_EXPORT'
9853 hpux9
* | hpux10
* | hpux11
*)
9854 lt_prog_compiler_wl
='-Wl,'
9855 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9862 lt_prog_compiler_pic
='+Z'
9865 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9866 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9869 irix5
* | irix6
* | nonstopux
*)
9870 lt_prog_compiler_wl
='-Wl,'
9871 # PIC (with -KPIC) is the default.
9872 lt_prog_compiler_static
='-non_shared'
9875 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9876 case $cc_basename in
9877 # old Intel for x86_64 which still supported -KPIC.
9879 lt_prog_compiler_wl
='-Wl,'
9880 lt_prog_compiler_pic
='-KPIC'
9881 lt_prog_compiler_static
='-static'
9883 # icc used to be incompatible with GCC.
9884 # ICC 10 doesn't accept -KPIC any more.
9886 lt_prog_compiler_wl
='-Wl,'
9887 lt_prog_compiler_pic
='-fPIC'
9888 lt_prog_compiler_static
='-static'
9890 # Lahey Fortran 8.1.
9892 lt_prog_compiler_wl
='-Wl,'
9893 lt_prog_compiler_pic
='--shared'
9894 lt_prog_compiler_static
='--static'
9896 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9897 # Portland Group compilers (*not* the Pentium gcc compiler,
9898 # which looks to be a dead project)
9899 lt_prog_compiler_wl
='-Wl,'
9900 lt_prog_compiler_pic
='-fpic'
9901 lt_prog_compiler_static
='-Bstatic'
9904 lt_prog_compiler_wl
='-Wl,'
9905 # All Alpha code is PIC.
9906 lt_prog_compiler_static
='-non_shared'
9908 xl
* | bgxl
* | bgf
* | mpixl
*)
9909 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9910 lt_prog_compiler_wl
='-Wl,'
9911 lt_prog_compiler_pic
='-qpic'
9912 lt_prog_compiler_static
='-qstaticlink'
9915 case `$CC -V 2>&1 | sed 5q` in
9916 *Sun\ F
* |
*Sun
*Fortran
*)
9917 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9918 lt_prog_compiler_pic
='-KPIC'
9919 lt_prog_compiler_static
='-Bstatic'
9920 lt_prog_compiler_wl
=''
9924 lt_prog_compiler_pic
='-KPIC'
9925 lt_prog_compiler_static
='-Bstatic'
9926 lt_prog_compiler_wl
='-Wl,'
9934 lt_prog_compiler_pic
='-KPIC'
9935 lt_prog_compiler_static
='-Bstatic'
9939 # QNX uses GNU C++, but need to define -shared option too, otherwise
9941 lt_prog_compiler_pic
='-fPIC -shared'
9944 osf3
* | osf4
* | osf5
*)
9945 lt_prog_compiler_wl
='-Wl,'
9946 # All OSF/1 code is PIC.
9947 lt_prog_compiler_static
='-non_shared'
9951 lt_prog_compiler_static
='-non_shared'
9955 lt_prog_compiler_pic
='-KPIC'
9956 lt_prog_compiler_static
='-Bstatic'
9957 case $cc_basename in
9959 lt_prog_compiler_wl
='-Qoption ld ';;
9961 lt_prog_compiler_wl
='-Wl,';;
9966 lt_prog_compiler_wl
='-Qoption ld '
9967 lt_prog_compiler_pic
='-PIC'
9968 lt_prog_compiler_static
='-Bstatic'
9971 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9972 lt_prog_compiler_wl
='-Wl,'
9973 lt_prog_compiler_pic
='-KPIC'
9974 lt_prog_compiler_static
='-Bstatic'
9978 if test -d /usr
/nec
;then
9979 lt_prog_compiler_pic
='-Kconform_pic'
9980 lt_prog_compiler_static
='-Bstatic'
9984 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9985 lt_prog_compiler_wl
='-Wl,'
9986 lt_prog_compiler_pic
='-KPIC'
9987 lt_prog_compiler_static
='-Bstatic'
9991 lt_prog_compiler_wl
='-Wl,'
9992 lt_prog_compiler_can_build_shared
=no
9996 lt_prog_compiler_pic
='-pic'
9997 lt_prog_compiler_static
='-Bstatic'
10001 lt_prog_compiler_can_build_shared
=no
10007 # For platforms which do not support PIC, -DPIC is meaningless:
10009 lt_prog_compiler_pic
=
10012 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10016 $as_echo "$lt_prog_compiler_pic" >&6; }
10024 # Check to make sure the PIC flag actually works.
10026 if test -n "$lt_prog_compiler_pic"; then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10028 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10029 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10030 $as_echo_n "(cached) " >&6
10032 lt_cv_prog_compiler_pic_works
=no
10033 ac_outfile
=conftest.
$ac_objext
10034 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10035 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10036 # Insert the option either (1) after the last *FLAGS variable, or
10037 # (2) before a word containing "conftest.", or (3) at the end.
10038 # Note that $ac_compile itself does not contain backslashes and begins
10039 # with a dollar sign (not a hyphen), so the echo should work correctly.
10040 # The option is referenced via a variable to avoid confusing sed.
10041 lt_compile
=`echo "$ac_compile" | $SED \
10042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10044 -e 's:$: $lt_compiler_flag:'`
10045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10046 (eval "$lt_compile" 2>conftest.err
)
10048 cat conftest.err
>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 if (exit $ac_status) && test -s "$ac_outfile"; then
10051 # The compiler can only warn and ignore the option if not recognized
10052 # So say no if there are warnings other than the usual output.
10053 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10054 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10055 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10056 lt_cv_prog_compiler_pic_works
=yes
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10063 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10065 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10066 case $lt_prog_compiler_pic in
10068 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10071 lt_prog_compiler_pic
=
10072 lt_prog_compiler_can_build_shared
=no
10083 # Check to make sure the static flag actually works.
10085 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10087 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10088 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10089 $as_echo_n "(cached) " >&6
10091 lt_cv_prog_compiler_static_works
=no
10092 save_LDFLAGS
="$LDFLAGS"
10093 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10094 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10095 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10096 # The linker can only warn and ignore the option if not recognized
10097 # So say no if there are warnings
10098 if test -s conftest.err
; then
10099 # Append any errors to the config.log.
10100 cat conftest.err
1>&5
10101 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10102 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10103 if diff conftest.exp conftest.er2
>/dev
/null
; then
10104 lt_cv_prog_compiler_static_works
=yes
10107 lt_cv_prog_compiler_static_works
=yes
10111 LDFLAGS
="$save_LDFLAGS"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10115 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10117 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10120 lt_prog_compiler_static
=
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10130 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10131 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10132 $as_echo_n "(cached) " >&6
10134 lt_cv_prog_compiler_c_o
=no
10135 $RM -r conftest
2>/dev
/null
10139 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10141 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10142 # Insert the option either (1) after the last *FLAGS variable, or
10143 # (2) before a word containing "conftest.", or (3) at the end.
10144 # Note that $ac_compile itself does not contain backslashes and begins
10145 # with a dollar sign (not a hyphen), so the echo should work correctly.
10146 lt_compile
=`echo "$ac_compile" | $SED \
10147 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10148 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10149 -e 's:$: $lt_compiler_flag:'`
10150 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10151 (eval "$lt_compile" 2>out
/conftest.err
)
10153 cat out
/conftest.err
>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10157 # The compiler can only warn and ignore the option if not recognized
10158 # So say no if there are warnings
10159 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10160 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10161 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10162 lt_cv_prog_compiler_c_o
=yes
10167 # SGI C++ compiler will create directory out/ii_files/ for
10168 # template instantiation
10169 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10170 $RM out
/* && rmdir out
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10177 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10185 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10186 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10187 $as_echo_n "(cached) " >&6
10189 lt_cv_prog_compiler_c_o
=no
10190 $RM -r conftest
2>/dev
/null
10194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10196 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10197 # Insert the option either (1) after the last *FLAGS variable, or
10198 # (2) before a word containing "conftest.", or (3) at the end.
10199 # Note that $ac_compile itself does not contain backslashes and begins
10200 # with a dollar sign (not a hyphen), so the echo should work correctly.
10201 lt_compile
=`echo "$ac_compile" | $SED \
10202 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10203 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10204 -e 's:$: $lt_compiler_flag:'`
10205 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10206 (eval "$lt_compile" 2>out
/conftest.err
)
10208 cat out
/conftest.err
>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10212 # The compiler can only warn and ignore the option if not recognized
10213 # So say no if there are warnings
10214 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10215 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10216 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10217 lt_cv_prog_compiler_c_o
=yes
10222 # SGI C++ compiler will create directory out/ii_files/ for
10223 # template instantiation
10224 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10225 $RM out
/* && rmdir out
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10232 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10237 hard_links
="nottested"
10238 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10239 # do not overwrite the value of need_locks provided by the user
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10241 $as_echo_n "checking if we can lock with hard links... " >&6; }
10244 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10246 ln conftest.a conftest.b
2>&5 || hard_links
=no
10247 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10249 $as_echo "$hard_links" >&6; }
10250 if test "$hard_links" = no
; then
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10252 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10265 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10268 allow_undefined_flag
=
10269 always_export_symbols
=no
10271 archive_expsym_cmds
=
10272 compiler_needs_object
=no
10273 enable_shared_with_static_runtimes
=no
10274 export_dynamic_flag_spec
=
10275 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10276 hardcode_automatic
=no
10278 hardcode_direct_absolute
=no
10279 hardcode_libdir_flag_spec
=
10280 hardcode_libdir_flag_spec_ld
=
10281 hardcode_libdir_separator
=
10282 hardcode_minus_L
=no
10283 hardcode_shlibpath_var
=unsupported
10285 link_all_deplibs
=unknown
10287 module_expsym_cmds
=
10288 old_archive_from_new_cmds
=
10289 old_archive_from_expsyms_cmds
=
10290 thread_safe_flag_spec
=
10291 whole_archive_flag_spec
=
10292 # include_expsyms should be a list of space-separated symbols to be *always*
10293 # included in the symbol list
10295 # exclude_expsyms can be an extended regexp of symbols to exclude
10296 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10297 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10298 # as well as any symbol that contains `d'.
10299 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10300 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10301 # platforms (ab)use it in PIC code, but their linkers get confused if
10302 # the symbol is explicitly referenced. Since portable code cannot
10303 # rely on this symbol name, it's probably fine to never include it in
10304 # preloaded symbol tables.
10305 # Exclude shared library initialization/finalization symbols.
10306 extract_expsyms_cmds
=
10309 cygwin
* | mingw
* | pw32
* | cegcc
*)
10310 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10311 # When not using gcc, we currently assume that we are using
10312 # Microsoft Visual C++.
10313 if test "$GCC" != yes; then
10318 # we just hope/assume this is gcc and not c89 (= MSVC++)
10328 # On some targets, GNU ld is compatible enough with the native linker
10329 # that we're better off using the native interface for both.
10330 lt_use_gnu_ld_interface
=no
10331 if test "$with_gnu_ld" = yes; then
10334 # The AIX port of GNU ld has always aspired to compatibility
10335 # with the native linker. However, as the warning in the GNU ld
10336 # block says, versions before 2.19.5* couldn't really create working
10337 # shared libraries, regardless of the interface used.
10338 case `$LD -v 2>&1` in
10339 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10340 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10341 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10343 lt_use_gnu_ld_interface
=yes
10348 lt_use_gnu_ld_interface
=yes
10353 if test "$lt_use_gnu_ld_interface" = yes; then
10354 # If archive_cmds runs LD, not CC, wlarc should be empty
10357 # Set some defaults for GNU ld with shared library support. These
10358 # are reset later if shared libraries are not supported. Putting them
10359 # here allows them to be overridden if necessary.
10360 runpath_var
=LD_RUN_PATH
10361 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10362 export_dynamic_flag_spec
='${wl}--export-dynamic'
10363 # ancient GNU ld didn't support --whole-archive et. al.
10364 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10365 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10367 whole_archive_flag_spec
=
10369 supports_anon_versioning
=no
10370 case `$LD -v 2>&1` in
10371 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10372 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10373 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10374 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10375 *\
2.11.
*) ;; # other 2.11 versions
10376 *) supports_anon_versioning
=yes ;;
10379 # See if GNU ld supports shared libraries.
10382 # On AIX/PPC, the GNU linker is very broken
10383 if test "$host_cpu" != ia64
; then
10387 *** Warning: the GNU linker, at least up to release 2.19, is reported
10388 *** to be unable to reliably create shared libraries on AIX.
10389 *** Therefore, libtool is disabling shared libraries support. If you
10390 *** really care for shared libraries, you may want to install binutils
10391 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10392 *** You will then need to restart the configuration process.
10401 # see comment about AmigaOS4 .so support
10402 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10403 archive_expsym_cmds
=''
10406 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)'
10407 hardcode_libdir_flag_spec
='-L$libdir'
10408 hardcode_minus_L
=yes
10414 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10415 allow_undefined_flag
=unsupported
10416 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10417 # support --undefined. This deserves some investigation. FIXME
10418 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10424 cygwin
* | mingw
* | pw32
* | cegcc
*)
10425 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10426 # as there is no search path for DLLs.
10427 hardcode_libdir_flag_spec
='-L$libdir'
10428 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10429 allow_undefined_flag
=unsupported
10430 always_export_symbols
=no
10431 enable_shared_with_static_runtimes
=yes
10432 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10434 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10435 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10436 # If the export-symbols file already is a .def file (1st line
10437 # is EXPORTS), use it as is; otherwise, prepend...
10438 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10439 cp $export_symbols $output_objdir/$soname.def;
10441 echo EXPORTS > $output_objdir/$soname.def;
10442 cat $export_symbols >> $output_objdir/$soname.def;
10444 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10451 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452 link_all_deplibs
=yes
10457 hardcode_shlibpath_var
=no
10458 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10459 export_dynamic_flag_spec
='${wl}-E'
10460 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10461 # Instead, shared libraries are loaded at an image base (0x10000000 by
10462 # default) and relocated if they conflict, which is a slow very memory
10463 # consuming and fragmenting process. To avoid this, we pick a random,
10464 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10465 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10466 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10467 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'
10470 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10472 if test "$host_os" = linux-dietlibc
; then
10473 case $cc_basename in
10474 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10477 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10478 && test "$tmp_diet" = no
10480 tmp_addflag
=' $pic_flag'
10481 tmp_sharedflag
='-shared'
10482 case $cc_basename,$host_cpu in
10483 pgcc
*) # Portland Group C compiler
10484 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'
10485 tmp_addflag
=' $pic_flag'
10487 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10488 # Portland Group f77 and f90 compilers
10489 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'
10490 tmp_addflag
=' $pic_flag -Mnomain' ;;
10491 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10492 tmp_addflag
=' -i_dynamic' ;;
10493 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10494 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10495 ifc
* | ifort
*) # Intel Fortran compiler
10496 tmp_addflag
=' -nofor_main' ;;
10497 lf95
*) # Lahey Fortran 8.1
10498 whole_archive_flag_spec
=
10499 tmp_sharedflag
='--shared' ;;
10500 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10501 tmp_sharedflag
='-qmkshrobj'
10503 nvcc
*) # Cuda Compiler Driver 2.2
10504 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'
10505 compiler_needs_object
=yes
10508 case `$CC -V 2>&1 | sed 5q` in
10509 *Sun\ C
*) # Sun C 5.9
10510 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'
10511 compiler_needs_object
=yes
10512 tmp_sharedflag
='-G' ;;
10513 *Sun\ F
*) # Sun Fortran 8.3
10514 tmp_sharedflag
='-G' ;;
10516 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10518 if test "x$supports_anon_versioning" = xyes
; then
10519 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10520 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10521 echo "local: *; };" >> $output_objdir/$libname.ver~
10522 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10525 case $cc_basename in
10526 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10527 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10528 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10529 hardcode_libdir_flag_spec
=
10530 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10531 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10532 if test "x$supports_anon_versioning" = xyes
; then
10533 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10534 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10535 echo "local: *; };" >> $output_objdir/$libname.ver~
10536 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10546 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10547 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10550 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10551 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10556 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10560 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10561 *** create shared libraries on Solaris systems. Therefore, libtool
10562 *** is disabling shared libraries support. We urge you to upgrade GNU
10563 *** binutils to release 2.9.1 or newer. Another option is to modify
10564 *** your PATH or compiler configuration so that the native linker is
10565 *** used, and then restart.
10568 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10569 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10570 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10576 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10577 case `$LD -v 2>&1` in
10578 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10582 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10583 *** reliably create shared libraries on SCO systems. Therefore, libtool
10584 *** is disabling shared libraries support. We urge you to upgrade GNU
10585 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10586 *** your PATH or compiler configuration so that the native linker is
10587 *** used, and then restart.
10592 # For security reasons, it is highly recommended that you always
10593 # use absolute paths for naming shared libraries, and exclude the
10594 # DT_RUNPATH tag from executables and libraries. But doing so
10595 # requires that you compile everything twice, which is a pain.
10596 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10598 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10599 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10608 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10610 hardcode_direct
=yes
10611 hardcode_shlibpath_var
=no
10615 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10616 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10617 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10624 if test "$ld_shlibs" = no
; then
10626 hardcode_libdir_flag_spec
=
10627 export_dynamic_flag_spec
=
10628 whole_archive_flag_spec
=
10631 # PORTME fill in a description of your system's linker (not GNU ld)
10634 allow_undefined_flag
=unsupported
10635 always_export_symbols
=yes
10636 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'
10637 # Note: this linker hardcodes the directories in LIBPATH if there
10638 # are no directories specified by -L.
10639 hardcode_minus_L
=yes
10640 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10641 # Neither direct hardcoding nor static linking is supported with a
10643 hardcode_direct
=unsupported
10648 if test "$host_cpu" = ia64
; then
10649 # On IA64, the linker does run time linking by default, so we don't
10650 # have to do anything special.
10651 aix_use_runtimelinking
=no
10652 exp_sym_flag
='-Bexport'
10655 # If we're using GNU nm, then we don't want the "-C" option.
10656 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10657 # Also, AIX nm treats weak defined symbols like other global
10658 # defined symbols, whereas GNU nm marks them as "W".
10659 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10660 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'
10662 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'
10664 aix_use_runtimelinking
=no
10666 # Test if we are trying to use run time linking or normal
10667 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10668 # need to do runtime linking.
10669 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10670 for ld_flag
in $LDFLAGS; do
10671 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10672 aix_use_runtimelinking
=yes
10679 exp_sym_flag
='-bexport'
10680 no_entry_flag
='-bnoentry'
10683 # When large executables or shared objects are built, AIX ld can
10684 # have problems creating the table of contents. If linking a library
10685 # or program results in "error TOC overflow" add -mminimal-toc to
10686 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10687 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10690 hardcode_direct
=yes
10691 hardcode_direct_absolute
=yes
10692 hardcode_libdir_separator
=':'
10693 link_all_deplibs
=yes
10694 file_list_spec
='${wl}-f,'
10696 if test "$GCC" = yes; then
10697 case $host_os in aix4.
[012]|aix4.
[012].
*)
10698 # We only want to do this on AIX 4.2 and lower, the check
10699 # below for broken collect2 doesn't work under 4.3+
10700 collect2name
=`${CC} -print-prog-name=collect2`
10701 if test -f "$collect2name" &&
10702 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10704 # We have reworked collect2
10707 # We have old collect2
10708 hardcode_direct
=unsupported
10709 # It fails to find uninstalled libraries when the uninstalled
10710 # path is not listed in the libpath. Setting hardcode_minus_L
10711 # to unsupported forces relinking
10712 hardcode_minus_L
=yes
10713 hardcode_libdir_flag_spec
='-L$libdir'
10714 hardcode_libdir_separator
=
10718 shared_flag
='-shared'
10719 if test "$aix_use_runtimelinking" = yes; then
10720 shared_flag
="$shared_flag "'${wl}-G'
10724 if test "$host_cpu" = ia64
; then
10725 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10726 # chokes on -Wl,-G. The following line is correct:
10729 if test "$aix_use_runtimelinking" = yes; then
10730 shared_flag
='${wl}-G'
10732 shared_flag
='${wl}-bM:SRE'
10737 export_dynamic_flag_spec
='${wl}-bexpall'
10738 # It seems that -bexpall does not export symbols beginning with
10739 # underscore (_), so it is better to generate a list of symbols to export.
10740 always_export_symbols
=yes
10741 if test "$aix_use_runtimelinking" = yes; then
10742 # Warning - without using the other runtime loading flags (-brtl),
10743 # -berok will link without error, but may produce a broken library.
10744 allow_undefined_flag
='-berok'
10745 # Determine the default libpath from the value encoded in an
10746 # empty executable.
10747 if test x
$gcc_no_link = xyes
; then
10748 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10761 if ac_fn_c_try_link
"$LINENO"; then :
10763 lt_aix_libpath_sed
='
10764 /Import File Strings/,/^$/ {
10770 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10771 # Check for a 64-bit object if we didn't find anything.
10772 if test -z "$aix_libpath"; then
10773 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10776 rm -f core conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10780 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10781 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"
10783 if test "$host_cpu" = ia64
; then
10784 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10785 allow_undefined_flag
="-z nodefs"
10786 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"
10788 # Determine the default libpath from the value encoded in an
10789 # empty executable.
10790 if test x
$gcc_no_link = xyes
; then
10791 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10804 if ac_fn_c_try_link
"$LINENO"; then :
10806 lt_aix_libpath_sed
='
10807 /Import File Strings/,/^$/ {
10813 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10814 # Check for a 64-bit object if we didn't find anything.
10815 if test -z "$aix_libpath"; then
10816 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10819 rm -f core conftest.err conftest.
$ac_objext \
10820 conftest
$ac_exeext conftest.
$ac_ext
10821 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10823 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10824 # Warning - without using the other run time loading flags,
10825 # -berok will link without error, but may produce a broken library.
10826 no_undefined_flag
=' ${wl}-bernotok'
10827 allow_undefined_flag
=' ${wl}-berok'
10828 if test "$with_gnu_ld" = yes; then
10829 # We only use this code for GNU lds that support --whole-archive.
10830 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10832 # Exported symbols can be pulled into shared objects from archives
10833 whole_archive_flag_spec
='$convenience'
10835 archive_cmds_need_lc
=yes
10836 # This is similar to how AIX traditionally builds its shared libraries.
10837 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'
10845 # see comment about AmigaOS4 .so support
10846 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10847 archive_expsym_cmds
=''
10850 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)'
10851 hardcode_libdir_flag_spec
='-L$libdir'
10852 hardcode_minus_L
=yes
10858 export_dynamic_flag_spec
=-rdynamic
10861 cygwin
* | mingw
* | pw32
* | cegcc
*)
10862 # When not using gcc, we currently assume that we are using
10863 # Microsoft Visual C++.
10864 # hardcode_libdir_flag_spec is actually meaningless, as there is
10865 # no search path for DLLs.
10866 hardcode_libdir_flag_spec
=' '
10867 allow_undefined_flag
=unsupported
10868 # Tell ltmain to make .lib files, not .a files.
10870 # Tell ltmain to make .dll files, not .so files.
10872 # FIXME: Setting linknames here is a bad hack.
10873 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10874 # The linker will automatically build a .lib file if we build a DLL.
10875 old_archive_from_new_cmds
='true'
10876 # FIXME: Should let the user specify the lib program.
10877 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10878 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10879 enable_shared_with_static_runtimes
=yes
10882 darwin
* | rhapsody
*)
10885 archive_cmds_need_lc
=no
10887 hardcode_automatic
=yes
10888 hardcode_shlibpath_var
=unsupported
10889 if test "$lt_cv_ld_force_load" = "yes"; then
10890 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\"`'
10892 whole_archive_flag_spec
=''
10894 link_all_deplibs
=yes
10895 allow_undefined_flag
="$_lt_dar_allow_undefined"
10896 case $cc_basename in
10897 ifort
*) _lt_dar_can_shared
=yes ;;
10898 *) _lt_dar_can_shared
=$GCC ;;
10900 if test "$_lt_dar_can_shared" = "yes"; then
10901 output_verbose_link_cmd
=func_echo_all
10902 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10903 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10904 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}"
10905 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}"
10914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10915 hardcode_libdir_flag_spec
='-L$libdir'
10916 hardcode_shlibpath_var
=no
10919 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10920 # support. Future versions do this automatically, but an explicit c++rt0.o
10921 # does not break anything, and helps significantly (at the cost of a little
10924 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10925 hardcode_libdir_flag_spec
='-R$libdir'
10926 hardcode_direct
=yes
10927 hardcode_shlibpath_var
=no
10930 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10932 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10933 hardcode_direct
=yes
10934 hardcode_minus_L
=yes
10935 hardcode_shlibpath_var
=no
10938 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10939 freebsd
* | dragonfly
*)
10940 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10941 hardcode_libdir_flag_spec
='-R$libdir'
10942 hardcode_direct
=yes
10943 hardcode_shlibpath_var
=no
10947 if test "$GCC" = yes; then
10948 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'
10950 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'
10952 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10953 hardcode_libdir_separator
=:
10954 hardcode_direct
=yes
10956 # hardcode_minus_L: Not really in the search PATH,
10957 # but as the default location of the library.
10958 hardcode_minus_L
=yes
10959 export_dynamic_flag_spec
='${wl}-E'
10963 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10964 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10966 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10968 if test "$with_gnu_ld" = no
; then
10969 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10970 hardcode_libdir_flag_spec_ld
='+b $libdir'
10971 hardcode_libdir_separator
=:
10972 hardcode_direct
=yes
10973 hardcode_direct_absolute
=yes
10974 export_dynamic_flag_spec
='${wl}-E'
10975 # hardcode_minus_L: Not really in the search PATH,
10976 # but as the default location of the library.
10977 hardcode_minus_L
=yes
10982 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10985 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10988 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10991 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10997 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11000 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11004 # Older versions of the 11.00 compiler do not understand -b yet
11005 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11007 $as_echo_n "checking if $CC understands -b... " >&6; }
11008 if ${lt_cv_prog_compiler__b+:} false
; then :
11009 $as_echo_n "(cached) " >&6
11011 lt_cv_prog_compiler__b
=no
11012 save_LDFLAGS
="$LDFLAGS"
11013 LDFLAGS
="$LDFLAGS -b"
11014 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11015 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11016 # The linker can only warn and ignore the option if not recognized
11017 # So say no if there are warnings
11018 if test -s conftest.err
; then
11019 # Append any errors to the config.log.
11020 cat conftest.err
1>&5
11021 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11022 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11023 if diff conftest.exp conftest.er2
>/dev
/null
; then
11024 lt_cv_prog_compiler__b
=yes
11027 lt_cv_prog_compiler__b
=yes
11031 LDFLAGS
="$save_LDFLAGS"
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11035 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11037 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11038 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11040 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11046 if test "$with_gnu_ld" = no
; then
11047 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11048 hardcode_libdir_separator
=:
11053 hardcode_shlibpath_var
=no
11056 hardcode_direct
=yes
11057 hardcode_direct_absolute
=yes
11058 export_dynamic_flag_spec
='${wl}-E'
11060 # hardcode_minus_L: Not really in the search PATH,
11061 # but as the default location of the library.
11062 hardcode_minus_L
=yes
11068 irix5
* | irix6
* | nonstopux
*)
11069 if test "$GCC" = yes; then
11070 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'
11071 # Try to use the -exported_symbol ld option, if it does not
11072 # work, assume that -exports_file does not work either and
11073 # implicitly export all symbols.
11074 save_LDFLAGS
="$LDFLAGS"
11075 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11076 if test x
$gcc_no_link = xyes
; then
11077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11083 if ac_fn_c_try_link
"$LINENO"; then :
11084 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'
11087 rm -f core conftest.err conftest.
$ac_objext \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 LDFLAGS
="$save_LDFLAGS"
11091 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'
11092 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'
11094 archive_cmds_need_lc
='no'
11095 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11096 hardcode_libdir_separator
=:
11098 link_all_deplibs
=yes
11102 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11103 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11105 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11107 hardcode_libdir_flag_spec
='-R$libdir'
11108 hardcode_direct
=yes
11109 hardcode_shlibpath_var
=no
11113 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_direct
=yes
11115 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11116 hardcode_libdir_separator
=:
11117 hardcode_shlibpath_var
=no
11124 if test -f /usr
/libexec
/ld.so
; then
11125 hardcode_direct
=yes
11126 hardcode_shlibpath_var
=no
11127 hardcode_direct_absolute
=yes
11128 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11129 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11131 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11132 export_dynamic_flag_spec
='${wl}-E'
11135 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11136 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11137 hardcode_libdir_flag_spec
='-R$libdir'
11140 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11141 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11151 hardcode_libdir_flag_spec
='-L$libdir'
11152 hardcode_minus_L
=yes
11153 allow_undefined_flag
=unsupported
11154 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'
11155 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11159 if test "$GCC" = yes; then
11160 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11161 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'
11163 allow_undefined_flag
=' -expect_unresolved \*'
11164 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'
11166 archive_cmds_need_lc
='no'
11167 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11168 hardcode_libdir_separator
=:
11171 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11172 if test "$GCC" = yes; then
11173 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11174 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'
11175 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11177 allow_undefined_flag
=' -expect_unresolved \*'
11178 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'
11179 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~
11180 $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'
11182 # Both c and cxx compiler support -rpath directly
11183 hardcode_libdir_flag_spec
='-rpath $libdir'
11185 archive_cmds_need_lc
='no'
11186 hardcode_libdir_separator
=:
11190 no_undefined_flag
=' -z defs'
11191 if test "$GCC" = yes; then
11193 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11194 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11195 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11197 case `$CC -V 2>&1` in
11200 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11201 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11202 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11206 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11207 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11208 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11212 hardcode_libdir_flag_spec
='-R$libdir'
11213 hardcode_shlibpath_var
=no
11215 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11217 # The compiler driver will combine and reorder linker options,
11218 # but understands `-z linker_flag'. GCC discards it without `$wl',
11219 # but is careful enough not to reorder.
11220 # Supported since Solaris 2.6 (maybe 2.5.1?)
11221 if test "$GCC" = yes; then
11222 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11224 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11228 link_all_deplibs
=yes
11232 if test "x$host_vendor" = xsequent
; then
11233 # Use $CC to link under sequent, because it throws in some extra .o
11234 # files that make .init and .fini sections work.
11235 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11237 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11239 hardcode_libdir_flag_spec
='-L$libdir'
11240 hardcode_direct
=yes
11241 hardcode_minus_L
=yes
11242 hardcode_shlibpath_var
=no
11246 case $host_vendor in
11248 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11249 hardcode_direct
=yes # is this really true???
11252 ## LD is ld it makes a PLAMLIB
11253 ## CC just makes a GrossModule.
11254 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11255 reload_cmds
='$CC -r -o $output$reload_objs'
11259 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11260 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11263 runpath_var
='LD_RUN_PATH'
11264 hardcode_shlibpath_var
=no
11268 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11269 hardcode_shlibpath_var
=no
11270 export_dynamic_flag_spec
='-Bexport'
11274 if test -d /usr
/nec
; then
11275 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11276 hardcode_shlibpath_var
=no
11277 runpath_var
=LD_RUN_PATH
11278 hardcode_runpath_var
=yes
11283 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11284 no_undefined_flag
='${wl}-z,text'
11285 archive_cmds_need_lc
=no
11286 hardcode_shlibpath_var
=no
11287 runpath_var
='LD_RUN_PATH'
11289 if test "$GCC" = yes; then
11290 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11291 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11293 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11294 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11298 sysv5
* | sco3.2v5
* | sco5v6
*)
11299 # Note: We can NOT use -z defs as we might desire, because we do not
11300 # link with -lc, and that would cause any symbols used from libc to
11301 # always be unresolved, which means just about no library would
11302 # ever link correctly. If we're not using GNU ld we use -z text
11303 # though, which does catch some bad symbols but isn't as heavy-handed
11305 no_undefined_flag
='${wl}-z,text'
11306 allow_undefined_flag
='${wl}-z,nodefs'
11307 archive_cmds_need_lc
=no
11308 hardcode_shlibpath_var
=no
11309 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11310 hardcode_libdir_separator
=':'
11311 link_all_deplibs
=yes
11312 export_dynamic_flag_spec
='${wl}-Bexport'
11313 runpath_var
='LD_RUN_PATH'
11315 if test "$GCC" = yes; then
11316 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11317 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11319 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11320 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11325 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11326 hardcode_libdir_flag_spec
='-L$libdir'
11327 hardcode_shlibpath_var
=no
11335 if test x
$host_vendor = xsni
; then
11337 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11338 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11345 $as_echo "$ld_shlibs" >&6; }
11346 test "$ld_shlibs" = no
&& can_build_shared
=no
11348 with_gnu_ld
=$with_gnu_ld
11365 # Do we need to explicitly link libc?
11367 case "x$archive_cmds_need_lc" in
11369 # Assume -lc should be added
11370 archive_cmds_need_lc
=yes
11372 if test "$enable_shared" = yes && test "$GCC" = yes; then
11373 case $archive_cmds in
11375 # FIXME: we may have to deal with multi-command sequences.
11378 # Test whether the compiler implicitly links with -lc since on some
11379 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11380 # to ld, don't add -lc before -lgcc.
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11382 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11383 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11384 $as_echo_n "(cached) " >&6
11387 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11390 (eval $ac_compile) 2>&5
11392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11393 test $ac_status = 0; } 2>conftest.err
; then
11396 libobjs
=conftest.
$ac_objext
11398 wl
=$lt_prog_compiler_wl
11399 pic_flag
=$lt_prog_compiler_pic
11405 lt_save_allow_undefined_flag
=$allow_undefined_flag
11406 allow_undefined_flag
=
11407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11408 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11411 test $ac_status = 0; }
11413 lt_cv_archive_cmds_need_lc
=no
11415 lt_cv_archive_cmds_need_lc
=yes
11417 allow_undefined_flag
=$lt_save_allow_undefined_flag
11419 cat conftest.err
1>&5
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11425 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11426 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11590 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11592 if test "$GCC" = yes; then
11594 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11595 *) lt_awk_arg
="/^libraries:/" ;;
11598 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11599 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11601 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11602 case $lt_search_path_spec in
11604 # if the path contains ";" then we assume it to be the separator
11605 # otherwise default to the standard path separator (i.e. ":") - it is
11606 # assumed that no part of a normal pathname contains ";" but that should
11607 # okay in the real world where ";" in dirpaths is itself problematic.
11608 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11611 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11614 # Ok, now we have the path, separated by spaces, we can step through it
11615 # and add multilib dir if necessary.
11616 lt_tmp_lt_search_path_spec
=
11617 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11618 for lt_sys_path
in $lt_search_path_spec; do
11619 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11620 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11622 test -d "$lt_sys_path" && \
11623 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11626 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11627 BEGIN {RS=" "; FS="/|\n";} {
11630 for (lt_i = NF; lt_i > 0; lt_i--) {
11631 if ($lt_i != "" && $lt_i != ".") {
11632 if ($lt_i == "..") {
11635 if (lt_count == 0) {
11636 lt_foo="/" $lt_i lt_foo;
11643 if (lt_foo != "") { lt_freq[lt_foo]++; }
11644 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11646 # AWK program above erroneously prepends '/' to C:/dos/paths
11649 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11650 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11652 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11654 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11656 library_names_spec
=
11657 libname_spec
='lib$name'
11661 postuninstall_cmds
=
11665 shlibpath_overrides_runpath
=unknown
11667 dynamic_linker
="$host_os ld.so"
11668 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11669 need_lib_prefix
=unknown
11670 hardcode_into_libs
=no
11672 # when you set need_version to no, make sure it does not cause -set_version
11673 # flags to be left without arguments
11674 need_version
=unknown
11679 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11680 shlibpath_var
=LIBPATH
11682 # AIX 3 has no versioning support, so we append a major version to the name.
11683 soname_spec
='${libname}${release}${shared_ext}$major'
11690 hardcode_into_libs
=yes
11691 if test "$host_cpu" = ia64
; then
11692 # AIX 5 supports IA64
11693 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11694 shlibpath_var
=LD_LIBRARY_PATH
11696 # With GCC up to 2.95.x, collect2 would create an import file
11697 # for dependence libraries. The import file would start with
11698 # the line `#! .'. This would cause the generated library to
11699 # depend on `.', always an invalid library. This was fixed in
11700 # development snapshots of GCC prior to 3.0.
11702 aix4 | aix4.
[01] | aix4.
[01].
*)
11703 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11705 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11708 can_build_shared
=no
11712 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11713 # soname into executable. Probably we can add versioning support to
11714 # collect2, so additional links can be useful in future.
11715 if test "$aix_use_runtimelinking" = yes; then
11716 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11717 # instead of lib<name>.a to let people know that these are not
11718 # typical AIX shared libraries.
11719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11721 # We preserve .a as extension for shared libraries through AIX4.2
11722 # and later when we are not doing run time linking.
11723 library_names_spec
='${libname}${release}.a $libname.a'
11724 soname_spec
='${libname}${release}${shared_ext}$major'
11726 shlibpath_var
=LIBPATH
11733 # Since July 2007 AmigaOS4 officially supports .so libraries.
11734 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11738 library_names_spec
='$libname.ixlibrary $libname.a'
11739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11740 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'
11746 library_names_spec
='${libname}${shared_ext}'
11747 dynamic_linker
="$host_os ld.so"
11748 shlibpath_var
=LIBRARY_PATH
11754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11755 soname_spec
='${libname}${release}${shared_ext}$major'
11756 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11757 shlibpath_var
=LD_LIBRARY_PATH
11758 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11759 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11760 # the default ld.so.conf also contains /usr/contrib/lib and
11761 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11762 # libtool to hard-code these into programs
11765 cygwin
* | mingw
* | pw32
* | cegcc
*)
11766 version_type
=windows
11771 case $GCC,$host_os in
11772 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11773 library_names_spec
='$libname.dll.a'
11774 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11775 postinstall_cmds
='base_file=`basename \${file}`~
11776 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11777 dldir=$destdir/`dirname \$dlpath`~
11778 test -d \$dldir || mkdir -p \$dldir~
11779 $install_prog $dir/$dlname \$dldir/$dlname~
11780 chmod a+x \$dldir/$dlname~
11781 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11782 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11784 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11785 dlpath=$dir/\$dldll~
11787 shlibpath_overrides_runpath
=yes
11791 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11792 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11794 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11797 # MinGW DLLs use traditional 'lib' prefix
11798 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11801 # pw32 DLLs use 'pw' prefix rather than 'lib'
11802 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11808 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11811 dynamic_linker
='Win32 ld.exe'
11812 # FIXME: first we should search . and the directory the executable is in
11816 darwin
* | rhapsody
*)
11817 dynamic_linker
="$host_os dyld"
11818 version_type
=darwin
11821 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11822 soname_spec
='${libname}${release}${major}$shared_ext'
11823 shlibpath_overrides_runpath
=yes
11824 shlibpath_var
=DYLD_LIBRARY_PATH
11825 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11827 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11828 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11836 soname_spec
='${libname}${release}${shared_ext}$major'
11837 shlibpath_var
=LD_LIBRARY_PATH
11840 freebsd
* | dragonfly
*)
11841 # DragonFly does not have aout. When/if they implement a new
11842 # versioning mechanism, adjust this.
11843 if test -x /usr
/bin
/objformat
; then
11844 objformat
=`/usr/bin/objformat`
11847 freebsd
[23].
*) objformat
=aout
;;
11848 *) objformat
=elf
;;
11851 version_type
=freebsd-
$objformat
11852 case $version_type in
11854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11859 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11863 shlibpath_var
=LD_LIBRARY_PATH
11866 shlibpath_overrides_runpath
=yes
11868 freebsd3.
[01]* | freebsdelf3.
[01]*)
11869 shlibpath_overrides_runpath
=yes
11870 hardcode_into_libs
=yes
11872 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11873 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11874 shlibpath_overrides_runpath
=no
11875 hardcode_into_libs
=yes
11877 *) # from 4.6 on, and DragonFly
11878 shlibpath_overrides_runpath
=yes
11879 hardcode_into_libs
=yes
11888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11889 soname_spec
='${libname}${release}${shared_ext}$major'
11890 shlibpath_var
=LD_LIBRARY_PATH
11891 hardcode_into_libs
=yes
11898 dynamic_linker
="$host_os runtime_loader"
11899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11900 soname_spec
='${libname}${release}${shared_ext}$major'
11901 shlibpath_var
=LIBRARY_PATH
11902 shlibpath_overrides_runpath
=yes
11903 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11904 hardcode_into_libs
=yes
11907 hpux9
* | hpux10
* | hpux11
*)
11908 # Give a soname corresponding to the major version so that dld.sl refuses to
11909 # link against other versions.
11916 hardcode_into_libs
=yes
11917 dynamic_linker
="$host_os dld.so"
11918 shlibpath_var
=LD_LIBRARY_PATH
11919 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11921 soname_spec
='${libname}${release}${shared_ext}$major'
11922 if test "X$HPUX_IA64_MODE" = X32
; then
11923 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11925 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11927 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11931 hardcode_into_libs
=yes
11932 dynamic_linker
="$host_os dld.sl"
11933 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11934 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11936 soname_spec
='${libname}${release}${shared_ext}$major'
11937 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11938 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11942 dynamic_linker
="$host_os dld.sl"
11943 shlibpath_var
=SHLIB_PATH
11944 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11946 soname_spec
='${libname}${release}${shared_ext}$major'
11949 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11950 postinstall_cmds
='chmod 555 $lib'
11951 # or fails outright, so override atomically:
11952 install_override_mode
=555
11959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11960 soname_spec
='${libname}${release}${shared_ext}$major'
11961 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11962 shlibpath_var
=LD_LIBRARY_PATH
11963 shlibpath_overrides_runpath
=no
11964 hardcode_into_libs
=yes
11967 irix5
* | irix6
* | nonstopux
*)
11969 nonstopux
*) version_type
=nonstopux
;;
11971 if test "$lt_cv_prog_gnu_ld" = yes; then
11979 soname_spec
='${libname}${release}${shared_ext}$major'
11980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11982 irix5
* | nonstopux
*)
11983 libsuff
= shlibsuff
=
11986 case $LD in # libtool.m4 will add one of these switches to LD
11987 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11988 libsuff
= shlibsuff
= libmagic
=32-bit;;
11989 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11990 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11991 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11992 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11993 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11997 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11998 shlibpath_overrides_runpath
=no
11999 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12000 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12001 hardcode_into_libs
=yes
12004 # No shared lib support for Linux oldld, aout, or coff.
12005 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12009 # This must be Linux ELF.
12011 # uclinux* changes (here and below) have been submitted to the libtool
12012 # project, but have not yet been accepted: they are GCC-local changes
12013 # for the time being. (See
12014 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12015 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12020 soname_spec
='${libname}${release}${shared_ext}$major'
12021 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12022 shlibpath_var
=LD_LIBRARY_PATH
12023 shlibpath_overrides_runpath
=no
12025 # Some binutils ld are patched to set DT_RUNPATH
12026 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 lt_cv_shlibpath_overrides_runpath
=no
12030 save_LDFLAGS
=$LDFLAGS
12031 save_libdir
=$libdir
12032 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12033 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12034 if test x
$gcc_no_link = xyes
; then
12035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12048 if ac_fn_c_try_link
"$LINENO"; then :
12049 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12050 lt_cv_shlibpath_overrides_runpath
=yes
12053 rm -f core conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12055 LDFLAGS
=$save_LDFLAGS
12056 libdir
=$save_libdir
12060 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12062 # This implies no fast_install, which is unacceptable.
12063 # Some rework will be needed to allow for fast_install
12064 # before this can be enabled.
12065 hardcode_into_libs
=yes
12067 # Append ld.so.conf contents to the search path
12068 if test -f /etc
/ld.so.conf
; then
12069 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' ' '`
12070 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12073 # We used to test for /lib/ld.so.1 and disable shared libraries on
12074 # powerpc, because MkLinux only supported shared libraries with the
12075 # GNU dynamic linker. Since this was broken with cross compilers,
12076 # most powerpc-linux boxes support dynamic linking these days and
12077 # people can always --disable-shared, the test was removed, and we
12078 # assume the GNU/Linux dynamic linker is in use.
12079 dynamic_linker
='GNU/Linux ld.so'
12086 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12089 dynamic_linker
='NetBSD (a.out) ld.so'
12091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12092 soname_spec
='${libname}${release}${shared_ext}$major'
12093 dynamic_linker
='NetBSD ld.elf_so'
12095 shlibpath_var
=LD_LIBRARY_PATH
12096 shlibpath_overrides_runpath
=yes
12097 hardcode_into_libs
=yes
12102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 shlibpath_overrides_runpath
=yes
12111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12112 soname_spec
='${libname}${release}${shared_ext}$major'
12113 shlibpath_var
=LD_LIBRARY_PATH
12114 shlibpath_overrides_runpath
=no
12115 hardcode_into_libs
=yes
12116 dynamic_linker
='ldqnx.so'
12121 sys_lib_dlsearch_path_spec
="/usr/lib"
12123 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12125 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12126 *) need_version
=no
;;
12128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12130 shlibpath_var
=LD_LIBRARY_PATH
12131 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12133 openbsd2.
[89] | openbsd2.
[89].
*)
12134 shlibpath_overrides_runpath
=no
12137 shlibpath_overrides_runpath
=yes
12141 shlibpath_overrides_runpath
=yes
12146 libname_spec
='$name'
12149 library_names_spec
='$libname${shared_ext} $libname.a'
12150 dynamic_linker
='OS/2 ld.exe'
12151 shlibpath_var
=LIBPATH
12154 osf3
* | osf4
* | osf5
*)
12158 soname_spec
='${libname}${release}${shared_ext}$major'
12159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12160 shlibpath_var
=LD_LIBRARY_PATH
12161 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12162 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12174 soname_spec
='${libname}${release}${shared_ext}$major'
12175 shlibpath_var
=LD_LIBRARY_PATH
12176 shlibpath_overrides_runpath
=yes
12177 hardcode_into_libs
=yes
12178 # ldd complains unless libraries are executable
12179 postinstall_cmds
='chmod +x $lib'
12184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12185 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12186 shlibpath_var
=LD_LIBRARY_PATH
12187 shlibpath_overrides_runpath
=yes
12188 if test "$with_gnu_ld" = yes; then
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12198 shlibpath_var
=LD_LIBRARY_PATH
12199 case $host_vendor in
12201 shlibpath_overrides_runpath
=no
12203 runpath_var
=LD_RUN_PATH
12211 shlibpath_overrides_runpath
=no
12212 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12218 if test -d /usr
/nec
;then
12220 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12221 soname_spec
='$libname${shared_ext}.$major'
12222 shlibpath_var
=LD_LIBRARY_PATH
12226 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12227 version_type
=freebsd-elf
12230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12231 soname_spec
='${libname}${release}${shared_ext}$major'
12232 shlibpath_var
=LD_LIBRARY_PATH
12233 shlibpath_overrides_runpath
=yes
12234 hardcode_into_libs
=yes
12235 if test "$with_gnu_ld" = yes; then
12236 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12238 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12241 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12245 sys_lib_dlsearch_path_spec
='/usr/lib'
12249 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12254 shlibpath_var
=LD_LIBRARY_PATH
12255 shlibpath_overrides_runpath
=no
12256 hardcode_into_libs
=yes
12261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12262 soname_spec
='${libname}${release}${shared_ext}$major'
12263 shlibpath_var
=LD_LIBRARY_PATH
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12271 $as_echo "$dynamic_linker" >&6; }
12272 test "$dynamic_linker" = no
&& can_build_shared
=no
12274 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12275 if test "$GCC" = yes; then
12276 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12279 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12280 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12282 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12283 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12378 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12380 if test -n "$hardcode_libdir_flag_spec" ||
12381 test -n "$runpath_var" ||
12382 test "X$hardcode_automatic" = "Xyes" ; then
12384 # We can hardcode non-existent directories.
12385 if test "$hardcode_direct" != no
&&
12386 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12387 # have to relink, otherwise we might link with an installed library
12388 # when we should be linking with a yet-to-be-installed one
12389 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12390 test "$hardcode_minus_L" != no
; then
12391 # Linking always hardcodes the temporary library directory.
12392 hardcode_action
=relink
12394 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12395 hardcode_action
=immediate
12398 # We cannot hardcode anything, or else we can only hardcode existing
12400 hardcode_action
=unsupported
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12403 $as_echo "$hardcode_action" >&6; }
12405 if test "$hardcode_action" = relink ||
12406 test "$inherit_rpath" = yes; then
12407 # Fast installation is not supported
12408 enable_fast_install
=no
12409 elif test "$shlibpath_overrides_runpath" = yes ||
12410 test "$enable_shared" = no
; then
12411 # Fast installation is not necessary
12412 enable_fast_install
=needless
12420 if test "x$enable_dlopen" != xyes
; then
12421 enable_dlopen
=unknown
12422 enable_dlopen_self
=unknown
12423 enable_dlopen_self_static
=unknown
12430 lt_cv_dlopen
="load_add_on"
12432 lt_cv_dlopen_self
=yes
12435 mingw
* | pw32
* | cegcc
*)
12436 lt_cv_dlopen
="LoadLibrary"
12441 lt_cv_dlopen
="dlopen"
12446 # if libdl is installed we need to link against it
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12448 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12449 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12450 $as_echo_n "(cached) " >&6
12452 ac_check_lib_save_LIBS
=$LIBS
12454 if test x
$gcc_no_link = xyes
; then
12455 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12475 if ac_fn_c_try_link
"$LINENO"; then :
12476 ac_cv_lib_dl_dlopen
=yes
12478 ac_cv_lib_dl_dlopen
=no
12480 rm -f core conftest.err conftest.
$ac_objext \
12481 conftest
$ac_exeext conftest.
$ac_ext
12482 LIBS
=$ac_check_lib_save_LIBS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12485 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12486 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12487 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12490 lt_cv_dlopen
="dyld"
12492 lt_cv_dlopen_self
=yes
12499 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12500 if test "x$ac_cv_func_shl_load" = xyes
; then :
12501 lt_cv_dlopen
="shl_load"
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12504 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12505 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12506 $as_echo_n "(cached) " >&6
12508 ac_check_lib_save_LIBS
=$LIBS
12510 if test x
$gcc_no_link = xyes
; then
12511 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12526 return shl_load ();
12531 if ac_fn_c_try_link
"$LINENO"; then :
12532 ac_cv_lib_dld_shl_load
=yes
12534 ac_cv_lib_dld_shl_load
=no
12536 rm -f core conftest.err conftest.
$ac_objext \
12537 conftest
$ac_exeext conftest.
$ac_ext
12538 LIBS
=$ac_check_lib_save_LIBS
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12541 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12542 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12543 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12545 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12546 if test "x$ac_cv_func_dlopen" = xyes
; then :
12547 lt_cv_dlopen
="dlopen"
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12550 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12551 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12552 $as_echo_n "(cached) " >&6
12554 ac_check_lib_save_LIBS
=$LIBS
12556 if test x
$gcc_no_link = xyes
; then
12557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12577 if ac_fn_c_try_link
"$LINENO"; then :
12578 ac_cv_lib_dl_dlopen
=yes
12580 ac_cv_lib_dl_dlopen
=no
12582 rm -f core conftest.err conftest.
$ac_objext \
12583 conftest
$ac_exeext conftest.
$ac_ext
12584 LIBS
=$ac_check_lib_save_LIBS
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12587 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12588 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12589 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12592 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12593 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 ac_check_lib_save_LIBS
=$LIBS
12597 LIBS
="-lsvld $LIBS"
12598 if test x
$gcc_no_link = xyes
; then
12599 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12619 if ac_fn_c_try_link
"$LINENO"; then :
12620 ac_cv_lib_svld_dlopen
=yes
12622 ac_cv_lib_svld_dlopen
=no
12624 rm -f core conftest.err conftest.
$ac_objext \
12625 conftest
$ac_exeext conftest.
$ac_ext
12626 LIBS
=$ac_check_lib_save_LIBS
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12629 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12630 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12631 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12634 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12635 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12636 $as_echo_n "(cached) " >&6
12638 ac_check_lib_save_LIBS
=$LIBS
12640 if test x
$gcc_no_link = xyes
; then
12641 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12656 return dld_link ();
12661 if ac_fn_c_try_link
"$LINENO"; then :
12662 ac_cv_lib_dld_dld_link
=yes
12664 ac_cv_lib_dld_dld_link
=no
12666 rm -f core conftest.err conftest.
$ac_objext \
12667 conftest
$ac_exeext conftest.
$ac_ext
12668 LIBS
=$ac_check_lib_save_LIBS
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12671 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12672 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12673 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12694 if test "x$lt_cv_dlopen" != xno
; then
12700 case $lt_cv_dlopen in
12702 save_CPPFLAGS
="$CPPFLAGS"
12703 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12705 save_LDFLAGS
="$LDFLAGS"
12706 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12709 LIBS
="$lt_cv_dlopen_libs $LIBS"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12712 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12713 if ${lt_cv_dlopen_self+:} false
; then :
12714 $as_echo_n "(cached) " >&6
12716 if test "$cross_compiling" = yes; then :
12717 lt_cv_dlopen_self
=cross
12719 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12720 lt_status
=$lt_dlunknown
12721 cat > conftest.
$ac_ext <<_LT_EOF
12722 #line 12722 "configure"
12723 #include "confdefs.h"
12732 # define LT_DLGLOBAL RTLD_GLOBAL
12735 # define LT_DLGLOBAL DL_GLOBAL
12737 # define LT_DLGLOBAL 0
12741 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12742 find out it does not work in some platform. */
12743 #ifndef LT_DLLAZY_OR_NOW
12745 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12748 # define LT_DLLAZY_OR_NOW DL_LAZY
12751 # define LT_DLLAZY_OR_NOW RTLD_NOW
12754 # define LT_DLLAZY_OR_NOW DL_NOW
12756 # define LT_DLLAZY_OR_NOW 0
12763 /* When -fvisbility=hidden is used, assume the code has been annotated
12764 correspondingly for the symbols needed. */
12765 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12766 void fnord () __attribute__((visibility("default")));
12769 void fnord () { int i=42; }
12772 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12773 int status = $lt_dlunknown;
12777 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12780 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12781 else puts (dlerror ());
12783 /* dlclose (self); */
12791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12792 (eval $ac_link) 2>&5
12794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12795 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12796 (.
/conftest
; exit; ) >&5 2>/dev
/null
12798 case x
$lt_status in
12799 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12800 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12801 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12804 # compilation failed
12805 lt_cv_dlopen_self
=no
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12813 $as_echo "$lt_cv_dlopen_self" >&6; }
12815 if test "x$lt_cv_dlopen_self" = xyes
; then
12816 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12818 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12819 if ${lt_cv_dlopen_self_static+:} false
; then :
12820 $as_echo_n "(cached) " >&6
12822 if test "$cross_compiling" = yes; then :
12823 lt_cv_dlopen_self_static
=cross
12825 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12826 lt_status
=$lt_dlunknown
12827 cat > conftest.
$ac_ext <<_LT_EOF
12828 #line 12828 "configure"
12829 #include "confdefs.h"
12838 # define LT_DLGLOBAL RTLD_GLOBAL
12841 # define LT_DLGLOBAL DL_GLOBAL
12843 # define LT_DLGLOBAL 0
12847 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12848 find out it does not work in some platform. */
12849 #ifndef LT_DLLAZY_OR_NOW
12851 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12854 # define LT_DLLAZY_OR_NOW DL_LAZY
12857 # define LT_DLLAZY_OR_NOW RTLD_NOW
12860 # define LT_DLLAZY_OR_NOW DL_NOW
12862 # define LT_DLLAZY_OR_NOW 0
12869 /* When -fvisbility=hidden is used, assume the code has been annotated
12870 correspondingly for the symbols needed. */
12871 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12872 void fnord () __attribute__((visibility("default")));
12875 void fnord () { int i=42; }
12878 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12879 int status = $lt_dlunknown;
12883 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12886 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12887 else puts (dlerror ());
12889 /* dlclose (self); */
12897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12898 (eval $ac_link) 2>&5
12900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12901 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12902 (.
/conftest
; exit; ) >&5 2>/dev
/null
12904 case x
$lt_status in
12905 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12906 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12907 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12910 # compilation failed
12911 lt_cv_dlopen_self_static
=no
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12919 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12922 CPPFLAGS
="$save_CPPFLAGS"
12923 LDFLAGS
="$save_LDFLAGS"
12928 case $lt_cv_dlopen_self in
12929 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12930 *) enable_dlopen_self
=unknown
;;
12933 case $lt_cv_dlopen_self_static in
12934 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12935 *) enable_dlopen_self_static
=unknown
;;
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12958 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12959 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12960 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12961 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12963 $as_echo "yes" >&6; }
12965 # FIXME - insert some real tests, host_os isn't really good enough
12968 if test -n "$STRIP" ; then
12969 striplib
="$STRIP -x"
12970 old_striplib
="$STRIP -S"
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12972 $as_echo "yes" >&6; }
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12980 $as_echo "no" >&6; }
12996 # Report which library types will actually be built
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12998 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13000 $as_echo "$can_build_shared" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13003 $as_echo_n "checking whether to build shared libraries... " >&6; }
13004 test "$can_build_shared" = "no" && enable_shared
=no
13006 # On AIX, shared libraries and static libraries use the same namespace, and
13007 # are all built from PIC.
13010 test "$enable_shared" = yes && enable_static
=no
13011 if test -n "$RANLIB"; then
13012 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13013 postinstall_cmds
='$RANLIB $lib'
13018 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13019 test "$enable_shared" = yes && enable_static
=no
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13024 $as_echo "$enable_shared" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13027 $as_echo_n "checking whether to build static libraries... " >&6; }
13028 # Make sure either enable_shared or enable_static is yes.
13029 test "$enable_shared" = yes || enable_static
=yes
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13031 $as_echo "$enable_static" >&6; }
13038 ac_cpp
='$CPP $CPPFLAGS'
13039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13057 ac_config_commands
="$ac_config_commands libtool"
13062 # Only expand once:
13069 *-cygwin* |
*-mingw*)
13070 # 'host' will be top-level target in the case of a target lib,
13071 # we must compare to with_cross_host to decide if this is a native
13072 # or cross-compiler and select where to install dlls appropriately.
13073 if test -n "$with_cross_host" &&
13074 test x
"$with_cross_host" != x
"no"; then
13075 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13077 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13089 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13091 # We need gfortran to compile parts of the library
13092 #AC_PROG_FC(gfortran)
13094 ac_ext
=${ac_fc_srcext-f}
13095 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13096 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13097 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13098 if test -n "$ac_tool_prefix"; then
13099 for ac_prog
in gfortran
13101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13104 $as_echo_n "checking for $ac_word... " >&6; }
13105 if ${ac_cv_prog_FC+:} false
; then :
13106 $as_echo_n "(cached) " >&6
13108 if test -n "$FC"; then
13109 ac_cv_prog_FC
="$FC" # Let the user override the test.
13111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13112 for as_dir
in $PATH
13115 test -z "$as_dir" && as_dir
=.
13116 for ac_exec_ext
in '' $ac_executable_extensions; do
13117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13118 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13129 if test -n "$FC"; then
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13131 $as_echo "$FC" >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13134 $as_echo "no" >&6; }
13138 test -n "$FC" && break
13141 if test -z "$FC"; then
13143 for ac_prog
in gfortran
13145 # Extract the first word of "$ac_prog", so it can be a program name with args.
13146 set dummy
$ac_prog; ac_word
=$2
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13148 $as_echo_n "checking for $ac_word... " >&6; }
13149 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13150 $as_echo_n "(cached) " >&6
13152 if test -n "$ac_ct_FC"; then
13153 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13156 for as_dir
in $PATH
13159 test -z "$as_dir" && as_dir
=.
13160 for ac_exec_ext
in '' $ac_executable_extensions; do
13161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13162 ac_cv_prog_ac_ct_FC
="$ac_prog"
13163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13172 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13173 if test -n "$ac_ct_FC"; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13175 $as_echo "$ac_ct_FC" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13182 test -n "$ac_ct_FC" && break
13185 if test "x$ac_ct_FC" = x
; then
13188 case $cross_compiling:$ac_tool_warned in
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13192 ac_tool_warned
=yes ;;
13199 # Provide some information about the compiler.
13200 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13203 for ac_option
in --version -v -V -qversion; do
13204 { { ac_try
="$ac_compiler $ac_option >&5"
13205 case "(($ac_try" in
13206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13210 $as_echo "$ac_try_echo"; } >&5
13211 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13213 if test -s conftest.err; then
13215 ... rest of stderr output deleted ...
13216 10q' conftest.err >conftest.er1
13217 cat conftest.er1 >&5
13219 rm -f conftest.er1 conftest.err
13220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13221 test $ac_status = 0; }
13225 # If we don't use `.F
' as extension, the preprocessor is not run on the
13226 # input file. (Note that this only needs to work for GNU compilers.)
13227 ac_save_ext=$ac_ext
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13230 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13231 if ${ac_cv_fc_compiler_gnu+:} false; then :
13232 $as_echo_n "(cached) " >&6
13234 cat > conftest.$ac_ext <<_ACEOF
13242 if ac_fn_fc_try_compile "$LINENO"; then :
13243 ac_compiler_gnu=yes
13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13248 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13252 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13253 ac_ext=$ac_save_ext
13254 ac_test_FCFLAGS=${FCFLAGS+set}
13255 ac_save_FCFLAGS=$FCFLAGS
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13258 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13259 if ${ac_cv_prog_fc_g+:} false; then :
13260 $as_echo_n "(cached) " >&6
13263 cat > conftest.$ac_ext <<_ACEOF
13268 if ac_fn_fc_try_compile "$LINENO"; then :
13269 ac_cv_prog_fc_g=yes
13273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13277 $as_echo "$ac_cv_prog_fc_g" >&6; }
13278 if test "$ac_test_FCFLAGS" = set; then
13279 FCFLAGS=$ac_save_FCFLAGS
13280 elif test $ac_cv_prog_fc_g = yes; then
13281 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13287 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13294 if test $ac_compiler_gnu = yes; then
13300 ac_cpp='$CPP $CPPFLAGS'
13301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13305 ac_ext=${ac_fc_srcext-f}
13306 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13307 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13308 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13311 if test -z "$FC" || test "X$FC" = "Xno"; then
13315 archive_cmds_need_lc_FC=no
13316 allow_undefined_flag_FC=
13317 always_export_symbols_FC=no
13318 archive_expsym_cmds_FC=
13319 export_dynamic_flag_spec_FC=
13320 hardcode_direct_FC=no
13321 hardcode_direct_absolute_FC=no
13322 hardcode_libdir_flag_spec_FC=
13323 hardcode_libdir_flag_spec_ld_FC=
13324 hardcode_libdir_separator_FC=
13325 hardcode_minus_L_FC=no
13326 hardcode_automatic_FC=no
13327 inherit_rpath_FC=no
13329 module_expsym_cmds_FC=
13330 link_all_deplibs_FC=unknown
13331 old_archive_cmds_FC=$old_archive_cmds
13332 reload_flag_FC=$reload_flag
13333 reload_cmds_FC=$reload_cmds
13334 no_undefined_flag_FC=
13335 whole_archive_flag_spec_FC=
13336 enable_shared_with_static_runtimes_FC=no
13338 # Source file extension for fc test sources.
13339 ac_ext=${ac_fc_srcext-f}
13341 # Object file extension for compiled fc test sources.
13345 # No sense in running all these tests if we already determined that
13346 # the FC compiler isn't working. Some variables
(like enable_shared
)
13347 # are currently assumed to apply to all compilers on this platform,
13348 # and will be corrupted by setting them based on a non-working compiler.
13349 if test "$_lt_disable_FC" != yes; then
13350 # Code to be used in simple compile tests
13351 lt_simple_compile_test_code
="\
13357 # Code to be used in simple link tests
13358 lt_simple_link_test_code
="\
13363 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13370 # If no C compiler was specified, use CC.
13373 # If no C compiler flags were specified, use CFLAGS.
13374 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13376 # Allow CC to be a program name with arguments.
13380 # save warnings/boilerplate of simple test code
13381 ac_outfile
=conftest.
$ac_objext
13382 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13383 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13384 _lt_compiler_boilerplate
=`cat conftest.err`
13387 ac_outfile
=conftest.
$ac_objext
13388 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13389 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13390 _lt_linker_boilerplate
=`cat conftest.err`
13394 # Allow CC to be a program name with arguments.
13399 GCC
=$ac_cv_fc_compiler_gnu
13402 for cc_temp
in $compiler""; do
13404 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13405 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13410 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13413 if test -n "$compiler"; then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13415 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13417 $as_echo "$can_build_shared" >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13420 $as_echo_n "checking whether to build shared libraries... " >&6; }
13421 test "$can_build_shared" = "no" && enable_shared
=no
13423 # On AIX, shared libraries and static libraries use the same namespace, and
13424 # are all built from PIC.
13427 test "$enable_shared" = yes && enable_static
=no
13428 if test -n "$RANLIB"; then
13429 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13430 postinstall_cmds
='$RANLIB $lib'
13434 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13435 test "$enable_shared" = yes && enable_static
=no
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13440 $as_echo "$enable_shared" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13443 $as_echo_n "checking whether to build static libraries... " >&6; }
13444 # Make sure either enable_shared or enable_static is yes.
13445 test "$enable_shared" = yes || enable_static
=yes
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13447 $as_echo "$enable_static" >&6; }
13449 GCC_FC
="$ac_cv_fc_compiler_gnu"
13453 ## There is no encapsulation within the following macros, do not change
13454 ## the running order or otherwise move them around unless you know exactly
13455 ## what you are doing...
13456 # Dependencies to place before and after the object being linked:
13458 postdep_objects_FC
=
13461 compiler_lib_search_path_FC
=
13463 cat > conftest.
$ac_ext <<_LT_EOF
13472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13473 (eval $ac_compile) 2>&5
13475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13476 test $ac_status = 0; }; then
13477 # Parse the compiler output and extract the necessary
13478 # objects, libraries and library flags.
13480 # Sentinel used to keep track of whether or not we are before
13481 # the conftest object file.
13482 pre_test_object_deps_done
=no
13484 for p
in `eval "$output_verbose_link_cmd"`; do
13488 # Some compilers place space between "-{L,R}" and the path.
13489 # Remove the space.
13490 if test $p = "-L" ||
13491 test $p = "-R"; then
13498 if test "$pre_test_object_deps_done" = no
; then
13501 # Internal compiler library paths should come after those
13502 # provided the user. The postdeps already come after the
13503 # user supplied libs so there is no need to process them.
13504 if test -z "$compiler_lib_search_path_FC"; then
13505 compiler_lib_search_path_FC
="${prev}${p}"
13507 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13510 # The "-l" case would never come before the object being
13511 # linked, so don't bother handling this case.
13514 if test -z "$postdeps_FC"; then
13515 postdeps_FC
="${prev}${p}"
13517 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13523 # This assumes that the test object file only shows up
13524 # once in the compiler output.
13525 if test "$p" = "conftest.$objext"; then
13526 pre_test_object_deps_done
=yes
13530 if test "$pre_test_object_deps_done" = no
; then
13531 if test -z "$predep_objects_FC"; then
13532 predep_objects_FC
="$p"
13534 predep_objects_FC
="$predep_objects_FC $p"
13537 if test -z "$postdep_objects_FC"; then
13538 postdep_objects_FC
="$p"
13540 postdep_objects_FC
="$postdep_objects_FC $p"
13545 *) ;; # Ignore the rest.
13553 echo "libtool.m4: error: problem compiling FC test program"
13556 $RM -f confest.
$objext
13558 # PORTME: override above test on systems where it is broken
13561 case " $postdeps_FC " in
13562 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13564 compiler_lib_search_dirs_FC
=
13565 if test -n "${compiler_lib_search_path_FC}"; then
13566 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13599 lt_prog_compiler_wl_FC
=
13600 lt_prog_compiler_pic_FC
=
13601 lt_prog_compiler_static_FC
=
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13604 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13606 if test "$GCC" = yes; then
13607 lt_prog_compiler_wl_FC
='-Wl,'
13608 lt_prog_compiler_static_FC
='-static'
13612 # All AIX code is PIC.
13613 if test "$host_cpu" = ia64
; then
13614 # AIX 5 now supports IA64 processor
13615 lt_prog_compiler_static_FC
='-Bstatic'
13617 lt_prog_compiler_pic_FC
='-fPIC'
13623 # see comment about AmigaOS4 .so support
13624 lt_prog_compiler_pic_FC
='-fPIC'
13627 # FIXME: we need at least 68020 code to build shared libraries, but
13628 # adding the `-m68020' flag to GCC prevents building anything better,
13630 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13635 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13636 # PIC is the default for these OSes.
13639 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13640 # This hack is so that the source file can tell whether it is being
13641 # built for inclusion in a dll (and should export symbols for example).
13642 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13643 # (--disable-auto-import) libraries
13644 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13647 darwin
* | rhapsody
*)
13648 # PIC is the default on this platform
13649 # Common symbols not allowed in MH_DYLIB files
13650 lt_prog_compiler_pic_FC
='-fno-common'
13654 # PIC is the default for Haiku.
13655 # The "-static" flag exists, but is broken.
13656 lt_prog_compiler_static_FC
=
13660 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13661 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13662 # sets the default TLS model and affects inlining.
13668 lt_prog_compiler_pic_FC
='-fPIC'
13674 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13675 # Instead, we relocate shared libraries at runtime.
13679 # Just because we use GCC doesn't mean we suddenly get shared libraries
13680 # on systems that don't support them.
13681 lt_prog_compiler_can_build_shared_FC
=no
13686 # QNX uses GNU C++, but need to define -shared option too, otherwise
13687 # it will coredump.
13688 lt_prog_compiler_pic_FC
='-fPIC -shared'
13692 if test -d /usr
/nec
; then
13693 lt_prog_compiler_pic_FC
=-Kconform_pic
13698 lt_prog_compiler_pic_FC
='-fPIC'
13702 case $cc_basename in
13703 nvcc
*) # Cuda Compiler Driver 2.2
13704 lt_prog_compiler_wl_FC
='-Xlinker '
13705 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13709 # PORTME Check for flag to pass linker flags through the system compiler.
13712 lt_prog_compiler_wl_FC
='-Wl,'
13713 if test "$host_cpu" = ia64
; then
13714 # AIX 5 now supports IA64 processor
13715 lt_prog_compiler_static_FC
='-Bstatic'
13717 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13721 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13722 # This hack is so that the source file can tell whether it is being
13723 # built for inclusion in a dll (and should export symbols for example).
13724 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13727 hpux9
* | hpux10
* | hpux11
*)
13728 lt_prog_compiler_wl_FC
='-Wl,'
13729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13730 # not for PA HP-UX.
13736 lt_prog_compiler_pic_FC
='+Z'
13739 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13740 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13743 irix5
* | irix6
* | nonstopux
*)
13744 lt_prog_compiler_wl_FC
='-Wl,'
13745 # PIC (with -KPIC) is the default.
13746 lt_prog_compiler_static_FC
='-non_shared'
13749 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13750 case $cc_basename in
13751 # old Intel for x86_64 which still supported -KPIC.
13753 lt_prog_compiler_wl_FC
='-Wl,'
13754 lt_prog_compiler_pic_FC
='-KPIC'
13755 lt_prog_compiler_static_FC
='-static'
13757 # icc used to be incompatible with GCC.
13758 # ICC 10 doesn't accept -KPIC any more.
13760 lt_prog_compiler_wl_FC
='-Wl,'
13761 lt_prog_compiler_pic_FC
='-fPIC'
13762 lt_prog_compiler_static_FC
='-static'
13764 # Lahey Fortran 8.1.
13766 lt_prog_compiler_wl_FC
='-Wl,'
13767 lt_prog_compiler_pic_FC
='--shared'
13768 lt_prog_compiler_static_FC
='--static'
13770 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13771 # Portland Group compilers (*not* the Pentium gcc compiler,
13772 # which looks to be a dead project)
13773 lt_prog_compiler_wl_FC
='-Wl,'
13774 lt_prog_compiler_pic_FC
='-fpic'
13775 lt_prog_compiler_static_FC
='-Bstatic'
13778 lt_prog_compiler_wl_FC
='-Wl,'
13779 # All Alpha code is PIC.
13780 lt_prog_compiler_static_FC
='-non_shared'
13782 xl
* | bgxl
* | bgf
* | mpixl
*)
13783 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13784 lt_prog_compiler_wl_FC
='-Wl,'
13785 lt_prog_compiler_pic_FC
='-qpic'
13786 lt_prog_compiler_static_FC
='-qstaticlink'
13789 case `$CC -V 2>&1 | sed 5q` in
13790 *Sun\ F
* |
*Sun
*Fortran
*)
13791 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13792 lt_prog_compiler_pic_FC
='-KPIC'
13793 lt_prog_compiler_static_FC
='-Bstatic'
13794 lt_prog_compiler_wl_FC
=''
13798 lt_prog_compiler_pic_FC
='-KPIC'
13799 lt_prog_compiler_static_FC
='-Bstatic'
13800 lt_prog_compiler_wl_FC
='-Wl,'
13808 lt_prog_compiler_pic_FC
='-KPIC'
13809 lt_prog_compiler_static_FC
='-Bstatic'
13813 # QNX uses GNU C++, but need to define -shared option too, otherwise
13814 # it will coredump.
13815 lt_prog_compiler_pic_FC
='-fPIC -shared'
13818 osf3
* | osf4
* | osf5
*)
13819 lt_prog_compiler_wl_FC
='-Wl,'
13820 # All OSF/1 code is PIC.
13821 lt_prog_compiler_static_FC
='-non_shared'
13825 lt_prog_compiler_static_FC
='-non_shared'
13829 lt_prog_compiler_pic_FC
='-KPIC'
13830 lt_prog_compiler_static_FC
='-Bstatic'
13831 case $cc_basename in
13832 f77
* | f90
* | f95
*)
13833 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13835 lt_prog_compiler_wl_FC
='-Wl,';;
13840 lt_prog_compiler_wl_FC
='-Qoption ld '
13841 lt_prog_compiler_pic_FC
='-PIC'
13842 lt_prog_compiler_static_FC
='-Bstatic'
13845 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13846 lt_prog_compiler_wl_FC
='-Wl,'
13847 lt_prog_compiler_pic_FC
='-KPIC'
13848 lt_prog_compiler_static_FC
='-Bstatic'
13852 if test -d /usr
/nec
;then
13853 lt_prog_compiler_pic_FC
='-Kconform_pic'
13854 lt_prog_compiler_static_FC
='-Bstatic'
13858 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13859 lt_prog_compiler_wl_FC
='-Wl,'
13860 lt_prog_compiler_pic_FC
='-KPIC'
13861 lt_prog_compiler_static_FC
='-Bstatic'
13865 lt_prog_compiler_wl_FC
='-Wl,'
13866 lt_prog_compiler_can_build_shared_FC
=no
13870 lt_prog_compiler_pic_FC
='-pic'
13871 lt_prog_compiler_static_FC
='-Bstatic'
13875 lt_prog_compiler_can_build_shared_FC
=no
13881 # For platforms which do not support PIC, -DPIC is meaningless:
13883 lt_prog_compiler_pic_FC
=
13886 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13890 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13895 # Check to make sure the PIC flag actually works.
13897 if test -n "$lt_prog_compiler_pic_FC"; then
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13899 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13900 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
13901 $as_echo_n "(cached) " >&6
13903 lt_cv_prog_compiler_pic_works_FC
=no
13904 ac_outfile
=conftest.
$ac_objext
13905 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13906 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13907 # Insert the option either (1) after the last *FLAGS variable, or
13908 # (2) before a word containing "conftest.", or (3) at the end.
13909 # Note that $ac_compile itself does not contain backslashes and begins
13910 # with a dollar sign (not a hyphen), so the echo should work correctly.
13911 # The option is referenced via a variable to avoid confusing sed.
13912 lt_compile
=`echo "$ac_compile" | $SED \
13913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13915 -e 's:$: $lt_compiler_flag:'`
13916 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13917 (eval "$lt_compile" 2>conftest.err
)
13919 cat conftest.err
>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 if (exit $ac_status) && test -s "$ac_outfile"; then
13922 # The compiler can only warn and ignore the option if not recognized
13923 # So say no if there are warnings other than the usual output.
13924 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13925 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13926 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13927 lt_cv_prog_compiler_pic_works_FC
=yes
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13934 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13936 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13937 case $lt_prog_compiler_pic_FC in
13939 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13942 lt_prog_compiler_pic_FC
=
13943 lt_prog_compiler_can_build_shared_FC
=no
13951 # Check to make sure the static flag actually works.
13953 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13955 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13956 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
13957 $as_echo_n "(cached) " >&6
13959 lt_cv_prog_compiler_static_works_FC
=no
13960 save_LDFLAGS
="$LDFLAGS"
13961 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13962 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13963 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13964 # The linker can only warn and ignore the option if not recognized
13965 # So say no if there are warnings
13966 if test -s conftest.err
; then
13967 # Append any errors to the config.log.
13968 cat conftest.err
1>&5
13969 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13970 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13971 if diff conftest.exp conftest.er2
>/dev
/null
; then
13972 lt_cv_prog_compiler_static_works_FC
=yes
13975 lt_cv_prog_compiler_static_works_FC
=yes
13979 LDFLAGS
="$save_LDFLAGS"
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13983 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13985 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13988 lt_prog_compiler_static_FC
=
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13995 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13996 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
13997 $as_echo_n "(cached) " >&6
13999 lt_cv_prog_compiler_c_o_FC
=no
14000 $RM -r conftest
2>/dev
/null
14004 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14006 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14007 # Insert the option either (1) after the last *FLAGS variable, or
14008 # (2) before a word containing "conftest.", or (3) at the end.
14009 # Note that $ac_compile itself does not contain backslashes and begins
14010 # with a dollar sign (not a hyphen), so the echo should work correctly.
14011 lt_compile
=`echo "$ac_compile" | $SED \
14012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14014 -e 's:$: $lt_compiler_flag:'`
14015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14016 (eval "$lt_compile" 2>out
/conftest.err
)
14018 cat out
/conftest.err
>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14022 # The compiler can only warn and ignore the option if not recognized
14023 # So say no if there are warnings
14024 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14025 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14026 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14027 lt_cv_prog_compiler_c_o_FC
=yes
14032 # SGI C++ compiler will create directory out/ii_files/ for
14033 # template instantiation
14034 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14035 $RM out
/* && rmdir out
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14042 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14047 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14048 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14049 $as_echo_n "(cached) " >&6
14051 lt_cv_prog_compiler_c_o_FC
=no
14052 $RM -r conftest
2>/dev
/null
14056 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14058 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14059 # Insert the option either (1) after the last *FLAGS variable, or
14060 # (2) before a word containing "conftest.", or (3) at the end.
14061 # Note that $ac_compile itself does not contain backslashes and begins
14062 # with a dollar sign (not a hyphen), so the echo should work correctly.
14063 lt_compile
=`echo "$ac_compile" | $SED \
14064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14066 -e 's:$: $lt_compiler_flag:'`
14067 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14068 (eval "$lt_compile" 2>out
/conftest.err
)
14070 cat out
/conftest.err
>&5
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14074 # The compiler can only warn and ignore the option if not recognized
14075 # So say no if there are warnings
14076 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14077 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14078 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14079 lt_cv_prog_compiler_c_o_FC
=yes
14084 # SGI C++ compiler will create directory out/ii_files/ for
14085 # template instantiation
14086 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14087 $RM out
/* && rmdir out
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14094 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14099 hard_links
="nottested"
14100 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14101 # do not overwrite the value of need_locks provided by the user
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14103 $as_echo_n "checking if we can lock with hard links... " >&6; }
14106 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14108 ln conftest.a conftest.b
2>&5 || hard_links
=no
14109 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14111 $as_echo "$hard_links" >&6; }
14112 if test "$hard_links" = no
; then
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14114 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14124 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14127 allow_undefined_flag_FC
=
14128 always_export_symbols_FC
=no
14130 archive_expsym_cmds_FC
=
14131 compiler_needs_object_FC
=no
14132 enable_shared_with_static_runtimes_FC
=no
14133 export_dynamic_flag_spec_FC
=
14134 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14135 hardcode_automatic_FC
=no
14136 hardcode_direct_FC
=no
14137 hardcode_direct_absolute_FC
=no
14138 hardcode_libdir_flag_spec_FC
=
14139 hardcode_libdir_flag_spec_ld_FC
=
14140 hardcode_libdir_separator_FC
=
14141 hardcode_minus_L_FC
=no
14142 hardcode_shlibpath_var_FC
=unsupported
14143 inherit_rpath_FC
=no
14144 link_all_deplibs_FC
=unknown
14146 module_expsym_cmds_FC
=
14147 old_archive_from_new_cmds_FC
=
14148 old_archive_from_expsyms_cmds_FC
=
14149 thread_safe_flag_spec_FC
=
14150 whole_archive_flag_spec_FC
=
14151 # include_expsyms should be a list of space-separated symbols to be *always*
14152 # included in the symbol list
14153 include_expsyms_FC
=
14154 # exclude_expsyms can be an extended regexp of symbols to exclude
14155 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14156 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14157 # as well as any symbol that contains `d'.
14158 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14159 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14160 # platforms (ab)use it in PIC code, but their linkers get confused if
14161 # the symbol is explicitly referenced. Since portable code cannot
14162 # rely on this symbol name, it's probably fine to never include it in
14163 # preloaded symbol tables.
14164 # Exclude shared library initialization/finalization symbols.
14165 extract_expsyms_cmds
=
14168 cygwin
* | mingw
* | pw32
* | cegcc
*)
14169 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14170 # When not using gcc, we currently assume that we are using
14171 # Microsoft Visual C++.
14172 if test "$GCC" != yes; then
14177 # we just hope/assume this is gcc and not c89 (= MSVC++)
14187 # On some targets, GNU ld is compatible enough with the native linker
14188 # that we're better off using the native interface for both.
14189 lt_use_gnu_ld_interface
=no
14190 if test "$with_gnu_ld" = yes; then
14193 # The AIX port of GNU ld has always aspired to compatibility
14194 # with the native linker. However, as the warning in the GNU ld
14195 # block says, versions before 2.19.5* couldn't really create working
14196 # shared libraries, regardless of the interface used.
14197 case `$LD -v 2>&1` in
14198 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14199 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14200 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14202 lt_use_gnu_ld_interface
=yes
14207 lt_use_gnu_ld_interface
=yes
14212 if test "$lt_use_gnu_ld_interface" = yes; then
14213 # If archive_cmds runs LD, not CC, wlarc should be empty
14216 # Set some defaults for GNU ld with shared library support. These
14217 # are reset later if shared libraries are not supported. Putting them
14218 # here allows them to be overridden if necessary.
14219 runpath_var
=LD_RUN_PATH
14220 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14221 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14222 # ancient GNU ld didn't support --whole-archive et. al.
14223 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14224 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14226 whole_archive_flag_spec_FC
=
14228 supports_anon_versioning
=no
14229 case `$LD -v 2>&1` in
14230 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14231 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14232 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14233 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14234 *\
2.11.
*) ;; # other 2.11 versions
14235 *) supports_anon_versioning
=yes ;;
14238 # See if GNU ld supports shared libraries.
14241 # On AIX/PPC, the GNU linker is very broken
14242 if test "$host_cpu" != ia64
; then
14246 *** Warning: the GNU linker, at least up to release 2.19, is reported
14247 *** to be unable to reliably create shared libraries on AIX.
14248 *** Therefore, libtool is disabling shared libraries support. If you
14249 *** really care for shared libraries, you may want to install binutils
14250 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14251 *** You will then need to restart the configuration process.
14260 # see comment about AmigaOS4 .so support
14261 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14262 archive_expsym_cmds_FC
=''
14265 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)'
14266 hardcode_libdir_flag_spec_FC
='-L$libdir'
14267 hardcode_minus_L_FC
=yes
14273 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14274 allow_undefined_flag_FC
=unsupported
14275 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14276 # support --undefined. This deserves some investigation. FIXME
14277 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14283 cygwin
* | mingw
* | pw32
* | cegcc
*)
14284 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14285 # as there is no search path for DLLs.
14286 hardcode_libdir_flag_spec_FC
='-L$libdir'
14287 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14288 allow_undefined_flag_FC
=unsupported
14289 always_export_symbols_FC
=no
14290 enable_shared_with_static_runtimes_FC
=yes
14291 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14293 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14294 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14295 # If the export-symbols file already is a .def file (1st line
14296 # is EXPORTS), use it as is; otherwise, prepend...
14297 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14298 cp $export_symbols $output_objdir/$soname.def;
14300 echo EXPORTS > $output_objdir/$soname.def;
14301 cat $export_symbols >> $output_objdir/$soname.def;
14303 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14310 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14311 link_all_deplibs_FC
=yes
14315 hardcode_direct_FC
=no
14316 hardcode_shlibpath_var_FC
=no
14317 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14318 export_dynamic_flag_spec_FC
='${wl}-E'
14319 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14320 # Instead, shared libraries are loaded at an image base (0x10000000 by
14321 # default) and relocated if they conflict, which is a slow very memory
14322 # consuming and fragmenting process. To avoid this, we pick a random,
14323 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14324 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14325 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'
14326 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'
14329 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14331 if test "$host_os" = linux-dietlibc
; then
14332 case $cc_basename in
14333 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14336 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14337 && test "$tmp_diet" = no
14339 tmp_addflag
=' $pic_flag'
14340 tmp_sharedflag
='-shared'
14341 case $cc_basename,$host_cpu in
14342 pgcc
*) # Portland Group C compiler
14343 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'
14344 tmp_addflag
=' $pic_flag'
14346 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14347 # Portland Group f77 and f90 compilers
14348 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'
14349 tmp_addflag
=' $pic_flag -Mnomain' ;;
14350 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14351 tmp_addflag
=' -i_dynamic' ;;
14352 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14353 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14354 ifc
* | ifort
*) # Intel Fortran compiler
14355 tmp_addflag
=' -nofor_main' ;;
14356 lf95
*) # Lahey Fortran 8.1
14357 whole_archive_flag_spec_FC
=
14358 tmp_sharedflag
='--shared' ;;
14359 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14360 tmp_sharedflag
='-qmkshrobj'
14362 nvcc
*) # Cuda Compiler Driver 2.2
14363 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'
14364 compiler_needs_object_FC
=yes
14367 case `$CC -V 2>&1 | sed 5q` in
14368 *Sun\ C
*) # Sun C 5.9
14369 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'
14370 compiler_needs_object_FC
=yes
14371 tmp_sharedflag
='-G' ;;
14372 *Sun\ F
*) # Sun Fortran 8.3
14373 tmp_sharedflag
='-G' ;;
14375 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14377 if test "x$supports_anon_versioning" = xyes
; then
14378 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14379 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14380 echo "local: *; };" >> $output_objdir/$libname.ver~
14381 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14384 case $cc_basename in
14385 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14386 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14387 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14388 hardcode_libdir_flag_spec_FC
=
14389 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14390 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14391 if test "x$supports_anon_versioning" = xyes
; then
14392 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14393 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14394 echo "local: *; };" >> $output_objdir/$libname.ver~
14395 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14405 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14406 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14409 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14410 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14415 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14419 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14420 *** create shared libraries on Solaris systems. Therefore, libtool
14421 *** is disabling shared libraries support. We urge you to upgrade GNU
14422 *** binutils to release 2.9.1 or newer. Another option is to modify
14423 *** your PATH or compiler configuration so that the native linker is
14424 *** used, and then restart.
14427 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14428 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14429 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14435 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14436 case `$LD -v 2>&1` in
14437 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14441 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14442 *** reliably create shared libraries on SCO systems. Therefore, libtool
14443 *** is disabling shared libraries support. We urge you to upgrade GNU
14444 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14445 *** your PATH or compiler configuration so that the native linker is
14446 *** used, and then restart.
14451 # For security reasons, it is highly recommended that you always
14452 # use absolute paths for naming shared libraries, and exclude the
14453 # DT_RUNPATH tag from executables and libraries. But doing so
14454 # requires that you compile everything twice, which is a pain.
14455 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14456 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14457 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14458 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14467 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14469 hardcode_direct_FC
=yes
14470 hardcode_shlibpath_var_FC
=no
14474 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14475 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14476 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14483 if test "$ld_shlibs_FC" = no
; then
14485 hardcode_libdir_flag_spec_FC
=
14486 export_dynamic_flag_spec_FC
=
14487 whole_archive_flag_spec_FC
=
14490 # PORTME fill in a description of your system's linker (not GNU ld)
14493 allow_undefined_flag_FC
=unsupported
14494 always_export_symbols_FC
=yes
14495 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'
14496 # Note: this linker hardcodes the directories in LIBPATH if there
14497 # are no directories specified by -L.
14498 hardcode_minus_L_FC
=yes
14499 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14500 # Neither direct hardcoding nor static linking is supported with a
14502 hardcode_direct_FC
=unsupported
14507 if test "$host_cpu" = ia64
; then
14508 # On IA64, the linker does run time linking by default, so we don't
14509 # have to do anything special.
14510 aix_use_runtimelinking
=no
14511 exp_sym_flag
='-Bexport'
14514 # If we're using GNU nm, then we don't want the "-C" option.
14515 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14516 # Also, AIX nm treats weak defined symbols like other global
14517 # defined symbols, whereas GNU nm marks them as "W".
14518 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14519 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'
14521 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'
14523 aix_use_runtimelinking
=no
14525 # Test if we are trying to use run time linking or normal
14526 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14527 # need to do runtime linking.
14528 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14529 for ld_flag
in $LDFLAGS; do
14530 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14531 aix_use_runtimelinking
=yes
14538 exp_sym_flag
='-bexport'
14539 no_entry_flag
='-bnoentry'
14542 # When large executables or shared objects are built, AIX ld can
14543 # have problems creating the table of contents. If linking a library
14544 # or program results in "error TOC overflow" add -mminimal-toc to
14545 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14546 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14549 hardcode_direct_FC
=yes
14550 hardcode_direct_absolute_FC
=yes
14551 hardcode_libdir_separator_FC
=':'
14552 link_all_deplibs_FC
=yes
14553 file_list_spec_FC
='${wl}-f,'
14555 if test "$GCC" = yes; then
14556 case $host_os in aix4.
[012]|aix4.
[012].
*)
14557 # We only want to do this on AIX 4.2 and lower, the check
14558 # below for broken collect2 doesn't work under 4.3+
14559 collect2name
=`${CC} -print-prog-name=collect2`
14560 if test -f "$collect2name" &&
14561 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14563 # We have reworked collect2
14566 # We have old collect2
14567 hardcode_direct_FC
=unsupported
14568 # It fails to find uninstalled libraries when the uninstalled
14569 # path is not listed in the libpath. Setting hardcode_minus_L
14570 # to unsupported forces relinking
14571 hardcode_minus_L_FC
=yes
14572 hardcode_libdir_flag_spec_FC
='-L$libdir'
14573 hardcode_libdir_separator_FC
=
14577 shared_flag
='-shared'
14578 if test "$aix_use_runtimelinking" = yes; then
14579 shared_flag
="$shared_flag "'${wl}-G'
14583 if test "$host_cpu" = ia64
; then
14584 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14585 # chokes on -Wl,-G. The following line is correct:
14588 if test "$aix_use_runtimelinking" = yes; then
14589 shared_flag
='${wl}-G'
14591 shared_flag
='${wl}-bM:SRE'
14596 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14597 # It seems that -bexpall does not export symbols beginning with
14598 # underscore (_), so it is better to generate a list of symbols to export.
14599 always_export_symbols_FC
=yes
14600 if test "$aix_use_runtimelinking" = yes; then
14601 # Warning - without using the other runtime loading flags (-brtl),
14602 # -berok will link without error, but may produce a broken library.
14603 allow_undefined_flag_FC
='-berok'
14604 # Determine the default libpath from the value encoded in an
14605 # empty executable.
14606 if test x
$gcc_no_link = xyes
; then
14607 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14609 cat > conftest.
$ac_ext <<_ACEOF
14614 if ac_fn_fc_try_link
"$LINENO"; then :
14616 lt_aix_libpath_sed
='
14617 /Import File Strings/,/^$/ {
14623 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14624 # Check for a 64-bit object if we didn't find anything.
14625 if test -z "$aix_libpath"; then
14626 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14629 rm -f core conftest.err conftest.
$ac_objext \
14630 conftest
$ac_exeext conftest.
$ac_ext
14631 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14633 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14634 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"
14636 if test "$host_cpu" = ia64
; then
14637 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14638 allow_undefined_flag_FC
="-z nodefs"
14639 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"
14641 # Determine the default libpath from the value encoded in an
14642 # empty executable.
14643 if test x
$gcc_no_link = xyes
; then
14644 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14646 cat > conftest.
$ac_ext <<_ACEOF
14651 if ac_fn_fc_try_link
"$LINENO"; then :
14653 lt_aix_libpath_sed
='
14654 /Import File Strings/,/^$/ {
14660 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14661 # Check for a 64-bit object if we didn't find anything.
14662 if test -z "$aix_libpath"; then
14663 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14666 rm -f core conftest.err conftest.
$ac_objext \
14667 conftest
$ac_exeext conftest.
$ac_ext
14668 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14670 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14671 # Warning - without using the other run time loading flags,
14672 # -berok will link without error, but may produce a broken library.
14673 no_undefined_flag_FC
=' ${wl}-bernotok'
14674 allow_undefined_flag_FC
=' ${wl}-berok'
14675 if test "$with_gnu_ld" = yes; then
14676 # We only use this code for GNU lds that support --whole-archive.
14677 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14679 # Exported symbols can be pulled into shared objects from archives
14680 whole_archive_flag_spec_FC
='$convenience'
14682 archive_cmds_need_lc_FC
=yes
14683 # This is similar to how AIX traditionally builds its shared libraries.
14684 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'
14692 # see comment about AmigaOS4 .so support
14693 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14694 archive_expsym_cmds_FC
=''
14697 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)'
14698 hardcode_libdir_flag_spec_FC
='-L$libdir'
14699 hardcode_minus_L_FC
=yes
14705 export_dynamic_flag_spec_FC
=-rdynamic
14708 cygwin
* | mingw
* | pw32
* | cegcc
*)
14709 # When not using gcc, we currently assume that we are using
14710 # Microsoft Visual C++.
14711 # hardcode_libdir_flag_spec is actually meaningless, as there is
14712 # no search path for DLLs.
14713 hardcode_libdir_flag_spec_FC
=' '
14714 allow_undefined_flag_FC
=unsupported
14715 # Tell ltmain to make .lib files, not .a files.
14717 # Tell ltmain to make .dll files, not .so files.
14719 # FIXME: Setting linknames here is a bad hack.
14720 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14721 # The linker will automatically build a .lib file if we build a DLL.
14722 old_archive_from_new_cmds_FC
='true'
14723 # FIXME: Should let the user specify the lib program.
14724 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14725 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14726 enable_shared_with_static_runtimes_FC
=yes
14729 darwin
* | rhapsody
*)
14732 archive_cmds_need_lc_FC
=no
14733 hardcode_direct_FC
=no
14734 hardcode_automatic_FC
=yes
14735 hardcode_shlibpath_var_FC
=unsupported
14736 if test "$lt_cv_ld_force_load" = "yes"; then
14737 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\"`'
14739 whole_archive_flag_spec_FC
=''
14741 link_all_deplibs_FC
=yes
14742 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14743 case $cc_basename in
14744 ifort
*) _lt_dar_can_shared
=yes ;;
14745 *) _lt_dar_can_shared
=$GCC ;;
14747 if test "$_lt_dar_can_shared" = "yes"; then
14748 output_verbose_link_cmd
=func_echo_all
14749 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}"
14750 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14751 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}"
14752 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}"
14761 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14762 hardcode_libdir_flag_spec_FC
='-L$libdir'
14763 hardcode_shlibpath_var_FC
=no
14766 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14767 # support. Future versions do this automatically, but an explicit c++rt0.o
14768 # does not break anything, and helps significantly (at the cost of a little
14771 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14772 hardcode_libdir_flag_spec_FC
='-R$libdir'
14773 hardcode_direct_FC
=yes
14774 hardcode_shlibpath_var_FC
=no
14777 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14779 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14780 hardcode_direct_FC
=yes
14781 hardcode_minus_L_FC
=yes
14782 hardcode_shlibpath_var_FC
=no
14785 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14786 freebsd
* | dragonfly
*)
14787 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14788 hardcode_libdir_flag_spec_FC
='-R$libdir'
14789 hardcode_direct_FC
=yes
14790 hardcode_shlibpath_var_FC
=no
14794 if test "$GCC" = yes; then
14795 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'
14797 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'
14799 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14800 hardcode_libdir_separator_FC
=:
14801 hardcode_direct_FC
=yes
14803 # hardcode_minus_L: Not really in the search PATH,
14804 # but as the default location of the library.
14805 hardcode_minus_L_FC
=yes
14806 export_dynamic_flag_spec_FC
='${wl}-E'
14810 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14811 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14813 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14815 if test "$with_gnu_ld" = no
; then
14816 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14817 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14818 hardcode_libdir_separator_FC
=:
14819 hardcode_direct_FC
=yes
14820 hardcode_direct_absolute_FC
=yes
14821 export_dynamic_flag_spec_FC
='${wl}-E'
14822 # hardcode_minus_L: Not really in the search PATH,
14823 # but as the default location of the library.
14824 hardcode_minus_L_FC
=yes
14829 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14832 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14835 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14838 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14844 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14847 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14850 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14854 if test "$with_gnu_ld" = no
; then
14855 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14856 hardcode_libdir_separator_FC
=:
14860 hardcode_direct_FC
=no
14861 hardcode_shlibpath_var_FC
=no
14864 hardcode_direct_FC
=yes
14865 hardcode_direct_absolute_FC
=yes
14866 export_dynamic_flag_spec_FC
='${wl}-E'
14868 # hardcode_minus_L: Not really in the search PATH,
14869 # but as the default location of the library.
14870 hardcode_minus_L_FC
=yes
14876 irix5
* | irix6
* | nonstopux
*)
14877 if test "$GCC" = yes; then
14878 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'
14879 # Try to use the -exported_symbol ld option, if it does not
14880 # work, assume that -exports_file does not work either and
14881 # implicitly export all symbols.
14882 save_LDFLAGS
="$LDFLAGS"
14883 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14884 if test x
$gcc_no_link = xyes
; then
14885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14887 cat > conftest.
$ac_ext <<_ACEOF
14890 if ac_fn_fc_try_link
"$LINENO"; then :
14891 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'
14894 rm -f core conftest.err conftest.
$ac_objext \
14895 conftest
$ac_exeext conftest.
$ac_ext
14896 LDFLAGS
="$save_LDFLAGS"
14898 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'
14899 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'
14901 archive_cmds_need_lc_FC
='no'
14902 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14903 hardcode_libdir_separator_FC
=:
14904 inherit_rpath_FC
=yes
14905 link_all_deplibs_FC
=yes
14909 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14910 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14912 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14914 hardcode_libdir_flag_spec_FC
='-R$libdir'
14915 hardcode_direct_FC
=yes
14916 hardcode_shlibpath_var_FC
=no
14920 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14921 hardcode_direct_FC
=yes
14922 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14923 hardcode_libdir_separator_FC
=:
14924 hardcode_shlibpath_var_FC
=no
14931 if test -f /usr
/libexec
/ld.so
; then
14932 hardcode_direct_FC
=yes
14933 hardcode_shlibpath_var_FC
=no
14934 hardcode_direct_absolute_FC
=yes
14935 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14936 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14937 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14938 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14939 export_dynamic_flag_spec_FC
='${wl}-E'
14942 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14943 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14944 hardcode_libdir_flag_spec_FC
='-R$libdir'
14947 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14948 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14958 hardcode_libdir_flag_spec_FC
='-L$libdir'
14959 hardcode_minus_L_FC
=yes
14960 allow_undefined_flag_FC
=unsupported
14961 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'
14962 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14966 if test "$GCC" = yes; then
14967 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14968 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'
14970 allow_undefined_flag_FC
=' -expect_unresolved \*'
14971 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'
14973 archive_cmds_need_lc_FC
='no'
14974 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14975 hardcode_libdir_separator_FC
=:
14978 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14979 if test "$GCC" = yes; then
14980 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14981 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'
14982 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14984 allow_undefined_flag_FC
=' -expect_unresolved \*'
14985 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'
14986 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~
14987 $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'
14989 # Both c and cxx compiler support -rpath directly
14990 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14992 archive_cmds_need_lc_FC
='no'
14993 hardcode_libdir_separator_FC
=:
14997 no_undefined_flag_FC
=' -z defs'
14998 if test "$GCC" = yes; then
15000 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15001 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15002 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15004 case `$CC -V 2>&1` in
15007 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15008 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15009 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15013 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15014 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15015 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15019 hardcode_libdir_flag_spec_FC
='-R$libdir'
15020 hardcode_shlibpath_var_FC
=no
15022 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15024 # The compiler driver will combine and reorder linker options,
15025 # but understands `-z linker_flag'. GCC discards it without `$wl',
15026 # but is careful enough not to reorder.
15027 # Supported since Solaris 2.6 (maybe 2.5.1?)
15028 if test "$GCC" = yes; then
15029 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15031 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15035 link_all_deplibs_FC
=yes
15039 if test "x$host_vendor" = xsequent
; then
15040 # Use $CC to link under sequent, because it throws in some extra .o
15041 # files that make .init and .fini sections work.
15042 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15044 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15046 hardcode_libdir_flag_spec_FC
='-L$libdir'
15047 hardcode_direct_FC
=yes
15048 hardcode_minus_L_FC
=yes
15049 hardcode_shlibpath_var_FC
=no
15053 case $host_vendor in
15055 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15056 hardcode_direct_FC
=yes # is this really true???
15059 ## LD is ld it makes a PLAMLIB
15060 ## CC just makes a GrossModule.
15061 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15062 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15063 hardcode_direct_FC
=no
15066 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15067 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15070 runpath_var
='LD_RUN_PATH'
15071 hardcode_shlibpath_var_FC
=no
15075 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15076 hardcode_shlibpath_var_FC
=no
15077 export_dynamic_flag_spec_FC
='-Bexport'
15081 if test -d /usr
/nec
; then
15082 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15083 hardcode_shlibpath_var_FC
=no
15084 runpath_var
=LD_RUN_PATH
15085 hardcode_runpath_var
=yes
15090 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15091 no_undefined_flag_FC
='${wl}-z,text'
15092 archive_cmds_need_lc_FC
=no
15093 hardcode_shlibpath_var_FC
=no
15094 runpath_var
='LD_RUN_PATH'
15096 if test "$GCC" = yes; then
15097 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15098 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15100 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15101 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15105 sysv5
* | sco3.2v5
* | sco5v6
*)
15106 # Note: We can NOT use -z defs as we might desire, because we do not
15107 # link with -lc, and that would cause any symbols used from libc to
15108 # always be unresolved, which means just about no library would
15109 # ever link correctly. If we're not using GNU ld we use -z text
15110 # though, which does catch some bad symbols but isn't as heavy-handed
15112 no_undefined_flag_FC
='${wl}-z,text'
15113 allow_undefined_flag_FC
='${wl}-z,nodefs'
15114 archive_cmds_need_lc_FC
=no
15115 hardcode_shlibpath_var_FC
=no
15116 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15117 hardcode_libdir_separator_FC
=':'
15118 link_all_deplibs_FC
=yes
15119 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15120 runpath_var
='LD_RUN_PATH'
15122 if test "$GCC" = yes; then
15123 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15124 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15127 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15132 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15133 hardcode_libdir_flag_spec_FC
='-L$libdir'
15134 hardcode_shlibpath_var_FC
=no
15142 if test x
$host_vendor = xsni
; then
15144 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15145 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15152 $as_echo "$ld_shlibs_FC" >&6; }
15153 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15155 with_gnu_ld_FC
=$with_gnu_ld
15163 # Do we need to explicitly link libc?
15165 case "x$archive_cmds_need_lc_FC" in
15167 # Assume -lc should be added
15168 archive_cmds_need_lc_FC
=yes
15170 if test "$enable_shared" = yes && test "$GCC" = yes; then
15171 case $archive_cmds_FC in
15173 # FIXME: we may have to deal with multi-command sequences.
15176 # Test whether the compiler implicitly links with -lc since on some
15177 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15178 # to ld, don't add -lc before -lgcc.
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15180 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15181 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15182 $as_echo_n "(cached) " >&6
15185 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15188 (eval $ac_compile) 2>&5
15190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15191 test $ac_status = 0; } 2>conftest.err
; then
15194 libobjs
=conftest.
$ac_objext
15196 wl
=$lt_prog_compiler_wl_FC
15197 pic_flag
=$lt_prog_compiler_pic_FC
15203 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15204 allow_undefined_flag_FC
=
15205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15206 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15209 test $ac_status = 0; }
15211 lt_cv_archive_cmds_need_lc_FC
=no
15213 lt_cv_archive_cmds_need_lc_FC
=yes
15215 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15217 cat conftest.err
1>&5
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15223 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15224 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15295 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15297 library_names_spec
=
15298 libname_spec
='lib$name'
15302 postuninstall_cmds
=
15306 shlibpath_overrides_runpath
=unknown
15308 dynamic_linker
="$host_os ld.so"
15309 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15310 need_lib_prefix
=unknown
15311 hardcode_into_libs
=no
15313 # when you set need_version to no, make sure it does not cause -set_version
15314 # flags to be left without arguments
15315 need_version
=unknown
15320 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15321 shlibpath_var
=LIBPATH
15323 # AIX 3 has no versioning support, so we append a major version to the name.
15324 soname_spec
='${libname}${release}${shared_ext}$major'
15331 hardcode_into_libs
=yes
15332 if test "$host_cpu" = ia64
; then
15333 # AIX 5 supports IA64
15334 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15335 shlibpath_var
=LD_LIBRARY_PATH
15337 # With GCC up to 2.95.x, collect2 would create an import file
15338 # for dependence libraries. The import file would start with
15339 # the line `#! .'. This would cause the generated library to
15340 # depend on `.', always an invalid library. This was fixed in
15341 # development snapshots of GCC prior to 3.0.
15343 aix4 | aix4.
[01] | aix4.
[01].
*)
15344 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15346 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15349 can_build_shared
=no
15353 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15354 # soname into executable. Probably we can add versioning support to
15355 # collect2, so additional links can be useful in future.
15356 if test "$aix_use_runtimelinking" = yes; then
15357 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15358 # instead of lib<name>.a to let people know that these are not
15359 # typical AIX shared libraries.
15360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 # We preserve .a as extension for shared libraries through AIX4.2
15363 # and later when we are not doing run time linking.
15364 library_names_spec
='${libname}${release}.a $libname.a'
15365 soname_spec
='${libname}${release}${shared_ext}$major'
15367 shlibpath_var
=LIBPATH
15374 # Since July 2007 AmigaOS4 officially supports .so libraries.
15375 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15379 library_names_spec
='$libname.ixlibrary $libname.a'
15380 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15381 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'
15387 library_names_spec
='${libname}${shared_ext}'
15388 dynamic_linker
="$host_os ld.so"
15389 shlibpath_var
=LIBRARY_PATH
15395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15396 soname_spec
='${libname}${release}${shared_ext}$major'
15397 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15400 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15401 # the default ld.so.conf also contains /usr/contrib/lib and
15402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15403 # libtool to hard-code these into programs
15406 cygwin
* | mingw
* | pw32
* | cegcc
*)
15407 version_type
=windows
15412 case $GCC,$host_os in
15413 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15414 library_names_spec
='$libname.dll.a'
15415 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15416 postinstall_cmds
='base_file=`basename \${file}`~
15417 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15418 dldir=$destdir/`dirname \$dlpath`~
15419 test -d \$dldir || mkdir -p \$dldir~
15420 $install_prog $dir/$dlname \$dldir/$dlname~
15421 chmod a+x \$dldir/$dlname~
15422 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15423 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15425 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15426 dlpath=$dir/\$dldll~
15428 shlibpath_overrides_runpath
=yes
15432 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15433 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15437 # MinGW DLLs use traditional 'lib' prefix
15438 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15441 # pw32 DLLs use 'pw' prefix rather than 'lib'
15442 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15448 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15451 dynamic_linker
='Win32 ld.exe'
15452 # FIXME: first we should search . and the directory the executable is in
15456 darwin
* | rhapsody
*)
15457 dynamic_linker
="$host_os dyld"
15458 version_type
=darwin
15461 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15462 soname_spec
='${libname}${release}${major}$shared_ext'
15463 shlibpath_overrides_runpath
=yes
15464 shlibpath_var
=DYLD_LIBRARY_PATH
15465 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15467 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15475 soname_spec
='${libname}${release}${shared_ext}$major'
15476 shlibpath_var
=LD_LIBRARY_PATH
15479 freebsd
* | dragonfly
*)
15480 # DragonFly does not have aout. When/if they implement a new
15481 # versioning mechanism, adjust this.
15482 if test -x /usr
/bin
/objformat
; then
15483 objformat
=`/usr/bin/objformat`
15486 freebsd
[23].
*) objformat
=aout
;;
15487 *) objformat
=elf
;;
15490 version_type
=freebsd-
$objformat
15491 case $version_type in
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15502 shlibpath_var
=LD_LIBRARY_PATH
15505 shlibpath_overrides_runpath
=yes
15507 freebsd3.
[01]* | freebsdelf3.
[01]*)
15508 shlibpath_overrides_runpath
=yes
15509 hardcode_into_libs
=yes
15511 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15512 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15513 shlibpath_overrides_runpath
=no
15514 hardcode_into_libs
=yes
15516 *) # from 4.6 on, and DragonFly
15517 shlibpath_overrides_runpath
=yes
15518 hardcode_into_libs
=yes
15527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15528 soname_spec
='${libname}${release}${shared_ext}$major'
15529 shlibpath_var
=LD_LIBRARY_PATH
15530 hardcode_into_libs
=yes
15537 dynamic_linker
="$host_os runtime_loader"
15538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15539 soname_spec
='${libname}${release}${shared_ext}$major'
15540 shlibpath_var
=LIBRARY_PATH
15541 shlibpath_overrides_runpath
=yes
15542 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15543 hardcode_into_libs
=yes
15546 hpux9
* | hpux10
* | hpux11
*)
15547 # Give a soname corresponding to the major version so that dld.sl refuses to
15548 # link against other versions.
15555 hardcode_into_libs
=yes
15556 dynamic_linker
="$host_os dld.so"
15557 shlibpath_var
=LD_LIBRARY_PATH
15558 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15560 soname_spec
='${libname}${release}${shared_ext}$major'
15561 if test "X$HPUX_IA64_MODE" = X32
; then
15562 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15564 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15566 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15570 hardcode_into_libs
=yes
15571 dynamic_linker
="$host_os dld.sl"
15572 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15573 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15575 soname_spec
='${libname}${release}${shared_ext}$major'
15576 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15577 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15581 dynamic_linker
="$host_os dld.sl"
15582 shlibpath_var
=SHLIB_PATH
15583 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 soname_spec
='${libname}${release}${shared_ext}$major'
15588 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15589 postinstall_cmds
='chmod 555 $lib'
15590 # or fails outright, so override atomically:
15591 install_override_mode
=555
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15601 shlibpath_var
=LD_LIBRARY_PATH
15602 shlibpath_overrides_runpath
=no
15603 hardcode_into_libs
=yes
15606 irix5
* | irix6
* | nonstopux
*)
15608 nonstopux
*) version_type
=nonstopux
;;
15610 if test "$lt_cv_prog_gnu_ld" = yes; then
15618 soname_spec
='${libname}${release}${shared_ext}$major'
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15621 irix5
* | nonstopux
*)
15622 libsuff
= shlibsuff
=
15625 case $LD in # libtool.m4 will add one of these switches to LD
15626 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15627 libsuff
= shlibsuff
= libmagic
=32-bit;;
15628 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15629 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15630 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15631 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15632 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15636 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15637 shlibpath_overrides_runpath
=no
15638 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15639 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15640 hardcode_into_libs
=yes
15643 # No shared lib support for Linux oldld, aout, or coff.
15644 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15648 # This must be Linux ELF.
15650 # uclinux* changes (here and below) have been submitted to the libtool
15651 # project, but have not yet been accepted: they are GCC-local changes
15652 # for the time being. (See
15653 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15654 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659 soname_spec
='${libname}${release}${shared_ext}$major'
15660 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15661 shlibpath_var
=LD_LIBRARY_PATH
15662 shlibpath_overrides_runpath
=no
15664 # Some binutils ld are patched to set DT_RUNPATH
15665 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15666 $as_echo_n "(cached) " >&6
15668 lt_cv_shlibpath_overrides_runpath
=no
15669 save_LDFLAGS
=$LDFLAGS
15670 save_libdir
=$libdir
15671 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15672 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15673 if test x
$gcc_no_link = xyes
; then
15674 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15676 cat > conftest.
$ac_ext <<_ACEOF
15681 if ac_fn_fc_try_link
"$LINENO"; then :
15682 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15683 lt_cv_shlibpath_overrides_runpath
=yes
15686 rm -f core conftest.err conftest.
$ac_objext \
15687 conftest
$ac_exeext conftest.
$ac_ext
15688 LDFLAGS
=$save_LDFLAGS
15689 libdir
=$save_libdir
15693 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15695 # This implies no fast_install, which is unacceptable.
15696 # Some rework will be needed to allow for fast_install
15697 # before this can be enabled.
15698 hardcode_into_libs
=yes
15700 # Append ld.so.conf contents to the search path
15701 if test -f /etc
/ld.so.conf
; then
15702 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' ' '`
15703 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15706 # We used to test for /lib/ld.so.1 and disable shared libraries on
15707 # powerpc, because MkLinux only supported shared libraries with the
15708 # GNU dynamic linker. Since this was broken with cross compilers,
15709 # most powerpc-linux boxes support dynamic linking these days and
15710 # people can always --disable-shared, the test was removed, and we
15711 # assume the GNU/Linux dynamic linker is in use.
15712 dynamic_linker
='GNU/Linux ld.so'
15719 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15722 dynamic_linker
='NetBSD (a.out) ld.so'
15724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15725 soname_spec
='${libname}${release}${shared_ext}$major'
15726 dynamic_linker
='NetBSD ld.elf_so'
15728 shlibpath_var
=LD_LIBRARY_PATH
15729 shlibpath_overrides_runpath
=yes
15730 hardcode_into_libs
=yes
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15736 shlibpath_var
=LD_LIBRARY_PATH
15737 shlibpath_overrides_runpath
=yes
15744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15745 soname_spec
='${libname}${release}${shared_ext}$major'
15746 shlibpath_var
=LD_LIBRARY_PATH
15747 shlibpath_overrides_runpath
=no
15748 hardcode_into_libs
=yes
15749 dynamic_linker
='ldqnx.so'
15754 sys_lib_dlsearch_path_spec
="/usr/lib"
15756 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15758 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15759 *) need_version
=no
;;
15761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15762 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15763 shlibpath_var
=LD_LIBRARY_PATH
15764 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15766 openbsd2.
[89] | openbsd2.
[89].
*)
15767 shlibpath_overrides_runpath
=no
15770 shlibpath_overrides_runpath
=yes
15774 shlibpath_overrides_runpath
=yes
15779 libname_spec
='$name'
15782 library_names_spec
='$libname${shared_ext} $libname.a'
15783 dynamic_linker
='OS/2 ld.exe'
15784 shlibpath_var
=LIBPATH
15787 osf3
* | osf4
* | osf5
*)
15791 soname_spec
='${libname}${release}${shared_ext}$major'
15792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15793 shlibpath_var
=LD_LIBRARY_PATH
15794 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15795 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15807 soname_spec
='${libname}${release}${shared_ext}$major'
15808 shlibpath_var
=LD_LIBRARY_PATH
15809 shlibpath_overrides_runpath
=yes
15810 hardcode_into_libs
=yes
15811 # ldd complains unless libraries are executable
15812 postinstall_cmds
='chmod +x $lib'
15817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15818 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15819 shlibpath_var
=LD_LIBRARY_PATH
15820 shlibpath_overrides_runpath
=yes
15821 if test "$with_gnu_ld" = yes; then
15829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15830 soname_spec
='${libname}${release}${shared_ext}$major'
15831 shlibpath_var
=LD_LIBRARY_PATH
15832 case $host_vendor in
15834 shlibpath_overrides_runpath
=no
15836 runpath_var
=LD_RUN_PATH
15844 shlibpath_overrides_runpath
=no
15845 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15851 if test -d /usr
/nec
;then
15853 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15854 soname_spec
='$libname${shared_ext}.$major'
15855 shlibpath_var
=LD_LIBRARY_PATH
15859 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15860 version_type
=freebsd-elf
15863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15864 soname_spec
='${libname}${release}${shared_ext}$major'
15865 shlibpath_var
=LD_LIBRARY_PATH
15866 shlibpath_overrides_runpath
=yes
15867 hardcode_into_libs
=yes
15868 if test "$with_gnu_ld" = yes; then
15869 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15871 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15874 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15878 sys_lib_dlsearch_path_spec
='/usr/lib'
15882 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15887 shlibpath_var
=LD_LIBRARY_PATH
15888 shlibpath_overrides_runpath
=no
15889 hardcode_into_libs
=yes
15894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15895 soname_spec
='${libname}${release}${shared_ext}$major'
15896 shlibpath_var
=LD_LIBRARY_PATH
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15904 $as_echo "$dynamic_linker" >&6; }
15905 test "$dynamic_linker" = no
&& can_build_shared
=no
15907 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15908 if test "$GCC" = yes; then
15909 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15912 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15913 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15916 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15957 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15958 hardcode_action_FC
=
15959 if test -n "$hardcode_libdir_flag_spec_FC" ||
15960 test -n "$runpath_var_FC" ||
15961 test "X$hardcode_automatic_FC" = "Xyes" ; then
15963 # We can hardcode non-existent directories.
15964 if test "$hardcode_direct_FC" != no
&&
15965 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15966 # have to relink, otherwise we might link with an installed library
15967 # when we should be linking with a yet-to-be-installed one
15968 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15969 test "$hardcode_minus_L_FC" != no
; then
15970 # Linking always hardcodes the temporary library directory.
15971 hardcode_action_FC
=relink
15973 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15974 hardcode_action_FC
=immediate
15977 # We cannot hardcode anything, or else we can only hardcode existing
15979 hardcode_action_FC
=unsupported
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15982 $as_echo "$hardcode_action_FC" >&6; }
15984 if test "$hardcode_action_FC" = relink ||
15985 test "$inherit_rpath_FC" = yes; then
15986 # Fast installation is not supported
15987 enable_fast_install
=no
15988 elif test "$shlibpath_overrides_runpath" = yes ||
15989 test "$enable_shared" = no
; then
15990 # Fast installation is not necessary
15991 enable_fast_install
=needless
16000 fi # test -n "$compiler"
16004 fi # test "$_lt_disable_FC" != yes
16007 ac_cpp
='$CPP $CPPFLAGS'
16008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16014 # extra LD Flags which are required for targets
16017 # Darwin needs -single_module when linking libgfortran
16018 extra_ldflags_libgfortran
=-Wl,-single_module
16023 # We need a working compiler at that point, otherwise give a clear
16024 # error message and bail out.
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16027 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16028 ac_ext
=${ac_fc_srcext-f}
16029 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16030 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16033 cat > conftest.
$ac_ext <<_ACEOF
16036 real, parameter :: bar = sin (12.34 / 2.5)
16039 if ac_fn_fc_try_compile
"$LINENO"; then :
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16041 $as_echo "yes" >&6; }
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16044 $as_echo "no" >&6; }
16045 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16050 ac_cpp
='$CPP $CPPFLAGS'
16051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16057 # Check whether --enable-largefile was given.
16058 if test "${enable_largefile+set}" = set; then :
16059 enableval
=$enable_largefile;
16062 if test "$enable_largefile" != no
; then
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16065 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16066 if ${ac_cv_sys_largefile_CC+:} false
; then :
16067 $as_echo_n "(cached) " >&6
16069 ac_cv_sys_largefile_CC
=no
16070 if test "$GCC" != yes; then
16073 # IRIX 6.2 and later do not support large files by default,
16074 # so use the C compiler's -n32 option if that helps.
16075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16077 #include <sys/types.h>
16078 /* Check that off_t can represent 2**63 - 1 correctly.
16079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16080 since some C++ compilers masquerading as C compilers
16081 incorrectly reject 9223372036854775807. */
16082 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16084 && LARGE_OFF_T % 2147483647 == 1)
16094 if ac_fn_c_try_compile
"$LINENO"; then :
16097 rm -f core conftest.err conftest.
$ac_objext
16099 if ac_fn_c_try_compile
"$LINENO"; then :
16100 ac_cv_sys_largefile_CC
=' -n32'; break
16102 rm -f core conftest.err conftest.
$ac_objext
16106 rm -f conftest.
$ac_ext
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16110 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16111 if test "$ac_cv_sys_largefile_CC" != no
; then
16112 CC
=$CC$ac_cv_sys_largefile_CC
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16116 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16117 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16118 $as_echo_n "(cached) " >&6
16121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16122 /* end confdefs.h. */
16123 #include <sys/types.h>
16124 /* Check that off_t can represent 2**63 - 1 correctly.
16125 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16126 since some C++ compilers masquerading as C compilers
16127 incorrectly reject 9223372036854775807. */
16128 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16130 && LARGE_OFF_T % 2147483647 == 1)
16140 if ac_fn_c_try_compile
"$LINENO"; then :
16141 ac_cv_sys_file_offset_bits
=no
; break
16143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16145 /* end confdefs.h. */
16146 #define _FILE_OFFSET_BITS 64
16147 #include <sys/types.h>
16148 /* Check that off_t can represent 2**63 - 1 correctly.
16149 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16150 since some C++ compilers masquerading as C compilers
16151 incorrectly reject 9223372036854775807. */
16152 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16153 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16154 && LARGE_OFF_T % 2147483647 == 1)
16164 if ac_fn_c_try_compile
"$LINENO"; then :
16165 ac_cv_sys_file_offset_bits
=64; break
16167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16168 ac_cv_sys_file_offset_bits
=unknown
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16173 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16174 case $ac_cv_sys_file_offset_bits in #(
16177 cat >>confdefs.h
<<_ACEOF
16178 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16183 if test $ac_cv_sys_file_offset_bits = unknown
; then
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16185 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16186 if ${ac_cv_sys_large_files+:} false
; then :
16187 $as_echo_n "(cached) " >&6
16190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <sys/types.h>
16193 /* Check that off_t can represent 2**63 - 1 correctly.
16194 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16195 since some C++ compilers masquerading as C compilers
16196 incorrectly reject 9223372036854775807. */
16197 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16198 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16199 && LARGE_OFF_T % 2147483647 == 1)
16209 if ac_fn_c_try_compile
"$LINENO"; then :
16210 ac_cv_sys_large_files
=no
; break
16212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 #define _LARGE_FILES 1
16216 #include <sys/types.h>
16217 /* Check that off_t can represent 2**63 - 1 correctly.
16218 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16219 since some C++ compilers masquerading as C compilers
16220 incorrectly reject 9223372036854775807. */
16221 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16222 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16223 && LARGE_OFF_T % 2147483647 == 1)
16233 if ac_fn_c_try_compile
"$LINENO"; then :
16234 ac_cv_sys_large_files
=1; break
16236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16237 ac_cv_sys_large_files
=unknown
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16242 $as_echo "$ac_cv_sys_large_files" >&6; }
16243 case $ac_cv_sys_large_files in #(
16246 cat >>confdefs.h
<<_ACEOF
16247 #define _LARGE_FILES $ac_cv_sys_large_files
16259 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16260 if test "x$ac_cv_type_off_t" = xyes
; then :
16264 cat >>confdefs.h
<<_ACEOF
16265 #define off_t long int
16271 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16272 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16274 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16277 for ac_type
in 'int' 'long int' 'long long int'; do
16278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16280 $ac_includes_default
16284 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16285 test_array [0] = 0;
16286 return test_array [0];
16292 if ac_fn_c_try_compile
"$LINENO"; then :
16294 cat >>confdefs.h
<<_ACEOF
16295 #define intptr_t $ac_type
16300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16301 test -z "$ac_type" && break
16307 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16308 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16310 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16313 for ac_type
in 'unsigned int' 'unsigned long int' \
16314 'unsigned long long int'; do
16315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16317 $ac_includes_default
16321 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16322 test_array [0] = 0;
16323 return test_array [0];
16329 if ac_fn_c_try_compile
"$LINENO"; then :
16331 cat >>confdefs.h
<<_ACEOF
16332 #define uintptr_t $ac_type
16337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16338 test -z "$ac_type" && break
16343 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16344 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16346 cat >>confdefs.h
<<_ACEOF
16347 #define HAVE_PTRDIFF_T 1
16354 # check header files (we assume C89 is available, so don't check for that)
16358 for ac_header
in $ac_header_list
16360 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16361 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16363 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16364 cat >>confdefs.h
<<_ACEOF
16365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16410 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16412 acx_cv_header_stdint
=stddef.h
16413 acx_cv_header_stdint_kind
="(already complete)"
16414 for i
in stdint.h
$inttype_headers; do
16415 unset ac_cv_type_uintptr_t
16416 unset ac_cv_type_uintmax_t
16417 unset ac_cv_type_int_least32_t
16418 unset ac_cv_type_int_fast32_t
16419 unset ac_cv_type_uint64_t
16420 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16421 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16424 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16425 acx_cv_header_stdint
=$i
16430 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16433 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16436 acx_cv_header_stdint_kind
="(mostly complete)"
16439 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16442 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16445 acx_cv_header_stdint_kind
="(mostly complete)"
16448 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16451 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16454 acx_cv_header_stdint_kind
="(mostly complete)"
16457 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16460 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16463 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16468 if test "$acx_cv_header_stdint" = stddef.h
; then
16469 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16470 for i
in stdint.h
$inttype_headers; do
16471 unset ac_cv_type_uintptr_t
16472 unset ac_cv_type_uint32_t
16473 unset ac_cv_type_uint64_t
16474 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16475 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16478 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16479 acx_cv_header_stdint
=$i
16484 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16487 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16491 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16494 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16501 if test "$acx_cv_header_stdint" = stddef.h
; then
16502 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16503 for i
in sys
/types.h
$inttype_headers; do
16504 unset ac_cv_type_u_int32_t
16505 unset ac_cv_type_u_int64_t
16506 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16507 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16510 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16511 acx_cv_header_stdint
=$i
16516 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16519 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16526 if test "$acx_cv_header_stdint" = stddef.h
; then
16527 acx_cv_header_stdint_kind
="(using manual detection)"
16530 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16531 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16532 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16533 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16534 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16536 # ----------------- Summarize what we found so far
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16539 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16541 case `$as_basename -- gstdint.h ||
16542 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16543 Xgstdint.h : 'X\(//\)$' \| \
16544 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16545 $as_echo X/gstdint.h |
16546 sed '/^.*\/\([^/][^/]*\)\/*$/{
16559 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16560 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16561 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16562 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16567 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16569 # ----------------- done included file, check C basic types --------
16571 # Lacking an uintptr_t? Test size of void *
16572 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16573 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16576 # This bug is HP SR number 8606223364.
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16578 $as_echo_n "checking size of void *... " >&6; }
16579 if ${ac_cv_sizeof_void_p+:} false
; then :
16580 $as_echo_n "(cached) " >&6
16582 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16585 if test "$ac_cv_type_void_p" = yes; then
16586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16588 as_fn_error
77 "cannot compute sizeof (void *)
16589 See \`config.log' for more details" "$LINENO" 5; }
16591 ac_cv_sizeof_void_p
=0
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16597 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16601 cat >>confdefs.h
<<_ACEOF
16602 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16608 # Lacking an uint64_t? Test size of long
16609 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16610 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16611 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16612 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16613 # This bug is HP SR number 8606223364.
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16615 $as_echo_n "checking size of long... " >&6; }
16616 if ${ac_cv_sizeof_long+:} false
; then :
16617 $as_echo_n "(cached) " >&6
16619 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16622 if test "$ac_cv_type_long" = yes; then
16623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16625 as_fn_error
77 "cannot compute sizeof (long)
16626 See \`config.log' for more details" "$LINENO" 5; }
16628 ac_cv_sizeof_long
=0
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16634 $as_echo "$ac_cv_sizeof_long" >&6; }
16638 cat >>confdefs.h
<<_ACEOF
16639 #define SIZEOF_LONG $ac_cv_sizeof_long
16645 if test $acx_cv_header_stdint = stddef.h
; then
16646 # Lacking a good header? Test size of everything and deduce all types.
16647 # The cast to long int works around a bug in the HP C Compiler
16648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16649 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16650 # This bug is HP SR number 8606223364.
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16652 $as_echo_n "checking size of int... " >&6; }
16653 if ${ac_cv_sizeof_int+:} false
; then :
16654 $as_echo_n "(cached) " >&6
16656 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16659 if test "$ac_cv_type_int" = yes; then
16660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16662 as_fn_error
77 "cannot compute sizeof (int)
16663 See \`config.log' for more details" "$LINENO" 5; }
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16671 $as_echo "$ac_cv_sizeof_int" >&6; }
16675 cat >>confdefs.h
<<_ACEOF
16676 #define SIZEOF_INT $ac_cv_sizeof_int
16680 # The cast to long int works around a bug in the HP C Compiler
16681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16683 # This bug is HP SR number 8606223364.
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16685 $as_echo_n "checking size of short... " >&6; }
16686 if ${ac_cv_sizeof_short+:} false
; then :
16687 $as_echo_n "(cached) " >&6
16689 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16692 if test "$ac_cv_type_short" = yes; then
16693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16695 as_fn_error
77 "cannot compute sizeof (short)
16696 See \`config.log' for more details" "$LINENO" 5; }
16698 ac_cv_sizeof_short
=0
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16704 $as_echo "$ac_cv_sizeof_short" >&6; }
16708 cat >>confdefs.h
<<_ACEOF
16709 #define SIZEOF_SHORT $ac_cv_sizeof_short
16713 # The cast to long int works around a bug in the HP C Compiler
16714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16716 # This bug is HP SR number 8606223364.
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16718 $as_echo_n "checking size of char... " >&6; }
16719 if ${ac_cv_sizeof_char+:} false
; then :
16720 $as_echo_n "(cached) " >&6
16722 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16725 if test "$ac_cv_type_char" = yes; then
16726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16728 as_fn_error
77 "cannot compute sizeof (char)
16729 See \`config.log' for more details" "$LINENO" 5; }
16731 ac_cv_sizeof_char
=0
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16737 $as_echo "$ac_cv_sizeof_char" >&6; }
16741 cat >>confdefs.h
<<_ACEOF
16742 #define SIZEOF_CHAR $ac_cv_sizeof_char
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16748 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16749 case "$ac_cv_sizeof_char" in
16750 1) acx_cv_type_int8_t
=char
;;
16751 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16754 $as_echo "$acx_cv_type_int8_t" >&6; }
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16757 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16758 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16759 2:*) acx_cv_type_int16_t
=int
;;
16760 *:2) acx_cv_type_int16_t
=short
;;
16761 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16764 $as_echo "$acx_cv_type_int16_t" >&6; }
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16767 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16768 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16769 4:*) acx_cv_type_int32_t
=int
;;
16770 *:4) acx_cv_type_int32_t
=long
;;
16771 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16774 $as_echo "$acx_cv_type_int32_t" >&6; }
16777 # These tests are here to make the output prettier
16779 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16780 case "$ac_cv_sizeof_long" in
16781 8) acx_cv_type_int64_t
=long
;;
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16784 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16786 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16789 # Now we can use the above types
16791 if test "$ac_cv_type_uintptr_t" != yes; then
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16793 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16794 case $ac_cv_sizeof_void_p in
16795 2) acx_cv_type_intptr_t
=int16_t
;;
16796 4) acx_cv_type_intptr_t
=int32_t
;;
16797 8) acx_cv_type_intptr_t
=int64_t
;;
16798 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16801 $as_echo "$acx_cv_type_intptr_t" >&6; }
16804 # ----------------- done all checks, emit header -------------
16805 ac_config_commands
="$ac_config_commands gstdint.h"
16810 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16811 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16813 cat >>confdefs.h
<<_ACEOF
16814 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16819 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16820 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16822 cat >>confdefs.h
<<_ACEOF
16823 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16828 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16829 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
16831 cat >>confdefs.h
<<_ACEOF
16832 #define HAVE_STRUCT_STAT_ST_RDEV 1
16839 case "${host}--x${with_newlib}" in
16841 hardwire_newlib
=1;;
16843 hardwire_newlib
=1;;
16846 # Check for library functions.
16847 if test "${hardwire_newlib:-0}" -eq 1; then
16848 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16849 # may not work correctly, because the compiler may not be able to
16850 # link executables.
16852 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16855 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16858 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16861 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16864 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16867 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16870 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16873 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16876 # At some point, we should differentiate between architectures
16877 # like x86, which have long double versions, and alpha/powerpc/etc.,
16878 # which don't. For the time being, punt.
16879 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16881 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16888 for ac_func
in $ac_func_list
16890 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16891 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16892 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16893 cat >>confdefs.h
<<_ACEOF
16894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17011 # Check strerror_r, cannot be above as versions with two and three arguments exist
17013 ac_save_CFLAGS
="$CFLAGS"
17014 CFLAGS
="-Wimplicit-function-declaration -Werror"
17015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17017 #define _GNU_SOURCE 1
17018 #include <string.h>
17019 #include <locale.h>
17023 char s[128]; strerror_r(5, s, 128);
17028 if ac_fn_c_try_compile
"$LINENO"; then :
17030 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17034 CFLAGS
="$ac_save_CFLAGS"
17036 ac_save_CFLAGS
="$CFLAGS"
17037 CFLAGS
="-Wimplicit-function-declaration -Werror"
17038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 #define _GNU_SOURCE 1
17041 #include <string.h>
17042 #include <locale.h>
17046 char s[128]; strerror_r(5, s);
17051 if ac_fn_c_try_compile
"$LINENO"; then :
17053 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17057 CFLAGS
="$ac_save_CFLAGS"
17060 # Check for C99 (and other IEEE) math functions
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17062 $as_echo_n "checking for sin in -lm... " >&6; }
17063 if ${ac_cv_lib_m_sin+:} false
; then :
17064 $as_echo_n "(cached) " >&6
17066 ac_check_lib_save_LIBS
=$LIBS
17068 if test x
$gcc_no_link = xyes
; then
17069 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17089 if ac_fn_c_try_link
"$LINENO"; then :
17090 ac_cv_lib_m_sin
=yes
17094 rm -f core conftest.err conftest.
$ac_objext \
17095 conftest
$ac_exeext conftest.
$ac_ext
17096 LIBS
=$ac_check_lib_save_LIBS
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17099 $as_echo "$ac_cv_lib_m_sin" >&6; }
17100 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17101 cat >>confdefs.h
<<_ACEOF
17102 #define HAVE_LIBM 1
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17116 $as_echo_n "checking for acosf... " >&6; }
17117 if ${gcc_cv_math_func_acosf+:} false
; then :
17118 $as_echo_n "(cached) " >&6
17120 if test x
$gcc_no_link = xyes
; then
17121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17126 #ifdef HAVE_COMPLEX_H
17127 #include <complex.h>
17133 int (*ptr)() = (int (*)())acosf;
17142 if ac_fn_c_try_link
"$LINENO"; then :
17143 gcc_cv_math_func_acosf
=yes
17145 gcc_cv_math_func_acosf
=no
17147 rm -f core conftest.err conftest.
$ac_objext \
17148 conftest
$ac_exeext conftest.
$ac_ext
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17151 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17152 if test $gcc_cv_math_func_acosf = yes; then
17154 cat >>confdefs.h
<<_ACEOF
17155 #define HAVE_ACOSF 1
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17164 $as_echo_n "checking for acos... " >&6; }
17165 if ${gcc_cv_math_func_acos+:} false
; then :
17166 $as_echo_n "(cached) " >&6
17168 if test x
$gcc_no_link = xyes
; then
17169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17174 #ifdef HAVE_COMPLEX_H
17175 #include <complex.h>
17181 int (*ptr)() = (int (*)())acos;
17190 if ac_fn_c_try_link
"$LINENO"; then :
17191 gcc_cv_math_func_acos
=yes
17193 gcc_cv_math_func_acos
=no
17195 rm -f core conftest.err conftest.
$ac_objext \
17196 conftest
$ac_exeext conftest.
$ac_ext
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17199 $as_echo "$gcc_cv_math_func_acos" >&6; }
17200 if test $gcc_cv_math_func_acos = yes; then
17202 cat >>confdefs.h
<<_ACEOF
17203 #define HAVE_ACOS 1
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17212 $as_echo_n "checking for acosl... " >&6; }
17213 if ${gcc_cv_math_func_acosl+:} false
; then :
17214 $as_echo_n "(cached) " >&6
17216 if test x
$gcc_no_link = xyes
; then
17217 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17222 #ifdef HAVE_COMPLEX_H
17223 #include <complex.h>
17229 int (*ptr)() = (int (*)())acosl;
17238 if ac_fn_c_try_link
"$LINENO"; then :
17239 gcc_cv_math_func_acosl
=yes
17241 gcc_cv_math_func_acosl
=no
17243 rm -f core conftest.err conftest.
$ac_objext \
17244 conftest
$ac_exeext conftest.
$ac_ext
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17247 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17248 if test $gcc_cv_math_func_acosl = yes; then
17250 cat >>confdefs.h
<<_ACEOF
17251 #define HAVE_ACOSL 1
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17260 $as_echo_n "checking for acoshf... " >&6; }
17261 if ${gcc_cv_math_func_acoshf+:} false
; then :
17262 $as_echo_n "(cached) " >&6
17264 if test x
$gcc_no_link = xyes
; then
17265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 #ifdef HAVE_COMPLEX_H
17271 #include <complex.h>
17277 int (*ptr)() = (int (*)())acoshf;
17286 if ac_fn_c_try_link
"$LINENO"; then :
17287 gcc_cv_math_func_acoshf
=yes
17289 gcc_cv_math_func_acoshf
=no
17291 rm -f core conftest.err conftest.
$ac_objext \
17292 conftest
$ac_exeext conftest.
$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17295 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17296 if test $gcc_cv_math_func_acoshf = yes; then
17298 cat >>confdefs.h
<<_ACEOF
17299 #define HAVE_ACOSHF 1
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17308 $as_echo_n "checking for acosh... " >&6; }
17309 if ${gcc_cv_math_func_acosh+:} false
; then :
17310 $as_echo_n "(cached) " >&6
17312 if test x
$gcc_no_link = xyes
; then
17313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17318 #ifdef HAVE_COMPLEX_H
17319 #include <complex.h>
17325 int (*ptr)() = (int (*)())acosh;
17334 if ac_fn_c_try_link
"$LINENO"; then :
17335 gcc_cv_math_func_acosh
=yes
17337 gcc_cv_math_func_acosh
=no
17339 rm -f core conftest.err conftest.
$ac_objext \
17340 conftest
$ac_exeext conftest.
$ac_ext
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17343 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17344 if test $gcc_cv_math_func_acosh = yes; then
17346 cat >>confdefs.h
<<_ACEOF
17347 #define HAVE_ACOSH 1
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17356 $as_echo_n "checking for acoshl... " >&6; }
17357 if ${gcc_cv_math_func_acoshl+:} false
; then :
17358 $as_echo_n "(cached) " >&6
17360 if test x
$gcc_no_link = xyes
; then
17361 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17366 #ifdef HAVE_COMPLEX_H
17367 #include <complex.h>
17373 int (*ptr)() = (int (*)())acoshl;
17382 if ac_fn_c_try_link
"$LINENO"; then :
17383 gcc_cv_math_func_acoshl
=yes
17385 gcc_cv_math_func_acoshl
=no
17387 rm -f core conftest.err conftest.
$ac_objext \
17388 conftest
$ac_exeext conftest.
$ac_ext
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17391 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17392 if test $gcc_cv_math_func_acoshl = yes; then
17394 cat >>confdefs.h
<<_ACEOF
17395 #define HAVE_ACOSHL 1
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17404 $as_echo_n "checking for asinf... " >&6; }
17405 if ${gcc_cv_math_func_asinf+:} false
; then :
17406 $as_echo_n "(cached) " >&6
17408 if test x
$gcc_no_link = xyes
; then
17409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17414 #ifdef HAVE_COMPLEX_H
17415 #include <complex.h>
17421 int (*ptr)() = (int (*)())asinf;
17430 if ac_fn_c_try_link
"$LINENO"; then :
17431 gcc_cv_math_func_asinf
=yes
17433 gcc_cv_math_func_asinf
=no
17435 rm -f core conftest.err conftest.
$ac_objext \
17436 conftest
$ac_exeext conftest.
$ac_ext
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17439 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17440 if test $gcc_cv_math_func_asinf = yes; then
17442 cat >>confdefs.h
<<_ACEOF
17443 #define HAVE_ASINF 1
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17452 $as_echo_n "checking for asin... " >&6; }
17453 if ${gcc_cv_math_func_asin+:} false
; then :
17454 $as_echo_n "(cached) " >&6
17456 if test x
$gcc_no_link = xyes
; then
17457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17462 #ifdef HAVE_COMPLEX_H
17463 #include <complex.h>
17469 int (*ptr)() = (int (*)())asin;
17478 if ac_fn_c_try_link
"$LINENO"; then :
17479 gcc_cv_math_func_asin
=yes
17481 gcc_cv_math_func_asin
=no
17483 rm -f core conftest.err conftest.
$ac_objext \
17484 conftest
$ac_exeext conftest.
$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17487 $as_echo "$gcc_cv_math_func_asin" >&6; }
17488 if test $gcc_cv_math_func_asin = yes; then
17490 cat >>confdefs.h
<<_ACEOF
17491 #define HAVE_ASIN 1
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17500 $as_echo_n "checking for asinl... " >&6; }
17501 if ${gcc_cv_math_func_asinl+:} false
; then :
17502 $as_echo_n "(cached) " >&6
17504 if test x
$gcc_no_link = xyes
; then
17505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17510 #ifdef HAVE_COMPLEX_H
17511 #include <complex.h>
17517 int (*ptr)() = (int (*)())asinl;
17526 if ac_fn_c_try_link
"$LINENO"; then :
17527 gcc_cv_math_func_asinl
=yes
17529 gcc_cv_math_func_asinl
=no
17531 rm -f core conftest.err conftest.
$ac_objext \
17532 conftest
$ac_exeext conftest.
$ac_ext
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17535 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17536 if test $gcc_cv_math_func_asinl = yes; then
17538 cat >>confdefs.h
<<_ACEOF
17539 #define HAVE_ASINL 1
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17548 $as_echo_n "checking for asinhf... " >&6; }
17549 if ${gcc_cv_math_func_asinhf+:} false
; then :
17550 $as_echo_n "(cached) " >&6
17552 if test x
$gcc_no_link = xyes
; then
17553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17558 #ifdef HAVE_COMPLEX_H
17559 #include <complex.h>
17565 int (*ptr)() = (int (*)())asinhf;
17574 if ac_fn_c_try_link
"$LINENO"; then :
17575 gcc_cv_math_func_asinhf
=yes
17577 gcc_cv_math_func_asinhf
=no
17579 rm -f core conftest.err conftest.
$ac_objext \
17580 conftest
$ac_exeext conftest.
$ac_ext
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17583 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17584 if test $gcc_cv_math_func_asinhf = yes; then
17586 cat >>confdefs.h
<<_ACEOF
17587 #define HAVE_ASINHF 1
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17596 $as_echo_n "checking for asinh... " >&6; }
17597 if ${gcc_cv_math_func_asinh+:} false
; then :
17598 $as_echo_n "(cached) " >&6
17600 if test x
$gcc_no_link = xyes
; then
17601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17606 #ifdef HAVE_COMPLEX_H
17607 #include <complex.h>
17613 int (*ptr)() = (int (*)())asinh;
17622 if ac_fn_c_try_link
"$LINENO"; then :
17623 gcc_cv_math_func_asinh
=yes
17625 gcc_cv_math_func_asinh
=no
17627 rm -f core conftest.err conftest.
$ac_objext \
17628 conftest
$ac_exeext conftest.
$ac_ext
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17631 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17632 if test $gcc_cv_math_func_asinh = yes; then
17634 cat >>confdefs.h
<<_ACEOF
17635 #define HAVE_ASINH 1
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17644 $as_echo_n "checking for asinhl... " >&6; }
17645 if ${gcc_cv_math_func_asinhl+:} false
; then :
17646 $as_echo_n "(cached) " >&6
17648 if test x
$gcc_no_link = xyes
; then
17649 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17654 #ifdef HAVE_COMPLEX_H
17655 #include <complex.h>
17661 int (*ptr)() = (int (*)())asinhl;
17670 if ac_fn_c_try_link
"$LINENO"; then :
17671 gcc_cv_math_func_asinhl
=yes
17673 gcc_cv_math_func_asinhl
=no
17675 rm -f core conftest.err conftest.
$ac_objext \
17676 conftest
$ac_exeext conftest.
$ac_ext
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17679 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17680 if test $gcc_cv_math_func_asinhl = yes; then
17682 cat >>confdefs.h
<<_ACEOF
17683 #define HAVE_ASINHL 1
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17692 $as_echo_n "checking for atan2f... " >&6; }
17693 if ${gcc_cv_math_func_atan2f+:} false
; then :
17694 $as_echo_n "(cached) " >&6
17696 if test x
$gcc_no_link = xyes
; then
17697 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17702 #ifdef HAVE_COMPLEX_H
17703 #include <complex.h>
17709 int (*ptr)() = (int (*)())atan2f;
17718 if ac_fn_c_try_link
"$LINENO"; then :
17719 gcc_cv_math_func_atan2f
=yes
17721 gcc_cv_math_func_atan2f
=no
17723 rm -f core conftest.err conftest.
$ac_objext \
17724 conftest
$ac_exeext conftest.
$ac_ext
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17727 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17728 if test $gcc_cv_math_func_atan2f = yes; then
17730 cat >>confdefs.h
<<_ACEOF
17731 #define HAVE_ATAN2F 1
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17740 $as_echo_n "checking for atan2... " >&6; }
17741 if ${gcc_cv_math_func_atan2+:} false
; then :
17742 $as_echo_n "(cached) " >&6
17744 if test x
$gcc_no_link = xyes
; then
17745 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17750 #ifdef HAVE_COMPLEX_H
17751 #include <complex.h>
17757 int (*ptr)() = (int (*)())atan2;
17766 if ac_fn_c_try_link
"$LINENO"; then :
17767 gcc_cv_math_func_atan2
=yes
17769 gcc_cv_math_func_atan2
=no
17771 rm -f core conftest.err conftest.
$ac_objext \
17772 conftest
$ac_exeext conftest.
$ac_ext
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17775 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17776 if test $gcc_cv_math_func_atan2 = yes; then
17778 cat >>confdefs.h
<<_ACEOF
17779 #define HAVE_ATAN2 1
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17788 $as_echo_n "checking for atan2l... " >&6; }
17789 if ${gcc_cv_math_func_atan2l+:} false
; then :
17790 $as_echo_n "(cached) " >&6
17792 if test x
$gcc_no_link = xyes
; then
17793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17798 #ifdef HAVE_COMPLEX_H
17799 #include <complex.h>
17805 int (*ptr)() = (int (*)())atan2l;
17814 if ac_fn_c_try_link
"$LINENO"; then :
17815 gcc_cv_math_func_atan2l
=yes
17817 gcc_cv_math_func_atan2l
=no
17819 rm -f core conftest.err conftest.
$ac_objext \
17820 conftest
$ac_exeext conftest.
$ac_ext
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17823 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17824 if test $gcc_cv_math_func_atan2l = yes; then
17826 cat >>confdefs.h
<<_ACEOF
17827 #define HAVE_ATAN2L 1
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17836 $as_echo_n "checking for atanf... " >&6; }
17837 if ${gcc_cv_math_func_atanf+:} false
; then :
17838 $as_echo_n "(cached) " >&6
17840 if test x
$gcc_no_link = xyes
; then
17841 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17846 #ifdef HAVE_COMPLEX_H
17847 #include <complex.h>
17853 int (*ptr)() = (int (*)())atanf;
17862 if ac_fn_c_try_link
"$LINENO"; then :
17863 gcc_cv_math_func_atanf
=yes
17865 gcc_cv_math_func_atanf
=no
17867 rm -f core conftest.err conftest.
$ac_objext \
17868 conftest
$ac_exeext conftest.
$ac_ext
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17871 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17872 if test $gcc_cv_math_func_atanf = yes; then
17874 cat >>confdefs.h
<<_ACEOF
17875 #define HAVE_ATANF 1
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17884 $as_echo_n "checking for atan... " >&6; }
17885 if ${gcc_cv_math_func_atan+:} false
; then :
17886 $as_echo_n "(cached) " >&6
17888 if test x
$gcc_no_link = xyes
; then
17889 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 #ifdef HAVE_COMPLEX_H
17895 #include <complex.h>
17901 int (*ptr)() = (int (*)())atan;
17910 if ac_fn_c_try_link
"$LINENO"; then :
17911 gcc_cv_math_func_atan
=yes
17913 gcc_cv_math_func_atan
=no
17915 rm -f core conftest.err conftest.
$ac_objext \
17916 conftest
$ac_exeext conftest.
$ac_ext
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17919 $as_echo "$gcc_cv_math_func_atan" >&6; }
17920 if test $gcc_cv_math_func_atan = yes; then
17922 cat >>confdefs.h
<<_ACEOF
17923 #define HAVE_ATAN 1
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17932 $as_echo_n "checking for atanl... " >&6; }
17933 if ${gcc_cv_math_func_atanl+:} false
; then :
17934 $as_echo_n "(cached) " >&6
17936 if test x
$gcc_no_link = xyes
; then
17937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17942 #ifdef HAVE_COMPLEX_H
17943 #include <complex.h>
17949 int (*ptr)() = (int (*)())atanl;
17958 if ac_fn_c_try_link
"$LINENO"; then :
17959 gcc_cv_math_func_atanl
=yes
17961 gcc_cv_math_func_atanl
=no
17963 rm -f core conftest.err conftest.
$ac_objext \
17964 conftest
$ac_exeext conftest.
$ac_ext
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17967 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17968 if test $gcc_cv_math_func_atanl = yes; then
17970 cat >>confdefs.h
<<_ACEOF
17971 #define HAVE_ATANL 1
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17980 $as_echo_n "checking for atanhf... " >&6; }
17981 if ${gcc_cv_math_func_atanhf+:} false
; then :
17982 $as_echo_n "(cached) " >&6
17984 if test x
$gcc_no_link = xyes
; then
17985 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 #ifdef HAVE_COMPLEX_H
17991 #include <complex.h>
17997 int (*ptr)() = (int (*)())atanhf;
18006 if ac_fn_c_try_link
"$LINENO"; then :
18007 gcc_cv_math_func_atanhf
=yes
18009 gcc_cv_math_func_atanhf
=no
18011 rm -f core conftest.err conftest.
$ac_objext \
18012 conftest
$ac_exeext conftest.
$ac_ext
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18015 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18016 if test $gcc_cv_math_func_atanhf = yes; then
18018 cat >>confdefs.h
<<_ACEOF
18019 #define HAVE_ATANHF 1
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18028 $as_echo_n "checking for atanh... " >&6; }
18029 if ${gcc_cv_math_func_atanh+:} false
; then :
18030 $as_echo_n "(cached) " >&6
18032 if test x
$gcc_no_link = xyes
; then
18033 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18038 #ifdef HAVE_COMPLEX_H
18039 #include <complex.h>
18045 int (*ptr)() = (int (*)())atanh;
18054 if ac_fn_c_try_link
"$LINENO"; then :
18055 gcc_cv_math_func_atanh
=yes
18057 gcc_cv_math_func_atanh
=no
18059 rm -f core conftest.err conftest.
$ac_objext \
18060 conftest
$ac_exeext conftest.
$ac_ext
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18063 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18064 if test $gcc_cv_math_func_atanh = yes; then
18066 cat >>confdefs.h
<<_ACEOF
18067 #define HAVE_ATANH 1
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18076 $as_echo_n "checking for atanhl... " >&6; }
18077 if ${gcc_cv_math_func_atanhl+:} false
; then :
18078 $as_echo_n "(cached) " >&6
18080 if test x
$gcc_no_link = xyes
; then
18081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h. */
18086 #ifdef HAVE_COMPLEX_H
18087 #include <complex.h>
18093 int (*ptr)() = (int (*)())atanhl;
18102 if ac_fn_c_try_link
"$LINENO"; then :
18103 gcc_cv_math_func_atanhl
=yes
18105 gcc_cv_math_func_atanhl
=no
18107 rm -f core conftest.err conftest.
$ac_objext \
18108 conftest
$ac_exeext conftest.
$ac_ext
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18111 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18112 if test $gcc_cv_math_func_atanhl = yes; then
18114 cat >>confdefs.h
<<_ACEOF
18115 #define HAVE_ATANHL 1
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18124 $as_echo_n "checking for cargf... " >&6; }
18125 if ${gcc_cv_math_func_cargf+:} false
; then :
18126 $as_echo_n "(cached) " >&6
18128 if test x
$gcc_no_link = xyes
; then
18129 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18134 #ifdef HAVE_COMPLEX_H
18135 #include <complex.h>
18141 int (*ptr)() = (int (*)())cargf;
18150 if ac_fn_c_try_link
"$LINENO"; then :
18151 gcc_cv_math_func_cargf
=yes
18153 gcc_cv_math_func_cargf
=no
18155 rm -f core conftest.err conftest.
$ac_objext \
18156 conftest
$ac_exeext conftest.
$ac_ext
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18159 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18160 if test $gcc_cv_math_func_cargf = yes; then
18162 cat >>confdefs.h
<<_ACEOF
18163 #define HAVE_CARGF 1
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18172 $as_echo_n "checking for carg... " >&6; }
18173 if ${gcc_cv_math_func_carg+:} false
; then :
18174 $as_echo_n "(cached) " >&6
18176 if test x
$gcc_no_link = xyes
; then
18177 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18182 #ifdef HAVE_COMPLEX_H
18183 #include <complex.h>
18189 int (*ptr)() = (int (*)())carg;
18198 if ac_fn_c_try_link
"$LINENO"; then :
18199 gcc_cv_math_func_carg
=yes
18201 gcc_cv_math_func_carg
=no
18203 rm -f core conftest.err conftest.
$ac_objext \
18204 conftest
$ac_exeext conftest.
$ac_ext
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18207 $as_echo "$gcc_cv_math_func_carg" >&6; }
18208 if test $gcc_cv_math_func_carg = yes; then
18210 cat >>confdefs.h
<<_ACEOF
18211 #define HAVE_CARG 1
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18220 $as_echo_n "checking for cargl... " >&6; }
18221 if ${gcc_cv_math_func_cargl+:} false
; then :
18222 $as_echo_n "(cached) " >&6
18224 if test x
$gcc_no_link = xyes
; then
18225 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18230 #ifdef HAVE_COMPLEX_H
18231 #include <complex.h>
18237 int (*ptr)() = (int (*)())cargl;
18246 if ac_fn_c_try_link
"$LINENO"; then :
18247 gcc_cv_math_func_cargl
=yes
18249 gcc_cv_math_func_cargl
=no
18251 rm -f core conftest.err conftest.
$ac_objext \
18252 conftest
$ac_exeext conftest.
$ac_ext
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18255 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18256 if test $gcc_cv_math_func_cargl = yes; then
18258 cat >>confdefs.h
<<_ACEOF
18259 #define HAVE_CARGL 1
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18268 $as_echo_n "checking for ceilf... " >&6; }
18269 if ${gcc_cv_math_func_ceilf+:} false
; then :
18270 $as_echo_n "(cached) " >&6
18272 if test x
$gcc_no_link = xyes
; then
18273 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18278 #ifdef HAVE_COMPLEX_H
18279 #include <complex.h>
18285 int (*ptr)() = (int (*)())ceilf;
18294 if ac_fn_c_try_link
"$LINENO"; then :
18295 gcc_cv_math_func_ceilf
=yes
18297 gcc_cv_math_func_ceilf
=no
18299 rm -f core conftest.err conftest.
$ac_objext \
18300 conftest
$ac_exeext conftest.
$ac_ext
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18303 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18304 if test $gcc_cv_math_func_ceilf = yes; then
18306 cat >>confdefs.h
<<_ACEOF
18307 #define HAVE_CEILF 1
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18316 $as_echo_n "checking for ceil... " >&6; }
18317 if ${gcc_cv_math_func_ceil+:} false
; then :
18318 $as_echo_n "(cached) " >&6
18320 if test x
$gcc_no_link = xyes
; then
18321 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18326 #ifdef HAVE_COMPLEX_H
18327 #include <complex.h>
18333 int (*ptr)() = (int (*)())ceil;
18342 if ac_fn_c_try_link
"$LINENO"; then :
18343 gcc_cv_math_func_ceil
=yes
18345 gcc_cv_math_func_ceil
=no
18347 rm -f core conftest.err conftest.
$ac_objext \
18348 conftest
$ac_exeext conftest.
$ac_ext
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18351 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18352 if test $gcc_cv_math_func_ceil = yes; then
18354 cat >>confdefs.h
<<_ACEOF
18355 #define HAVE_CEIL 1
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18364 $as_echo_n "checking for ceill... " >&6; }
18365 if ${gcc_cv_math_func_ceill+:} false
; then :
18366 $as_echo_n "(cached) " >&6
18368 if test x
$gcc_no_link = xyes
; then
18369 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18374 #ifdef HAVE_COMPLEX_H
18375 #include <complex.h>
18381 int (*ptr)() = (int (*)())ceill;
18390 if ac_fn_c_try_link
"$LINENO"; then :
18391 gcc_cv_math_func_ceill
=yes
18393 gcc_cv_math_func_ceill
=no
18395 rm -f core conftest.err conftest.
$ac_objext \
18396 conftest
$ac_exeext conftest.
$ac_ext
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18399 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18400 if test $gcc_cv_math_func_ceill = yes; then
18402 cat >>confdefs.h
<<_ACEOF
18403 #define HAVE_CEILL 1
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18412 $as_echo_n "checking for copysignf... " >&6; }
18413 if ${gcc_cv_math_func_copysignf+:} false
; then :
18414 $as_echo_n "(cached) " >&6
18416 if test x
$gcc_no_link = xyes
; then
18417 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h. */
18422 #ifdef HAVE_COMPLEX_H
18423 #include <complex.h>
18429 int (*ptr)() = (int (*)())copysignf;
18438 if ac_fn_c_try_link
"$LINENO"; then :
18439 gcc_cv_math_func_copysignf
=yes
18441 gcc_cv_math_func_copysignf
=no
18443 rm -f core conftest.err conftest.
$ac_objext \
18444 conftest
$ac_exeext conftest.
$ac_ext
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18447 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18448 if test $gcc_cv_math_func_copysignf = yes; then
18450 cat >>confdefs.h
<<_ACEOF
18451 #define HAVE_COPYSIGNF 1
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18460 $as_echo_n "checking for copysign... " >&6; }
18461 if ${gcc_cv_math_func_copysign+:} false
; then :
18462 $as_echo_n "(cached) " >&6
18464 if test x
$gcc_no_link = xyes
; then
18465 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18470 #ifdef HAVE_COMPLEX_H
18471 #include <complex.h>
18477 int (*ptr)() = (int (*)())copysign;
18486 if ac_fn_c_try_link
"$LINENO"; then :
18487 gcc_cv_math_func_copysign
=yes
18489 gcc_cv_math_func_copysign
=no
18491 rm -f core conftest.err conftest.
$ac_objext \
18492 conftest
$ac_exeext conftest.
$ac_ext
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18495 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18496 if test $gcc_cv_math_func_copysign = yes; then
18498 cat >>confdefs.h
<<_ACEOF
18499 #define HAVE_COPYSIGN 1
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18508 $as_echo_n "checking for copysignl... " >&6; }
18509 if ${gcc_cv_math_func_copysignl+:} false
; then :
18510 $as_echo_n "(cached) " >&6
18512 if test x
$gcc_no_link = xyes
; then
18513 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18518 #ifdef HAVE_COMPLEX_H
18519 #include <complex.h>
18525 int (*ptr)() = (int (*)())copysignl;
18534 if ac_fn_c_try_link
"$LINENO"; then :
18535 gcc_cv_math_func_copysignl
=yes
18537 gcc_cv_math_func_copysignl
=no
18539 rm -f core conftest.err conftest.
$ac_objext \
18540 conftest
$ac_exeext conftest.
$ac_ext
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18543 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18544 if test $gcc_cv_math_func_copysignl = yes; then
18546 cat >>confdefs.h
<<_ACEOF
18547 #define HAVE_COPYSIGNL 1
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18556 $as_echo_n "checking for cosf... " >&6; }
18557 if ${gcc_cv_math_func_cosf+:} false
; then :
18558 $as_echo_n "(cached) " >&6
18560 if test x
$gcc_no_link = xyes
; then
18561 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18566 #ifdef HAVE_COMPLEX_H
18567 #include <complex.h>
18573 int (*ptr)() = (int (*)())cosf;
18582 if ac_fn_c_try_link
"$LINENO"; then :
18583 gcc_cv_math_func_cosf
=yes
18585 gcc_cv_math_func_cosf
=no
18587 rm -f core conftest.err conftest.
$ac_objext \
18588 conftest
$ac_exeext conftest.
$ac_ext
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18591 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18592 if test $gcc_cv_math_func_cosf = yes; then
18594 cat >>confdefs.h
<<_ACEOF
18595 #define HAVE_COSF 1
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18604 $as_echo_n "checking for cos... " >&6; }
18605 if ${gcc_cv_math_func_cos+:} false
; then :
18606 $as_echo_n "(cached) " >&6
18608 if test x
$gcc_no_link = xyes
; then
18609 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18614 #ifdef HAVE_COMPLEX_H
18615 #include <complex.h>
18621 int (*ptr)() = (int (*)())cos;
18630 if ac_fn_c_try_link
"$LINENO"; then :
18631 gcc_cv_math_func_cos
=yes
18633 gcc_cv_math_func_cos
=no
18635 rm -f core conftest.err conftest.
$ac_objext \
18636 conftest
$ac_exeext conftest.
$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18639 $as_echo "$gcc_cv_math_func_cos" >&6; }
18640 if test $gcc_cv_math_func_cos = yes; then
18642 cat >>confdefs.h
<<_ACEOF
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18652 $as_echo_n "checking for cosl... " >&6; }
18653 if ${gcc_cv_math_func_cosl+:} false
; then :
18654 $as_echo_n "(cached) " >&6
18656 if test x
$gcc_no_link = xyes
; then
18657 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18662 #ifdef HAVE_COMPLEX_H
18663 #include <complex.h>
18669 int (*ptr)() = (int (*)())cosl;
18678 if ac_fn_c_try_link
"$LINENO"; then :
18679 gcc_cv_math_func_cosl
=yes
18681 gcc_cv_math_func_cosl
=no
18683 rm -f core conftest.err conftest.
$ac_objext \
18684 conftest
$ac_exeext conftest.
$ac_ext
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18687 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18688 if test $gcc_cv_math_func_cosl = yes; then
18690 cat >>confdefs.h
<<_ACEOF
18691 #define HAVE_COSL 1
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18700 $as_echo_n "checking for ccosf... " >&6; }
18701 if ${gcc_cv_math_func_ccosf+:} false
; then :
18702 $as_echo_n "(cached) " >&6
18704 if test x
$gcc_no_link = xyes
; then
18705 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18708 /* end confdefs.h. */
18710 #ifdef HAVE_COMPLEX_H
18711 #include <complex.h>
18717 int (*ptr)() = (int (*)())ccosf;
18726 if ac_fn_c_try_link
"$LINENO"; then :
18727 gcc_cv_math_func_ccosf
=yes
18729 gcc_cv_math_func_ccosf
=no
18731 rm -f core conftest.err conftest.
$ac_objext \
18732 conftest
$ac_exeext conftest.
$ac_ext
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18735 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18736 if test $gcc_cv_math_func_ccosf = yes; then
18738 cat >>confdefs.h
<<_ACEOF
18739 #define HAVE_CCOSF 1
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18748 $as_echo_n "checking for ccos... " >&6; }
18749 if ${gcc_cv_math_func_ccos+:} false
; then :
18750 $as_echo_n "(cached) " >&6
18752 if test x
$gcc_no_link = xyes
; then
18753 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18758 #ifdef HAVE_COMPLEX_H
18759 #include <complex.h>
18765 int (*ptr)() = (int (*)())ccos;
18774 if ac_fn_c_try_link
"$LINENO"; then :
18775 gcc_cv_math_func_ccos
=yes
18777 gcc_cv_math_func_ccos
=no
18779 rm -f core conftest.err conftest.
$ac_objext \
18780 conftest
$ac_exeext conftest.
$ac_ext
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18783 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18784 if test $gcc_cv_math_func_ccos = yes; then
18786 cat >>confdefs.h
<<_ACEOF
18787 #define HAVE_CCOS 1
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18796 $as_echo_n "checking for ccosl... " >&6; }
18797 if ${gcc_cv_math_func_ccosl+:} false
; then :
18798 $as_echo_n "(cached) " >&6
18800 if test x
$gcc_no_link = xyes
; then
18801 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18806 #ifdef HAVE_COMPLEX_H
18807 #include <complex.h>
18813 int (*ptr)() = (int (*)())ccosl;
18822 if ac_fn_c_try_link
"$LINENO"; then :
18823 gcc_cv_math_func_ccosl
=yes
18825 gcc_cv_math_func_ccosl
=no
18827 rm -f core conftest.err conftest.
$ac_objext \
18828 conftest
$ac_exeext conftest.
$ac_ext
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18831 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18832 if test $gcc_cv_math_func_ccosl = yes; then
18834 cat >>confdefs.h
<<_ACEOF
18835 #define HAVE_CCOSL 1
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18844 $as_echo_n "checking for coshf... " >&6; }
18845 if ${gcc_cv_math_func_coshf+:} false
; then :
18846 $as_echo_n "(cached) " >&6
18848 if test x
$gcc_no_link = xyes
; then
18849 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18854 #ifdef HAVE_COMPLEX_H
18855 #include <complex.h>
18861 int (*ptr)() = (int (*)())coshf;
18870 if ac_fn_c_try_link
"$LINENO"; then :
18871 gcc_cv_math_func_coshf
=yes
18873 gcc_cv_math_func_coshf
=no
18875 rm -f core conftest.err conftest.
$ac_objext \
18876 conftest
$ac_exeext conftest.
$ac_ext
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18879 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18880 if test $gcc_cv_math_func_coshf = yes; then
18882 cat >>confdefs.h
<<_ACEOF
18883 #define HAVE_COSHF 1
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18892 $as_echo_n "checking for cosh... " >&6; }
18893 if ${gcc_cv_math_func_cosh+:} false
; then :
18894 $as_echo_n "(cached) " >&6
18896 if test x
$gcc_no_link = xyes
; then
18897 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18902 #ifdef HAVE_COMPLEX_H
18903 #include <complex.h>
18909 int (*ptr)() = (int (*)())cosh;
18918 if ac_fn_c_try_link
"$LINENO"; then :
18919 gcc_cv_math_func_cosh
=yes
18921 gcc_cv_math_func_cosh
=no
18923 rm -f core conftest.err conftest.
$ac_objext \
18924 conftest
$ac_exeext conftest.
$ac_ext
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18927 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18928 if test $gcc_cv_math_func_cosh = yes; then
18930 cat >>confdefs.h
<<_ACEOF
18931 #define HAVE_COSH 1
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18940 $as_echo_n "checking for coshl... " >&6; }
18941 if ${gcc_cv_math_func_coshl+:} false
; then :
18942 $as_echo_n "(cached) " >&6
18944 if test x
$gcc_no_link = xyes
; then
18945 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18950 #ifdef HAVE_COMPLEX_H
18951 #include <complex.h>
18957 int (*ptr)() = (int (*)())coshl;
18966 if ac_fn_c_try_link
"$LINENO"; then :
18967 gcc_cv_math_func_coshl
=yes
18969 gcc_cv_math_func_coshl
=no
18971 rm -f core conftest.err conftest.
$ac_objext \
18972 conftest
$ac_exeext conftest.
$ac_ext
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18975 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18976 if test $gcc_cv_math_func_coshl = yes; then
18978 cat >>confdefs.h
<<_ACEOF
18979 #define HAVE_COSHL 1
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18988 $as_echo_n "checking for ccoshf... " >&6; }
18989 if ${gcc_cv_math_func_ccoshf+:} false
; then :
18990 $as_echo_n "(cached) " >&6
18992 if test x
$gcc_no_link = xyes
; then
18993 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18998 #ifdef HAVE_COMPLEX_H
18999 #include <complex.h>
19005 int (*ptr)() = (int (*)())ccoshf;
19014 if ac_fn_c_try_link
"$LINENO"; then :
19015 gcc_cv_math_func_ccoshf
=yes
19017 gcc_cv_math_func_ccoshf
=no
19019 rm -f core conftest.err conftest.
$ac_objext \
19020 conftest
$ac_exeext conftest.
$ac_ext
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19023 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19024 if test $gcc_cv_math_func_ccoshf = yes; then
19026 cat >>confdefs.h
<<_ACEOF
19027 #define HAVE_CCOSHF 1
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19036 $as_echo_n "checking for ccosh... " >&6; }
19037 if ${gcc_cv_math_func_ccosh+:} false
; then :
19038 $as_echo_n "(cached) " >&6
19040 if test x
$gcc_no_link = xyes
; then
19041 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19046 #ifdef HAVE_COMPLEX_H
19047 #include <complex.h>
19053 int (*ptr)() = (int (*)())ccosh;
19062 if ac_fn_c_try_link
"$LINENO"; then :
19063 gcc_cv_math_func_ccosh
=yes
19065 gcc_cv_math_func_ccosh
=no
19067 rm -f core conftest.err conftest.
$ac_objext \
19068 conftest
$ac_exeext conftest.
$ac_ext
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19071 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19072 if test $gcc_cv_math_func_ccosh = yes; then
19074 cat >>confdefs.h
<<_ACEOF
19075 #define HAVE_CCOSH 1
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19084 $as_echo_n "checking for ccoshl... " >&6; }
19085 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19086 $as_echo_n "(cached) " >&6
19088 if test x
$gcc_no_link = xyes
; then
19089 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19094 #ifdef HAVE_COMPLEX_H
19095 #include <complex.h>
19101 int (*ptr)() = (int (*)())ccoshl;
19110 if ac_fn_c_try_link
"$LINENO"; then :
19111 gcc_cv_math_func_ccoshl
=yes
19113 gcc_cv_math_func_ccoshl
=no
19115 rm -f core conftest.err conftest.
$ac_objext \
19116 conftest
$ac_exeext conftest.
$ac_ext
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19119 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19120 if test $gcc_cv_math_func_ccoshl = yes; then
19122 cat >>confdefs.h
<<_ACEOF
19123 #define HAVE_CCOSHL 1
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19132 $as_echo_n "checking for expf... " >&6; }
19133 if ${gcc_cv_math_func_expf+:} false
; then :
19134 $as_echo_n "(cached) " >&6
19136 if test x
$gcc_no_link = xyes
; then
19137 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h. */
19142 #ifdef HAVE_COMPLEX_H
19143 #include <complex.h>
19149 int (*ptr)() = (int (*)())expf;
19158 if ac_fn_c_try_link
"$LINENO"; then :
19159 gcc_cv_math_func_expf
=yes
19161 gcc_cv_math_func_expf
=no
19163 rm -f core conftest.err conftest.
$ac_objext \
19164 conftest
$ac_exeext conftest.
$ac_ext
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19167 $as_echo "$gcc_cv_math_func_expf" >&6; }
19168 if test $gcc_cv_math_func_expf = yes; then
19170 cat >>confdefs.h
<<_ACEOF
19171 #define HAVE_EXPF 1
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19180 $as_echo_n "checking for exp... " >&6; }
19181 if ${gcc_cv_math_func_exp+:} false
; then :
19182 $as_echo_n "(cached) " >&6
19184 if test x
$gcc_no_link = xyes
; then
19185 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h. */
19190 #ifdef HAVE_COMPLEX_H
19191 #include <complex.h>
19197 int (*ptr)() = (int (*)())exp;
19206 if ac_fn_c_try_link
"$LINENO"; then :
19207 gcc_cv_math_func_exp
=yes
19209 gcc_cv_math_func_exp
=no
19211 rm -f core conftest.err conftest.
$ac_objext \
19212 conftest
$ac_exeext conftest.
$ac_ext
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19215 $as_echo "$gcc_cv_math_func_exp" >&6; }
19216 if test $gcc_cv_math_func_exp = yes; then
19218 cat >>confdefs.h
<<_ACEOF
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19228 $as_echo_n "checking for expl... " >&6; }
19229 if ${gcc_cv_math_func_expl+:} false
; then :
19230 $as_echo_n "(cached) " >&6
19232 if test x
$gcc_no_link = xyes
; then
19233 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19236 /* end confdefs.h. */
19238 #ifdef HAVE_COMPLEX_H
19239 #include <complex.h>
19245 int (*ptr)() = (int (*)())expl;
19254 if ac_fn_c_try_link
"$LINENO"; then :
19255 gcc_cv_math_func_expl
=yes
19257 gcc_cv_math_func_expl
=no
19259 rm -f core conftest.err conftest.
$ac_objext \
19260 conftest
$ac_exeext conftest.
$ac_ext
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19263 $as_echo "$gcc_cv_math_func_expl" >&6; }
19264 if test $gcc_cv_math_func_expl = yes; then
19266 cat >>confdefs.h
<<_ACEOF
19267 #define HAVE_EXPL 1
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19276 $as_echo_n "checking for cexpf... " >&6; }
19277 if ${gcc_cv_math_func_cexpf+:} false
; then :
19278 $as_echo_n "(cached) " >&6
19280 if test x
$gcc_no_link = xyes
; then
19281 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h. */
19286 #ifdef HAVE_COMPLEX_H
19287 #include <complex.h>
19293 int (*ptr)() = (int (*)())cexpf;
19302 if ac_fn_c_try_link
"$LINENO"; then :
19303 gcc_cv_math_func_cexpf
=yes
19305 gcc_cv_math_func_cexpf
=no
19307 rm -f core conftest.err conftest.
$ac_objext \
19308 conftest
$ac_exeext conftest.
$ac_ext
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19311 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19312 if test $gcc_cv_math_func_cexpf = yes; then
19314 cat >>confdefs.h
<<_ACEOF
19315 #define HAVE_CEXPF 1
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19324 $as_echo_n "checking for cexp... " >&6; }
19325 if ${gcc_cv_math_func_cexp+:} false
; then :
19326 $as_echo_n "(cached) " >&6
19328 if test x
$gcc_no_link = xyes
; then
19329 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19334 #ifdef HAVE_COMPLEX_H
19335 #include <complex.h>
19341 int (*ptr)() = (int (*)())cexp;
19350 if ac_fn_c_try_link
"$LINENO"; then :
19351 gcc_cv_math_func_cexp
=yes
19353 gcc_cv_math_func_cexp
=no
19355 rm -f core conftest.err conftest.
$ac_objext \
19356 conftest
$ac_exeext conftest.
$ac_ext
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19359 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19360 if test $gcc_cv_math_func_cexp = yes; then
19362 cat >>confdefs.h
<<_ACEOF
19363 #define HAVE_CEXP 1
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19372 $as_echo_n "checking for cexpl... " >&6; }
19373 if ${gcc_cv_math_func_cexpl+:} false
; then :
19374 $as_echo_n "(cached) " >&6
19376 if test x
$gcc_no_link = xyes
; then
19377 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19382 #ifdef HAVE_COMPLEX_H
19383 #include <complex.h>
19389 int (*ptr)() = (int (*)())cexpl;
19398 if ac_fn_c_try_link
"$LINENO"; then :
19399 gcc_cv_math_func_cexpl
=yes
19401 gcc_cv_math_func_cexpl
=no
19403 rm -f core conftest.err conftest.
$ac_objext \
19404 conftest
$ac_exeext conftest.
$ac_ext
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19407 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19408 if test $gcc_cv_math_func_cexpl = yes; then
19410 cat >>confdefs.h
<<_ACEOF
19411 #define HAVE_CEXPL 1
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19420 $as_echo_n "checking for fabsf... " >&6; }
19421 if ${gcc_cv_math_func_fabsf+:} false
; then :
19422 $as_echo_n "(cached) " >&6
19424 if test x
$gcc_no_link = xyes
; then
19425 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19430 #ifdef HAVE_COMPLEX_H
19431 #include <complex.h>
19437 int (*ptr)() = (int (*)())fabsf;
19446 if ac_fn_c_try_link
"$LINENO"; then :
19447 gcc_cv_math_func_fabsf
=yes
19449 gcc_cv_math_func_fabsf
=no
19451 rm -f core conftest.err conftest.
$ac_objext \
19452 conftest
$ac_exeext conftest.
$ac_ext
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19455 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19456 if test $gcc_cv_math_func_fabsf = yes; then
19458 cat >>confdefs.h
<<_ACEOF
19459 #define HAVE_FABSF 1
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19468 $as_echo_n "checking for fabs... " >&6; }
19469 if ${gcc_cv_math_func_fabs+:} false
; then :
19470 $as_echo_n "(cached) " >&6
19472 if test x
$gcc_no_link = xyes
; then
19473 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19476 /* end confdefs.h. */
19478 #ifdef HAVE_COMPLEX_H
19479 #include <complex.h>
19485 int (*ptr)() = (int (*)())fabs;
19494 if ac_fn_c_try_link
"$LINENO"; then :
19495 gcc_cv_math_func_fabs
=yes
19497 gcc_cv_math_func_fabs
=no
19499 rm -f core conftest.err conftest.
$ac_objext \
19500 conftest
$ac_exeext conftest.
$ac_ext
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19503 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19504 if test $gcc_cv_math_func_fabs = yes; then
19506 cat >>confdefs.h
<<_ACEOF
19507 #define HAVE_FABS 1
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19516 $as_echo_n "checking for fabsl... " >&6; }
19517 if ${gcc_cv_math_func_fabsl+:} false
; then :
19518 $as_echo_n "(cached) " >&6
19520 if test x
$gcc_no_link = xyes
; then
19521 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19526 #ifdef HAVE_COMPLEX_H
19527 #include <complex.h>
19533 int (*ptr)() = (int (*)())fabsl;
19542 if ac_fn_c_try_link
"$LINENO"; then :
19543 gcc_cv_math_func_fabsl
=yes
19545 gcc_cv_math_func_fabsl
=no
19547 rm -f core conftest.err conftest.
$ac_objext \
19548 conftest
$ac_exeext conftest.
$ac_ext
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19551 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19552 if test $gcc_cv_math_func_fabsl = yes; then
19554 cat >>confdefs.h
<<_ACEOF
19555 #define HAVE_FABSL 1
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19564 $as_echo_n "checking for cabsf... " >&6; }
19565 if ${gcc_cv_math_func_cabsf+:} false
; then :
19566 $as_echo_n "(cached) " >&6
19568 if test x
$gcc_no_link = xyes
; then
19569 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19574 #ifdef HAVE_COMPLEX_H
19575 #include <complex.h>
19581 int (*ptr)() = (int (*)())cabsf;
19590 if ac_fn_c_try_link
"$LINENO"; then :
19591 gcc_cv_math_func_cabsf
=yes
19593 gcc_cv_math_func_cabsf
=no
19595 rm -f core conftest.err conftest.
$ac_objext \
19596 conftest
$ac_exeext conftest.
$ac_ext
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19599 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19600 if test $gcc_cv_math_func_cabsf = yes; then
19602 cat >>confdefs.h
<<_ACEOF
19603 #define HAVE_CABSF 1
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19612 $as_echo_n "checking for cabs... " >&6; }
19613 if ${gcc_cv_math_func_cabs+:} false
; then :
19614 $as_echo_n "(cached) " >&6
19616 if test x
$gcc_no_link = xyes
; then
19617 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19622 #ifdef HAVE_COMPLEX_H
19623 #include <complex.h>
19629 int (*ptr)() = (int (*)())cabs;
19638 if ac_fn_c_try_link
"$LINENO"; then :
19639 gcc_cv_math_func_cabs
=yes
19641 gcc_cv_math_func_cabs
=no
19643 rm -f core conftest.err conftest.
$ac_objext \
19644 conftest
$ac_exeext conftest.
$ac_ext
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19647 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19648 if test $gcc_cv_math_func_cabs = yes; then
19650 cat >>confdefs.h
<<_ACEOF
19651 #define HAVE_CABS 1
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19660 $as_echo_n "checking for cabsl... " >&6; }
19661 if ${gcc_cv_math_func_cabsl+:} false
; then :
19662 $as_echo_n "(cached) " >&6
19664 if test x
$gcc_no_link = xyes
; then
19665 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19670 #ifdef HAVE_COMPLEX_H
19671 #include <complex.h>
19677 int (*ptr)() = (int (*)())cabsl;
19686 if ac_fn_c_try_link
"$LINENO"; then :
19687 gcc_cv_math_func_cabsl
=yes
19689 gcc_cv_math_func_cabsl
=no
19691 rm -f core conftest.err conftest.
$ac_objext \
19692 conftest
$ac_exeext conftest.
$ac_ext
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19695 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19696 if test $gcc_cv_math_func_cabsl = yes; then
19698 cat >>confdefs.h
<<_ACEOF
19699 #define HAVE_CABSL 1
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19708 $as_echo_n "checking for floorf... " >&6; }
19709 if ${gcc_cv_math_func_floorf+:} false
; then :
19710 $as_echo_n "(cached) " >&6
19712 if test x
$gcc_no_link = xyes
; then
19713 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19718 #ifdef HAVE_COMPLEX_H
19719 #include <complex.h>
19725 int (*ptr)() = (int (*)())floorf;
19734 if ac_fn_c_try_link
"$LINENO"; then :
19735 gcc_cv_math_func_floorf
=yes
19737 gcc_cv_math_func_floorf
=no
19739 rm -f core conftest.err conftest.
$ac_objext \
19740 conftest
$ac_exeext conftest.
$ac_ext
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19743 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19744 if test $gcc_cv_math_func_floorf = yes; then
19746 cat >>confdefs.h
<<_ACEOF
19747 #define HAVE_FLOORF 1
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19756 $as_echo_n "checking for floor... " >&6; }
19757 if ${gcc_cv_math_func_floor+:} false
; then :
19758 $as_echo_n "(cached) " >&6
19760 if test x
$gcc_no_link = xyes
; then
19761 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19766 #ifdef HAVE_COMPLEX_H
19767 #include <complex.h>
19773 int (*ptr)() = (int (*)())floor;
19782 if ac_fn_c_try_link
"$LINENO"; then :
19783 gcc_cv_math_func_floor
=yes
19785 gcc_cv_math_func_floor
=no
19787 rm -f core conftest.err conftest.
$ac_objext \
19788 conftest
$ac_exeext conftest.
$ac_ext
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19791 $as_echo "$gcc_cv_math_func_floor" >&6; }
19792 if test $gcc_cv_math_func_floor = yes; then
19794 cat >>confdefs.h
<<_ACEOF
19795 #define HAVE_FLOOR 1
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19804 $as_echo_n "checking for floorl... " >&6; }
19805 if ${gcc_cv_math_func_floorl+:} false
; then :
19806 $as_echo_n "(cached) " >&6
19808 if test x
$gcc_no_link = xyes
; then
19809 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h. */
19814 #ifdef HAVE_COMPLEX_H
19815 #include <complex.h>
19821 int (*ptr)() = (int (*)())floorl;
19830 if ac_fn_c_try_link
"$LINENO"; then :
19831 gcc_cv_math_func_floorl
=yes
19833 gcc_cv_math_func_floorl
=no
19835 rm -f core conftest.err conftest.
$ac_objext \
19836 conftest
$ac_exeext conftest.
$ac_ext
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19839 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19840 if test $gcc_cv_math_func_floorl = yes; then
19842 cat >>confdefs.h
<<_ACEOF
19843 #define HAVE_FLOORL 1
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
19852 $as_echo_n "checking for fmaf... " >&6; }
19853 if ${gcc_cv_math_func_fmaf+:} false
; then :
19854 $as_echo_n "(cached) " >&6
19856 if test x
$gcc_no_link = xyes
; then
19857 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19862 #ifdef HAVE_COMPLEX_H
19863 #include <complex.h>
19869 int (*ptr)() = (int (*)())fmaf;
19878 if ac_fn_c_try_link
"$LINENO"; then :
19879 gcc_cv_math_func_fmaf
=yes
19881 gcc_cv_math_func_fmaf
=no
19883 rm -f core conftest.err conftest.
$ac_objext \
19884 conftest
$ac_exeext conftest.
$ac_ext
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
19887 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
19888 if test $gcc_cv_math_func_fmaf = yes; then
19890 cat >>confdefs.h
<<_ACEOF
19891 #define HAVE_FMAF 1
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
19900 $as_echo_n "checking for fma... " >&6; }
19901 if ${gcc_cv_math_func_fma+:} false
; then :
19902 $as_echo_n "(cached) " >&6
19904 if test x
$gcc_no_link = xyes
; then
19905 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 #ifdef HAVE_COMPLEX_H
19911 #include <complex.h>
19917 int (*ptr)() = (int (*)())fma;
19926 if ac_fn_c_try_link
"$LINENO"; then :
19927 gcc_cv_math_func_fma
=yes
19929 gcc_cv_math_func_fma
=no
19931 rm -f core conftest.err conftest.
$ac_objext \
19932 conftest
$ac_exeext conftest.
$ac_ext
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
19935 $as_echo "$gcc_cv_math_func_fma" >&6; }
19936 if test $gcc_cv_math_func_fma = yes; then
19938 cat >>confdefs.h
<<_ACEOF
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
19948 $as_echo_n "checking for fmal... " >&6; }
19949 if ${gcc_cv_math_func_fmal+:} false
; then :
19950 $as_echo_n "(cached) " >&6
19952 if test x
$gcc_no_link = xyes
; then
19953 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19958 #ifdef HAVE_COMPLEX_H
19959 #include <complex.h>
19965 int (*ptr)() = (int (*)())fmal;
19974 if ac_fn_c_try_link
"$LINENO"; then :
19975 gcc_cv_math_func_fmal
=yes
19977 gcc_cv_math_func_fmal
=no
19979 rm -f core conftest.err conftest.
$ac_objext \
19980 conftest
$ac_exeext conftest.
$ac_ext
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
19983 $as_echo "$gcc_cv_math_func_fmal" >&6; }
19984 if test $gcc_cv_math_func_fmal = yes; then
19986 cat >>confdefs.h
<<_ACEOF
19987 #define HAVE_FMAL 1
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19996 $as_echo_n "checking for fmodf... " >&6; }
19997 if ${gcc_cv_math_func_fmodf+:} false
; then :
19998 $as_echo_n "(cached) " >&6
20000 if test x
$gcc_no_link = xyes
; then
20001 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20006 #ifdef HAVE_COMPLEX_H
20007 #include <complex.h>
20013 int (*ptr)() = (int (*)())fmodf;
20022 if ac_fn_c_try_link
"$LINENO"; then :
20023 gcc_cv_math_func_fmodf
=yes
20025 gcc_cv_math_func_fmodf
=no
20027 rm -f core conftest.err conftest.
$ac_objext \
20028 conftest
$ac_exeext conftest.
$ac_ext
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20031 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20032 if test $gcc_cv_math_func_fmodf = yes; then
20034 cat >>confdefs.h
<<_ACEOF
20035 #define HAVE_FMODF 1
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20044 $as_echo_n "checking for fmod... " >&6; }
20045 if ${gcc_cv_math_func_fmod+:} false
; then :
20046 $as_echo_n "(cached) " >&6
20048 if test x
$gcc_no_link = xyes
; then
20049 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h. */
20054 #ifdef HAVE_COMPLEX_H
20055 #include <complex.h>
20061 int (*ptr)() = (int (*)())fmod;
20070 if ac_fn_c_try_link
"$LINENO"; then :
20071 gcc_cv_math_func_fmod
=yes
20073 gcc_cv_math_func_fmod
=no
20075 rm -f core conftest.err conftest.
$ac_objext \
20076 conftest
$ac_exeext conftest.
$ac_ext
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20079 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20080 if test $gcc_cv_math_func_fmod = yes; then
20082 cat >>confdefs.h
<<_ACEOF
20083 #define HAVE_FMOD 1
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20092 $as_echo_n "checking for fmodl... " >&6; }
20093 if ${gcc_cv_math_func_fmodl+:} false
; then :
20094 $as_echo_n "(cached) " >&6
20096 if test x
$gcc_no_link = xyes
; then
20097 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20102 #ifdef HAVE_COMPLEX_H
20103 #include <complex.h>
20109 int (*ptr)() = (int (*)())fmodl;
20118 if ac_fn_c_try_link
"$LINENO"; then :
20119 gcc_cv_math_func_fmodl
=yes
20121 gcc_cv_math_func_fmodl
=no
20123 rm -f core conftest.err conftest.
$ac_objext \
20124 conftest
$ac_exeext conftest.
$ac_ext
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20127 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20128 if test $gcc_cv_math_func_fmodl = yes; then
20130 cat >>confdefs.h
<<_ACEOF
20131 #define HAVE_FMODL 1
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20140 $as_echo_n "checking for frexpf... " >&6; }
20141 if ${gcc_cv_math_func_frexpf+:} false
; then :
20142 $as_echo_n "(cached) " >&6
20144 if test x
$gcc_no_link = xyes
; then
20145 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20148 /* end confdefs.h. */
20150 #ifdef HAVE_COMPLEX_H
20151 #include <complex.h>
20157 int (*ptr)() = (int (*)())frexpf;
20166 if ac_fn_c_try_link
"$LINENO"; then :
20167 gcc_cv_math_func_frexpf
=yes
20169 gcc_cv_math_func_frexpf
=no
20171 rm -f core conftest.err conftest.
$ac_objext \
20172 conftest
$ac_exeext conftest.
$ac_ext
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20175 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20176 if test $gcc_cv_math_func_frexpf = yes; then
20178 cat >>confdefs.h
<<_ACEOF
20179 #define HAVE_FREXPF 1
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20188 $as_echo_n "checking for frexp... " >&6; }
20189 if ${gcc_cv_math_func_frexp+:} false
; then :
20190 $as_echo_n "(cached) " >&6
20192 if test x
$gcc_no_link = xyes
; then
20193 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20198 #ifdef HAVE_COMPLEX_H
20199 #include <complex.h>
20205 int (*ptr)() = (int (*)())frexp;
20214 if ac_fn_c_try_link
"$LINENO"; then :
20215 gcc_cv_math_func_frexp
=yes
20217 gcc_cv_math_func_frexp
=no
20219 rm -f core conftest.err conftest.
$ac_objext \
20220 conftest
$ac_exeext conftest.
$ac_ext
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20223 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20224 if test $gcc_cv_math_func_frexp = yes; then
20226 cat >>confdefs.h
<<_ACEOF
20227 #define HAVE_FREXP 1
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20236 $as_echo_n "checking for frexpl... " >&6; }
20237 if ${gcc_cv_math_func_frexpl+:} false
; then :
20238 $as_echo_n "(cached) " >&6
20240 if test x
$gcc_no_link = xyes
; then
20241 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20246 #ifdef HAVE_COMPLEX_H
20247 #include <complex.h>
20253 int (*ptr)() = (int (*)())frexpl;
20262 if ac_fn_c_try_link
"$LINENO"; then :
20263 gcc_cv_math_func_frexpl
=yes
20265 gcc_cv_math_func_frexpl
=no
20267 rm -f core conftest.err conftest.
$ac_objext \
20268 conftest
$ac_exeext conftest.
$ac_ext
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20271 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20272 if test $gcc_cv_math_func_frexpl = yes; then
20274 cat >>confdefs.h
<<_ACEOF
20275 #define HAVE_FREXPL 1
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20284 $as_echo_n "checking for hypotf... " >&6; }
20285 if ${gcc_cv_math_func_hypotf+:} false
; then :
20286 $as_echo_n "(cached) " >&6
20288 if test x
$gcc_no_link = xyes
; then
20289 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20292 /* end confdefs.h. */
20294 #ifdef HAVE_COMPLEX_H
20295 #include <complex.h>
20301 int (*ptr)() = (int (*)())hypotf;
20310 if ac_fn_c_try_link
"$LINENO"; then :
20311 gcc_cv_math_func_hypotf
=yes
20313 gcc_cv_math_func_hypotf
=no
20315 rm -f core conftest.err conftest.
$ac_objext \
20316 conftest
$ac_exeext conftest.
$ac_ext
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20319 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20320 if test $gcc_cv_math_func_hypotf = yes; then
20322 cat >>confdefs.h
<<_ACEOF
20323 #define HAVE_HYPOTF 1
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20332 $as_echo_n "checking for hypot... " >&6; }
20333 if ${gcc_cv_math_func_hypot+:} false
; then :
20334 $as_echo_n "(cached) " >&6
20336 if test x
$gcc_no_link = xyes
; then
20337 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20340 /* end confdefs.h. */
20342 #ifdef HAVE_COMPLEX_H
20343 #include <complex.h>
20349 int (*ptr)() = (int (*)())hypot;
20358 if ac_fn_c_try_link
"$LINENO"; then :
20359 gcc_cv_math_func_hypot
=yes
20361 gcc_cv_math_func_hypot
=no
20363 rm -f core conftest.err conftest.
$ac_objext \
20364 conftest
$ac_exeext conftest.
$ac_ext
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20367 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20368 if test $gcc_cv_math_func_hypot = yes; then
20370 cat >>confdefs.h
<<_ACEOF
20371 #define HAVE_HYPOT 1
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20380 $as_echo_n "checking for hypotl... " >&6; }
20381 if ${gcc_cv_math_func_hypotl+:} false
; then :
20382 $as_echo_n "(cached) " >&6
20384 if test x
$gcc_no_link = xyes
; then
20385 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20388 /* end confdefs.h. */
20390 #ifdef HAVE_COMPLEX_H
20391 #include <complex.h>
20397 int (*ptr)() = (int (*)())hypotl;
20406 if ac_fn_c_try_link
"$LINENO"; then :
20407 gcc_cv_math_func_hypotl
=yes
20409 gcc_cv_math_func_hypotl
=no
20411 rm -f core conftest.err conftest.
$ac_objext \
20412 conftest
$ac_exeext conftest.
$ac_ext
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20415 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20416 if test $gcc_cv_math_func_hypotl = yes; then
20418 cat >>confdefs.h
<<_ACEOF
20419 #define HAVE_HYPOTL 1
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20428 $as_echo_n "checking for ldexpf... " >&6; }
20429 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20430 $as_echo_n "(cached) " >&6
20432 if test x
$gcc_no_link = xyes
; then
20433 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20438 #ifdef HAVE_COMPLEX_H
20439 #include <complex.h>
20445 int (*ptr)() = (int (*)())ldexpf;
20454 if ac_fn_c_try_link
"$LINENO"; then :
20455 gcc_cv_math_func_ldexpf
=yes
20457 gcc_cv_math_func_ldexpf
=no
20459 rm -f core conftest.err conftest.
$ac_objext \
20460 conftest
$ac_exeext conftest.
$ac_ext
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20463 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20464 if test $gcc_cv_math_func_ldexpf = yes; then
20466 cat >>confdefs.h
<<_ACEOF
20467 #define HAVE_LDEXPF 1
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20476 $as_echo_n "checking for ldexp... " >&6; }
20477 if ${gcc_cv_math_func_ldexp+:} false
; then :
20478 $as_echo_n "(cached) " >&6
20480 if test x
$gcc_no_link = xyes
; then
20481 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20486 #ifdef HAVE_COMPLEX_H
20487 #include <complex.h>
20493 int (*ptr)() = (int (*)())ldexp;
20502 if ac_fn_c_try_link
"$LINENO"; then :
20503 gcc_cv_math_func_ldexp
=yes
20505 gcc_cv_math_func_ldexp
=no
20507 rm -f core conftest.err conftest.
$ac_objext \
20508 conftest
$ac_exeext conftest.
$ac_ext
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20511 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20512 if test $gcc_cv_math_func_ldexp = yes; then
20514 cat >>confdefs.h
<<_ACEOF
20515 #define HAVE_LDEXP 1
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20524 $as_echo_n "checking for ldexpl... " >&6; }
20525 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20526 $as_echo_n "(cached) " >&6
20528 if test x
$gcc_no_link = xyes
; then
20529 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20532 /* end confdefs.h. */
20534 #ifdef HAVE_COMPLEX_H
20535 #include <complex.h>
20541 int (*ptr)() = (int (*)())ldexpl;
20550 if ac_fn_c_try_link
"$LINENO"; then :
20551 gcc_cv_math_func_ldexpl
=yes
20553 gcc_cv_math_func_ldexpl
=no
20555 rm -f core conftest.err conftest.
$ac_objext \
20556 conftest
$ac_exeext conftest.
$ac_ext
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20559 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20560 if test $gcc_cv_math_func_ldexpl = yes; then
20562 cat >>confdefs.h
<<_ACEOF
20563 #define HAVE_LDEXPL 1
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20572 $as_echo_n "checking for logf... " >&6; }
20573 if ${gcc_cv_math_func_logf+:} false
; then :
20574 $as_echo_n "(cached) " >&6
20576 if test x
$gcc_no_link = xyes
; then
20577 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20580 /* end confdefs.h. */
20582 #ifdef HAVE_COMPLEX_H
20583 #include <complex.h>
20589 int (*ptr)() = (int (*)())logf;
20598 if ac_fn_c_try_link
"$LINENO"; then :
20599 gcc_cv_math_func_logf
=yes
20601 gcc_cv_math_func_logf
=no
20603 rm -f core conftest.err conftest.
$ac_objext \
20604 conftest
$ac_exeext conftest.
$ac_ext
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20607 $as_echo "$gcc_cv_math_func_logf" >&6; }
20608 if test $gcc_cv_math_func_logf = yes; then
20610 cat >>confdefs.h
<<_ACEOF
20611 #define HAVE_LOGF 1
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20620 $as_echo_n "checking for log... " >&6; }
20621 if ${gcc_cv_math_func_log+:} false
; then :
20622 $as_echo_n "(cached) " >&6
20624 if test x
$gcc_no_link = xyes
; then
20625 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20630 #ifdef HAVE_COMPLEX_H
20631 #include <complex.h>
20637 int (*ptr)() = (int (*)())log;
20646 if ac_fn_c_try_link
"$LINENO"; then :
20647 gcc_cv_math_func_log
=yes
20649 gcc_cv_math_func_log
=no
20651 rm -f core conftest.err conftest.
$ac_objext \
20652 conftest
$ac_exeext conftest.
$ac_ext
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20655 $as_echo "$gcc_cv_math_func_log" >&6; }
20656 if test $gcc_cv_math_func_log = yes; then
20658 cat >>confdefs.h
<<_ACEOF
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20668 $as_echo_n "checking for logl... " >&6; }
20669 if ${gcc_cv_math_func_logl+:} false
; then :
20670 $as_echo_n "(cached) " >&6
20672 if test x
$gcc_no_link = xyes
; then
20673 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20676 /* end confdefs.h. */
20678 #ifdef HAVE_COMPLEX_H
20679 #include <complex.h>
20685 int (*ptr)() = (int (*)())logl;
20694 if ac_fn_c_try_link
"$LINENO"; then :
20695 gcc_cv_math_func_logl
=yes
20697 gcc_cv_math_func_logl
=no
20699 rm -f core conftest.err conftest.
$ac_objext \
20700 conftest
$ac_exeext conftest.
$ac_ext
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20703 $as_echo "$gcc_cv_math_func_logl" >&6; }
20704 if test $gcc_cv_math_func_logl = yes; then
20706 cat >>confdefs.h
<<_ACEOF
20707 #define HAVE_LOGL 1
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20716 $as_echo_n "checking for clogf... " >&6; }
20717 if ${gcc_cv_math_func_clogf+:} false
; then :
20718 $as_echo_n "(cached) " >&6
20720 if test x
$gcc_no_link = xyes
; then
20721 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20726 #ifdef HAVE_COMPLEX_H
20727 #include <complex.h>
20733 int (*ptr)() = (int (*)())clogf;
20742 if ac_fn_c_try_link
"$LINENO"; then :
20743 gcc_cv_math_func_clogf
=yes
20745 gcc_cv_math_func_clogf
=no
20747 rm -f core conftest.err conftest.
$ac_objext \
20748 conftest
$ac_exeext conftest.
$ac_ext
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20751 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20752 if test $gcc_cv_math_func_clogf = yes; then
20754 cat >>confdefs.h
<<_ACEOF
20755 #define HAVE_CLOGF 1
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20764 $as_echo_n "checking for clog... " >&6; }
20765 if ${gcc_cv_math_func_clog+:} false
; then :
20766 $as_echo_n "(cached) " >&6
20768 if test x
$gcc_no_link = xyes
; then
20769 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20772 /* end confdefs.h. */
20774 #ifdef HAVE_COMPLEX_H
20775 #include <complex.h>
20781 int (*ptr)() = (int (*)())clog;
20790 if ac_fn_c_try_link
"$LINENO"; then :
20791 gcc_cv_math_func_clog
=yes
20793 gcc_cv_math_func_clog
=no
20795 rm -f core conftest.err conftest.
$ac_objext \
20796 conftest
$ac_exeext conftest.
$ac_ext
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20799 $as_echo "$gcc_cv_math_func_clog" >&6; }
20800 if test $gcc_cv_math_func_clog = yes; then
20802 cat >>confdefs.h
<<_ACEOF
20803 #define HAVE_CLOG 1
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20812 $as_echo_n "checking for clogl... " >&6; }
20813 if ${gcc_cv_math_func_clogl+:} false
; then :
20814 $as_echo_n "(cached) " >&6
20816 if test x
$gcc_no_link = xyes
; then
20817 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20820 /* end confdefs.h. */
20822 #ifdef HAVE_COMPLEX_H
20823 #include <complex.h>
20829 int (*ptr)() = (int (*)())clogl;
20838 if ac_fn_c_try_link
"$LINENO"; then :
20839 gcc_cv_math_func_clogl
=yes
20841 gcc_cv_math_func_clogl
=no
20843 rm -f core conftest.err conftest.
$ac_objext \
20844 conftest
$ac_exeext conftest.
$ac_ext
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20847 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20848 if test $gcc_cv_math_func_clogl = yes; then
20850 cat >>confdefs.h
<<_ACEOF
20851 #define HAVE_CLOGL 1
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20860 $as_echo_n "checking for log10f... " >&6; }
20861 if ${gcc_cv_math_func_log10f+:} false
; then :
20862 $as_echo_n "(cached) " >&6
20864 if test x
$gcc_no_link = xyes
; then
20865 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20870 #ifdef HAVE_COMPLEX_H
20871 #include <complex.h>
20877 int (*ptr)() = (int (*)())log10f;
20886 if ac_fn_c_try_link
"$LINENO"; then :
20887 gcc_cv_math_func_log10f
=yes
20889 gcc_cv_math_func_log10f
=no
20891 rm -f core conftest.err conftest.
$ac_objext \
20892 conftest
$ac_exeext conftest.
$ac_ext
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20895 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20896 if test $gcc_cv_math_func_log10f = yes; then
20898 cat >>confdefs.h
<<_ACEOF
20899 #define HAVE_LOG10F 1
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20908 $as_echo_n "checking for log10... " >&6; }
20909 if ${gcc_cv_math_func_log10+:} false
; then :
20910 $as_echo_n "(cached) " >&6
20912 if test x
$gcc_no_link = xyes
; then
20913 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20918 #ifdef HAVE_COMPLEX_H
20919 #include <complex.h>
20925 int (*ptr)() = (int (*)())log10;
20934 if ac_fn_c_try_link
"$LINENO"; then :
20935 gcc_cv_math_func_log10
=yes
20937 gcc_cv_math_func_log10
=no
20939 rm -f core conftest.err conftest.
$ac_objext \
20940 conftest
$ac_exeext conftest.
$ac_ext
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20943 $as_echo "$gcc_cv_math_func_log10" >&6; }
20944 if test $gcc_cv_math_func_log10 = yes; then
20946 cat >>confdefs.h
<<_ACEOF
20947 #define HAVE_LOG10 1
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20956 $as_echo_n "checking for log10l... " >&6; }
20957 if ${gcc_cv_math_func_log10l+:} false
; then :
20958 $as_echo_n "(cached) " >&6
20960 if test x
$gcc_no_link = xyes
; then
20961 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20966 #ifdef HAVE_COMPLEX_H
20967 #include <complex.h>
20973 int (*ptr)() = (int (*)())log10l;
20982 if ac_fn_c_try_link
"$LINENO"; then :
20983 gcc_cv_math_func_log10l
=yes
20985 gcc_cv_math_func_log10l
=no
20987 rm -f core conftest.err conftest.
$ac_objext \
20988 conftest
$ac_exeext conftest.
$ac_ext
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20991 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20992 if test $gcc_cv_math_func_log10l = yes; then
20994 cat >>confdefs.h
<<_ACEOF
20995 #define HAVE_LOG10L 1
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21004 $as_echo_n "checking for clog10f... " >&6; }
21005 if ${gcc_cv_math_func_clog10f+:} false
; then :
21006 $as_echo_n "(cached) " >&6
21008 if test x
$gcc_no_link = xyes
; then
21009 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h. */
21014 #ifdef HAVE_COMPLEX_H
21015 #include <complex.h>
21021 int (*ptr)() = (int (*)())clog10f;
21030 if ac_fn_c_try_link
"$LINENO"; then :
21031 gcc_cv_math_func_clog10f
=yes
21033 gcc_cv_math_func_clog10f
=no
21035 rm -f core conftest.err conftest.
$ac_objext \
21036 conftest
$ac_exeext conftest.
$ac_ext
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21039 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21040 if test $gcc_cv_math_func_clog10f = yes; then
21042 cat >>confdefs.h
<<_ACEOF
21043 #define HAVE_CLOG10F 1
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21052 $as_echo_n "checking for clog10... " >&6; }
21053 if ${gcc_cv_math_func_clog10+:} false
; then :
21054 $as_echo_n "(cached) " >&6
21056 if test x
$gcc_no_link = xyes
; then
21057 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21062 #ifdef HAVE_COMPLEX_H
21063 #include <complex.h>
21069 int (*ptr)() = (int (*)())clog10;
21078 if ac_fn_c_try_link
"$LINENO"; then :
21079 gcc_cv_math_func_clog10
=yes
21081 gcc_cv_math_func_clog10
=no
21083 rm -f core conftest.err conftest.
$ac_objext \
21084 conftest
$ac_exeext conftest.
$ac_ext
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21087 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21088 if test $gcc_cv_math_func_clog10 = yes; then
21090 cat >>confdefs.h
<<_ACEOF
21091 #define HAVE_CLOG10 1
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21100 $as_echo_n "checking for clog10l... " >&6; }
21101 if ${gcc_cv_math_func_clog10l+:} false
; then :
21102 $as_echo_n "(cached) " >&6
21104 if test x
$gcc_no_link = xyes
; then
21105 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21108 /* end confdefs.h. */
21110 #ifdef HAVE_COMPLEX_H
21111 #include <complex.h>
21117 int (*ptr)() = (int (*)())clog10l;
21126 if ac_fn_c_try_link
"$LINENO"; then :
21127 gcc_cv_math_func_clog10l
=yes
21129 gcc_cv_math_func_clog10l
=no
21131 rm -f core conftest.err conftest.
$ac_objext \
21132 conftest
$ac_exeext conftest.
$ac_ext
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21135 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21136 if test $gcc_cv_math_func_clog10l = yes; then
21138 cat >>confdefs.h
<<_ACEOF
21139 #define HAVE_CLOG10L 1
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21148 $as_echo_n "checking for nextafterf... " >&6; }
21149 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21150 $as_echo_n "(cached) " >&6
21152 if test x
$gcc_no_link = xyes
; then
21153 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h. */
21158 #ifdef HAVE_COMPLEX_H
21159 #include <complex.h>
21165 int (*ptr)() = (int (*)())nextafterf;
21174 if ac_fn_c_try_link
"$LINENO"; then :
21175 gcc_cv_math_func_nextafterf
=yes
21177 gcc_cv_math_func_nextafterf
=no
21179 rm -f core conftest.err conftest.
$ac_objext \
21180 conftest
$ac_exeext conftest.
$ac_ext
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21183 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21184 if test $gcc_cv_math_func_nextafterf = yes; then
21186 cat >>confdefs.h
<<_ACEOF
21187 #define HAVE_NEXTAFTERF 1
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21196 $as_echo_n "checking for nextafter... " >&6; }
21197 if ${gcc_cv_math_func_nextafter+:} false
; then :
21198 $as_echo_n "(cached) " >&6
21200 if test x
$gcc_no_link = xyes
; then
21201 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h. */
21206 #ifdef HAVE_COMPLEX_H
21207 #include <complex.h>
21213 int (*ptr)() = (int (*)())nextafter;
21222 if ac_fn_c_try_link
"$LINENO"; then :
21223 gcc_cv_math_func_nextafter
=yes
21225 gcc_cv_math_func_nextafter
=no
21227 rm -f core conftest.err conftest.
$ac_objext \
21228 conftest
$ac_exeext conftest.
$ac_ext
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21231 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21232 if test $gcc_cv_math_func_nextafter = yes; then
21234 cat >>confdefs.h
<<_ACEOF
21235 #define HAVE_NEXTAFTER 1
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21244 $as_echo_n "checking for nextafterl... " >&6; }
21245 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21246 $as_echo_n "(cached) " >&6
21248 if test x
$gcc_no_link = xyes
; then
21249 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21252 /* end confdefs.h. */
21254 #ifdef HAVE_COMPLEX_H
21255 #include <complex.h>
21261 int (*ptr)() = (int (*)())nextafterl;
21270 if ac_fn_c_try_link
"$LINENO"; then :
21271 gcc_cv_math_func_nextafterl
=yes
21273 gcc_cv_math_func_nextafterl
=no
21275 rm -f core conftest.err conftest.
$ac_objext \
21276 conftest
$ac_exeext conftest.
$ac_ext
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21279 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21280 if test $gcc_cv_math_func_nextafterl = yes; then
21282 cat >>confdefs.h
<<_ACEOF
21283 #define HAVE_NEXTAFTERL 1
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21292 $as_echo_n "checking for powf... " >&6; }
21293 if ${gcc_cv_math_func_powf+:} false
; then :
21294 $as_echo_n "(cached) " >&6
21296 if test x
$gcc_no_link = xyes
; then
21297 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21300 /* end confdefs.h. */
21302 #ifdef HAVE_COMPLEX_H
21303 #include <complex.h>
21309 int (*ptr)() = (int (*)())powf;
21318 if ac_fn_c_try_link
"$LINENO"; then :
21319 gcc_cv_math_func_powf
=yes
21321 gcc_cv_math_func_powf
=no
21323 rm -f core conftest.err conftest.
$ac_objext \
21324 conftest
$ac_exeext conftest.
$ac_ext
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21327 $as_echo "$gcc_cv_math_func_powf" >&6; }
21328 if test $gcc_cv_math_func_powf = yes; then
21330 cat >>confdefs.h
<<_ACEOF
21331 #define HAVE_POWF 1
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21340 $as_echo_n "checking for pow... " >&6; }
21341 if ${gcc_cv_math_func_pow+:} false
; then :
21342 $as_echo_n "(cached) " >&6
21344 if test x
$gcc_no_link = xyes
; then
21345 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21350 #ifdef HAVE_COMPLEX_H
21351 #include <complex.h>
21357 int (*ptr)() = (int (*)())pow;
21366 if ac_fn_c_try_link
"$LINENO"; then :
21367 gcc_cv_math_func_pow
=yes
21369 gcc_cv_math_func_pow
=no
21371 rm -f core conftest.err conftest.
$ac_objext \
21372 conftest
$ac_exeext conftest.
$ac_ext
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21375 $as_echo "$gcc_cv_math_func_pow" >&6; }
21376 if test $gcc_cv_math_func_pow = yes; then
21378 cat >>confdefs.h
<<_ACEOF
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21388 $as_echo_n "checking for cpowf... " >&6; }
21389 if ${gcc_cv_math_func_cpowf+:} false
; then :
21390 $as_echo_n "(cached) " >&6
21392 if test x
$gcc_no_link = xyes
; then
21393 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21396 /* end confdefs.h. */
21398 #ifdef HAVE_COMPLEX_H
21399 #include <complex.h>
21405 int (*ptr)() = (int (*)())cpowf;
21414 if ac_fn_c_try_link
"$LINENO"; then :
21415 gcc_cv_math_func_cpowf
=yes
21417 gcc_cv_math_func_cpowf
=no
21419 rm -f core conftest.err conftest.
$ac_objext \
21420 conftest
$ac_exeext conftest.
$ac_ext
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21423 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21424 if test $gcc_cv_math_func_cpowf = yes; then
21426 cat >>confdefs.h
<<_ACEOF
21427 #define HAVE_CPOWF 1
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21436 $as_echo_n "checking for cpow... " >&6; }
21437 if ${gcc_cv_math_func_cpow+:} false
; then :
21438 $as_echo_n "(cached) " >&6
21440 if test x
$gcc_no_link = xyes
; then
21441 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21444 /* end confdefs.h. */
21446 #ifdef HAVE_COMPLEX_H
21447 #include <complex.h>
21453 int (*ptr)() = (int (*)())cpow;
21462 if ac_fn_c_try_link
"$LINENO"; then :
21463 gcc_cv_math_func_cpow
=yes
21465 gcc_cv_math_func_cpow
=no
21467 rm -f core conftest.err conftest.
$ac_objext \
21468 conftest
$ac_exeext conftest.
$ac_ext
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21471 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21472 if test $gcc_cv_math_func_cpow = yes; then
21474 cat >>confdefs.h
<<_ACEOF
21475 #define HAVE_CPOW 1
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21484 $as_echo_n "checking for cpowl... " >&6; }
21485 if ${gcc_cv_math_func_cpowl+:} false
; then :
21486 $as_echo_n "(cached) " >&6
21488 if test x
$gcc_no_link = xyes
; then
21489 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21492 /* end confdefs.h. */
21494 #ifdef HAVE_COMPLEX_H
21495 #include <complex.h>
21501 int (*ptr)() = (int (*)())cpowl;
21510 if ac_fn_c_try_link
"$LINENO"; then :
21511 gcc_cv_math_func_cpowl
=yes
21513 gcc_cv_math_func_cpowl
=no
21515 rm -f core conftest.err conftest.
$ac_objext \
21516 conftest
$ac_exeext conftest.
$ac_ext
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21519 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21520 if test $gcc_cv_math_func_cpowl = yes; then
21522 cat >>confdefs.h
<<_ACEOF
21523 #define HAVE_CPOWL 1
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21532 $as_echo_n "checking for roundf... " >&6; }
21533 if ${gcc_cv_math_func_roundf+:} false
; then :
21534 $as_echo_n "(cached) " >&6
21536 if test x
$gcc_no_link = xyes
; then
21537 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21542 #ifdef HAVE_COMPLEX_H
21543 #include <complex.h>
21549 int (*ptr)() = (int (*)())roundf;
21558 if ac_fn_c_try_link
"$LINENO"; then :
21559 gcc_cv_math_func_roundf
=yes
21561 gcc_cv_math_func_roundf
=no
21563 rm -f core conftest.err conftest.
$ac_objext \
21564 conftest
$ac_exeext conftest.
$ac_ext
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21567 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21568 if test $gcc_cv_math_func_roundf = yes; then
21570 cat >>confdefs.h
<<_ACEOF
21571 #define HAVE_ROUNDF 1
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21580 $as_echo_n "checking for round... " >&6; }
21581 if ${gcc_cv_math_func_round+:} false
; then :
21582 $as_echo_n "(cached) " >&6
21584 if test x
$gcc_no_link = xyes
; then
21585 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21588 /* end confdefs.h. */
21590 #ifdef HAVE_COMPLEX_H
21591 #include <complex.h>
21597 int (*ptr)() = (int (*)())round;
21606 if ac_fn_c_try_link
"$LINENO"; then :
21607 gcc_cv_math_func_round
=yes
21609 gcc_cv_math_func_round
=no
21611 rm -f core conftest.err conftest.
$ac_objext \
21612 conftest
$ac_exeext conftest.
$ac_ext
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21615 $as_echo "$gcc_cv_math_func_round" >&6; }
21616 if test $gcc_cv_math_func_round = yes; then
21618 cat >>confdefs.h
<<_ACEOF
21619 #define HAVE_ROUND 1
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21628 $as_echo_n "checking for roundl... " >&6; }
21629 if ${gcc_cv_math_func_roundl+:} false
; then :
21630 $as_echo_n "(cached) " >&6
21632 if test x
$gcc_no_link = xyes
; then
21633 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21636 /* end confdefs.h. */
21638 #ifdef HAVE_COMPLEX_H
21639 #include <complex.h>
21645 int (*ptr)() = (int (*)())roundl;
21654 if ac_fn_c_try_link
"$LINENO"; then :
21655 gcc_cv_math_func_roundl
=yes
21657 gcc_cv_math_func_roundl
=no
21659 rm -f core conftest.err conftest.
$ac_objext \
21660 conftest
$ac_exeext conftest.
$ac_ext
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21663 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21664 if test $gcc_cv_math_func_roundl = yes; then
21666 cat >>confdefs.h
<<_ACEOF
21667 #define HAVE_ROUNDL 1
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21676 $as_echo_n "checking for lroundf... " >&6; }
21677 if ${gcc_cv_math_func_lroundf+:} false
; then :
21678 $as_echo_n "(cached) " >&6
21680 if test x
$gcc_no_link = xyes
; then
21681 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21686 #ifdef HAVE_COMPLEX_H
21687 #include <complex.h>
21693 int (*ptr)() = (int (*)())lroundf;
21702 if ac_fn_c_try_link
"$LINENO"; then :
21703 gcc_cv_math_func_lroundf
=yes
21705 gcc_cv_math_func_lroundf
=no
21707 rm -f core conftest.err conftest.
$ac_objext \
21708 conftest
$ac_exeext conftest.
$ac_ext
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21711 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21712 if test $gcc_cv_math_func_lroundf = yes; then
21714 cat >>confdefs.h
<<_ACEOF
21715 #define HAVE_LROUNDF 1
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21724 $as_echo_n "checking for lround... " >&6; }
21725 if ${gcc_cv_math_func_lround+:} false
; then :
21726 $as_echo_n "(cached) " >&6
21728 if test x
$gcc_no_link = xyes
; then
21729 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21734 #ifdef HAVE_COMPLEX_H
21735 #include <complex.h>
21741 int (*ptr)() = (int (*)())lround;
21750 if ac_fn_c_try_link
"$LINENO"; then :
21751 gcc_cv_math_func_lround
=yes
21753 gcc_cv_math_func_lround
=no
21755 rm -f core conftest.err conftest.
$ac_objext \
21756 conftest
$ac_exeext conftest.
$ac_ext
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21759 $as_echo "$gcc_cv_math_func_lround" >&6; }
21760 if test $gcc_cv_math_func_lround = yes; then
21762 cat >>confdefs.h
<<_ACEOF
21763 #define HAVE_LROUND 1
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21772 $as_echo_n "checking for lroundl... " >&6; }
21773 if ${gcc_cv_math_func_lroundl+:} false
; then :
21774 $as_echo_n "(cached) " >&6
21776 if test x
$gcc_no_link = xyes
; then
21777 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21782 #ifdef HAVE_COMPLEX_H
21783 #include <complex.h>
21789 int (*ptr)() = (int (*)())lroundl;
21798 if ac_fn_c_try_link
"$LINENO"; then :
21799 gcc_cv_math_func_lroundl
=yes
21801 gcc_cv_math_func_lroundl
=no
21803 rm -f core conftest.err conftest.
$ac_objext \
21804 conftest
$ac_exeext conftest.
$ac_ext
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21807 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21808 if test $gcc_cv_math_func_lroundl = yes; then
21810 cat >>confdefs.h
<<_ACEOF
21811 #define HAVE_LROUNDL 1
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21820 $as_echo_n "checking for llroundf... " >&6; }
21821 if ${gcc_cv_math_func_llroundf+:} false
; then :
21822 $as_echo_n "(cached) " >&6
21824 if test x
$gcc_no_link = xyes
; then
21825 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21828 /* end confdefs.h. */
21830 #ifdef HAVE_COMPLEX_H
21831 #include <complex.h>
21837 int (*ptr)() = (int (*)())llroundf;
21846 if ac_fn_c_try_link
"$LINENO"; then :
21847 gcc_cv_math_func_llroundf
=yes
21849 gcc_cv_math_func_llroundf
=no
21851 rm -f core conftest.err conftest.
$ac_objext \
21852 conftest
$ac_exeext conftest.
$ac_ext
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21855 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21856 if test $gcc_cv_math_func_llroundf = yes; then
21858 cat >>confdefs.h
<<_ACEOF
21859 #define HAVE_LLROUNDF 1
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21868 $as_echo_n "checking for llround... " >&6; }
21869 if ${gcc_cv_math_func_llround+:} false
; then :
21870 $as_echo_n "(cached) " >&6
21872 if test x
$gcc_no_link = xyes
; then
21873 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21878 #ifdef HAVE_COMPLEX_H
21879 #include <complex.h>
21885 int (*ptr)() = (int (*)())llround;
21894 if ac_fn_c_try_link
"$LINENO"; then :
21895 gcc_cv_math_func_llround
=yes
21897 gcc_cv_math_func_llround
=no
21899 rm -f core conftest.err conftest.
$ac_objext \
21900 conftest
$ac_exeext conftest.
$ac_ext
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21903 $as_echo "$gcc_cv_math_func_llround" >&6; }
21904 if test $gcc_cv_math_func_llround = yes; then
21906 cat >>confdefs.h
<<_ACEOF
21907 #define HAVE_LLROUND 1
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21916 $as_echo_n "checking for llroundl... " >&6; }
21917 if ${gcc_cv_math_func_llroundl+:} false
; then :
21918 $as_echo_n "(cached) " >&6
21920 if test x
$gcc_no_link = xyes
; then
21921 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h. */
21926 #ifdef HAVE_COMPLEX_H
21927 #include <complex.h>
21933 int (*ptr)() = (int (*)())llroundl;
21942 if ac_fn_c_try_link
"$LINENO"; then :
21943 gcc_cv_math_func_llroundl
=yes
21945 gcc_cv_math_func_llroundl
=no
21947 rm -f core conftest.err conftest.
$ac_objext \
21948 conftest
$ac_exeext conftest.
$ac_ext
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21951 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21952 if test $gcc_cv_math_func_llroundl = yes; then
21954 cat >>confdefs.h
<<_ACEOF
21955 #define HAVE_LLROUNDL 1
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21964 $as_echo_n "checking for scalbnf... " >&6; }
21965 if ${gcc_cv_math_func_scalbnf+:} false
; then :
21966 $as_echo_n "(cached) " >&6
21968 if test x
$gcc_no_link = xyes
; then
21969 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21972 /* end confdefs.h. */
21974 #ifdef HAVE_COMPLEX_H
21975 #include <complex.h>
21981 int (*ptr)() = (int (*)())scalbnf;
21990 if ac_fn_c_try_link
"$LINENO"; then :
21991 gcc_cv_math_func_scalbnf
=yes
21993 gcc_cv_math_func_scalbnf
=no
21995 rm -f core conftest.err conftest.
$ac_objext \
21996 conftest
$ac_exeext conftest.
$ac_ext
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21999 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22000 if test $gcc_cv_math_func_scalbnf = yes; then
22002 cat >>confdefs.h
<<_ACEOF
22003 #define HAVE_SCALBNF 1
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22012 $as_echo_n "checking for scalbn... " >&6; }
22013 if ${gcc_cv_math_func_scalbn+:} false
; then :
22014 $as_echo_n "(cached) " >&6
22016 if test x
$gcc_no_link = xyes
; then
22017 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22020 /* end confdefs.h. */
22022 #ifdef HAVE_COMPLEX_H
22023 #include <complex.h>
22029 int (*ptr)() = (int (*)())scalbn;
22038 if ac_fn_c_try_link
"$LINENO"; then :
22039 gcc_cv_math_func_scalbn
=yes
22041 gcc_cv_math_func_scalbn
=no
22043 rm -f core conftest.err conftest.
$ac_objext \
22044 conftest
$ac_exeext conftest.
$ac_ext
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22047 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22048 if test $gcc_cv_math_func_scalbn = yes; then
22050 cat >>confdefs.h
<<_ACEOF
22051 #define HAVE_SCALBN 1
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22060 $as_echo_n "checking for scalbnl... " >&6; }
22061 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22062 $as_echo_n "(cached) " >&6
22064 if test x
$gcc_no_link = xyes
; then
22065 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22068 /* end confdefs.h. */
22070 #ifdef HAVE_COMPLEX_H
22071 #include <complex.h>
22077 int (*ptr)() = (int (*)())scalbnl;
22086 if ac_fn_c_try_link
"$LINENO"; then :
22087 gcc_cv_math_func_scalbnl
=yes
22089 gcc_cv_math_func_scalbnl
=no
22091 rm -f core conftest.err conftest.
$ac_objext \
22092 conftest
$ac_exeext conftest.
$ac_ext
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22095 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22096 if test $gcc_cv_math_func_scalbnl = yes; then
22098 cat >>confdefs.h
<<_ACEOF
22099 #define HAVE_SCALBNL 1
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22108 $as_echo_n "checking for sinf... " >&6; }
22109 if ${gcc_cv_math_func_sinf+:} false
; then :
22110 $as_echo_n "(cached) " >&6
22112 if test x
$gcc_no_link = xyes
; then
22113 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22116 /* end confdefs.h. */
22118 #ifdef HAVE_COMPLEX_H
22119 #include <complex.h>
22125 int (*ptr)() = (int (*)())sinf;
22134 if ac_fn_c_try_link
"$LINENO"; then :
22135 gcc_cv_math_func_sinf
=yes
22137 gcc_cv_math_func_sinf
=no
22139 rm -f core conftest.err conftest.
$ac_objext \
22140 conftest
$ac_exeext conftest.
$ac_ext
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22143 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22144 if test $gcc_cv_math_func_sinf = yes; then
22146 cat >>confdefs.h
<<_ACEOF
22147 #define HAVE_SINF 1
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22156 $as_echo_n "checking for sin... " >&6; }
22157 if ${gcc_cv_math_func_sin+:} false
; then :
22158 $as_echo_n "(cached) " >&6
22160 if test x
$gcc_no_link = xyes
; then
22161 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22164 /* end confdefs.h. */
22166 #ifdef HAVE_COMPLEX_H
22167 #include <complex.h>
22173 int (*ptr)() = (int (*)())sin;
22182 if ac_fn_c_try_link
"$LINENO"; then :
22183 gcc_cv_math_func_sin
=yes
22185 gcc_cv_math_func_sin
=no
22187 rm -f core conftest.err conftest.
$ac_objext \
22188 conftest
$ac_exeext conftest.
$ac_ext
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22191 $as_echo "$gcc_cv_math_func_sin" >&6; }
22192 if test $gcc_cv_math_func_sin = yes; then
22194 cat >>confdefs.h
<<_ACEOF
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22204 $as_echo_n "checking for sinl... " >&6; }
22205 if ${gcc_cv_math_func_sinl+:} false
; then :
22206 $as_echo_n "(cached) " >&6
22208 if test x
$gcc_no_link = xyes
; then
22209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22212 /* end confdefs.h. */
22214 #ifdef HAVE_COMPLEX_H
22215 #include <complex.h>
22221 int (*ptr)() = (int (*)())sinl;
22230 if ac_fn_c_try_link
"$LINENO"; then :
22231 gcc_cv_math_func_sinl
=yes
22233 gcc_cv_math_func_sinl
=no
22235 rm -f core conftest.err conftest.
$ac_objext \
22236 conftest
$ac_exeext conftest.
$ac_ext
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22239 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22240 if test $gcc_cv_math_func_sinl = yes; then
22242 cat >>confdefs.h
<<_ACEOF
22243 #define HAVE_SINL 1
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22252 $as_echo_n "checking for csinf... " >&6; }
22253 if ${gcc_cv_math_func_csinf+:} false
; then :
22254 $as_echo_n "(cached) " >&6
22256 if test x
$gcc_no_link = xyes
; then
22257 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22260 /* end confdefs.h. */
22262 #ifdef HAVE_COMPLEX_H
22263 #include <complex.h>
22269 int (*ptr)() = (int (*)())csinf;
22278 if ac_fn_c_try_link
"$LINENO"; then :
22279 gcc_cv_math_func_csinf
=yes
22281 gcc_cv_math_func_csinf
=no
22283 rm -f core conftest.err conftest.
$ac_objext \
22284 conftest
$ac_exeext conftest.
$ac_ext
22286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22287 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22288 if test $gcc_cv_math_func_csinf = yes; then
22290 cat >>confdefs.h
<<_ACEOF
22291 #define HAVE_CSINF 1
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22300 $as_echo_n "checking for csin... " >&6; }
22301 if ${gcc_cv_math_func_csin+:} false
; then :
22302 $as_echo_n "(cached) " >&6
22304 if test x
$gcc_no_link = xyes
; then
22305 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22308 /* end confdefs.h. */
22310 #ifdef HAVE_COMPLEX_H
22311 #include <complex.h>
22317 int (*ptr)() = (int (*)())csin;
22326 if ac_fn_c_try_link
"$LINENO"; then :
22327 gcc_cv_math_func_csin
=yes
22329 gcc_cv_math_func_csin
=no
22331 rm -f core conftest.err conftest.
$ac_objext \
22332 conftest
$ac_exeext conftest.
$ac_ext
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22335 $as_echo "$gcc_cv_math_func_csin" >&6; }
22336 if test $gcc_cv_math_func_csin = yes; then
22338 cat >>confdefs.h
<<_ACEOF
22339 #define HAVE_CSIN 1
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22348 $as_echo_n "checking for csinl... " >&6; }
22349 if ${gcc_cv_math_func_csinl+:} false
; then :
22350 $as_echo_n "(cached) " >&6
22352 if test x
$gcc_no_link = xyes
; then
22353 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22356 /* end confdefs.h. */
22358 #ifdef HAVE_COMPLEX_H
22359 #include <complex.h>
22365 int (*ptr)() = (int (*)())csinl;
22374 if ac_fn_c_try_link
"$LINENO"; then :
22375 gcc_cv_math_func_csinl
=yes
22377 gcc_cv_math_func_csinl
=no
22379 rm -f core conftest.err conftest.
$ac_objext \
22380 conftest
$ac_exeext conftest.
$ac_ext
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22383 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22384 if test $gcc_cv_math_func_csinl = yes; then
22386 cat >>confdefs.h
<<_ACEOF
22387 #define HAVE_CSINL 1
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22396 $as_echo_n "checking for sinhf... " >&6; }
22397 if ${gcc_cv_math_func_sinhf+:} false
; then :
22398 $as_echo_n "(cached) " >&6
22400 if test x
$gcc_no_link = xyes
; then
22401 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22406 #ifdef HAVE_COMPLEX_H
22407 #include <complex.h>
22413 int (*ptr)() = (int (*)())sinhf;
22422 if ac_fn_c_try_link
"$LINENO"; then :
22423 gcc_cv_math_func_sinhf
=yes
22425 gcc_cv_math_func_sinhf
=no
22427 rm -f core conftest.err conftest.
$ac_objext \
22428 conftest
$ac_exeext conftest.
$ac_ext
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22431 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22432 if test $gcc_cv_math_func_sinhf = yes; then
22434 cat >>confdefs.h
<<_ACEOF
22435 #define HAVE_SINHF 1
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22444 $as_echo_n "checking for sinh... " >&6; }
22445 if ${gcc_cv_math_func_sinh+:} false
; then :
22446 $as_echo_n "(cached) " >&6
22448 if test x
$gcc_no_link = xyes
; then
22449 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h. */
22454 #ifdef HAVE_COMPLEX_H
22455 #include <complex.h>
22461 int (*ptr)() = (int (*)())sinh;
22470 if ac_fn_c_try_link
"$LINENO"; then :
22471 gcc_cv_math_func_sinh
=yes
22473 gcc_cv_math_func_sinh
=no
22475 rm -f core conftest.err conftest.
$ac_objext \
22476 conftest
$ac_exeext conftest.
$ac_ext
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22479 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22480 if test $gcc_cv_math_func_sinh = yes; then
22482 cat >>confdefs.h
<<_ACEOF
22483 #define HAVE_SINH 1
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22492 $as_echo_n "checking for sinhl... " >&6; }
22493 if ${gcc_cv_math_func_sinhl+:} false
; then :
22494 $as_echo_n "(cached) " >&6
22496 if test x
$gcc_no_link = xyes
; then
22497 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h. */
22502 #ifdef HAVE_COMPLEX_H
22503 #include <complex.h>
22509 int (*ptr)() = (int (*)())sinhl;
22518 if ac_fn_c_try_link
"$LINENO"; then :
22519 gcc_cv_math_func_sinhl
=yes
22521 gcc_cv_math_func_sinhl
=no
22523 rm -f core conftest.err conftest.
$ac_objext \
22524 conftest
$ac_exeext conftest.
$ac_ext
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22527 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22528 if test $gcc_cv_math_func_sinhl = yes; then
22530 cat >>confdefs.h
<<_ACEOF
22531 #define HAVE_SINHL 1
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22540 $as_echo_n "checking for csinhf... " >&6; }
22541 if ${gcc_cv_math_func_csinhf+:} false
; then :
22542 $as_echo_n "(cached) " >&6
22544 if test x
$gcc_no_link = xyes
; then
22545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22548 /* end confdefs.h. */
22550 #ifdef HAVE_COMPLEX_H
22551 #include <complex.h>
22557 int (*ptr)() = (int (*)())csinhf;
22566 if ac_fn_c_try_link
"$LINENO"; then :
22567 gcc_cv_math_func_csinhf
=yes
22569 gcc_cv_math_func_csinhf
=no
22571 rm -f core conftest.err conftest.
$ac_objext \
22572 conftest
$ac_exeext conftest.
$ac_ext
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22575 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22576 if test $gcc_cv_math_func_csinhf = yes; then
22578 cat >>confdefs.h
<<_ACEOF
22579 #define HAVE_CSINHF 1
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22588 $as_echo_n "checking for csinh... " >&6; }
22589 if ${gcc_cv_math_func_csinh+:} false
; then :
22590 $as_echo_n "(cached) " >&6
22592 if test x
$gcc_no_link = xyes
; then
22593 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22596 /* end confdefs.h. */
22598 #ifdef HAVE_COMPLEX_H
22599 #include <complex.h>
22605 int (*ptr)() = (int (*)())csinh;
22614 if ac_fn_c_try_link
"$LINENO"; then :
22615 gcc_cv_math_func_csinh
=yes
22617 gcc_cv_math_func_csinh
=no
22619 rm -f core conftest.err conftest.
$ac_objext \
22620 conftest
$ac_exeext conftest.
$ac_ext
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22623 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22624 if test $gcc_cv_math_func_csinh = yes; then
22626 cat >>confdefs.h
<<_ACEOF
22627 #define HAVE_CSINH 1
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22636 $as_echo_n "checking for csinhl... " >&6; }
22637 if ${gcc_cv_math_func_csinhl+:} false
; then :
22638 $as_echo_n "(cached) " >&6
22640 if test x
$gcc_no_link = xyes
; then
22641 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22644 /* end confdefs.h. */
22646 #ifdef HAVE_COMPLEX_H
22647 #include <complex.h>
22653 int (*ptr)() = (int (*)())csinhl;
22662 if ac_fn_c_try_link
"$LINENO"; then :
22663 gcc_cv_math_func_csinhl
=yes
22665 gcc_cv_math_func_csinhl
=no
22667 rm -f core conftest.err conftest.
$ac_objext \
22668 conftest
$ac_exeext conftest.
$ac_ext
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22671 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22672 if test $gcc_cv_math_func_csinhl = yes; then
22674 cat >>confdefs.h
<<_ACEOF
22675 #define HAVE_CSINHL 1
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22684 $as_echo_n "checking for sqrtf... " >&6; }
22685 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22686 $as_echo_n "(cached) " >&6
22688 if test x
$gcc_no_link = xyes
; then
22689 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22692 /* end confdefs.h. */
22694 #ifdef HAVE_COMPLEX_H
22695 #include <complex.h>
22701 int (*ptr)() = (int (*)())sqrtf;
22710 if ac_fn_c_try_link
"$LINENO"; then :
22711 gcc_cv_math_func_sqrtf
=yes
22713 gcc_cv_math_func_sqrtf
=no
22715 rm -f core conftest.err conftest.
$ac_objext \
22716 conftest
$ac_exeext conftest.
$ac_ext
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22719 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22720 if test $gcc_cv_math_func_sqrtf = yes; then
22722 cat >>confdefs.h
<<_ACEOF
22723 #define HAVE_SQRTF 1
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22732 $as_echo_n "checking for sqrt... " >&6; }
22733 if ${gcc_cv_math_func_sqrt+:} false
; then :
22734 $as_echo_n "(cached) " >&6
22736 if test x
$gcc_no_link = xyes
; then
22737 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22740 /* end confdefs.h. */
22742 #ifdef HAVE_COMPLEX_H
22743 #include <complex.h>
22749 int (*ptr)() = (int (*)())sqrt;
22758 if ac_fn_c_try_link
"$LINENO"; then :
22759 gcc_cv_math_func_sqrt
=yes
22761 gcc_cv_math_func_sqrt
=no
22763 rm -f core conftest.err conftest.
$ac_objext \
22764 conftest
$ac_exeext conftest.
$ac_ext
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22767 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22768 if test $gcc_cv_math_func_sqrt = yes; then
22770 cat >>confdefs.h
<<_ACEOF
22771 #define HAVE_SQRT 1
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22780 $as_echo_n "checking for sqrtl... " >&6; }
22781 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22782 $as_echo_n "(cached) " >&6
22784 if test x
$gcc_no_link = xyes
; then
22785 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22790 #ifdef HAVE_COMPLEX_H
22791 #include <complex.h>
22797 int (*ptr)() = (int (*)())sqrtl;
22806 if ac_fn_c_try_link
"$LINENO"; then :
22807 gcc_cv_math_func_sqrtl
=yes
22809 gcc_cv_math_func_sqrtl
=no
22811 rm -f core conftest.err conftest.
$ac_objext \
22812 conftest
$ac_exeext conftest.
$ac_ext
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22815 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22816 if test $gcc_cv_math_func_sqrtl = yes; then
22818 cat >>confdefs.h
<<_ACEOF
22819 #define HAVE_SQRTL 1
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22828 $as_echo_n "checking for csqrtf... " >&6; }
22829 if ${gcc_cv_math_func_csqrtf+:} false
; then :
22830 $as_echo_n "(cached) " >&6
22832 if test x
$gcc_no_link = xyes
; then
22833 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22836 /* end confdefs.h. */
22838 #ifdef HAVE_COMPLEX_H
22839 #include <complex.h>
22845 int (*ptr)() = (int (*)())csqrtf;
22854 if ac_fn_c_try_link
"$LINENO"; then :
22855 gcc_cv_math_func_csqrtf
=yes
22857 gcc_cv_math_func_csqrtf
=no
22859 rm -f core conftest.err conftest.
$ac_objext \
22860 conftest
$ac_exeext conftest.
$ac_ext
22862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22863 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22864 if test $gcc_cv_math_func_csqrtf = yes; then
22866 cat >>confdefs.h
<<_ACEOF
22867 #define HAVE_CSQRTF 1
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22876 $as_echo_n "checking for csqrt... " >&6; }
22877 if ${gcc_cv_math_func_csqrt+:} false
; then :
22878 $as_echo_n "(cached) " >&6
22880 if test x
$gcc_no_link = xyes
; then
22881 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22884 /* end confdefs.h. */
22886 #ifdef HAVE_COMPLEX_H
22887 #include <complex.h>
22893 int (*ptr)() = (int (*)())csqrt;
22902 if ac_fn_c_try_link
"$LINENO"; then :
22903 gcc_cv_math_func_csqrt
=yes
22905 gcc_cv_math_func_csqrt
=no
22907 rm -f core conftest.err conftest.
$ac_objext \
22908 conftest
$ac_exeext conftest.
$ac_ext
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22911 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22912 if test $gcc_cv_math_func_csqrt = yes; then
22914 cat >>confdefs.h
<<_ACEOF
22915 #define HAVE_CSQRT 1
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22924 $as_echo_n "checking for csqrtl... " >&6; }
22925 if ${gcc_cv_math_func_csqrtl+:} false
; then :
22926 $as_echo_n "(cached) " >&6
22928 if test x
$gcc_no_link = xyes
; then
22929 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22932 /* end confdefs.h. */
22934 #ifdef HAVE_COMPLEX_H
22935 #include <complex.h>
22941 int (*ptr)() = (int (*)())csqrtl;
22950 if ac_fn_c_try_link
"$LINENO"; then :
22951 gcc_cv_math_func_csqrtl
=yes
22953 gcc_cv_math_func_csqrtl
=no
22955 rm -f core conftest.err conftest.
$ac_objext \
22956 conftest
$ac_exeext conftest.
$ac_ext
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22959 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22960 if test $gcc_cv_math_func_csqrtl = yes; then
22962 cat >>confdefs.h
<<_ACEOF
22963 #define HAVE_CSQRTL 1
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22972 $as_echo_n "checking for tanf... " >&6; }
22973 if ${gcc_cv_math_func_tanf+:} false
; then :
22974 $as_echo_n "(cached) " >&6
22976 if test x
$gcc_no_link = xyes
; then
22977 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22980 /* end confdefs.h. */
22982 #ifdef HAVE_COMPLEX_H
22983 #include <complex.h>
22989 int (*ptr)() = (int (*)())tanf;
22998 if ac_fn_c_try_link
"$LINENO"; then :
22999 gcc_cv_math_func_tanf
=yes
23001 gcc_cv_math_func_tanf
=no
23003 rm -f core conftest.err conftest.
$ac_objext \
23004 conftest
$ac_exeext conftest.
$ac_ext
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23007 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23008 if test $gcc_cv_math_func_tanf = yes; then
23010 cat >>confdefs.h
<<_ACEOF
23011 #define HAVE_TANF 1
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23020 $as_echo_n "checking for tan... " >&6; }
23021 if ${gcc_cv_math_func_tan+:} false
; then :
23022 $as_echo_n "(cached) " >&6
23024 if test x
$gcc_no_link = xyes
; then
23025 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23028 /* end confdefs.h. */
23030 #ifdef HAVE_COMPLEX_H
23031 #include <complex.h>
23037 int (*ptr)() = (int (*)())tan;
23046 if ac_fn_c_try_link
"$LINENO"; then :
23047 gcc_cv_math_func_tan
=yes
23049 gcc_cv_math_func_tan
=no
23051 rm -f core conftest.err conftest.
$ac_objext \
23052 conftest
$ac_exeext conftest.
$ac_ext
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23055 $as_echo "$gcc_cv_math_func_tan" >&6; }
23056 if test $gcc_cv_math_func_tan = yes; then
23058 cat >>confdefs.h
<<_ACEOF
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23068 $as_echo_n "checking for tanl... " >&6; }
23069 if ${gcc_cv_math_func_tanl+:} false
; then :
23070 $as_echo_n "(cached) " >&6
23072 if test x
$gcc_no_link = xyes
; then
23073 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23076 /* end confdefs.h. */
23078 #ifdef HAVE_COMPLEX_H
23079 #include <complex.h>
23085 int (*ptr)() = (int (*)())tanl;
23094 if ac_fn_c_try_link
"$LINENO"; then :
23095 gcc_cv_math_func_tanl
=yes
23097 gcc_cv_math_func_tanl
=no
23099 rm -f core conftest.err conftest.
$ac_objext \
23100 conftest
$ac_exeext conftest.
$ac_ext
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23103 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23104 if test $gcc_cv_math_func_tanl = yes; then
23106 cat >>confdefs.h
<<_ACEOF
23107 #define HAVE_TANL 1
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23116 $as_echo_n "checking for ctanf... " >&6; }
23117 if ${gcc_cv_math_func_ctanf+:} false
; then :
23118 $as_echo_n "(cached) " >&6
23120 if test x
$gcc_no_link = xyes
; then
23121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23126 #ifdef HAVE_COMPLEX_H
23127 #include <complex.h>
23133 int (*ptr)() = (int (*)())ctanf;
23142 if ac_fn_c_try_link
"$LINENO"; then :
23143 gcc_cv_math_func_ctanf
=yes
23145 gcc_cv_math_func_ctanf
=no
23147 rm -f core conftest.err conftest.
$ac_objext \
23148 conftest
$ac_exeext conftest.
$ac_ext
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23151 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23152 if test $gcc_cv_math_func_ctanf = yes; then
23154 cat >>confdefs.h
<<_ACEOF
23155 #define HAVE_CTANF 1
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23164 $as_echo_n "checking for ctan... " >&6; }
23165 if ${gcc_cv_math_func_ctan+:} false
; then :
23166 $as_echo_n "(cached) " >&6
23168 if test x
$gcc_no_link = xyes
; then
23169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23172 /* end confdefs.h. */
23174 #ifdef HAVE_COMPLEX_H
23175 #include <complex.h>
23181 int (*ptr)() = (int (*)())ctan;
23190 if ac_fn_c_try_link
"$LINENO"; then :
23191 gcc_cv_math_func_ctan
=yes
23193 gcc_cv_math_func_ctan
=no
23195 rm -f core conftest.err conftest.
$ac_objext \
23196 conftest
$ac_exeext conftest.
$ac_ext
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23199 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23200 if test $gcc_cv_math_func_ctan = yes; then
23202 cat >>confdefs.h
<<_ACEOF
23203 #define HAVE_CTAN 1
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23212 $as_echo_n "checking for ctanl... " >&6; }
23213 if ${gcc_cv_math_func_ctanl+:} false
; then :
23214 $as_echo_n "(cached) " >&6
23216 if test x
$gcc_no_link = xyes
; then
23217 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23220 /* end confdefs.h. */
23222 #ifdef HAVE_COMPLEX_H
23223 #include <complex.h>
23229 int (*ptr)() = (int (*)())ctanl;
23238 if ac_fn_c_try_link
"$LINENO"; then :
23239 gcc_cv_math_func_ctanl
=yes
23241 gcc_cv_math_func_ctanl
=no
23243 rm -f core conftest.err conftest.
$ac_objext \
23244 conftest
$ac_exeext conftest.
$ac_ext
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23247 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23248 if test $gcc_cv_math_func_ctanl = yes; then
23250 cat >>confdefs.h
<<_ACEOF
23251 #define HAVE_CTANL 1
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23260 $as_echo_n "checking for tanhf... " >&6; }
23261 if ${gcc_cv_math_func_tanhf+:} false
; then :
23262 $as_echo_n "(cached) " >&6
23264 if test x
$gcc_no_link = xyes
; then
23265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23268 /* end confdefs.h. */
23270 #ifdef HAVE_COMPLEX_H
23271 #include <complex.h>
23277 int (*ptr)() = (int (*)())tanhf;
23286 if ac_fn_c_try_link
"$LINENO"; then :
23287 gcc_cv_math_func_tanhf
=yes
23289 gcc_cv_math_func_tanhf
=no
23291 rm -f core conftest.err conftest.
$ac_objext \
23292 conftest
$ac_exeext conftest.
$ac_ext
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23295 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23296 if test $gcc_cv_math_func_tanhf = yes; then
23298 cat >>confdefs.h
<<_ACEOF
23299 #define HAVE_TANHF 1
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23308 $as_echo_n "checking for tanh... " >&6; }
23309 if ${gcc_cv_math_func_tanh+:} false
; then :
23310 $as_echo_n "(cached) " >&6
23312 if test x
$gcc_no_link = xyes
; then
23313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23316 /* end confdefs.h. */
23318 #ifdef HAVE_COMPLEX_H
23319 #include <complex.h>
23325 int (*ptr)() = (int (*)())tanh;
23334 if ac_fn_c_try_link
"$LINENO"; then :
23335 gcc_cv_math_func_tanh
=yes
23337 gcc_cv_math_func_tanh
=no
23339 rm -f core conftest.err conftest.
$ac_objext \
23340 conftest
$ac_exeext conftest.
$ac_ext
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23343 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23344 if test $gcc_cv_math_func_tanh = yes; then
23346 cat >>confdefs.h
<<_ACEOF
23347 #define HAVE_TANH 1
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23356 $as_echo_n "checking for tanhl... " >&6; }
23357 if ${gcc_cv_math_func_tanhl+:} false
; then :
23358 $as_echo_n "(cached) " >&6
23360 if test x
$gcc_no_link = xyes
; then
23361 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23364 /* end confdefs.h. */
23366 #ifdef HAVE_COMPLEX_H
23367 #include <complex.h>
23373 int (*ptr)() = (int (*)())tanhl;
23382 if ac_fn_c_try_link
"$LINENO"; then :
23383 gcc_cv_math_func_tanhl
=yes
23385 gcc_cv_math_func_tanhl
=no
23387 rm -f core conftest.err conftest.
$ac_objext \
23388 conftest
$ac_exeext conftest.
$ac_ext
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23391 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23392 if test $gcc_cv_math_func_tanhl = yes; then
23394 cat >>confdefs.h
<<_ACEOF
23395 #define HAVE_TANHL 1
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23404 $as_echo_n "checking for ctanhf... " >&6; }
23405 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23406 $as_echo_n "(cached) " >&6
23408 if test x
$gcc_no_link = xyes
; then
23409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23412 /* end confdefs.h. */
23414 #ifdef HAVE_COMPLEX_H
23415 #include <complex.h>
23421 int (*ptr)() = (int (*)())ctanhf;
23430 if ac_fn_c_try_link
"$LINENO"; then :
23431 gcc_cv_math_func_ctanhf
=yes
23433 gcc_cv_math_func_ctanhf
=no
23435 rm -f core conftest.err conftest.
$ac_objext \
23436 conftest
$ac_exeext conftest.
$ac_ext
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23439 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23440 if test $gcc_cv_math_func_ctanhf = yes; then
23442 cat >>confdefs.h
<<_ACEOF
23443 #define HAVE_CTANHF 1
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23452 $as_echo_n "checking for ctanh... " >&6; }
23453 if ${gcc_cv_math_func_ctanh+:} false
; then :
23454 $as_echo_n "(cached) " >&6
23456 if test x
$gcc_no_link = xyes
; then
23457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23462 #ifdef HAVE_COMPLEX_H
23463 #include <complex.h>
23469 int (*ptr)() = (int (*)())ctanh;
23478 if ac_fn_c_try_link
"$LINENO"; then :
23479 gcc_cv_math_func_ctanh
=yes
23481 gcc_cv_math_func_ctanh
=no
23483 rm -f core conftest.err conftest.
$ac_objext \
23484 conftest
$ac_exeext conftest.
$ac_ext
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23487 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23488 if test $gcc_cv_math_func_ctanh = yes; then
23490 cat >>confdefs.h
<<_ACEOF
23491 #define HAVE_CTANH 1
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23500 $as_echo_n "checking for ctanhl... " >&6; }
23501 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23502 $as_echo_n "(cached) " >&6
23504 if test x
$gcc_no_link = xyes
; then
23505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h. */
23510 #ifdef HAVE_COMPLEX_H
23511 #include <complex.h>
23517 int (*ptr)() = (int (*)())ctanhl;
23526 if ac_fn_c_try_link
"$LINENO"; then :
23527 gcc_cv_math_func_ctanhl
=yes
23529 gcc_cv_math_func_ctanhl
=no
23531 rm -f core conftest.err conftest.
$ac_objext \
23532 conftest
$ac_exeext conftest.
$ac_ext
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23535 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23536 if test $gcc_cv_math_func_ctanhl = yes; then
23538 cat >>confdefs.h
<<_ACEOF
23539 #define HAVE_CTANHL 1
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23548 $as_echo_n "checking for truncf... " >&6; }
23549 if ${gcc_cv_math_func_truncf+:} false
; then :
23550 $as_echo_n "(cached) " >&6
23552 if test x
$gcc_no_link = xyes
; then
23553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23556 /* end confdefs.h. */
23558 #ifdef HAVE_COMPLEX_H
23559 #include <complex.h>
23565 int (*ptr)() = (int (*)())truncf;
23574 if ac_fn_c_try_link
"$LINENO"; then :
23575 gcc_cv_math_func_truncf
=yes
23577 gcc_cv_math_func_truncf
=no
23579 rm -f core conftest.err conftest.
$ac_objext \
23580 conftest
$ac_exeext conftest.
$ac_ext
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23583 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23584 if test $gcc_cv_math_func_truncf = yes; then
23586 cat >>confdefs.h
<<_ACEOF
23587 #define HAVE_TRUNCF 1
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23596 $as_echo_n "checking for trunc... " >&6; }
23597 if ${gcc_cv_math_func_trunc+:} false
; then :
23598 $as_echo_n "(cached) " >&6
23600 if test x
$gcc_no_link = xyes
; then
23601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23604 /* end confdefs.h. */
23606 #ifdef HAVE_COMPLEX_H
23607 #include <complex.h>
23613 int (*ptr)() = (int (*)())trunc;
23622 if ac_fn_c_try_link
"$LINENO"; then :
23623 gcc_cv_math_func_trunc
=yes
23625 gcc_cv_math_func_trunc
=no
23627 rm -f core conftest.err conftest.
$ac_objext \
23628 conftest
$ac_exeext conftest.
$ac_ext
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23631 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23632 if test $gcc_cv_math_func_trunc = yes; then
23634 cat >>confdefs.h
<<_ACEOF
23635 #define HAVE_TRUNC 1
23643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23644 $as_echo_n "checking for truncl... " >&6; }
23645 if ${gcc_cv_math_func_truncl+:} false
; then :
23646 $as_echo_n "(cached) " >&6
23648 if test x
$gcc_no_link = xyes
; then
23649 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23654 #ifdef HAVE_COMPLEX_H
23655 #include <complex.h>
23661 int (*ptr)() = (int (*)())truncl;
23670 if ac_fn_c_try_link
"$LINENO"; then :
23671 gcc_cv_math_func_truncl
=yes
23673 gcc_cv_math_func_truncl
=no
23675 rm -f core conftest.err conftest.
$ac_objext \
23676 conftest
$ac_exeext conftest.
$ac_ext
23678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23679 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23680 if test $gcc_cv_math_func_truncl = yes; then
23682 cat >>confdefs.h
<<_ACEOF
23683 #define HAVE_TRUNCL 1
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23692 $as_echo_n "checking for erff... " >&6; }
23693 if ${gcc_cv_math_func_erff+:} false
; then :
23694 $as_echo_n "(cached) " >&6
23696 if test x
$gcc_no_link = xyes
; then
23697 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h. */
23702 #ifdef HAVE_COMPLEX_H
23703 #include <complex.h>
23709 int (*ptr)() = (int (*)())erff;
23718 if ac_fn_c_try_link
"$LINENO"; then :
23719 gcc_cv_math_func_erff
=yes
23721 gcc_cv_math_func_erff
=no
23723 rm -f core conftest.err conftest.
$ac_objext \
23724 conftest
$ac_exeext conftest.
$ac_ext
23726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23727 $as_echo "$gcc_cv_math_func_erff" >&6; }
23728 if test $gcc_cv_math_func_erff = yes; then
23730 cat >>confdefs.h
<<_ACEOF
23731 #define HAVE_ERFF 1
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23740 $as_echo_n "checking for erf... " >&6; }
23741 if ${gcc_cv_math_func_erf+:} false
; then :
23742 $as_echo_n "(cached) " >&6
23744 if test x
$gcc_no_link = xyes
; then
23745 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23748 /* end confdefs.h. */
23750 #ifdef HAVE_COMPLEX_H
23751 #include <complex.h>
23757 int (*ptr)() = (int (*)())erf;
23766 if ac_fn_c_try_link
"$LINENO"; then :
23767 gcc_cv_math_func_erf
=yes
23769 gcc_cv_math_func_erf
=no
23771 rm -f core conftest.err conftest.
$ac_objext \
23772 conftest
$ac_exeext conftest.
$ac_ext
23774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23775 $as_echo "$gcc_cv_math_func_erf" >&6; }
23776 if test $gcc_cv_math_func_erf = yes; then
23778 cat >>confdefs.h
<<_ACEOF
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23788 $as_echo_n "checking for erfcf... " >&6; }
23789 if ${gcc_cv_math_func_erfcf+:} false
; then :
23790 $as_echo_n "(cached) " >&6
23792 if test x
$gcc_no_link = xyes
; then
23793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23796 /* end confdefs.h. */
23798 #ifdef HAVE_COMPLEX_H
23799 #include <complex.h>
23805 int (*ptr)() = (int (*)())erfcf;
23814 if ac_fn_c_try_link
"$LINENO"; then :
23815 gcc_cv_math_func_erfcf
=yes
23817 gcc_cv_math_func_erfcf
=no
23819 rm -f core conftest.err conftest.
$ac_objext \
23820 conftest
$ac_exeext conftest.
$ac_ext
23822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23823 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23824 if test $gcc_cv_math_func_erfcf = yes; then
23826 cat >>confdefs.h
<<_ACEOF
23827 #define HAVE_ERFCF 1
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23836 $as_echo_n "checking for erfc... " >&6; }
23837 if ${gcc_cv_math_func_erfc+:} false
; then :
23838 $as_echo_n "(cached) " >&6
23840 if test x
$gcc_no_link = xyes
; then
23841 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23844 /* end confdefs.h. */
23846 #ifdef HAVE_COMPLEX_H
23847 #include <complex.h>
23853 int (*ptr)() = (int (*)())erfc;
23862 if ac_fn_c_try_link
"$LINENO"; then :
23863 gcc_cv_math_func_erfc
=yes
23865 gcc_cv_math_func_erfc
=no
23867 rm -f core conftest.err conftest.
$ac_objext \
23868 conftest
$ac_exeext conftest.
$ac_ext
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23871 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23872 if test $gcc_cv_math_func_erfc = yes; then
23874 cat >>confdefs.h
<<_ACEOF
23875 #define HAVE_ERFC 1
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23884 $as_echo_n "checking for erfcl... " >&6; }
23885 if ${gcc_cv_math_func_erfcl+:} false
; then :
23886 $as_echo_n "(cached) " >&6
23888 if test x
$gcc_no_link = xyes
; then
23889 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23892 /* end confdefs.h. */
23894 #ifdef HAVE_COMPLEX_H
23895 #include <complex.h>
23901 int (*ptr)() = (int (*)())erfcl;
23910 if ac_fn_c_try_link
"$LINENO"; then :
23911 gcc_cv_math_func_erfcl
=yes
23913 gcc_cv_math_func_erfcl
=no
23915 rm -f core conftest.err conftest.
$ac_objext \
23916 conftest
$ac_exeext conftest.
$ac_ext
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23919 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23920 if test $gcc_cv_math_func_erfcl = yes; then
23922 cat >>confdefs.h
<<_ACEOF
23923 #define HAVE_ERFCL 1
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23932 $as_echo_n "checking for j0f... " >&6; }
23933 if ${gcc_cv_math_func_j0f+:} false
; then :
23934 $as_echo_n "(cached) " >&6
23936 if test x
$gcc_no_link = xyes
; then
23937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23942 #ifdef HAVE_COMPLEX_H
23943 #include <complex.h>
23949 int (*ptr)() = (int (*)())j0f;
23958 if ac_fn_c_try_link
"$LINENO"; then :
23959 gcc_cv_math_func_j0f
=yes
23961 gcc_cv_math_func_j0f
=no
23963 rm -f core conftest.err conftest.
$ac_objext \
23964 conftest
$ac_exeext conftest.
$ac_ext
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23967 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23968 if test $gcc_cv_math_func_j0f = yes; then
23970 cat >>confdefs.h
<<_ACEOF
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23980 $as_echo_n "checking for j0... " >&6; }
23981 if ${gcc_cv_math_func_j0+:} false
; then :
23982 $as_echo_n "(cached) " >&6
23984 if test x
$gcc_no_link = xyes
; then
23985 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23988 /* end confdefs.h. */
23990 #ifdef HAVE_COMPLEX_H
23991 #include <complex.h>
23997 int (*ptr)() = (int (*)())j0;
24006 if ac_fn_c_try_link
"$LINENO"; then :
24007 gcc_cv_math_func_j0
=yes
24009 gcc_cv_math_func_j0
=no
24011 rm -f core conftest.err conftest.
$ac_objext \
24012 conftest
$ac_exeext conftest.
$ac_ext
24014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24015 $as_echo "$gcc_cv_math_func_j0" >&6; }
24016 if test $gcc_cv_math_func_j0 = yes; then
24018 cat >>confdefs.h
<<_ACEOF
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24028 $as_echo_n "checking for j1f... " >&6; }
24029 if ${gcc_cv_math_func_j1f+:} false
; then :
24030 $as_echo_n "(cached) " >&6
24032 if test x
$gcc_no_link = xyes
; then
24033 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24038 #ifdef HAVE_COMPLEX_H
24039 #include <complex.h>
24045 int (*ptr)() = (int (*)())j1f;
24054 if ac_fn_c_try_link
"$LINENO"; then :
24055 gcc_cv_math_func_j1f
=yes
24057 gcc_cv_math_func_j1f
=no
24059 rm -f core conftest.err conftest.
$ac_objext \
24060 conftest
$ac_exeext conftest.
$ac_ext
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24063 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24064 if test $gcc_cv_math_func_j1f = yes; then
24066 cat >>confdefs.h
<<_ACEOF
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24076 $as_echo_n "checking for j1... " >&6; }
24077 if ${gcc_cv_math_func_j1+:} false
; then :
24078 $as_echo_n "(cached) " >&6
24080 if test x
$gcc_no_link = xyes
; then
24081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24084 /* end confdefs.h. */
24086 #ifdef HAVE_COMPLEX_H
24087 #include <complex.h>
24093 int (*ptr)() = (int (*)())j1;
24102 if ac_fn_c_try_link
"$LINENO"; then :
24103 gcc_cv_math_func_j1
=yes
24105 gcc_cv_math_func_j1
=no
24107 rm -f core conftest.err conftest.
$ac_objext \
24108 conftest
$ac_exeext conftest.
$ac_ext
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24111 $as_echo "$gcc_cv_math_func_j1" >&6; }
24112 if test $gcc_cv_math_func_j1 = yes; then
24114 cat >>confdefs.h
<<_ACEOF
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24124 $as_echo_n "checking for jnf... " >&6; }
24125 if ${gcc_cv_math_func_jnf+:} false
; then :
24126 $as_echo_n "(cached) " >&6
24128 if test x
$gcc_no_link = xyes
; then
24129 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24134 #ifdef HAVE_COMPLEX_H
24135 #include <complex.h>
24141 int (*ptr)() = (int (*)())jnf;
24150 if ac_fn_c_try_link
"$LINENO"; then :
24151 gcc_cv_math_func_jnf
=yes
24153 gcc_cv_math_func_jnf
=no
24155 rm -f core conftest.err conftest.
$ac_objext \
24156 conftest
$ac_exeext conftest.
$ac_ext
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24159 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24160 if test $gcc_cv_math_func_jnf = yes; then
24162 cat >>confdefs.h
<<_ACEOF
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24172 $as_echo_n "checking for jn... " >&6; }
24173 if ${gcc_cv_math_func_jn+:} false
; then :
24174 $as_echo_n "(cached) " >&6
24176 if test x
$gcc_no_link = xyes
; then
24177 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24180 /* end confdefs.h. */
24182 #ifdef HAVE_COMPLEX_H
24183 #include <complex.h>
24189 int (*ptr)() = (int (*)())jn;
24198 if ac_fn_c_try_link
"$LINENO"; then :
24199 gcc_cv_math_func_jn
=yes
24201 gcc_cv_math_func_jn
=no
24203 rm -f core conftest.err conftest.
$ac_objext \
24204 conftest
$ac_exeext conftest.
$ac_ext
24206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24207 $as_echo "$gcc_cv_math_func_jn" >&6; }
24208 if test $gcc_cv_math_func_jn = yes; then
24210 cat >>confdefs.h
<<_ACEOF
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24220 $as_echo_n "checking for jnl... " >&6; }
24221 if ${gcc_cv_math_func_jnl+:} false
; then :
24222 $as_echo_n "(cached) " >&6
24224 if test x
$gcc_no_link = xyes
; then
24225 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24228 /* end confdefs.h. */
24230 #ifdef HAVE_COMPLEX_H
24231 #include <complex.h>
24237 int (*ptr)() = (int (*)())jnl;
24246 if ac_fn_c_try_link
"$LINENO"; then :
24247 gcc_cv_math_func_jnl
=yes
24249 gcc_cv_math_func_jnl
=no
24251 rm -f core conftest.err conftest.
$ac_objext \
24252 conftest
$ac_exeext conftest.
$ac_ext
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24255 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24256 if test $gcc_cv_math_func_jnl = yes; then
24258 cat >>confdefs.h
<<_ACEOF
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24268 $as_echo_n "checking for y0f... " >&6; }
24269 if ${gcc_cv_math_func_y0f+:} false
; then :
24270 $as_echo_n "(cached) " >&6
24272 if test x
$gcc_no_link = xyes
; then
24273 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24276 /* end confdefs.h. */
24278 #ifdef HAVE_COMPLEX_H
24279 #include <complex.h>
24285 int (*ptr)() = (int (*)())y0f;
24294 if ac_fn_c_try_link
"$LINENO"; then :
24295 gcc_cv_math_func_y0f
=yes
24297 gcc_cv_math_func_y0f
=no
24299 rm -f core conftest.err conftest.
$ac_objext \
24300 conftest
$ac_exeext conftest.
$ac_ext
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24303 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24304 if test $gcc_cv_math_func_y0f = yes; then
24306 cat >>confdefs.h
<<_ACEOF
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24316 $as_echo_n "checking for y0... " >&6; }
24317 if ${gcc_cv_math_func_y0+:} false
; then :
24318 $as_echo_n "(cached) " >&6
24320 if test x
$gcc_no_link = xyes
; then
24321 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24326 #ifdef HAVE_COMPLEX_H
24327 #include <complex.h>
24333 int (*ptr)() = (int (*)())y0;
24342 if ac_fn_c_try_link
"$LINENO"; then :
24343 gcc_cv_math_func_y0
=yes
24345 gcc_cv_math_func_y0
=no
24347 rm -f core conftest.err conftest.
$ac_objext \
24348 conftest
$ac_exeext conftest.
$ac_ext
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24351 $as_echo "$gcc_cv_math_func_y0" >&6; }
24352 if test $gcc_cv_math_func_y0 = yes; then
24354 cat >>confdefs.h
<<_ACEOF
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24364 $as_echo_n "checking for y1f... " >&6; }
24365 if ${gcc_cv_math_func_y1f+:} false
; then :
24366 $as_echo_n "(cached) " >&6
24368 if test x
$gcc_no_link = xyes
; then
24369 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24372 /* end confdefs.h. */
24374 #ifdef HAVE_COMPLEX_H
24375 #include <complex.h>
24381 int (*ptr)() = (int (*)())y1f;
24390 if ac_fn_c_try_link
"$LINENO"; then :
24391 gcc_cv_math_func_y1f
=yes
24393 gcc_cv_math_func_y1f
=no
24395 rm -f core conftest.err conftest.
$ac_objext \
24396 conftest
$ac_exeext conftest.
$ac_ext
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24399 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24400 if test $gcc_cv_math_func_y1f = yes; then
24402 cat >>confdefs.h
<<_ACEOF
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24412 $as_echo_n "checking for y1... " >&6; }
24413 if ${gcc_cv_math_func_y1+:} false
; then :
24414 $as_echo_n "(cached) " >&6
24416 if test x
$gcc_no_link = xyes
; then
24417 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h. */
24422 #ifdef HAVE_COMPLEX_H
24423 #include <complex.h>
24429 int (*ptr)() = (int (*)())y1;
24438 if ac_fn_c_try_link
"$LINENO"; then :
24439 gcc_cv_math_func_y1
=yes
24441 gcc_cv_math_func_y1
=no
24443 rm -f core conftest.err conftest.
$ac_objext \
24444 conftest
$ac_exeext conftest.
$ac_ext
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24447 $as_echo "$gcc_cv_math_func_y1" >&6; }
24448 if test $gcc_cv_math_func_y1 = yes; then
24450 cat >>confdefs.h
<<_ACEOF
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24460 $as_echo_n "checking for ynf... " >&6; }
24461 if ${gcc_cv_math_func_ynf+:} false
; then :
24462 $as_echo_n "(cached) " >&6
24464 if test x
$gcc_no_link = xyes
; then
24465 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24468 /* end confdefs.h. */
24470 #ifdef HAVE_COMPLEX_H
24471 #include <complex.h>
24477 int (*ptr)() = (int (*)())ynf;
24486 if ac_fn_c_try_link
"$LINENO"; then :
24487 gcc_cv_math_func_ynf
=yes
24489 gcc_cv_math_func_ynf
=no
24491 rm -f core conftest.err conftest.
$ac_objext \
24492 conftest
$ac_exeext conftest.
$ac_ext
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24495 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24496 if test $gcc_cv_math_func_ynf = yes; then
24498 cat >>confdefs.h
<<_ACEOF
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24508 $as_echo_n "checking for yn... " >&6; }
24509 if ${gcc_cv_math_func_yn+:} false
; then :
24510 $as_echo_n "(cached) " >&6
24512 if test x
$gcc_no_link = xyes
; then
24513 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h. */
24518 #ifdef HAVE_COMPLEX_H
24519 #include <complex.h>
24525 int (*ptr)() = (int (*)())yn;
24534 if ac_fn_c_try_link
"$LINENO"; then :
24535 gcc_cv_math_func_yn
=yes
24537 gcc_cv_math_func_yn
=no
24539 rm -f core conftest.err conftest.
$ac_objext \
24540 conftest
$ac_exeext conftest.
$ac_ext
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24543 $as_echo "$gcc_cv_math_func_yn" >&6; }
24544 if test $gcc_cv_math_func_yn = yes; then
24546 cat >>confdefs.h
<<_ACEOF
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24556 $as_echo_n "checking for ynl... " >&6; }
24557 if ${gcc_cv_math_func_ynl+:} false
; then :
24558 $as_echo_n "(cached) " >&6
24560 if test x
$gcc_no_link = xyes
; then
24561 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24564 /* end confdefs.h. */
24566 #ifdef HAVE_COMPLEX_H
24567 #include <complex.h>
24573 int (*ptr)() = (int (*)())ynl;
24582 if ac_fn_c_try_link
"$LINENO"; then :
24583 gcc_cv_math_func_ynl
=yes
24585 gcc_cv_math_func_ynl
=no
24587 rm -f core conftest.err conftest.
$ac_objext \
24588 conftest
$ac_exeext conftest.
$ac_ext
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24591 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24592 if test $gcc_cv_math_func_ynl = yes; then
24594 cat >>confdefs.h
<<_ACEOF
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24604 $as_echo_n "checking for tgamma... " >&6; }
24605 if ${gcc_cv_math_func_tgamma+:} false
; then :
24606 $as_echo_n "(cached) " >&6
24608 if test x
$gcc_no_link = xyes
; then
24609 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h. */
24614 #ifdef HAVE_COMPLEX_H
24615 #include <complex.h>
24621 int (*ptr)() = (int (*)())tgamma;
24630 if ac_fn_c_try_link
"$LINENO"; then :
24631 gcc_cv_math_func_tgamma
=yes
24633 gcc_cv_math_func_tgamma
=no
24635 rm -f core conftest.err conftest.
$ac_objext \
24636 conftest
$ac_exeext conftest.
$ac_ext
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24639 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24640 if test $gcc_cv_math_func_tgamma = yes; then
24642 cat >>confdefs.h
<<_ACEOF
24643 #define HAVE_TGAMMA 1
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24652 $as_echo_n "checking for tgammaf... " >&6; }
24653 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24654 $as_echo_n "(cached) " >&6
24656 if test x
$gcc_no_link = xyes
; then
24657 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24662 #ifdef HAVE_COMPLEX_H
24663 #include <complex.h>
24669 int (*ptr)() = (int (*)())tgammaf;
24678 if ac_fn_c_try_link
"$LINENO"; then :
24679 gcc_cv_math_func_tgammaf
=yes
24681 gcc_cv_math_func_tgammaf
=no
24683 rm -f core conftest.err conftest.
$ac_objext \
24684 conftest
$ac_exeext conftest.
$ac_ext
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24687 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24688 if test $gcc_cv_math_func_tgammaf = yes; then
24690 cat >>confdefs.h
<<_ACEOF
24691 #define HAVE_TGAMMAF 1
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24700 $as_echo_n "checking for lgamma... " >&6; }
24701 if ${gcc_cv_math_func_lgamma+:} false
; then :
24702 $as_echo_n "(cached) " >&6
24704 if test x
$gcc_no_link = xyes
; then
24705 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h. */
24710 #ifdef HAVE_COMPLEX_H
24711 #include <complex.h>
24717 int (*ptr)() = (int (*)())lgamma;
24726 if ac_fn_c_try_link
"$LINENO"; then :
24727 gcc_cv_math_func_lgamma
=yes
24729 gcc_cv_math_func_lgamma
=no
24731 rm -f core conftest.err conftest.
$ac_objext \
24732 conftest
$ac_exeext conftest.
$ac_ext
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24735 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24736 if test $gcc_cv_math_func_lgamma = yes; then
24738 cat >>confdefs.h
<<_ACEOF
24739 #define HAVE_LGAMMA 1
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24748 $as_echo_n "checking for lgammaf... " >&6; }
24749 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24750 $as_echo_n "(cached) " >&6
24752 if test x
$gcc_no_link = xyes
; then
24753 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24758 #ifdef HAVE_COMPLEX_H
24759 #include <complex.h>
24765 int (*ptr)() = (int (*)())lgammaf;
24774 if ac_fn_c_try_link
"$LINENO"; then :
24775 gcc_cv_math_func_lgammaf
=yes
24777 gcc_cv_math_func_lgammaf
=no
24779 rm -f core conftest.err conftest.
$ac_objext \
24780 conftest
$ac_exeext conftest.
$ac_ext
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24783 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24784 if test $gcc_cv_math_func_lgammaf = yes; then
24786 cat >>confdefs.h
<<_ACEOF
24787 #define HAVE_LGAMMAF 1
24793 # Check for GFORTRAN_C99_1.1 funcs
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24798 $as_echo_n "checking for cacos... " >&6; }
24799 if ${gcc_cv_math_func_cacos+:} false
; then :
24800 $as_echo_n "(cached) " >&6
24802 if test x
$gcc_no_link = xyes
; then
24803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24806 /* end confdefs.h. */
24808 #ifdef HAVE_COMPLEX_H
24809 #include <complex.h>
24815 int (*ptr)() = (int (*)())cacos;
24824 if ac_fn_c_try_link
"$LINENO"; then :
24825 gcc_cv_math_func_cacos
=yes
24827 gcc_cv_math_func_cacos
=no
24829 rm -f core conftest.err conftest.
$ac_objext \
24830 conftest
$ac_exeext conftest.
$ac_ext
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24833 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24834 if test $gcc_cv_math_func_cacos = yes; then
24836 cat >>confdefs.h
<<_ACEOF
24837 #define HAVE_CACOS 1
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24846 $as_echo_n "checking for cacosf... " >&6; }
24847 if ${gcc_cv_math_func_cacosf+:} false
; then :
24848 $as_echo_n "(cached) " >&6
24850 if test x
$gcc_no_link = xyes
; then
24851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24854 /* end confdefs.h. */
24856 #ifdef HAVE_COMPLEX_H
24857 #include <complex.h>
24863 int (*ptr)() = (int (*)())cacosf;
24872 if ac_fn_c_try_link
"$LINENO"; then :
24873 gcc_cv_math_func_cacosf
=yes
24875 gcc_cv_math_func_cacosf
=no
24877 rm -f core conftest.err conftest.
$ac_objext \
24878 conftest
$ac_exeext conftest.
$ac_ext
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24881 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24882 if test $gcc_cv_math_func_cacosf = yes; then
24884 cat >>confdefs.h
<<_ACEOF
24885 #define HAVE_CACOSF 1
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24894 $as_echo_n "checking for cacosh... " >&6; }
24895 if ${gcc_cv_math_func_cacosh+:} false
; then :
24896 $as_echo_n "(cached) " >&6
24898 if test x
$gcc_no_link = xyes
; then
24899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24904 #ifdef HAVE_COMPLEX_H
24905 #include <complex.h>
24911 int (*ptr)() = (int (*)())cacosh;
24920 if ac_fn_c_try_link
"$LINENO"; then :
24921 gcc_cv_math_func_cacosh
=yes
24923 gcc_cv_math_func_cacosh
=no
24925 rm -f core conftest.err conftest.
$ac_objext \
24926 conftest
$ac_exeext conftest.
$ac_ext
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24929 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24930 if test $gcc_cv_math_func_cacosh = yes; then
24932 cat >>confdefs.h
<<_ACEOF
24933 #define HAVE_CACOSH 1
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24942 $as_echo_n "checking for cacoshf... " >&6; }
24943 if ${gcc_cv_math_func_cacoshf+:} false
; then :
24944 $as_echo_n "(cached) " >&6
24946 if test x
$gcc_no_link = xyes
; then
24947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24952 #ifdef HAVE_COMPLEX_H
24953 #include <complex.h>
24959 int (*ptr)() = (int (*)())cacoshf;
24968 if ac_fn_c_try_link
"$LINENO"; then :
24969 gcc_cv_math_func_cacoshf
=yes
24971 gcc_cv_math_func_cacoshf
=no
24973 rm -f core conftest.err conftest.
$ac_objext \
24974 conftest
$ac_exeext conftest.
$ac_ext
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24977 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24978 if test $gcc_cv_math_func_cacoshf = yes; then
24980 cat >>confdefs.h
<<_ACEOF
24981 #define HAVE_CACOSHF 1
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24990 $as_echo_n "checking for cacoshl... " >&6; }
24991 if ${gcc_cv_math_func_cacoshl+:} false
; then :
24992 $as_echo_n "(cached) " >&6
24994 if test x
$gcc_no_link = xyes
; then
24995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
25000 #ifdef HAVE_COMPLEX_H
25001 #include <complex.h>
25007 int (*ptr)() = (int (*)())cacoshl;
25016 if ac_fn_c_try_link
"$LINENO"; then :
25017 gcc_cv_math_func_cacoshl
=yes
25019 gcc_cv_math_func_cacoshl
=no
25021 rm -f core conftest.err conftest.
$ac_objext \
25022 conftest
$ac_exeext conftest.
$ac_ext
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25025 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25026 if test $gcc_cv_math_func_cacoshl = yes; then
25028 cat >>confdefs.h
<<_ACEOF
25029 #define HAVE_CACOSHL 1
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25038 $as_echo_n "checking for cacosl... " >&6; }
25039 if ${gcc_cv_math_func_cacosl+:} false
; then :
25040 $as_echo_n "(cached) " >&6
25042 if test x
$gcc_no_link = xyes
; then
25043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25046 /* end confdefs.h. */
25048 #ifdef HAVE_COMPLEX_H
25049 #include <complex.h>
25055 int (*ptr)() = (int (*)())cacosl;
25064 if ac_fn_c_try_link
"$LINENO"; then :
25065 gcc_cv_math_func_cacosl
=yes
25067 gcc_cv_math_func_cacosl
=no
25069 rm -f core conftest.err conftest.
$ac_objext \
25070 conftest
$ac_exeext conftest.
$ac_ext
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25073 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25074 if test $gcc_cv_math_func_cacosl = yes; then
25076 cat >>confdefs.h
<<_ACEOF
25077 #define HAVE_CACOSL 1
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25086 $as_echo_n "checking for casin... " >&6; }
25087 if ${gcc_cv_math_func_casin+:} false
; then :
25088 $as_echo_n "(cached) " >&6
25090 if test x
$gcc_no_link = xyes
; then
25091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25094 /* end confdefs.h. */
25096 #ifdef HAVE_COMPLEX_H
25097 #include <complex.h>
25103 int (*ptr)() = (int (*)())casin;
25112 if ac_fn_c_try_link
"$LINENO"; then :
25113 gcc_cv_math_func_casin
=yes
25115 gcc_cv_math_func_casin
=no
25117 rm -f core conftest.err conftest.
$ac_objext \
25118 conftest
$ac_exeext conftest.
$ac_ext
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25121 $as_echo "$gcc_cv_math_func_casin" >&6; }
25122 if test $gcc_cv_math_func_casin = yes; then
25124 cat >>confdefs.h
<<_ACEOF
25125 #define HAVE_CASIN 1
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25134 $as_echo_n "checking for casinf... " >&6; }
25135 if ${gcc_cv_math_func_casinf+:} false
; then :
25136 $as_echo_n "(cached) " >&6
25138 if test x
$gcc_no_link = xyes
; then
25139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25144 #ifdef HAVE_COMPLEX_H
25145 #include <complex.h>
25151 int (*ptr)() = (int (*)())casinf;
25160 if ac_fn_c_try_link
"$LINENO"; then :
25161 gcc_cv_math_func_casinf
=yes
25163 gcc_cv_math_func_casinf
=no
25165 rm -f core conftest.err conftest.
$ac_objext \
25166 conftest
$ac_exeext conftest.
$ac_ext
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25169 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25170 if test $gcc_cv_math_func_casinf = yes; then
25172 cat >>confdefs.h
<<_ACEOF
25173 #define HAVE_CASINF 1
25181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25182 $as_echo_n "checking for casinh... " >&6; }
25183 if ${gcc_cv_math_func_casinh+:} false
; then :
25184 $as_echo_n "(cached) " >&6
25186 if test x
$gcc_no_link = xyes
; then
25187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25190 /* end confdefs.h. */
25192 #ifdef HAVE_COMPLEX_H
25193 #include <complex.h>
25199 int (*ptr)() = (int (*)())casinh;
25208 if ac_fn_c_try_link
"$LINENO"; then :
25209 gcc_cv_math_func_casinh
=yes
25211 gcc_cv_math_func_casinh
=no
25213 rm -f core conftest.err conftest.
$ac_objext \
25214 conftest
$ac_exeext conftest.
$ac_ext
25216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25217 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25218 if test $gcc_cv_math_func_casinh = yes; then
25220 cat >>confdefs.h
<<_ACEOF
25221 #define HAVE_CASINH 1
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25230 $as_echo_n "checking for casinhf... " >&6; }
25231 if ${gcc_cv_math_func_casinhf+:} false
; then :
25232 $as_echo_n "(cached) " >&6
25234 if test x
$gcc_no_link = xyes
; then
25235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25238 /* end confdefs.h. */
25240 #ifdef HAVE_COMPLEX_H
25241 #include <complex.h>
25247 int (*ptr)() = (int (*)())casinhf;
25256 if ac_fn_c_try_link
"$LINENO"; then :
25257 gcc_cv_math_func_casinhf
=yes
25259 gcc_cv_math_func_casinhf
=no
25261 rm -f core conftest.err conftest.
$ac_objext \
25262 conftest
$ac_exeext conftest.
$ac_ext
25264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25265 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25266 if test $gcc_cv_math_func_casinhf = yes; then
25268 cat >>confdefs.h
<<_ACEOF
25269 #define HAVE_CASINHF 1
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25278 $as_echo_n "checking for casinhl... " >&6; }
25279 if ${gcc_cv_math_func_casinhl+:} false
; then :
25280 $as_echo_n "(cached) " >&6
25282 if test x
$gcc_no_link = xyes
; then
25283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25286 /* end confdefs.h. */
25288 #ifdef HAVE_COMPLEX_H
25289 #include <complex.h>
25295 int (*ptr)() = (int (*)())casinhl;
25304 if ac_fn_c_try_link
"$LINENO"; then :
25305 gcc_cv_math_func_casinhl
=yes
25307 gcc_cv_math_func_casinhl
=no
25309 rm -f core conftest.err conftest.
$ac_objext \
25310 conftest
$ac_exeext conftest.
$ac_ext
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25313 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25314 if test $gcc_cv_math_func_casinhl = yes; then
25316 cat >>confdefs.h
<<_ACEOF
25317 #define HAVE_CASINHL 1
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25326 $as_echo_n "checking for casinl... " >&6; }
25327 if ${gcc_cv_math_func_casinl+:} false
; then :
25328 $as_echo_n "(cached) " >&6
25330 if test x
$gcc_no_link = xyes
; then
25331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25334 /* end confdefs.h. */
25336 #ifdef HAVE_COMPLEX_H
25337 #include <complex.h>
25343 int (*ptr)() = (int (*)())casinl;
25352 if ac_fn_c_try_link
"$LINENO"; then :
25353 gcc_cv_math_func_casinl
=yes
25355 gcc_cv_math_func_casinl
=no
25357 rm -f core conftest.err conftest.
$ac_objext \
25358 conftest
$ac_exeext conftest.
$ac_ext
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25361 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25362 if test $gcc_cv_math_func_casinl = yes; then
25364 cat >>confdefs.h
<<_ACEOF
25365 #define HAVE_CASINL 1
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25374 $as_echo_n "checking for catan... " >&6; }
25375 if ${gcc_cv_math_func_catan+:} false
; then :
25376 $as_echo_n "(cached) " >&6
25378 if test x
$gcc_no_link = xyes
; then
25379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25382 /* end confdefs.h. */
25384 #ifdef HAVE_COMPLEX_H
25385 #include <complex.h>
25391 int (*ptr)() = (int (*)())catan;
25400 if ac_fn_c_try_link
"$LINENO"; then :
25401 gcc_cv_math_func_catan
=yes
25403 gcc_cv_math_func_catan
=no
25405 rm -f core conftest.err conftest.
$ac_objext \
25406 conftest
$ac_exeext conftest.
$ac_ext
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25409 $as_echo "$gcc_cv_math_func_catan" >&6; }
25410 if test $gcc_cv_math_func_catan = yes; then
25412 cat >>confdefs.h
<<_ACEOF
25413 #define HAVE_CATAN 1
25421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25422 $as_echo_n "checking for catanf... " >&6; }
25423 if ${gcc_cv_math_func_catanf+:} false
; then :
25424 $as_echo_n "(cached) " >&6
25426 if test x
$gcc_no_link = xyes
; then
25427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25430 /* end confdefs.h. */
25432 #ifdef HAVE_COMPLEX_H
25433 #include <complex.h>
25439 int (*ptr)() = (int (*)())catanf;
25448 if ac_fn_c_try_link
"$LINENO"; then :
25449 gcc_cv_math_func_catanf
=yes
25451 gcc_cv_math_func_catanf
=no
25453 rm -f core conftest.err conftest.
$ac_objext \
25454 conftest
$ac_exeext conftest.
$ac_ext
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25457 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25458 if test $gcc_cv_math_func_catanf = yes; then
25460 cat >>confdefs.h
<<_ACEOF
25461 #define HAVE_CATANF 1
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25470 $as_echo_n "checking for catanh... " >&6; }
25471 if ${gcc_cv_math_func_catanh+:} false
; then :
25472 $as_echo_n "(cached) " >&6
25474 if test x
$gcc_no_link = xyes
; then
25475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25478 /* end confdefs.h. */
25480 #ifdef HAVE_COMPLEX_H
25481 #include <complex.h>
25487 int (*ptr)() = (int (*)())catanh;
25496 if ac_fn_c_try_link
"$LINENO"; then :
25497 gcc_cv_math_func_catanh
=yes
25499 gcc_cv_math_func_catanh
=no
25501 rm -f core conftest.err conftest.
$ac_objext \
25502 conftest
$ac_exeext conftest.
$ac_ext
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25505 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25506 if test $gcc_cv_math_func_catanh = yes; then
25508 cat >>confdefs.h
<<_ACEOF
25509 #define HAVE_CATANH 1
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25518 $as_echo_n "checking for catanhf... " >&6; }
25519 if ${gcc_cv_math_func_catanhf+:} false
; then :
25520 $as_echo_n "(cached) " >&6
25522 if test x
$gcc_no_link = xyes
; then
25523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25526 /* end confdefs.h. */
25528 #ifdef HAVE_COMPLEX_H
25529 #include <complex.h>
25535 int (*ptr)() = (int (*)())catanhf;
25544 if ac_fn_c_try_link
"$LINENO"; then :
25545 gcc_cv_math_func_catanhf
=yes
25547 gcc_cv_math_func_catanhf
=no
25549 rm -f core conftest.err conftest.
$ac_objext \
25550 conftest
$ac_exeext conftest.
$ac_ext
25552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25553 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25554 if test $gcc_cv_math_func_catanhf = yes; then
25556 cat >>confdefs.h
<<_ACEOF
25557 #define HAVE_CATANHF 1
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25566 $as_echo_n "checking for catanhl... " >&6; }
25567 if ${gcc_cv_math_func_catanhl+:} false
; then :
25568 $as_echo_n "(cached) " >&6
25570 if test x
$gcc_no_link = xyes
; then
25571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25574 /* end confdefs.h. */
25576 #ifdef HAVE_COMPLEX_H
25577 #include <complex.h>
25583 int (*ptr)() = (int (*)())catanhl;
25592 if ac_fn_c_try_link
"$LINENO"; then :
25593 gcc_cv_math_func_catanhl
=yes
25595 gcc_cv_math_func_catanhl
=no
25597 rm -f core conftest.err conftest.
$ac_objext \
25598 conftest
$ac_exeext conftest.
$ac_ext
25600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25601 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25602 if test $gcc_cv_math_func_catanhl = yes; then
25604 cat >>confdefs.h
<<_ACEOF
25605 #define HAVE_CATANHL 1
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25614 $as_echo_n "checking for catanl... " >&6; }
25615 if ${gcc_cv_math_func_catanl+:} false
; then :
25616 $as_echo_n "(cached) " >&6
25618 if test x
$gcc_no_link = xyes
; then
25619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25622 /* end confdefs.h. */
25624 #ifdef HAVE_COMPLEX_H
25625 #include <complex.h>
25631 int (*ptr)() = (int (*)())catanl;
25640 if ac_fn_c_try_link
"$LINENO"; then :
25641 gcc_cv_math_func_catanl
=yes
25643 gcc_cv_math_func_catanl
=no
25645 rm -f core conftest.err conftest.
$ac_objext \
25646 conftest
$ac_exeext conftest.
$ac_ext
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25649 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25650 if test $gcc_cv_math_func_catanl = yes; then
25652 cat >>confdefs.h
<<_ACEOF
25653 #define HAVE_CATANL 1
25659 # On AIX, clog is present in libm as __clog
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25661 $as_echo_n "checking for __clog in -lm... " >&6; }
25662 if ${ac_cv_lib_m___clog+:} false
; then :
25663 $as_echo_n "(cached) " >&6
25665 ac_check_lib_save_LIBS
=$LIBS
25667 if test x
$gcc_no_link = xyes
; then
25668 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25671 /* end confdefs.h. */
25673 /* Override any GCC internal prototype to avoid an error.
25674 Use char because int might match the return type of a GCC
25675 builtin and then its argument prototype would still apply. */
25688 if ac_fn_c_try_link
"$LINENO"; then :
25689 ac_cv_lib_m___clog
=yes
25691 ac_cv_lib_m___clog
=no
25693 rm -f core conftest.err conftest.
$ac_objext \
25694 conftest
$ac_exeext conftest.
$ac_ext
25695 LIBS
=$ac_check_lib_save_LIBS
25697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25698 $as_echo "$ac_cv_lib_m___clog" >&6; }
25699 if test "x$ac_cv_lib_m___clog" = xyes
; then :
25701 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25708 if test $gcc_cv_math_func_copysign = no
; then
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
25710 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
25711 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
25712 $as_echo_n "(cached) " >&6
25714 if test x
$gcc_no_link = xyes
; then
25715 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25721 copysign_fallback (double x, double y)
25723 return __builtin_copysign (x, y);
25733 if ac_fn_c_try_link
"$LINENO"; then :
25734 gcc_cv_math_inline_builtin_copysign
=yes
25736 gcc_cv_math_inline_builtin_copysign
=no
25738 rm -f core conftest.err conftest.
$ac_objext \
25739 conftest
$ac_exeext conftest.
$ac_ext
25741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
25742 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
25743 if test $gcc_cv_math_inline_builtin_copysign = yes; then
25745 cat >>confdefs.h
<<_ACEOF
25746 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
25753 if test $gcc_cv_math_func_copysignl = no
; then
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
25755 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
25756 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
25757 $as_echo_n "(cached) " >&6
25759 if test x
$gcc_no_link = xyes
; then
25760 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25763 /* end confdefs.h. */
25766 copysignl_fallback (long double x, long double y)
25768 return __builtin_copysignl (x, y);
25778 if ac_fn_c_try_link
"$LINENO"; then :
25779 gcc_cv_math_inline_builtin_copysignl
=yes
25781 gcc_cv_math_inline_builtin_copysignl
=no
25783 rm -f core conftest.err conftest.
$ac_objext \
25784 conftest
$ac_exeext conftest.
$ac_ext
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
25787 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
25788 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
25790 cat >>confdefs.h
<<_ACEOF
25791 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
25798 if test $gcc_cv_math_func_fabs = no
; then
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
25800 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
25801 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
25802 $as_echo_n "(cached) " >&6
25804 if test x
$gcc_no_link = xyes
; then
25805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25811 fabs_fallback (double x)
25813 return __builtin_fabs (x);
25823 if ac_fn_c_try_link
"$LINENO"; then :
25824 gcc_cv_math_inline_builtin_fabs
=yes
25826 gcc_cv_math_inline_builtin_fabs
=no
25828 rm -f core conftest.err conftest.
$ac_objext \
25829 conftest
$ac_exeext conftest.
$ac_ext
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
25832 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
25833 if test $gcc_cv_math_inline_builtin_fabs = yes; then
25835 cat >>confdefs.h
<<_ACEOF
25836 #define HAVE_INLINE_BUILTIN_FABS 1
25843 if test $gcc_cv_math_func_fabsl = no
; then
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
25845 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
25846 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
25847 $as_echo_n "(cached) " >&6
25849 if test x
$gcc_no_link = xyes
; then
25850 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25853 /* end confdefs.h. */
25856 fabsl_fallback (long double x)
25858 return __builtin_fabsl (x);
25868 if ac_fn_c_try_link
"$LINENO"; then :
25869 gcc_cv_math_inline_builtin_fabsl
=yes
25871 gcc_cv_math_inline_builtin_fabsl
=no
25873 rm -f core conftest.err conftest.
$ac_objext \
25874 conftest
$ac_exeext conftest.
$ac_ext
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
25877 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
25878 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
25880 cat >>confdefs.h
<<_ACEOF
25881 #define HAVE_INLINE_BUILTIN_FABSL 1
25887 # Check whether the system has a working stat()
25889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25890 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25891 if ${libgfor_cv_have_working_stat+:} false
; then :
25892 $as_echo_n "(cached) " >&6
25895 if test "$cross_compiling" = yes; then :
25897 case "${target}" in
25898 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25899 *) libgfor_cv_have_working_stat
=yes;;
25902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25903 /* end confdefs.h. */
25906 #include <sys/types.h>
25907 #include <sys/stat.h>
25908 #include <unistd.h>
25913 struct stat st1, st2;
25915 f = fopen ("foo", "w");
25916 g = fopen ("bar", "w");
25917 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25919 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25926 if ac_fn_c_try_run
"$LINENO"; then :
25927 libgfor_cv_have_working_stat
=yes
25929 libgfor_cv_have_working_stat
=no
25931 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25932 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25937 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25938 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25940 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25944 # Check whether __mingw_snprintf() is present
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25947 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25948 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
25949 $as_echo_n "(cached) " >&6
25952 if test x
$gcc_no_link = xyes
; then
25953 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25959 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25965 __mingw_snprintf (NULL, 0, "%d\n", 1);
25971 if ac_fn_c_try_link
"$LINENO"; then :
25972 eval "libgfor_cv_have_mingw_snprintf=yes"
25974 eval "libgfor_cv_have_mingw_snprintf=no"
25976 rm -f core conftest.err conftest.
$ac_objext \
25977 conftest
$ac_exeext conftest.
$ac_ext
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25981 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25982 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25984 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25989 # Check whether libquadmath should be used
25990 # Check whether --enable-libquadmath-support was given.
25991 if test "${enable_libquadmath_support+set}" = set; then :
25992 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25994 ENABLE_LIBQUADMATH_SUPPORT
=yes
25997 enable_libquadmath_support
=
25998 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25999 enable_libquadmath_support
=no
26002 # Check whether we have a __float128 type, depends on enable_libquadmath_support
26006 if test "x$enable_libquadmath_support" != xno
; then
26008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
26009 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
26010 if ${libgfor_cv_have_float128+:} false
; then :
26011 $as_echo_n "(cached) " >&6
26014 if test x
$gcc_no_link = xyes
; then
26015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26016 /* end confdefs.h. */
26018 typedef _Complex float __attribute__((mode(TC))) __complex128;
26020 __float128 foo (__float128 x)
26023 __complex128 z1, z2;
26029 return (__float128) z2;
26032 __float128 bar (__float128 x)
26034 return x * __builtin_huge_valq ();
26048 if ac_fn_c_try_compile
"$LINENO"; then :
26050 libgfor_cv_have_float128
=yes
26054 libgfor_cv_have_float128
=no
26057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26059 if test x
$gcc_no_link = xyes
; then
26060 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26063 /* end confdefs.h. */
26065 typedef _Complex float __attribute__((mode(TC))) __complex128;
26067 __float128 foo (__float128 x)
26070 __complex128 z1, z2;
26076 return (__float128) z2;
26079 __float128 bar (__float128 x)
26081 return x * __builtin_huge_valq ();
26095 if ac_fn_c_try_link
"$LINENO"; then :
26097 libgfor_cv_have_float128
=yes
26101 libgfor_cv_have_float128
=no
26104 rm -f core conftest.err conftest.
$ac_objext \
26105 conftest
$ac_exeext conftest.
$ac_ext
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
26109 $as_echo "$libgfor_cv_have_float128" >&6; }
26111 if test "x$libgfor_cv_have_float128" = xyes
; then
26113 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
26116 ac_xsave_c_werror_flag
=$ac_c_werror_flag
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
26118 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
26119 if ${libgfor_cv_have_as_needed+:} false
; then :
26120 $as_echo_n "(cached) " >&6
26123 # Test for native Solaris options first.
26124 # No whitespace after -z to pass it through -Wl.
26125 libgfor_cv_as_needed_option
="-zignore"
26126 libgfor_cv_no_as_needed_option
="-zrecord"
26127 save_LDFLAGS
="$LDFLAGS"
26128 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
26129 libgfor_cv_have_as_needed
=no
26131 ac_c_werror_flag
=yes
26132 if test x
$gcc_no_link = xyes
; then
26133 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26146 if ac_fn_c_try_link
"$LINENO"; then :
26147 libgfor_cv_have_as_needed
=yes
26149 libgfor_cv_have_as_needed
=no
26151 rm -f core conftest.err conftest.
$ac_objext \
26152 conftest
$ac_exeext conftest.
$ac_ext
26153 LDFLAGS
="$save_LDFLAGS"
26154 if test "x$libgfor_cv_have_as_needed" = xno
; then
26155 libgfor_cv_as_needed_option
="--as-needed"
26156 libgfor_cv_no_as_needed_option
="--no-as-needed"
26157 save_LDFLAGS
="$LDFLAGS"
26158 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
26159 libgfor_cv_have_as_needed
=no
26161 ac_c_werror_flag
=yes
26162 if test x
$gcc_no_link = xyes
; then
26163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26176 if ac_fn_c_try_link
"$LINENO"; then :
26177 libgfor_cv_have_as_needed
=yes
26179 libgfor_cv_have_as_needed
=no
26181 rm -f core conftest.err conftest.
$ac_objext \
26182 conftest
$ac_exeext conftest.
$ac_ext
26183 LDFLAGS
="$save_LDFLAGS"
26185 ac_c_werror_flag
=$ac_xsave_c_werror_flag
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
26189 $as_echo "$libgfor_cv_have_as_needed" >&6; }
26191 if test "x$libgfor_cv_have_as_needed" = xyes
; then
26192 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
26194 LIBQUADSPEC
="-lquadmath"
26196 if test -f ..
/libquadmath
/libquadmath.la
; then
26197 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
26198 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
26199 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
26201 LIBQUADLIB
="-lquadmath"
26207 # for --disable-quadmath
26218 if test "x$libgfor_cv_have_float128" = xyes
; then
26219 LIBGFOR_BUILD_QUAD_TRUE
=
26220 LIBGFOR_BUILD_QUAD_FALSE
='#'
26222 LIBGFOR_BUILD_QUAD_TRUE
='#'
26223 LIBGFOR_BUILD_QUAD_FALSE
=
26228 # Check for GNU libc feenableexcept
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
26230 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
26231 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
26232 $as_echo_n "(cached) " >&6
26234 ac_check_lib_save_LIBS
=$LIBS
26236 if test x
$gcc_no_link = xyes
; then
26237 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26240 /* end confdefs.h. */
26242 /* Override any GCC internal prototype to avoid an error.
26243 Use char because int might match the return type of a GCC
26244 builtin and then its argument prototype would still apply. */
26248 char feenableexcept ();
26252 return feenableexcept ();
26257 if ac_fn_c_try_link
"$LINENO"; then :
26258 ac_cv_lib_m_feenableexcept
=yes
26260 ac_cv_lib_m_feenableexcept
=no
26262 rm -f core conftest.err conftest.
$ac_objext \
26263 conftest
$ac_exeext conftest.
$ac_ext
26264 LIBS
=$ac_check_lib_save_LIBS
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
26267 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
26268 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
26269 have_feenableexcept
=yes
26270 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
26275 # At least for glibc, clock_gettime is in librt. But don't
26276 # pull that in if it still doesn't give us the function we want. This
26277 # test is copied from libgomp, and modified to not link in -lrt as
26278 # libgfortran calls clock_gettime via a weak reference if it's found
26280 if test "$ac_cv_func_clock_gettime" = no
; then
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
26282 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
26283 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
26284 $as_echo_n "(cached) " >&6
26286 ac_check_lib_save_LIBS
=$LIBS
26288 if test x
$gcc_no_link = xyes
; then
26289 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26292 /* end confdefs.h. */
26294 /* Override any GCC internal prototype to avoid an error.
26295 Use char because int might match the return type of a GCC
26296 builtin and then its argument prototype would still apply. */
26300 char clock_gettime ();
26304 return clock_gettime ();
26309 if ac_fn_c_try_link
"$LINENO"; then :
26310 ac_cv_lib_rt_clock_gettime
=yes
26312 ac_cv_lib_rt_clock_gettime
=no
26314 rm -f core conftest.err conftest.
$ac_objext \
26315 conftest
$ac_exeext conftest.
$ac_ext
26316 LIBS
=$ac_check_lib_save_LIBS
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
26319 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26320 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
26322 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26328 # Check for SysV fpsetmask
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26331 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26332 if ${libgfor_cv_have_fpsetmask+:} false
; then :
26333 $as_echo_n "(cached) " >&6
26336 if test x
$gcc_no_link = xyes
; then
26337 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26340 /* end confdefs.h. */
26342 #if HAVE_FLOATINGPOINT_H
26343 # include <floatingpoint.h>
26344 #endif /* HAVE_FLOATINGPOINT_H */
26346 # include <ieeefp.h>
26347 #endif /* HAVE_IEEEFP_H */
26356 if ac_fn_c_try_link
"$LINENO"; then :
26357 eval "libgfor_cv_have_fpsetmask=yes"
26359 eval "libgfor_cv_have_fpsetmask=no"
26361 rm -f core conftest.err conftest.
$ac_objext \
26362 conftest
$ac_exeext conftest.
$ac_ext
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26366 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26367 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26370 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26374 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26375 #ifdef HAVE_IEEEFP_H
26376 #include <ieeefp.h>
26381 if test "x$ac_cv_type_fp_except" = xyes
; then :
26383 cat >>confdefs.h
<<_ACEOF
26384 #define HAVE_FP_EXCEPT 1
26389 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26390 #ifdef HAVE_IEEEFP_H
26391 #include <ieeefp.h>
26396 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
26398 cat >>confdefs.h
<<_ACEOF
26399 #define HAVE_FP_EXCEPT_T 1
26405 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26406 #ifdef HAVE_IEEEFP_H
26407 #include <ieeefp.h>
26412 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
26414 cat >>confdefs.h
<<_ACEOF
26415 #define HAVE_FP_RND 1
26420 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26421 #ifdef HAVE_IEEEFP_H
26422 #include <ieeefp.h>
26427 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
26429 cat >>confdefs.h
<<_ACEOF
26430 #define HAVE_FP_RND_T 1
26437 # Check whether we have fpsetsticky or fpresetsticky
26438 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26439 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
26440 have_fpsetsticky
=yes
26441 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26445 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26446 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
26447 have_fpresetsticky
=yes
26448 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26453 # Check for AIX fp_trap and fp_enable
26454 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26455 if test "x$ac_cv_func_fp_trap" = xyes
; then :
26457 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26461 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26462 if test "x$ac_cv_func_fp_enable" = xyes
; then :
26464 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26469 # Check if _SOFT_FLOAT is defined
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26472 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26473 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
26474 $as_echo_n "(cached) " >&6
26476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26477 /* end confdefs.h. */
26493 if ac_fn_c_try_compile
"$LINENO"; then :
26494 ac_cv_defined__SOFT_FLOAT
=yes
26496 ac_cv_defined__SOFT_FLOAT
=no
26498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26501 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26502 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26503 have_soft_float
=yes
26506 # Runs configure.host to set up necessary host-dependent shell variables.
26507 # We then display a message about it, and propagate them through the
26509 .
${srcdir}/configure.
host
26510 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26511 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26512 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26513 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26514 FPU_HOST_HEADER
=config
/${fpu_host}.h
26517 # Whether we will build the IEEE modules
26518 if test x
${ieee_support} = xyes
; then
26520 IEEE_SUPPORT_FALSE
='#'
26522 IEEE_SUPPORT_TRUE
='#'
26523 IEEE_SUPPORT_FALSE
=
26528 # Some targets require additional compiler options for IEEE compatibility.
26529 IEEE_FLAGS
="${ieee_flags}"
26533 # Check for POSIX getpwuid_r
26535 # There are two versions of getpwuid_r, the POSIX one with 5
26536 # arguments, and another one with 4 arguments used by at least HP-UX
26538 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26540 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26541 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
26542 $as_echo_n "(cached) " >&6
26545 if test x
$gcc_no_link = xyes
; then
26546 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h. */
26552 #include <sys/types.h>
26558 getpwuid_r(0, NULL, NULL, 0, NULL);
26564 if ac_fn_c_try_link
"$LINENO"; then :
26565 libgfor_cv_posix_getpwuid_r
="yes"
26567 libgfor_cv_posix_getpwuid_r
="no"
26569 rm -f core conftest.err conftest.
$ac_objext \
26570 conftest
$ac_exeext conftest.
$ac_ext
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26573 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26575 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26577 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26582 # Check out attribute support.
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26585 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26586 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
26587 $as_echo_n "(cached) " >&6
26590 save_CFLAGS
="$CFLAGS"
26591 CFLAGS
="$CFLAGS -Werror"
26592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26593 /* end confdefs.h. */
26594 void __attribute__((visibility("hidden"))) foo(void) { }
26603 if ac_fn_c_try_compile
"$LINENO"; then :
26604 libgfor_cv_have_attribute_visibility
=yes
26606 libgfor_cv_have_attribute_visibility
=no
26608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26609 CFLAGS
="$save_CFLAGS"
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26612 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26613 if test $libgfor_cv_have_attribute_visibility = yes; then
26615 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26620 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26621 if ${libgfor_cv_have_attribute_alias+:} false
; then :
26622 $as_echo_n "(cached) " >&6
26625 if test x
$gcc_no_link = xyes
; then
26626 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26629 /* end confdefs.h. */
26632 extern void bar(void) __attribute__((alias("foo")));
26641 if ac_fn_c_try_link
"$LINENO"; then :
26642 libgfor_cv_have_attribute_alias
=yes
26644 libgfor_cv_have_attribute_alias
=no
26646 rm -f core conftest.err conftest.
$ac_objext \
26647 conftest
$ac_exeext conftest.
$ac_ext
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26650 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26651 if test $libgfor_cv_have_attribute_alias = yes; then
26653 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26657 # Check out atomic builtins support.
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26660 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26661 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
26662 $as_echo_n "(cached) " >&6
26665 if test x
$gcc_no_link = xyes
; then
26666 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26669 /* end confdefs.h. */
26675 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26676 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26681 if ac_fn_c_try_link
"$LINENO"; then :
26682 libgfor_cv_have_atomic_fetch_add
=yes
26684 libgfor_cv_have_atomic_fetch_add
=no
26686 rm -f core conftest.err conftest.
$ac_objext \
26687 conftest
$ac_exeext conftest.
$ac_ext
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26690 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26691 if test $libgfor_cv_have_atomic_fetch_add = yes; then
26693 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26697 # Check out #pragma weak.
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26700 $as_echo_n "checking whether pragma weak works... " >&6; }
26701 if ${libgfor_cv_have_pragma_weak+:} false
; then :
26702 $as_echo_n "(cached) " >&6
26705 gfor_save_CFLAGS
="$CFLAGS"
26706 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26708 /* end confdefs.h. */
26721 if ac_fn_c_try_compile
"$LINENO"; then :
26722 libgfor_cv_have_pragma_weak
=yes
26724 libgfor_cv_have_pragma_weak
=no
26726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26729 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26730 if test $libgfor_cv_have_pragma_weak = yes; then
26732 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26736 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26738 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26743 # Check out weakref support.
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26746 $as_echo_n "checking whether the target supports weakref... " >&6; }
26747 if ${libgfor_cv_have_weakref+:} false
; then :
26748 $as_echo_n "(cached) " >&6
26751 save_CFLAGS
="$CFLAGS"
26752 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26753 if test x
$gcc_no_link = xyes
; then
26754 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26757 /* end confdefs.h. */
26759 static int mytoto (int) __attribute__((__weakref__("toto")));
26764 return (mytoto != 0);
26769 if ac_fn_c_try_link
"$LINENO"; then :
26770 libgfor_cv_have_weakref
=yes
26772 libgfor_cv_have_weakref
=no
26774 rm -f core conftest.err conftest.
$ac_objext \
26775 conftest
$ac_exeext conftest.
$ac_ext
26776 CFLAGS
="$save_CFLAGS"
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26779 $as_echo "$libgfor_cv_have_weakref" >&6; }
26780 if test $libgfor_cv_have_weakref = yes; then
26782 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26786 # Various other checks on target
26788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26789 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26790 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
26791 $as_echo_n "(cached) " >&6
26794 if test "$cross_compiling" = yes; then :
26796 case "${target}" in
26797 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26798 *) libgfor_cv_have_unlink_open_file
=yes;;
26801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26802 /* end confdefs.h. */
26806 #include <unistd.h>
26807 #include <sys/stat.h>
26813 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26816 if (unlink ("testfile") == -1)
26818 write (fd, "This is a test\n", 15);
26821 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26827 if ac_fn_c_try_run
"$LINENO"; then :
26828 libgfor_cv_have_unlink_open_file
=yes
26830 libgfor_cv_have_unlink_open_file
=no
26832 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26833 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26838 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26839 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26841 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26845 # Check whether line terminator is LF or CRLF
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26848 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26849 if ${libgfor_cv_have_crlf+:} false
; then :
26850 $as_echo_n "(cached) " >&6
26853 if test "$cross_compiling" = yes; then :
26855 case "${target}" in
26856 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26857 *) libgfor_cv_have_crlf
=no
;;
26860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26861 /* end confdefs.h. */
26863 /* This test program should exit with status 0 if system uses a CRLF as
26864 line terminator, and status 1 otherwise.
26865 Since it is used to check for mingw systems, and should return 0 in any
26866 other case, in case of a failure we will not use CRLF. */
26867 #include <sys/stat.h>
26868 #include <stdlib.h>
26880 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26883 if (write (fd, "\n", 1) < 0)
26888 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26890 bytes = read (fd, buff, 5);
26891 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26898 if ac_fn_c_try_run
"$LINENO"; then :
26899 libgfor_cv_have_crlf
=yes
26901 libgfor_cv_have_crlf
=no
26903 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26904 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26909 $as_echo "$libgfor_cv_have_crlf" >&6; }
26910 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26912 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26916 # Check whether we support AVX extensions
26918 ac_save_CFLAGS
="$CFLAGS"
26920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26923 void _mm256_zeroall (void)
26925 __builtin_ia32_vzeroall ();
26935 if ac_fn_c_try_compile
"$LINENO"; then :
26937 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26941 CFLAGS
="$ac_save_CFLAGS"
26944 # Check wether we support AVX2 extensions
26946 ac_save_CFLAGS
="$CFLAGS"
26947 CFLAGS
="-O2 -mavx2"
26948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26949 /* end confdefs.h. */
26951 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26953 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26955 return __builtin_ia32_andnotsi256 (__X, __Y);
26965 if ac_fn_c_try_compile
"$LINENO"; then :
26967 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26971 CFLAGS
="$ac_save_CFLAGS"
26974 # Check wether we support AVX512f extensions
26976 ac_save_CFLAGS
="$CFLAGS"
26977 CFLAGS
="-O2 -mavx512f"
26978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26979 /* end confdefs.h. */
26981 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26982 __m512d _mm512_add (__m512d a)
26984 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26985 /* For -m64/-mx32 also verify that code will work even if
26986 the target uses call saved zmm16+ and needs to emit
26987 unwind info for them (e.g. on mingw). See PR79127. */
26989 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
27001 if ac_fn_c_try_compile
"$LINENO"; then :
27003 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
27006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27007 CFLAGS
="$ac_save_CFLAGS"
27010 # Check for FMA3 extensions
27012 ac_save_CFLAGS
="$CFLAGS"
27013 CFLAGS
="-O2 -mfma -mno-fma4"
27014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27015 /* end confdefs.h. */
27017 typedef float __m128 __attribute__ ((__vector_size__ (16)));
27018 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
27019 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
27021 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
27033 if ac_fn_c_try_compile
"$LINENO"; then :
27035 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
27038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27039 CFLAGS
="$ac_save_CFLAGS"
27042 # Check for FMA4 extensions
27044 ac_save_CFLAGS
="$CFLAGS"
27045 CFLAGS
="-O2 -mfma4 -mno-fma"
27046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27047 /* end confdefs.h. */
27049 typedef float __m128 __attribute__ ((__vector_size__ (16)));
27050 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
27051 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
27053 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
27065 if ac_fn_c_try_compile
"$LINENO"; then :
27067 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
27070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27071 CFLAGS
="$ac_save_CFLAGS"
27074 # Check if AVX128 works
27076 ac_save_CFLAGS
="$CFLAGS"
27077 CFLAGS
="-O2 -mavx -mprefer-avx128"
27078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27079 /* end confdefs.h. */
27092 if ac_fn_c_try_compile
"$LINENO"; then :
27094 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
27098 HAVE_AVX128_FALSE
='#'
27100 HAVE_AVX128_TRUE
='#'
27107 HAVE_AVX128_FALSE
='#'
27109 HAVE_AVX128_TRUE
='#'
27114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27115 CFLAGS
="$ac_save_CFLAGS"
27118 # Determine what GCC version number to use in filesystem paths.
27120 get_gcc_base_ver
="cat"
27122 # Check whether --with-gcc-major-version-only was given.
27123 if test "${with_gcc_major_version_only+set}" = set; then :
27124 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
27125 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
27133 cat >confcache
<<\_ACEOF
27134 # This file is a shell script that caches the results of configure
27135 # tests run on this system so they can be shared between configure
27136 # scripts and configure runs, see configure's option --config-cache.
27137 # It is not useful on other systems. If it contains results you don't
27138 # want to keep, you may remove or edit it.
27140 # config.status only pays attention to the cache file if you give it
27141 # the --recheck option to rerun configure.
27143 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27145 # following values.
27149 # The following way of writing the cache mishandles newlines in values,
27150 # but we know of no workaround that is simple, portable, and efficient.
27151 # So, we kill variables containing newlines.
27152 # Ultrix sh set writes to stderr and can't be redirected directly,
27153 # and sets the high bit in the cache file unless we assign to the vars.
27155 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27156 eval ac_val
=\$
$ac_var
27160 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27161 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27164 _ | IFS | as_nl
) ;; #(
27165 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
27166 *) { eval $ac_var=; unset $ac_var;} ;;
27172 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27173 *${as_nl}ac_space
=\
*)
27174 # `set' does not quote correctly, so add quotes: double-quote
27175 # substitution turns \\\\ into \\, and sed turns \\ into \.
27178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27181 # `set' quotes correctly as required by POSIX, so do not add quotes.
27182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27193 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27195 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27196 if test -w "$cache_file"; then
27197 if test "x$cache_file" != "x/dev/null"; then
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27199 $as_echo "$as_me: updating cache $cache_file" >&6;}
27200 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
27201 cat confcache
>"$cache_file"
27203 case $cache_file in #(
27205 mv -f confcache
"$cache_file"$$
&&
27206 mv -f "$cache_file"$$
"$cache_file" ;; #(
27208 mv -f confcache
"$cache_file" ;;
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27214 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27219 if test ${multilib} = yes; then
27220 multilib_arg
="--enable-multilib"
27225 # Write our Makefile and spec file.
27226 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
27228 cat >confcache
<<\_ACEOF
27229 # This file is a shell script that caches the results of configure
27230 # tests run on this system so they can be shared between configure
27231 # scripts and configure runs, see configure's option --config-cache.
27232 # It is not useful on other systems. If it contains results you don't
27233 # want to keep, you may remove or edit it.
27235 # config.status only pays attention to the cache file if you give it
27236 # the --recheck option to rerun configure.
27238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27240 # following values.
27244 # The following way of writing the cache mishandles newlines in values,
27245 # but we know of no workaround that is simple, portable, and efficient.
27246 # So, we kill variables containing newlines.
27247 # Ultrix sh set writes to stderr and can't be redirected directly,
27248 # and sets the high bit in the cache file unless we assign to the vars.
27250 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27251 eval ac_val
=\$
$ac_var
27255 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27259 _ | IFS | as_nl
) ;; #(
27260 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
27261 *) { eval $ac_var=; unset $ac_var;} ;;
27267 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27268 *${as_nl}ac_space
=\
*)
27269 # `set' does not quote correctly, so add quotes: double-quote
27270 # substitution turns \\\\ into \\, and sed turns \\ into \.
27273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27276 # `set' quotes correctly as required by POSIX, so do not add quotes.
27277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27286 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27288 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27290 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27291 if test -w "$cache_file"; then
27292 if test "x$cache_file" != "x/dev/null"; then
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27294 $as_echo "$as_me: updating cache $cache_file" >&6;}
27295 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
27296 cat confcache
>"$cache_file"
27298 case $cache_file in #(
27300 mv -f confcache
"$cache_file"$$
&&
27301 mv -f "$cache_file"$$
"$cache_file" ;; #(
27303 mv -f confcache
"$cache_file" ;;
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27309 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27314 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27315 # Let make expand exec_prefix.
27316 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27318 DEFS
=-DHAVE_CONFIG_H
27323 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27324 # 1. Remove the extension, and $U if already installed.
27325 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
27326 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
27327 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27328 # will be set to the directory where LIBOBJS objects are built.
27329 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27330 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
27332 LIBOBJS
=$ac_libobjs
27334 LTLIBOBJS
=$ac_ltlibobjs
27337 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
27338 as_fn_error $?
"conditional \"onestep\" was never defined.
27339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
27342 $as_echo_n "checking that generated files are newer than configure... " >&6; }
27343 if test -n "$am_sleep_pid"; then
27344 # Hide warnings about reused PIDs.
27345 wait $am_sleep_pid 2>/dev
/null
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
27348 $as_echo "done" >&6; }
27349 if test -n "$EXEEXT"; then
27351 am__EXEEXT_FALSE
='#'
27353 am__EXEEXT_TRUE
='#'
27357 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27358 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
27359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27361 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27362 as_fn_error $?
"conditional \"AMDEP\" was never defined.
27363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27365 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27366 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27369 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27370 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27373 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27374 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27377 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27378 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27381 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27382 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27385 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27386 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
27387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27389 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27390 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
27391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27393 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27394 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27397 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27398 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
27399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27401 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27402 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27405 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27406 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27410 : "${CONFIG_STATUS=./config.status}"
27412 ac_clean_files_save
=$ac_clean_files
27413 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27415 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27417 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27419 # Generated by $as_me.
27420 # Run this file to recreate the current configuration.
27421 # Compiler output produced by configure, useful for debugging
27422 # configure, is in config.log if it exists.
27425 ac_cs_recheck=false
27428 SHELL=\${CONFIG_SHELL-$SHELL}
27431 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
27432 ## -------------------- ##
27433 ## M4sh Initialization. ##
27434 ## -------------------- ##
27436 # Be more Bourne compatible
27437 DUALCASE
=1; export DUALCASE
# for MKS sh
27438 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27441 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27442 # is contrary to our usage. Disable this feature.
27443 alias -g '${1+"$@"}'='"$@"'
27444 setopt NO_GLOB_SUBST
27446 case `(set -o) 2>/dev/null` in #(
27458 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27459 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27461 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27462 # Prefer a ksh shell builtin over an external printf program on Solaris,
27463 # but without wasting forks for bash or zsh.
27464 if test -z "$BASH_VERSION$ZSH_VERSION" \
27465 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27466 as_echo='print
-r --'
27467 as_echo_n='print
-rn --'
27468 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27469 as_echo='printf %s
\n'
27470 as_echo_n='printf %s
'
27472 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27473 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27474 as_echo_n='/usr
/ucb
/echo -n'
27476 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27477 as_echo_n_body='eval
27481 expr "X$arg" : "X\\(.*\\)$as_nl";
27482 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27484 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27486 export as_echo_n_body
27487 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27489 export as_echo_body
27490 as_echo='sh
-c $as_echo_body as_echo
'
27493 # The user is always right.
27494 if test "${PATH_SEPARATOR+set}" != set; then
27496 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27497 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27504 # We need space, tab and new line, in precisely that order. Quoting is
27505 # there to prevent editors from complaining about space-tab.
27506 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27507 # splitting by setting IFS to empty value.)
27510 # Find who we are. Look in the path if we contain no directory separator.
27513 *[\\/]* ) as_myself=$0 ;;
27514 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27515 for as_dir in $PATH
27518 test -z "$as_dir" && as_dir=.
27519 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27525 # We did not find ourselves, most probably we were run as `sh COMMAND'
27526 # in which case we are not to be found in the path.
27527 if test "x$as_myself" = x
; then
27530 if test ! -f "$as_myself"; then
27531 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27535 # Unset variables that we do not need and which cause bugs (e.g. in
27536 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27537 # suppresses any "Segmentation fault" message there. '((' could
27538 # trigger a bug in pdksh 5.2.14.
27539 for as_var
in BASH_ENV ENV MAIL MAILPATH
27540 do eval test x\
${$as_var+set} = xset \
27541 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
27554 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
27557 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27558 # ----------------------------------------
27559 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27560 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27561 # script with STATUS, using 1 if that was 0.
27564 as_status
=$1; test $as_status -eq 0 && as_status
=1
27566 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
27567 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27569 $as_echo "$as_me: error: $2" >&2
27570 as_fn_exit
$as_status
27574 # as_fn_set_status STATUS
27575 # -----------------------
27576 # Set $? to STATUS, without forking.
27577 as_fn_set_status
()
27580 } # as_fn_set_status
27582 # as_fn_exit STATUS
27583 # -----------------
27584 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27588 as_fn_set_status
$1
27594 # Portably unset VAR.
27597 { eval $1=; unset $1;}
27599 as_unset
=as_fn_unset
27600 # as_fn_append VAR VALUE
27601 # ----------------------
27602 # Append the text in VALUE to the end of the definition contained in VAR. Take
27603 # advantage of any shell optimizations that allow amortized linear growth over
27604 # repeated appends, instead of the typical quadratic growth present in naive
27606 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27607 eval 'as_fn_append ()
27618 # as_fn_arith ARG...
27619 # ------------------
27620 # Perform arithmetic evaluation on the ARGs, and store the result in the
27621 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27622 # must be portable across $(()) and expr.
27623 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27624 eval 'as_fn_arith ()
27631 as_val
=`expr "$@" || test $? -eq 1`
27636 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27637 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27643 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27644 as_basename
=basename
27649 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27655 as_me
=`$as_basename -- "$0" ||
27656 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27657 X"$0" : 'X\(//\)$' \| \
27658 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27660 sed '/^.*\/\([^/][^/]*\)\/*$/{
27674 # Avoid depending upon Character Ranges.
27675 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27676 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27677 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27678 as_cr_digits
='0123456789'
27679 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27681 ECHO_C
= ECHO_N
= ECHO_T
=
27682 case `echo -n x` in #(((((
27684 case `echo 'xy\c'` in
27685 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27687 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27694 rm -f conf$$ conf$$.exe conf$$.
file
27695 if test -d conf$$.dir
; then
27696 rm -f conf$$.dir
/conf$$.
file
27699 mkdir conf$$.dir
2>/dev
/null
27701 if (echo >conf$$.
file) 2>/dev
/null
; then
27702 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27704 # ... but there are two gotchas:
27705 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27706 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27707 # In both cases, we have to default to `cp -pR'.
27708 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27710 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27718 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27719 rmdir conf$$.dir
2>/dev
/null
27724 # Create "$as_dir" as a directory, including parents if necessary.
27729 -*) as_dir
=.
/$as_dir;;
27731 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27735 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27736 *) as_qdir
=$as_dir;;
27738 as_dirs
="'$as_qdir' $as_dirs"
27739 as_dir
=`$as_dirname -- "$as_dir" ||
27740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27741 X"$as_dir" : 'X\(//\)[^/]' \| \
27742 X"$as_dir" : 'X\(//\)$' \| \
27743 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27744 $as_echo X"$as_dir" |
27745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27749 /^X\(\/\/\)[^/].*/{
27762 test -d "$as_dir" && break
27764 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27765 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
27769 if mkdir
-p .
2>/dev
/null
; then
27770 as_mkdir_p
='mkdir -p "$as_dir"'
27772 test -d .
/-p && rmdir .
/-p
27777 # as_fn_executable_p FILE
27778 # -----------------------
27779 # Test if FILE is an executable regular file.
27780 as_fn_executable_p
()
27782 test -f "$1" && test -x "$1"
27783 } # as_fn_executable_p
27784 as_test_x
='test -x'
27785 as_executable_p
=as_fn_executable_p
27787 # Sed expression to map a string onto a valid CPP name.
27788 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27790 # Sed expression to map a string onto a valid variable name.
27791 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27795 ## ----------------------------------- ##
27796 ## Main body of $CONFIG_STATUS script. ##
27797 ## ----------------------------------- ##
27799 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27802 # Save the log message, to keep $0 and so on meaningful, and to
27803 # report actual input values of CONFIG_FILES etc. instead of their
27804 # values after options handling.
27806 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27807 generated by GNU Autoconf 2.69. Invocation command line was
27809 CONFIG_FILES = $CONFIG_FILES
27810 CONFIG_HEADERS = $CONFIG_HEADERS
27811 CONFIG_LINKS = $CONFIG_LINKS
27812 CONFIG_COMMANDS = $CONFIG_COMMANDS
27815 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27820 case $ac_config_files in *"
27821 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27824 case $ac_config_headers in *"
27825 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27830 # Files that config.status was made for.
27831 config_files="$ac_config_files"
27832 config_headers="$ac_config_headers"
27833 config_commands="$ac_config_commands"
27837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27839 \`$as_me' instantiates files and other configuration actions
27840 from templates according to the current configuration. Unless the files
27841 and actions are specified as TAGs, all are instantiated by default.
27843 Usage: $0 [OPTION]... [TAG]...
27845 -h, --help print this help, then exit
27846 -V, --version print version number and configuration settings, then exit
27847 --config print configuration, then exit
27848 -q, --quiet, --silent
27849 do not print progress messages
27850 -d, --debug don't remove temporary files
27851 --recheck update $as_me by reconfiguring in the same conditions
27852 --file=FILE[:TEMPLATE]
27853 instantiate the configuration file FILE
27854 --header=FILE[:TEMPLATE]
27855 instantiate the configuration header FILE
27857 Configuration files:
27860 Configuration headers:
27863 Configuration commands:
27866 Report bugs to the package provider.
27867 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27868 General help using GNU software: <http://www.gnu.org/gethelp/>."
27871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27872 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27874 GNU Fortran Runtime Library config.status 0.3
27875 configured by $0, generated by GNU Autoconf 2.69,
27876 with options \\"\$ac_cs_config\\"
27878 Copyright (C) 2012 Free Software Foundation, Inc.
27879 This config.status script is free software; the Free Software Foundation
27880 gives unlimited permission to copy, distribute and modify it."
27887 test -n "\$AWK" || AWK=awk
27890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27891 # The default lists apply if the user does not specify any file.
27897 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27898 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27902 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27914 # Handling of the options.
27915 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27917 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27918 $as_echo "$ac_cs_version"; exit ;;
27919 --config |
--confi |
--conf |
--con |
--co |
--c )
27920 $as_echo "$ac_cs_config"; exit ;;
27921 --debug |
--debu |
--deb |
--de |
--d |
-d )
27923 --file |
--fil |
--fi |
--f )
27926 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27927 '') as_fn_error $?
"missing file argument" ;;
27929 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27930 ac_need_defaults
=false
;;
27931 --header |
--heade |
--head |
--hea )
27934 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27936 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27937 ac_need_defaults
=false
;;
27939 # Conflict between --help and --header
27940 as_fn_error $?
"ambiguous option: \`$1'
27941 Try \`$0 --help' for more information.";;
27942 --help |
--hel |
-h )
27943 $as_echo "$ac_cs_usage"; exit ;;
27944 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27945 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27948 # This is an error.
27949 -*) as_fn_error $?
"unrecognized option: \`$1'
27950 Try \`$0 --help' for more information." ;;
27952 *) as_fn_append ac_config_targets
" $1"
27953 ac_need_defaults
=false
;;
27959 ac_configure_extra_args
=
27961 if $ac_cs_silent; then
27963 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27968 if \$ac_cs_recheck; then
27969 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27971 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27972 CONFIG_SHELL='$SHELL'
27973 export CONFIG_SHELL
27978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27982 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27983 ## Running $as_me. ##
27989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27997 with_multisubdir="$with_multisubdir"
27998 with_multisrctop="$with_multisrctop"
27999 with_target_subdir="$with_target_subdir"
28000 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28001 multi_basedir="$multi_basedir"
28002 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28005 GFORTRAN="$GFORTRAN"
28007 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28010 # The HP-UX ksh and POSIX shell print the target directory to stdout
28011 # if CDPATH is set.
28012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28014 sed_quote_subst='$sed_quote_subst'
28015 double_quote_subst='$double_quote_subst'
28016 delay_variable_subst='$delay_variable_subst'
28017 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28018 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28019 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28020 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28021 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28022 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28023 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28024 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28025 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28026 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28027 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28028 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28029 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28030 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28031 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28032 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28033 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28034 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28035 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28036 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28037 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28038 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28039 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28040 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28041 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28042 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28043 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28044 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28045 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28046 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28047 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28048 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28049 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28050 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28051 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28052 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28053 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28054 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28055 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28056 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28057 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28058 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28059 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28060 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28061 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28062 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28063 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28064 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28065 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"`'
28066 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28067 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28068 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28069 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28070 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28071 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28072 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28073 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28074 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28075 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28076 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28077 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28078 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28079 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28080 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28081 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28082 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28083 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28084 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28085 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28086 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28087 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28088 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28089 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28090 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28091 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28092 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28093 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28094 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28095 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28096 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28097 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
28098 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28099 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28100 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28101 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28102 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28103 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28104 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28105 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28106 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
28107 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28108 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28109 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28110 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28111 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28112 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28113 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28114 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28115 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28116 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28117 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28118 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28119 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28120 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28121 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28122 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28123 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28124 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28125 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28126 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28127 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28128 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28129 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28130 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
28131 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28132 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28133 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28134 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28135 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28136 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28137 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28138 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28139 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28140 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28141 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28142 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28143 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
28144 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
28145 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
28146 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28147 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
28148 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
28149 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
28150 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
28151 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
28152 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
28153 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
28154 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
28155 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
28156 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28157 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28158 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
28159 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
28160 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
28161 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28162 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28163 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
28164 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28165 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
28166 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28167 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28168 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28169 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
28170 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
28171 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
28172 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
28173 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
28174 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
28175 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
28176 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
28177 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
28178 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
28179 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
28180 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
28181 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28182 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28183 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
28184 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
28185 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
28186 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
28187 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
28188 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
28189 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
28190 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
28191 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
28194 LTCFLAGS='$LTCFLAGS'
28195 compiler='$compiler_DEFAULT'
28197 # A function that is used when there is no print builtin or printf.
28198 func_fallback_echo ()
28200 eval 'cat <<_LTECHO_EOF
28205 # Quote evaled strings.
28219 deplibs_check_method \
28228 lt_cv_sys_global_symbol_pipe \
28229 lt_cv_sys_global_symbol_to_cdecl \
28230 lt_cv_sys_global_symbol_to_c_name_address \
28231 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28232 lt_prog_compiler_no_builtin_flag \
28233 lt_prog_compiler_wl \
28234 lt_prog_compiler_pic \
28235 lt_prog_compiler_static \
28236 lt_cv_prog_compiler_c_o \
28244 export_dynamic_flag_spec \
28245 whole_archive_flag_spec \
28246 compiler_needs_object \
28248 allow_undefined_flag \
28249 no_undefined_flag \
28250 hardcode_libdir_flag_spec \
28251 hardcode_libdir_flag_spec_ld \
28252 hardcode_libdir_separator \
28257 variables_saved_for_relink \
28259 library_names_spec \
28261 install_override_mode \
28265 compiler_lib_search_dirs \
28270 compiler_lib_search_path \
28274 lt_prog_compiler_no_builtin_flag_FC \
28275 lt_prog_compiler_wl_FC \
28276 lt_prog_compiler_pic_FC \
28277 lt_prog_compiler_static_FC \
28278 lt_cv_prog_compiler_c_o_FC \
28279 export_dynamic_flag_spec_FC \
28280 whole_archive_flag_spec_FC \
28281 compiler_needs_object_FC \
28283 allow_undefined_flag_FC \
28284 no_undefined_flag_FC \
28285 hardcode_libdir_flag_spec_FC \
28286 hardcode_libdir_flag_spec_ld_FC \
28287 hardcode_libdir_separator_FC \
28288 fix_srcfile_path_FC \
28289 exclude_expsyms_FC \
28290 include_expsyms_FC \
28291 file_list_spec_FC \
28292 compiler_lib_search_dirs_FC \
28293 predep_objects_FC \
28294 postdep_objects_FC \
28297 compiler_lib_search_path_FC; do
28298 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28299 *[\\\\\\\`\\"\\\$]*)
28300 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28303 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28308 # Double-quote double-evaled strings.
28309 for var in reload_cmds \
28310 old_postinstall_cmds \
28311 old_postuninstall_cmds \
28313 extract_expsyms_cmds \
28314 old_archive_from_new_cmds \
28315 old_archive_from_expsyms_cmds \
28317 archive_expsym_cmds \
28319 module_expsym_cmds \
28320 export_symbols_cmds \
28323 postuninstall_cmds \
28325 sys_lib_search_path_spec \
28326 sys_lib_dlsearch_path_spec \
28328 old_archive_cmds_FC \
28329 old_archive_from_new_cmds_FC \
28330 old_archive_from_expsyms_cmds_FC \
28332 archive_expsym_cmds_FC \
28334 module_expsym_cmds_FC \
28335 export_symbols_cmds_FC \
28336 prelink_cmds_FC; do
28337 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28338 *[\\\\\\\`\\"\\\$]*)
28339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28347 ac_aux_dir='$ac_aux_dir'
28348 xsi_shell='$xsi_shell'
28349 lt_shell_append='$lt_shell_append'
28351 # See if we are running on zsh, and set the options which allow our
28352 # commands through without removal of \ escapes INIT.
28353 if test -n "\${ZSH_VERSION+set}" ; then
28354 setopt NO_GLOB_SUBST
28360 TIMESTAMP='$TIMESTAMP'
28371 acx_cv_header_stdint="$acx_cv_header_stdint"
28372 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28373 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28374 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28375 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28376 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28377 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28378 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28379 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28380 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28381 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28382 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28383 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28384 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28391 # Handling of arguments.
28392 for ac_config_target
in $ac_config_targets
28394 case $ac_config_target in
28395 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
28396 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28397 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28398 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28399 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
28400 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28401 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
28403 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28408 # If the user did not use the arguments to specify the items to instantiate,
28409 # then the envvar interface is used. Set only those that are not.
28410 # We use the long form for the default assignment because of an extremely
28411 # bizarre bug on SunOS 4.1.3.
28412 if $ac_need_defaults; then
28413 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28414 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28415 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28418 # Have a temporary directory for convenience. Make it in the build tree
28419 # simply because there is no reason against having it here, and in addition,
28420 # creating and moving files from /tmp can sometimes cause problems.
28421 # Hook for its removal unless debugging.
28422 # Note that there is a small window in which the directory will not be cleaned:
28423 # after its creation but before its name has been assigned to `$tmp'.
28427 trap 'exit_status=$?
28428 : "${ac_tmp:=$tmp}"
28429 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28431 trap 'as_fn_exit 1' 1 2 13 15
28433 # Create a (secure) tmp directory for tmp files.
28436 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28440 tmp
=.
/conf$$
-$RANDOM
28441 (umask 077 && mkdir
"$tmp")
28442 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
28445 # Set up the scripts for CONFIG_FILES section.
28446 # No need to generate them if there are no CONFIG_FILES.
28447 # This happens for instance with `./config.status config.h'.
28448 if test -n "$CONFIG_FILES"; then
28451 ac_cr
=`echo X | tr X '\015'`
28452 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28453 # But we know of no other shell where ac_cr would be empty at this
28454 # point, so we can use a bashism as a fallback.
28455 if test "x$ac_cr" = x
; then
28456 eval ac_cr
=\$
\'\\r
\'
28458 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28459 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28462 ac_cs_awk_cr
=$ac_cr
28465 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28470 echo "cat >conf$$subs.awk <<_ACEOF" &&
28471 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28473 } >conf$$subs.sh ||
28474 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28475 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28477 for ac_last_try in false false false false false :; do
28478 . ./conf$$subs.sh ||
28479 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28481 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28482 if test $ac_delim_n = $ac_delim_num; then
28484 elif $ac_last_try; then
28485 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28487 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28490 rm -f conf$$subs.sh
28492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28493 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
28497 s/^/S["/; s
/!.
*/"]=/
28507 s/\(.\{148\}\)..*/\1/
28509 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28514 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28521 s/\(.\{148\}\)..*/\1/
28523 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28527 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28532 ' <conf$$subs.awk | sed '
28537 ' >>$CONFIG_STATUS || ac_write_fail=1
28538 rm -f conf$$subs.awk
28539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28541 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
28542 for (key in S) S_is_set[key] = 1
28548 nfields = split(line, field, "@
")
28550 len = length(field[1])
28551 for (i = 2; i < nfields; i++) {
28553 keylen = length(key)
28554 if (S_is_set[key]) {
28556 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28557 len += length(value) + length(field[++i])
28568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28569 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28570 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28573 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
28574 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
28577 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28578 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
28579 # trailing colons and then remove the whole line if VPATH becomes empty
28580 # (actually we leave an empty line to preserve line numbers).
28581 if test "x
$srcdir" = x.; then
28582 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28601 fi # test -n "$CONFIG_FILES"
28603 # Set up the scripts for CONFIG_HEADERS section.
28604 # No need to generate them if there are no CONFIG_HEADERS.
28605 # This happens for instance with `./config.status Makefile'.
28606 if test -n "$CONFIG_HEADERS"; then
28607 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
28611 # Transform confdefs.h into an awk script `defines.awk', embedded as
28612 # here-document in config.status, that substitutes the proper values into
28613 # config.h.in to produce config.h.
28615 # Create a delimiter string that does not exist in confdefs.h, to ease
28616 # handling of long lines.
28618 for ac_last_try in false false :; do
28619 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
28620 if test -z "$ac_tt"; then
28622 elif $ac_last_try; then
28623 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
28625 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28629 # For the awk script, D is an array of macro values keyed by name,
28630 # likewise P contains macro parameters if any. Preserve backslash
28631 # newline sequences.
28633 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28635 s/.\{148\}/&'"$ac_delim"'/g
28638 s/^[ ]*#[ ]*define[ ][ ]*/ /
28645 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28647 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28651 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28652 D["\
1"]=" \
3\\\\\\n
"\\/p
28654 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28659 s/.\{148\}/&'"$ac_delim"'/g
28664 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28667 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28669 ' <confdefs.h | sed '
28670 s/'"$ac_delim"'/"\\\
28671 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28674 for (key in D) D_is_set[key] = 1
28677 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28679 split(line, arg, " ")
28680 if (arg[1] == "#") {
28684 defundef
= substr
(arg
[1], 2)
28687 split(mac1
, mac2
, "(") #)
28689 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28690 if (D_is_set
[macro
]) {
28691 # Preserve the white space surrounding the "#".
28692 print prefix
"define", macro P
[macro
] D
[macro
]
28695 # Replace #undef with comments. This is necessary, for example,
28696 # in the case of _POSIX_SOURCE, which is predefined and required
28697 # on some systems where configure will not decide to define it.
28698 if (defundef
== "undef") {
28699 print
"/*", prefix defundef
, macro
, "*/"
28707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28708 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
28709 fi # test -n "$CONFIG_HEADERS"
28712 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28717 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28719 case $ac_mode$ac_tag in
28721 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28722 :[FH
]-) ac_tag
=-:-;;
28723 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28740 -) ac_f
="$ac_tmp/stdin";;
28741 *) # Look for the file first in the build tree, then in the source tree
28742 # (if the path is not absolute). The absolute path cannot be DOS-style,
28743 # because $ac_f cannot contain `:'.
28747 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28749 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28751 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28752 as_fn_append ac_file_inputs
" '$ac_f'"
28755 # Let's still pretend it is `configure' which instantiates (i.e., don't
28756 # use $as_me), people would be surprised to read:
28757 # /* config.h. Generated by config.status. */
28758 configure_input
='Generated from '`
28759 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28761 if test x
"$ac_file" != x-
; then
28762 configure_input
="$ac_file. $configure_input"
28763 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28764 $as_echo "$as_me: creating $ac_file" >&6;}
28766 # Neutralize special characters interpreted by sed in replacement strings.
28767 case $configure_input in #(
28768 *\
&* |
*\|
* |
*\\* )
28769 ac_sed_conf_input
=`$as_echo "$configure_input" |
28770 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28771 *) ac_sed_conf_input
=$configure_input;;
28775 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
28776 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
28781 ac_dir
=`$as_dirname -- "$ac_file" ||
28782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28783 X"$ac_file" : 'X\(//\)[^/]' \| \
28784 X"$ac_file" : 'X\(//\)$' \| \
28785 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28786 $as_echo X"$ac_file" |
28787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28791 /^X\(\/\/\)[^/].*/{
28804 as_dir
="$ac_dir"; as_fn_mkdir_p
28808 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28810 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28811 # A ".." for each directory in $ac_dir_suffix.
28812 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28813 case $ac_top_builddir_sub in
28814 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28815 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28818 ac_abs_top_builddir
=$ac_pwd
28819 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28820 # for backward compatibility:
28821 ac_top_builddir
=$ac_top_build_prefix
28824 .
) # We are building in place.
28826 ac_top_srcdir
=$ac_top_builddir_sub
28827 ac_abs_top_srcdir
=$ac_pwd ;;
28828 [\\/]* | ?
:[\\/]* ) # Absolute name.
28829 ac_srcdir
=$srcdir$ac_dir_suffix;
28830 ac_top_srcdir
=$srcdir
28831 ac_abs_top_srcdir
=$srcdir ;;
28832 *) # Relative name.
28833 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28834 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28835 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28837 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28847 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28848 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28850 ac_MKDIR_P
=$MKDIR_P
28852 [\\/$
]* | ?
:[\\/]* ) ;;
28853 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28858 # If the template does not know about datarootdir, expand it.
28859 # FIXME: This hack should be removed a few years after 2.60.
28860 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28871 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28872 *datarootdir
*) ac_datarootdir_seen
=yes;;
28873 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28875 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28878 ac_datarootdir_hack='
28879 s&@datadir@&$datadir&g
28880 s&@docdir@&$docdir&g
28881 s&@infodir@&$infodir&g
28882 s&@localedir@&$localedir&g
28883 s&@mandir@&$mandir&g
28884 s&\\\${datarootdir}&$datarootdir&g' ;;
28888 # Neutralize VPATH when `$srcdir' = `.'.
28889 # Shell code in configure.ac might set extrasub.
28890 # FIXME: do we really want to maintain this feature?
28891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28892 ac_sed_extra="$ac_vpsub
28895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28897 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28898 s|@configure_input@|
$ac_sed_conf_input|
;t t
28899 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28900 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28901 s
&@srcdir@
&$ac_srcdir&;t t
28902 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28903 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28904 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28905 s
&@builddir@
&$ac_builddir&;t t
28906 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28907 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28908 s
&@INSTALL@
&$ac_INSTALL&;t t
28909 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28910 $ac_datarootdir_hack
28912 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
28913 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
28915 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28916 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
28917 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28918 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28920 which seems to be undefined. Please make sure it is defined" >&5
28921 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28922 which seems to be undefined. Please make sure it is defined" >&2;}
28924 rm -f "$ac_tmp/stdin"
28926 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28927 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28935 if test x"$ac_file" != x-; then
28937 $as_echo "/* $configure_input */" \
28938 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28939 } >"$ac_tmp/config.h" \
28940 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28941 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28942 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28943 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28946 mv "$ac_tmp/config.h" "$ac_file" \
28947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28950 $as_echo "/* $configure_input */" \
28951 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28952 || as_fn_error $? "could not create -" "$LINENO" 5
28954 # Compute "$ac_file"'s index
in $config_headers.
28957 for _am_header
in $config_headers :; do
28958 case $_am_header in
28959 $_am_arg |
$_am_arg:* )
28962 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28965 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28966 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28967 X"$_am_arg" : 'X\(//\)[^/]' \| \
28968 X"$_am_arg" : 'X\(//\)$' \| \
28969 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28970 $as_echo X"$_am_arg" |
28971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28975 /^X\(\/\/\)[^/].*/{
28987 s/.*/./; q'`/stamp-h
$_am_stamp_count
28990 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28991 $as_echo "$as_me: executing $ac_file commands" >&6;}
28996 case $ac_file$ac_mode in
28998 # Only add multilib support code if we just rebuilt the top-level
29000 case " $CONFIG_FILES " in
29002 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
29005 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
29006 # Older Autoconf quotes --file arguments for eval, but not when files
29007 # are listed without --file. Let's play safe and only enable the eval
29008 # if we detect the quoting.
29009 case $CONFIG_FILES in
29010 *\'*) eval set x
"$CONFIG_FILES" ;;
29011 *) set x
$CONFIG_FILES ;;
29016 # Strip MF so we end up with the name of the file.
29017 mf
=`echo "$mf" | sed -e 's/:.*$//'`
29018 # Check whether this is an Automake generated Makefile or not.
29019 # We used to match only the files named 'Makefile.in', but
29020 # some people rename them; so instead we look at the file content.
29021 # Grep'ing the first line is not enough: some people post-process
29022 # each Makefile.in and add a new line on top of each file to say so.
29023 # Grep'ing the whole file is not good either: AIX grep has a line
29024 # limit of 2048, but all sed's we know have understand at least 4000.
29025 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
29026 dirpart
=`$as_dirname -- "$mf" ||
29027 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29028 X"$mf" : 'X\(//\)[^/]' \| \
29029 X"$mf" : 'X\(//\)$' \| \
29030 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29036 /^X\(\/\/\)[^/].*/{
29052 # Extract the definition of DEPDIR, am__include, and am__quote
29053 # from the Makefile without running 'make'.
29054 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
29055 test -z "$DEPDIR" && continue
29056 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
29057 test -z "$am__include" && continue
29058 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
29059 # Find all dependency output files, they are included files with
29060 # $(DEPDIR) in their names. We invoke sed twice because it is the
29061 # simplest approach to changing $(DEPDIR) to its actual value in the
29063 for file in `sed -n "
29064 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29065 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
29066 # Make sure the directory exists.
29067 test -f "$dirpart/$file" && continue
29068 fdir
=`$as_dirname -- "$file" ||
29069 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29070 X"$file" : 'X\(//\)[^/]' \| \
29071 X"$file" : 'X\(//\)$' \| \
29072 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29073 $as_echo X"$file" |
29074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29078 /^X\(\/\/\)[^/].*/{
29091 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
29092 # echo "creating $dirpart/$file"
29093 echo '# dummy' > "$dirpart/$file"
29100 # See if we are running on zsh, and set the options which allow our
29101 # commands through without removal of \ escapes.
29102 if test -n "${ZSH_VERSION+set}" ; then
29103 setopt NO_GLOB_SUBST
29106 cfgfile
="${ofile}T"
29107 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29110 cat <<_LT_EOF >> "$cfgfile"
29113 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
29114 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
29115 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29116 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29118 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
29119 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
29120 # Written by Gordon Matzigkeit, 1996
29122 # This file is part of GNU Libtool.
29124 # GNU Libtool is free software; you can redistribute it and/or
29125 # modify it under the terms of the GNU General Public License as
29126 # published by the Free Software Foundation; either version 2 of
29127 # the License, or (at your option) any later version.
29129 # As a special exception to the GNU General Public License,
29130 # if you distribute this file as part of a program or library that
29131 # is built using GNU Libtool, you may include this file under the
29132 # same distribution terms that you use for the rest of that program.
29134 # GNU Libtool is distributed in the hope that it will be useful,
29135 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29136 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29137 # GNU General Public License for more details.
29139 # You should have received a copy of the GNU General Public License
29140 # along with GNU Libtool; see the file COPYING. If not, a copy
29141 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
29142 # obtained by writing to the Free Software Foundation, Inc.,
29143 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29146 # The names of the tagged configurations supported by this script.
29147 available_tags="FC "
29149 # ### BEGIN LIBTOOL CONFIG
29151 # A sed program that does not truncate output.
29154 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29155 Xsed="\$SED -e 1s/^X//"
29157 # A grep program that handles long lines.
29163 # A literal string matcher.
29166 # Shell to use when invoking shell scripts.
29169 # An echo program that protects backslashes.
29172 # Which release of libtool.m4 was used?
29173 macro_version=$macro_version
29174 macro_revision=$macro_revision
29176 # Whether or not to build shared libraries.
29177 build_libtool_libs=$enable_shared
29179 # Whether or not to build static libraries.
29180 build_old_libs=$enable_static
29182 # What type of objects to build.
29185 # Whether or not to optimize for fast installation.
29186 fast_install=$enable_fast_install
29189 host_alias=$host_alias
29193 # The build system.
29194 build_alias=$build_alias
29198 # A BSD- or MS-compatible name lister.
29201 # Whether we need soft or hard links.
29204 # What is the maximum length of a command?
29205 max_cmd_len=$max_cmd_len
29207 # Object file suffix (normally "o").
29210 # Executable file suffix (normally "").
29213 # whether the shell understands "unset".
29216 # turn spaces into newlines.
29219 # turn newlines into spaces.
29222 # An object symbol dumper.
29223 OBJDUMP=$lt_OBJDUMP
29225 # Method to check whether dependent libraries are shared objects.
29226 deplibs_check_method=$lt_deplibs_check_method
29228 # Command to use when deplibs_check_method == "file_magic".
29229 file_magic_cmd=$lt_file_magic_cmd
29233 AR_FLAGS=$lt_AR_FLAGS
29235 # A symbol stripping program.
29238 # Commands used to install an old-style archive.
29240 old_postinstall_cmds=$lt_old_postinstall_cmds
29241 old_postuninstall_cmds=$lt_old_postuninstall_cmds
29243 # Whether to use a lock for old archive extraction.
29244 lock_old_archive_extraction=$lock_old_archive_extraction
29249 # LTCC compiler flags.
29250 LTCFLAGS=$lt_CFLAGS
29252 # Take the output of nm and produce a listing of raw symbols and C names.
29253 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29255 # Transform the output of nm in a proper C declaration.
29256 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29258 # Transform the output of nm in a C name address pair.
29259 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29261 # Transform the output of nm in a C name address pair when lib prefix is needed.
29262 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29264 # The name of the directory that contains temporary libtool files.
29267 # Used to examine libraries when file_magic_cmd begins with "file".
29268 MAGIC_CMD=$MAGIC_CMD
29270 # Must we lock files when doing compilation?
29271 need_locks=$lt_need_locks
29273 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29274 DSYMUTIL=$lt_DSYMUTIL
29276 # Tool to change global to local symbols on Mac OS X.
29279 # Tool to manipulate fat objects and archives on Mac OS X.
29282 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29285 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29286 OTOOL64=$lt_OTOOL64
29288 # Old archive suffix (normally "a").
29291 # Shared library suffix (normally ".so").
29292 shrext_cmds=$lt_shrext_cmds
29294 # The commands to extract the exported symbol list from a shared archive.
29295 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29297 # Variables whose values should be saved in libtool wrapper scripts and
29298 # restored at link time.
29299 variables_saved_for_relink=$lt_variables_saved_for_relink
29301 # Do we need the "lib" prefix for modules?
29302 need_lib_prefix=$need_lib_prefix
29304 # Do we need a version for libraries?
29305 need_version=$need_version
29307 # Library versioning type.
29308 version_type=$version_type
29310 # Shared library runtime path variable.
29311 runpath_var=$runpath_var
29313 # Shared library path variable.
29314 shlibpath_var=$shlibpath_var
29316 # Is shlibpath searched before the hard-coded library search path?
29317 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29319 # Format of library name prefix.
29320 libname_spec=$lt_libname_spec
29322 # List of archive names. First name is the real one, the rest are links.
29323 # The last name is the one that the linker finds with -lNAME
29324 library_names_spec=$lt_library_names_spec
29326 # The coded name of the library, if different from the real name.
29327 soname_spec=$lt_soname_spec
29329 # Permission mode override for installation of shared libraries.
29330 install_override_mode=$lt_install_override_mode
29332 # Command to use after installation of a shared archive.
29333 postinstall_cmds=$lt_postinstall_cmds
29335 # Command to use after uninstallation of a shared archive.
29336 postuninstall_cmds=$lt_postuninstall_cmds
29338 # Commands used to finish a libtool library installation in a directory.
29339 finish_cmds=$lt_finish_cmds
29341 # As "finish_cmds", except a single script fragment to be evaled but
29343 finish_eval=$lt_finish_eval
29345 # Whether we should hardcode library paths into libraries.
29346 hardcode_into_libs=$hardcode_into_libs
29348 # Compile-time system search path for libraries.
29349 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29351 # Run-time system search path for libraries.
29352 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29354 # Whether dlopen is supported.
29355 dlopen_support=$enable_dlopen
29357 # Whether dlopen of programs is supported.
29358 dlopen_self=$enable_dlopen_self
29360 # Whether dlopen of statically linked programs is supported.
29361 dlopen_self_static=$enable_dlopen_self_static
29363 # Commands to strip libraries.
29364 old_striplib=$lt_old_striplib
29365 striplib=$lt_striplib
29368 # The linker used to build libraries.
29371 # How to create reloadable object files.
29372 reload_flag=$lt_reload_flag
29373 reload_cmds=$lt_reload_cmds
29375 # Commands used to build an old-style archive.
29376 old_archive_cmds=$lt_old_archive_cmds
29378 # A language specific compiler.
29381 # Is the compiler the GNU compiler?
29384 # Compiler flag to turn off builtin functions.
29385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29387 # How to pass a linker flag through the compiler.
29388 wl=$lt_lt_prog_compiler_wl
29390 # Additional compiler flags for building library objects.
29391 pic_flag=$lt_lt_prog_compiler_pic
29393 # Compiler flag to prevent dynamic linking.
29394 link_static_flag=$lt_lt_prog_compiler_static
29396 # Does compiler simultaneously support -c and -o options?
29397 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29399 # Whether or not to add -lc for building shared libraries.
29400 build_libtool_need_lc=$archive_cmds_need_lc
29402 # Whether or not to disallow shared libs when runtime libs are static.
29403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29405 # Compiler flag to allow reflexive dlopens.
29406 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29408 # Compiler flag to generate shared objects directly from archives.
29409 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29411 # Whether the compiler copes with passing no objects directly.
29412 compiler_needs_object=$lt_compiler_needs_object
29414 # Create an old-style archive from a shared archive.
29415 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29417 # Create a temporary old-style archive to link instead of a shared archive.
29418 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29420 # Commands used to build a shared archive.
29421 archive_cmds=$lt_archive_cmds
29422 archive_expsym_cmds=$lt_archive_expsym_cmds
29424 # Commands used to build a loadable module if different from building
29425 # a shared archive.
29426 module_cmds=$lt_module_cmds
29427 module_expsym_cmds=$lt_module_expsym_cmds
29429 # Whether we are building with GNU ld or not.
29430 with_gnu_ld=$lt_with_gnu_ld
29432 # Flag that allows shared libraries with undefined symbols to be built.
29433 allow_undefined_flag=$lt_allow_undefined_flag
29435 # Flag that enforces no undefined symbols.
29436 no_undefined_flag=$lt_no_undefined_flag
29438 # Flag to hardcode \$libdir into a binary during linking.
29439 # This must work even if \$libdir does not exist
29440 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29442 # If ld is used when linking, flag to hardcode \$libdir into a binary
29443 # during linking. This must work even if \$libdir does not exist.
29444 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29446 # Whether we need a single "-rpath" flag with a separated argument.
29447 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29450 # DIR into the resulting binary.
29451 hardcode_direct=$hardcode_direct
29453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29454 # DIR into the resulting binary and the resulting library dependency is
29455 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29456 # library is relocated.
29457 hardcode_direct_absolute=$hardcode_direct_absolute
29459 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29460 # into the resulting binary.
29461 hardcode_minus_L=$hardcode_minus_L
29463 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29464 # into the resulting binary.
29465 hardcode_shlibpath_var=$hardcode_shlibpath_var
29467 # Set to "yes" if building a shared library automatically hardcodes DIR
29468 # into the library and all subsequent libraries and executables linked
29470 hardcode_automatic=$hardcode_automatic
29472 # Set to yes if linker adds runtime paths of dependent libraries
29473 # to runtime path list.
29474 inherit_rpath=$inherit_rpath
29476 # Whether libtool must link a program against all its dependency libraries.
29477 link_all_deplibs=$link_all_deplibs
29479 # Fix the shell variable \$srcfile for the compiler.
29480 fix_srcfile_path=$lt_fix_srcfile_path
29482 # Set to "yes" if exported symbols are required.
29483 always_export_symbols=$always_export_symbols
29485 # The commands to list exported symbols.
29486 export_symbols_cmds=$lt_export_symbols_cmds
29488 # Symbols that should not be listed in the preloaded symbols.
29489 exclude_expsyms=$lt_exclude_expsyms
29491 # Symbols that must always be exported.
29492 include_expsyms=$lt_include_expsyms
29494 # Commands necessary for linking programs (against libraries) with templates.
29495 prelink_cmds=$lt_prelink_cmds
29497 # Specify filename containing input files.
29498 file_list_spec=$lt_file_list_spec
29500 # How to hardcode a shared library path into an executable.
29501 hardcode_action=$hardcode_action
29503 # The directories searched by this compiler when creating a shared library.
29504 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29506 # Dependencies to place before and after the objects being linked to
29507 # create a shared library.
29508 predep_objects=$lt_predep_objects
29509 postdep_objects=$lt_postdep_objects
29510 predeps=$lt_predeps
29511 postdeps=$lt_postdeps
29513 # The library search path used internally by the compiler when linking
29514 # a shared library.
29515 compiler_lib_search_path=$lt_compiler_lib_search_path
29517 # ### END LIBTOOL CONFIG
29523 cat <<\_LT_EOF
>> "$cfgfile"
29524 # AIX sometimes has problems with the GCC collect2 program. For some
29525 # reason, if we set the COLLECT_NAMES environment variable, the problems
29526 # vanish in a puff of smoke.
29527 if test "X${COLLECT_NAMES+set}" != Xset
; then
29529 export COLLECT_NAMES
29536 ltmain
="$ac_aux_dir/ltmain.sh"
29539 # We use sed instead of cat because bash on DJGPP gets confused if
29540 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29541 # text mode, it properly converts lines to CR/LF. This bash problem
29542 # is reportedly fixed, but why not run on old versions too?
29543 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29544 ||
(rm -f "$cfgfile"; exit 1)
29548 cat << \_LT_EOF
>> "$cfgfile"
29550 # func_dirname file append nondir_replacement
29551 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29552 # otherwise set result to NONDIR_REPLACEMENT.
29556 */*) func_dirname_result
="${1%/*}${2}" ;;
29557 * ) func_dirname_result
="${3}" ;;
29561 # func_basename file
29564 func_basename_result
="${1##*/}"
29567 # func_dirname_and_basename file append nondir_replacement
29568 # perform func_basename and func_dirname in a single function
29570 # dirname: Compute the dirname of FILE. If nonempty,
29571 # add APPEND to the result, otherwise set result
29572 # to NONDIR_REPLACEMENT.
29573 # value returned in "$func_dirname_result"
29574 # basename: Compute filename of FILE.
29575 # value retuned in "$func_basename_result"
29576 # Implementation must be kept synchronized with func_dirname
29577 # and func_basename. For efficiency, we do not delegate to
29578 # those functions but instead duplicate the functionality here.
29579 func_dirname_and_basename
()
29582 */*) func_dirname_result
="${1%/*}${2}" ;;
29583 * ) func_dirname_result
="${3}" ;;
29585 func_basename_result
="${1##*/}"
29588 # func_stripname prefix suffix name
29589 # strip PREFIX and SUFFIX off of NAME.
29590 # PREFIX and SUFFIX must not contain globbing or regex special
29591 # characters, hashes, percent signs, but SUFFIX may contain a leading
29592 # dot (in which case that matches only a dot).
29595 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29596 # positional parameters, so assign one to ordinary parameter first.
29597 func_stripname_result
=${3}
29598 func_stripname_result
=${func_stripname_result#"${1}"}
29599 func_stripname_result
=${func_stripname_result%"${2}"}
29605 func_opt_split_opt
=${1%%=*}
29606 func_opt_split_arg
=${1#*=}
29613 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29614 *) func_lo2o_result
=${1} ;;
29618 # func_xform libobj-or-source
29621 func_xform_result
=${1%.*}.lo
29624 # func_arith arithmetic-term...
29627 func_arith_result
=$
(( $
* ))
29631 # STRING may not start with a hyphen.
29634 func_len_result
=${#1}
29639 *) # Bourne compatible functions.
29640 cat << \_LT_EOF
>> "$cfgfile"
29642 # func_dirname file append nondir_replacement
29643 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29644 # otherwise set result to NONDIR_REPLACEMENT.
29647 # Extract subdirectory from the argument.
29648 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29649 if test "X$func_dirname_result" = "X${1}"; then
29650 func_dirname_result
="${3}"
29652 func_dirname_result
="$func_dirname_result${2}"
29656 # func_basename file
29659 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29663 # func_stripname prefix suffix name
29664 # strip PREFIX and SUFFIX off of NAME.
29665 # PREFIX and SUFFIX must not contain globbing or regex special
29666 # characters, hashes, percent signs, but SUFFIX may contain a leading
29667 # dot (in which case that matches only a dot).
29668 # func_strip_suffix prefix name
29672 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29673 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29678 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29679 my_sed_long_arg
='1s/^-[^=]*=//'
29684 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29685 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29691 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29694 # func_xform libobj-or-source
29697 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29700 # func_arith arithmetic-term...
29703 func_arith_result
=`expr "$@"`
29707 # STRING may not start with a hyphen.
29710 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29716 case $lt_shell_append in
29718 cat << \_LT_EOF
>> "$cfgfile"
29720 # func_append var value
29721 # Append VALUE to the end of shell variable VAR.
29729 cat << \_LT_EOF
>> "$cfgfile"
29731 # func_append var value
29732 # Append VALUE to the end of shell variable VAR.
29743 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29744 ||
(rm -f "$cfgfile"; exit 1)
29746 mv -f "$cfgfile" "$ofile" ||
29747 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29751 cat <<_LT_EOF >> "$ofile"
29753 # ### BEGIN LIBTOOL TAG CONFIG: FC
29755 # The linker used to build libraries.
29758 # How to create reloadable object files.
29759 reload_flag=$lt_reload_flag_FC
29760 reload_cmds=$lt_reload_cmds_FC
29762 # Commands used to build an old-style archive.
29763 old_archive_cmds=$lt_old_archive_cmds_FC
29765 # A language specific compiler.
29768 # Is the compiler the GNU compiler?
29771 # Compiler flag to turn off builtin functions.
29772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29774 # How to pass a linker flag through the compiler.
29775 wl=$lt_lt_prog_compiler_wl_FC
29777 # Additional compiler flags for building library objects.
29778 pic_flag=$lt_lt_prog_compiler_pic_FC
29780 # Compiler flag to prevent dynamic linking.
29781 link_static_flag=$lt_lt_prog_compiler_static_FC
29783 # Does compiler simultaneously support -c and -o options?
29784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29786 # Whether or not to add -lc for building shared libraries.
29787 build_libtool_need_lc=$archive_cmds_need_lc_FC
29789 # Whether or not to disallow shared libs when runtime libs are static.
29790 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29792 # Compiler flag to allow reflexive dlopens.
29793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29795 # Compiler flag to generate shared objects directly from archives.
29796 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29798 # Whether the compiler copes with passing no objects directly.
29799 compiler_needs_object=$lt_compiler_needs_object_FC
29801 # Create an old-style archive from a shared archive.
29802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29804 # Create a temporary old-style archive to link instead of a shared archive.
29805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29807 # Commands used to build a shared archive.
29808 archive_cmds=$lt_archive_cmds_FC
29809 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29811 # Commands used to build a loadable module if different from building
29812 # a shared archive.
29813 module_cmds=$lt_module_cmds_FC
29814 module_expsym_cmds=$lt_module_expsym_cmds_FC
29816 # Whether we are building with GNU ld or not.
29817 with_gnu_ld=$lt_with_gnu_ld_FC
29819 # Flag that allows shared libraries with undefined symbols to be built.
29820 allow_undefined_flag=$lt_allow_undefined_flag_FC
29822 # Flag that enforces no undefined symbols.
29823 no_undefined_flag=$lt_no_undefined_flag_FC
29825 # Flag to hardcode \$libdir into a binary during linking.
29826 # This must work even if \$libdir does not exist
29827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29829 # If ld is used when linking, flag to hardcode \$libdir into a binary
29830 # during linking. This must work even if \$libdir does not exist.
29831 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29833 # Whether we need a single "-rpath" flag with a separated argument.
29834 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29837 # DIR into the resulting binary.
29838 hardcode_direct=$hardcode_direct_FC
29840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29841 # DIR into the resulting binary and the resulting library dependency is
29842 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29843 # library is relocated.
29844 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29846 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29847 # into the resulting binary.
29848 hardcode_minus_L=$hardcode_minus_L_FC
29850 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29851 # into the resulting binary.
29852 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29854 # Set to "yes" if building a shared library automatically hardcodes DIR
29855 # into the library and all subsequent libraries and executables linked
29857 hardcode_automatic=$hardcode_automatic_FC
29859 # Set to yes if linker adds runtime paths of dependent libraries
29860 # to runtime path list.
29861 inherit_rpath=$inherit_rpath_FC
29863 # Whether libtool must link a program against all its dependency libraries.
29864 link_all_deplibs=$link_all_deplibs_FC
29866 # Fix the shell variable \$srcfile for the compiler.
29867 fix_srcfile_path=$lt_fix_srcfile_path_FC
29869 # Set to "yes" if exported symbols are required.
29870 always_export_symbols=$always_export_symbols_FC
29872 # The commands to list exported symbols.
29873 export_symbols_cmds=$lt_export_symbols_cmds_FC
29875 # Symbols that should not be listed in the preloaded symbols.
29876 exclude_expsyms=$lt_exclude_expsyms_FC
29878 # Symbols that must always be exported.
29879 include_expsyms=$lt_include_expsyms_FC
29881 # Commands necessary for linking programs (against libraries) with templates.
29882 prelink_cmds=$lt_prelink_cmds_FC
29884 # Specify filename containing input files.
29885 file_list_spec=$lt_file_list_spec_FC
29887 # How to hardcode a shared library path into an executable.
29888 hardcode_action=$hardcode_action_FC
29890 # The directories searched by this compiler when creating a shared library.
29891 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29893 # Dependencies to place before and after the objects being linked to
29894 # create a shared library.
29895 predep_objects=$lt_predep_objects_FC
29896 postdep_objects=$lt_postdep_objects_FC
29897 predeps=$lt_predeps_FC
29898 postdeps=$lt_postdeps_FC
29900 # The library search path used internally by the compiler when linking
29901 # a shared library.
29902 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29904 # ### END LIBTOOL TAG CONFIG: FC
29909 if test "$GCC" = yes; then
29910 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29912 echo "/* generated for $CC */" > tmp-stdint.h
29915 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29917 #ifndef GCC_GENERATED_STDINT_H
29918 #define GCC_GENERATED_STDINT_H 1
29920 #include <sys/types.h>
29923 if test "$acx_cv_header_stdint" != stdint.h
; then
29924 echo "#include <stddef.h>" >> tmp-stdint.h
29926 if test "$acx_cv_header_stdint" != stddef.h
; then
29927 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29930 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29931 /* glibc uses these symbols as guards to prevent redefinitions. */
29932 #ifdef __int8_t_defined
29937 #ifdef __uint32_t_defined
29943 # ----------------- done header, emit basic int types -------------
29944 if test "$acx_cv_header_stdint" = stddef.h
; then
29945 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29949 #ifndef __uint8_t_defined
29950 #define __uint8_t_defined
29952 typedef unsigned $acx_cv_type_int8_t uint8_t;
29959 #ifndef __uint16_t_defined
29960 #define __uint16_t_defined
29962 typedef unsigned $acx_cv_type_int16_t uint16_t;
29969 #ifndef __uint32_t_defined
29970 #define __uint32_t_defined
29972 typedef unsigned $acx_cv_type_int32_t uint32_t;
29979 #ifndef __int8_t_defined
29980 #define __int8_t_defined
29982 typedef $acx_cv_type_int8_t int8_t;
29989 #ifndef __int16_t_defined
29990 #define __int16_t_defined
29992 typedef $acx_cv_type_int16_t int16_t;
29999 #ifndef __int32_t_defined
30000 #define __int32_t_defined
30002 typedef $acx_cv_type_int32_t int32_t;
30007 elif test "$ac_cv_type_u_int32_t" = yes; then
30008 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30010 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
30023 #ifndef __uint8_t_defined
30024 #define __uint8_t_defined
30026 typedef u_int8_t uint8_t;
30033 #ifndef __uint16_t_defined
30034 #define __uint16_t_defined
30036 typedef u_int16_t uint16_t;
30043 #ifndef __uint32_t_defined
30044 #define __uint32_t_defined
30046 typedef u_int32_t uint32_t;
30052 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30054 /* Some systems have guard macros to prevent redefinitions, define them. */
30076 # ------------- done basic int types, emit int64_t types ------------
30077 if test "$ac_cv_type_uint64_t" = yes; then
30078 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30080 /* system headers have good uint64_t and int64_t */
30088 elif test "$ac_cv_type_u_int64_t" = yes; then
30089 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30091 /* system headers have an u_int64_t (and int64_t) */
30097 #ifndef __uint64_t_defined
30098 #define __uint64_t_defined
30100 typedef u_int64_t uint64_t;
30105 elif test -n "$acx_cv_type_int64_t"; then
30106 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30108 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
30112 typedef $acx_cv_type_int64_t int64_t;
30117 #ifndef __uint64_t_defined
30118 #define __uint64_t_defined
30120 typedef unsigned $acx_cv_type_int64_t uint64_t;
30126 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30128 /* some common heuristics for int64_t, using compiler-specific tests */
30129 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
30132 #ifndef __int64_t_defined
30134 typedef long long int64_t;
30141 typedef unsigned long long uint64_t;
30145 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
30146 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
30147 does not implement __extension__. But that compiler doesn't define
30149 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
30150 # define __extension__
30156 __extension__ typedef long long int64_t;
30162 __extension__ typedef unsigned long long uint64_t;
30166 #elif !defined __STRICT_ANSI__
30167 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30172 typedef __int64 int64_t;
30178 typedef unsigned __int64 uint64_t;
30181 # endif /* compiler */
30183 #endif /* ANSI version */
30187 # ------------- done int64_t types, emit intptr types ------------
30188 if test "$ac_cv_type_uintptr_t" != yes; then
30189 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30191 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
30192 #ifndef __uintptr_t_defined
30194 typedef u$acx_cv_type_intptr_t uintptr_t;
30197 #ifndef __intptr_t_defined
30199 typedef $acx_cv_type_intptr_t intptr_t;
30205 # ------------- done intptr types, emit int_least types ------------
30206 if test "$ac_cv_type_int_least32_t" != yes; then
30207 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30209 /* Define int_least types */
30210 typedef int8_t int_least8_t;
30211 typedef int16_t int_least16_t;
30212 typedef int32_t int_least32_t;
30214 typedef int64_t int_least64_t;
30217 typedef uint8_t uint_least8_t;
30218 typedef uint16_t uint_least16_t;
30219 typedef uint32_t uint_least32_t;
30221 typedef uint64_t uint_least64_t;
30226 # ------------- done intptr types, emit int_fast types ------------
30227 if test "$ac_cv_type_int_fast32_t" != yes; then
30228 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30230 /* Define int_fast types. short is often slow */
30231 typedef int8_t int_fast8_t;
30232 typedef int int_fast16_t;
30233 typedef int32_t int_fast32_t;
30235 typedef int64_t int_fast64_t;
30238 typedef uint8_t uint_fast8_t;
30239 typedef unsigned int uint_fast16_t;
30240 typedef uint32_t uint_fast32_t;
30242 typedef uint64_t uint_fast64_t;
30247 if test "$ac_cv_type_uintmax_t" != yes; then
30248 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30250 /* Define intmax based on what we found */
30253 typedef int64_t intmax_t;
30255 typedef long intmax_t;
30260 typedef uint64_t uintmax_t;
30262 typedef unsigned long uintmax_t;
30268 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30270 #endif /* GCC_GENERATED_STDINT_H */
30273 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
30276 mv -f tmp-stdint.h gstdint.h
30287 ac_clean_files
=$ac_clean_files_save
30289 test $ac_write_fail = 0 ||
30290 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
30293 # configure is writing to config.log, and then calls config.status.
30294 # config.status does its own redirection, appending to config.log.
30295 # Unfortunately, on DOS this fails, as config.log is still kept open
30296 # by configure, so config.status won't be able to write to it; its
30297 # output is simply discarded. So we exec the FD to /dev/null,
30298 # effectively closing config.log, so it can be properly (re)opened and
30299 # appended to by config.status. When coming back to configure, we
30300 # need to make the FD available again.
30301 if test "$no_create" != yes; then
30303 ac_config_status_args
=
30304 test "$silent" = yes &&
30305 ac_config_status_args
="$ac_config_status_args --quiet"
30307 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
30309 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30310 # would make configure fail if this is the last instruction.
30311 $ac_cs_success || as_fn_exit
1
30313 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
30314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30315 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}