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
821 enable_libquadmath_support
822 with_gcc_major_version_only
824 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
910 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
913 -build |
--build |
--buil |
--bui |
--bu)
914 ac_prev
=build_alias
;;
915 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
916 build_alias
=$ac_optarg ;;
918 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
919 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
920 ac_prev
=cache_file
;;
921 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
922 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
923 cache_file
=$ac_optarg ;;
926 cache_file
=config.cache
;;
928 -datadir |
--datadir |
--datadi |
--datad)
930 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
931 datadir
=$ac_optarg ;;
933 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
934 |
--dataroo |
--dataro |
--datar)
935 ac_prev
=datarootdir
;;
936 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
937 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
938 datarootdir
=$ac_optarg ;;
940 -disable-* |
--disable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error $?
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=no
;;
956 -docdir |
--docdir |
--docdi |
--doc |
--do)
958 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
961 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
963 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
966 -enable-* |
--enable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=\
$ac_optarg ;;
982 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
983 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
984 |
--exec |
--exe |
--ex)
985 ac_prev
=exec_prefix
;;
986 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
987 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
988 |
--exec=* |
--exe=* |
--ex=*)
989 exec_prefix
=$ac_optarg ;;
991 -gas |
--gas |
--ga |
--g)
992 # Obsolete; use --with-gas.
995 -help |
--help |
--hel |
--he |
-h)
997 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
998 ac_init_help
=recursive
;;
999 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1000 ac_init_help
=short
;;
1002 -host |
--host |
--hos |
--ho)
1003 ac_prev
=host_alias
;;
1004 -host=* |
--host=* |
--hos=* |
--ho=*)
1005 host_alias
=$ac_optarg ;;
1007 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1009 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1011 htmldir
=$ac_optarg ;;
1013 -includedir |
--includedir |
--includedi |
--included |
--include \
1014 |
--includ |
--inclu |
--incl |
--inc)
1015 ac_prev
=includedir
;;
1016 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1017 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1018 includedir
=$ac_optarg ;;
1020 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1022 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1023 infodir
=$ac_optarg ;;
1025 -libdir |
--libdir |
--libdi |
--libd)
1027 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1028 libdir
=$ac_optarg ;;
1030 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1031 |
--libexe |
--libex |
--libe)
1032 ac_prev
=libexecdir
;;
1033 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1034 |
--libexe=* |
--libex=* |
--libe=*)
1035 libexecdir
=$ac_optarg ;;
1037 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1038 ac_prev
=localedir
;;
1039 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1040 localedir
=$ac_optarg ;;
1042 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1043 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1044 ac_prev
=localstatedir
;;
1045 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1046 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1047 localstatedir
=$ac_optarg ;;
1049 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1051 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1052 mandir
=$ac_optarg ;;
1054 -nfp |
--nfp |
--nf)
1055 # Obsolete; use --without-fp.
1058 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1059 |
--no-cr |
--no-c |
-n)
1062 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1063 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1066 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1067 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1068 |
--oldin |
--oldi |
--old |
--ol |
--o)
1069 ac_prev
=oldincludedir
;;
1070 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1071 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1072 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1073 oldincludedir
=$ac_optarg ;;
1075 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1077 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1078 prefix
=$ac_optarg ;;
1080 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1081 |
--program-pre |
--program-pr |
--program-p)
1082 ac_prev
=program_prefix
;;
1083 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1084 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1085 program_prefix
=$ac_optarg ;;
1087 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1088 |
--program-suf |
--program-su |
--program-s)
1089 ac_prev
=program_suffix
;;
1090 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1091 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1092 program_suffix
=$ac_optarg ;;
1094 -program-transform-name |
--program-transform-name \
1095 |
--program-transform-nam |
--program-transform-na \
1096 |
--program-transform-n |
--program-transform- \
1097 |
--program-transform |
--program-transfor \
1098 |
--program-transfo |
--program-transf \
1099 |
--program-trans |
--program-tran \
1100 |
--progr-tra |
--program-tr |
--program-t)
1101 ac_prev
=program_transform_name
;;
1102 -program-transform-name=* |
--program-transform-name=* \
1103 |
--program-transform-nam=* |
--program-transform-na=* \
1104 |
--program-transform-n=* |
--program-transform-=* \
1105 |
--program-transform=* |
--program-transfor=* \
1106 |
--program-transfo=* |
--program-transf=* \
1107 |
--program-trans=* |
--program-tran=* \
1108 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1109 program_transform_name
=$ac_optarg ;;
1111 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1113 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1114 pdfdir
=$ac_optarg ;;
1116 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1118 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1122 |
-silent |
--silent |
--silen |
--sile |
--sil)
1125 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1127 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1129 sbindir
=$ac_optarg ;;
1131 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1132 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1133 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1135 ac_prev
=sharedstatedir
;;
1136 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1137 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1138 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1140 sharedstatedir
=$ac_optarg ;;
1142 -site |
--site |
--sit)
1144 -site=* |
--site=* |
--sit=*)
1147 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1149 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1150 srcdir
=$ac_optarg ;;
1152 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1153 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1154 ac_prev
=sysconfdir
;;
1155 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1156 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1157 sysconfdir
=$ac_optarg ;;
1159 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1160 ac_prev
=target_alias
;;
1161 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1162 target_alias
=$ac_optarg ;;
1164 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1167 -version |
--version |
--versio |
--versi |
--vers |
-V)
1168 ac_init_version
=: ;;
1171 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error $?
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=\
$ac_optarg ;;
1186 -without-* |
--without-*)
1187 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=no
;;
1203 # Obsolete; use --with-x.
1206 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1207 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1208 ac_prev
=x_includes
;;
1209 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1210 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1211 x_includes
=$ac_optarg ;;
1213 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1214 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1215 ac_prev
=x_libraries
;;
1216 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1217 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1218 x_libraries
=$ac_optarg ;;
1220 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1229 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\
$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $?
"missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val
=\$
$ac_var
1265 # Remove trailing slashes.
1268 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\
$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$
]* | ?
:[\\/]* ) continue;;
1274 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1276 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target
=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x
; then
1288 if test "x$build_alias" = x
; then
1289 cross_compiling
=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1298 test "$silent" = yes && exec 6>/dev
/null
1301 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di
=`ls -di .` &&
1303 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $?
"working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $?
"pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted
=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir
=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted
=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1345 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var
in $ac_precious_vars; do
1362 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1364 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1438 --build=BUILD configure
for building on BUILD
[guessed
]
1439 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1440 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1444 if test -n "$ac_init_help"; then
1445 case $ac_init_help in
1446 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1451 --disable-option-checking ignore unrecognized
--enable/--with options
1452 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1453 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1454 --enable-version-specific-runtime-libs
1455 specify that runtime libraries should be installed
1456 in a compiler-specific directory
1457 --enable-intermodule build the library
in one step
1458 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1459 --disable-silent-rules verbose build output
(undo
: "make V=0")
1460 --enable-maintainer-mode
1461 enable make rules and dependencies not useful
(and
1462 sometimes confusing
) to the casual installer
1463 --enable-multilib build many library versions
(default
)
1464 --enable-dependency-tracking
1465 do not reject slow dependency extractors
1466 --disable-dependency-tracking
1467 speeds up one-time build
1468 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1469 --disable-symvers disable symbol versioning
for libgfortran
1470 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1471 --enable-static[=PKGS
] build static libraries
[default
=yes]
1472 --enable-fast-install[=PKGS
]
1473 optimize
for fast installation
[default
=yes]
1474 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1475 --disable-largefile omit support
for large files
1476 --disable-libquadmath-support
1477 disable libquadmath support
for Fortran
1480 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1481 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1482 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1483 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1484 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1486 --with-gcc-major-version-only
1487 use only GCC major number
in filesystem paths
1489 Some influential environment variables
:
1490 CC C compiler
command
1491 CFLAGS C compiler flags
1492 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1493 nonstandard directory
<lib dir
>
1494 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1495 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1496 you have headers
in a nonstandard directory
<include dir
>
1498 FC Fortran compiler
command
1499 FCFLAGS Fortran compiler flags
1501 Use these variables to override the choices made by
`configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to the package provider.
1505 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1506 General help using GNU software: <http://www.gnu.org/gethelp/>.
1511 if test "$ac_init_help" = "recursive"; then
1512 # If there are subdirs, report their specific --help.
1513 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514 test -d "$ac_dir" ||
1515 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 GNU Fortran Runtime Library configure 0.3
1570 generated by GNU Autoconf 2.69
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1583 # ac_fn_c_try_compile LINENO
1584 # --------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_c_try_compile ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 rm -f conftest.$ac_objext
1590 if { { ac_try="$ac_compile"
1592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1593 *) ac_try_echo
=$ac_try;;
1595 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_compile") 2>conftest.err
1599 if test -s conftest.err
; then
1600 grep -v '^ *+' conftest.err
>conftest.er1
1601 cat conftest.er1
>&5
1602 mv -f conftest.er1 conftest.err
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && {
1606 test -z "$ac_c_werror_flag" ||
1607 test ! -s conftest.err
1608 } && test -s conftest.
$ac_objext; then :
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.
$ac_ext >&5
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status
$ac_retval
1619 } # ac_fn_c_try_compile
1621 # ac_fn_c_try_cpp LINENO
1622 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1627 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1661 # the include files in INCLUDES and setting the cache variable VAR
1663 ac_fn_c_check_header_mongrel ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if eval \${$3+:} false; then :
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668 $as_echo_n "checking for $2... " >&6; }
1669 if eval \${$3+:} false; then :
1670 $as_echo_n "(cached) " >&6
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1676 # Is the header compilable?
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1678 $as_echo_n "checking $2 usability... " >&6; }
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1684 if ac_fn_c_try_compile "$LINENO"; then :
1685 ac_header_compiler=yes
1687 ac_header_compiler=no
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1691 $as_echo "$ac_header_compiler" >&6; }
1693 # Is the header present?
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1695 $as_echo_n "checking $2 presence... " >&6; }
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1700 if ac_fn_c_try_cpp "$LINENO"; then :
1701 ac_header_preproc=yes
1703 ac_header_preproc=no
1705 rm -f conftest.err conftest.i conftest.$ac_ext
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1707 $as_echo "$ac_header_preproc" >&6; }
1709 # So? What about this header?
1710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1713 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1719 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1721 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1723 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1725 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 eval "$3=\$ac_header_compiler"
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_mongrel
1745 # ac_fn_c_try_run LINENO
1746 # ----------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1748 # that executables *can* be run.
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 if { { ac_try="$ac_link"
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_link") 2>&5
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1763 { { case "(($ac_try" in
1764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_try") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; }; }; then :
1775 $as_echo "$as_me: program exited with status $ac_status" >&5
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1779 ac_retval=$ac_status
1781 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1787 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1788 # -------------------------------------------------------
1789 # Tests whether HEADER exists and can be compiled using the include files in
1790 # INCLUDES, setting the cache variable VAR accordingly.
1791 ac_fn_c_check_header_compile ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1804 if ac_fn_c_try_compile "$LINENO"; then :
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 } # ac_fn_c_check_header_compile
1818 # ac_fn_c_try_link LINENO
1819 # -----------------------
1820 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 rm -f conftest.$ac_objext conftest$ac_exeext
1825 if { { ac_try="$ac_link"
1827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1828 *) ac_try_echo
=$ac_try;;
1830 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831 $as_echo "$ac_try_echo"; } >&5
1832 (eval "$ac_link") 2>conftest.err
1834 if test -s conftest.err
; then
1835 grep -v '^ *+' conftest.err
>conftest.er1
1836 cat conftest.er1
>&5
1837 mv -f conftest.er1 conftest.err
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && {
1841 test -z "$ac_c_werror_flag" ||
1842 test ! -s conftest.err
1843 } && test -s conftest
$ac_exeext && {
1844 test "$cross_compiling" = yes ||
1845 test -x conftest
$ac_exeext
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.
$ac_ext >&5
1854 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1855 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1856 # interfere with the next link command; also delete a directory that is
1857 # left behind by Apple's compiler. We do this before executing the actions.
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 as_fn_set_status
$ac_retval
1862 } # ac_fn_c_try_link
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func
()
1869 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \
${$3+:} false
; then :
1873 $as_echo_n "(cached) " >&6
1875 if test x
$gcc_no_link = xyes
; then
1876 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1880 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1882 #define $2 innocuous_$2
1884 /* System header to define __stub macros and hopefully few prototypes,
1885 which can conflict with char $2 (); below.
1886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1887 <limits.h> exists even on freestanding compilers. */
1890 # include <limits.h>
1892 # include <assert.h>
1897 /* Override any GCC internal prototype to avoid an error.
1898 Use char because int might match the return type of a GCC
1899 builtin and then its argument prototype would still apply. */
1904 /* The GNU C library defines this for functions which it implements
1905 to always fail with ENOSYS. Some functions are actually named
1906 something starting with __ and the normal name is an alias. */
1907 #if defined __stub_$2 || defined __stub___$2
1919 if ac_fn_c_try_link
"$LINENO"; then :
1924 rm -f core conftest.err conftest.
$ac_objext \
1925 conftest
$ac_exeext conftest.
$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 } # ac_fn_c_check_func
1934 # ac_fn_fc_try_compile LINENO
1935 # ---------------------------
1936 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1937 ac_fn_fc_try_compile
()
1939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1940 rm -f conftest.
$ac_objext
1941 if { { ac_try
="$ac_compile"
1943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_compile") 2>conftest.err
1950 if test -s conftest.err; then
1951 grep -v '^ *+' conftest.err >conftest.er1
1952 cat conftest.er1 >&5
1953 mv -f conftest.er1 conftest.err
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } && {
1957 test -z "$ac_fc_werror_flag" ||
1958 test ! -s conftest.err
1959 } && test -s conftest.$ac_objext; then :
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.$ac_ext >&5
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_status $ac_retval
1970 } # ac_fn_fc_try_compile
1972 # ac_fn_fc_try_link LINENO
1973 # ------------------------
1974 # Try to link conftest.$ac_ext, and return whether this succeeded.
1975 ac_fn_fc_try_link ()
1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978 rm -f conftest.$ac_objext conftest$ac_exeext
1979 if { { ac_try="$ac_link"
1981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1982 *) ac_try_echo
=$ac_try;;
1984 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_link") 2>conftest.err
1988 if test -s conftest.err
; then
1989 grep -v '^ *+' conftest.err
>conftest.er1
1990 cat conftest.er1
>&5
1991 mv -f conftest.er1 conftest.err
1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994 test $ac_status = 0; } && {
1995 test -z "$ac_fc_werror_flag" ||
1996 test ! -s conftest.err
1997 } && test -s conftest
$ac_exeext && {
1998 test "$cross_compiling" = yes ||
1999 test -x conftest
$ac_exeext
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.
$ac_ext >&5
2008 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2009 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2010 # interfere with the next link command; also delete a directory that is
2011 # left behind by Apple's compiler. We do this before executing the actions.
2012 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 as_fn_set_status
$ac_retval
2016 } # ac_fn_fc_try_link
2018 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2019 # -------------------------------------------
2020 # Tests whether TYPE exists after having included INCLUDES, setting cache
2021 # variable VAR accordingly.
2022 ac_fn_c_check_type
()
2024 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if eval \
${$3+:} false
; then :
2028 $as_echo_n "(cached) " >&6
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2043 if ac_fn_c_try_compile
"$LINENO"; then :
2044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2056 if ac_fn_c_try_compile
"$LINENO"; then :
2061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 } # ac_fn_c_check_type
2072 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2073 # --------------------------------------------
2074 # Tries to find the compile-time value of EXPR in a program that includes
2075 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2077 ac_fn_c_compute_int
()
2079 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2080 if test "$cross_compiling" = yes; then
2081 # Depending upon the size, compute the lo and hi bounds.
2082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) >= 0)];
2090 return test_array [0];
2096 if ac_fn_c_try_compile
"$LINENO"; then :
2099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h. */
2105 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2107 return test_array [0];
2113 if ac_fn_c_try_compile
"$LINENO"; then :
2114 ac_hi
=$ac_mid; break
2116 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2117 if test $ac_lo -le $ac_mid; then
2121 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2132 static int test_array [1 - 2 * !(($2) < 0)];
2134 return test_array [0];
2140 if ac_fn_c_try_compile
"$LINENO"; then :
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2149 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2151 return test_array [0];
2157 if ac_fn_c_try_compile
"$LINENO"; then :
2158 ac_lo
=$ac_mid; break
2160 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2161 if test $ac_mid -le $ac_hi; then
2165 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2175 # Binary search between lo and hi bounds.
2176 while test "x$ac_lo" != "x$ac_hi"; do
2177 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2179 /* end confdefs.h. */
2184 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2186 return test_array [0];
2192 if ac_fn_c_try_compile
"$LINENO"; then :
2195 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 static long int longval () { return $2; }
2208 static unsigned long int ulongval () { return $2; }
2215 FILE *f = fopen ("conftest.val", "w");
2220 long int i = longval ();
2223 fprintf (f, "%ld", i);
2227 unsigned long int i = ulongval ();
2230 fprintf (f, "%lu", i);
2232 /* Do not output a trailing newline, as this causes \r\n confusion
2233 on some platforms. */
2234 return ferror (f) || fclose (f) != 0;
2240 if ac_fn_c_try_run
"$LINENO"; then :
2241 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2245 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2246 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2250 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251 as_fn_set_status
$ac_retval
2253 } # ac_fn_c_compute_int
2255 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2256 # ----------------------------------------------------
2257 # Tries to find if the field MEMBER exists in type AGGR, after including
2258 # INCLUDES, setting cache variable VAR accordingly.
2259 ac_fn_c_check_member
()
2261 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2263 $as_echo_n "checking for $2.$3... " >&6; }
2264 if eval \
${$4+:} false
; then :
2265 $as_echo_n "(cached) " >&6
2267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2280 if ac_fn_c_try_compile
"$LINENO"; then :
2283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2290 if (sizeof ac_aggr.$3)
2296 if ac_fn_c_try_compile
"$LINENO"; then :
2301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2310 } # ac_fn_c_check_member
2311 cat >config.log
<<_ACEOF
2312 This file contains any messages produced by compilers while
2313 running configure, to aid debugging if configure makes a mistake.
2315 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2316 generated by GNU Autoconf 2.69. Invocation command line was
2328 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2329 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2330 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2331 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2332 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2334 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2335 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2337 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2338 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2339 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2340 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2341 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2342 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2343 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 $as_echo "PATH: $as_dir"
2368 # Keep a trace of the command line.
2369 # Strip out --no-create and --no-recursion so they do not pile up.
2370 # Strip out --silent because we don't want to record it for future runs.
2371 # Also quote any args containing shell meta-characters.
2372 # Make two passes to allow for proper duplicate-argument suppression.
2376 ac_must_keep_next
=false
2382 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2383 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2384 |
-silent |
--silent |
--silen |
--sile |
--sil)
2387 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2392 as_fn_append ac_configure_args1
" '$ac_arg'"
2393 if test $ac_must_keep_next = true
; then
2394 ac_must_keep_next
=false
# Got value, back to normal.
2397 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2398 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2399 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2400 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2401 case "$ac_configure_args0 " in
2402 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2405 -* ) ac_must_keep_next
=true
;;
2408 as_fn_append ac_configure_args
" '$ac_arg'"
2413 { ac_configure_args0
=; unset ac_configure_args0
;}
2414 { ac_configure_args1
=; unset ac_configure_args1
;}
2416 # When interrupted or exit'd, cleanup temporary files, and complete
2417 # config.log. We remove comments because anyway the quotes in there
2418 # would cause problems or look ugly.
2419 # WARNING: Use '\'' to represent an apostrophe within the trap.
2420 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2421 trap 'exit_status=$?
2422 # Save into config.log some information that might help in debugging.
2426 $as_echo "## ---------------- ##
2427 ## Cache variables. ##
2428 ## ---------------- ##"
2430 # The following way of writing the cache mishandles newlines in values,
2432 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2433 eval ac_val=\$$ac_var
2437 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2438 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2441 _ | IFS | as_nl) ;; #(
2442 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2443 *) { eval $ac_var=; unset $ac_var;} ;;
2448 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2449 *${as_nl}ac_space=\ *)
2451 "s/'\''/'\''\\\\'\'''\''/g;
2452 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2462 $as_echo "## ----------------- ##
2463 ## Output variables. ##
2464 ## ----------------- ##"
2466 for ac_var in $ac_subst_vars
2468 eval ac_val=\$$ac_var
2470 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2472 $as_echo "$ac_var='\''$ac_val'\''"
2476 if test -n "$ac_subst_files"; then
2477 $as_echo "## ------------------- ##
2478 ## File substitutions. ##
2479 ## ------------------- ##"
2481 for ac_var
in $ac_subst_files
2483 eval ac_val
=\$
$ac_var
2485 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2487 $as_echo "$ac_var='\''$ac_val'\''"
2492 if test -s confdefs.h; then
2493 $as_echo "## ----------- ##
2500 test "$ac_signal" != 0 &&
2501 $as_echo "$as_me: caught signal $ac_signal"
2502 $as_echo "$as_me: exit $exit_status"
2504 rm -f core *.core core.conftest.* &&
2505 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2508 for ac_signal
in 1 2 13 15; do
2509 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2513 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2514 rm -f -r conftest
* confdefs.h
2516 $as_echo "/* confdefs.h */" > confdefs.h
2518 # Predefined preprocessor variables.
2520 cat >>confdefs.h
<<_ACEOF
2521 #define PACKAGE_NAME "$PACKAGE_NAME"
2524 cat >>confdefs.h
<<_ACEOF
2525 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2528 cat >>confdefs.h
<<_ACEOF
2529 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_STRING "$PACKAGE_STRING"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_URL "$PACKAGE_URL"
2545 # Let the site file select an alternate cache file if it wants to.
2546 # Prefer an explicitly selected file to automatically selected ones.
2549 if test -n "$CONFIG_SITE"; then
2550 # We do not want a PATH search for config.site.
2551 case $CONFIG_SITE in #((
2552 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2553 */*) ac_site_file1
=$CONFIG_SITE;;
2554 *) ac_site_file1
=.
/$CONFIG_SITE;;
2556 elif test "x$prefix" != xNONE
; then
2557 ac_site_file1
=$prefix/share
/config.site
2558 ac_site_file2
=$prefix/etc
/config.site
2560 ac_site_file1
=$ac_default_prefix/share
/config.site
2561 ac_site_file2
=$ac_default_prefix/etc
/config.site
2563 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2565 test "x$ac_site_file" = xNONE
&& continue
2566 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2568 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2569 sed 's/^/| /' "$ac_site_file" >&5
2571 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2573 as_fn_error $?
"failed to load site script $ac_site_file
2574 See \`config.log' for more details" "$LINENO" 5; }
2578 if test -r "$cache_file"; then
2579 # Some versions of bash will fail to source /dev/null (special files
2580 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2581 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2583 $as_echo "$as_me: loading cache $cache_file" >&6;}
2585 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2586 *) .
"./$cache_file";;
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2591 $as_echo "$as_me: creating cache $cache_file" >&6;}
2595 as_fn_append ac_header_list
" unistd.h"
2596 as_fn_append ac_header_list
" sys/random.h"
2597 as_fn_append ac_header_list
" sys/time.h"
2598 as_fn_append ac_header_list
" sys/times.h"
2599 as_fn_append ac_header_list
" sys/resource.h"
2600 as_fn_append ac_header_list
" sys/types.h"
2601 as_fn_append ac_header_list
" sys/stat.h"
2602 as_fn_append ac_header_list
" sys/uio.h"
2603 as_fn_append ac_header_list
" sys/wait.h"
2604 as_fn_append ac_header_list
" floatingpoint.h"
2605 as_fn_append ac_header_list
" ieeefp.h"
2606 as_fn_append ac_header_list
" fenv.h"
2607 as_fn_append ac_header_list
" fptrap.h"
2608 as_fn_append ac_header_list
" fpxcp.h"
2609 as_fn_append ac_header_list
" pwd.h"
2610 as_fn_append ac_header_list
" complex.h"
2611 as_fn_append ac_header_list
" xlocale.h"
2612 as_fn_append ac_func_list
" getrusage"
2613 as_fn_append ac_func_list
" times"
2614 as_fn_append ac_func_list
" mkstemp"
2615 as_fn_append ac_func_list
" strtof"
2616 as_fn_append ac_func_list
" strtold"
2617 as_fn_append ac_func_list
" snprintf"
2618 as_fn_append ac_func_list
" ftruncate"
2619 as_fn_append ac_func_list
" chsize"
2620 as_fn_append ac_func_list
" chdir"
2621 as_fn_append ac_func_list
" getentropy"
2622 as_fn_append ac_func_list
" getlogin"
2623 as_fn_append ac_func_list
" gethostname"
2624 as_fn_append ac_func_list
" kill"
2625 as_fn_append ac_func_list
" link"
2626 as_fn_append ac_func_list
" symlink"
2627 as_fn_append ac_func_list
" sleep"
2628 as_fn_append ac_func_list
" ttyname"
2629 as_fn_append ac_func_list
" alarm"
2630 as_fn_append ac_func_list
" access"
2631 as_fn_append ac_func_list
" fork"
2632 as_fn_append ac_func_list
" setmode"
2633 as_fn_append ac_func_list
" fcntl"
2634 as_fn_append ac_func_list
" writev"
2635 as_fn_append ac_func_list
" gettimeofday"
2636 as_fn_append ac_func_list
" stat"
2637 as_fn_append ac_func_list
" fstat"
2638 as_fn_append ac_func_list
" lstat"
2639 as_fn_append ac_func_list
" getpwuid"
2640 as_fn_append ac_func_list
" vsnprintf"
2641 as_fn_append ac_func_list
" dup"
2642 as_fn_append ac_func_list
" getcwd"
2643 as_fn_append ac_func_list
" localtime_r"
2644 as_fn_append ac_func_list
" gmtime_r"
2645 as_fn_append ac_func_list
" getpwuid_r"
2646 as_fn_append ac_func_list
" ttyname_r"
2647 as_fn_append ac_func_list
" clock_gettime"
2648 as_fn_append ac_func_list
" getgid"
2649 as_fn_append ac_func_list
" getpid"
2650 as_fn_append ac_func_list
" getuid"
2651 as_fn_append ac_func_list
" geteuid"
2652 as_fn_append ac_func_list
" umask"
2653 as_fn_append ac_func_list
" getegid"
2654 as_fn_append ac_func_list
" secure_getenv"
2655 as_fn_append ac_func_list
" __secure_getenv"
2656 as_fn_append ac_func_list
" mkostemp"
2657 as_fn_append ac_func_list
" strnlen"
2658 as_fn_append ac_func_list
" strndup"
2659 as_fn_append ac_func_list
" newlocale"
2660 as_fn_append ac_func_list
" freelocale"
2661 as_fn_append ac_func_list
" uselocale"
2662 as_fn_append ac_func_list
" strerror_l"
2663 as_fn_append ac_header_list
" math.h"
2664 # Check that the precious variables saved in the cache have kept the same
2666 ac_cache_corrupted
=false
2667 for ac_var
in $ac_precious_vars; do
2668 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2669 eval ac_new_set
=\
$ac_env_${ac_var}_set
2670 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2671 eval ac_new_val
=\
$ac_env_${ac_var}_value
2672 case $ac_old_set,$ac_new_set in
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2675 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2676 ac_cache_corrupted
=: ;;
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2679 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2680 ac_cache_corrupted
=: ;;
2683 if test "x$ac_old_val" != "x$ac_new_val"; then
2684 # differences in whitespace do not lead to failure.
2685 ac_old_val_w
=`echo x $ac_old_val`
2686 ac_new_val_w
=`echo x $ac_new_val`
2687 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2689 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2690 ac_cache_corrupted
=:
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2693 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2694 eval $ac_var=\
$ac_old_val
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2697 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2699 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2702 # Pass precious variables to config.status.
2703 if test "$ac_new_set" = set; then
2705 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2706 *) ac_arg
=$ac_var=$ac_new_val ;;
2708 case " $ac_configure_args " in
2709 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2710 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2714 if $ac_cache_corrupted; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2718 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2719 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2721 ## -------------------- ##
2722 ## Main body of script. ##
2723 ## -------------------- ##
2726 ac_cpp
='$CPP $CPPFLAGS'
2727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2735 ac_config_headers
="$ac_config_headers config.h"
2738 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2739 if test -f "$ac_dir/install-sh"; then
2741 ac_install_sh
="$ac_aux_dir/install-sh -c"
2743 elif test -f "$ac_dir/install.sh"; then
2745 ac_install_sh
="$ac_aux_dir/install.sh -c"
2747 elif test -f "$ac_dir/shtool"; then
2749 ac_install_sh
="$ac_aux_dir/shtool install -c"
2753 if test -z "$ac_aux_dir"; then
2754 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2757 # These three variables are undocumented and unsupported,
2758 # and are intended to be withdrawn in a future Autoconf release.
2759 # They can cause serious problems if a builder's source tree is in a directory
2760 # whose full name contains unusual characters.
2761 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2762 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2763 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2766 # Make sure we can run config.sub.
2767 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2768 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2771 $as_echo_n "checking build system type... " >&6; }
2772 if ${ac_cv_build+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 ac_build_alias
=$build_alias
2776 test "x$ac_build_alias" = x
&&
2777 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2778 test "x$ac_build_alias" = x
&&
2779 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2780 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2781 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2785 $as_echo "$ac_cv_build" >&6; }
2786 case $ac_cv_build in
2788 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2791 ac_save_IFS
=$IFS; IFS
='-'
2797 # Remember, the first character of IFS is used to create $*,
2798 # except with old shells:
2801 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2804 case ${build_alias} in
2805 "") build_noncanonical
=${build} ;;
2806 *) build_noncanonical
=${build_alias} ;;
2809 case ${host_alias} in
2810 "") host_noncanonical
=${build_noncanonical} ;;
2811 *) host_noncanonical
=${host_alias} ;;
2814 case ${target_alias} in
2815 "") target_noncanonical
=${host_noncanonical} ;;
2816 *) target_noncanonical
=${target_alias} ;;
2820 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2821 # have matching libraries, they should use host libraries: Makefile.tpl
2822 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2823 # However, they still use the build modules, because the corresponding
2824 # host modules (e.g. bison) are only built for the host when bootstrap
2826 # - build_subdir is where we find build modules, and never changes.
2827 # - build_libsubdir is where we find build libraries, and can be overridden.
2829 # Prefix 'build-' so this never conflicts with target_subdir.
2830 build_subdir
="build-${build_noncanonical}"
2832 # Check whether --with-build-libsubdir was given.
2833 if test "${with_build_libsubdir+set}" = set; then :
2834 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2836 build_libsubdir
="$build_subdir"
2839 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2840 if ( test $srcdir = .
&& test -d gcc
) \
2841 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2842 host_subdir
="host-${host_noncanonical}"
2847 target_subdir
=${target_noncanonical}
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2855 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2856 # Check whether --enable-version-specific-runtime-libs was given.
2857 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2858 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2859 yes) version_specific_libs
=yes ;;
2860 no
) version_specific_libs
=no
;;
2861 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2864 version_specific_libs
=no
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2868 $as_echo "$version_specific_libs" >&6; }
2870 # Build with intermodule optimisations
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2872 $as_echo_n "checking for --enable-intermodule... " >&6; }
2873 # Check whether --enable-intermodule was given.
2874 if test "${enable_intermodule+set}" = set; then :
2875 enableval
=$enable_intermodule; case "$enable_intermodule" in
2876 yes) onestep
="-onestep";;
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2884 $as_echo "$enable_intermodule" >&6; }
2885 if test x
$onestep = x-onestep
; then
2895 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2897 # You will slowly go insane if you do not grok the following fact: when
2898 # building this library, the top-level /target/ becomes the library's /host/.
2900 # configure then causes --target to default to --host, exactly like any
2901 # other package using autoconf. Therefore, 'target' and 'host' will
2902 # always be the same. This makes sense both for native and cross compilers
2903 # just think about it for a little while. :-)
2905 # Also, if this library is being configured as part of a cross compiler, the
2906 # top-level configure script will pass the "real" host as $with_cross_host.
2908 # Do not delete or change the following two lines. For why, see
2909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2911 $as_echo_n "checking host system type... " >&6; }
2912 if ${ac_cv_host+:} false
; then :
2913 $as_echo_n "(cached) " >&6
2915 if test "x$host_alias" = x
; then
2916 ac_cv_host
=$ac_cv_build
2918 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2919 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2924 $as_echo "$ac_cv_host" >&6; }
2927 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2930 ac_save_IFS
=$IFS; IFS
='-'
2936 # Remember, the first character of IFS is used to create $*,
2937 # except with old shells:
2940 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2944 $as_echo_n "checking target system type... " >&6; }
2945 if ${ac_cv_target+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 if test "x$target_alias" = x
; then
2949 ac_cv_target
=$ac_cv_host
2951 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2952 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2957 $as_echo "$ac_cv_target" >&6; }
2958 case $ac_cv_target in
2960 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2962 target
=$ac_cv_target
2963 ac_save_IFS
=$IFS; IFS
='-'
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2973 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2976 # The aliases save the names the user supplied, while $host etc.
2977 # will get canonicalized.
2978 test -n "$target_alias" &&
2979 test "$program_prefix$program_suffix$program_transform_name" = \
2981 program_prefix
=${target_alias}-
2986 target_alias
=${target_alias-$host_alias}
2989 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2990 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2991 # 1.9.6: minimum required version
2992 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2993 # of other PACKAGE_* variables will, however, and there's nothing
2994 # we can do about that; they come from AC_INIT).
2995 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2996 # file in the top srcdir, etc, etc), so stop complaining.
2997 # no-dist: we don't want 'dist' and related rules.
2998 # -Wall: turns on all automake warnings...
2999 # -Wno-portability: ...except this one, since GNU make is required.
3000 am__api_version
='1.15'
3002 # Find a good install program. We prefer a C program (faster),
3003 # so one script is as good as another. But avoid the broken or
3004 # incompatible versions:
3005 # SysV /etc/install, /usr/sbin/install
3006 # SunOS /usr/etc/install
3007 # IRIX /sbin/install
3009 # AmigaOS /C/install, which installs bootblocks on floppy discs
3010 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3011 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3012 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3013 # OS/2's system install, which has a completely different semantic
3014 # ./install, which can be erroneously created by make from ./install.sh.
3015 # Reject install programs that cannot install multiple files.
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3017 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3018 if test -z "$INSTALL"; then
3019 if ${ac_cv_path_install+:} false
; then :
3020 $as_echo_n "(cached) " >&6
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir
=.
3027 # Account for people who put trailing slashes in PATH elements.
3028 case $as_dir/ in #((
3029 .
/ | .
// |
/[cC
]/* | \
3030 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3031 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3034 # OSF1 and SCO ODT 3.0 have their own names for install.
3035 # Don't use installbsd from OSF since it installs stuff as root
3037 for ac_prog
in ginstall scoinst
install; do
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3040 if test $ac_prog = install &&
3041 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3042 # AIX install. It has an incompatible calling convention.
3044 elif test $ac_prog = install &&
3045 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3046 # program-specific install script used by HP pwplus--don't use.
3049 rm -rf conftest.one conftest.two conftest.dir
3050 echo one
> conftest.one
3051 echo two
> conftest.two
3053 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3054 test -s conftest.one
&& test -s conftest.two
&&
3055 test -s conftest.dir
/conftest.one
&&
3056 test -s conftest.dir
/conftest.two
3058 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3071 rm -rf conftest.one conftest.two conftest.dir
3074 if test "${ac_cv_path_install+set}" = set; then
3075 INSTALL
=$ac_cv_path_install
3077 # As a last resort, use the slow shell script. Don't cache a
3078 # value for INSTALL within a source directory, because that will
3079 # break other packages using the cache if that directory is
3080 # removed, or if the value is a relative name.
3081 INSTALL
=$ac_install_sh
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3085 $as_echo "$INSTALL" >&6; }
3087 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3088 # It thinks the first close brace ends the variable substitution.
3089 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3091 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3093 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3096 $as_echo_n "checking whether build environment is sane... " >&6; }
3097 # Reject unsafe characters in $srcdir or the absolute working directory
3098 # name. Accept space and tab only in the latter.
3102 *[\\\"\
#\$\&\'\`$am_lf]*)
3103 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3106 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3107 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3110 # Do 'set' in a subshell so we don't clobber the current shell's
3111 # arguments. Must try -L first in case configure is actually a
3112 # symlink; some systems play weird games with the mod time of symlinks
3113 # (eg FreeBSD returns the mod time of the symlink's containing
3117 for am_try
in 1 2; do
3118 echo "timestamp, slept: $am_has_slept" > conftest.
file
3119 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3120 if test "$*" = "X"; then
3122 set X
`ls -t "$srcdir/configure" conftest.file`
3124 if test "$*" != "X $srcdir/configure conftest.file" \
3125 && test "$*" != "X conftest.file $srcdir/configure"; then
3127 # If neither matched, then we have a broken ls. This can happen
3128 # if, for instance, CONFIG_SHELL is bash and it inherits a
3129 # broken ls alias from the environment. This has actually
3130 # happened. Such a system could not be considered "sane".
3131 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3132 alias in your environment" "$LINENO" 5
3134 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3141 test "$2" = conftest.
file
3147 as_fn_error $?
"newly created file is older than distributed files!
3148 Check your system clock" "$LINENO" 5
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3151 $as_echo "yes" >&6; }
3152 # If we didn't sleep, we still need to ensure time stamps of config.status and
3153 # generated files are strictly newer.
3155 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3162 test "$program_prefix" != NONE
&&
3163 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3164 # Use a double $ so make ignores it.
3165 test "$program_suffix" != NONE
&&
3166 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3167 # Double any \ or $.
3168 # By default was `s,x,x', remove it if useless.
3169 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3170 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3172 # Expand $ac_aux_dir to an absolute path.
3173 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3175 if test x
"${MISSING+set}" != xset
; then
3178 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3180 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3183 # Use eval to expand $SHELL
3184 if eval "$MISSING --is-lightweight"; then
3185 am_missing_run
="$MISSING "
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3189 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3192 if test x
"${install_sh+set}" != xset
; then
3195 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3197 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3201 # Installed binaries are usually stripped using 'strip' when the user
3202 # run "make install-strip". However 'strip' might not be the right
3203 # tool to use in cross-compilation environments, therefore Automake
3204 # will honor the 'STRIP' environment variable to overrule this program.
3205 if test "$cross_compiling" != no
; then
3206 if test -n "$ac_tool_prefix"; then
3207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3208 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210 $as_echo_n "checking for $ac_word... " >&6; }
3211 if ${ac_cv_prog_STRIP+:} false
; then :
3212 $as_echo_n "(cached) " >&6
3214 if test -n "$STRIP"; then
3215 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir
=.
3222 for ac_exec_ext
in '' $ac_executable_extensions; do
3223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 STRIP
=$ac_cv_prog_STRIP
3235 if test -n "$STRIP"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3237 $as_echo "$STRIP" >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3245 if test -z "$ac_cv_prog_STRIP"; then
3247 # Extract the first word of "strip", so it can be a program name with args.
3248 set dummy strip
; ac_word
=$2
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250 $as_echo_n "checking for $ac_word... " >&6; }
3251 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3252 $as_echo_n "(cached) " >&6
3254 if test -n "$ac_ct_STRIP"; then
3255 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir
=.
3262 for ac_exec_ext
in '' $ac_executable_extensions; do
3263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3264 ac_cv_prog_ac_ct_STRIP
="strip"
3265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3275 if test -n "$ac_ct_STRIP"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3277 $as_echo "$ac_ct_STRIP" >&6; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3283 if test "x$ac_ct_STRIP" = x
; then
3286 case $cross_compiling:$ac_tool_warned in
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290 ac_tool_warned
=yes ;;
3295 STRIP
="$ac_cv_prog_STRIP"
3299 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3302 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3303 if test -z "$MKDIR_P"; then
3304 if ${ac_cv_path_mkdir+:} false
; then :
3305 $as_echo_n "(cached) " >&6
3307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3308 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3311 test -z "$as_dir" && as_dir
=.
3312 for ac_prog
in mkdir gmkdir
; do
3313 for ac_exec_ext
in '' $ac_executable_extensions; do
3314 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3315 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3316 'mkdir (GNU coreutils) '* | \
3317 'mkdir (coreutils) '* | \
3318 'mkdir (fileutils) '4.1*)
3319 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3329 test -d .
/--version && rmdir .
/--version
3330 if test "${ac_cv_path_mkdir+set}" = set; then
3331 MKDIR_P
="$ac_cv_path_mkdir -p"
3333 # As a last resort, use the slow shell script. Don't cache a
3334 # value for MKDIR_P within a source directory, because that will
3335 # break other packages using the cache if that directory is
3336 # removed, or if the value is a relative name.
3337 MKDIR_P
="$ac_install_sh -d"
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3341 $as_echo "$MKDIR_P" >&6; }
3343 for ac_prog
in gawk mawk nawk
awk
3345 # Extract the first word of "$ac_prog", so it can be a program name with args.
3346 set dummy
$ac_prog; ac_word
=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_prog_AWK+:} false
; then :
3350 $as_echo_n "(cached) " >&6
3352 if test -n "$AWK"; then
3353 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir
=.
3360 for ac_exec_ext
in '' $ac_executable_extensions; do
3361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3362 ac_cv_prog_AWK
="$ac_prog"
3363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 if test -n "$AWK"; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3375 $as_echo "$AWK" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3382 test -n "$AWK" && break
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3388 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3389 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3390 $as_echo_n "(cached) " >&6
3392 cat >conftest.
make <<\_ACEOF
3395 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3397 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3400 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3402 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3406 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408 $as_echo "yes" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3413 SET_MAKE
="MAKE=${MAKE-make}"
3416 rm -rf .tst
2>/dev
/null
3417 mkdir .tst
2>/dev
/null
3418 if test -d .tst
; then
3423 rmdir .tst
2>/dev
/null
3425 # Check whether --enable-silent-rules was given.
3426 if test "${enable_silent_rules+set}" = set; then :
3427 enableval
=$enable_silent_rules;
3430 case $enable_silent_rules in # (((
3431 yes) AM_DEFAULT_VERBOSITY
=0;;
3432 no
) AM_DEFAULT_VERBOSITY
=1;;
3433 *) AM_DEFAULT_VERBOSITY
=1;;
3435 am_make
=${MAKE-make}
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3437 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3438 if ${am_cv_make_support_nested_variables+:} false
; then :
3439 $as_echo_n "(cached) " >&6
3441 if $as_echo 'TRUE=$(BAR$(V))
3447 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3448 am_cv_make_support_nested_variables
=yes
3450 am_cv_make_support_nested_variables
=no
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3454 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3455 if test $am_cv_make_support_nested_variables = yes; then
3457 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3459 AM_V
=$AM_DEFAULT_VERBOSITY
3460 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3464 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3465 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3466 # is not polluted with repeated "-I."
3467 am__isrc
=' -I$(srcdir)'
3468 # test to see if srcdir already configured
3469 if test -f $srcdir/config.status
; then
3470 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3474 # test whether we have cygpath
3475 if test -z "$CYGPATH_W"; then
3476 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3477 CYGPATH_W
='cygpath -w'
3484 # Define the identity of the package.
3485 PACKAGE
='libgfortran'
3489 # Some tools Automake needs.
3491 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3494 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3497 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3500 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3503 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3505 # For better backward compatibility. To be removed once Automake 1.9.x
3506 # dies out for good. For more background, see:
3507 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3508 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3509 mkdir_p
='$(MKDIR_P)'
3511 # We need awk for the "check" target (and possibly the TAP driver). The
3512 # system "awk" is bad on some platforms.
3513 # Always define AMTAR for backward compatibility. Yes, it's still used
3514 # in the wild :-( We should find a proper way to deprecate it ...
3518 # We'll loop over all known methods to create a tar archive until one works.
3519 _am_tools
='gnutar pax cpio none'
3521 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3528 # POSIX will say in a future version that running "rm -f" with no argument
3529 # is OK; and we want to be able to make that assumption in our Makefile
3530 # recipes. So use an aggressive probe to check that the usage we want is
3531 # actually supported "in the wild" to an acceptable degree.
3532 # See automake bug#10828.
3533 # To make any issue more visible, cause the running configure to be aborted
3534 # by default if the 'rm' program in use doesn't match our expectations; the
3535 # user can still override this though.
3536 if rm -f && rm -fr && rm -rf; then : OK
; else
3540 Your 'rm' program seems unable to run without file operands specified
3541 on the command line, even when the '-f' option is present. This is contrary
3542 to the behaviour of most rm programs out there, and not conforming with
3543 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3545 Please tell bug-automake@gnu.org about your system, including the value
3546 of your $PATH and any error possibly output before this message. This
3547 can help us improve future automake versions.
3550 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3551 echo 'Configuration will proceed anyway, since you have set the' >&2
3552 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3556 Aborting the configuration process, to ensure you take notice of the issue.
3558 You can download and install GNU coreutils to get an 'rm' implementation
3559 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3561 If you want to complete the configuration process using your problematic
3562 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3563 to "yes", and re-run configure.
3566 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3573 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3574 # Check whether --enable-maintainer-mode was given.
3575 if test "${enable_maintainer_mode+set}" = set; then :
3576 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3578 USE_MAINTAINER_MODE
=no
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3582 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3583 if test $USE_MAINTAINER_MODE = yes; then
3584 MAINTAINER_MODE_TRUE
=
3585 MAINTAINER_MODE_FALSE
='#'
3587 MAINTAINER_MODE_TRUE
='#'
3588 MAINTAINER_MODE_FALSE
=
3591 MAINT
=$MAINTAINER_MODE_TRUE
3594 # Default to --enable-multilib
3595 # Check whether --enable-multilib was given.
3596 if test "${enable_multilib+set}" = set; then :
3597 enableval
=$enable_multilib; case "$enableval" in
3598 yes) multilib
=yes ;;
3600 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3607 # We may get other options which we leave undocumented:
3608 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3609 # See config-ml.in if you want the gory details.
3611 if test "$srcdir" = "."; then
3612 if test "$with_target_subdir" != "."; then
3613 multi_basedir
="$srcdir/$with_multisrctop../.."
3615 multi_basedir
="$srcdir/$with_multisrctop.."
3618 multi_basedir
="$srcdir/.."
3622 # Even if the default multilib is not a cross compilation,
3623 # it may be that some of the other multilibs are.
3624 if test $cross_compiling = no
&& test $multilib = yes \
3625 && test "x${with_multisubdir}" != x
; then
3626 cross_compiling
=maybe
3629 ac_config_commands
="$ac_config_commands default-1"
3632 # Handy for debugging:
3633 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3635 # Are we being configured with some form of cross compiler?
3636 # NB: We don't actually need to know this just now, but when, say, a test
3637 # suite is included, we'll have to know.
3638 if test "$build" != "$host"; then
3639 LIBGFOR_IS_NATIVE
=false
3642 LIBGFOR_IS_NATIVE
=true
3645 DEPDIR
="${am__leading_dot}deps"
3647 ac_config_commands
="$ac_config_commands depfiles"
3650 am_make
=${MAKE-make}
3651 cat > confinc
<< 'END'
3653 @
echo this is the am__doit target
3656 # If we don't find an include directive, just comment out the code.
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3658 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3662 # First try GNU make style include.
3663 echo "include confinc" > confmf
3664 # Ignore all kinds of additional output from 'make'.
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target
*)
3672 # Now try BSD make style include.
3673 if test "$am__include" = "#"; then
3674 echo '.include "confinc"' > confmf
3675 case `$am_make -s -f confmf 2> /dev/null` in #(
3676 *the\ am__doit\ target
*)
3677 am__include
=.include
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3686 $as_echo "$_am_result" >&6; }
3687 rm -f confinc confmf
3689 # Check whether --enable-dependency-tracking was given.
3690 if test "${enable_dependency_tracking+set}" = set; then :
3691 enableval
=$enable_dependency_tracking;
3694 if test "x$enable_dependency_tracking" != xno
; then
3695 am_depcomp
="$ac_aux_dir/depcomp"
3699 if test "x$enable_dependency_tracking" != xno; then
3709 ac_cpp
='$CPP $CPPFLAGS'
3710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3713 if test -n "$ac_tool_prefix"; then
3714 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3715 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717 $as_echo_n "checking for $ac_word... " >&6; }
3718 if ${ac_cv_prog_CC+:} false
; then :
3719 $as_echo_n "(cached) " >&6
3721 if test -n "$CC"; then
3722 ac_cv_prog_CC
="$CC" # Let the user override the test.
3724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3728 test -z "$as_dir" && as_dir
=.
3729 for ac_exec_ext
in '' $ac_executable_extensions; do
3730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3731 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$ac_cv_prog_CC"; then
3754 # Extract the first word of "gcc", so it can be a program name with args.
3755 set dummy gcc
; ac_word
=$2
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3758 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3759 $as_echo_n "(cached) " >&6
3761 if test -n "$ac_ct_CC"; then
3762 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir
=.
3769 for ac_exec_ext
in '' $ac_executable_extensions; do
3770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3771 ac_cv_prog_ac_ct_CC
="gcc"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3781 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3782 if test -n "$ac_ct_CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3784 $as_echo "$ac_ct_CC" >&6; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3790 if test "x$ac_ct_CC" = x
; then
3793 case $cross_compiling:$ac_tool_warned in
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3797 ac_tool_warned
=yes ;;
3805 if test -z "$CC"; then
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3808 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_CC+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 if test -n "$CC"; then
3815 ac_cv_prog_CC
="$CC" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 if test -n "$CC"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 $as_echo "$CC" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3846 if test -z "$CC"; then
3847 # Extract the first word of "cc", so it can be a program name with args.
3848 set dummy cc
; ac_word
=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_CC+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$CC"; then
3855 ac_cv_prog_CC
="$CC" # Let the user override the test.
3858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir
=.
3863 for ac_exec_ext
in '' $ac_executable_extensions; do
3864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3865 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3866 ac_prog_rejected
=yes
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 if test $ac_prog_rejected = yes; then
3878 # We found a bogon in the path, so make sure we never use it.
3879 set dummy
$ac_cv_prog_CC
3881 if test $# != 0; then
3882 # We chose a different compiler from the bogus one.
3883 # However, it has the same basename, so the bogon will be chosen
3884 # first if we set CC to just the basename; use the full file name.
3886 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3892 if test -n "$CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3894 $as_echo "$CC" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3902 if test -z "$CC"; then
3903 if test -n "$ac_tool_prefix"; then
3904 for ac_prog
in cl.exe
3906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3907 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if ${ac_cv_prog_CC+:} false
; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -n "$CC"; then
3914 ac_cv_prog_CC
="$CC" # Let the user override the test.
3916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir
=.
3921 for ac_exec_ext
in '' $ac_executable_extensions; do
3922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3923 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 if test -n "$CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3936 $as_echo "$CC" >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3943 test -n "$CC" && break
3946 if test -z "$CC"; then
3948 for ac_prog
in cl.exe
3950 # Extract the first word of "$ac_prog", so it can be a program name with args.
3951 set dummy
$ac_prog; ac_word
=$2
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3953 $as_echo_n "checking for $ac_word... " >&6; }
3954 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3955 $as_echo_n "(cached) " >&6
3957 if test -n "$ac_ct_CC"; then
3958 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir
=.
3965 for ac_exec_ext
in '' $ac_executable_extensions; do
3966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_ac_ct_CC
="$ac_prog"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3978 if test -n "$ac_ct_CC"; then
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3980 $as_echo "$ac_ct_CC" >&6; }
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3987 test -n "$ac_ct_CC" && break
3990 if test "x$ac_ct_CC" = x
; then
3993 case $cross_compiling:$ac_tool_warned in
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3997 ac_tool_warned
=yes ;;
4006 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error $?
"no acceptable C compiler found in \$PATH
4009 See \`config.log' for more details" "$LINENO" 5; }
4011 # Provide some information about the compiler.
4012 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4015 for ac_option
in --version -v -V -qversion; do
4016 { { ac_try
="$ac_compiler $ac_option >&5"
4018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4025 if test -s conftest.err; then
4027 ... rest of stderr output deleted ...
4028 10q' conftest.err >conftest.er1
4029 cat conftest.er1 >&5
4031 rm -f conftest.er1 conftest.err
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4049 (eval $ac_link) 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4057 if test x$gcc_no_link = xyes; then
4058 # Setting cross_compile will disable run tests; it will
4059 # also disable AC_CHECK_FILE but that's generally
4060 # correct if we can't link.
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4075 ac_clean_files_save=$ac_clean_files
4076 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4077 # Try to create an executable without -o first, disregard a.out.
4078 # It will help us diagnose broken compilers, and finding out an intuition
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4084 # The possible output files:
4085 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4088 for ac_file in $ac_files
4091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4097 if { { ac_try="$ac_link_default"
4099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4100 *) ac_try_echo
=$ac_try;;
4102 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link_default") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4111 # so that the user can short-circuit this test for compilers unknown to
4113 for ac_file
in $ac_files ''
4115 test -f "$ac_file" ||
continue
4117 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4120 # We found the default executable, but exeext='' is most
4124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4126 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4128 # We set ac_cv_exeext here because the later test for it is not
4129 # safe: cross compilers may not add the suffix if given an `-o'
4130 # argument, so we may need to know it at that point already.
4131 # Even if this section looks crufty: it has the advantage of
4138 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4143 if test -z "$ac_file"; then :
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.
$ac_ext >&5
4149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error
77 "C compiler cannot create executables
4152 See \`config.log' for more details" "$LINENO" 5; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4155 $as_echo "yes" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4158 $as_echo_n "checking for C compiler default output file name... " >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4160 $as_echo "$ac_file" >&6; }
4161 ac_exeext
=$ac_cv_exeext
4163 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4164 ac_clean_files
=$ac_clean_files_save
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4166 $as_echo_n "checking for suffix of executables... " >&6; }
4167 if { { ac_try
="$ac_link"
4169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_link") 2>&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4179 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4180 # work properly (i.e., refer to `conftest.exe'), while it won't with
4182 for ac_file
in conftest.exe conftest conftest.
*; do
4183 test -f "$ac_file" ||
continue
4185 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4186 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4194 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4195 See \`config.log' for more details" "$LINENO" 5; }
4197 rm -f conftest conftest
$ac_cv_exeext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4199 $as_echo "$ac_cv_exeext" >&6; }
4201 rm -f conftest.
$ac_ext
4202 EXEEXT
=$ac_cv_exeext
4204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4210 FILE *f = fopen ("conftest.out", "w");
4211 return ferror (f) || fclose (f) != 0;
4217 ac_clean_files
="$ac_clean_files conftest.out"
4218 # Check that the compiler produces executables we can run. If not, either
4219 # the compiler is broken, or we cross compile.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4221 $as_echo_n "checking whether we are cross compiling... " >&6; }
4222 if test "$cross_compiling" != yes; then
4223 { { ac_try
="$ac_link"
4225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4229 $as_echo "$ac_try_echo"; } >&5
4230 (eval "$ac_link") 2>&5
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4234 if { ac_try='./conftest$ac_cv_exeext'
4235 { { case "(($ac_try" in
4236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4237 *) ac_try_echo
=$ac_try;;
4239 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4240 $as_echo "$ac_try_echo"; } >&5
4241 (eval "$ac_try") 2>&5
4243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 test $ac_status = 0; }; }; then
4247 if test "$cross_compiling" = maybe
; then
4250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4252 as_fn_error $?
"cannot run C compiled programs.
4253 If you meant to cross compile, use \`--host'.
4254 See \`config.log' for more details" "$LINENO" 5; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4259 $as_echo "$cross_compiling" >&6; }
4261 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4262 ac_clean_files
=$ac_clean_files_save
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4265 $as_echo_n "checking for suffix of object files... " >&6; }
4266 if ${ac_cv_objext+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4280 rm -f conftest.o conftest.obj
4281 if { { ac_try
="$ac_compile"
4283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_compile") 2>&5
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 for ac_file in conftest.o conftest.obj conftest.*; do
4293 test -f "$ac_file" || continue;
4295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4307 See \
`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4312 $as_echo "$ac_cv_objext" >&6; }
4313 OBJEXT=$ac_cv_objext
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4317 if ${ac_cv_c_compiler_gnu+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4334 if ac_fn_c_try_compile "$LINENO"; then :
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4350 ac_test_CFLAGS=${CFLAGS+set}
4351 ac_save_CFLAGS=$CFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4354 if ${ac_cv_prog_cc_g+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 ac_save_c_werror_flag=$ac_c_werror_flag
4358 ac_c_werror_flag=yes
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4372 if ac_fn_c_try_compile "$LINENO"; then :
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4387 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4403 if ac_fn_c_try_compile "$LINENO"; then :
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4414 $as_echo "$ac_cv_prog_cc_g" >&6; }
4415 if test "$ac_test_CFLAGS" = set; then
4416 CFLAGS=$ac_save_CFLAGS
4417 elif test $ac_cv_prog_cc_g = yes; then
4418 if test "$GCC" = yes; then
4424 if test "$GCC" = yes; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4432 if ${ac_cv_prog_cc_c89+:} false; then :
4433 $as_echo_n "(cached) " >&6
4435 ac_cv_prog_cc_c89=no
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4443 struct buf { int x; };
4444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4445 static char *e (p, i)
4451 static char *f (char * (*g) (char **, int), char **p, ...)
4456 s = g (p, va_arg (v,int));
4461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4462 function prototypes and stuff, but not '\xHH' hex character constants.
4463 These don't provoke an error unfortunately, instead are silently treated
4464 as 'x'. The following induces an error, until -std is added to get
4465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4466 array size at least. It's necessary to write '\x00'==0 to get something
4467 that's true only with -std. */
4468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4471 inside strings and character constants. */
4473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4475 int test (int i, double x);
4476 struct s1 {int (*f) (int a);};
4477 struct s2 {int (*f) (double a);};
4478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4492 CC="$ac_save_CC $ac_arg"
4493 if ac_fn_c_try_compile "$LINENO"; then :
4494 ac_cv_prog_cc_c89=$ac_arg
4496 rm -f core conftest.err conftest.$ac_objext
4497 test "x$ac_cv_prog_cc_c89" != "xno" && break
4499 rm -f conftest.$ac_ext
4504 case "x$ac_cv_prog_cc_c89" in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4507 $as_echo "none needed" >&6; } ;;
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4510 $as_echo "unsupported" >&6; } ;;
4512 CC="$CC $ac_cv_prog_cc_c89"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4516 if test "x$ac_cv_prog_cc_c89" != xno; then :
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4527 ac_cpp='$CPP $CPPFLAGS'
4528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4532 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4533 if ${am_cv_prog_cc_c_o+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4547 # Make sure it works both with $CC and with simple cc.
4548 # Following AC_PROG_CC_C_O, we do the test twice because some
4549 # compilers refuse to overwrite an existing .o file with -o,
4550 # though they will create one.
4551 am_cv_prog_cc_c_o=yes
4553 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4554 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } \
4558 && test -f conftest2.$ac_objext; then
4561 am_cv_prog_cc_c_o=no
4565 rm -f core conftest*
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4569 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4570 if test "$am_cv_prog_cc_c_o" != yes; then
4571 # Losing compiler, so override with the script.
4572 # FIXME: It is wrong to rewrite CC.
4573 # But if we don't then we get into trouble of one sort or another.
4574 # A longer-term fix would be to have automake use am__CC in this case,
4575 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4576 CC="$am_aux_dir/compile $CC"
4579 ac_cpp='$CPP $CPPFLAGS'
4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4585 depcc="$CC" am_compiler_list=
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4588 $as_echo_n "checking dependency style of $depcc... " >&6; }
4589 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4593 # We make a subdir and do the tests there. Otherwise we can end up
4594 # making bogus files that we don't know about and never remove. For
4595 # instance it was reported that on HP-UX the gcc test will end up
4596 # making a dummy file named 'D' -- because '-MD' means "put the output
4600 # Copy depcomp to subdir because otherwise we won't find it if we're
4601 # using a relative directory.
4602 cp "$am_depcomp" conftest.dir
4604 # We will build objects and dependencies in a subdirectory because
4605 # it helps to detect inapplicable dependency modes. For instance
4606 # both Tru64's cc and ICC support -MD to output dependencies as a
4607 # side effect of compilation, but ICC will put the dependencies in
4608 # the current directory while Tru64 will put them in the object
4612 am_cv_CC_dependencies_compiler_type=none
4613 if test "$am_compiler_list" = ""; then
4614 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4617 case " $depcc " in #(
4618 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4621 for depmode in $am_compiler_list; do
4622 # Setup a source with many dependencies, because some compilers
4623 # like to wrap large dependency lists on column 80 (with \), and
4624 # we should not choose a depcomp mode which is confused by this.
4626 # We need to recreate these files for each test, as the compiler may
4627 # overwrite some of them when testing with obscure command lines.
4628 # This happens at least with the AIX C compiler.
4630 for i in 1 2 3 4 5 6; do
4631 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4632 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4633 # Solaris 10 /bin/sh.
4634 echo '/* dummy */' > sub/conftst$i.h
4636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4638 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4639 # mode. It turns out that the SunPro C++ compiler does not properly
4640 # handle '-M -o', and we need to detect this. Also, some Intel
4641 # versions had trouble with output in subdirs.
4642 am__obj=sub/conftest.${OBJEXT-o}
4643 am__minus_obj="-o $am__obj"
4646 # This depmode causes a compiler race in universal mode.
4647 test "$am__universal" = false || continue
4650 # After this tag, mechanisms are not by side-effect, so they'll
4651 # only be used when explicitly requested.
4652 if test "x$enable_dependency_tracking" = xyes; then
4658 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4659 # This compiler won't grok '-c -o', but also, the minuso test has
4660 # not run yet. These depmodes are late enough in the game, and
4661 # so weak that their functioning should not be impacted.
4662 am__obj=conftest.${OBJEXT-o}
4667 if depmode=$depmode \
4668 source=sub/conftest.c object=$am__obj \
4669 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4670 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4671 >/dev/null 2>conftest.err &&
4672 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4673 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4674 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4675 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4676 # icc doesn't choke on unknown options, it will just issue warnings
4677 # or remarks (even with -Werror). So we grep stderr for any message
4678 # that says an option was ignored or not supported.
4679 # When given -MP, icc 7.0 and 7.1 complain thusly:
4680 # icc: Command line warning: ignoring option '-M'; no argument required
4681 # The diagnosis changed in icc 8.0:
4682 # icc: Command line remark: option '-MP' not supported
4683 if (grep 'ignoring option' conftest.err ||
4684 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4685 am_cv_CC_dependencies_compiler_type=$depmode
4694 am_cv_CC_dependencies_compiler_type=none
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4699 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4700 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4703 test "x$enable_dependency_tracking" != xno \
4704 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4706 am__fastdepCC_FALSE='#'
4708 am__fastdepCC_TRUE='#'
4709 am__fastdepCC_FALSE=
4715 ac_cpp='$CPP $CPPFLAGS'
4716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4720 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4721 # On Suns, sometimes $CPP names a directory.
4722 if test -n "$CPP" && test -d "$CPP"; then
4725 if test -z "$CPP"; then
4726 if ${ac_cv_prog_CPP+:} false; then :
4727 $as_echo_n "(cached) " >&6
4729 # Double quotes because CPP needs to be expanded
4730 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4733 for ac_c_preproc_warn_flag in '' yes
4735 # Use a header file that comes with gcc, so configuring glibc
4736 # with a fresh cross-compiler works.
4737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4738 # <limits.h> exists even on freestanding compilers.
4739 # On the NeXT, cc -E runs the code through the compiler's parser,
4740 # not just through cpp. "Syntax error" is here to catch this case.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4744 # include <limits.h>
4746 # include <assert.h>
4750 if ac_fn_c_try_cpp "$LINENO"; then :
4753 # Broken: fails on valid input.
4756 rm -f conftest.err conftest.i conftest.$ac_ext
4758 # OK, works on sane cases. Now check whether nonexistent headers
4759 # can be detected and how.
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <ac_nonexistent.h>
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4765 # Broken: success on invalid input.
4768 # Passes both tests.
4772 rm -f conftest.err conftest.i conftest.$ac_ext
4775 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4776 rm -f conftest.i conftest.err conftest.
$ac_ext
4777 if $ac_preproc_ok; then :
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4790 $as_echo "$CPP" >&6; }
4792 for ac_c_preproc_warn_flag
in '' yes
4794 # Use a header file that comes with gcc, so configuring glibc
4795 # with a fresh cross-compiler works.
4796 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 # <limits.h> exists even on freestanding compilers.
4798 # On the NeXT, cc -E runs the code through the compiler's parser,
4799 # not just through cpp. "Syntax error" is here to catch this case.
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4803 # include <limits.h>
4805 # include <assert.h>
4809 if ac_fn_c_try_cpp
"$LINENO"; then :
4812 # Broken: fails on valid input.
4815 rm -f conftest.err conftest.i conftest.
$ac_ext
4817 # OK, works on sane cases. Now check whether nonexistent headers
4818 # can be detected and how.
4819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 #include <ac_nonexistent.h>
4823 if ac_fn_c_try_cpp
"$LINENO"; then :
4824 # Broken: success on invalid input.
4827 # Passes both tests.
4831 rm -f conftest.err conftest.i conftest.
$ac_ext
4834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4835 rm -f conftest.i conftest.err conftest.
$ac_ext
4836 if $ac_preproc_ok; then :
4839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4842 See \`config.log' for more details" "$LINENO" 5; }
4846 ac_cpp
='$CPP $CPPFLAGS'
4847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4853 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4854 if ${ac_cv_path_GREP+:} false
; then :
4855 $as_echo_n "(cached) " >&6
4857 if test -z "$GREP"; then
4858 ac_path_GREP_found
=false
4859 # Loop through the user's path and test for each of PROGNAME-LIST
4860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4861 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4864 test -z "$as_dir" && as_dir
=.
4865 for ac_prog
in grep ggrep
; do
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4868 as_fn_executable_p
"$ac_path_GREP" ||
continue
4869 # Check for GNU ac_path_GREP and select it if it is found.
4870 # Check for GNU $ac_path_GREP
4871 case `"$ac_path_GREP" --version 2>&1` in
4873 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4876 $as_echo_n 0123456789 >"conftest.in"
4879 cat "conftest.in" "conftest.in" >"conftest.tmp"
4880 mv "conftest.tmp" "conftest.in"
4881 cp "conftest.in" "conftest.nl"
4882 $as_echo 'GREP' >> "conftest.nl"
4883 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4884 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4885 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4886 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4887 # Best one so far, save it but keep looking for a better one
4888 ac_cv_path_GREP
="$ac_path_GREP"
4889 ac_path_GREP_max
=$ac_count
4891 # 10*(2^10) chars as input seems more than enough
4892 test $ac_count -gt 10 && break
4894 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4897 $ac_path_GREP_found && break 3
4902 if test -z "$ac_cv_path_GREP"; then
4903 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4906 ac_cv_path_GREP
=$GREP
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4911 $as_echo "$ac_cv_path_GREP" >&6; }
4912 GREP
="$ac_cv_path_GREP"
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4916 $as_echo_n "checking for egrep... " >&6; }
4917 if ${ac_cv_path_EGREP+:} false
; then :
4918 $as_echo_n "(cached) " >&6
4920 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4921 then ac_cv_path_EGREP
="$GREP -E"
4923 if test -z "$EGREP"; then
4924 ac_path_EGREP_found
=false
4925 # Loop through the user's path and test for each of PROGNAME-LIST
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_prog
in egrep; do
4932 for ac_exec_ext
in '' $ac_executable_extensions; do
4933 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4934 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4935 # Check for GNU ac_path_EGREP and select it if it is found.
4936 # Check for GNU $ac_path_EGREP
4937 case `"$ac_path_EGREP" --version 2>&1` in
4939 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4942 $as_echo_n 0123456789 >"conftest.in"
4945 cat "conftest.in" "conftest.in" >"conftest.tmp"
4946 mv "conftest.tmp" "conftest.in"
4947 cp "conftest.in" "conftest.nl"
4948 $as_echo 'EGREP' >> "conftest.nl"
4949 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4950 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4951 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4952 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4953 # Best one so far, save it but keep looking for a better one
4954 ac_cv_path_EGREP
="$ac_path_EGREP"
4955 ac_path_EGREP_max
=$ac_count
4957 # 10*(2^10) chars as input seems more than enough
4958 test $ac_count -gt 10 && break
4960 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4963 $ac_path_EGREP_found && break 3
4968 if test -z "$ac_cv_path_EGREP"; then
4969 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4972 ac_cv_path_EGREP
=$EGREP
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4978 $as_echo "$ac_cv_path_EGREP" >&6; }
4979 EGREP
="$ac_cv_path_EGREP"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4983 $as_echo_n "checking for ANSI C header files... " >&6; }
4984 if ${ac_cv_header_stdc+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
5002 if ac_fn_c_try_compile
"$LINENO"; then :
5003 ac_cv_header_stdc
=yes
5005 ac_cv_header_stdc
=no
5007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5009 if test $ac_cv_header_stdc = yes; then
5010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5017 $EGREP "memchr" >/dev
/null
2>&1; then :
5020 ac_cv_header_stdc
=no
5026 if test $ac_cv_header_stdc = yes; then
5027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5034 $EGREP "free" >/dev
/null
2>&1; then :
5037 ac_cv_header_stdc
=no
5043 if test $ac_cv_header_stdc = yes; then
5044 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5045 if test "$cross_compiling" = yes; then :
5048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5052 #if ((' ' & 0x0FF) == 0x020)
5053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5056 # define ISLOWER(c) \
5057 (('a' <= (c) && (c) <= 'i') \
5058 || ('j' <= (c) && (c) <= 'r') \
5059 || ('s' <= (c) && (c) <= 'z'))
5060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5068 for (i = 0; i < 256; i++)
5069 if (XOR (islower (i), ISLOWER (i))
5070 || toupper (i) != TOUPPER (i))
5075 if ac_fn_c_try_run
"$LINENO"; then :
5078 ac_cv_header_stdc
=no
5080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5081 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5087 $as_echo "$ac_cv_header_stdc" >&6; }
5088 if test $ac_cv_header_stdc = yes; then
5090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5095 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5096 inttypes.h stdint.h unistd.h
5098 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5099 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5101 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5102 cat >>confdefs.h
<<_ACEOF
5103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5112 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5113 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5120 if test "$MINIX" = yes; then
5122 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5125 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5128 $as_echo "#define _MINIX 1" >>confdefs.h
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5134 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5135 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5141 # define __EXTENSIONS__ 1
5142 $ac_includes_default
5151 if ac_fn_c_try_compile
"$LINENO"; then :
5152 ac_cv_safe_to_define___extensions__
=yes
5154 ac_cv_safe_to_define___extensions__
=no
5156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5159 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5160 test $ac_cv_safe_to_define___extensions__ = yes &&
5161 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5163 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5165 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5167 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5169 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5173 # Calculate toolexeclibdir
5174 # Also toolexecdir, though it's only used in toolexeclibdir
5175 case ${version_specific_libs} in
5177 # Need the gcc compiler version to know where to install libraries
5178 # and header files if --enable-version-specific-runtime-libs option
5180 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5181 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5184 if test -n "$with_cross_host" &&
5185 test x
"$with_cross_host" != x
"no"; then
5186 # Install a library built with a cross compiler in tooldir, not libdir.
5187 toolexecdir
='$(exec_prefix)/$(target_alias)'
5188 toolexeclibdir
='$(toolexecdir)/lib'
5190 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5191 toolexeclibdir
='$(libdir)'
5193 multi_os_directory
=`$CC -print-multi-os-directory`
5194 case $multi_os_directory in
5195 .
) ;; # Avoid trailing /.
5196 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5203 # Create a spec file, so that compile/link tests don't fail
5204 test -f libgfortran.spec ||
touch libgfortran.spec
5207 ac_cpp
='$CPP $CPPFLAGS'
5208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5212 # Check the compiler.
5213 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5214 # We must force CC to /not/ be precious variables; otherwise
5215 # the wrong, non-multilib-adjusted value will be used in multilibs.
5216 # As a side effect, we have to subst CFLAGS ourselves.
5221 ac_cpp
='$CPP $CPPFLAGS'
5222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5225 if test -n "$ac_tool_prefix"; then
5226 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5227 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_CC+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$CC"; then
5234 ac_cv_prog_CC
="$CC" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 if test -n "$CC"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5256 $as_echo "$CC" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5264 if test -z "$ac_cv_prog_CC"; then
5266 # Extract the first word of "gcc", so it can be a program name with args.
5267 set dummy gcc
; ac_word
=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5271 $as_echo_n "(cached) " >&6
5273 if test -n "$ac_ct_CC"; then
5274 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_prog_ac_ct_CC
="gcc"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5294 if test -n "$ac_ct_CC"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5296 $as_echo "$ac_ct_CC" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5302 if test "x$ac_ct_CC" = x
; then
5305 case $cross_compiling:$ac_tool_warned in
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309 ac_tool_warned
=yes ;;
5317 if test -z "$CC"; then
5318 if test -n "$ac_tool_prefix"; then
5319 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5320 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_CC+:} false
; then :
5324 $as_echo_n "(cached) " >&6
5326 if test -n "$CC"; then
5327 ac_cv_prog_CC
="$CC" # Let the user override the test.
5329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir
=.
5334 for ac_exec_ext
in '' $ac_executable_extensions; do
5335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 if test -n "$CC"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5349 $as_echo "$CC" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5358 if test -z "$CC"; then
5359 # Extract the first word of "cc", so it can be a program name with args.
5360 set dummy cc
; ac_word
=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_CC+:} false
; then :
5364 $as_echo_n "(cached) " >&6
5366 if test -n "$CC"; then
5367 ac_cv_prog_CC
="$CC" # Let the user override the test.
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5377 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5378 ac_prog_rejected
=yes
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 if test $ac_prog_rejected = yes; then
5390 # We found a bogon in the path, so make sure we never use it.
5391 set dummy
$ac_cv_prog_CC
5393 if test $# != 0; then
5394 # We chose a different compiler from the bogus one.
5395 # However, it has the same basename, so the bogon will be chosen
5396 # first if we set CC to just the basename; use the full file name.
5398 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5404 if test -n "$CC"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5406 $as_echo "$CC" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5414 if test -z "$CC"; then
5415 if test -n "$ac_tool_prefix"; then
5416 for ac_prog
in cl.exe
5418 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5419 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_CC+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$CC"; then
5426 ac_cv_prog_CC
="$CC" # Let the user override the test.
5428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir
=.
5433 for ac_exec_ext
in '' $ac_executable_extensions; do
5434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 if test -n "$CC"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5448 $as_echo "$CC" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 test -n "$CC" && break
5458 if test -z "$CC"; then
5460 for ac_prog
in cl.exe
5462 # Extract the first word of "$ac_prog", so it can be a program name with args.
5463 set dummy
$ac_prog; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$ac_ct_CC"; then
5470 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_ac_ct_CC
="$ac_prog"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5490 if test -n "$ac_ct_CC"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5492 $as_echo "$ac_ct_CC" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5499 test -n "$ac_ct_CC" && break
5502 if test "x$ac_ct_CC" = x
; then
5505 case $cross_compiling:$ac_tool_warned in
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned
=yes ;;
5518 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5520 as_fn_error $?
"no acceptable C compiler found in \$PATH
5521 See \`config.log' for more details" "$LINENO" 5; }
5523 # Provide some information about the compiler.
5524 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5527 for ac_option
in --version -v -V -qversion; do
5528 { { ac_try
="$ac_compiler $ac_option >&5"
5530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5534 $as_echo "$ac_try_echo"; } >&5
5535 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5537 if test -s conftest.err; then
5539 ... rest of stderr output deleted ...
5540 10q' conftest.err >conftest.er1
5541 cat conftest.er1 >&5
5543 rm -f conftest.er1 conftest.err
5544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5545 test $ac_status = 0; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5550 if ${ac_cv_c_compiler_gnu+:} false; then :
5551 $as_echo_n "(cached) " >&6
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5567 if ac_fn_c_try_compile "$LINENO"; then :
5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5578 if test $ac_compiler_gnu = yes; then
5583 ac_test_CFLAGS=${CFLAGS+set}
5584 ac_save_CFLAGS=$CFLAGS
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5587 if ${ac_cv_prog_cc_g+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 ac_save_c_werror_flag=$ac_c_werror_flag
5591 ac_c_werror_flag=yes
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5605 if ac_fn_c_try_compile "$LINENO"; then :
5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5620 if ac_fn_c_try_compile "$LINENO"; then :
5623 ac_c_werror_flag=$ac_save_c_werror_flag
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5636 if ac_fn_c_try_compile "$LINENO"; then :
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 ac_c_werror_flag=$ac_save_c_werror_flag
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5647 $as_echo "$ac_cv_prog_cc_g" >&6; }
5648 if test "$ac_test_CFLAGS" = set; then
5649 CFLAGS=$ac_save_CFLAGS
5650 elif test $ac_cv_prog_cc_g = yes; then
5651 if test "$GCC" = yes; then
5657 if test "$GCC" = yes; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5665 if ${ac_cv_prog_cc_c89+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 ac_cv_prog_cc_c89=no
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5676 struct buf { int x; };
5677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5678 static char *e (p, i)
5684 static char *f (char * (*g) (char **, int), char **p, ...)
5689 s = g (p, va_arg (v,int));
5694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5695 function prototypes and stuff, but not '\xHH' hex character constants.
5696 These don't provoke an error unfortunately, instead are silently treated
5697 as 'x'. The following induces an error, until -std is added to get
5698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5699 array size at least. It's necessary to write '\x00'==0 to get something
5700 that's true only with -std. */
5701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5704 inside strings and character constants. */
5706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5708 int test (int i, double x);
5709 struct s1 {int (*f) (int a);};
5710 struct s2 {int (*f) (double a);};
5711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5725 CC="$ac_save_CC $ac_arg"
5726 if ac_fn_c_try_compile "$LINENO"; then :
5727 ac_cv_prog_cc_c89=$ac_arg
5729 rm -f core conftest.err conftest.$ac_objext
5730 test "x$ac_cv_prog_cc_c89" != "xno" && break
5732 rm -f conftest.$ac_ext
5737 case "x$ac_cv_prog_cc_c89" in
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5740 $as_echo "none needed" >&6; } ;;
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5743 $as_echo "unsupported" >&6; } ;;
5745 CC="$CC $ac_cv_prog_cc_c89"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5749 if test "x$ac_cv_prog_cc_c89" != xno; then :
5754 ac_cpp='$CPP $CPPFLAGS'
5755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5760 ac_cpp='$CPP $CPPFLAGS'
5761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5766 if ${am_cv_prog_cc_c_o+:} false; then :
5767 $as_echo_n "(cached) " >&6
5769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5780 # Make sure it works both with $CC and with simple cc.
5781 # Following AC_PROG_CC_C_O, we do the test twice because some
5782 # compilers refuse to overwrite an existing .o file with -o,
5783 # though they will create one.
5784 am_cv_prog_cc_c_o=yes
5786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } \
5791 && test -f conftest2.$ac_objext; then
5794 am_cv_prog_cc_c_o=no
5798 rm -f core conftest*
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5803 if test "$am_cv_prog_cc_c_o" != yes; then
5804 # Losing compiler, so override with the script.
5805 # FIXME: It is wrong to rewrite CC.
5806 # But if we don't then we get into trouble of one sort or another.
5807 # A longer-term fix would be to have automake use am__CC in this case,
5808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5809 CC="$am_aux_dir/compile $CC"
5812 ac_cpp='$CPP $CPPFLAGS'
5813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5818 depcc="$CC" am_compiler_list=
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5821 $as_echo_n "checking dependency style of $depcc... " >&6; }
5822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5826 # We make a subdir and do the tests there. Otherwise we can end up
5827 # making bogus files that we don't know about and never remove. For
5828 # instance it was reported that on HP-UX the gcc test will end up
5829 # making a dummy file named 'D' -- because '-MD' means "put the output
5833 # Copy depcomp to subdir because otherwise we won't find it if we're
5834 # using a relative directory.
5835 cp "$am_depcomp" conftest.dir
5837 # We will build objects and dependencies in a subdirectory because
5838 # it helps to detect inapplicable dependency modes. For instance
5839 # both Tru64's cc and ICC support -MD to output dependencies as a
5840 # side effect of compilation, but ICC will put the dependencies in
5841 # the current directory while Tru64 will put them in the object
5845 am_cv_CC_dependencies_compiler_type=none
5846 if test "$am_compiler_list" = ""; then
5847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5850 case " $depcc " in #(
5851 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5854 for depmode in $am_compiler_list; do
5855 # Setup a source with many dependencies, because some compilers
5856 # like to wrap large dependency lists on column 80 (with \), and
5857 # we should not choose a depcomp mode which is confused by this.
5859 # We need to recreate these files for each test, as the compiler may
5860 # overwrite some of them when testing with obscure command lines.
5861 # This happens at least with the AIX C compiler.
5863 for i in 1 2 3 4 5 6; do
5864 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5865 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5866 # Solaris 10 /bin/sh.
5867 echo '/* dummy */' > sub/conftst$i.h
5869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5871 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5872 # mode. It turns out that the SunPro C++ compiler does not properly
5873 # handle '-M -o', and we need to detect this. Also, some Intel
5874 # versions had trouble with output in subdirs.
5875 am__obj=sub/conftest.${OBJEXT-o}
5876 am__minus_obj="-o $am__obj"
5879 # This depmode causes a compiler race in universal mode.
5880 test "$am__universal" = false || continue
5883 # After this tag, mechanisms are not by side-effect, so they'll
5884 # only be used when explicitly requested.
5885 if test "x$enable_dependency_tracking" = xyes; then
5891 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5892 # This compiler won't grok '-c -o', but also, the minuso test has
5893 # not run yet. These depmodes are late enough in the game, and
5894 # so weak that their functioning should not be impacted.
5895 am__obj=conftest.${OBJEXT-o}
5900 if depmode=$depmode \
5901 source=sub/conftest.c object=$am__obj \
5902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5904 >/dev/null 2>conftest.err &&
5905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5909 # icc doesn't choke on unknown options, it will just issue warnings
5910 # or remarks (even with -Werror). So we grep stderr for any message
5911 # that says an option was ignored or not supported.
5912 # When given -MP, icc 7.0 and 7.1 complain thusly:
5913 # icc: Command line warning: ignoring option '-M'; no argument required
5914 # The diagnosis changed in icc 8.0:
5915 # icc: Command line remark: option '-MP' not supported
5916 if (grep 'ignoring option' conftest.err ||
5917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5918 am_cv_CC_dependencies_compiler_type=$depmode
5927 am_cv_CC_dependencies_compiler_type=none
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5932 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5933 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5936 test "x$enable_dependency_tracking" != xno \
5937 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5939 am__fastdepCC_FALSE='#'
5941 am__fastdepCC_TRUE='#'
5942 am__fastdepCC_FALSE=
5952 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5953 if test "x$GCC" = "xyes"; then
5954 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5955 ## We like to use C11 and C99 routines when available. This makes
5957 ## __STDC_VERSION__ is set such that libc includes make them available.
5958 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5959 ## Compile the following tests with the same system header contents
5960 ## that we'll encounter when compiling our own source files.
5961 CFLAGS="-std=gnu11 $CFLAGS"
5964 # Add CET specific flags if CET is enabled
5965 # Check whether --enable-cet was given.
5966 if test "${enable_cet+set}" = set; then :
5967 enableval=$enable_cet;
5968 case "$enableval" in
5970 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5979 $as_echo_n "checking for CET support... " >&6; }
5982 i[34567]86-*-linux* | x86_64-*-linux*)
5983 case "$enable_cet" in
5985 # Check if target supports multi-byte NOPs
5986 # and if assembler supports CET insn.
5987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5994 #if !defined(__SSE2__)
5995 #error target does not support multi-byte NOPs
6004 if ac_fn_c_try_compile "$LINENO"; then :
6009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012 # Check if assembler supports CET.
6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */
6024 if ac_fn_c_try_compile "$LINENO"; then :
6027 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6037 if test x$enable_cet = xyes; then
6038 CET_FLAGS="-fcf-protection -mshstk"
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6040 $as_echo "yes" >&6; }
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6046 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6047 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6048 CFLAGS="$CFLAGS $CET_FLAGS"
6054 # Check for symbol versioning (copied from libssp).
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6056 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6057 # Check whether --enable-symvers was given.
6058 if test "${enable_symvers+set}" = set; then :
6059 enableval=$enable_symvers; gfortran_use_symver=$enableval
6061 gfortran_use_symver=yes
6064 if test "x$gfortran_use_symver" != xno; then
6065 save_LDFLAGS="$LDFLAGS"
6066 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6067 cat > conftest.map <<EOF
6069 global: *foo*; bar; local: *;
6072 if test x$gcc_no_link = xyes; then
6073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 /* end confdefs.h. */
6086 if ac_fn_c_try_link "$LINENO"; then :
6087 gfortran_use_symver=gnu
6089 gfortran_use_symver=no
6091 rm -f core conftest.err conftest.$ac_objext \
6092 conftest$ac_exeext conftest.$ac_ext
6093 if test x$gfortran_use_symver = xno; then
6094 case "$target_os" in
6096 LDFLAGS="$save_LDFLAGS"
6097 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6098 # Sun ld cannot handle wildcards and treats all entries as undefined.
6099 cat > conftest.map <<EOF
6101 global: foo; local: *;
6104 if test x$gcc_no_link = xyes; then
6105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6118 if ac_fn_c_try_link "$LINENO"; then :
6119 gfortran_use_symver=sun
6121 gfortran_use_symver=no
6123 rm -f core conftest.err conftest.$ac_objext \
6124 conftest$ac_exeext conftest.$ac_ext
6128 LDFLAGS="$save_LDFLAGS"
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6131 $as_echo "$gfortran_use_symver" >&6; }
6132 if test "x$gfortran_use_symver" != xno; then
6133 LIBGFOR_USE_SYMVER_TRUE=
6134 LIBGFOR_USE_SYMVER_FALSE='#'
6136 LIBGFOR_USE_SYMVER_TRUE='#'
6137 LIBGFOR_USE_SYMVER_FALSE=
6140 if test "x$gfortran_use_symver" = xgnu; then
6141 LIBGFOR_USE_SYMVER_GNU_TRUE=
6142 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6144 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6145 LIBGFOR_USE_SYMVER_GNU_FALSE=
6148 if test "x$gfortran_use_symver" = xsun; then
6149 LIBGFOR_USE_SYMVER_SUN_TRUE=
6150 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6152 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6153 LIBGFOR_USE_SYMVER_SUN_FALSE=
6157 # For GPU offloading, not everything in libfortran can be supported.
6158 # Currently, the only target that has this problem is nvptx. The
6159 # following is a (partial) list of features that are unsupportable on
6160 # this particular target:
6163 # * C library support for I/O, with printf as the one notable exception
6164 # * C library support for other features such as signal, environment
6165 # variables, time functions
6167 if test "x${target_cpu}" = xnvptx \
6168 || test "x${target_cpu}" = xamdgcn; then
6169 LIBGFOR_MINIMAL_TRUE=
6170 LIBGFOR_MINIMAL_FALSE='#'
6172 LIBGFOR_MINIMAL_TRUE='#'
6173 LIBGFOR_MINIMAL_FALSE=
6177 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6178 # similarly to how libstdc++ does it
6179 ac_test_CFLAGS="${CFLAGS+set}"
6180 ac_save_CFLAGS="$CFLAGS"
6182 # Check for -ffunction-sections -fdata-sections
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6184 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6185 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6197 if ac_fn_c_try_compile "$LINENO"; then :
6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6203 if test "$ac_test_CFLAGS" = set; then
6204 CFLAGS="$ac_save_CFLAGS"
6206 # this is the suspicious part
6209 if test x"$ac_fdsections" = x"yes"; then
6210 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6213 $as_echo "$ac_fdsections" >&6; }
6216 # Check linker hardware capability support.
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6218 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6219 if ${ac_cv_path_SED+:} false; then :
6220 $as_echo_n "(cached) " >&6
6222 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6223 for ac_i in 1 2 3 4 5 6 7; do
6224 ac_script="$ac_script$as_nl$ac_script"
6226 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6227 { ac_script=; unset ac_script;}
6228 if test -z "$SED"; then
6229 ac_path_SED_found=false
6230 # Loop through the user's path and test for each of PROGNAME-LIST
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir=.
6236 for ac_prog in sed gsed; do
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6239 as_fn_executable_p "$ac_path_SED" || continue
6240 # Check for GNU ac_path_SED and select it if it is found.
6241 # Check for GNU $ac_path_SED
6242 case `"$ac_path_SED" --version 2>&1` in
6244 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6247 $as_echo_n 0123456789 >"conftest.in"
6250 cat "conftest.in" "conftest.in" >"conftest.tmp"
6251 mv "conftest.tmp" "conftest.in"
6252 cp "conftest.in" "conftest.nl"
6253 $as_echo '' >> "conftest.nl"
6254 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6255 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6256 as_fn_arith $ac_count + 1 && ac_count=$as_val
6257 if test $ac_count -gt ${ac_path_SED_max-0}; then
6258 # Best one so far, save it but keep looking for a better one
6259 ac_cv_path_SED="$ac_path_SED"
6260 ac_path_SED_max=$ac_count
6262 # 10*(2^10) chars as input seems more than enough
6263 test $ac_count -gt 10 && break
6265 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6268 $ac_path_SED_found && break 3
6273 if test -z "$ac_cv_path_SED"; then
6274 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6282 $as_echo "$ac_cv_path_SED" >&6; }
6283 SED="$ac_cv_path_SED"
6286 test -z "$SED" && SED=sed
6287 Xsed="$SED -e 1s/^X//"
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6300 $as_echo_n "checking for fgrep... " >&6; }
6301 if ${ac_cv_path_FGREP+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6305 then ac_cv_path_FGREP="$GREP -F"
6307 if test -z "$FGREP"; then
6308 ac_path_FGREP_found=false
6309 # Loop through the user's path and test for each of PROGNAME-LIST
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6314 test -z "$as_dir" && as_dir=.
6315 for ac_prog in fgrep; do
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6318 as_fn_executable_p "$ac_path_FGREP" || continue
6319 # Check for GNU ac_path_FGREP and select it if it is found.
6320 # Check for GNU $ac_path_FGREP
6321 case `"$ac_path_FGREP" --version 2>&1` in
6323 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6326 $as_echo_n 0123456789 >"conftest.in"
6329 cat "conftest.in" "conftest.in" >"conftest.tmp"
6330 mv "conftest.tmp" "conftest.in"
6331 cp "conftest.in" "conftest.nl"
6332 $as_echo 'FGREP' >> "conftest.nl"
6333 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6335 as_fn_arith $ac_count + 1 && ac_count=$as_val
6336 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6337 # Best one so far, save it but keep looking for a better one
6338 ac_cv_path_FGREP="$ac_path_FGREP"
6339 ac_path_FGREP_max=$ac_count
6341 # 10*(2^10) chars as input seems more than enough
6342 test $ac_count -gt 10 && break
6344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6347 $ac_path_FGREP_found && break 3
6352 if test -z "$ac_cv_path_FGREP"; then
6353 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6356 ac_cv_path_FGREP=$FGREP
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6362 $as_echo "$ac_cv_path_FGREP" >&6; }
6363 FGREP="$ac_cv_path_FGREP"
6366 test -z "$GREP" && GREP=grep
6384 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6385 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6386 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6389 $as_echo_n "checking how to print strings... " >&6; }
6390 # Test print first, because it will be a builtin if present.
6391 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6392 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6394 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6397 # Use this function as a fallback that always works.
6398 func_fallback_echo ()
6400 eval 'cat <<_LTECHO_EOF
6404 ECHO='func_fallback_echo'
6407 # func_echo_all arg...
6408 # Invoke $ECHO with all args, space-separated.
6415 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6416 $as_echo "printf" >&6; } ;;
6417 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6418 $as_echo "print -r" >&6; } ;;
6419 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6420 $as_echo "cat" >&6; } ;;
6438 # Check whether --with-gnu-ld was given.
6439 if test "${with_gnu_ld+set}" = set; then :
6440 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6446 if test "$GCC" = yes; then
6447 # Check if gcc -print-prog-name=ld gives a path.
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6449 $as_echo_n "checking for ld used by $CC... " >&6; }
6452 # gcc leaves a trailing carriage return which upsets mingw
6453 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6455 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6458 # Accept absolute paths.
6460 re_direlt='/[^/][^/]*/\.\./'
6461 # Canonicalize the pathname of ld
6462 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6463 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6464 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6466 test -z "$LD" && LD="$ac_prog"
6469 # If it fails, then pretend we aren't using GCC.
6473 # If it is relative, then search for the first ld in PATH.
6477 elif test "$with_gnu_ld" = yes; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6479 $as_echo_n "checking for GNU ld... " >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6482 $as_echo_n "checking for non-GNU ld... " >&6; }
6484 if ${lt_cv_path_LD+:} false; then :
6485 $as_echo_n "(cached) " >&6
6487 if test -z "$LD"; then
6488 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6489 for ac_dir in $PATH; do
6491 test -z "$ac_dir" && ac_dir=.
6492 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6493 lt_cv_path_LD="$ac_dir/$ac_prog"
6494 # Check to see if the program is GNU ld. I'd rather use --version,
6495 # but apparently some variants of GNU ld only accept -v.
6496 # Break only if it was the GNU/non-GNU ld that we prefer.
6497 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6498 *GNU* | *'with BFD'*)
6499 test "$with_gnu_ld" != no && break
6502 test "$with_gnu_ld" != yes && break
6509 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6514 if test -n "$LD"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6516 $as_echo "$LD" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6521 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6523 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6524 if ${lt_cv_prog_gnu_ld+:} false; then :
6525 $as_echo_n "(cached) " >&6
6527 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6528 case `$LD -v 2>&1 </dev
/null
` in
6529 *GNU* | *'with BFD'*)
6530 lt_cv_prog_gnu_ld=yes
6533 lt_cv_prog_gnu_ld=no
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6538 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6539 with_gnu_ld=$lt_cv_prog_gnu_ld
6550 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6553 ac_save_LDFLAGS="$LDFLAGS"
6554 LDFLAGS="$LFLAGS -mclear-hwcap"
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6557 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6558 if test x$gcc_no_link = xyes; then
6559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6572 if ac_fn_c_try_link "$LINENO"; then :
6573 ac_hwcap_ldflags=yes
6577 rm -f core conftest.err conftest.$ac_objext \
6578 conftest$ac_exeext conftest.$ac_ext
6579 if test "$ac_hwcap_ldflags" = "yes"; then
6580 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6583 $as_echo "$ac_hwcap_ldflags" >&6; }
6585 LDFLAGS="$ac_save_LDFLAGS"
6589 if test $ac_hwcap_ldflags != no; then
6591 HAVE_HWCAP_FALSE='#'
6599 # Find other programs we need.
6600 if test -n "$ac_tool_prefix"; then
6601 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6602 set dummy ${ac_tool_prefix}as; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if ${ac_cv_prog_AS+:} false; then :
6606 $as_echo_n "(cached) " >&6
6608 if test -n "$AS"; then
6609 ac_cv_prog_AS="$AS" # Let the user override the test.
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_AS="${ac_tool_prefix}as"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 if test -n "$AS"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6631 $as_echo "$AS" >&6; }
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6639 if test -z "$ac_cv_prog_AS"; then
6641 # Extract the first word of "as", so it can be a program name with args.
6642 set dummy as; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6646 $as_echo_n "(cached) " >&6
6648 if test -n "$ac_ct_AS"; then
6649 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_ac_ct_AS="as"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6669 if test -n "$ac_ct_AS"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6671 $as_echo "$ac_ct_AS" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6677 if test "x$ac_ct_AS" = x; then
6680 case $cross_compiling:$ac_tool_warned in
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6684 ac_tool_warned=yes ;;
6692 if test -n "$ac_tool_prefix"; then
6693 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6694 set dummy ${ac_tool_prefix}ar; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_AR+:} false; then :
6698 $as_echo_n "(cached) " >&6
6700 if test -n "$AR"; then
6701 ac_cv_prog_AR="$AR" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_AR="${ac_tool_prefix}ar"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 if test -n "$AR"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6723 $as_echo "$AR" >&6; }
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6731 if test -z "$ac_cv_prog_AR"; then
6733 # Extract the first word of "ar", so it can be a program name with args.
6734 set dummy ar; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 $as_echo_n "checking for $ac_word... " >&6; }
6737 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6738 $as_echo_n "(cached) " >&6
6740 if test -n "$ac_ct_AR"; then
6741 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_ac_ct_AR="ar"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6761 if test -n "$ac_ct_AR"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6763 $as_echo "$ac_ct_AR" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 $as_echo "no" >&6; }
6769 if test "x$ac_ct_AR" = x; then
6772 case $cross_compiling:$ac_tool_warned in
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6776 ac_tool_warned=yes ;;
6784 if test -n "$ac_tool_prefix"; then
6785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6786 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788 $as_echo_n "checking for $ac_word... " >&6; }
6789 if ${ac_cv_prog_RANLIB+:} false; then :
6790 $as_echo_n "(cached) " >&6
6792 if test -n "$RANLIB"; then
6793 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir=.
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6802 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 RANLIB=$ac_cv_prog_RANLIB
6813 if test -n "$RANLIB"; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6815 $as_echo "$RANLIB" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818 $as_echo "no" >&6; }
6823 if test -z "$ac_cv_prog_RANLIB"; then
6824 ac_ct_RANLIB=$RANLIB
6825 # Extract the first word of "ranlib", so it can be a program name with args.
6826 set dummy ranlib; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6830 $as_echo_n "(cached) " >&6
6832 if test -n "$ac_ct_RANLIB"; then
6833 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir=.
6840 for ac_exec_ext in '' $ac_executable_extensions; do
6841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842 ac_cv_prog_ac_ct_RANLIB="ranlib"
6843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6853 if test -n "$ac_ct_RANLIB"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6855 $as_echo "$ac_ct_RANLIB" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6861 if test "x$ac_ct_RANLIB" = x; then
6862 RANLIB="ranlib-not-found-in-path-error"
6864 case $cross_compiling:$ac_tool_warned in
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6868 ac_tool_warned=yes ;;
6870 RANLIB=$ac_ct_RANLIB
6873 RANLIB="$ac_cv_prog_RANLIB"
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6877 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6879 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6880 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6881 $as_echo_n "(cached) " >&6
6883 cat >conftest.make <<\_ACEOF
6886 @echo '@@@%%%=$(MAKE)=@@@%%%'
6888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6889 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6891 eval ac_cv_prog_make_${ac_make}_set=yes;;
6893 eval ac_cv_prog_make_${ac_make}_set=no;;
6897 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6899 $as_echo "yes" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6904 SET_MAKE="MAKE=${MAKE-make}"
6910 #AC_MSG_NOTICE([====== Starting libtool configuration])
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6918 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6923 macro_version='2.2.7a'
6924 macro_revision='1.3134'
6938 ltmain="$ac_aux_dir/ltmain.sh"
6940 # Backslashify metacharacters that are still active within
6941 # double-quoted strings.
6942 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6944 # Same as above, but do not quote variable references.
6945 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6947 # Sed substitution to delay expansion of an escaped shell variable in a
6948 # double_quote_subst'ed string.
6949 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6951 # Sed substitution to delay expansion of an escaped single quote.
6952 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6954 # Sed substitution to avoid accidental globbing in evaled expressions
6955 no_glob_subst='s/\*/\\\*/g'
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6958 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6959 if ${lt_cv_path_NM+:} false; then :
6960 $as_echo_n "(cached
) " >&6
6962 if test -n "$NM"; then
6963 # Let the user override the test.
6966 lt_nm_to_check="${ac_tool_prefix}nm
"
6967 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6968 lt_nm_to_check="$lt_nm_to_check nm
"
6970 for lt_tmp_nm in $lt_nm_to_check; do
6971 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6972 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6974 test -z "$ac_dir" && ac_dir=.
6975 tmp_nm="$ac_dir/$lt_tmp_nm"
6976 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6977 # Check to see if the nm accepts a BSD-compat flag.
6978 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6979 # nm: unknown option "B
" ignored
6980 # Tru64's nm complains that /dev/null is an invalid object file
6981 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6982 */dev/null* | *'Invalid file or object type'*)
6983 lt_cv_path_NM="$tmp_nm -B"
6987 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6989 lt_cv_path_NM="$tmp_nm -p"
6993 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6994 continue # so that we can try to find one that supports BSD flags
7003 : ${lt_cv_path_NM=no}
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7007 $as_echo "$lt_cv_path_NM" >&6; }
7008 if test "$lt_cv_path_NM" != "no
"; then
7011 # Didn't find any BSD compatible name lister, look for dumpbin.
7012 if test -n "$DUMPBIN"; then :
7013 # Let the user override the test.
7015 if test -n "$ac_tool_prefix"; then
7016 for ac_prog in dumpbin "link
-dump"
7018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7019 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7021 $as_echo_n "checking
for $ac_word...
" >&6; }
7022 if ${ac_cv_prog_DUMPBIN+:} false; then :
7023 $as_echo_n "(cached
) " >&6
7025 if test -n "$DUMPBIN"; then
7026 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7045 DUMPBIN=$ac_cv_prog_DUMPBIN
7046 if test -n "$DUMPBIN"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7048 $as_echo "$DUMPBIN" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7051 $as_echo "no
" >&6; }
7055 test -n "$DUMPBIN" && break
7058 if test -z "$DUMPBIN"; then
7059 ac_ct_DUMPBIN=$DUMPBIN
7060 for ac_prog in dumpbin "link
-dump"
7062 # Extract the first word of "$ac_prog", so it can be a program name with args.
7063 set dummy $ac_prog; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7065 $as_echo_n "checking
for $ac_word...
" >&6; }
7066 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7067 $as_echo_n "(cached
) " >&6
7069 if test -n "$ac_ct_DUMPBIN"; then
7070 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7089 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7090 if test -n "$ac_ct_DUMPBIN"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7092 $as_echo "$ac_ct_DUMPBIN" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7095 $as_echo "no
" >&6; }
7099 test -n "$ac_ct_DUMPBIN" && break
7102 if test "x
$ac_ct_DUMPBIN" = x; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7108 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7109 ac_tool_warned=yes ;;
7111 DUMPBIN=$ac_ct_DUMPBIN
7115 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7117 DUMPBIN="$DUMPBIN -symbols"
7125 if test "$DUMPBIN" != ":"; then
7129 test -z "$NM" && NM=nm
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7137 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7138 if ${lt_cv_nm_interface+:} false; then :
7139 $as_echo_n "(cached
) " >&6
7141 lt_cv_nm_interface="BSD nm
"
7142 echo "int some_variable
= 0;" > conftest.$ac_ext
7143 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7144 (eval "$ac_compile" 2>conftest.err)
7145 cat conftest.err >&5
7146 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7147 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7148 cat conftest.err >&5
7149 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7150 cat conftest.out >&5
7151 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7152 lt_cv_nm_interface="MS dumpbin
"
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7157 $as_echo "$lt_cv_nm_interface" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7160 $as_echo_n "checking whether
ln -s works...
" >&6; }
7162 if test "$LN_S" = "ln -s"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7164 $as_echo "yes" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7167 $as_echo "no
, using
$LN_S" >&6; }
7170 # find the maximum length of command line arguments
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7172 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7173 if ${lt_cv_sys_max_cmd_len+:} false; then :
7174 $as_echo_n "(cached
) " >&6
7181 # On DJGPP, this test can blow up pretty badly due to problems in libc
7182 # (any single argument exceeding 2000 bytes causes a buffer overrun
7183 # during glob expansion). Even if it were fixed, the result of this
7184 # check would be larger than it should be.
7185 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7189 # Under GNU Hurd, this test is not required because there is
7190 # no limit to the length of command line arguments.
7191 # Libtool will interpret -1 as no limit whatsoever
7192 lt_cv_sys_max_cmd_len=-1;
7195 cygwin* | mingw* | cegcc*)
7196 # On Win9x/ME, this test blows up -- it succeeds, but takes
7197 # about 5 minutes as the teststring grows exponentially.
7198 # Worse, since 9x/ME are not pre-emptively multitasking,
7199 # you end up with a "frozen
" computer, even though with patience
7200 # the test eventually succeeds (with a max line length of 256k).
7201 # Instead, let's just punt: use the minimum linelength reported by
7202 # all of the supported platforms: 8192 (on NT/2K/XP).
7203 lt_cv_sys_max_cmd_len=8192;
7207 # On MiNT this can take a long time and run out of memory.
7208 lt_cv_sys_max_cmd_len=8192;
7212 # On AmigaOS with pdksh, this test takes hours, literally.
7213 # So we just punt and use a minimum line length of 8192.
7214 lt_cv_sys_max_cmd_len=8192;
7217 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7218 # This has been around since 386BSD, at least. Likely further.
7219 if test -x /sbin/sysctl; then
7220 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7221 elif test -x /usr/sbin/sysctl; then
7222 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7224 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7226 # And add a safety zone
7227 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7228 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7232 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7233 lt_cv_sys_max_cmd_len=196608
7237 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7238 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7239 # nice to cause kernel panics so lets avoid the loop below.
7240 # First set a reasonable default.
7241 lt_cv_sys_max_cmd_len=16384
7243 if test -x /sbin/sysconfig; then
7244 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7245 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7250 lt_cv_sys_max_cmd_len=102400
7252 sysv5* | sco5v6* | sysv4.2uw2*)
7253 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7254 if test -n "$kargmax"; then
7255 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7257 lt_cv_sys_max_cmd_len=32768
7261 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7262 if test -n "$lt_cv_sys_max_cmd_len"; then
7263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7264 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7266 # Make teststring a little bigger before we do anything with it.
7267 # a 1K string should be a reasonable start.
7268 for i in 1 2 3 4 5 6 7 8 ; do
7269 teststring=$teststring$teststring
7271 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7272 # If test is not a shell built-in, we'll probably end up computing a
7273 # maximum length that is only half of the actual maximum length, but
7275 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7276 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7277 test $i != 17 # 1/2 MB should be enough
7280 teststring=$teststring$teststring
7282 # Only check the string length outside the loop.
7283 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7285 # Add a significant safety factor because C++ compilers can tack on
7286 # massive amounts of additional arguments before passing them to the
7287 # linker. It appears as though 1/2 is a usable value.
7288 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7295 if test -n $lt_cv_sys_max_cmd_len ; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7297 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7300 $as_echo "none
" >&6; }
7302 max_cmd_len=$lt_cv_sys_max_cmd_len
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7314 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7315 # Try some XSI features
7318 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7320 && eval 'test $(( 1 + 1 )) -eq 2 \
7321 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7324 $as_echo "$xsi_shell" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7328 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7330 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7332 && lt_shell_append
=yes
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7334 $as_echo "$lt_shell_append" >&6; }
7337 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7347 # test EBCDIC or ASCII
7348 case `echo X|tr X '\101'` in
7349 A
) # ASCII based system
7350 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7351 lt_SP2NL
='tr \040 \012'
7352 lt_NL2SP
='tr \015\012 \040\040'
7354 *) # EBCDIC based system
7355 lt_SP2NL
='tr \100 \n'
7356 lt_NL2SP
='tr \r\n \100\100'
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7369 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7370 if ${lt_cv_ld_reload_flag+:} false
; then :
7371 $as_echo_n "(cached) " >&6
7373 lt_cv_ld_reload_flag
='-r'
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7376 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7377 reload_flag
=$lt_cv_ld_reload_flag
7378 case $reload_flag in
7380 *) reload_flag
=" $reload_flag" ;;
7382 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7385 if test "$GCC" = yes; then
7386 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7388 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7401 if test -n "$ac_tool_prefix"; then
7402 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7403 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 $as_echo_n "checking for $ac_word... " >&6; }
7406 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7407 $as_echo_n "(cached) " >&6
7409 if test -n "$OBJDUMP"; then
7410 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7416 test -z "$as_dir" && as_dir
=.
7417 for ac_exec_ext
in '' $ac_executable_extensions; do
7418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7419 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429 OBJDUMP
=$ac_cv_prog_OBJDUMP
7430 if test -n "$OBJDUMP"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7432 $as_echo "$OBJDUMP" >&6; }
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435 $as_echo "no" >&6; }
7440 if test -z "$ac_cv_prog_OBJDUMP"; then
7441 ac_ct_OBJDUMP
=$OBJDUMP
7442 # Extract the first word of "objdump", so it can be a program name with args.
7443 set dummy objdump
; ac_word
=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7447 $as_echo_n "(cached) " >&6
7449 if test -n "$ac_ct_OBJDUMP"; then
7450 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir
=.
7457 for ac_exec_ext
in '' $ac_executable_extensions; do
7458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7469 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7470 if test -n "$ac_ct_OBJDUMP"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7472 $as_echo "$ac_ct_OBJDUMP" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7478 if test "x$ac_ct_OBJDUMP" = x
; then
7481 case $cross_compiling:$ac_tool_warned in
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7485 ac_tool_warned
=yes ;;
7487 OBJDUMP
=$ac_ct_OBJDUMP
7490 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7493 test -z "$OBJDUMP" && OBJDUMP
=objdump
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7504 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7505 if ${lt_cv_deplibs_check_method+:} false
; then :
7506 $as_echo_n "(cached) " >&6
7508 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7509 lt_cv_file_magic_test_file
=
7510 lt_cv_deplibs_check_method
='unknown'
7511 # Need to set the preceding variable on all platforms that support
7512 # interlibrary dependencies.
7513 # 'none' -- dependencies not supported.
7514 # `unknown' -- same as none, but documents that we really don't know.
7515 # 'pass_all' -- all dependencies passed with no checks.
7516 # 'test_compile' -- check by making test program.
7517 # 'file_magic [[regex]]' -- check by looking for files in library path
7518 # which responds to the $file_magic_cmd with a given extended regex.
7519 # If you have `file' or equivalent on your system and you're not sure
7520 # whether `pass_all' will *always* work, you probably want this one.
7524 lt_cv_deplibs_check_method
=pass_all
7528 lt_cv_deplibs_check_method
=pass_all
7532 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7533 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7534 lt_cv_file_magic_test_file
=/shlib
/libc.so
7538 # func_win32_libid is a shell function defined in ltmain.sh
7539 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7540 lt_cv_file_magic_cmd
='func_win32_libid'
7544 # Base MSYS/MinGW do not provide the 'file' command needed by
7545 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7546 # unless we find 'file', for example because we are cross-compiling.
7547 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7548 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7549 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7550 lt_cv_file_magic_cmd
='func_win32_libid'
7552 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7553 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7558 # use the weaker test based on 'objdump'. See mingw*.
7559 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7560 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7563 darwin
* | rhapsody
*)
7564 lt_cv_deplibs_check_method
=pass_all
7567 freebsd
* | dragonfly
*)
7568 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7571 # Not sure whether the presence of OpenBSD here was a mistake.
7572 # Let's accept both of them until this is cleared up.
7573 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7574 lt_cv_file_magic_cmd
=/usr
/bin
/file
7575 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7579 lt_cv_deplibs_check_method
=pass_all
7584 lt_cv_deplibs_check_method
=pass_all
7588 lt_cv_deplibs_check_method
=pass_all
7591 hpux10.20
* | hpux11
*)
7592 lt_cv_file_magic_cmd
=/usr
/bin
/file
7595 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7596 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7599 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]'
7600 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7603 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7604 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7610 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7611 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7614 irix5
* | irix6
* | nonstopux
*)
7616 *-32|
*"-32 ") libmagic
=32-bit;;
7617 *-n32|
*"-n32 ") libmagic
=N32
;;
7618 *-64|
*"-64 ") libmagic
=64-bit;;
7619 *) libmagic
=never-match
;;
7621 lt_cv_deplibs_check_method
=pass_all
7624 # This must be Linux ELF.
7625 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7626 lt_cv_deplibs_check_method
=pass_all
7630 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7631 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7633 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7638 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7639 lt_cv_file_magic_cmd
=/usr
/bin
/file
7640 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7644 lt_cv_deplibs_check_method
=pass_all
7648 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7649 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7651 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7655 osf3
* | osf4
* | osf5
*)
7656 lt_cv_deplibs_check_method
=pass_all
7660 lt_cv_deplibs_check_method
=pass_all
7664 lt_cv_deplibs_check_method
=pass_all
7667 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7668 lt_cv_deplibs_check_method
=pass_all
7672 case $host_vendor in
7674 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]'
7675 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7678 lt_cv_deplibs_check_method
=pass_all
7681 lt_cv_file_magic_cmd
='/bin/file'
7682 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7685 lt_cv_file_magic_cmd
='/bin/file'
7686 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7687 lt_cv_file_magic_test_file
=/lib
/libc.so
7690 lt_cv_deplibs_check_method
=pass_all
7693 lt_cv_deplibs_check_method
=pass_all
7699 lt_cv_deplibs_check_method
=pass_all
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7705 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7706 file_magic_cmd
=$lt_cv_file_magic_cmd
7707 deplibs_check_method
=$lt_cv_deplibs_check_method
7708 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7721 if test -n "$ac_tool_prefix"; then
7722 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7723 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7725 $as_echo_n "checking for $ac_word... " >&6; }
7726 if ${ac_cv_prog_AR+:} false
; then :
7727 $as_echo_n "(cached) " >&6
7729 if test -n "$AR"; then
7730 ac_cv_prog_AR
="$AR" # Let the user override the test.
7732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7736 test -z "$as_dir" && as_dir
=.
7737 for ac_exec_ext
in '' $ac_executable_extensions; do
7738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7739 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7750 if test -n "$AR"; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7752 $as_echo "$AR" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7755 $as_echo "no" >&6; }
7760 if test -z "$ac_cv_prog_AR"; then
7762 # Extract the first word of "ar", so it can be a program name with args.
7763 set dummy
ar; ac_word
=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7765 $as_echo_n "checking for $ac_word... " >&6; }
7766 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7767 $as_echo_n "(cached) " >&6
7769 if test -n "$ac_ct_AR"; then
7770 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir
=.
7777 for ac_exec_ext
in '' $ac_executable_extensions; do
7778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7779 ac_cv_prog_ac_ct_AR
="ar"
7780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7789 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7790 if test -n "$ac_ct_AR"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7792 $as_echo "$ac_ct_AR" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795 $as_echo "no" >&6; }
7798 if test "x$ac_ct_AR" = x
; then
7801 case $cross_compiling:$ac_tool_warned in
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7805 ac_tool_warned
=yes ;;
7813 test -z "$AR" && AR
=ar
7814 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7826 if test -n "$ac_tool_prefix"; then
7827 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7828 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7830 $as_echo_n "checking for $ac_word... " >&6; }
7831 if ${ac_cv_prog_STRIP+:} false
; then :
7832 $as_echo_n "(cached) " >&6
7834 if test -n "$STRIP"; then
7835 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7841 test -z "$as_dir" && as_dir
=.
7842 for ac_exec_ext
in '' $ac_executable_extensions; do
7843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7844 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7854 STRIP
=$ac_cv_prog_STRIP
7855 if test -n "$STRIP"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7857 $as_echo "$STRIP" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860 $as_echo "no" >&6; }
7865 if test -z "$ac_cv_prog_STRIP"; then
7867 # Extract the first word of "strip", so it can be a program name with args.
7868 set dummy strip
; ac_word
=$2
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7870 $as_echo_n "checking for $ac_word... " >&6; }
7871 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7872 $as_echo_n "(cached) " >&6
7874 if test -n "$ac_ct_STRIP"; then
7875 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7881 test -z "$as_dir" && as_dir
=.
7882 for ac_exec_ext
in '' $ac_executable_extensions; do
7883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7884 ac_cv_prog_ac_ct_STRIP
="strip"
7885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7895 if test -n "$ac_ct_STRIP"; then
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7897 $as_echo "$ac_ct_STRIP" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7900 $as_echo "no" >&6; }
7903 if test "x$ac_ct_STRIP" = x
; then
7906 case $cross_compiling:$ac_tool_warned in
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7910 ac_tool_warned
=yes ;;
7915 STRIP
="$ac_cv_prog_STRIP"
7918 test -z "$STRIP" && STRIP
=:
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7927 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_RANLIB+:} false
; then :
7931 $as_echo_n "(cached) " >&6
7933 if test -n "$RANLIB"; then
7934 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7940 test -z "$as_dir" && as_dir
=.
7941 for ac_exec_ext
in '' $ac_executable_extensions; do
7942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 RANLIB
=$ac_cv_prog_RANLIB
7954 if test -n "$RANLIB"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7956 $as_echo "$RANLIB" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_RANLIB"; then
7965 ac_ct_RANLIB
=$RANLIB
7966 # Extract the first word of "ranlib", so it can be a program name with args.
7967 set dummy ranlib
; ac_word
=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7971 $as_echo_n "(cached) " >&6
7973 if test -n "$ac_ct_RANLIB"; then
7974 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7980 test -z "$as_dir" && as_dir
=.
7981 for ac_exec_ext
in '' $ac_executable_extensions; do
7982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7994 if test -n "$ac_ct_RANLIB"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7996 $as_echo "$ac_ct_RANLIB" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_RANLIB" = x
; then
8005 case $cross_compiling:$ac_tool_warned in
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned
=yes ;;
8011 RANLIB
=$ac_ct_RANLIB
8014 RANLIB
="$ac_cv_prog_RANLIB"
8017 test -z "$RANLIB" && RANLIB
=:
8024 # Determine commands to create old-style static archives.
8025 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8026 old_postinstall_cmds
='chmod 644 $oldlib'
8027 old_postuninstall_cmds
=
8029 if test -n "$RANLIB"; then
8032 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8035 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8038 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8043 lock_old_archive_extraction
=yes ;;
8045 lock_old_archive_extraction
=no
;;
8086 # If no C compiler was specified, use CC.
8089 # If no C compiler flags were specified, use CFLAGS.
8090 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8092 # Allow CC to be a program name with arguments.
8096 # Check for command to grab the raw symbol name followed by C symbol from nm.
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8098 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8099 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8100 $as_echo_n "(cached) " >&6
8103 # These are sane defaults that work on at least a few old systems.
8104 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8106 # Character class describing NM global symbol codes.
8107 symcode
='[BCDEGRST]'
8109 # Regexp to match symbols that can be accessed directly from C.
8110 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8112 # Define system-specific variables.
8117 cygwin
* | mingw
* | pw32
* | cegcc
*)
8118 symcode
='[ABCDGISTW]'
8121 if test "$host_cpu" = ia64
; then
8122 symcode
='[ABCDEGRST]'
8126 symcode
='[BCDEGRST]'
8129 symcode
='[BCDEGQRST]'
8140 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8148 # If we're using GNU nm, then use its standard symbol codes.
8149 case `$NM -V 2>&1` in
8150 *GNU
* |
*'with BFD'*)
8151 symcode
='[ABCDGIRSTW]' ;;
8154 # Transform an extracted symbol line into a proper C declaration.
8155 # Some systems (esp. on ia64) link data and code symbols differently,
8156 # so use this general approach.
8157 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8159 # Transform an extracted symbol line into symbol name and symbol address
8160 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8161 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'"
8163 # Handle CRLF in mingw tool chain
8167 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8171 # Try without a prefix underscore, then with it.
8172 for ac_symprfx
in "" "_"; do
8174 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8175 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8177 # Write the raw and C identifiers.
8178 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8179 # Fake it for dumpbin and say T for any non-static function
8180 # and D for any global variable.
8181 # Also find C++ and __fastcall symbols from MSVC++,
8182 # which start with @ or ?.
8183 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8184 " {last_section=section; section=\$ 3};"\
8185 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8186 " \$ 0!~/External *\|/{next};"\
8187 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8188 " {if(hide[section]) next};"\
8189 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8190 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8191 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8192 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8193 " ' prfx=^$ac_symprfx"
8195 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8198 # Check to see that the pipe works correctly.
8202 cat > conftest.
$ac_ext <<_LT_EOF
8207 void nm_test_func(void);
8208 void nm_test_func(void){}
8212 int main(){nm_test_var='a';nm_test_func();return(0);}
8215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8216 (eval $ac_compile) 2>&5
8218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8219 test $ac_status = 0; }; then
8220 # Now try to grab the symbols.
8222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8223 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8226 test $ac_status = 0; } && test -s "$nlist"; then
8227 # Try sorting and uniquifying the output.
8228 if sort "$nlist" |
uniq > "$nlist"T
; then
8229 mv -f "$nlist"T
"$nlist"
8234 # Make sure that we snagged all the symbols we need.
8235 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8236 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8237 cat <<_LT_EOF > conftest.$ac_ext
8243 # Now generate the symbol file.
8244 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8246 cat <<_LT_EOF >> conftest.$ac_ext
8248 /* The mapping between symbol names and symbols. */
8253 lt__PROGRAM__LTX_preloaded_symbols[] =
8255 { "@PROGRAM@", (void *) 0 },
8257 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8258 cat <<\_LT_EOF
>> conftest.
$ac_ext
8262 /* This works around a problem
in FreeBSD linker
*/
8263 #ifdef FREEBSD_WORKAROUND
8264 static const void
*lt_preloaded_setup
() {
8265 return lt__PROGRAM__LTX_preloaded_symbols
;
8273 # Now try linking the two files.
8274 mv conftest.
$ac_objext conftstm.
$ac_objext
8275 lt_save_LIBS
="$LIBS"
8276 lt_save_CFLAGS
="$CFLAGS"
8277 LIBS
="conftstm.$ac_objext"
8278 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8280 (eval $ac_link) 2>&5
8282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8283 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8286 LIBS
="$lt_save_LIBS"
8287 CFLAGS
="$lt_save_CFLAGS"
8289 echo "cannot find nm_test_func in $nlist" >&5
8292 echo "cannot find nm_test_var in $nlist" >&5
8295 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8298 echo "$progname: failed program was:" >&5
8299 cat conftest.
$ac_ext >&5
8301 rm -rf conftest
* conftst
*
8303 # Do not use the global_symbol_pipe unless it works.
8304 if test "$pipe_works" = yes; then
8307 lt_cv_sys_global_symbol_pipe
=
8313 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8314 lt_cv_sys_global_symbol_to_cdecl
=
8316 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8318 $as_echo "failed" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8321 $as_echo "ok" >&6; }
8345 # Check whether --enable-libtool-lock was given.
8346 if test "${enable_libtool_lock+set}" = set; then :
8347 enableval
=$enable_libtool_lock;
8350 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8352 # Some flags need to be propagated to the compiler or linker for good
8356 # Find out which ABI we are using.
8357 echo 'int i;' > conftest.
$ac_ext
8358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8359 (eval $ac_compile) 2>&5
8361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8362 test $ac_status = 0; }; then
8363 case `/usr/bin/file conftest.$ac_objext` in
8375 # Find out which ABI we are using.
8376 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8378 (eval $ac_compile) 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8381 test $ac_status = 0; }; then
8382 if test "$lt_cv_prog_gnu_ld" = yes; then
8383 case `/usr/bin/file conftest.$ac_objext` in
8385 LD
="${LD-ld} -melf32bsmip"
8388 LD
="${LD-ld} -melf32bmipn32"
8391 LD
="${LD-ld} -melf64bmip"
8395 case `/usr/bin/file conftest.$ac_objext` in
8411 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8412 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8413 # Find out which ABI we are using.
8414 echo 'int i;' > conftest.
$ac_ext
8415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8416 (eval $ac_compile) 2>&5
8418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8419 test $ac_status = 0; }; then
8420 case `/usr/bin/file conftest.o` in
8423 x86_64-
*kfreebsd
*-gnu)
8424 LD
="${LD-ld} -m elf_i386_fbsd"
8427 case `/usr/bin/file conftest.o` in
8429 LD
="${LD-ld} -m elf32_x86_64"
8432 LD
="${LD-ld} -m elf_i386"
8436 powerpc64le-
*linux
*)
8437 LD
="${LD-ld} -m elf32lppclinux"
8440 LD
="${LD-ld} -m elf32ppclinux"
8443 LD
="${LD-ld} -m elf_s390"
8446 LD
="${LD-ld} -m elf32_sparc"
8452 x86_64-
*kfreebsd
*-gnu)
8453 LD
="${LD-ld} -m elf_x86_64_fbsd"
8456 LD
="${LD-ld} -m elf_x86_64"
8459 LD
="${LD-ld} -m elf64lppc"
8462 LD
="${LD-ld} -m elf64ppc"
8464 s390
*-*linux
*|s390
*-*tpf
*)
8465 LD
="${LD-ld} -m elf64_s390"
8468 LD
="${LD-ld} -m elf64_sparc"
8478 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8479 SAVE_CFLAGS
="$CFLAGS"
8480 CFLAGS
="$CFLAGS -belf"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8482 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8483 if ${lt_cv_cc_needs_belf+:} false
; then :
8484 $as_echo_n "(cached) " >&6
8487 ac_cpp
='$CPP $CPPFLAGS'
8488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8492 if test x
$gcc_no_link = xyes
; then
8493 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8506 if ac_fn_c_try_link
"$LINENO"; then :
8507 lt_cv_cc_needs_belf
=yes
8509 lt_cv_cc_needs_belf
=no
8511 rm -f core conftest.err conftest.
$ac_objext \
8512 conftest
$ac_exeext conftest.
$ac_ext
8514 ac_cpp
='$CPP $CPPFLAGS'
8515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8521 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8522 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8523 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8524 CFLAGS
="$SAVE_CFLAGS"
8528 # Find out which ABI we are using.
8529 echo 'int i;' > conftest.
$ac_ext
8530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8531 (eval $ac_compile) 2>&5
8533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8534 test $ac_status = 0; }; then
8535 case `/usr/bin/file conftest.o` in
8537 case $lt_cv_prog_gnu_ld in
8538 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8540 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8552 need_locks
="$enable_libtool_lock"
8556 rhapsody
* | darwin
*)
8557 if test -n "$ac_tool_prefix"; then
8558 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8559 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8563 $as_echo_n "(cached) " >&6
8565 if test -n "$DSYMUTIL"; then
8566 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir
=.
8573 for ac_exec_ext
in '' $ac_executable_extensions; do
8574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8575 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8585 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8586 if test -n "$DSYMUTIL"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8588 $as_echo "$DSYMUTIL" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8596 if test -z "$ac_cv_prog_DSYMUTIL"; then
8597 ac_ct_DSYMUTIL
=$DSYMUTIL
8598 # Extract the first word of "dsymutil", so it can be a program name with args.
8599 set dummy dsymutil
; ac_word
=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8603 $as_echo_n "(cached) " >&6
8605 if test -n "$ac_ct_DSYMUTIL"; then
8606 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8612 test -z "$as_dir" && as_dir
=.
8613 for ac_exec_ext
in '' $ac_executable_extensions; do
8614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8615 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8625 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8626 if test -n "$ac_ct_DSYMUTIL"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8628 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8634 if test "x$ac_ct_DSYMUTIL" = x
; then
8637 case $cross_compiling:$ac_tool_warned in
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned
=yes ;;
8643 DSYMUTIL
=$ac_ct_DSYMUTIL
8646 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8649 if test -n "$ac_tool_prefix"; then
8650 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8651 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8653 $as_echo_n "checking for $ac_word... " >&6; }
8654 if ${ac_cv_prog_NMEDIT+:} false
; then :
8655 $as_echo_n "(cached) " >&6
8657 if test -n "$NMEDIT"; then
8658 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir
=.
8665 for ac_exec_ext
in '' $ac_executable_extensions; do
8666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8667 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 NMEDIT
=$ac_cv_prog_NMEDIT
8678 if test -n "$NMEDIT"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8680 $as_echo "$NMEDIT" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8683 $as_echo "no" >&6; }
8688 if test -z "$ac_cv_prog_NMEDIT"; then
8689 ac_ct_NMEDIT
=$NMEDIT
8690 # Extract the first word of "nmedit", so it can be a program name with args.
8691 set dummy nmedit
; ac_word
=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8695 $as_echo_n "(cached) " >&6
8697 if test -n "$ac_ct_NMEDIT"; then
8698 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir
=.
8705 for ac_exec_ext
in '' $ac_executable_extensions; do
8706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8707 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8717 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8718 if test -n "$ac_ct_NMEDIT"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8720 $as_echo "$ac_ct_NMEDIT" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8723 $as_echo "no" >&6; }
8726 if test "x$ac_ct_NMEDIT" = x
; then
8729 case $cross_compiling:$ac_tool_warned in
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8733 ac_tool_warned
=yes ;;
8735 NMEDIT
=$ac_ct_NMEDIT
8738 NMEDIT
="$ac_cv_prog_NMEDIT"
8741 if test -n "$ac_tool_prefix"; then
8742 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8743 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8745 $as_echo_n "checking for $ac_word... " >&6; }
8746 if ${ac_cv_prog_LIPO+:} false
; then :
8747 $as_echo_n "(cached) " >&6
8749 if test -n "$LIPO"; then
8750 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8756 test -z "$as_dir" && as_dir
=.
8757 for ac_exec_ext
in '' $ac_executable_extensions; do
8758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8759 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8769 LIPO
=$ac_cv_prog_LIPO
8770 if test -n "$LIPO"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8772 $as_echo "$LIPO" >&6; }
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8775 $as_echo "no" >&6; }
8780 if test -z "$ac_cv_prog_LIPO"; then
8782 # Extract the first word of "lipo", so it can be a program name with args.
8783 set dummy lipo
; ac_word
=$2
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8785 $as_echo_n "checking for $ac_word... " >&6; }
8786 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8787 $as_echo_n "(cached) " >&6
8789 if test -n "$ac_ct_LIPO"; then
8790 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8796 test -z "$as_dir" && as_dir
=.
8797 for ac_exec_ext
in '' $ac_executable_extensions; do
8798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8799 ac_cv_prog_ac_ct_LIPO
="lipo"
8800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8810 if test -n "$ac_ct_LIPO"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8812 $as_echo "$ac_ct_LIPO" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8818 if test "x$ac_ct_LIPO" = x
; then
8821 case $cross_compiling:$ac_tool_warned in
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8825 ac_tool_warned
=yes ;;
8830 LIPO
="$ac_cv_prog_LIPO"
8833 if test -n "$ac_tool_prefix"; then
8834 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8835 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8837 $as_echo_n "checking for $ac_word... " >&6; }
8838 if ${ac_cv_prog_OTOOL+:} false
; then :
8839 $as_echo_n "(cached) " >&6
8841 if test -n "$OTOOL"; then
8842 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir
=.
8849 for ac_exec_ext
in '' $ac_executable_extensions; do
8850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8851 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8861 OTOOL
=$ac_cv_prog_OTOOL
8862 if test -n "$OTOOL"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8864 $as_echo "$OTOOL" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 $as_echo "no" >&6; }
8872 if test -z "$ac_cv_prog_OTOOL"; then
8874 # Extract the first word of "otool", so it can be a program name with args.
8875 set dummy otool
; ac_word
=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8877 $as_echo_n "checking for $ac_word... " >&6; }
8878 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8879 $as_echo_n "(cached) " >&6
8881 if test -n "$ac_ct_OTOOL"; then
8882 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir
=.
8889 for ac_exec_ext
in '' $ac_executable_extensions; do
8890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8891 ac_cv_prog_ac_ct_OTOOL
="otool"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8901 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8902 if test -n "$ac_ct_OTOOL"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8904 $as_echo "$ac_ct_OTOOL" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8907 $as_echo "no" >&6; }
8910 if test "x$ac_ct_OTOOL" = x
; then
8913 case $cross_compiling:$ac_tool_warned in
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8917 ac_tool_warned
=yes ;;
8922 OTOOL
="$ac_cv_prog_OTOOL"
8925 if test -n "$ac_tool_prefix"; then
8926 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8927 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8929 $as_echo_n "checking for $ac_word... " >&6; }
8930 if ${ac_cv_prog_OTOOL64+:} false
; then :
8931 $as_echo_n "(cached) " >&6
8933 if test -n "$OTOOL64"; then
8934 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir
=.
8941 for ac_exec_ext
in '' $ac_executable_extensions; do
8942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8943 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8953 OTOOL64
=$ac_cv_prog_OTOOL64
8954 if test -n "$OTOOL64"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8956 $as_echo "$OTOOL64" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8964 if test -z "$ac_cv_prog_OTOOL64"; then
8965 ac_ct_OTOOL64
=$OTOOL64
8966 # Extract the first word of "otool64", so it can be a program name with args.
8967 set dummy otool64
; ac_word
=$2
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8969 $as_echo_n "checking for $ac_word... " >&6; }
8970 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8971 $as_echo_n "(cached) " >&6
8973 if test -n "$ac_ct_OTOOL64"; then
8974 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8980 test -z "$as_dir" && as_dir
=.
8981 for ac_exec_ext
in '' $ac_executable_extensions; do
8982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8983 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8993 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8994 if test -n "$ac_ct_OTOOL64"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8996 $as_echo "$ac_ct_OTOOL64" >&6; }
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8999 $as_echo "no" >&6; }
9002 if test "x$ac_ct_OTOOL64" = x
; then
9005 case $cross_compiling:$ac_tool_warned in
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9009 ac_tool_warned
=yes ;;
9011 OTOOL64
=$ac_ct_OTOOL64
9014 OTOOL64
="$ac_cv_prog_OTOOL64"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9044 $as_echo_n "checking for -single_module linker flag... " >&6; }
9045 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9046 $as_echo_n "(cached) " >&6
9048 lt_cv_apple_cc_single_mod
=no
9049 if test -z "${LT_MULTI_MODULE}"; then
9050 # By default we will add the -single_module flag. You can override
9051 # by either setting the environment variable LT_MULTI_MODULE
9052 # non-empty at configure time, or by adding -multi_module to the
9054 rm -rf libconftest.dylib
*
9055 echo "int foo(void){return 1;}" > conftest.c
9056 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9057 -dynamiclib -Wl,-single_module conftest.c" >&5
9058 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9059 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9061 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9062 lt_cv_apple_cc_single_mod
=yes
9064 cat conftest.err
>&5
9066 rm -rf libconftest.dylib
*
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9071 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9073 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9074 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 lt_cv_ld_exported_symbols_list
=no
9078 save_LDFLAGS
=$LDFLAGS
9079 echo "_main" > conftest.sym
9080 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9081 if test x
$gcc_no_link = xyes
; then
9082 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9095 if ac_fn_c_try_link
"$LINENO"; then :
9096 lt_cv_ld_exported_symbols_list
=yes
9098 lt_cv_ld_exported_symbols_list
=no
9100 rm -f core conftest.err conftest.
$ac_objext \
9101 conftest
$ac_exeext conftest.
$ac_ext
9102 LDFLAGS
="$save_LDFLAGS"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9106 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9108 $as_echo_n "checking for -force_load linker flag... " >&6; }
9109 if ${lt_cv_ld_force_load+:} false
; then :
9110 $as_echo_n "(cached) " >&6
9112 lt_cv_ld_force_load
=no
9113 cat > conftest.c
<< _LT_EOF
9114 int forced_loaded() { return 2;}
9116 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9117 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9118 echo "$AR cru libconftest.a conftest.o" >&5
9119 $AR cru libconftest.a conftest.o
2>&5
9120 cat > conftest.c
<< _LT_EOF
9121 int main() { return 0;}
9123 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9124 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9126 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9127 lt_cv_ld_force_load
=yes
9129 cat conftest.err
>&5
9131 rm -f conftest.err libconftest.a conftest conftest.c
9132 rm -rf conftest.dSYM
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9136 $as_echo "$lt_cv_ld_force_load" >&6; }
9138 rhapsody
* | darwin1.
[012])
9139 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9141 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9142 darwin
*) # darwin 5.x on
9143 # if running on 10.5 or later, the deployment target defaults
9144 # to the OS version, if on x86, and 10.4, the deployment
9145 # target defaults to 10.4. Don't you love it?
9146 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9147 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9148 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9150 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9152 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9156 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9157 _lt_dar_single_mod
='$single_module'
9159 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9160 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9162 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9164 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9165 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9172 for ac_header
in dlfcn.h
9174 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9176 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9177 cat >>confdefs.h
<<_ACEOF
9178 #define HAVE_DLFCN_H 1
9197 # Check whether --enable-shared was given.
9198 if test "${enable_shared+set}" = set; then :
9199 enableval
=$enable_shared; p
=${PACKAGE-default}
9201 yes) enable_shared
=yes ;;
9202 no
) enable_shared
=no
;;
9205 # Look at the argument we got. We use all the common list separators.
9206 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9207 for pkg
in $enableval; do
9209 if test "X$pkg" = "X$p"; then
9228 # Check whether --enable-static was given.
9229 if test "${enable_static+set}" = set; then :
9230 enableval
=$enable_static; p
=${PACKAGE-default}
9232 yes) enable_static
=yes ;;
9233 no
) enable_static
=no
;;
9236 # Look at the argument we got. We use all the common list separators.
9237 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9238 for pkg
in $enableval; do
9240 if test "X$pkg" = "X$p"; then
9260 # Check whether --with-pic was given.
9261 if test "${with_pic+set}" = set; then :
9262 withval
=$with_pic; pic_mode
="$withval"
9268 test -z "$pic_mode" && pic_mode
=default
9276 # Check whether --enable-fast-install was given.
9277 if test "${enable_fast_install+set}" = set; then :
9278 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9280 yes) enable_fast_install
=yes ;;
9281 no
) enable_fast_install
=no
;;
9283 enable_fast_install
=no
9284 # Look at the argument we got. We use all the common list separators.
9285 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9286 for pkg
in $enableval; do
9288 if test "X$pkg" = "X$p"; then
9289 enable_fast_install
=yes
9296 enable_fast_install
=yes
9309 # This can be used to rebuild libtool when needed
9310 LIBTOOL_DEPS
="$ltmain"
9312 # Always use our own libtool.
9313 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9340 test -z "$LN_S" && LN_S
="ln -s"
9355 if test -n "${ZSH_VERSION+set}" ; then
9356 setopt NO_GLOB_SUBST
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9360 $as_echo_n "checking for objdir... " >&6; }
9361 if ${lt_cv_objdir+:} false
; then :
9362 $as_echo_n "(cached) " >&6
9364 rm -f .libs
2>/dev
/null
9365 mkdir .libs
2>/dev
/null
9366 if test -d .libs
; then
9369 # MS-DOS does not allow filenames that begin with a dot.
9372 rmdir .libs
2>/dev
/null
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9375 $as_echo "$lt_cv_objdir" >&6; }
9376 objdir
=$lt_cv_objdir
9382 cat >>confdefs.h
<<_ACEOF
9383 #define LT_OBJDIR "$lt_cv_objdir/"
9391 # AIX sometimes has problems with the GCC collect2 program. For some
9392 # reason, if we set the COLLECT_NAMES environment variable, the problems
9393 # vanish in a puff of smoke.
9394 if test "X${COLLECT_NAMES+set}" != Xset
; then
9396 export COLLECT_NAMES
9403 can_build_shared
=yes
9405 # All known linkers require a `.a' archive for static linking (except MSVC,
9406 # which needs '.lib').
9409 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9412 old_CFLAGS
="$CFLAGS"
9414 # Set sane defaults for various variables
9415 test -z "$CC" && CC
=cc
9416 test -z "$LTCC" && LTCC
=$CC
9417 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9418 test -z "$LD" && LD
=ld
9419 test -z "$ac_objext" && ac_objext
=o
9421 for cc_temp
in $compiler""; do
9423 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9424 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9429 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9432 # Only perform the check for file, if the check method requires it
9433 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9434 case $deplibs_check_method in
9436 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9438 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9439 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9440 $as_echo_n "(cached) " >&6
9444 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9447 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9448 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9449 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9450 for ac_dir
in $ac_dummy; do
9452 test -z "$ac_dir" && ac_dir
=.
9453 if test -f $ac_dir/${ac_tool_prefix}file; then
9454 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9455 if test -n "$file_magic_test_file"; then
9456 case $deplibs_check_method in
9458 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9459 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9460 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9461 $EGREP "$file_magic_regex" > /dev
/null
; then
9466 *** Warning: the command libtool uses to detect shared libraries,
9467 *** $file_magic_cmd, produces output that libtool cannot recognize.
9468 *** The result is that libtool may fail to recognize shared libraries
9469 *** as such. This will affect the creation of libtool libraries that
9470 *** depend on shared libraries, but programs linked with such libtool
9471 *** libraries will work regardless of this problem. Nevertheless, you
9472 *** may want to report the problem to your system manager and/or to
9473 *** bug-libtool@gnu.org
9483 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9488 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9489 if test -n "$MAGIC_CMD"; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9491 $as_echo "$MAGIC_CMD" >&6; }
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9494 $as_echo "no" >&6; }
9501 if test -z "$lt_cv_path_MAGIC_CMD"; then
9502 if test -n "$ac_tool_prefix"; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9504 $as_echo_n "checking for file... " >&6; }
9505 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9506 $as_echo_n "(cached) " >&6
9510 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9513 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9514 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9515 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9516 for ac_dir
in $ac_dummy; do
9518 test -z "$ac_dir" && ac_dir
=.
9519 if test -f $ac_dir/file; then
9520 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9521 if test -n "$file_magic_test_file"; then
9522 case $deplibs_check_method in
9524 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9525 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9526 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9527 $EGREP "$file_magic_regex" > /dev
/null
; then
9532 *** Warning: the command libtool uses to detect shared libraries,
9533 *** $file_magic_cmd, produces output that libtool cannot recognize.
9534 *** The result is that libtool may fail to recognize shared libraries
9535 *** as such. This will affect the creation of libtool libraries that
9536 *** depend on shared libraries, but programs linked with such libtool
9537 *** libraries will work regardless of this problem. Nevertheless, you
9538 *** may want to report the problem to your system manager and/or to
9539 *** bug-libtool@gnu.org
9549 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9554 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9555 if test -n "$MAGIC_CMD"; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9557 $as_echo "$MAGIC_CMD" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9560 $as_echo "no" >&6; }
9573 # Use C for the default configuration in the libtool script
9577 ac_cpp
='$CPP $CPPFLAGS'
9578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9583 # Source file extension for C test sources.
9586 # Object file extension for compiled C test sources.
9590 # Code to be used in simple compile tests
9591 lt_simple_compile_test_code
="int some_variable = 0;"
9593 # Code to be used in simple link tests
9594 lt_simple_link_test_code
='int main(){return(0);}'
9602 # If no C compiler was specified, use CC.
9605 # If no C compiler flags were specified, use CFLAGS.
9606 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9608 # Allow CC to be a program name with arguments.
9611 # Save the default compiler, since it gets overwritten when the other
9612 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9613 compiler_DEFAULT
=$CC
9615 # save warnings/boilerplate of simple test code
9616 ac_outfile
=conftest.
$ac_objext
9617 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9618 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9619 _lt_compiler_boilerplate
=`cat conftest.err`
9622 ac_outfile
=conftest.
$ac_objext
9623 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9624 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9625 _lt_linker_boilerplate
=`cat conftest.err`
9630 ## There is no encapsulation within the following macros, do not change
9631 ## the running order or otherwise move them around unless you know exactly
9632 ## what you are doing...
9633 if test -n "$compiler"; then
9635 lt_prog_compiler_no_builtin_flag
=
9637 if test "$GCC" = yes; then
9638 case $cc_basename in
9640 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9642 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9646 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9647 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 lt_cv_prog_compiler_rtti_exceptions
=no
9651 ac_outfile
=conftest.
$ac_objext
9652 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9653 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9654 # Insert the option either (1) after the last *FLAGS variable, or
9655 # (2) before a word containing "conftest.", or (3) at the end.
9656 # Note that $ac_compile itself does not contain backslashes and begins
9657 # with a dollar sign (not a hyphen), so the echo should work correctly.
9658 # The option is referenced via a variable to avoid confusing sed.
9659 lt_compile
=`echo "$ac_compile" | $SED \
9660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9662 -e 's:$: $lt_compiler_flag:'`
9663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9664 (eval "$lt_compile" 2>conftest.err
)
9666 cat conftest.err
>&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 if (exit $ac_status) && test -s "$ac_outfile"; then
9669 # The compiler can only warn and ignore the option if not recognized
9670 # So say no if there are warnings other than the usual output.
9671 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9672 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9673 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9674 lt_cv_prog_compiler_rtti_exceptions
=yes
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9681 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9683 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9684 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9696 lt_prog_compiler_wl
=
9697 lt_prog_compiler_pic
=
9698 lt_prog_compiler_static
=
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9701 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9703 if test "$GCC" = yes; then
9704 lt_prog_compiler_wl
='-Wl,'
9705 lt_prog_compiler_static
='-static'
9709 # All AIX code is PIC.
9710 if test "$host_cpu" = ia64
; then
9711 # AIX 5 now supports IA64 processor
9712 lt_prog_compiler_static
='-Bstatic'
9714 lt_prog_compiler_pic
='-fPIC'
9720 # see comment about AmigaOS4 .so support
9721 lt_prog_compiler_pic
='-fPIC'
9724 # FIXME: we need at least 68020 code to build shared libraries, but
9725 # adding the `-m68020' flag to GCC prevents building anything better,
9727 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9732 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9733 # PIC is the default for these OSes.
9736 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9737 # This hack is so that the source file can tell whether it is being
9738 # built for inclusion in a dll (and should export symbols for example).
9739 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9740 # (--disable-auto-import) libraries
9741 lt_prog_compiler_pic
='-DDLL_EXPORT'
9744 darwin
* | rhapsody
*)
9745 # PIC is the default on this platform
9746 # Common symbols not allowed in MH_DYLIB files
9747 lt_prog_compiler_pic
='-fno-common'
9751 # PIC is the default for Haiku.
9752 # The "-static" flag exists, but is broken.
9753 lt_prog_compiler_static
=
9757 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9758 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9759 # sets the default TLS model and affects inlining.
9765 lt_prog_compiler_pic
='-fPIC'
9771 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9772 # Instead, we relocate shared libraries at runtime.
9776 # Just because we use GCC doesn't mean we suddenly get shared libraries
9777 # on systems that don't support them.
9778 lt_prog_compiler_can_build_shared
=no
9783 # QNX uses GNU C++, but need to define -shared option too, otherwise
9785 lt_prog_compiler_pic
='-fPIC -shared'
9789 if test -d /usr
/nec
; then
9790 lt_prog_compiler_pic
=-Kconform_pic
9795 lt_prog_compiler_pic
='-fPIC'
9799 case $cc_basename in
9800 nvcc
*) # Cuda Compiler Driver 2.2
9801 lt_prog_compiler_wl
='-Xlinker '
9802 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9806 # PORTME Check for flag to pass linker flags through the system compiler.
9809 lt_prog_compiler_wl
='-Wl,'
9810 if test "$host_cpu" = ia64
; then
9811 # AIX 5 now supports IA64 processor
9812 lt_prog_compiler_static
='-Bstatic'
9814 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9818 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9819 # This hack is so that the source file can tell whether it is being
9820 # built for inclusion in a dll (and should export symbols for example).
9821 lt_prog_compiler_pic
='-DDLL_EXPORT'
9824 hpux9
* | hpux10
* | hpux11
*)
9825 lt_prog_compiler_wl
='-Wl,'
9826 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9833 lt_prog_compiler_pic
='+Z'
9836 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9837 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9840 irix5
* | irix6
* | nonstopux
*)
9841 lt_prog_compiler_wl
='-Wl,'
9842 # PIC (with -KPIC) is the default.
9843 lt_prog_compiler_static
='-non_shared'
9846 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9847 case $cc_basename in
9848 # old Intel for x86_64 which still supported -KPIC.
9850 lt_prog_compiler_wl
='-Wl,'
9851 lt_prog_compiler_pic
='-KPIC'
9852 lt_prog_compiler_static
='-static'
9854 # icc used to be incompatible with GCC.
9855 # ICC 10 doesn't accept -KPIC any more.
9857 lt_prog_compiler_wl
='-Wl,'
9858 lt_prog_compiler_pic
='-fPIC'
9859 lt_prog_compiler_static
='-static'
9861 # Lahey Fortran 8.1.
9863 lt_prog_compiler_wl
='-Wl,'
9864 lt_prog_compiler_pic
='--shared'
9865 lt_prog_compiler_static
='--static'
9867 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9868 # Portland Group compilers (*not* the Pentium gcc compiler,
9869 # which looks to be a dead project)
9870 lt_prog_compiler_wl
='-Wl,'
9871 lt_prog_compiler_pic
='-fpic'
9872 lt_prog_compiler_static
='-Bstatic'
9875 lt_prog_compiler_wl
='-Wl,'
9876 # All Alpha code is PIC.
9877 lt_prog_compiler_static
='-non_shared'
9879 xl
* | bgxl
* | bgf
* | mpixl
*)
9880 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9881 lt_prog_compiler_wl
='-Wl,'
9882 lt_prog_compiler_pic
='-qpic'
9883 lt_prog_compiler_static
='-qstaticlink'
9886 case `$CC -V 2>&1 | sed 5q` in
9887 *Sun\ F
* |
*Sun
*Fortran
*)
9888 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9889 lt_prog_compiler_pic
='-KPIC'
9890 lt_prog_compiler_static
='-Bstatic'
9891 lt_prog_compiler_wl
=''
9895 lt_prog_compiler_pic
='-KPIC'
9896 lt_prog_compiler_static
='-Bstatic'
9897 lt_prog_compiler_wl
='-Wl,'
9905 lt_prog_compiler_pic
='-KPIC'
9906 lt_prog_compiler_static
='-Bstatic'
9910 # QNX uses GNU C++, but need to define -shared option too, otherwise
9912 lt_prog_compiler_pic
='-fPIC -shared'
9915 osf3
* | osf4
* | osf5
*)
9916 lt_prog_compiler_wl
='-Wl,'
9917 # All OSF/1 code is PIC.
9918 lt_prog_compiler_static
='-non_shared'
9922 lt_prog_compiler_static
='-non_shared'
9926 lt_prog_compiler_pic
='-KPIC'
9927 lt_prog_compiler_static
='-Bstatic'
9928 case $cc_basename in
9930 lt_prog_compiler_wl
='-Qoption ld ';;
9932 lt_prog_compiler_wl
='-Wl,';;
9937 lt_prog_compiler_wl
='-Qoption ld '
9938 lt_prog_compiler_pic
='-PIC'
9939 lt_prog_compiler_static
='-Bstatic'
9942 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9943 lt_prog_compiler_wl
='-Wl,'
9944 lt_prog_compiler_pic
='-KPIC'
9945 lt_prog_compiler_static
='-Bstatic'
9949 if test -d /usr
/nec
;then
9950 lt_prog_compiler_pic
='-Kconform_pic'
9951 lt_prog_compiler_static
='-Bstatic'
9955 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9956 lt_prog_compiler_wl
='-Wl,'
9957 lt_prog_compiler_pic
='-KPIC'
9958 lt_prog_compiler_static
='-Bstatic'
9962 lt_prog_compiler_wl
='-Wl,'
9963 lt_prog_compiler_can_build_shared
=no
9967 lt_prog_compiler_pic
='-pic'
9968 lt_prog_compiler_static
='-Bstatic'
9972 lt_prog_compiler_can_build_shared
=no
9978 # For platforms which do not support PIC, -DPIC is meaningless:
9980 lt_prog_compiler_pic
=
9983 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9987 $as_echo "$lt_prog_compiler_pic" >&6; }
9995 # Check to make sure the PIC flag actually works.
9997 if test -n "$lt_prog_compiler_pic"; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9999 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10000 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10001 $as_echo_n "(cached) " >&6
10003 lt_cv_prog_compiler_pic_works
=no
10004 ac_outfile
=conftest.
$ac_objext
10005 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10006 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10007 # Insert the option either (1) after the last *FLAGS variable, or
10008 # (2) before a word containing "conftest.", or (3) at the end.
10009 # Note that $ac_compile itself does not contain backslashes and begins
10010 # with a dollar sign (not a hyphen), so the echo should work correctly.
10011 # The option is referenced via a variable to avoid confusing sed.
10012 lt_compile
=`echo "$ac_compile" | $SED \
10013 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10014 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10015 -e 's:$: $lt_compiler_flag:'`
10016 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10017 (eval "$lt_compile" 2>conftest.err
)
10019 cat conftest.err
>&5
10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021 if (exit $ac_status) && test -s "$ac_outfile"; then
10022 # The compiler can only warn and ignore the option if not recognized
10023 # So say no if there are warnings other than the usual output.
10024 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10025 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10026 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10027 lt_cv_prog_compiler_pic_works
=yes
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10034 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10036 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10037 case $lt_prog_compiler_pic in
10039 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10042 lt_prog_compiler_pic
=
10043 lt_prog_compiler_can_build_shared
=no
10054 # Check to make sure the static flag actually works.
10056 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10058 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10059 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10060 $as_echo_n "(cached) " >&6
10062 lt_cv_prog_compiler_static_works
=no
10063 save_LDFLAGS
="$LDFLAGS"
10064 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10065 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10066 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10067 # The linker can only warn and ignore the option if not recognized
10068 # So say no if there are warnings
10069 if test -s conftest.err
; then
10070 # Append any errors to the config.log.
10071 cat conftest.err
1>&5
10072 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10073 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10074 if diff conftest.exp conftest.er2
>/dev
/null
; then
10075 lt_cv_prog_compiler_static_works
=yes
10078 lt_cv_prog_compiler_static_works
=yes
10082 LDFLAGS
="$save_LDFLAGS"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10086 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10088 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10091 lt_prog_compiler_static
=
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10101 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10102 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10105 lt_cv_prog_compiler_c_o
=no
10106 $RM -r conftest
2>/dev
/null
10110 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10112 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10113 # Insert the option either (1) after the last *FLAGS variable, or
10114 # (2) before a word containing "conftest.", or (3) at the end.
10115 # Note that $ac_compile itself does not contain backslashes and begins
10116 # with a dollar sign (not a hyphen), so the echo should work correctly.
10117 lt_compile
=`echo "$ac_compile" | $SED \
10118 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10119 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10120 -e 's:$: $lt_compiler_flag:'`
10121 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10122 (eval "$lt_compile" 2>out
/conftest.err
)
10124 cat out
/conftest.err
>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10128 # The compiler can only warn and ignore the option if not recognized
10129 # So say no if there are warnings
10130 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10131 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10132 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10133 lt_cv_prog_compiler_c_o
=yes
10138 # SGI C++ compiler will create directory out/ii_files/ for
10139 # template instantiation
10140 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10141 $RM out
/* && rmdir out
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10148 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10156 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10157 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10158 $as_echo_n "(cached) " >&6
10160 lt_cv_prog_compiler_c_o
=no
10161 $RM -r conftest
2>/dev
/null
10165 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10167 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10168 # Insert the option either (1) after the last *FLAGS variable, or
10169 # (2) before a word containing "conftest.", or (3) at the end.
10170 # Note that $ac_compile itself does not contain backslashes and begins
10171 # with a dollar sign (not a hyphen), so the echo should work correctly.
10172 lt_compile
=`echo "$ac_compile" | $SED \
10173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10175 -e 's:$: $lt_compiler_flag:'`
10176 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10177 (eval "$lt_compile" 2>out
/conftest.err
)
10179 cat out
/conftest.err
>&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10183 # The compiler can only warn and ignore the option if not recognized
10184 # So say no if there are warnings
10185 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10186 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10187 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10188 lt_cv_prog_compiler_c_o
=yes
10193 # SGI C++ compiler will create directory out/ii_files/ for
10194 # template instantiation
10195 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10196 $RM out
/* && rmdir out
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10203 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10208 hard_links
="nottested"
10209 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10210 # do not overwrite the value of need_locks provided by the user
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10212 $as_echo_n "checking if we can lock with hard links... " >&6; }
10215 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10217 ln conftest.a conftest.b
2>&5 || hard_links
=no
10218 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10220 $as_echo "$hard_links" >&6; }
10221 if test "$hard_links" = no
; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10223 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10236 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10239 allow_undefined_flag
=
10240 always_export_symbols
=no
10242 archive_expsym_cmds
=
10243 compiler_needs_object
=no
10244 enable_shared_with_static_runtimes
=no
10245 export_dynamic_flag_spec
=
10246 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10247 hardcode_automatic
=no
10249 hardcode_direct_absolute
=no
10250 hardcode_libdir_flag_spec
=
10251 hardcode_libdir_flag_spec_ld
=
10252 hardcode_libdir_separator
=
10253 hardcode_minus_L
=no
10254 hardcode_shlibpath_var
=unsupported
10256 link_all_deplibs
=unknown
10258 module_expsym_cmds
=
10259 old_archive_from_new_cmds
=
10260 old_archive_from_expsyms_cmds
=
10261 thread_safe_flag_spec
=
10262 whole_archive_flag_spec
=
10263 # include_expsyms should be a list of space-separated symbols to be *always*
10264 # included in the symbol list
10266 # exclude_expsyms can be an extended regexp of symbols to exclude
10267 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10268 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10269 # as well as any symbol that contains `d'.
10270 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10271 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10272 # platforms (ab)use it in PIC code, but their linkers get confused if
10273 # the symbol is explicitly referenced. Since portable code cannot
10274 # rely on this symbol name, it's probably fine to never include it in
10275 # preloaded symbol tables.
10276 # Exclude shared library initialization/finalization symbols.
10277 extract_expsyms_cmds
=
10280 cygwin
* | mingw
* | pw32
* | cegcc
*)
10281 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10282 # When not using gcc, we currently assume that we are using
10283 # Microsoft Visual C++.
10284 if test "$GCC" != yes; then
10289 # we just hope/assume this is gcc and not c89 (= MSVC++)
10299 # On some targets, GNU ld is compatible enough with the native linker
10300 # that we're better off using the native interface for both.
10301 lt_use_gnu_ld_interface
=no
10302 if test "$with_gnu_ld" = yes; then
10305 # The AIX port of GNU ld has always aspired to compatibility
10306 # with the native linker. However, as the warning in the GNU ld
10307 # block says, versions before 2.19.5* couldn't really create working
10308 # shared libraries, regardless of the interface used.
10309 case `$LD -v 2>&1` in
10310 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10311 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10312 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10314 lt_use_gnu_ld_interface
=yes
10319 lt_use_gnu_ld_interface
=yes
10324 if test "$lt_use_gnu_ld_interface" = yes; then
10325 # If archive_cmds runs LD, not CC, wlarc should be empty
10328 # Set some defaults for GNU ld with shared library support. These
10329 # are reset later if shared libraries are not supported. Putting them
10330 # here allows them to be overridden if necessary.
10331 runpath_var
=LD_RUN_PATH
10332 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10333 export_dynamic_flag_spec
='${wl}--export-dynamic'
10334 # ancient GNU ld didn't support --whole-archive et. al.
10335 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10336 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10338 whole_archive_flag_spec
=
10340 supports_anon_versioning
=no
10341 case `$LD -v 2>&1` in
10342 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10343 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10344 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10345 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10346 *\
2.11.
*) ;; # other 2.11 versions
10347 *) supports_anon_versioning
=yes ;;
10350 # See if GNU ld supports shared libraries.
10353 # On AIX/PPC, the GNU linker is very broken
10354 if test "$host_cpu" != ia64
; then
10358 *** Warning: the GNU linker, at least up to release 2.19, is reported
10359 *** to be unable to reliably create shared libraries on AIX.
10360 *** Therefore, libtool is disabling shared libraries support. If you
10361 *** really care for shared libraries, you may want to install binutils
10362 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10363 *** You will then need to restart the configuration process.
10372 # see comment about AmigaOS4 .so support
10373 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10374 archive_expsym_cmds
=''
10377 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)'
10378 hardcode_libdir_flag_spec
='-L$libdir'
10379 hardcode_minus_L
=yes
10385 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10386 allow_undefined_flag
=unsupported
10387 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10388 # support --undefined. This deserves some investigation. FIXME
10389 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10395 cygwin
* | mingw
* | pw32
* | cegcc
*)
10396 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10397 # as there is no search path for DLLs.
10398 hardcode_libdir_flag_spec
='-L$libdir'
10399 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10400 allow_undefined_flag
=unsupported
10401 always_export_symbols
=no
10402 enable_shared_with_static_runtimes
=yes
10403 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10405 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10406 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10407 # If the export-symbols file already is a .def file (1st line
10408 # is EXPORTS), use it as is; otherwise, prepend...
10409 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10410 cp $export_symbols $output_objdir/$soname.def;
10412 echo EXPORTS > $output_objdir/$soname.def;
10413 cat $export_symbols >> $output_objdir/$soname.def;
10415 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10422 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10423 link_all_deplibs
=yes
10428 hardcode_shlibpath_var
=no
10429 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10430 export_dynamic_flag_spec
='${wl}-E'
10431 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10432 # Instead, shared libraries are loaded at an image base (0x10000000 by
10433 # default) and relocated if they conflict, which is a slow very memory
10434 # consuming and fragmenting process. To avoid this, we pick a random,
10435 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10436 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10437 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10438 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'
10441 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10443 if test "$host_os" = linux-dietlibc
; then
10444 case $cc_basename in
10445 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10448 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10449 && test "$tmp_diet" = no
10451 tmp_addflag
=' $pic_flag'
10452 tmp_sharedflag
='-shared'
10453 case $cc_basename,$host_cpu in
10454 pgcc
*) # Portland Group C compiler
10455 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'
10456 tmp_addflag
=' $pic_flag'
10458 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10459 # Portland Group f77 and f90 compilers
10460 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'
10461 tmp_addflag
=' $pic_flag -Mnomain' ;;
10462 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10463 tmp_addflag
=' -i_dynamic' ;;
10464 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10465 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10466 ifc
* | ifort
*) # Intel Fortran compiler
10467 tmp_addflag
=' -nofor_main' ;;
10468 lf95
*) # Lahey Fortran 8.1
10469 whole_archive_flag_spec
=
10470 tmp_sharedflag
='--shared' ;;
10471 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10472 tmp_sharedflag
='-qmkshrobj'
10474 nvcc
*) # Cuda Compiler Driver 2.2
10475 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'
10476 compiler_needs_object
=yes
10479 case `$CC -V 2>&1 | sed 5q` in
10480 *Sun\ C
*) # Sun C 5.9
10481 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'
10482 compiler_needs_object
=yes
10483 tmp_sharedflag
='-G' ;;
10484 *Sun\ F
*) # Sun Fortran 8.3
10485 tmp_sharedflag
='-G' ;;
10487 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10489 if test "x$supports_anon_versioning" = xyes
; then
10490 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10491 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10492 echo "local: *; };" >> $output_objdir/$libname.ver~
10493 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10496 case $cc_basename in
10497 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10498 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10499 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10500 hardcode_libdir_flag_spec
=
10501 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10502 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10503 if test "x$supports_anon_versioning" = xyes
; then
10504 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10505 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10506 echo "local: *; };" >> $output_objdir/$libname.ver~
10507 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10517 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10518 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10521 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10522 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10527 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10531 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10532 *** create shared libraries on Solaris systems. Therefore, libtool
10533 *** is disabling shared libraries support. We urge you to upgrade GNU
10534 *** binutils to release 2.9.1 or newer. Another option is to modify
10535 *** your PATH or compiler configuration so that the native linker is
10536 *** used, and then restart.
10539 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10540 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10541 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10547 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10548 case `$LD -v 2>&1` in
10549 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10553 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10554 *** reliably create shared libraries on SCO systems. Therefore, libtool
10555 *** is disabling shared libraries support. We urge you to upgrade GNU
10556 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10557 *** your PATH or compiler configuration so that the native linker is
10558 *** used, and then restart.
10563 # For security reasons, it is highly recommended that you always
10564 # use absolute paths for naming shared libraries, and exclude the
10565 # DT_RUNPATH tag from executables and libraries. But doing so
10566 # requires that you compile everything twice, which is a pain.
10567 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10568 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
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'
10579 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10581 hardcode_direct
=yes
10582 hardcode_shlibpath_var
=no
10586 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10587 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10588 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10595 if test "$ld_shlibs" = no
; then
10597 hardcode_libdir_flag_spec
=
10598 export_dynamic_flag_spec
=
10599 whole_archive_flag_spec
=
10602 # PORTME fill in a description of your system's linker (not GNU ld)
10605 allow_undefined_flag
=unsupported
10606 always_export_symbols
=yes
10607 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'
10608 # Note: this linker hardcodes the directories in LIBPATH if there
10609 # are no directories specified by -L.
10610 hardcode_minus_L
=yes
10611 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10612 # Neither direct hardcoding nor static linking is supported with a
10614 hardcode_direct
=unsupported
10619 if test "$host_cpu" = ia64
; then
10620 # On IA64, the linker does run time linking by default, so we don't
10621 # have to do anything special.
10622 aix_use_runtimelinking
=no
10623 exp_sym_flag
='-Bexport'
10626 # If we're using GNU nm, then we don't want the "-C" option.
10627 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10628 # Also, AIX nm treats weak defined symbols like other global
10629 # defined symbols, whereas GNU nm marks them as "W".
10630 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10631 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'
10633 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'
10635 aix_use_runtimelinking
=no
10637 # Test if we are trying to use run time linking or normal
10638 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10639 # need to do runtime linking.
10640 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10641 for ld_flag
in $LDFLAGS; do
10642 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10643 aix_use_runtimelinking
=yes
10650 exp_sym_flag
='-bexport'
10651 no_entry_flag
='-bnoentry'
10654 # When large executables or shared objects are built, AIX ld can
10655 # have problems creating the table of contents. If linking a library
10656 # or program results in "error TOC overflow" add -mminimal-toc to
10657 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10658 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10661 hardcode_direct
=yes
10662 hardcode_direct_absolute
=yes
10663 hardcode_libdir_separator
=':'
10664 link_all_deplibs
=yes
10665 file_list_spec
='${wl}-f,'
10667 if test "$GCC" = yes; then
10668 case $host_os in aix4.
[012]|aix4.
[012].
*)
10669 # We only want to do this on AIX 4.2 and lower, the check
10670 # below for broken collect2 doesn't work under 4.3+
10671 collect2name
=`${CC} -print-prog-name=collect2`
10672 if test -f "$collect2name" &&
10673 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10675 # We have reworked collect2
10678 # We have old collect2
10679 hardcode_direct
=unsupported
10680 # It fails to find uninstalled libraries when the uninstalled
10681 # path is not listed in the libpath. Setting hardcode_minus_L
10682 # to unsupported forces relinking
10683 hardcode_minus_L
=yes
10684 hardcode_libdir_flag_spec
='-L$libdir'
10685 hardcode_libdir_separator
=
10689 shared_flag
='-shared'
10690 if test "$aix_use_runtimelinking" = yes; then
10691 shared_flag
="$shared_flag "'${wl}-G'
10695 if test "$host_cpu" = ia64
; then
10696 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10697 # chokes on -Wl,-G. The following line is correct:
10700 if test "$aix_use_runtimelinking" = yes; then
10701 shared_flag
='${wl}-G'
10703 shared_flag
='${wl}-bM:SRE'
10708 export_dynamic_flag_spec
='${wl}-bexpall'
10709 # It seems that -bexpall does not export symbols beginning with
10710 # underscore (_), so it is better to generate a list of symbols to export.
10711 always_export_symbols
=yes
10712 if test "$aix_use_runtimelinking" = yes; then
10713 # Warning - without using the other runtime loading flags (-brtl),
10714 # -berok will link without error, but may produce a broken library.
10715 allow_undefined_flag
='-berok'
10716 # Determine the default libpath from the value encoded in an
10717 # empty executable.
10718 if test x
$gcc_no_link = xyes
; then
10719 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10732 if ac_fn_c_try_link
"$LINENO"; then :
10734 lt_aix_libpath_sed
='
10735 /Import File Strings/,/^$/ {
10741 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10742 # Check for a 64-bit object if we didn't find anything.
10743 if test -z "$aix_libpath"; then
10744 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10747 rm -f core conftest.err conftest.
$ac_objext \
10748 conftest
$ac_exeext conftest.
$ac_ext
10749 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10751 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10752 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"
10754 if test "$host_cpu" = ia64
; then
10755 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10756 allow_undefined_flag
="-z nodefs"
10757 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"
10759 # Determine the default libpath from the value encoded in an
10760 # empty executable.
10761 if test x
$gcc_no_link = xyes
; then
10762 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10775 if ac_fn_c_try_link
"$LINENO"; then :
10777 lt_aix_libpath_sed
='
10778 /Import File Strings/,/^$/ {
10784 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10785 # Check for a 64-bit object if we didn't find anything.
10786 if test -z "$aix_libpath"; then
10787 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10790 rm -f core conftest.err conftest.
$ac_objext \
10791 conftest
$ac_exeext conftest.
$ac_ext
10792 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10794 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10795 # Warning - without using the other run time loading flags,
10796 # -berok will link without error, but may produce a broken library.
10797 no_undefined_flag
=' ${wl}-bernotok'
10798 allow_undefined_flag
=' ${wl}-berok'
10799 if test "$with_gnu_ld" = yes; then
10800 # We only use this code for GNU lds that support --whole-archive.
10801 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10803 # Exported symbols can be pulled into shared objects from archives
10804 whole_archive_flag_spec
='$convenience'
10806 archive_cmds_need_lc
=yes
10807 # This is similar to how AIX traditionally builds its shared libraries.
10808 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'
10816 # see comment about AmigaOS4 .so support
10817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10818 archive_expsym_cmds
=''
10821 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)'
10822 hardcode_libdir_flag_spec
='-L$libdir'
10823 hardcode_minus_L
=yes
10829 export_dynamic_flag_spec
=-rdynamic
10832 cygwin
* | mingw
* | pw32
* | cegcc
*)
10833 # When not using gcc, we currently assume that we are using
10834 # Microsoft Visual C++.
10835 # hardcode_libdir_flag_spec is actually meaningless, as there is
10836 # no search path for DLLs.
10837 hardcode_libdir_flag_spec
=' '
10838 allow_undefined_flag
=unsupported
10839 # Tell ltmain to make .lib files, not .a files.
10841 # Tell ltmain to make .dll files, not .so files.
10843 # FIXME: Setting linknames here is a bad hack.
10844 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10845 # The linker will automatically build a .lib file if we build a DLL.
10846 old_archive_from_new_cmds
='true'
10847 # FIXME: Should let the user specify the lib program.
10848 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10849 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10850 enable_shared_with_static_runtimes
=yes
10853 darwin
* | rhapsody
*)
10856 archive_cmds_need_lc
=no
10858 hardcode_automatic
=yes
10859 hardcode_shlibpath_var
=unsupported
10860 if test "$lt_cv_ld_force_load" = "yes"; then
10861 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\"`'
10863 whole_archive_flag_spec
=''
10865 link_all_deplibs
=yes
10866 allow_undefined_flag
="$_lt_dar_allow_undefined"
10867 case $cc_basename in
10868 ifort
*) _lt_dar_can_shared
=yes ;;
10869 *) _lt_dar_can_shared
=$GCC ;;
10871 if test "$_lt_dar_can_shared" = "yes"; then
10872 output_verbose_link_cmd
=func_echo_all
10873 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10874 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10875 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}"
10876 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}"
10885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10886 hardcode_libdir_flag_spec
='-L$libdir'
10887 hardcode_shlibpath_var
=no
10890 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10891 # support. Future versions do this automatically, but an explicit c++rt0.o
10892 # does not break anything, and helps significantly (at the cost of a little
10895 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10896 hardcode_libdir_flag_spec
='-R$libdir'
10897 hardcode_direct
=yes
10898 hardcode_shlibpath_var
=no
10901 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_direct
=yes
10905 hardcode_minus_L
=yes
10906 hardcode_shlibpath_var
=no
10909 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10910 freebsd
* | dragonfly
*)
10911 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10912 hardcode_libdir_flag_spec
='-R$libdir'
10913 hardcode_direct
=yes
10914 hardcode_shlibpath_var
=no
10918 if test "$GCC" = yes; then
10919 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'
10921 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'
10923 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10924 hardcode_libdir_separator
=:
10925 hardcode_direct
=yes
10927 # hardcode_minus_L: Not really in the search PATH,
10928 # but as the default location of the library.
10929 hardcode_minus_L
=yes
10930 export_dynamic_flag_spec
='${wl}-E'
10934 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10935 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10937 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10939 if test "$with_gnu_ld" = no
; then
10940 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10941 hardcode_libdir_flag_spec_ld
='+b $libdir'
10942 hardcode_libdir_separator
=:
10943 hardcode_direct
=yes
10944 hardcode_direct_absolute
=yes
10945 export_dynamic_flag_spec
='${wl}-E'
10946 # hardcode_minus_L: Not really in the search PATH,
10947 # but as the default location of the library.
10948 hardcode_minus_L
=yes
10953 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10956 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10959 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10962 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10968 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10975 # Older versions of the 11.00 compiler do not understand -b yet
10976 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10978 $as_echo_n "checking if $CC understands -b... " >&6; }
10979 if ${lt_cv_prog_compiler__b+:} false
; then :
10980 $as_echo_n "(cached) " >&6
10982 lt_cv_prog_compiler__b
=no
10983 save_LDFLAGS
="$LDFLAGS"
10984 LDFLAGS
="$LDFLAGS -b"
10985 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10986 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10987 # The linker can only warn and ignore the option if not recognized
10988 # So say no if there are warnings
10989 if test -s conftest.err
; then
10990 # Append any errors to the config.log.
10991 cat conftest.err
1>&5
10992 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10994 if diff conftest.exp conftest.er2
>/dev
/null
; then
10995 lt_cv_prog_compiler__b
=yes
10998 lt_cv_prog_compiler__b
=yes
11002 LDFLAGS
="$save_LDFLAGS"
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11006 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11008 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11009 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11011 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11017 if test "$with_gnu_ld" = no
; then
11018 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11019 hardcode_libdir_separator
=:
11024 hardcode_shlibpath_var
=no
11027 hardcode_direct
=yes
11028 hardcode_direct_absolute
=yes
11029 export_dynamic_flag_spec
='${wl}-E'
11031 # hardcode_minus_L: Not really in the search PATH,
11032 # but as the default location of the library.
11033 hardcode_minus_L
=yes
11039 irix5
* | irix6
* | nonstopux
*)
11040 if test "$GCC" = yes; then
11041 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'
11042 # Try to use the -exported_symbol ld option, if it does not
11043 # work, assume that -exports_file does not work either and
11044 # implicitly export all symbols.
11045 save_LDFLAGS
="$LDFLAGS"
11046 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11047 if test x
$gcc_no_link = xyes
; then
11048 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11054 if ac_fn_c_try_link
"$LINENO"; then :
11055 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'
11058 rm -f core conftest.err conftest.
$ac_objext \
11059 conftest
$ac_exeext conftest.
$ac_ext
11060 LDFLAGS
="$save_LDFLAGS"
11062 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'
11063 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'
11065 archive_cmds_need_lc
='no'
11066 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11067 hardcode_libdir_separator
=:
11069 link_all_deplibs
=yes
11073 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11074 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11076 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11078 hardcode_libdir_flag_spec
='-R$libdir'
11079 hardcode_direct
=yes
11080 hardcode_shlibpath_var
=no
11084 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11085 hardcode_direct
=yes
11086 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11087 hardcode_libdir_separator
=:
11088 hardcode_shlibpath_var
=no
11095 if test -f /usr
/libexec
/ld.so
; then
11096 hardcode_direct
=yes
11097 hardcode_shlibpath_var
=no
11098 hardcode_direct_absolute
=yes
11099 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11100 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11101 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11102 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11103 export_dynamic_flag_spec
='${wl}-E'
11106 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11107 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11108 hardcode_libdir_flag_spec
='-R$libdir'
11111 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11112 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11122 hardcode_libdir_flag_spec
='-L$libdir'
11123 hardcode_minus_L
=yes
11124 allow_undefined_flag
=unsupported
11125 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'
11126 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11130 if test "$GCC" = yes; then
11131 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11132 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'
11134 allow_undefined_flag
=' -expect_unresolved \*'
11135 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'
11137 archive_cmds_need_lc
='no'
11138 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11139 hardcode_libdir_separator
=:
11142 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11143 if test "$GCC" = yes; then
11144 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11145 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'
11146 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11148 allow_undefined_flag
=' -expect_unresolved \*'
11149 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'
11150 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~
11151 $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'
11153 # Both c and cxx compiler support -rpath directly
11154 hardcode_libdir_flag_spec
='-rpath $libdir'
11156 archive_cmds_need_lc
='no'
11157 hardcode_libdir_separator
=:
11161 no_undefined_flag
=' -z defs'
11162 if test "$GCC" = yes; then
11164 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11165 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11166 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11168 case `$CC -V 2>&1` in
11171 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11172 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11173 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11177 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11178 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11179 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11183 hardcode_libdir_flag_spec
='-R$libdir'
11184 hardcode_shlibpath_var
=no
11186 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11188 # The compiler driver will combine and reorder linker options,
11189 # but understands `-z linker_flag'. GCC discards it without `$wl',
11190 # but is careful enough not to reorder.
11191 # Supported since Solaris 2.6 (maybe 2.5.1?)
11192 if test "$GCC" = yes; then
11193 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11195 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11199 link_all_deplibs
=yes
11203 if test "x$host_vendor" = xsequent
; then
11204 # Use $CC to link under sequent, because it throws in some extra .o
11205 # files that make .init and .fini sections work.
11206 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11208 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11210 hardcode_libdir_flag_spec
='-L$libdir'
11211 hardcode_direct
=yes
11212 hardcode_minus_L
=yes
11213 hardcode_shlibpath_var
=no
11217 case $host_vendor in
11219 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11220 hardcode_direct
=yes # is this really true???
11223 ## LD is ld it makes a PLAMLIB
11224 ## CC just makes a GrossModule.
11225 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11226 reload_cmds
='$CC -r -o $output$reload_objs'
11230 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11231 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11234 runpath_var
='LD_RUN_PATH'
11235 hardcode_shlibpath_var
=no
11239 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11240 hardcode_shlibpath_var
=no
11241 export_dynamic_flag_spec
='-Bexport'
11245 if test -d /usr
/nec
; then
11246 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11247 hardcode_shlibpath_var
=no
11248 runpath_var
=LD_RUN_PATH
11249 hardcode_runpath_var
=yes
11254 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11255 no_undefined_flag
='${wl}-z,text'
11256 archive_cmds_need_lc
=no
11257 hardcode_shlibpath_var
=no
11258 runpath_var
='LD_RUN_PATH'
11260 if test "$GCC" = yes; then
11261 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11262 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11269 sysv5
* | sco3.2v5
* | sco5v6
*)
11270 # Note: We can NOT use -z defs as we might desire, because we do not
11271 # link with -lc, and that would cause any symbols used from libc to
11272 # always be unresolved, which means just about no library would
11273 # ever link correctly. If we're not using GNU ld we use -z text
11274 # though, which does catch some bad symbols but isn't as heavy-handed
11276 no_undefined_flag
='${wl}-z,text'
11277 allow_undefined_flag
='${wl}-z,nodefs'
11278 archive_cmds_need_lc
=no
11279 hardcode_shlibpath_var
=no
11280 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11281 hardcode_libdir_separator
=':'
11282 link_all_deplibs
=yes
11283 export_dynamic_flag_spec
='${wl}-Bexport'
11284 runpath_var
='LD_RUN_PATH'
11286 if test "$GCC" = yes; then
11287 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11288 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11290 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11291 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11296 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11297 hardcode_libdir_flag_spec
='-L$libdir'
11298 hardcode_shlibpath_var
=no
11306 if test x
$host_vendor = xsni
; then
11308 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11309 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11316 $as_echo "$ld_shlibs" >&6; }
11317 test "$ld_shlibs" = no
&& can_build_shared
=no
11319 with_gnu_ld
=$with_gnu_ld
11336 # Do we need to explicitly link libc?
11338 case "x$archive_cmds_need_lc" in
11340 # Assume -lc should be added
11341 archive_cmds_need_lc
=yes
11343 if test "$enable_shared" = yes && test "$GCC" = yes; then
11344 case $archive_cmds in
11346 # FIXME: we may have to deal with multi-command sequences.
11349 # Test whether the compiler implicitly links with -lc since on some
11350 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11351 # to ld, don't add -lc before -lgcc.
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11353 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11354 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11355 $as_echo_n "(cached) " >&6
11358 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11361 (eval $ac_compile) 2>&5
11363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11364 test $ac_status = 0; } 2>conftest.err
; then
11367 libobjs
=conftest.
$ac_objext
11369 wl
=$lt_prog_compiler_wl
11370 pic_flag
=$lt_prog_compiler_pic
11376 lt_save_allow_undefined_flag
=$allow_undefined_flag
11377 allow_undefined_flag
=
11378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11379 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11382 test $ac_status = 0; }
11384 lt_cv_archive_cmds_need_lc
=no
11386 lt_cv_archive_cmds_need_lc
=yes
11388 allow_undefined_flag
=$lt_save_allow_undefined_flag
11390 cat conftest.err
1>&5
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11396 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11397 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11561 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11563 if test "$GCC" = yes; then
11565 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11566 *) lt_awk_arg
="/^libraries:/" ;;
11569 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11570 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11572 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11573 case $lt_search_path_spec in
11575 # if the path contains ";" then we assume it to be the separator
11576 # otherwise default to the standard path separator (i.e. ":") - it is
11577 # assumed that no part of a normal pathname contains ";" but that should
11578 # okay in the real world where ";" in dirpaths is itself problematic.
11579 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11582 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11585 # Ok, now we have the path, separated by spaces, we can step through it
11586 # and add multilib dir if necessary.
11587 lt_tmp_lt_search_path_spec
=
11588 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11589 for lt_sys_path
in $lt_search_path_spec; do
11590 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11591 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11593 test -d "$lt_sys_path" && \
11594 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11597 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11598 BEGIN {RS=" "; FS="/|\n";} {
11601 for (lt_i = NF; lt_i > 0; lt_i--) {
11602 if ($lt_i != "" && $lt_i != ".") {
11603 if ($lt_i == "..") {
11606 if (lt_count == 0) {
11607 lt_foo="/" $lt_i lt_foo;
11614 if (lt_foo != "") { lt_freq[lt_foo]++; }
11615 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11617 # AWK program above erroneously prepends '/' to C:/dos/paths
11620 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11621 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11623 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11625 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11627 library_names_spec
=
11628 libname_spec
='lib$name'
11632 postuninstall_cmds
=
11636 shlibpath_overrides_runpath
=unknown
11638 dynamic_linker
="$host_os ld.so"
11639 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11640 need_lib_prefix
=unknown
11641 hardcode_into_libs
=no
11643 # when you set need_version to no, make sure it does not cause -set_version
11644 # flags to be left without arguments
11645 need_version
=unknown
11650 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11651 shlibpath_var
=LIBPATH
11653 # AIX 3 has no versioning support, so we append a major version to the name.
11654 soname_spec
='${libname}${release}${shared_ext}$major'
11661 hardcode_into_libs
=yes
11662 if test "$host_cpu" = ia64
; then
11663 # AIX 5 supports IA64
11664 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11665 shlibpath_var
=LD_LIBRARY_PATH
11667 # With GCC up to 2.95.x, collect2 would create an import file
11668 # for dependence libraries. The import file would start with
11669 # the line `#! .'. This would cause the generated library to
11670 # depend on `.', always an invalid library. This was fixed in
11671 # development snapshots of GCC prior to 3.0.
11673 aix4 | aix4.
[01] | aix4.
[01].
*)
11674 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11676 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11679 can_build_shared
=no
11683 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11684 # soname into executable. Probably we can add versioning support to
11685 # collect2, so additional links can be useful in future.
11686 if test "$aix_use_runtimelinking" = yes; then
11687 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11688 # instead of lib<name>.a to let people know that these are not
11689 # typical AIX shared libraries.
11690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692 # We preserve .a as extension for shared libraries through AIX4.2
11693 # and later when we are not doing run time linking.
11694 library_names_spec
='${libname}${release}.a $libname.a'
11695 soname_spec
='${libname}${release}${shared_ext}$major'
11697 shlibpath_var
=LIBPATH
11704 # Since July 2007 AmigaOS4 officially supports .so libraries.
11705 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11709 library_names_spec
='$libname.ixlibrary $libname.a'
11710 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11711 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'
11717 library_names_spec
='${libname}${shared_ext}'
11718 dynamic_linker
="$host_os ld.so"
11719 shlibpath_var
=LIBRARY_PATH
11725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 soname_spec
='${libname}${release}${shared_ext}$major'
11727 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11728 shlibpath_var
=LD_LIBRARY_PATH
11729 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11730 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11731 # the default ld.so.conf also contains /usr/contrib/lib and
11732 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11733 # libtool to hard-code these into programs
11736 cygwin
* | mingw
* | pw32
* | cegcc
*)
11737 version_type
=windows
11742 case $GCC,$host_os in
11743 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11744 library_names_spec
='$libname.dll.a'
11745 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11746 postinstall_cmds
='base_file=`basename \${file}`~
11747 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11748 dldir=$destdir/`dirname \$dlpath`~
11749 test -d \$dldir || mkdir -p \$dldir~
11750 $install_prog $dir/$dlname \$dldir/$dlname~
11751 chmod a+x \$dldir/$dlname~
11752 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11753 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11755 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11756 dlpath=$dir/\$dldll~
11758 shlibpath_overrides_runpath
=yes
11762 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11763 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11765 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11768 # MinGW DLLs use traditional 'lib' prefix
11769 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11772 # pw32 DLLs use 'pw' prefix rather than 'lib'
11773 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11779 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11782 dynamic_linker
='Win32 ld.exe'
11783 # FIXME: first we should search . and the directory the executable is in
11787 darwin
* | rhapsody
*)
11788 dynamic_linker
="$host_os dyld"
11789 version_type
=darwin
11792 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11793 soname_spec
='${libname}${release}${major}$shared_ext'
11794 shlibpath_overrides_runpath
=yes
11795 shlibpath_var
=DYLD_LIBRARY_PATH
11796 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11798 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11799 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11807 soname_spec
='${libname}${release}${shared_ext}$major'
11808 shlibpath_var
=LD_LIBRARY_PATH
11811 freebsd
* | dragonfly
*)
11812 # DragonFly does not have aout. When/if they implement a new
11813 # versioning mechanism, adjust this.
11814 if test -x /usr
/bin
/objformat
; then
11815 objformat
=`/usr/bin/objformat`
11818 freebsd
[23].
*) objformat
=aout
;;
11819 *) objformat
=elf
;;
11822 version_type
=freebsd-
$objformat
11823 case $version_type in
11825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11830 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11834 shlibpath_var
=LD_LIBRARY_PATH
11837 shlibpath_overrides_runpath
=yes
11839 freebsd3.
[01]* | freebsdelf3.
[01]*)
11840 shlibpath_overrides_runpath
=yes
11841 hardcode_into_libs
=yes
11843 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11844 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11845 shlibpath_overrides_runpath
=no
11846 hardcode_into_libs
=yes
11848 *) # from 4.6 on, and DragonFly
11849 shlibpath_overrides_runpath
=yes
11850 hardcode_into_libs
=yes
11859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11860 soname_spec
='${libname}${release}${shared_ext}$major'
11861 shlibpath_var
=LD_LIBRARY_PATH
11862 hardcode_into_libs
=yes
11869 dynamic_linker
="$host_os runtime_loader"
11870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11871 soname_spec
='${libname}${release}${shared_ext}$major'
11872 shlibpath_var
=LIBRARY_PATH
11873 shlibpath_overrides_runpath
=yes
11874 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11875 hardcode_into_libs
=yes
11878 hpux9
* | hpux10
* | hpux11
*)
11879 # Give a soname corresponding to the major version so that dld.sl refuses to
11880 # link against other versions.
11887 hardcode_into_libs
=yes
11888 dynamic_linker
="$host_os dld.so"
11889 shlibpath_var
=LD_LIBRARY_PATH
11890 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 if test "X$HPUX_IA64_MODE" = X32
; then
11894 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11896 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11902 hardcode_into_libs
=yes
11903 dynamic_linker
="$host_os dld.sl"
11904 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11907 soname_spec
='${libname}${release}${shared_ext}$major'
11908 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11909 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11913 dynamic_linker
="$host_os dld.sl"
11914 shlibpath_var
=SHLIB_PATH
11915 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11917 soname_spec
='${libname}${release}${shared_ext}$major'
11920 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11921 postinstall_cmds
='chmod 555 $lib'
11922 # or fails outright, so override atomically:
11923 install_override_mode
=555
11930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11931 soname_spec
='${libname}${release}${shared_ext}$major'
11932 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11933 shlibpath_var
=LD_LIBRARY_PATH
11934 shlibpath_overrides_runpath
=no
11935 hardcode_into_libs
=yes
11938 irix5
* | irix6
* | nonstopux
*)
11940 nonstopux
*) version_type
=nonstopux
;;
11942 if test "$lt_cv_prog_gnu_ld" = yes; then
11950 soname_spec
='${libname}${release}${shared_ext}$major'
11951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11953 irix5
* | nonstopux
*)
11954 libsuff
= shlibsuff
=
11957 case $LD in # libtool.m4 will add one of these switches to LD
11958 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11959 libsuff
= shlibsuff
= libmagic
=32-bit;;
11960 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11961 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11962 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11963 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11964 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11968 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11969 shlibpath_overrides_runpath
=no
11970 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11971 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11972 hardcode_into_libs
=yes
11975 # No shared lib support for Linux oldld, aout, or coff.
11976 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11980 # This must be Linux ELF.
11981 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11986 soname_spec
='${libname}${release}${shared_ext}$major'
11987 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11988 shlibpath_var
=LD_LIBRARY_PATH
11989 shlibpath_overrides_runpath
=no
11991 # Some binutils ld are patched to set DT_RUNPATH
11992 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11993 $as_echo_n "(cached) " >&6
11995 lt_cv_shlibpath_overrides_runpath
=no
11996 save_LDFLAGS
=$LDFLAGS
11997 save_libdir
=$libdir
11998 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11999 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12000 if test x
$gcc_no_link = xyes
; then
12001 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12014 if ac_fn_c_try_link
"$LINENO"; then :
12015 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12016 lt_cv_shlibpath_overrides_runpath
=yes
12019 rm -f core conftest.err conftest.
$ac_objext \
12020 conftest
$ac_exeext conftest.
$ac_ext
12021 LDFLAGS
=$save_LDFLAGS
12022 libdir
=$save_libdir
12026 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12028 # This implies no fast_install, which is unacceptable.
12029 # Some rework will be needed to allow for fast_install
12030 # before this can be enabled.
12031 hardcode_into_libs
=yes
12033 # Append ld.so.conf contents to the search path
12034 if test -f /etc
/ld.so.conf
; then
12035 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' ' '`
12036 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12039 # We used to test for /lib/ld.so.1 and disable shared libraries on
12040 # powerpc, because MkLinux only supported shared libraries with the
12041 # GNU dynamic linker. Since this was broken with cross compilers,
12042 # most powerpc-linux boxes support dynamic linking these days and
12043 # people can always --disable-shared, the test was removed, and we
12044 # assume the GNU/Linux dynamic linker is in use.
12045 dynamic_linker
='GNU/Linux ld.so'
12052 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12055 dynamic_linker
='NetBSD (a.out) ld.so'
12057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12058 soname_spec
='${libname}${release}${shared_ext}$major'
12059 dynamic_linker
='NetBSD ld.elf_so'
12061 shlibpath_var
=LD_LIBRARY_PATH
12062 shlibpath_overrides_runpath
=yes
12063 hardcode_into_libs
=yes
12068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12069 shlibpath_var
=LD_LIBRARY_PATH
12070 shlibpath_overrides_runpath
=yes
12077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12078 soname_spec
='${libname}${release}${shared_ext}$major'
12079 shlibpath_var
=LD_LIBRARY_PATH
12080 shlibpath_overrides_runpath
=no
12081 hardcode_into_libs
=yes
12082 dynamic_linker
='ldqnx.so'
12087 sys_lib_dlsearch_path_spec
="/usr/lib"
12089 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12091 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12092 *) need_version
=no
;;
12094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12096 shlibpath_var
=LD_LIBRARY_PATH
12097 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12099 openbsd2.
[89] | openbsd2.
[89].
*)
12100 shlibpath_overrides_runpath
=no
12103 shlibpath_overrides_runpath
=yes
12107 shlibpath_overrides_runpath
=yes
12112 libname_spec
='$name'
12115 library_names_spec
='$libname${shared_ext} $libname.a'
12116 dynamic_linker
='OS/2 ld.exe'
12117 shlibpath_var
=LIBPATH
12120 osf3
* | osf4
* | osf5
*)
12124 soname_spec
='${libname}${release}${shared_ext}$major'
12125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12126 shlibpath_var
=LD_LIBRARY_PATH
12127 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12128 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12140 soname_spec
='${libname}${release}${shared_ext}$major'
12141 shlibpath_var
=LD_LIBRARY_PATH
12142 shlibpath_overrides_runpath
=yes
12143 hardcode_into_libs
=yes
12144 # ldd complains unless libraries are executable
12145 postinstall_cmds
='chmod +x $lib'
12150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12151 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12152 shlibpath_var
=LD_LIBRARY_PATH
12153 shlibpath_overrides_runpath
=yes
12154 if test "$with_gnu_ld" = yes; then
12162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12163 soname_spec
='${libname}${release}${shared_ext}$major'
12164 shlibpath_var
=LD_LIBRARY_PATH
12165 case $host_vendor in
12167 shlibpath_overrides_runpath
=no
12169 runpath_var
=LD_RUN_PATH
12177 shlibpath_overrides_runpath
=no
12178 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12184 if test -d /usr
/nec
;then
12186 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12187 soname_spec
='$libname${shared_ext}.$major'
12188 shlibpath_var
=LD_LIBRARY_PATH
12192 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12193 version_type
=freebsd-elf
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12198 shlibpath_var
=LD_LIBRARY_PATH
12199 shlibpath_overrides_runpath
=yes
12200 hardcode_into_libs
=yes
12201 if test "$with_gnu_ld" = yes; then
12202 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12204 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12207 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12211 sys_lib_dlsearch_path_spec
='/usr/lib'
12215 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12220 shlibpath_var
=LD_LIBRARY_PATH
12221 shlibpath_overrides_runpath
=no
12222 hardcode_into_libs
=yes
12227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12228 soname_spec
='${libname}${release}${shared_ext}$major'
12229 shlibpath_var
=LD_LIBRARY_PATH
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12237 $as_echo "$dynamic_linker" >&6; }
12238 test "$dynamic_linker" = no
&& can_build_shared
=no
12240 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12241 if test "$GCC" = yes; then
12242 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12245 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12246 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12248 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12249 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12344 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12346 if test -n "$hardcode_libdir_flag_spec" ||
12347 test -n "$runpath_var" ||
12348 test "X$hardcode_automatic" = "Xyes" ; then
12350 # We can hardcode non-existent directories.
12351 if test "$hardcode_direct" != no
&&
12352 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12353 # have to relink, otherwise we might link with an installed library
12354 # when we should be linking with a yet-to-be-installed one
12355 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12356 test "$hardcode_minus_L" != no
; then
12357 # Linking always hardcodes the temporary library directory.
12358 hardcode_action
=relink
12360 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12361 hardcode_action
=immediate
12364 # We cannot hardcode anything, or else we can only hardcode existing
12366 hardcode_action
=unsupported
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12369 $as_echo "$hardcode_action" >&6; }
12371 if test "$hardcode_action" = relink ||
12372 test "$inherit_rpath" = yes; then
12373 # Fast installation is not supported
12374 enable_fast_install
=no
12375 elif test "$shlibpath_overrides_runpath" = yes ||
12376 test "$enable_shared" = no
; then
12377 # Fast installation is not necessary
12378 enable_fast_install
=needless
12386 if test "x$enable_dlopen" != xyes
; then
12387 enable_dlopen
=unknown
12388 enable_dlopen_self
=unknown
12389 enable_dlopen_self_static
=unknown
12396 lt_cv_dlopen
="load_add_on"
12398 lt_cv_dlopen_self
=yes
12401 mingw
* | pw32
* | cegcc
*)
12402 lt_cv_dlopen
="LoadLibrary"
12407 lt_cv_dlopen
="dlopen"
12412 # if libdl is installed we need to link against it
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12414 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12415 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12416 $as_echo_n "(cached) " >&6
12418 ac_check_lib_save_LIBS
=$LIBS
12420 if test x
$gcc_no_link = xyes
; then
12421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12441 if ac_fn_c_try_link
"$LINENO"; then :
12442 ac_cv_lib_dl_dlopen
=yes
12444 ac_cv_lib_dl_dlopen
=no
12446 rm -f core conftest.err conftest.
$ac_objext \
12447 conftest
$ac_exeext conftest.
$ac_ext
12448 LIBS
=$ac_check_lib_save_LIBS
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12451 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12452 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12453 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12456 lt_cv_dlopen
="dyld"
12458 lt_cv_dlopen_self
=yes
12465 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12466 if test "x$ac_cv_func_shl_load" = xyes
; then :
12467 lt_cv_dlopen
="shl_load"
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12470 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12471 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12472 $as_echo_n "(cached) " >&6
12474 ac_check_lib_save_LIBS
=$LIBS
12476 if test x
$gcc_no_link = xyes
; then
12477 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 /* Override any GCC internal prototype to avoid an error.
12483 Use char because int might match the return type of a GCC
12484 builtin and then its argument prototype would still apply. */
12492 return shl_load ();
12497 if ac_fn_c_try_link
"$LINENO"; then :
12498 ac_cv_lib_dld_shl_load
=yes
12500 ac_cv_lib_dld_shl_load
=no
12502 rm -f core conftest.err conftest.
$ac_objext \
12503 conftest
$ac_exeext conftest.
$ac_ext
12504 LIBS
=$ac_check_lib_save_LIBS
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12507 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12508 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12509 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12511 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12512 if test "x$ac_cv_func_dlopen" = xyes
; then :
12513 lt_cv_dlopen
="dlopen"
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12516 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12517 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12518 $as_echo_n "(cached) " >&6
12520 ac_check_lib_save_LIBS
=$LIBS
12522 if test x
$gcc_no_link = xyes
; then
12523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12543 if ac_fn_c_try_link
"$LINENO"; then :
12544 ac_cv_lib_dl_dlopen
=yes
12546 ac_cv_lib_dl_dlopen
=no
12548 rm -f core conftest.err conftest.
$ac_objext \
12549 conftest
$ac_exeext conftest.
$ac_ext
12550 LIBS
=$ac_check_lib_save_LIBS
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12553 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12554 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12555 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12558 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12559 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 ac_check_lib_save_LIBS
=$LIBS
12563 LIBS
="-lsvld $LIBS"
12564 if test x
$gcc_no_link = xyes
; then
12565 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12585 if ac_fn_c_try_link
"$LINENO"; then :
12586 ac_cv_lib_svld_dlopen
=yes
12588 ac_cv_lib_svld_dlopen
=no
12590 rm -f core conftest.err conftest.
$ac_objext \
12591 conftest
$ac_exeext conftest.
$ac_ext
12592 LIBS
=$ac_check_lib_save_LIBS
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12595 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12596 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12597 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12600 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12601 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12602 $as_echo_n "(cached) " >&6
12604 ac_check_lib_save_LIBS
=$LIBS
12606 if test x
$gcc_no_link = xyes
; then
12607 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12622 return dld_link ();
12627 if ac_fn_c_try_link
"$LINENO"; then :
12628 ac_cv_lib_dld_dld_link
=yes
12630 ac_cv_lib_dld_dld_link
=no
12632 rm -f core conftest.err conftest.
$ac_objext \
12633 conftest
$ac_exeext conftest.
$ac_ext
12634 LIBS
=$ac_check_lib_save_LIBS
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12637 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12638 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12639 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12660 if test "x$lt_cv_dlopen" != xno
; then
12666 case $lt_cv_dlopen in
12668 save_CPPFLAGS
="$CPPFLAGS"
12669 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12671 save_LDFLAGS
="$LDFLAGS"
12672 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12675 LIBS
="$lt_cv_dlopen_libs $LIBS"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12678 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12679 if ${lt_cv_dlopen_self+:} false
; then :
12680 $as_echo_n "(cached) " >&6
12682 if test "$cross_compiling" = yes; then :
12683 lt_cv_dlopen_self
=cross
12685 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12686 lt_status
=$lt_dlunknown
12687 cat > conftest.
$ac_ext <<_LT_EOF
12688 #line 12688 "configure"
12689 #include "confdefs.h"
12698 # define LT_DLGLOBAL RTLD_GLOBAL
12701 # define LT_DLGLOBAL DL_GLOBAL
12703 # define LT_DLGLOBAL 0
12707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12708 find out it does not work in some platform. */
12709 #ifndef LT_DLLAZY_OR_NOW
12711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12714 # define LT_DLLAZY_OR_NOW DL_LAZY
12717 # define LT_DLLAZY_OR_NOW RTLD_NOW
12720 # define LT_DLLAZY_OR_NOW DL_NOW
12722 # define LT_DLLAZY_OR_NOW 0
12729 /* When -fvisbility=hidden is used, assume the code has been annotated
12730 correspondingly for the symbols needed. */
12731 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12732 void fnord () __attribute__((visibility("default")));
12735 void fnord () { int i=42; }
12738 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12739 int status = $lt_dlunknown;
12743 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12746 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12747 else puts (dlerror ());
12749 /* dlclose (self); */
12757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12758 (eval $ac_link) 2>&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12762 (.
/conftest
; exit; ) >&5 2>/dev
/null
12764 case x
$lt_status in
12765 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12766 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12767 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12770 # compilation failed
12771 lt_cv_dlopen_self
=no
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12779 $as_echo "$lt_cv_dlopen_self" >&6; }
12781 if test "x$lt_cv_dlopen_self" = xyes
; then
12782 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12784 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12785 if ${lt_cv_dlopen_self_static+:} false
; then :
12786 $as_echo_n "(cached) " >&6
12788 if test "$cross_compiling" = yes; then :
12789 lt_cv_dlopen_self_static
=cross
12791 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12792 lt_status
=$lt_dlunknown
12793 cat > conftest.
$ac_ext <<_LT_EOF
12794 #line 12794 "configure"
12795 #include "confdefs.h"
12804 # define LT_DLGLOBAL RTLD_GLOBAL
12807 # define LT_DLGLOBAL DL_GLOBAL
12809 # define LT_DLGLOBAL 0
12813 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12814 find out it does not work in some platform. */
12815 #ifndef LT_DLLAZY_OR_NOW
12817 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12820 # define LT_DLLAZY_OR_NOW DL_LAZY
12823 # define LT_DLLAZY_OR_NOW RTLD_NOW
12826 # define LT_DLLAZY_OR_NOW DL_NOW
12828 # define LT_DLLAZY_OR_NOW 0
12835 /* When -fvisbility=hidden is used, assume the code has been annotated
12836 correspondingly for the symbols needed. */
12837 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12838 void fnord () __attribute__((visibility("default")));
12841 void fnord () { int i=42; }
12844 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12845 int status = $lt_dlunknown;
12849 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12852 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12853 else puts (dlerror ());
12855 /* dlclose (self); */
12863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12864 (eval $ac_link) 2>&5
12866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12867 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12868 (.
/conftest
; exit; ) >&5 2>/dev
/null
12870 case x
$lt_status in
12871 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12872 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12873 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12876 # compilation failed
12877 lt_cv_dlopen_self_static
=no
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12885 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12888 CPPFLAGS
="$save_CPPFLAGS"
12889 LDFLAGS
="$save_LDFLAGS"
12894 case $lt_cv_dlopen_self in
12895 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12896 *) enable_dlopen_self
=unknown
;;
12899 case $lt_cv_dlopen_self_static in
12900 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12901 *) enable_dlopen_self_static
=unknown
;;
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12924 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12925 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12926 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12927 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12929 $as_echo "yes" >&6; }
12931 # FIXME - insert some real tests, host_os isn't really good enough
12934 if test -n "$STRIP" ; then
12935 striplib
="$STRIP -x"
12936 old_striplib
="$STRIP -S"
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12938 $as_echo "yes" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 $as_echo "no" >&6; }
12962 # Report which library types will actually be built
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12964 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12966 $as_echo "$can_build_shared" >&6; }
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12969 $as_echo_n "checking whether to build shared libraries... " >&6; }
12970 test "$can_build_shared" = "no" && enable_shared
=no
12972 # On AIX, shared libraries and static libraries use the same namespace, and
12973 # are all built from PIC.
12976 test "$enable_shared" = yes && enable_static
=no
12977 if test -n "$RANLIB"; then
12978 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12979 postinstall_cmds
='$RANLIB $lib'
12984 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12985 test "$enable_shared" = yes && enable_static
=no
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12990 $as_echo "$enable_shared" >&6; }
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12993 $as_echo_n "checking whether to build static libraries... " >&6; }
12994 # Make sure either enable_shared or enable_static is yes.
12995 test "$enable_shared" = yes || enable_static
=yes
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12997 $as_echo "$enable_static" >&6; }
13004 ac_cpp
='$CPP $CPPFLAGS'
13005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13023 ac_config_commands
="$ac_config_commands libtool"
13028 # Only expand once:
13035 *-cygwin* |
*-mingw*)
13036 # 'host' will be top-level target in the case of a target lib,
13037 # we must compare to with_cross_host to decide if this is a native
13038 # or cross-compiler and select where to install dlls appropriately.
13039 if test -n "$with_cross_host" &&
13040 test x
"$with_cross_host" != x
"no"; then
13041 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13043 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13055 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13057 # We need gfortran to compile parts of the library
13058 #AC_PROG_FC(gfortran)
13060 ac_ext
=${ac_fc_srcext-f}
13061 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13062 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13063 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13064 if test -n "$ac_tool_prefix"; then
13065 for ac_prog
in gfortran
13067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13068 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13070 $as_echo_n "checking for $ac_word... " >&6; }
13071 if ${ac_cv_prog_FC+:} false
; then :
13072 $as_echo_n "(cached) " >&6
13074 if test -n "$FC"; then
13075 ac_cv_prog_FC
="$FC" # Let the user override the test.
13077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13078 for as_dir
in $PATH
13081 test -z "$as_dir" && as_dir
=.
13082 for ac_exec_ext
in '' $ac_executable_extensions; do
13083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13084 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13095 if test -n "$FC"; then
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13097 $as_echo "$FC" >&6; }
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13100 $as_echo "no" >&6; }
13104 test -n "$FC" && break
13107 if test -z "$FC"; then
13109 for ac_prog
in gfortran
13111 # Extract the first word of "$ac_prog", so it can be a program name with args.
13112 set dummy
$ac_prog; ac_word
=$2
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13114 $as_echo_n "checking for $ac_word... " >&6; }
13115 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13116 $as_echo_n "(cached) " >&6
13118 if test -n "$ac_ct_FC"; then
13119 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13122 for as_dir
in $PATH
13125 test -z "$as_dir" && as_dir
=.
13126 for ac_exec_ext
in '' $ac_executable_extensions; do
13127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13128 ac_cv_prog_ac_ct_FC
="$ac_prog"
13129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13138 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13139 if test -n "$ac_ct_FC"; then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13141 $as_echo "$ac_ct_FC" >&6; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13144 $as_echo "no" >&6; }
13148 test -n "$ac_ct_FC" && break
13151 if test "x$ac_ct_FC" = x
; then
13154 case $cross_compiling:$ac_tool_warned in
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13158 ac_tool_warned
=yes ;;
13165 # Provide some information about the compiler.
13166 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13169 for ac_option
in --version -v -V -qversion; do
13170 { { ac_try
="$ac_compiler $ac_option >&5"
13171 case "(($ac_try" in
13172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13173 *) ac_try_echo=$ac_try;;
13175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13176 $as_echo "$ac_try_echo"; } >&5
13177 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13179 if test -s conftest.err; then
13181 ... rest of stderr output deleted ...
13182 10q' conftest.err >conftest.er1
13183 cat conftest.er1 >&5
13185 rm -f conftest.er1 conftest.err
13186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187 test $ac_status = 0; }
13191 # If we don't use `.F
' as extension, the preprocessor is not run on the
13192 # input file. (Note that this only needs to work for GNU compilers.)
13193 ac_save_ext=$ac_ext
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13196 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13197 if ${ac_cv_fc_compiler_gnu+:} false; then :
13198 $as_echo_n "(cached) " >&6
13200 cat > conftest.$ac_ext <<_ACEOF
13208 if ac_fn_fc_try_compile "$LINENO"; then :
13209 ac_compiler_gnu=yes
13213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13214 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13218 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13219 ac_ext=$ac_save_ext
13220 ac_test_FCFLAGS=${FCFLAGS+set}
13221 ac_save_FCFLAGS=$FCFLAGS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13224 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13225 if ${ac_cv_prog_fc_g+:} false; then :
13226 $as_echo_n "(cached) " >&6
13229 cat > conftest.$ac_ext <<_ACEOF
13234 if ac_fn_fc_try_compile "$LINENO"; then :
13235 ac_cv_prog_fc_g=yes
13239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13243 $as_echo "$ac_cv_prog_fc_g" >&6; }
13244 if test "$ac_test_FCFLAGS" = set; then
13245 FCFLAGS=$ac_save_FCFLAGS
13246 elif test $ac_cv_prog_fc_g = yes; then
13247 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13253 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13260 if test $ac_compiler_gnu = yes; then
13266 ac_cpp='$CPP $CPPFLAGS'
13267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13268 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13271 ac_ext=${ac_fc_srcext-f}
13272 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13273 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13274 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13277 if test -z "$FC" || test "X$FC" = "Xno"; then
13281 archive_cmds_need_lc_FC=no
13282 allow_undefined_flag_FC=
13283 always_export_symbols_FC=no
13284 archive_expsym_cmds_FC=
13285 export_dynamic_flag_spec_FC=
13286 hardcode_direct_FC=no
13287 hardcode_direct_absolute_FC=no
13288 hardcode_libdir_flag_spec_FC=
13289 hardcode_libdir_flag_spec_ld_FC=
13290 hardcode_libdir_separator_FC=
13291 hardcode_minus_L_FC=no
13292 hardcode_automatic_FC=no
13293 inherit_rpath_FC=no
13295 module_expsym_cmds_FC=
13296 link_all_deplibs_FC=unknown
13297 old_archive_cmds_FC=$old_archive_cmds
13298 reload_flag_FC=$reload_flag
13299 reload_cmds_FC=$reload_cmds
13300 no_undefined_flag_FC=
13301 whole_archive_flag_spec_FC=
13302 enable_shared_with_static_runtimes_FC=no
13304 # Source file extension for fc test sources.
13305 ac_ext=${ac_fc_srcext-f}
13307 # Object file extension for compiled fc test sources.
13311 # No sense in running all these tests if we already determined that
13312 # the FC compiler isn't working. Some variables
(like enable_shared
)
13313 # are currently assumed to apply to all compilers on this platform,
13314 # and will be corrupted by setting them based on a non-working compiler.
13315 if test "$_lt_disable_FC" != yes; then
13316 # Code to be used in simple compile tests
13317 lt_simple_compile_test_code
="\
13323 # Code to be used in simple link tests
13324 lt_simple_link_test_code
="\
13329 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13336 # If no C compiler was specified, use CC.
13339 # If no C compiler flags were specified, use CFLAGS.
13340 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13342 # Allow CC to be a program name with arguments.
13346 # save warnings/boilerplate of simple test code
13347 ac_outfile
=conftest.
$ac_objext
13348 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13349 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13350 _lt_compiler_boilerplate
=`cat conftest.err`
13353 ac_outfile
=conftest.
$ac_objext
13354 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13355 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13356 _lt_linker_boilerplate
=`cat conftest.err`
13360 # Allow CC to be a program name with arguments.
13365 GCC
=$ac_cv_fc_compiler_gnu
13368 for cc_temp
in $compiler""; do
13370 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13371 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13376 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13379 if test -n "$compiler"; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13381 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13383 $as_echo "$can_build_shared" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13386 $as_echo_n "checking whether to build shared libraries... " >&6; }
13387 test "$can_build_shared" = "no" && enable_shared
=no
13389 # On AIX, shared libraries and static libraries use the same namespace, and
13390 # are all built from PIC.
13393 test "$enable_shared" = yes && enable_static
=no
13394 if test -n "$RANLIB"; then
13395 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13396 postinstall_cmds
='$RANLIB $lib'
13400 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13401 test "$enable_shared" = yes && enable_static
=no
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13406 $as_echo "$enable_shared" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13409 $as_echo_n "checking whether to build static libraries... " >&6; }
13410 # Make sure either enable_shared or enable_static is yes.
13411 test "$enable_shared" = yes || enable_static
=yes
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13413 $as_echo "$enable_static" >&6; }
13415 GCC_FC
="$ac_cv_fc_compiler_gnu"
13419 ## There is no encapsulation within the following macros, do not change
13420 ## the running order or otherwise move them around unless you know exactly
13421 ## what you are doing...
13422 # Dependencies to place before and after the object being linked:
13424 postdep_objects_FC
=
13427 compiler_lib_search_path_FC
=
13429 cat > conftest.
$ac_ext <<_LT_EOF
13438 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13439 (eval $ac_compile) 2>&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13442 test $ac_status = 0; }; then
13443 # Parse the compiler output and extract the necessary
13444 # objects, libraries and library flags.
13446 # Sentinel used to keep track of whether or not we are before
13447 # the conftest object file.
13448 pre_test_object_deps_done
=no
13450 for p
in `eval "$output_verbose_link_cmd"`; do
13454 # Some compilers place space between "-{L,R}" and the path.
13455 # Remove the space.
13456 if test $p = "-L" ||
13457 test $p = "-R"; then
13464 if test "$pre_test_object_deps_done" = no
; then
13467 # Internal compiler library paths should come after those
13468 # provided the user. The postdeps already come after the
13469 # user supplied libs so there is no need to process them.
13470 if test -z "$compiler_lib_search_path_FC"; then
13471 compiler_lib_search_path_FC
="${prev}${p}"
13473 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13476 # The "-l" case would never come before the object being
13477 # linked, so don't bother handling this case.
13480 if test -z "$postdeps_FC"; then
13481 postdeps_FC
="${prev}${p}"
13483 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13489 # This assumes that the test object file only shows up
13490 # once in the compiler output.
13491 if test "$p" = "conftest.$objext"; then
13492 pre_test_object_deps_done
=yes
13496 if test "$pre_test_object_deps_done" = no
; then
13497 if test -z "$predep_objects_FC"; then
13498 predep_objects_FC
="$p"
13500 predep_objects_FC
="$predep_objects_FC $p"
13503 if test -z "$postdep_objects_FC"; then
13504 postdep_objects_FC
="$p"
13506 postdep_objects_FC
="$postdep_objects_FC $p"
13511 *) ;; # Ignore the rest.
13519 echo "libtool.m4: error: problem compiling FC test program"
13522 $RM -f confest.
$objext
13524 # PORTME: override above test on systems where it is broken
13527 case " $postdeps_FC " in
13528 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13530 compiler_lib_search_dirs_FC
=
13531 if test -n "${compiler_lib_search_path_FC}"; then
13532 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13565 lt_prog_compiler_wl_FC
=
13566 lt_prog_compiler_pic_FC
=
13567 lt_prog_compiler_static_FC
=
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13570 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13572 if test "$GCC" = yes; then
13573 lt_prog_compiler_wl_FC
='-Wl,'
13574 lt_prog_compiler_static_FC
='-static'
13578 # All AIX code is PIC.
13579 if test "$host_cpu" = ia64
; then
13580 # AIX 5 now supports IA64 processor
13581 lt_prog_compiler_static_FC
='-Bstatic'
13583 lt_prog_compiler_pic_FC
='-fPIC'
13589 # see comment about AmigaOS4 .so support
13590 lt_prog_compiler_pic_FC
='-fPIC'
13593 # FIXME: we need at least 68020 code to build shared libraries, but
13594 # adding the `-m68020' flag to GCC prevents building anything better,
13596 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13601 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13602 # PIC is the default for these OSes.
13605 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13606 # This hack is so that the source file can tell whether it is being
13607 # built for inclusion in a dll (and should export symbols for example).
13608 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13609 # (--disable-auto-import) libraries
13610 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13613 darwin
* | rhapsody
*)
13614 # PIC is the default on this platform
13615 # Common symbols not allowed in MH_DYLIB files
13616 lt_prog_compiler_pic_FC
='-fno-common'
13620 # PIC is the default for Haiku.
13621 # The "-static" flag exists, but is broken.
13622 lt_prog_compiler_static_FC
=
13626 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13627 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13628 # sets the default TLS model and affects inlining.
13634 lt_prog_compiler_pic_FC
='-fPIC'
13640 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13641 # Instead, we relocate shared libraries at runtime.
13645 # Just because we use GCC doesn't mean we suddenly get shared libraries
13646 # on systems that don't support them.
13647 lt_prog_compiler_can_build_shared_FC
=no
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_FC
='-fPIC -shared'
13658 if test -d /usr
/nec
; then
13659 lt_prog_compiler_pic_FC
=-Kconform_pic
13664 lt_prog_compiler_pic_FC
='-fPIC'
13668 case $cc_basename in
13669 nvcc
*) # Cuda Compiler Driver 2.2
13670 lt_prog_compiler_wl_FC
='-Xlinker '
13671 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13675 # PORTME Check for flag to pass linker flags through the system compiler.
13678 lt_prog_compiler_wl_FC
='-Wl,'
13679 if test "$host_cpu" = ia64
; then
13680 # AIX 5 now supports IA64 processor
13681 lt_prog_compiler_static_FC
='-Bstatic'
13683 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13687 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13688 # This hack is so that the source file can tell whether it is being
13689 # built for inclusion in a dll (and should export symbols for example).
13690 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13693 hpux9
* | hpux10
* | hpux11
*)
13694 lt_prog_compiler_wl_FC
='-Wl,'
13695 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13696 # not for PA HP-UX.
13702 lt_prog_compiler_pic_FC
='+Z'
13705 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13706 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13709 irix5
* | irix6
* | nonstopux
*)
13710 lt_prog_compiler_wl_FC
='-Wl,'
13711 # PIC (with -KPIC) is the default.
13712 lt_prog_compiler_static_FC
='-non_shared'
13715 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13716 case $cc_basename in
13717 # old Intel for x86_64 which still supported -KPIC.
13719 lt_prog_compiler_wl_FC
='-Wl,'
13720 lt_prog_compiler_pic_FC
='-KPIC'
13721 lt_prog_compiler_static_FC
='-static'
13723 # icc used to be incompatible with GCC.
13724 # ICC 10 doesn't accept -KPIC any more.
13726 lt_prog_compiler_wl_FC
='-Wl,'
13727 lt_prog_compiler_pic_FC
='-fPIC'
13728 lt_prog_compiler_static_FC
='-static'
13730 # Lahey Fortran 8.1.
13732 lt_prog_compiler_wl_FC
='-Wl,'
13733 lt_prog_compiler_pic_FC
='--shared'
13734 lt_prog_compiler_static_FC
='--static'
13736 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13737 # Portland Group compilers (*not* the Pentium gcc compiler,
13738 # which looks to be a dead project)
13739 lt_prog_compiler_wl_FC
='-Wl,'
13740 lt_prog_compiler_pic_FC
='-fpic'
13741 lt_prog_compiler_static_FC
='-Bstatic'
13744 lt_prog_compiler_wl_FC
='-Wl,'
13745 # All Alpha code is PIC.
13746 lt_prog_compiler_static_FC
='-non_shared'
13748 xl
* | bgxl
* | bgf
* | mpixl
*)
13749 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13750 lt_prog_compiler_wl_FC
='-Wl,'
13751 lt_prog_compiler_pic_FC
='-qpic'
13752 lt_prog_compiler_static_FC
='-qstaticlink'
13755 case `$CC -V 2>&1 | sed 5q` in
13756 *Sun\ F
* |
*Sun
*Fortran
*)
13757 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13758 lt_prog_compiler_pic_FC
='-KPIC'
13759 lt_prog_compiler_static_FC
='-Bstatic'
13760 lt_prog_compiler_wl_FC
=''
13764 lt_prog_compiler_pic_FC
='-KPIC'
13765 lt_prog_compiler_static_FC
='-Bstatic'
13766 lt_prog_compiler_wl_FC
='-Wl,'
13774 lt_prog_compiler_pic_FC
='-KPIC'
13775 lt_prog_compiler_static_FC
='-Bstatic'
13779 # QNX uses GNU C++, but need to define -shared option too, otherwise
13780 # it will coredump.
13781 lt_prog_compiler_pic_FC
='-fPIC -shared'
13784 osf3
* | osf4
* | osf5
*)
13785 lt_prog_compiler_wl_FC
='-Wl,'
13786 # All OSF/1 code is PIC.
13787 lt_prog_compiler_static_FC
='-non_shared'
13791 lt_prog_compiler_static_FC
='-non_shared'
13795 lt_prog_compiler_pic_FC
='-KPIC'
13796 lt_prog_compiler_static_FC
='-Bstatic'
13797 case $cc_basename in
13798 f77
* | f90
* | f95
*)
13799 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13801 lt_prog_compiler_wl_FC
='-Wl,';;
13806 lt_prog_compiler_wl_FC
='-Qoption ld '
13807 lt_prog_compiler_pic_FC
='-PIC'
13808 lt_prog_compiler_static_FC
='-Bstatic'
13811 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13812 lt_prog_compiler_wl_FC
='-Wl,'
13813 lt_prog_compiler_pic_FC
='-KPIC'
13814 lt_prog_compiler_static_FC
='-Bstatic'
13818 if test -d /usr
/nec
;then
13819 lt_prog_compiler_pic_FC
='-Kconform_pic'
13820 lt_prog_compiler_static_FC
='-Bstatic'
13824 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13825 lt_prog_compiler_wl_FC
='-Wl,'
13826 lt_prog_compiler_pic_FC
='-KPIC'
13827 lt_prog_compiler_static_FC
='-Bstatic'
13831 lt_prog_compiler_wl_FC
='-Wl,'
13832 lt_prog_compiler_can_build_shared_FC
=no
13836 lt_prog_compiler_pic_FC
='-pic'
13837 lt_prog_compiler_static_FC
='-Bstatic'
13841 lt_prog_compiler_can_build_shared_FC
=no
13847 # For platforms which do not support PIC, -DPIC is meaningless:
13849 lt_prog_compiler_pic_FC
=
13852 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13856 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13861 # Check to make sure the PIC flag actually works.
13863 if test -n "$lt_prog_compiler_pic_FC"; then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13865 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13866 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 lt_cv_prog_compiler_pic_works_FC
=no
13870 ac_outfile
=conftest.
$ac_objext
13871 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13872 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13873 # Insert the option either (1) after the last *FLAGS variable, or
13874 # (2) before a word containing "conftest.", or (3) at the end.
13875 # Note that $ac_compile itself does not contain backslashes and begins
13876 # with a dollar sign (not a hyphen), so the echo should work correctly.
13877 # The option is referenced via a variable to avoid confusing sed.
13878 lt_compile
=`echo "$ac_compile" | $SED \
13879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13881 -e 's:$: $lt_compiler_flag:'`
13882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13883 (eval "$lt_compile" 2>conftest.err
)
13885 cat conftest.err
>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 if (exit $ac_status) && test -s "$ac_outfile"; then
13888 # The compiler can only warn and ignore the option if not recognized
13889 # So say no if there are warnings other than the usual output.
13890 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13891 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13892 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13893 lt_cv_prog_compiler_pic_works_FC
=yes
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13900 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13902 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13903 case $lt_prog_compiler_pic_FC in
13905 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13908 lt_prog_compiler_pic_FC
=
13909 lt_prog_compiler_can_build_shared_FC
=no
13917 # Check to make sure the static flag actually works.
13919 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13921 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13922 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13925 lt_cv_prog_compiler_static_works_FC
=no
13926 save_LDFLAGS
="$LDFLAGS"
13927 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13928 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13929 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13930 # The linker can only warn and ignore the option if not recognized
13931 # So say no if there are warnings
13932 if test -s conftest.err
; then
13933 # Append any errors to the config.log.
13934 cat conftest.err
1>&5
13935 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13936 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13937 if diff conftest.exp conftest.er2
>/dev
/null
; then
13938 lt_cv_prog_compiler_static_works_FC
=yes
13941 lt_cv_prog_compiler_static_works_FC
=yes
13945 LDFLAGS
="$save_LDFLAGS"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13949 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13951 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13954 lt_prog_compiler_static_FC
=
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13961 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13962 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
13963 $as_echo_n "(cached) " >&6
13965 lt_cv_prog_compiler_c_o_FC
=no
13966 $RM -r conftest
2>/dev
/null
13970 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13972 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13973 # Insert the option either (1) after the last *FLAGS variable, or
13974 # (2) before a word containing "conftest.", or (3) at the end.
13975 # Note that $ac_compile itself does not contain backslashes and begins
13976 # with a dollar sign (not a hyphen), so the echo should work correctly.
13977 lt_compile
=`echo "$ac_compile" | $SED \
13978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13980 -e 's:$: $lt_compiler_flag:'`
13981 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13982 (eval "$lt_compile" 2>out
/conftest.err
)
13984 cat out
/conftest.err
>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13988 # The compiler can only warn and ignore the option if not recognized
13989 # So say no if there are warnings
13990 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13991 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13992 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13993 lt_cv_prog_compiler_c_o_FC
=yes
13998 # SGI C++ compiler will create directory out/ii_files/ for
13999 # template instantiation
14000 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14001 $RM out
/* && rmdir out
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14008 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14014 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14015 $as_echo_n "(cached) " >&6
14017 lt_cv_prog_compiler_c_o_FC
=no
14018 $RM -r conftest
2>/dev
/null
14022 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14024 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14025 # Insert the option either (1) after the last *FLAGS variable, or
14026 # (2) before a word containing "conftest.", or (3) at the end.
14027 # Note that $ac_compile itself does not contain backslashes and begins
14028 # with a dollar sign (not a hyphen), so the echo should work correctly.
14029 lt_compile
=`echo "$ac_compile" | $SED \
14030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14032 -e 's:$: $lt_compiler_flag:'`
14033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14034 (eval "$lt_compile" 2>out
/conftest.err
)
14036 cat out
/conftest.err
>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14040 # The compiler can only warn and ignore the option if not recognized
14041 # So say no if there are warnings
14042 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14043 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14044 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14045 lt_cv_prog_compiler_c_o_FC
=yes
14050 # SGI C++ compiler will create directory out/ii_files/ for
14051 # template instantiation
14052 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14053 $RM out
/* && rmdir out
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14060 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14065 hard_links
="nottested"
14066 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14067 # do not overwrite the value of need_locks provided by the user
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14069 $as_echo_n "checking if we can lock with hard links... " >&6; }
14072 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14074 ln conftest.a conftest.b
2>&5 || hard_links
=no
14075 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14077 $as_echo "$hard_links" >&6; }
14078 if test "$hard_links" = no
; then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14080 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14093 allow_undefined_flag_FC
=
14094 always_export_symbols_FC
=no
14096 archive_expsym_cmds_FC
=
14097 compiler_needs_object_FC
=no
14098 enable_shared_with_static_runtimes_FC
=no
14099 export_dynamic_flag_spec_FC
=
14100 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14101 hardcode_automatic_FC
=no
14102 hardcode_direct_FC
=no
14103 hardcode_direct_absolute_FC
=no
14104 hardcode_libdir_flag_spec_FC
=
14105 hardcode_libdir_flag_spec_ld_FC
=
14106 hardcode_libdir_separator_FC
=
14107 hardcode_minus_L_FC
=no
14108 hardcode_shlibpath_var_FC
=unsupported
14109 inherit_rpath_FC
=no
14110 link_all_deplibs_FC
=unknown
14112 module_expsym_cmds_FC
=
14113 old_archive_from_new_cmds_FC
=
14114 old_archive_from_expsyms_cmds_FC
=
14115 thread_safe_flag_spec_FC
=
14116 whole_archive_flag_spec_FC
=
14117 # include_expsyms should be a list of space-separated symbols to be *always*
14118 # included in the symbol list
14119 include_expsyms_FC
=
14120 # exclude_expsyms can be an extended regexp of symbols to exclude
14121 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14122 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14123 # as well as any symbol that contains `d'.
14124 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14125 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14126 # platforms (ab)use it in PIC code, but their linkers get confused if
14127 # the symbol is explicitly referenced. Since portable code cannot
14128 # rely on this symbol name, it's probably fine to never include it in
14129 # preloaded symbol tables.
14130 # Exclude shared library initialization/finalization symbols.
14131 extract_expsyms_cmds
=
14134 cygwin
* | mingw
* | pw32
* | cegcc
*)
14135 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14136 # When not using gcc, we currently assume that we are using
14137 # Microsoft Visual C++.
14138 if test "$GCC" != yes; then
14143 # we just hope/assume this is gcc and not c89 (= MSVC++)
14153 # On some targets, GNU ld is compatible enough with the native linker
14154 # that we're better off using the native interface for both.
14155 lt_use_gnu_ld_interface
=no
14156 if test "$with_gnu_ld" = yes; then
14159 # The AIX port of GNU ld has always aspired to compatibility
14160 # with the native linker. However, as the warning in the GNU ld
14161 # block says, versions before 2.19.5* couldn't really create working
14162 # shared libraries, regardless of the interface used.
14163 case `$LD -v 2>&1` in
14164 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14165 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14166 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14168 lt_use_gnu_ld_interface
=yes
14173 lt_use_gnu_ld_interface
=yes
14178 if test "$lt_use_gnu_ld_interface" = yes; then
14179 # If archive_cmds runs LD, not CC, wlarc should be empty
14182 # Set some defaults for GNU ld with shared library support. These
14183 # are reset later if shared libraries are not supported. Putting them
14184 # here allows them to be overridden if necessary.
14185 runpath_var
=LD_RUN_PATH
14186 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14187 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14188 # ancient GNU ld didn't support --whole-archive et. al.
14189 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14190 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14192 whole_archive_flag_spec_FC
=
14194 supports_anon_versioning
=no
14195 case `$LD -v 2>&1` in
14196 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14197 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14198 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14199 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14200 *\
2.11.
*) ;; # other 2.11 versions
14201 *) supports_anon_versioning
=yes ;;
14204 # See if GNU ld supports shared libraries.
14207 # On AIX/PPC, the GNU linker is very broken
14208 if test "$host_cpu" != ia64
; then
14212 *** Warning: the GNU linker, at least up to release 2.19, is reported
14213 *** to be unable to reliably create shared libraries on AIX.
14214 *** Therefore, libtool is disabling shared libraries support. If you
14215 *** really care for shared libraries, you may want to install binutils
14216 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14217 *** You will then need to restart the configuration process.
14226 # see comment about AmigaOS4 .so support
14227 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14228 archive_expsym_cmds_FC
=''
14231 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)'
14232 hardcode_libdir_flag_spec_FC
='-L$libdir'
14233 hardcode_minus_L_FC
=yes
14239 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14240 allow_undefined_flag_FC
=unsupported
14241 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14242 # support --undefined. This deserves some investigation. FIXME
14243 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14249 cygwin
* | mingw
* | pw32
* | cegcc
*)
14250 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14251 # as there is no search path for DLLs.
14252 hardcode_libdir_flag_spec_FC
='-L$libdir'
14253 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14254 allow_undefined_flag_FC
=unsupported
14255 always_export_symbols_FC
=no
14256 enable_shared_with_static_runtimes_FC
=yes
14257 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14259 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14260 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14261 # If the export-symbols file already is a .def file (1st line
14262 # is EXPORTS), use it as is; otherwise, prepend...
14263 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14264 cp $export_symbols $output_objdir/$soname.def;
14266 echo EXPORTS > $output_objdir/$soname.def;
14267 cat $export_symbols >> $output_objdir/$soname.def;
14269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14276 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14277 link_all_deplibs_FC
=yes
14281 hardcode_direct_FC
=no
14282 hardcode_shlibpath_var_FC
=no
14283 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14284 export_dynamic_flag_spec_FC
='${wl}-E'
14285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14286 # Instead, shared libraries are loaded at an image base (0x10000000 by
14287 # default) and relocated if they conflict, which is a slow very memory
14288 # consuming and fragmenting process. To avoid this, we pick a random,
14289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14291 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'
14292 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'
14295 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14297 if test "$host_os" = linux-dietlibc
; then
14298 case $cc_basename in
14299 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14302 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14303 && test "$tmp_diet" = no
14305 tmp_addflag
=' $pic_flag'
14306 tmp_sharedflag
='-shared'
14307 case $cc_basename,$host_cpu in
14308 pgcc
*) # Portland Group C compiler
14309 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'
14310 tmp_addflag
=' $pic_flag'
14312 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14313 # Portland Group f77 and f90 compilers
14314 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'
14315 tmp_addflag
=' $pic_flag -Mnomain' ;;
14316 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14317 tmp_addflag
=' -i_dynamic' ;;
14318 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14319 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14320 ifc
* | ifort
*) # Intel Fortran compiler
14321 tmp_addflag
=' -nofor_main' ;;
14322 lf95
*) # Lahey Fortran 8.1
14323 whole_archive_flag_spec_FC
=
14324 tmp_sharedflag
='--shared' ;;
14325 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14326 tmp_sharedflag
='-qmkshrobj'
14328 nvcc
*) # Cuda Compiler Driver 2.2
14329 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'
14330 compiler_needs_object_FC
=yes
14333 case `$CC -V 2>&1 | sed 5q` in
14334 *Sun\ C
*) # Sun C 5.9
14335 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'
14336 compiler_needs_object_FC
=yes
14337 tmp_sharedflag
='-G' ;;
14338 *Sun\ F
*) # Sun Fortran 8.3
14339 tmp_sharedflag
='-G' ;;
14341 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14343 if test "x$supports_anon_versioning" = xyes
; then
14344 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14346 echo "local: *; };" >> $output_objdir/$libname.ver~
14347 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14350 case $cc_basename in
14351 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14352 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14353 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14354 hardcode_libdir_flag_spec_FC
=
14355 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14356 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14357 if test "x$supports_anon_versioning" = xyes
; then
14358 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14360 echo "local: *; };" >> $output_objdir/$libname.ver~
14361 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14371 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14372 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14375 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14376 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14381 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14385 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14386 *** create shared libraries on Solaris systems. Therefore, libtool
14387 *** is disabling shared libraries support. We urge you to upgrade GNU
14388 *** binutils to release 2.9.1 or newer. Another option is to modify
14389 *** your PATH or compiler configuration so that the native linker is
14390 *** used, and then restart.
14393 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14394 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14395 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14401 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14402 case `$LD -v 2>&1` in
14403 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14407 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14408 *** reliably create shared libraries on SCO systems. Therefore, libtool
14409 *** is disabling shared libraries support. We urge you to upgrade GNU
14410 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14411 *** your PATH or compiler configuration so that the native linker is
14412 *** used, and then restart.
14417 # For security reasons, it is highly recommended that you always
14418 # use absolute paths for naming shared libraries, and exclude the
14419 # DT_RUNPATH tag from executables and libraries. But doing so
14420 # requires that you compile everything twice, which is a pain.
14421 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14422 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14423 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14424 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14433 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14435 hardcode_direct_FC
=yes
14436 hardcode_shlibpath_var_FC
=no
14440 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14441 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14442 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14449 if test "$ld_shlibs_FC" = no
; then
14451 hardcode_libdir_flag_spec_FC
=
14452 export_dynamic_flag_spec_FC
=
14453 whole_archive_flag_spec_FC
=
14456 # PORTME fill in a description of your system's linker (not GNU ld)
14459 allow_undefined_flag_FC
=unsupported
14460 always_export_symbols_FC
=yes
14461 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'
14462 # Note: this linker hardcodes the directories in LIBPATH if there
14463 # are no directories specified by -L.
14464 hardcode_minus_L_FC
=yes
14465 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14466 # Neither direct hardcoding nor static linking is supported with a
14468 hardcode_direct_FC
=unsupported
14473 if test "$host_cpu" = ia64
; then
14474 # On IA64, the linker does run time linking by default, so we don't
14475 # have to do anything special.
14476 aix_use_runtimelinking
=no
14477 exp_sym_flag
='-Bexport'
14480 # If we're using GNU nm, then we don't want the "-C" option.
14481 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14482 # Also, AIX nm treats weak defined symbols like other global
14483 # defined symbols, whereas GNU nm marks them as "W".
14484 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14485 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'
14487 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'
14489 aix_use_runtimelinking
=no
14491 # Test if we are trying to use run time linking or normal
14492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14493 # need to do runtime linking.
14494 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14495 for ld_flag
in $LDFLAGS; do
14496 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14497 aix_use_runtimelinking
=yes
14504 exp_sym_flag
='-bexport'
14505 no_entry_flag
='-bnoentry'
14508 # When large executables or shared objects are built, AIX ld can
14509 # have problems creating the table of contents. If linking a library
14510 # or program results in "error TOC overflow" add -mminimal-toc to
14511 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14512 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14515 hardcode_direct_FC
=yes
14516 hardcode_direct_absolute_FC
=yes
14517 hardcode_libdir_separator_FC
=':'
14518 link_all_deplibs_FC
=yes
14519 file_list_spec_FC
='${wl}-f,'
14521 if test "$GCC" = yes; then
14522 case $host_os in aix4.
[012]|aix4.
[012].
*)
14523 # We only want to do this on AIX 4.2 and lower, the check
14524 # below for broken collect2 doesn't work under 4.3+
14525 collect2name
=`${CC} -print-prog-name=collect2`
14526 if test -f "$collect2name" &&
14527 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14529 # We have reworked collect2
14532 # We have old collect2
14533 hardcode_direct_FC
=unsupported
14534 # It fails to find uninstalled libraries when the uninstalled
14535 # path is not listed in the libpath. Setting hardcode_minus_L
14536 # to unsupported forces relinking
14537 hardcode_minus_L_FC
=yes
14538 hardcode_libdir_flag_spec_FC
='-L$libdir'
14539 hardcode_libdir_separator_FC
=
14543 shared_flag
='-shared'
14544 if test "$aix_use_runtimelinking" = yes; then
14545 shared_flag
="$shared_flag "'${wl}-G'
14549 if test "$host_cpu" = ia64
; then
14550 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14551 # chokes on -Wl,-G. The following line is correct:
14554 if test "$aix_use_runtimelinking" = yes; then
14555 shared_flag
='${wl}-G'
14557 shared_flag
='${wl}-bM:SRE'
14562 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14563 # It seems that -bexpall does not export symbols beginning with
14564 # underscore (_), so it is better to generate a list of symbols to export.
14565 always_export_symbols_FC
=yes
14566 if test "$aix_use_runtimelinking" = yes; then
14567 # Warning - without using the other runtime loading flags (-brtl),
14568 # -berok will link without error, but may produce a broken library.
14569 allow_undefined_flag_FC
='-berok'
14570 # Determine the default libpath from the value encoded in an
14571 # empty executable.
14572 if test x
$gcc_no_link = xyes
; then
14573 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14575 cat > conftest.
$ac_ext <<_ACEOF
14580 if ac_fn_fc_try_link
"$LINENO"; then :
14582 lt_aix_libpath_sed
='
14583 /Import File Strings/,/^$/ {
14589 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14590 # Check for a 64-bit object if we didn't find anything.
14591 if test -z "$aix_libpath"; then
14592 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14595 rm -f core conftest.err conftest.
$ac_objext \
14596 conftest
$ac_exeext conftest.
$ac_ext
14597 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14599 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14600 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"
14602 if test "$host_cpu" = ia64
; then
14603 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14604 allow_undefined_flag_FC
="-z nodefs"
14605 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"
14607 # Determine the default libpath from the value encoded in an
14608 # empty executable.
14609 if test x
$gcc_no_link = xyes
; then
14610 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14612 cat > conftest.
$ac_ext <<_ACEOF
14617 if ac_fn_fc_try_link
"$LINENO"; then :
14619 lt_aix_libpath_sed
='
14620 /Import File Strings/,/^$/ {
14626 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14627 # Check for a 64-bit object if we didn't find anything.
14628 if test -z "$aix_libpath"; then
14629 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14632 rm -f core conftest.err conftest.
$ac_objext \
14633 conftest
$ac_exeext conftest.
$ac_ext
14634 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14636 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14637 # Warning - without using the other run time loading flags,
14638 # -berok will link without error, but may produce a broken library.
14639 no_undefined_flag_FC
=' ${wl}-bernotok'
14640 allow_undefined_flag_FC
=' ${wl}-berok'
14641 if test "$with_gnu_ld" = yes; then
14642 # We only use this code for GNU lds that support --whole-archive.
14643 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14645 # Exported symbols can be pulled into shared objects from archives
14646 whole_archive_flag_spec_FC
='$convenience'
14648 archive_cmds_need_lc_FC
=yes
14649 # This is similar to how AIX traditionally builds its shared libraries.
14650 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'
14658 # see comment about AmigaOS4 .so support
14659 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14660 archive_expsym_cmds_FC
=''
14663 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)'
14664 hardcode_libdir_flag_spec_FC
='-L$libdir'
14665 hardcode_minus_L_FC
=yes
14671 export_dynamic_flag_spec_FC
=-rdynamic
14674 cygwin
* | mingw
* | pw32
* | cegcc
*)
14675 # When not using gcc, we currently assume that we are using
14676 # Microsoft Visual C++.
14677 # hardcode_libdir_flag_spec is actually meaningless, as there is
14678 # no search path for DLLs.
14679 hardcode_libdir_flag_spec_FC
=' '
14680 allow_undefined_flag_FC
=unsupported
14681 # Tell ltmain to make .lib files, not .a files.
14683 # Tell ltmain to make .dll files, not .so files.
14685 # FIXME: Setting linknames here is a bad hack.
14686 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14687 # The linker will automatically build a .lib file if we build a DLL.
14688 old_archive_from_new_cmds_FC
='true'
14689 # FIXME: Should let the user specify the lib program.
14690 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14691 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14692 enable_shared_with_static_runtimes_FC
=yes
14695 darwin
* | rhapsody
*)
14698 archive_cmds_need_lc_FC
=no
14699 hardcode_direct_FC
=no
14700 hardcode_automatic_FC
=yes
14701 hardcode_shlibpath_var_FC
=unsupported
14702 if test "$lt_cv_ld_force_load" = "yes"; then
14703 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\"`'
14705 whole_archive_flag_spec_FC
=''
14707 link_all_deplibs_FC
=yes
14708 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14709 case $cc_basename in
14710 ifort
*) _lt_dar_can_shared
=yes ;;
14711 *) _lt_dar_can_shared
=$GCC ;;
14713 if test "$_lt_dar_can_shared" = "yes"; then
14714 output_verbose_link_cmd
=func_echo_all
14715 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}"
14716 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14717 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}"
14718 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}"
14727 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14728 hardcode_libdir_flag_spec_FC
='-L$libdir'
14729 hardcode_shlibpath_var_FC
=no
14732 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14733 # support. Future versions do this automatically, but an explicit c++rt0.o
14734 # does not break anything, and helps significantly (at the cost of a little
14737 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14738 hardcode_libdir_flag_spec_FC
='-R$libdir'
14739 hardcode_direct_FC
=yes
14740 hardcode_shlibpath_var_FC
=no
14743 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14745 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14746 hardcode_direct_FC
=yes
14747 hardcode_minus_L_FC
=yes
14748 hardcode_shlibpath_var_FC
=no
14751 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14752 freebsd
* | dragonfly
*)
14753 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14754 hardcode_libdir_flag_spec_FC
='-R$libdir'
14755 hardcode_direct_FC
=yes
14756 hardcode_shlibpath_var_FC
=no
14760 if test "$GCC" = yes; then
14761 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'
14763 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'
14765 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14766 hardcode_libdir_separator_FC
=:
14767 hardcode_direct_FC
=yes
14769 # hardcode_minus_L: Not really in the search PATH,
14770 # but as the default location of the library.
14771 hardcode_minus_L_FC
=yes
14772 export_dynamic_flag_spec_FC
='${wl}-E'
14776 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14777 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14779 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14781 if test "$with_gnu_ld" = no
; then
14782 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14783 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14784 hardcode_libdir_separator_FC
=:
14785 hardcode_direct_FC
=yes
14786 hardcode_direct_absolute_FC
=yes
14787 export_dynamic_flag_spec_FC
='${wl}-E'
14788 # hardcode_minus_L: Not really in the search PATH,
14789 # but as the default location of the library.
14790 hardcode_minus_L_FC
=yes
14795 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14798 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14801 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14804 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14810 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14813 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14816 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14820 if test "$with_gnu_ld" = no
; then
14821 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14822 hardcode_libdir_separator_FC
=:
14826 hardcode_direct_FC
=no
14827 hardcode_shlibpath_var_FC
=no
14830 hardcode_direct_FC
=yes
14831 hardcode_direct_absolute_FC
=yes
14832 export_dynamic_flag_spec_FC
='${wl}-E'
14834 # hardcode_minus_L: Not really in the search PATH,
14835 # but as the default location of the library.
14836 hardcode_minus_L_FC
=yes
14842 irix5
* | irix6
* | nonstopux
*)
14843 if test "$GCC" = yes; then
14844 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'
14845 # Try to use the -exported_symbol ld option, if it does not
14846 # work, assume that -exports_file does not work either and
14847 # implicitly export all symbols.
14848 save_LDFLAGS
="$LDFLAGS"
14849 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14850 if test x
$gcc_no_link = xyes
; then
14851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14853 cat > conftest.
$ac_ext <<_ACEOF
14856 if ac_fn_fc_try_link
"$LINENO"; then :
14857 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'
14860 rm -f core conftest.err conftest.
$ac_objext \
14861 conftest
$ac_exeext conftest.
$ac_ext
14862 LDFLAGS
="$save_LDFLAGS"
14864 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'
14865 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'
14867 archive_cmds_need_lc_FC
='no'
14868 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14869 hardcode_libdir_separator_FC
=:
14870 inherit_rpath_FC
=yes
14871 link_all_deplibs_FC
=yes
14875 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14876 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14878 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14880 hardcode_libdir_flag_spec_FC
='-R$libdir'
14881 hardcode_direct_FC
=yes
14882 hardcode_shlibpath_var_FC
=no
14886 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14887 hardcode_direct_FC
=yes
14888 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14889 hardcode_libdir_separator_FC
=:
14890 hardcode_shlibpath_var_FC
=no
14897 if test -f /usr
/libexec
/ld.so
; then
14898 hardcode_direct_FC
=yes
14899 hardcode_shlibpath_var_FC
=no
14900 hardcode_direct_absolute_FC
=yes
14901 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14902 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14903 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14904 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14905 export_dynamic_flag_spec_FC
='${wl}-E'
14908 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14909 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14910 hardcode_libdir_flag_spec_FC
='-R$libdir'
14913 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14914 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14924 hardcode_libdir_flag_spec_FC
='-L$libdir'
14925 hardcode_minus_L_FC
=yes
14926 allow_undefined_flag_FC
=unsupported
14927 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'
14928 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14932 if test "$GCC" = yes; then
14933 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14934 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'
14936 allow_undefined_flag_FC
=' -expect_unresolved \*'
14937 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'
14939 archive_cmds_need_lc_FC
='no'
14940 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14941 hardcode_libdir_separator_FC
=:
14944 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14945 if test "$GCC" = yes; then
14946 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14947 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'
14948 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14950 allow_undefined_flag_FC
=' -expect_unresolved \*'
14951 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'
14952 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~
14953 $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'
14955 # Both c and cxx compiler support -rpath directly
14956 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14958 archive_cmds_need_lc_FC
='no'
14959 hardcode_libdir_separator_FC
=:
14963 no_undefined_flag_FC
=' -z defs'
14964 if test "$GCC" = yes; then
14966 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14967 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14968 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14970 case `$CC -V 2>&1` in
14973 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14974 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14975 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14979 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14980 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14981 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14985 hardcode_libdir_flag_spec_FC
='-R$libdir'
14986 hardcode_shlibpath_var_FC
=no
14988 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14990 # The compiler driver will combine and reorder linker options,
14991 # but understands `-z linker_flag'. GCC discards it without `$wl',
14992 # but is careful enough not to reorder.
14993 # Supported since Solaris 2.6 (maybe 2.5.1?)
14994 if test "$GCC" = yes; then
14995 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14997 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15001 link_all_deplibs_FC
=yes
15005 if test "x$host_vendor" = xsequent
; then
15006 # Use $CC to link under sequent, because it throws in some extra .o
15007 # files that make .init and .fini sections work.
15008 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15010 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15012 hardcode_libdir_flag_spec_FC
='-L$libdir'
15013 hardcode_direct_FC
=yes
15014 hardcode_minus_L_FC
=yes
15015 hardcode_shlibpath_var_FC
=no
15019 case $host_vendor in
15021 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15022 hardcode_direct_FC
=yes # is this really true???
15025 ## LD is ld it makes a PLAMLIB
15026 ## CC just makes a GrossModule.
15027 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15028 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15029 hardcode_direct_FC
=no
15032 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15033 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15036 runpath_var
='LD_RUN_PATH'
15037 hardcode_shlibpath_var_FC
=no
15041 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15042 hardcode_shlibpath_var_FC
=no
15043 export_dynamic_flag_spec_FC
='-Bexport'
15047 if test -d /usr
/nec
; then
15048 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15049 hardcode_shlibpath_var_FC
=no
15050 runpath_var
=LD_RUN_PATH
15051 hardcode_runpath_var
=yes
15056 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15057 no_undefined_flag_FC
='${wl}-z,text'
15058 archive_cmds_need_lc_FC
=no
15059 hardcode_shlibpath_var_FC
=no
15060 runpath_var
='LD_RUN_PATH'
15062 if test "$GCC" = yes; then
15063 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15064 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15066 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15067 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15071 sysv5
* | sco3.2v5
* | sco5v6
*)
15072 # Note: We can NOT use -z defs as we might desire, because we do not
15073 # link with -lc, and that would cause any symbols used from libc to
15074 # always be unresolved, which means just about no library would
15075 # ever link correctly. If we're not using GNU ld we use -z text
15076 # though, which does catch some bad symbols but isn't as heavy-handed
15078 no_undefined_flag_FC
='${wl}-z,text'
15079 allow_undefined_flag_FC
='${wl}-z,nodefs'
15080 archive_cmds_need_lc_FC
=no
15081 hardcode_shlibpath_var_FC
=no
15082 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15083 hardcode_libdir_separator_FC
=':'
15084 link_all_deplibs_FC
=yes
15085 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15086 runpath_var
='LD_RUN_PATH'
15088 if test "$GCC" = yes; then
15089 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15090 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15092 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15093 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15098 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15099 hardcode_libdir_flag_spec_FC
='-L$libdir'
15100 hardcode_shlibpath_var_FC
=no
15108 if test x
$host_vendor = xsni
; then
15110 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15111 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15118 $as_echo "$ld_shlibs_FC" >&6; }
15119 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15121 with_gnu_ld_FC
=$with_gnu_ld
15129 # Do we need to explicitly link libc?
15131 case "x$archive_cmds_need_lc_FC" in
15133 # Assume -lc should be added
15134 archive_cmds_need_lc_FC
=yes
15136 if test "$enable_shared" = yes && test "$GCC" = yes; then
15137 case $archive_cmds_FC in
15139 # FIXME: we may have to deal with multi-command sequences.
15142 # Test whether the compiler implicitly links with -lc since on some
15143 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15144 # to ld, don't add -lc before -lgcc.
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15146 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15147 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15148 $as_echo_n "(cached) " >&6
15151 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15154 (eval $ac_compile) 2>&5
15156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 test $ac_status = 0; } 2>conftest.err
; then
15160 libobjs
=conftest.
$ac_objext
15162 wl
=$lt_prog_compiler_wl_FC
15163 pic_flag
=$lt_prog_compiler_pic_FC
15169 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15170 allow_undefined_flag_FC
=
15171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15172 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15175 test $ac_status = 0; }
15177 lt_cv_archive_cmds_need_lc_FC
=no
15179 lt_cv_archive_cmds_need_lc_FC
=yes
15181 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15183 cat conftest.err
1>&5
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15189 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15190 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15261 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15263 library_names_spec
=
15264 libname_spec
='lib$name'
15268 postuninstall_cmds
=
15272 shlibpath_overrides_runpath
=unknown
15274 dynamic_linker
="$host_os ld.so"
15275 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15276 need_lib_prefix
=unknown
15277 hardcode_into_libs
=no
15279 # when you set need_version to no, make sure it does not cause -set_version
15280 # flags to be left without arguments
15281 need_version
=unknown
15286 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15287 shlibpath_var
=LIBPATH
15289 # AIX 3 has no versioning support, so we append a major version to the name.
15290 soname_spec
='${libname}${release}${shared_ext}$major'
15297 hardcode_into_libs
=yes
15298 if test "$host_cpu" = ia64
; then
15299 # AIX 5 supports IA64
15300 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15301 shlibpath_var
=LD_LIBRARY_PATH
15303 # With GCC up to 2.95.x, collect2 would create an import file
15304 # for dependence libraries. The import file would start with
15305 # the line `#! .'. This would cause the generated library to
15306 # depend on `.', always an invalid library. This was fixed in
15307 # development snapshots of GCC prior to 3.0.
15309 aix4 | aix4.
[01] | aix4.
[01].
*)
15310 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15312 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15315 can_build_shared
=no
15319 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15320 # soname into executable. Probably we can add versioning support to
15321 # collect2, so additional links can be useful in future.
15322 if test "$aix_use_runtimelinking" = yes; then
15323 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15324 # instead of lib<name>.a to let people know that these are not
15325 # typical AIX shared libraries.
15326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15328 # We preserve .a as extension for shared libraries through AIX4.2
15329 # and later when we are not doing run time linking.
15330 library_names_spec
='${libname}${release}.a $libname.a'
15331 soname_spec
='${libname}${release}${shared_ext}$major'
15333 shlibpath_var
=LIBPATH
15340 # Since July 2007 AmigaOS4 officially supports .so libraries.
15341 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 library_names_spec
='$libname.ixlibrary $libname.a'
15346 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15347 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'
15353 library_names_spec
='${libname}${shared_ext}'
15354 dynamic_linker
="$host_os ld.so"
15355 shlibpath_var
=LIBRARY_PATH
15361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 soname_spec
='${libname}${release}${shared_ext}$major'
15363 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15364 shlibpath_var
=LD_LIBRARY_PATH
15365 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15366 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15367 # the default ld.so.conf also contains /usr/contrib/lib and
15368 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15369 # libtool to hard-code these into programs
15372 cygwin
* | mingw
* | pw32
* | cegcc
*)
15373 version_type
=windows
15378 case $GCC,$host_os in
15379 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15380 library_names_spec
='$libname.dll.a'
15381 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15382 postinstall_cmds
='base_file=`basename \${file}`~
15383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15384 dldir=$destdir/`dirname \$dlpath`~
15385 test -d \$dldir || mkdir -p \$dldir~
15386 $install_prog $dir/$dlname \$dldir/$dlname~
15387 chmod a+x \$dldir/$dlname~
15388 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15389 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15391 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15392 dlpath=$dir/\$dldll~
15394 shlibpath_overrides_runpath
=yes
15398 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15399 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15403 # MinGW DLLs use traditional 'lib' prefix
15404 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15407 # pw32 DLLs use 'pw' prefix rather than 'lib'
15408 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15414 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15417 dynamic_linker
='Win32 ld.exe'
15418 # FIXME: first we should search . and the directory the executable is in
15422 darwin
* | rhapsody
*)
15423 dynamic_linker
="$host_os dyld"
15424 version_type
=darwin
15427 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15428 soname_spec
='${libname}${release}${major}$shared_ext'
15429 shlibpath_overrides_runpath
=yes
15430 shlibpath_var
=DYLD_LIBRARY_PATH
15431 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15433 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15441 soname_spec
='${libname}${release}${shared_ext}$major'
15442 shlibpath_var
=LD_LIBRARY_PATH
15445 freebsd
* | dragonfly
*)
15446 # DragonFly does not have aout. When/if they implement a new
15447 # versioning mechanism, adjust this.
15448 if test -x /usr
/bin
/objformat
; then
15449 objformat
=`/usr/bin/objformat`
15452 freebsd
[23].
*) objformat
=aout
;;
15453 *) objformat
=elf
;;
15456 version_type
=freebsd-
$objformat
15457 case $version_type in
15459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15464 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15468 shlibpath_var
=LD_LIBRARY_PATH
15471 shlibpath_overrides_runpath
=yes
15473 freebsd3.
[01]* | freebsdelf3.
[01]*)
15474 shlibpath_overrides_runpath
=yes
15475 hardcode_into_libs
=yes
15477 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15478 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15479 shlibpath_overrides_runpath
=no
15480 hardcode_into_libs
=yes
15482 *) # from 4.6 on, and DragonFly
15483 shlibpath_overrides_runpath
=yes
15484 hardcode_into_libs
=yes
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15494 soname_spec
='${libname}${release}${shared_ext}$major'
15495 shlibpath_var
=LD_LIBRARY_PATH
15496 hardcode_into_libs
=yes
15503 dynamic_linker
="$host_os runtime_loader"
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15505 soname_spec
='${libname}${release}${shared_ext}$major'
15506 shlibpath_var
=LIBRARY_PATH
15507 shlibpath_overrides_runpath
=yes
15508 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15509 hardcode_into_libs
=yes
15512 hpux9
* | hpux10
* | hpux11
*)
15513 # Give a soname corresponding to the major version so that dld.sl refuses to
15514 # link against other versions.
15521 hardcode_into_libs
=yes
15522 dynamic_linker
="$host_os dld.so"
15523 shlibpath_var
=LD_LIBRARY_PATH
15524 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15526 soname_spec
='${libname}${release}${shared_ext}$major'
15527 if test "X$HPUX_IA64_MODE" = X32
; then
15528 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15530 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15532 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15536 hardcode_into_libs
=yes
15537 dynamic_linker
="$host_os dld.sl"
15538 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15539 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15541 soname_spec
='${libname}${release}${shared_ext}$major'
15542 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15543 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15547 dynamic_linker
="$host_os dld.sl"
15548 shlibpath_var
=SHLIB_PATH
15549 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15551 soname_spec
='${libname}${release}${shared_ext}$major'
15554 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15555 postinstall_cmds
='chmod 555 $lib'
15556 # or fails outright, so override atomically:
15557 install_override_mode
=555
15564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15565 soname_spec
='${libname}${release}${shared_ext}$major'
15566 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15567 shlibpath_var
=LD_LIBRARY_PATH
15568 shlibpath_overrides_runpath
=no
15569 hardcode_into_libs
=yes
15572 irix5
* | irix6
* | nonstopux
*)
15574 nonstopux
*) version_type
=nonstopux
;;
15576 if test "$lt_cv_prog_gnu_ld" = yes; then
15584 soname_spec
='${libname}${release}${shared_ext}$major'
15585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15587 irix5
* | nonstopux
*)
15588 libsuff
= shlibsuff
=
15591 case $LD in # libtool.m4 will add one of these switches to LD
15592 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15593 libsuff
= shlibsuff
= libmagic
=32-bit;;
15594 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15595 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15596 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15597 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15598 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15602 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15603 shlibpath_overrides_runpath
=no
15604 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15605 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15606 hardcode_into_libs
=yes
15609 # No shared lib support for Linux oldld, aout, or coff.
15610 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15614 # This must be Linux ELF.
15615 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620 soname_spec
='${libname}${release}${shared_ext}$major'
15621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15622 shlibpath_var
=LD_LIBRARY_PATH
15623 shlibpath_overrides_runpath
=no
15625 # Some binutils ld are patched to set DT_RUNPATH
15626 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15627 $as_echo_n "(cached) " >&6
15629 lt_cv_shlibpath_overrides_runpath
=no
15630 save_LDFLAGS
=$LDFLAGS
15631 save_libdir
=$libdir
15632 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15633 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15634 if test x
$gcc_no_link = xyes
; then
15635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15637 cat > conftest.
$ac_ext <<_ACEOF
15642 if ac_fn_fc_try_link
"$LINENO"; then :
15643 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15644 lt_cv_shlibpath_overrides_runpath
=yes
15647 rm -f core conftest.err conftest.
$ac_objext \
15648 conftest
$ac_exeext conftest.
$ac_ext
15649 LDFLAGS
=$save_LDFLAGS
15650 libdir
=$save_libdir
15654 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15656 # This implies no fast_install, which is unacceptable.
15657 # Some rework will be needed to allow for fast_install
15658 # before this can be enabled.
15659 hardcode_into_libs
=yes
15661 # Append ld.so.conf contents to the search path
15662 if test -f /etc
/ld.so.conf
; then
15663 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' ' '`
15664 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15667 # We used to test for /lib/ld.so.1 and disable shared libraries on
15668 # powerpc, because MkLinux only supported shared libraries with the
15669 # GNU dynamic linker. Since this was broken with cross compilers,
15670 # most powerpc-linux boxes support dynamic linking these days and
15671 # people can always --disable-shared, the test was removed, and we
15672 # assume the GNU/Linux dynamic linker is in use.
15673 dynamic_linker
='GNU/Linux ld.so'
15680 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15682 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15683 dynamic_linker
='NetBSD (a.out) ld.so'
15685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15686 soname_spec
='${libname}${release}${shared_ext}$major'
15687 dynamic_linker
='NetBSD ld.elf_so'
15689 shlibpath_var
=LD_LIBRARY_PATH
15690 shlibpath_overrides_runpath
=yes
15691 hardcode_into_libs
=yes
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 shlibpath_var
=LD_LIBRARY_PATH
15698 shlibpath_overrides_runpath
=yes
15705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 soname_spec
='${libname}${release}${shared_ext}$major'
15707 shlibpath_var
=LD_LIBRARY_PATH
15708 shlibpath_overrides_runpath
=no
15709 hardcode_into_libs
=yes
15710 dynamic_linker
='ldqnx.so'
15715 sys_lib_dlsearch_path_spec
="/usr/lib"
15717 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15719 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15720 *) need_version
=no
;;
15722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15724 shlibpath_var
=LD_LIBRARY_PATH
15725 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15727 openbsd2.
[89] | openbsd2.
[89].
*)
15728 shlibpath_overrides_runpath
=no
15731 shlibpath_overrides_runpath
=yes
15735 shlibpath_overrides_runpath
=yes
15740 libname_spec
='$name'
15743 library_names_spec
='$libname${shared_ext} $libname.a'
15744 dynamic_linker
='OS/2 ld.exe'
15745 shlibpath_var
=LIBPATH
15748 osf3
* | osf4
* | osf5
*)
15752 soname_spec
='${libname}${release}${shared_ext}$major'
15753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 shlibpath_var
=LD_LIBRARY_PATH
15755 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15756 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15768 soname_spec
='${libname}${release}${shared_ext}$major'
15769 shlibpath_var
=LD_LIBRARY_PATH
15770 shlibpath_overrides_runpath
=yes
15771 hardcode_into_libs
=yes
15772 # ldd complains unless libraries are executable
15773 postinstall_cmds
='chmod +x $lib'
15778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15779 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15780 shlibpath_var
=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath
=yes
15782 if test "$with_gnu_ld" = yes; then
15790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15791 soname_spec
='${libname}${release}${shared_ext}$major'
15792 shlibpath_var
=LD_LIBRARY_PATH
15793 case $host_vendor in
15795 shlibpath_overrides_runpath
=no
15797 runpath_var
=LD_RUN_PATH
15805 shlibpath_overrides_runpath
=no
15806 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15812 if test -d /usr
/nec
;then
15814 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15815 soname_spec
='$libname${shared_ext}.$major'
15816 shlibpath_var
=LD_LIBRARY_PATH
15820 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15821 version_type
=freebsd-elf
15824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15825 soname_spec
='${libname}${release}${shared_ext}$major'
15826 shlibpath_var
=LD_LIBRARY_PATH
15827 shlibpath_overrides_runpath
=yes
15828 hardcode_into_libs
=yes
15829 if test "$with_gnu_ld" = yes; then
15830 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15832 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15835 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15839 sys_lib_dlsearch_path_spec
='/usr/lib'
15843 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15848 shlibpath_var
=LD_LIBRARY_PATH
15849 shlibpath_overrides_runpath
=no
15850 hardcode_into_libs
=yes
15855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15856 soname_spec
='${libname}${release}${shared_ext}$major'
15857 shlibpath_var
=LD_LIBRARY_PATH
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15865 $as_echo "$dynamic_linker" >&6; }
15866 test "$dynamic_linker" = no
&& can_build_shared
=no
15868 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15869 if test "$GCC" = yes; then
15870 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15873 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15874 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15876 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15877 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15918 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15919 hardcode_action_FC
=
15920 if test -n "$hardcode_libdir_flag_spec_FC" ||
15921 test -n "$runpath_var_FC" ||
15922 test "X$hardcode_automatic_FC" = "Xyes" ; then
15924 # We can hardcode non-existent directories.
15925 if test "$hardcode_direct_FC" != no
&&
15926 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15927 # have to relink, otherwise we might link with an installed library
15928 # when we should be linking with a yet-to-be-installed one
15929 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15930 test "$hardcode_minus_L_FC" != no
; then
15931 # Linking always hardcodes the temporary library directory.
15932 hardcode_action_FC
=relink
15934 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15935 hardcode_action_FC
=immediate
15938 # We cannot hardcode anything, or else we can only hardcode existing
15940 hardcode_action_FC
=unsupported
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15943 $as_echo "$hardcode_action_FC" >&6; }
15945 if test "$hardcode_action_FC" = relink ||
15946 test "$inherit_rpath_FC" = yes; then
15947 # Fast installation is not supported
15948 enable_fast_install
=no
15949 elif test "$shlibpath_overrides_runpath" = yes ||
15950 test "$enable_shared" = no
; then
15951 # Fast installation is not necessary
15952 enable_fast_install
=needless
15961 fi # test -n "$compiler"
15965 fi # test "$_lt_disable_FC" != yes
15968 ac_cpp
='$CPP $CPPFLAGS'
15969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15975 # extra LD Flags which are required for targets
15978 # Darwin needs -single_module when linking libgfortran
15979 extra_ldflags_libgfortran
=-Wl,-single_module
15984 # We need a working compiler at that point, otherwise give a clear
15985 # error message and bail out.
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15988 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15989 ac_ext
=${ac_fc_srcext-f}
15990 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15991 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15992 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15994 cat > conftest.
$ac_ext <<_ACEOF
15997 real, parameter :: bar = sin (12.34 / 2.5)
16000 if ac_fn_fc_try_compile
"$LINENO"; then :
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16002 $as_echo "yes" >&6; }
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16005 $as_echo "no" >&6; }
16006 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16011 ac_cpp
='$CPP $CPPFLAGS'
16012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16018 # Check whether --enable-largefile was given.
16019 if test "${enable_largefile+set}" = set; then :
16020 enableval
=$enable_largefile;
16023 if test "$enable_largefile" != no
; then
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16026 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16027 if ${ac_cv_sys_largefile_CC+:} false
; then :
16028 $as_echo_n "(cached) " >&6
16030 ac_cv_sys_largefile_CC
=no
16031 if test "$GCC" != yes; then
16034 # IRIX 6.2 and later do not support large files by default,
16035 # so use the C compiler's -n32 option if that helps.
16036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16038 #include <sys/types.h>
16039 /* Check that off_t can represent 2**63 - 1 correctly.
16040 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16041 since some C++ compilers masquerading as C compilers
16042 incorrectly reject 9223372036854775807. */
16043 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16044 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16045 && LARGE_OFF_T % 2147483647 == 1)
16055 if ac_fn_c_try_compile
"$LINENO"; then :
16058 rm -f core conftest.err conftest.
$ac_objext
16060 if ac_fn_c_try_compile
"$LINENO"; then :
16061 ac_cv_sys_largefile_CC
=' -n32'; break
16063 rm -f core conftest.err conftest.
$ac_objext
16067 rm -f conftest.
$ac_ext
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16071 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16072 if test "$ac_cv_sys_largefile_CC" != no
; then
16073 CC
=$CC$ac_cv_sys_largefile_CC
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16077 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16078 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16079 $as_echo_n "(cached) " >&6
16082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16084 #include <sys/types.h>
16085 /* Check that off_t can represent 2**63 - 1 correctly.
16086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16087 since some C++ compilers masquerading as C compilers
16088 incorrectly reject 9223372036854775807. */
16089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16091 && LARGE_OFF_T % 2147483647 == 1)
16101 if ac_fn_c_try_compile
"$LINENO"; then :
16102 ac_cv_sys_file_offset_bits
=no
; break
16104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16107 #define _FILE_OFFSET_BITS 64
16108 #include <sys/types.h>
16109 /* Check that off_t can represent 2**63 - 1 correctly.
16110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16111 since some C++ compilers masquerading as C compilers
16112 incorrectly reject 9223372036854775807. */
16113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16115 && LARGE_OFF_T % 2147483647 == 1)
16125 if ac_fn_c_try_compile
"$LINENO"; then :
16126 ac_cv_sys_file_offset_bits
=64; break
16128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16129 ac_cv_sys_file_offset_bits
=unknown
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16134 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16135 case $ac_cv_sys_file_offset_bits in #(
16138 cat >>confdefs.h
<<_ACEOF
16139 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16144 if test $ac_cv_sys_file_offset_bits = unknown
; then
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16146 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16147 if ${ac_cv_sys_large_files+:} false
; then :
16148 $as_echo_n "(cached) " >&6
16151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #include <sys/types.h>
16154 /* Check that off_t can represent 2**63 - 1 correctly.
16155 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16156 since some C++ compilers masquerading as C compilers
16157 incorrectly reject 9223372036854775807. */
16158 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16159 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16160 && LARGE_OFF_T % 2147483647 == 1)
16170 if ac_fn_c_try_compile
"$LINENO"; then :
16171 ac_cv_sys_large_files
=no
; break
16173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16175 /* end confdefs.h. */
16176 #define _LARGE_FILES 1
16177 #include <sys/types.h>
16178 /* Check that off_t can represent 2**63 - 1 correctly.
16179 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16180 since some C++ compilers masquerading as C compilers
16181 incorrectly reject 9223372036854775807. */
16182 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16183 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16184 && LARGE_OFF_T % 2147483647 == 1)
16194 if ac_fn_c_try_compile
"$LINENO"; then :
16195 ac_cv_sys_large_files
=1; break
16197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16198 ac_cv_sys_large_files
=unknown
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16203 $as_echo "$ac_cv_sys_large_files" >&6; }
16204 case $ac_cv_sys_large_files in #(
16207 cat >>confdefs.h
<<_ACEOF
16208 #define _LARGE_FILES $ac_cv_sys_large_files
16220 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16221 if test "x$ac_cv_type_off_t" = xyes
; then :
16225 cat >>confdefs.h
<<_ACEOF
16226 #define off_t long int
16232 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16233 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16235 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16238 for ac_type
in 'int' 'long int' 'long long int'; do
16239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16241 $ac_includes_default
16245 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16246 test_array [0] = 0;
16247 return test_array [0];
16253 if ac_fn_c_try_compile
"$LINENO"; then :
16255 cat >>confdefs.h
<<_ACEOF
16256 #define intptr_t $ac_type
16261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16262 test -z "$ac_type" && break
16268 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16269 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16271 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16274 for ac_type
in 'unsigned int' 'unsigned long int' \
16275 'unsigned long long int'; do
16276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16278 $ac_includes_default
16282 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16283 test_array [0] = 0;
16284 return test_array [0];
16290 if ac_fn_c_try_compile
"$LINENO"; then :
16292 cat >>confdefs.h
<<_ACEOF
16293 #define uintptr_t $ac_type
16298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16299 test -z "$ac_type" && break
16304 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16305 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16307 cat >>confdefs.h
<<_ACEOF
16308 #define HAVE_PTRDIFF_T 1
16315 # check header files (we assume C89 is available, so don't check for that)
16319 for ac_header
in $ac_header_list
16321 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16322 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16324 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16325 cat >>confdefs.h
<<_ACEOF
16326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16371 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16373 acx_cv_header_stdint
=stddef.h
16374 acx_cv_header_stdint_kind
="(already complete)"
16375 for i
in stdint.h
$inttype_headers; do
16376 unset ac_cv_type_uintptr_t
16377 unset ac_cv_type_uintmax_t
16378 unset ac_cv_type_int_least32_t
16379 unset ac_cv_type_int_fast32_t
16380 unset ac_cv_type_uint64_t
16381 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16382 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16385 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16386 acx_cv_header_stdint
=$i
16391 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16394 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16397 acx_cv_header_stdint_kind
="(mostly complete)"
16400 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16403 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16406 acx_cv_header_stdint_kind
="(mostly complete)"
16409 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16412 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16415 acx_cv_header_stdint_kind
="(mostly complete)"
16418 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16421 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16424 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16429 if test "$acx_cv_header_stdint" = stddef.h
; then
16430 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16431 for i
in stdint.h
$inttype_headers; do
16432 unset ac_cv_type_uintptr_t
16433 unset ac_cv_type_uint32_t
16434 unset ac_cv_type_uint64_t
16435 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16436 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16439 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16440 acx_cv_header_stdint
=$i
16445 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16448 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16452 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16455 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16462 if test "$acx_cv_header_stdint" = stddef.h
; then
16463 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16464 for i
in sys
/types.h
$inttype_headers; do
16465 unset ac_cv_type_u_int32_t
16466 unset ac_cv_type_u_int64_t
16467 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16468 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16471 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16472 acx_cv_header_stdint
=$i
16477 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16480 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16487 if test "$acx_cv_header_stdint" = stddef.h
; then
16488 acx_cv_header_stdint_kind
="(using manual detection)"
16491 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16492 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16493 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16494 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16495 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16497 # ----------------- Summarize what we found so far
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16500 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16502 case `$as_basename -- gstdint.h ||
16503 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16504 Xgstdint.h : 'X\(//\)$' \| \
16505 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16506 $as_echo X/gstdint.h |
16507 sed '/^.*\/\([^/][^/]*\)\/*$/{
16520 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16521 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16522 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16523 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16528 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16530 # ----------------- done included file, check C basic types --------
16532 # Lacking an uintptr_t? Test size of void *
16533 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16534 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16535 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16536 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16537 # This bug is HP SR number 8606223364.
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16539 $as_echo_n "checking size of void *... " >&6; }
16540 if ${ac_cv_sizeof_void_p+:} false
; then :
16541 $as_echo_n "(cached) " >&6
16543 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16546 if test "$ac_cv_type_void_p" = yes; then
16547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16549 as_fn_error
77 "cannot compute sizeof (void *)
16550 See \`config.log' for more details" "$LINENO" 5; }
16552 ac_cv_sizeof_void_p
=0
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16558 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16562 cat >>confdefs.h
<<_ACEOF
16563 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16569 # Lacking an uint64_t? Test size of long
16570 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16571 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16574 # This bug is HP SR number 8606223364.
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16576 $as_echo_n "checking size of long... " >&6; }
16577 if ${ac_cv_sizeof_long+:} false
; then :
16578 $as_echo_n "(cached) " >&6
16580 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16583 if test "$ac_cv_type_long" = yes; then
16584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16586 as_fn_error
77 "cannot compute sizeof (long)
16587 See \`config.log' for more details" "$LINENO" 5; }
16589 ac_cv_sizeof_long
=0
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16595 $as_echo "$ac_cv_sizeof_long" >&6; }
16599 cat >>confdefs.h
<<_ACEOF
16600 #define SIZEOF_LONG $ac_cv_sizeof_long
16606 if test $acx_cv_header_stdint = stddef.h
; then
16607 # Lacking a good header? Test size of everything and deduce all types.
16608 # The cast to long int works around a bug in the HP C Compiler
16609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16611 # This bug is HP SR number 8606223364.
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16613 $as_echo_n "checking size of int... " >&6; }
16614 if ${ac_cv_sizeof_int+:} false
; then :
16615 $as_echo_n "(cached) " >&6
16617 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16620 if test "$ac_cv_type_int" = yes; then
16621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16623 as_fn_error
77 "cannot compute sizeof (int)
16624 See \`config.log' for more details" "$LINENO" 5; }
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16632 $as_echo "$ac_cv_sizeof_int" >&6; }
16636 cat >>confdefs.h
<<_ACEOF
16637 #define SIZEOF_INT $ac_cv_sizeof_int
16641 # The cast to long int works around a bug in the HP C Compiler
16642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16644 # This bug is HP SR number 8606223364.
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16646 $as_echo_n "checking size of short... " >&6; }
16647 if ${ac_cv_sizeof_short+:} false
; then :
16648 $as_echo_n "(cached) " >&6
16650 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16653 if test "$ac_cv_type_short" = yes; then
16654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16656 as_fn_error
77 "cannot compute sizeof (short)
16657 See \`config.log' for more details" "$LINENO" 5; }
16659 ac_cv_sizeof_short
=0
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16665 $as_echo "$ac_cv_sizeof_short" >&6; }
16669 cat >>confdefs.h
<<_ACEOF
16670 #define SIZEOF_SHORT $ac_cv_sizeof_short
16674 # The cast to long int works around a bug in the HP C Compiler
16675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16677 # This bug is HP SR number 8606223364.
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16679 $as_echo_n "checking size of char... " >&6; }
16680 if ${ac_cv_sizeof_char+:} false
; then :
16681 $as_echo_n "(cached) " >&6
16683 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16686 if test "$ac_cv_type_char" = yes; then
16687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16689 as_fn_error
77 "cannot compute sizeof (char)
16690 See \`config.log' for more details" "$LINENO" 5; }
16692 ac_cv_sizeof_char
=0
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16698 $as_echo "$ac_cv_sizeof_char" >&6; }
16702 cat >>confdefs.h
<<_ACEOF
16703 #define SIZEOF_CHAR $ac_cv_sizeof_char
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16709 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16710 case "$ac_cv_sizeof_char" in
16711 1) acx_cv_type_int8_t
=char
;;
16712 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16715 $as_echo "$acx_cv_type_int8_t" >&6; }
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16718 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16719 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16720 2:*) acx_cv_type_int16_t
=int
;;
16721 *:2) acx_cv_type_int16_t
=short
;;
16722 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16725 $as_echo "$acx_cv_type_int16_t" >&6; }
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16728 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16729 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16730 4:*) acx_cv_type_int32_t
=int
;;
16731 *:4) acx_cv_type_int32_t
=long
;;
16732 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16735 $as_echo "$acx_cv_type_int32_t" >&6; }
16738 # These tests are here to make the output prettier
16740 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16741 case "$ac_cv_sizeof_long" in
16742 8) acx_cv_type_int64_t
=long
;;
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16745 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16747 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16750 # Now we can use the above types
16752 if test "$ac_cv_type_uintptr_t" != yes; then
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16754 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16755 case $ac_cv_sizeof_void_p in
16756 2) acx_cv_type_intptr_t
=int16_t
;;
16757 4) acx_cv_type_intptr_t
=int32_t
;;
16758 8) acx_cv_type_intptr_t
=int64_t
;;
16759 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16762 $as_echo "$acx_cv_type_intptr_t" >&6; }
16765 # ----------------- done all checks, emit header -------------
16766 ac_config_commands
="$ac_config_commands gstdint.h"
16771 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16772 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16774 cat >>confdefs.h
<<_ACEOF
16775 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16780 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16781 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16783 cat >>confdefs.h
<<_ACEOF
16784 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16789 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16790 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
16792 cat >>confdefs.h
<<_ACEOF
16793 #define HAVE_STRUCT_STAT_ST_RDEV 1
16800 case "${host}--x${with_newlib}" in
16802 hardwire_newlib
=1;;
16804 hardwire_newlib
=1;;
16807 # Check for library functions.
16808 if test "${hardwire_newlib:-0}" -eq 1; then
16809 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16810 # may not work correctly, because the compiler may not be able to
16811 # link executables.
16813 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16816 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16819 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16822 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16825 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16828 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16831 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16834 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16837 # At some point, we should differentiate between architectures
16838 # like x86, which have long double versions, and alpha/powerpc/etc.,
16839 # which don't. For the time being, punt.
16840 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16842 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16849 for ac_func
in $ac_func_list
16851 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16852 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16853 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16854 cat >>confdefs.h
<<_ACEOF
16855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16966 # Check strerror_r, cannot be above as versions with two and three arguments exist
16968 ac_save_CFLAGS
="$CFLAGS"
16969 CFLAGS
="-Wimplicit-function-declaration -Werror"
16970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 #define _GNU_SOURCE 1
16973 #include <string.h>
16974 #include <locale.h>
16978 char s[128]; strerror_r(5, s, 128);
16983 if ac_fn_c_try_compile
"$LINENO"; then :
16985 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16989 CFLAGS
="$ac_save_CFLAGS"
16991 ac_save_CFLAGS
="$CFLAGS"
16992 CFLAGS
="-Wimplicit-function-declaration -Werror"
16993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16995 #define _GNU_SOURCE 1
16996 #include <string.h>
16997 #include <locale.h>
17001 char s[128]; strerror_r(5, s);
17006 if ac_fn_c_try_compile
"$LINENO"; then :
17008 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17012 CFLAGS
="$ac_save_CFLAGS"
17015 # Check for C99 (and other IEEE) math functions
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17017 $as_echo_n "checking for sin in -lm... " >&6; }
17018 if ${ac_cv_lib_m_sin+:} false
; then :
17019 $as_echo_n "(cached) " >&6
17021 ac_check_lib_save_LIBS
=$LIBS
17023 if test x
$gcc_no_link = xyes
; then
17024 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17029 /* Override any GCC internal prototype to avoid an error.
17030 Use char because int might match the return type of a GCC
17031 builtin and then its argument prototype would still apply. */
17044 if ac_fn_c_try_link
"$LINENO"; then :
17045 ac_cv_lib_m_sin
=yes
17049 rm -f core conftest.err conftest.
$ac_objext \
17050 conftest
$ac_exeext conftest.
$ac_ext
17051 LIBS
=$ac_check_lib_save_LIBS
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17054 $as_echo "$ac_cv_lib_m_sin" >&6; }
17055 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17056 cat >>confdefs.h
<<_ACEOF
17057 #define HAVE_LIBM 1
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17071 $as_echo_n "checking for acosf... " >&6; }
17072 if ${gcc_cv_math_func_acosf+:} false
; then :
17073 $as_echo_n "(cached) " >&6
17075 if test x
$gcc_no_link = xyes
; then
17076 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17081 #ifdef HAVE_COMPLEX_H
17082 #include <complex.h>
17088 int (*ptr)() = (int (*)())acosf;
17097 if ac_fn_c_try_link
"$LINENO"; then :
17098 gcc_cv_math_func_acosf
=yes
17100 gcc_cv_math_func_acosf
=no
17102 rm -f core conftest.err conftest.
$ac_objext \
17103 conftest
$ac_exeext conftest.
$ac_ext
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17106 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17107 if test $gcc_cv_math_func_acosf = yes; then
17109 cat >>confdefs.h
<<_ACEOF
17110 #define HAVE_ACOSF 1
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17119 $as_echo_n "checking for acos... " >&6; }
17120 if ${gcc_cv_math_func_acos+:} false
; then :
17121 $as_echo_n "(cached) " >&6
17123 if test x
$gcc_no_link = xyes
; then
17124 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17129 #ifdef HAVE_COMPLEX_H
17130 #include <complex.h>
17136 int (*ptr)() = (int (*)())acos;
17145 if ac_fn_c_try_link
"$LINENO"; then :
17146 gcc_cv_math_func_acos
=yes
17148 gcc_cv_math_func_acos
=no
17150 rm -f core conftest.err conftest.
$ac_objext \
17151 conftest
$ac_exeext conftest.
$ac_ext
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17154 $as_echo "$gcc_cv_math_func_acos" >&6; }
17155 if test $gcc_cv_math_func_acos = yes; then
17157 cat >>confdefs.h
<<_ACEOF
17158 #define HAVE_ACOS 1
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17167 $as_echo_n "checking for acosl... " >&6; }
17168 if ${gcc_cv_math_func_acosl+:} false
; then :
17169 $as_echo_n "(cached) " >&6
17171 if test x
$gcc_no_link = xyes
; then
17172 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17177 #ifdef HAVE_COMPLEX_H
17178 #include <complex.h>
17184 int (*ptr)() = (int (*)())acosl;
17193 if ac_fn_c_try_link
"$LINENO"; then :
17194 gcc_cv_math_func_acosl
=yes
17196 gcc_cv_math_func_acosl
=no
17198 rm -f core conftest.err conftest.
$ac_objext \
17199 conftest
$ac_exeext conftest.
$ac_ext
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17202 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17203 if test $gcc_cv_math_func_acosl = yes; then
17205 cat >>confdefs.h
<<_ACEOF
17206 #define HAVE_ACOSL 1
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17215 $as_echo_n "checking for acoshf... " >&6; }
17216 if ${gcc_cv_math_func_acoshf+:} false
; then :
17217 $as_echo_n "(cached) " >&6
17219 if test x
$gcc_no_link = xyes
; then
17220 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17225 #ifdef HAVE_COMPLEX_H
17226 #include <complex.h>
17232 int (*ptr)() = (int (*)())acoshf;
17241 if ac_fn_c_try_link
"$LINENO"; then :
17242 gcc_cv_math_func_acoshf
=yes
17244 gcc_cv_math_func_acoshf
=no
17246 rm -f core conftest.err conftest.
$ac_objext \
17247 conftest
$ac_exeext conftest.
$ac_ext
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17250 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17251 if test $gcc_cv_math_func_acoshf = yes; then
17253 cat >>confdefs.h
<<_ACEOF
17254 #define HAVE_ACOSHF 1
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17263 $as_echo_n "checking for acosh... " >&6; }
17264 if ${gcc_cv_math_func_acosh+:} false
; then :
17265 $as_echo_n "(cached) " >&6
17267 if test x
$gcc_no_link = xyes
; then
17268 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17273 #ifdef HAVE_COMPLEX_H
17274 #include <complex.h>
17280 int (*ptr)() = (int (*)())acosh;
17289 if ac_fn_c_try_link
"$LINENO"; then :
17290 gcc_cv_math_func_acosh
=yes
17292 gcc_cv_math_func_acosh
=no
17294 rm -f core conftest.err conftest.
$ac_objext \
17295 conftest
$ac_exeext conftest.
$ac_ext
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17298 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17299 if test $gcc_cv_math_func_acosh = yes; then
17301 cat >>confdefs.h
<<_ACEOF
17302 #define HAVE_ACOSH 1
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17311 $as_echo_n "checking for acoshl... " >&6; }
17312 if ${gcc_cv_math_func_acoshl+:} false
; then :
17313 $as_echo_n "(cached) " >&6
17315 if test x
$gcc_no_link = xyes
; then
17316 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17321 #ifdef HAVE_COMPLEX_H
17322 #include <complex.h>
17328 int (*ptr)() = (int (*)())acoshl;
17337 if ac_fn_c_try_link
"$LINENO"; then :
17338 gcc_cv_math_func_acoshl
=yes
17340 gcc_cv_math_func_acoshl
=no
17342 rm -f core conftest.err conftest.
$ac_objext \
17343 conftest
$ac_exeext conftest.
$ac_ext
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17346 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17347 if test $gcc_cv_math_func_acoshl = yes; then
17349 cat >>confdefs.h
<<_ACEOF
17350 #define HAVE_ACOSHL 1
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17359 $as_echo_n "checking for asinf... " >&6; }
17360 if ${gcc_cv_math_func_asinf+:} false
; then :
17361 $as_echo_n "(cached) " >&6
17363 if test x
$gcc_no_link = xyes
; then
17364 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17369 #ifdef HAVE_COMPLEX_H
17370 #include <complex.h>
17376 int (*ptr)() = (int (*)())asinf;
17385 if ac_fn_c_try_link
"$LINENO"; then :
17386 gcc_cv_math_func_asinf
=yes
17388 gcc_cv_math_func_asinf
=no
17390 rm -f core conftest.err conftest.
$ac_objext \
17391 conftest
$ac_exeext conftest.
$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17394 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17395 if test $gcc_cv_math_func_asinf = yes; then
17397 cat >>confdefs.h
<<_ACEOF
17398 #define HAVE_ASINF 1
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17407 $as_echo_n "checking for asin... " >&6; }
17408 if ${gcc_cv_math_func_asin+:} false
; then :
17409 $as_echo_n "(cached) " >&6
17411 if test x
$gcc_no_link = xyes
; then
17412 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17417 #ifdef HAVE_COMPLEX_H
17418 #include <complex.h>
17424 int (*ptr)() = (int (*)())asin;
17433 if ac_fn_c_try_link
"$LINENO"; then :
17434 gcc_cv_math_func_asin
=yes
17436 gcc_cv_math_func_asin
=no
17438 rm -f core conftest.err conftest.
$ac_objext \
17439 conftest
$ac_exeext conftest.
$ac_ext
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17442 $as_echo "$gcc_cv_math_func_asin" >&6; }
17443 if test $gcc_cv_math_func_asin = yes; then
17445 cat >>confdefs.h
<<_ACEOF
17446 #define HAVE_ASIN 1
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17455 $as_echo_n "checking for asinl... " >&6; }
17456 if ${gcc_cv_math_func_asinl+:} false
; then :
17457 $as_echo_n "(cached) " >&6
17459 if test x
$gcc_no_link = xyes
; then
17460 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17465 #ifdef HAVE_COMPLEX_H
17466 #include <complex.h>
17472 int (*ptr)() = (int (*)())asinl;
17481 if ac_fn_c_try_link
"$LINENO"; then :
17482 gcc_cv_math_func_asinl
=yes
17484 gcc_cv_math_func_asinl
=no
17486 rm -f core conftest.err conftest.
$ac_objext \
17487 conftest
$ac_exeext conftest.
$ac_ext
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17490 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17491 if test $gcc_cv_math_func_asinl = yes; then
17493 cat >>confdefs.h
<<_ACEOF
17494 #define HAVE_ASINL 1
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17503 $as_echo_n "checking for asinhf... " >&6; }
17504 if ${gcc_cv_math_func_asinhf+:} false
; then :
17505 $as_echo_n "(cached) " >&6
17507 if test x
$gcc_no_link = xyes
; then
17508 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17513 #ifdef HAVE_COMPLEX_H
17514 #include <complex.h>
17520 int (*ptr)() = (int (*)())asinhf;
17529 if ac_fn_c_try_link
"$LINENO"; then :
17530 gcc_cv_math_func_asinhf
=yes
17532 gcc_cv_math_func_asinhf
=no
17534 rm -f core conftest.err conftest.
$ac_objext \
17535 conftest
$ac_exeext conftest.
$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17538 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17539 if test $gcc_cv_math_func_asinhf = yes; then
17541 cat >>confdefs.h
<<_ACEOF
17542 #define HAVE_ASINHF 1
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17551 $as_echo_n "checking for asinh... " >&6; }
17552 if ${gcc_cv_math_func_asinh+:} false
; then :
17553 $as_echo_n "(cached) " >&6
17555 if test x
$gcc_no_link = xyes
; then
17556 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17561 #ifdef HAVE_COMPLEX_H
17562 #include <complex.h>
17568 int (*ptr)() = (int (*)())asinh;
17577 if ac_fn_c_try_link
"$LINENO"; then :
17578 gcc_cv_math_func_asinh
=yes
17580 gcc_cv_math_func_asinh
=no
17582 rm -f core conftest.err conftest.
$ac_objext \
17583 conftest
$ac_exeext conftest.
$ac_ext
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17586 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17587 if test $gcc_cv_math_func_asinh = yes; then
17589 cat >>confdefs.h
<<_ACEOF
17590 #define HAVE_ASINH 1
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17599 $as_echo_n "checking for asinhl... " >&6; }
17600 if ${gcc_cv_math_func_asinhl+:} false
; then :
17601 $as_echo_n "(cached) " >&6
17603 if test x
$gcc_no_link = xyes
; then
17604 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17609 #ifdef HAVE_COMPLEX_H
17610 #include <complex.h>
17616 int (*ptr)() = (int (*)())asinhl;
17625 if ac_fn_c_try_link
"$LINENO"; then :
17626 gcc_cv_math_func_asinhl
=yes
17628 gcc_cv_math_func_asinhl
=no
17630 rm -f core conftest.err conftest.
$ac_objext \
17631 conftest
$ac_exeext conftest.
$ac_ext
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17634 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17635 if test $gcc_cv_math_func_asinhl = yes; then
17637 cat >>confdefs.h
<<_ACEOF
17638 #define HAVE_ASINHL 1
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17647 $as_echo_n "checking for atan2f... " >&6; }
17648 if ${gcc_cv_math_func_atan2f+:} false
; then :
17649 $as_echo_n "(cached) " >&6
17651 if test x
$gcc_no_link = xyes
; then
17652 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17657 #ifdef HAVE_COMPLEX_H
17658 #include <complex.h>
17664 int (*ptr)() = (int (*)())atan2f;
17673 if ac_fn_c_try_link
"$LINENO"; then :
17674 gcc_cv_math_func_atan2f
=yes
17676 gcc_cv_math_func_atan2f
=no
17678 rm -f core conftest.err conftest.
$ac_objext \
17679 conftest
$ac_exeext conftest.
$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17682 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17683 if test $gcc_cv_math_func_atan2f = yes; then
17685 cat >>confdefs.h
<<_ACEOF
17686 #define HAVE_ATAN2F 1
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17695 $as_echo_n "checking for atan2... " >&6; }
17696 if ${gcc_cv_math_func_atan2+:} false
; then :
17697 $as_echo_n "(cached) " >&6
17699 if test x
$gcc_no_link = xyes
; then
17700 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17705 #ifdef HAVE_COMPLEX_H
17706 #include <complex.h>
17712 int (*ptr)() = (int (*)())atan2;
17721 if ac_fn_c_try_link
"$LINENO"; then :
17722 gcc_cv_math_func_atan2
=yes
17724 gcc_cv_math_func_atan2
=no
17726 rm -f core conftest.err conftest.
$ac_objext \
17727 conftest
$ac_exeext conftest.
$ac_ext
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17730 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17731 if test $gcc_cv_math_func_atan2 = yes; then
17733 cat >>confdefs.h
<<_ACEOF
17734 #define HAVE_ATAN2 1
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17743 $as_echo_n "checking for atan2l... " >&6; }
17744 if ${gcc_cv_math_func_atan2l+:} false
; then :
17745 $as_echo_n "(cached) " >&6
17747 if test x
$gcc_no_link = xyes
; then
17748 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17753 #ifdef HAVE_COMPLEX_H
17754 #include <complex.h>
17760 int (*ptr)() = (int (*)())atan2l;
17769 if ac_fn_c_try_link
"$LINENO"; then :
17770 gcc_cv_math_func_atan2l
=yes
17772 gcc_cv_math_func_atan2l
=no
17774 rm -f core conftest.err conftest.
$ac_objext \
17775 conftest
$ac_exeext conftest.
$ac_ext
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17778 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17779 if test $gcc_cv_math_func_atan2l = yes; then
17781 cat >>confdefs.h
<<_ACEOF
17782 #define HAVE_ATAN2L 1
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17791 $as_echo_n "checking for atanf... " >&6; }
17792 if ${gcc_cv_math_func_atanf+:} false
; then :
17793 $as_echo_n "(cached) " >&6
17795 if test x
$gcc_no_link = xyes
; then
17796 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17801 #ifdef HAVE_COMPLEX_H
17802 #include <complex.h>
17808 int (*ptr)() = (int (*)())atanf;
17817 if ac_fn_c_try_link
"$LINENO"; then :
17818 gcc_cv_math_func_atanf
=yes
17820 gcc_cv_math_func_atanf
=no
17822 rm -f core conftest.err conftest.
$ac_objext \
17823 conftest
$ac_exeext conftest.
$ac_ext
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17826 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17827 if test $gcc_cv_math_func_atanf = yes; then
17829 cat >>confdefs.h
<<_ACEOF
17830 #define HAVE_ATANF 1
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17839 $as_echo_n "checking for atan... " >&6; }
17840 if ${gcc_cv_math_func_atan+:} false
; then :
17841 $as_echo_n "(cached) " >&6
17843 if test x
$gcc_no_link = xyes
; then
17844 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h. */
17849 #ifdef HAVE_COMPLEX_H
17850 #include <complex.h>
17856 int (*ptr)() = (int (*)())atan;
17865 if ac_fn_c_try_link
"$LINENO"; then :
17866 gcc_cv_math_func_atan
=yes
17868 gcc_cv_math_func_atan
=no
17870 rm -f core conftest.err conftest.
$ac_objext \
17871 conftest
$ac_exeext conftest.
$ac_ext
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17874 $as_echo "$gcc_cv_math_func_atan" >&6; }
17875 if test $gcc_cv_math_func_atan = yes; then
17877 cat >>confdefs.h
<<_ACEOF
17878 #define HAVE_ATAN 1
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17887 $as_echo_n "checking for atanl... " >&6; }
17888 if ${gcc_cv_math_func_atanl+:} false
; then :
17889 $as_echo_n "(cached) " >&6
17891 if test x
$gcc_no_link = xyes
; then
17892 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17897 #ifdef HAVE_COMPLEX_H
17898 #include <complex.h>
17904 int (*ptr)() = (int (*)())atanl;
17913 if ac_fn_c_try_link
"$LINENO"; then :
17914 gcc_cv_math_func_atanl
=yes
17916 gcc_cv_math_func_atanl
=no
17918 rm -f core conftest.err conftest.
$ac_objext \
17919 conftest
$ac_exeext conftest.
$ac_ext
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17922 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17923 if test $gcc_cv_math_func_atanl = yes; then
17925 cat >>confdefs.h
<<_ACEOF
17926 #define HAVE_ATANL 1
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17935 $as_echo_n "checking for atanhf... " >&6; }
17936 if ${gcc_cv_math_func_atanhf+:} false
; then :
17937 $as_echo_n "(cached) " >&6
17939 if test x
$gcc_no_link = xyes
; then
17940 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17945 #ifdef HAVE_COMPLEX_H
17946 #include <complex.h>
17952 int (*ptr)() = (int (*)())atanhf;
17961 if ac_fn_c_try_link
"$LINENO"; then :
17962 gcc_cv_math_func_atanhf
=yes
17964 gcc_cv_math_func_atanhf
=no
17966 rm -f core conftest.err conftest.
$ac_objext \
17967 conftest
$ac_exeext conftest.
$ac_ext
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17970 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17971 if test $gcc_cv_math_func_atanhf = yes; then
17973 cat >>confdefs.h
<<_ACEOF
17974 #define HAVE_ATANHF 1
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17983 $as_echo_n "checking for atanh... " >&6; }
17984 if ${gcc_cv_math_func_atanh+:} false
; then :
17985 $as_echo_n "(cached) " >&6
17987 if test x
$gcc_no_link = xyes
; then
17988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17993 #ifdef HAVE_COMPLEX_H
17994 #include <complex.h>
18000 int (*ptr)() = (int (*)())atanh;
18009 if ac_fn_c_try_link
"$LINENO"; then :
18010 gcc_cv_math_func_atanh
=yes
18012 gcc_cv_math_func_atanh
=no
18014 rm -f core conftest.err conftest.
$ac_objext \
18015 conftest
$ac_exeext conftest.
$ac_ext
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18018 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18019 if test $gcc_cv_math_func_atanh = yes; then
18021 cat >>confdefs.h
<<_ACEOF
18022 #define HAVE_ATANH 1
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18031 $as_echo_n "checking for atanhl... " >&6; }
18032 if ${gcc_cv_math_func_atanhl+:} false
; then :
18033 $as_echo_n "(cached) " >&6
18035 if test x
$gcc_no_link = xyes
; then
18036 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h. */
18041 #ifdef HAVE_COMPLEX_H
18042 #include <complex.h>
18048 int (*ptr)() = (int (*)())atanhl;
18057 if ac_fn_c_try_link
"$LINENO"; then :
18058 gcc_cv_math_func_atanhl
=yes
18060 gcc_cv_math_func_atanhl
=no
18062 rm -f core conftest.err conftest.
$ac_objext \
18063 conftest
$ac_exeext conftest.
$ac_ext
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18066 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18067 if test $gcc_cv_math_func_atanhl = yes; then
18069 cat >>confdefs.h
<<_ACEOF
18070 #define HAVE_ATANHL 1
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18079 $as_echo_n "checking for cargf... " >&6; }
18080 if ${gcc_cv_math_func_cargf+:} false
; then :
18081 $as_echo_n "(cached) " >&6
18083 if test x
$gcc_no_link = xyes
; then
18084 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18089 #ifdef HAVE_COMPLEX_H
18090 #include <complex.h>
18096 int (*ptr)() = (int (*)())cargf;
18105 if ac_fn_c_try_link
"$LINENO"; then :
18106 gcc_cv_math_func_cargf
=yes
18108 gcc_cv_math_func_cargf
=no
18110 rm -f core conftest.err conftest.
$ac_objext \
18111 conftest
$ac_exeext conftest.
$ac_ext
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18114 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18115 if test $gcc_cv_math_func_cargf = yes; then
18117 cat >>confdefs.h
<<_ACEOF
18118 #define HAVE_CARGF 1
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18127 $as_echo_n "checking for carg... " >&6; }
18128 if ${gcc_cv_math_func_carg+:} false
; then :
18129 $as_echo_n "(cached) " >&6
18131 if test x
$gcc_no_link = xyes
; then
18132 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18137 #ifdef HAVE_COMPLEX_H
18138 #include <complex.h>
18144 int (*ptr)() = (int (*)())carg;
18153 if ac_fn_c_try_link
"$LINENO"; then :
18154 gcc_cv_math_func_carg
=yes
18156 gcc_cv_math_func_carg
=no
18158 rm -f core conftest.err conftest.
$ac_objext \
18159 conftest
$ac_exeext conftest.
$ac_ext
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18162 $as_echo "$gcc_cv_math_func_carg" >&6; }
18163 if test $gcc_cv_math_func_carg = yes; then
18165 cat >>confdefs.h
<<_ACEOF
18166 #define HAVE_CARG 1
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18175 $as_echo_n "checking for cargl... " >&6; }
18176 if ${gcc_cv_math_func_cargl+:} false
; then :
18177 $as_echo_n "(cached) " >&6
18179 if test x
$gcc_no_link = xyes
; then
18180 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18185 #ifdef HAVE_COMPLEX_H
18186 #include <complex.h>
18192 int (*ptr)() = (int (*)())cargl;
18201 if ac_fn_c_try_link
"$LINENO"; then :
18202 gcc_cv_math_func_cargl
=yes
18204 gcc_cv_math_func_cargl
=no
18206 rm -f core conftest.err conftest.
$ac_objext \
18207 conftest
$ac_exeext conftest.
$ac_ext
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18210 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18211 if test $gcc_cv_math_func_cargl = yes; then
18213 cat >>confdefs.h
<<_ACEOF
18214 #define HAVE_CARGL 1
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18223 $as_echo_n "checking for ceilf... " >&6; }
18224 if ${gcc_cv_math_func_ceilf+:} false
; then :
18225 $as_echo_n "(cached) " >&6
18227 if test x
$gcc_no_link = xyes
; then
18228 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h. */
18233 #ifdef HAVE_COMPLEX_H
18234 #include <complex.h>
18240 int (*ptr)() = (int (*)())ceilf;
18249 if ac_fn_c_try_link
"$LINENO"; then :
18250 gcc_cv_math_func_ceilf
=yes
18252 gcc_cv_math_func_ceilf
=no
18254 rm -f core conftest.err conftest.
$ac_objext \
18255 conftest
$ac_exeext conftest.
$ac_ext
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18258 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18259 if test $gcc_cv_math_func_ceilf = yes; then
18261 cat >>confdefs.h
<<_ACEOF
18262 #define HAVE_CEILF 1
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18271 $as_echo_n "checking for ceil... " >&6; }
18272 if ${gcc_cv_math_func_ceil+:} false
; then :
18273 $as_echo_n "(cached) " >&6
18275 if test x
$gcc_no_link = xyes
; then
18276 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18281 #ifdef HAVE_COMPLEX_H
18282 #include <complex.h>
18288 int (*ptr)() = (int (*)())ceil;
18297 if ac_fn_c_try_link
"$LINENO"; then :
18298 gcc_cv_math_func_ceil
=yes
18300 gcc_cv_math_func_ceil
=no
18302 rm -f core conftest.err conftest.
$ac_objext \
18303 conftest
$ac_exeext conftest.
$ac_ext
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18306 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18307 if test $gcc_cv_math_func_ceil = yes; then
18309 cat >>confdefs.h
<<_ACEOF
18310 #define HAVE_CEIL 1
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18319 $as_echo_n "checking for ceill... " >&6; }
18320 if ${gcc_cv_math_func_ceill+:} false
; then :
18321 $as_echo_n "(cached) " >&6
18323 if test x
$gcc_no_link = xyes
; then
18324 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18329 #ifdef HAVE_COMPLEX_H
18330 #include <complex.h>
18336 int (*ptr)() = (int (*)())ceill;
18345 if ac_fn_c_try_link
"$LINENO"; then :
18346 gcc_cv_math_func_ceill
=yes
18348 gcc_cv_math_func_ceill
=no
18350 rm -f core conftest.err conftest.
$ac_objext \
18351 conftest
$ac_exeext conftest.
$ac_ext
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18354 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18355 if test $gcc_cv_math_func_ceill = yes; then
18357 cat >>confdefs.h
<<_ACEOF
18358 #define HAVE_CEILL 1
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18367 $as_echo_n "checking for copysignf... " >&6; }
18368 if ${gcc_cv_math_func_copysignf+:} false
; then :
18369 $as_echo_n "(cached) " >&6
18371 if test x
$gcc_no_link = xyes
; then
18372 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18377 #ifdef HAVE_COMPLEX_H
18378 #include <complex.h>
18384 int (*ptr)() = (int (*)())copysignf;
18393 if ac_fn_c_try_link
"$LINENO"; then :
18394 gcc_cv_math_func_copysignf
=yes
18396 gcc_cv_math_func_copysignf
=no
18398 rm -f core conftest.err conftest.
$ac_objext \
18399 conftest
$ac_exeext conftest.
$ac_ext
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18402 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18403 if test $gcc_cv_math_func_copysignf = yes; then
18405 cat >>confdefs.h
<<_ACEOF
18406 #define HAVE_COPYSIGNF 1
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18415 $as_echo_n "checking for copysign... " >&6; }
18416 if ${gcc_cv_math_func_copysign+:} false
; then :
18417 $as_echo_n "(cached) " >&6
18419 if test x
$gcc_no_link = xyes
; then
18420 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 #ifdef HAVE_COMPLEX_H
18426 #include <complex.h>
18432 int (*ptr)() = (int (*)())copysign;
18441 if ac_fn_c_try_link
"$LINENO"; then :
18442 gcc_cv_math_func_copysign
=yes
18444 gcc_cv_math_func_copysign
=no
18446 rm -f core conftest.err conftest.
$ac_objext \
18447 conftest
$ac_exeext conftest.
$ac_ext
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18450 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18451 if test $gcc_cv_math_func_copysign = yes; then
18453 cat >>confdefs.h
<<_ACEOF
18454 #define HAVE_COPYSIGN 1
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18463 $as_echo_n "checking for copysignl... " >&6; }
18464 if ${gcc_cv_math_func_copysignl+:} false
; then :
18465 $as_echo_n "(cached) " >&6
18467 if test x
$gcc_no_link = xyes
; then
18468 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18473 #ifdef HAVE_COMPLEX_H
18474 #include <complex.h>
18480 int (*ptr)() = (int (*)())copysignl;
18489 if ac_fn_c_try_link
"$LINENO"; then :
18490 gcc_cv_math_func_copysignl
=yes
18492 gcc_cv_math_func_copysignl
=no
18494 rm -f core conftest.err conftest.
$ac_objext \
18495 conftest
$ac_exeext conftest.
$ac_ext
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18498 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18499 if test $gcc_cv_math_func_copysignl = yes; then
18501 cat >>confdefs.h
<<_ACEOF
18502 #define HAVE_COPYSIGNL 1
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18511 $as_echo_n "checking for cosf... " >&6; }
18512 if ${gcc_cv_math_func_cosf+:} false
; then :
18513 $as_echo_n "(cached) " >&6
18515 if test x
$gcc_no_link = xyes
; then
18516 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18521 #ifdef HAVE_COMPLEX_H
18522 #include <complex.h>
18528 int (*ptr)() = (int (*)())cosf;
18537 if ac_fn_c_try_link
"$LINENO"; then :
18538 gcc_cv_math_func_cosf
=yes
18540 gcc_cv_math_func_cosf
=no
18542 rm -f core conftest.err conftest.
$ac_objext \
18543 conftest
$ac_exeext conftest.
$ac_ext
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18546 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18547 if test $gcc_cv_math_func_cosf = yes; then
18549 cat >>confdefs.h
<<_ACEOF
18550 #define HAVE_COSF 1
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18559 $as_echo_n "checking for cos... " >&6; }
18560 if ${gcc_cv_math_func_cos+:} false
; then :
18561 $as_echo_n "(cached) " >&6
18563 if test x
$gcc_no_link = xyes
; then
18564 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18569 #ifdef HAVE_COMPLEX_H
18570 #include <complex.h>
18576 int (*ptr)() = (int (*)())cos;
18585 if ac_fn_c_try_link
"$LINENO"; then :
18586 gcc_cv_math_func_cos
=yes
18588 gcc_cv_math_func_cos
=no
18590 rm -f core conftest.err conftest.
$ac_objext \
18591 conftest
$ac_exeext conftest.
$ac_ext
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18594 $as_echo "$gcc_cv_math_func_cos" >&6; }
18595 if test $gcc_cv_math_func_cos = yes; then
18597 cat >>confdefs.h
<<_ACEOF
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18607 $as_echo_n "checking for cosl... " >&6; }
18608 if ${gcc_cv_math_func_cosl+:} false
; then :
18609 $as_echo_n "(cached) " >&6
18611 if test x
$gcc_no_link = xyes
; then
18612 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18615 /* end confdefs.h. */
18617 #ifdef HAVE_COMPLEX_H
18618 #include <complex.h>
18624 int (*ptr)() = (int (*)())cosl;
18633 if ac_fn_c_try_link
"$LINENO"; then :
18634 gcc_cv_math_func_cosl
=yes
18636 gcc_cv_math_func_cosl
=no
18638 rm -f core conftest.err conftest.
$ac_objext \
18639 conftest
$ac_exeext conftest.
$ac_ext
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18642 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18643 if test $gcc_cv_math_func_cosl = yes; then
18645 cat >>confdefs.h
<<_ACEOF
18646 #define HAVE_COSL 1
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18655 $as_echo_n "checking for ccosf... " >&6; }
18656 if ${gcc_cv_math_func_ccosf+:} false
; then :
18657 $as_echo_n "(cached) " >&6
18659 if test x
$gcc_no_link = xyes
; then
18660 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18665 #ifdef HAVE_COMPLEX_H
18666 #include <complex.h>
18672 int (*ptr)() = (int (*)())ccosf;
18681 if ac_fn_c_try_link
"$LINENO"; then :
18682 gcc_cv_math_func_ccosf
=yes
18684 gcc_cv_math_func_ccosf
=no
18686 rm -f core conftest.err conftest.
$ac_objext \
18687 conftest
$ac_exeext conftest.
$ac_ext
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18690 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18691 if test $gcc_cv_math_func_ccosf = yes; then
18693 cat >>confdefs.h
<<_ACEOF
18694 #define HAVE_CCOSF 1
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18703 $as_echo_n "checking for ccos... " >&6; }
18704 if ${gcc_cv_math_func_ccos+:} false
; then :
18705 $as_echo_n "(cached) " >&6
18707 if test x
$gcc_no_link = xyes
; then
18708 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18713 #ifdef HAVE_COMPLEX_H
18714 #include <complex.h>
18720 int (*ptr)() = (int (*)())ccos;
18729 if ac_fn_c_try_link
"$LINENO"; then :
18730 gcc_cv_math_func_ccos
=yes
18732 gcc_cv_math_func_ccos
=no
18734 rm -f core conftest.err conftest.
$ac_objext \
18735 conftest
$ac_exeext conftest.
$ac_ext
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18738 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18739 if test $gcc_cv_math_func_ccos = yes; then
18741 cat >>confdefs.h
<<_ACEOF
18742 #define HAVE_CCOS 1
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18751 $as_echo_n "checking for ccosl... " >&6; }
18752 if ${gcc_cv_math_func_ccosl+:} false
; then :
18753 $as_echo_n "(cached) " >&6
18755 if test x
$gcc_no_link = xyes
; then
18756 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18761 #ifdef HAVE_COMPLEX_H
18762 #include <complex.h>
18768 int (*ptr)() = (int (*)())ccosl;
18777 if ac_fn_c_try_link
"$LINENO"; then :
18778 gcc_cv_math_func_ccosl
=yes
18780 gcc_cv_math_func_ccosl
=no
18782 rm -f core conftest.err conftest.
$ac_objext \
18783 conftest
$ac_exeext conftest.
$ac_ext
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18786 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18787 if test $gcc_cv_math_func_ccosl = yes; then
18789 cat >>confdefs.h
<<_ACEOF
18790 #define HAVE_CCOSL 1
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18799 $as_echo_n "checking for coshf... " >&6; }
18800 if ${gcc_cv_math_func_coshf+:} false
; then :
18801 $as_echo_n "(cached) " >&6
18803 if test x
$gcc_no_link = xyes
; then
18804 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18809 #ifdef HAVE_COMPLEX_H
18810 #include <complex.h>
18816 int (*ptr)() = (int (*)())coshf;
18825 if ac_fn_c_try_link
"$LINENO"; then :
18826 gcc_cv_math_func_coshf
=yes
18828 gcc_cv_math_func_coshf
=no
18830 rm -f core conftest.err conftest.
$ac_objext \
18831 conftest
$ac_exeext conftest.
$ac_ext
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18834 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18835 if test $gcc_cv_math_func_coshf = yes; then
18837 cat >>confdefs.h
<<_ACEOF
18838 #define HAVE_COSHF 1
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18847 $as_echo_n "checking for cosh... " >&6; }
18848 if ${gcc_cv_math_func_cosh+:} false
; then :
18849 $as_echo_n "(cached) " >&6
18851 if test x
$gcc_no_link = xyes
; then
18852 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18857 #ifdef HAVE_COMPLEX_H
18858 #include <complex.h>
18864 int (*ptr)() = (int (*)())cosh;
18873 if ac_fn_c_try_link
"$LINENO"; then :
18874 gcc_cv_math_func_cosh
=yes
18876 gcc_cv_math_func_cosh
=no
18878 rm -f core conftest.err conftest.
$ac_objext \
18879 conftest
$ac_exeext conftest.
$ac_ext
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18882 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18883 if test $gcc_cv_math_func_cosh = yes; then
18885 cat >>confdefs.h
<<_ACEOF
18886 #define HAVE_COSH 1
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18895 $as_echo_n "checking for coshl... " >&6; }
18896 if ${gcc_cv_math_func_coshl+:} false
; then :
18897 $as_echo_n "(cached) " >&6
18899 if test x
$gcc_no_link = xyes
; then
18900 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18905 #ifdef HAVE_COMPLEX_H
18906 #include <complex.h>
18912 int (*ptr)() = (int (*)())coshl;
18921 if ac_fn_c_try_link
"$LINENO"; then :
18922 gcc_cv_math_func_coshl
=yes
18924 gcc_cv_math_func_coshl
=no
18926 rm -f core conftest.err conftest.
$ac_objext \
18927 conftest
$ac_exeext conftest.
$ac_ext
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18930 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18931 if test $gcc_cv_math_func_coshl = yes; then
18933 cat >>confdefs.h
<<_ACEOF
18934 #define HAVE_COSHL 1
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18943 $as_echo_n "checking for ccoshf... " >&6; }
18944 if ${gcc_cv_math_func_ccoshf+:} false
; then :
18945 $as_echo_n "(cached) " >&6
18947 if test x
$gcc_no_link = xyes
; then
18948 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18953 #ifdef HAVE_COMPLEX_H
18954 #include <complex.h>
18960 int (*ptr)() = (int (*)())ccoshf;
18969 if ac_fn_c_try_link
"$LINENO"; then :
18970 gcc_cv_math_func_ccoshf
=yes
18972 gcc_cv_math_func_ccoshf
=no
18974 rm -f core conftest.err conftest.
$ac_objext \
18975 conftest
$ac_exeext conftest.
$ac_ext
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18978 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18979 if test $gcc_cv_math_func_ccoshf = yes; then
18981 cat >>confdefs.h
<<_ACEOF
18982 #define HAVE_CCOSHF 1
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18991 $as_echo_n "checking for ccosh... " >&6; }
18992 if ${gcc_cv_math_func_ccosh+:} false
; then :
18993 $as_echo_n "(cached) " >&6
18995 if test x
$gcc_no_link = xyes
; then
18996 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19001 #ifdef HAVE_COMPLEX_H
19002 #include <complex.h>
19008 int (*ptr)() = (int (*)())ccosh;
19017 if ac_fn_c_try_link
"$LINENO"; then :
19018 gcc_cv_math_func_ccosh
=yes
19020 gcc_cv_math_func_ccosh
=no
19022 rm -f core conftest.err conftest.
$ac_objext \
19023 conftest
$ac_exeext conftest.
$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19026 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19027 if test $gcc_cv_math_func_ccosh = yes; then
19029 cat >>confdefs.h
<<_ACEOF
19030 #define HAVE_CCOSH 1
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19039 $as_echo_n "checking for ccoshl... " >&6; }
19040 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19041 $as_echo_n "(cached) " >&6
19043 if test x
$gcc_no_link = xyes
; then
19044 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19049 #ifdef HAVE_COMPLEX_H
19050 #include <complex.h>
19056 int (*ptr)() = (int (*)())ccoshl;
19065 if ac_fn_c_try_link
"$LINENO"; then :
19066 gcc_cv_math_func_ccoshl
=yes
19068 gcc_cv_math_func_ccoshl
=no
19070 rm -f core conftest.err conftest.
$ac_objext \
19071 conftest
$ac_exeext conftest.
$ac_ext
19073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19074 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19075 if test $gcc_cv_math_func_ccoshl = yes; then
19077 cat >>confdefs.h
<<_ACEOF
19078 #define HAVE_CCOSHL 1
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19087 $as_echo_n "checking for expf... " >&6; }
19088 if ${gcc_cv_math_func_expf+:} false
; then :
19089 $as_echo_n "(cached) " >&6
19091 if test x
$gcc_no_link = xyes
; then
19092 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19095 /* end confdefs.h. */
19097 #ifdef HAVE_COMPLEX_H
19098 #include <complex.h>
19104 int (*ptr)() = (int (*)())expf;
19113 if ac_fn_c_try_link
"$LINENO"; then :
19114 gcc_cv_math_func_expf
=yes
19116 gcc_cv_math_func_expf
=no
19118 rm -f core conftest.err conftest.
$ac_objext \
19119 conftest
$ac_exeext conftest.
$ac_ext
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19122 $as_echo "$gcc_cv_math_func_expf" >&6; }
19123 if test $gcc_cv_math_func_expf = yes; then
19125 cat >>confdefs.h
<<_ACEOF
19126 #define HAVE_EXPF 1
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19135 $as_echo_n "checking for exp... " >&6; }
19136 if ${gcc_cv_math_func_exp+:} false
; then :
19137 $as_echo_n "(cached) " >&6
19139 if test x
$gcc_no_link = xyes
; then
19140 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19145 #ifdef HAVE_COMPLEX_H
19146 #include <complex.h>
19152 int (*ptr)() = (int (*)())exp;
19161 if ac_fn_c_try_link
"$LINENO"; then :
19162 gcc_cv_math_func_exp
=yes
19164 gcc_cv_math_func_exp
=no
19166 rm -f core conftest.err conftest.
$ac_objext \
19167 conftest
$ac_exeext conftest.
$ac_ext
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19170 $as_echo "$gcc_cv_math_func_exp" >&6; }
19171 if test $gcc_cv_math_func_exp = yes; then
19173 cat >>confdefs.h
<<_ACEOF
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19183 $as_echo_n "checking for expl... " >&6; }
19184 if ${gcc_cv_math_func_expl+:} false
; then :
19185 $as_echo_n "(cached) " >&6
19187 if test x
$gcc_no_link = xyes
; then
19188 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19193 #ifdef HAVE_COMPLEX_H
19194 #include <complex.h>
19200 int (*ptr)() = (int (*)())expl;
19209 if ac_fn_c_try_link
"$LINENO"; then :
19210 gcc_cv_math_func_expl
=yes
19212 gcc_cv_math_func_expl
=no
19214 rm -f core conftest.err conftest.
$ac_objext \
19215 conftest
$ac_exeext conftest.
$ac_ext
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19218 $as_echo "$gcc_cv_math_func_expl" >&6; }
19219 if test $gcc_cv_math_func_expl = yes; then
19221 cat >>confdefs.h
<<_ACEOF
19222 #define HAVE_EXPL 1
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19231 $as_echo_n "checking for cexpf... " >&6; }
19232 if ${gcc_cv_math_func_cexpf+:} false
; then :
19233 $as_echo_n "(cached) " >&6
19235 if test x
$gcc_no_link = xyes
; then
19236 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19241 #ifdef HAVE_COMPLEX_H
19242 #include <complex.h>
19248 int (*ptr)() = (int (*)())cexpf;
19257 if ac_fn_c_try_link
"$LINENO"; then :
19258 gcc_cv_math_func_cexpf
=yes
19260 gcc_cv_math_func_cexpf
=no
19262 rm -f core conftest.err conftest.
$ac_objext \
19263 conftest
$ac_exeext conftest.
$ac_ext
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19266 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19267 if test $gcc_cv_math_func_cexpf = yes; then
19269 cat >>confdefs.h
<<_ACEOF
19270 #define HAVE_CEXPF 1
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19279 $as_echo_n "checking for cexp... " >&6; }
19280 if ${gcc_cv_math_func_cexp+:} false
; then :
19281 $as_echo_n "(cached) " >&6
19283 if test x
$gcc_no_link = xyes
; then
19284 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19289 #ifdef HAVE_COMPLEX_H
19290 #include <complex.h>
19296 int (*ptr)() = (int (*)())cexp;
19305 if ac_fn_c_try_link
"$LINENO"; then :
19306 gcc_cv_math_func_cexp
=yes
19308 gcc_cv_math_func_cexp
=no
19310 rm -f core conftest.err conftest.
$ac_objext \
19311 conftest
$ac_exeext conftest.
$ac_ext
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19314 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19315 if test $gcc_cv_math_func_cexp = yes; then
19317 cat >>confdefs.h
<<_ACEOF
19318 #define HAVE_CEXP 1
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19327 $as_echo_n "checking for cexpl... " >&6; }
19328 if ${gcc_cv_math_func_cexpl+:} false
; then :
19329 $as_echo_n "(cached) " >&6
19331 if test x
$gcc_no_link = xyes
; then
19332 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19337 #ifdef HAVE_COMPLEX_H
19338 #include <complex.h>
19344 int (*ptr)() = (int (*)())cexpl;
19353 if ac_fn_c_try_link
"$LINENO"; then :
19354 gcc_cv_math_func_cexpl
=yes
19356 gcc_cv_math_func_cexpl
=no
19358 rm -f core conftest.err conftest.
$ac_objext \
19359 conftest
$ac_exeext conftest.
$ac_ext
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19362 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19363 if test $gcc_cv_math_func_cexpl = yes; then
19365 cat >>confdefs.h
<<_ACEOF
19366 #define HAVE_CEXPL 1
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19375 $as_echo_n "checking for fabsf... " >&6; }
19376 if ${gcc_cv_math_func_fabsf+:} false
; then :
19377 $as_echo_n "(cached) " >&6
19379 if test x
$gcc_no_link = xyes
; then
19380 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19385 #ifdef HAVE_COMPLEX_H
19386 #include <complex.h>
19392 int (*ptr)() = (int (*)())fabsf;
19401 if ac_fn_c_try_link
"$LINENO"; then :
19402 gcc_cv_math_func_fabsf
=yes
19404 gcc_cv_math_func_fabsf
=no
19406 rm -f core conftest.err conftest.
$ac_objext \
19407 conftest
$ac_exeext conftest.
$ac_ext
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19410 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19411 if test $gcc_cv_math_func_fabsf = yes; then
19413 cat >>confdefs.h
<<_ACEOF
19414 #define HAVE_FABSF 1
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19423 $as_echo_n "checking for fabs... " >&6; }
19424 if ${gcc_cv_math_func_fabs+:} false
; then :
19425 $as_echo_n "(cached) " >&6
19427 if test x
$gcc_no_link = xyes
; then
19428 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19433 #ifdef HAVE_COMPLEX_H
19434 #include <complex.h>
19440 int (*ptr)() = (int (*)())fabs;
19449 if ac_fn_c_try_link
"$LINENO"; then :
19450 gcc_cv_math_func_fabs
=yes
19452 gcc_cv_math_func_fabs
=no
19454 rm -f core conftest.err conftest.
$ac_objext \
19455 conftest
$ac_exeext conftest.
$ac_ext
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19458 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19459 if test $gcc_cv_math_func_fabs = yes; then
19461 cat >>confdefs.h
<<_ACEOF
19462 #define HAVE_FABS 1
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19471 $as_echo_n "checking for fabsl... " >&6; }
19472 if ${gcc_cv_math_func_fabsl+:} false
; then :
19473 $as_echo_n "(cached) " >&6
19475 if test x
$gcc_no_link = xyes
; then
19476 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19481 #ifdef HAVE_COMPLEX_H
19482 #include <complex.h>
19488 int (*ptr)() = (int (*)())fabsl;
19497 if ac_fn_c_try_link
"$LINENO"; then :
19498 gcc_cv_math_func_fabsl
=yes
19500 gcc_cv_math_func_fabsl
=no
19502 rm -f core conftest.err conftest.
$ac_objext \
19503 conftest
$ac_exeext conftest.
$ac_ext
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19506 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19507 if test $gcc_cv_math_func_fabsl = yes; then
19509 cat >>confdefs.h
<<_ACEOF
19510 #define HAVE_FABSL 1
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19519 $as_echo_n "checking for cabsf... " >&6; }
19520 if ${gcc_cv_math_func_cabsf+:} false
; then :
19521 $as_echo_n "(cached) " >&6
19523 if test x
$gcc_no_link = xyes
; then
19524 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19529 #ifdef HAVE_COMPLEX_H
19530 #include <complex.h>
19536 int (*ptr)() = (int (*)())cabsf;
19545 if ac_fn_c_try_link
"$LINENO"; then :
19546 gcc_cv_math_func_cabsf
=yes
19548 gcc_cv_math_func_cabsf
=no
19550 rm -f core conftest.err conftest.
$ac_objext \
19551 conftest
$ac_exeext conftest.
$ac_ext
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19554 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19555 if test $gcc_cv_math_func_cabsf = yes; then
19557 cat >>confdefs.h
<<_ACEOF
19558 #define HAVE_CABSF 1
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19567 $as_echo_n "checking for cabs... " >&6; }
19568 if ${gcc_cv_math_func_cabs+:} false
; then :
19569 $as_echo_n "(cached) " >&6
19571 if test x
$gcc_no_link = xyes
; then
19572 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19577 #ifdef HAVE_COMPLEX_H
19578 #include <complex.h>
19584 int (*ptr)() = (int (*)())cabs;
19593 if ac_fn_c_try_link
"$LINENO"; then :
19594 gcc_cv_math_func_cabs
=yes
19596 gcc_cv_math_func_cabs
=no
19598 rm -f core conftest.err conftest.
$ac_objext \
19599 conftest
$ac_exeext conftest.
$ac_ext
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19602 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19603 if test $gcc_cv_math_func_cabs = yes; then
19605 cat >>confdefs.h
<<_ACEOF
19606 #define HAVE_CABS 1
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19615 $as_echo_n "checking for cabsl... " >&6; }
19616 if ${gcc_cv_math_func_cabsl+:} false
; then :
19617 $as_echo_n "(cached) " >&6
19619 if test x
$gcc_no_link = xyes
; then
19620 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19625 #ifdef HAVE_COMPLEX_H
19626 #include <complex.h>
19632 int (*ptr)() = (int (*)())cabsl;
19641 if ac_fn_c_try_link
"$LINENO"; then :
19642 gcc_cv_math_func_cabsl
=yes
19644 gcc_cv_math_func_cabsl
=no
19646 rm -f core conftest.err conftest.
$ac_objext \
19647 conftest
$ac_exeext conftest.
$ac_ext
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19650 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19651 if test $gcc_cv_math_func_cabsl = yes; then
19653 cat >>confdefs.h
<<_ACEOF
19654 #define HAVE_CABSL 1
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19663 $as_echo_n "checking for floorf... " >&6; }
19664 if ${gcc_cv_math_func_floorf+:} false
; then :
19665 $as_echo_n "(cached) " >&6
19667 if test x
$gcc_no_link = xyes
; then
19668 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19673 #ifdef HAVE_COMPLEX_H
19674 #include <complex.h>
19680 int (*ptr)() = (int (*)())floorf;
19689 if ac_fn_c_try_link
"$LINENO"; then :
19690 gcc_cv_math_func_floorf
=yes
19692 gcc_cv_math_func_floorf
=no
19694 rm -f core conftest.err conftest.
$ac_objext \
19695 conftest
$ac_exeext conftest.
$ac_ext
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19698 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19699 if test $gcc_cv_math_func_floorf = yes; then
19701 cat >>confdefs.h
<<_ACEOF
19702 #define HAVE_FLOORF 1
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19711 $as_echo_n "checking for floor... " >&6; }
19712 if ${gcc_cv_math_func_floor+:} false
; then :
19713 $as_echo_n "(cached) " >&6
19715 if test x
$gcc_no_link = xyes
; then
19716 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19719 /* end confdefs.h. */
19721 #ifdef HAVE_COMPLEX_H
19722 #include <complex.h>
19728 int (*ptr)() = (int (*)())floor;
19737 if ac_fn_c_try_link
"$LINENO"; then :
19738 gcc_cv_math_func_floor
=yes
19740 gcc_cv_math_func_floor
=no
19742 rm -f core conftest.err conftest.
$ac_objext \
19743 conftest
$ac_exeext conftest.
$ac_ext
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19746 $as_echo "$gcc_cv_math_func_floor" >&6; }
19747 if test $gcc_cv_math_func_floor = yes; then
19749 cat >>confdefs.h
<<_ACEOF
19750 #define HAVE_FLOOR 1
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19759 $as_echo_n "checking for floorl... " >&6; }
19760 if ${gcc_cv_math_func_floorl+:} false
; then :
19761 $as_echo_n "(cached) " >&6
19763 if test x
$gcc_no_link = xyes
; then
19764 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19769 #ifdef HAVE_COMPLEX_H
19770 #include <complex.h>
19776 int (*ptr)() = (int (*)())floorl;
19785 if ac_fn_c_try_link
"$LINENO"; then :
19786 gcc_cv_math_func_floorl
=yes
19788 gcc_cv_math_func_floorl
=no
19790 rm -f core conftest.err conftest.
$ac_objext \
19791 conftest
$ac_exeext conftest.
$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19794 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19795 if test $gcc_cv_math_func_floorl = yes; then
19797 cat >>confdefs.h
<<_ACEOF
19798 #define HAVE_FLOORL 1
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19807 $as_echo_n "checking for fmodf... " >&6; }
19808 if ${gcc_cv_math_func_fmodf+:} false
; then :
19809 $as_echo_n "(cached) " >&6
19811 if test x
$gcc_no_link = xyes
; then
19812 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19817 #ifdef HAVE_COMPLEX_H
19818 #include <complex.h>
19824 int (*ptr)() = (int (*)())fmodf;
19833 if ac_fn_c_try_link
"$LINENO"; then :
19834 gcc_cv_math_func_fmodf
=yes
19836 gcc_cv_math_func_fmodf
=no
19838 rm -f core conftest.err conftest.
$ac_objext \
19839 conftest
$ac_exeext conftest.
$ac_ext
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19842 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19843 if test $gcc_cv_math_func_fmodf = yes; then
19845 cat >>confdefs.h
<<_ACEOF
19846 #define HAVE_FMODF 1
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19855 $as_echo_n "checking for fmod... " >&6; }
19856 if ${gcc_cv_math_func_fmod+:} false
; then :
19857 $as_echo_n "(cached) " >&6
19859 if test x
$gcc_no_link = xyes
; then
19860 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19865 #ifdef HAVE_COMPLEX_H
19866 #include <complex.h>
19872 int (*ptr)() = (int (*)())fmod;
19881 if ac_fn_c_try_link
"$LINENO"; then :
19882 gcc_cv_math_func_fmod
=yes
19884 gcc_cv_math_func_fmod
=no
19886 rm -f core conftest.err conftest.
$ac_objext \
19887 conftest
$ac_exeext conftest.
$ac_ext
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19890 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19891 if test $gcc_cv_math_func_fmod = yes; then
19893 cat >>confdefs.h
<<_ACEOF
19894 #define HAVE_FMOD 1
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19903 $as_echo_n "checking for fmodl... " >&6; }
19904 if ${gcc_cv_math_func_fmodl+:} false
; then :
19905 $as_echo_n "(cached) " >&6
19907 if test x
$gcc_no_link = xyes
; then
19908 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19913 #ifdef HAVE_COMPLEX_H
19914 #include <complex.h>
19920 int (*ptr)() = (int (*)())fmodl;
19929 if ac_fn_c_try_link
"$LINENO"; then :
19930 gcc_cv_math_func_fmodl
=yes
19932 gcc_cv_math_func_fmodl
=no
19934 rm -f core conftest.err conftest.
$ac_objext \
19935 conftest
$ac_exeext conftest.
$ac_ext
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19938 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19939 if test $gcc_cv_math_func_fmodl = yes; then
19941 cat >>confdefs.h
<<_ACEOF
19942 #define HAVE_FMODL 1
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19951 $as_echo_n "checking for frexpf... " >&6; }
19952 if ${gcc_cv_math_func_frexpf+:} false
; then :
19953 $as_echo_n "(cached) " >&6
19955 if test x
$gcc_no_link = xyes
; then
19956 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19961 #ifdef HAVE_COMPLEX_H
19962 #include <complex.h>
19968 int (*ptr)() = (int (*)())frexpf;
19977 if ac_fn_c_try_link
"$LINENO"; then :
19978 gcc_cv_math_func_frexpf
=yes
19980 gcc_cv_math_func_frexpf
=no
19982 rm -f core conftest.err conftest.
$ac_objext \
19983 conftest
$ac_exeext conftest.
$ac_ext
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19986 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19987 if test $gcc_cv_math_func_frexpf = yes; then
19989 cat >>confdefs.h
<<_ACEOF
19990 #define HAVE_FREXPF 1
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19999 $as_echo_n "checking for frexp... " >&6; }
20000 if ${gcc_cv_math_func_frexp+:} false
; then :
20001 $as_echo_n "(cached) " >&6
20003 if test x
$gcc_no_link = xyes
; then
20004 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20009 #ifdef HAVE_COMPLEX_H
20010 #include <complex.h>
20016 int (*ptr)() = (int (*)())frexp;
20025 if ac_fn_c_try_link
"$LINENO"; then :
20026 gcc_cv_math_func_frexp
=yes
20028 gcc_cv_math_func_frexp
=no
20030 rm -f core conftest.err conftest.
$ac_objext \
20031 conftest
$ac_exeext conftest.
$ac_ext
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20034 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20035 if test $gcc_cv_math_func_frexp = yes; then
20037 cat >>confdefs.h
<<_ACEOF
20038 #define HAVE_FREXP 1
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20047 $as_echo_n "checking for frexpl... " >&6; }
20048 if ${gcc_cv_math_func_frexpl+:} false
; then :
20049 $as_echo_n "(cached) " >&6
20051 if test x
$gcc_no_link = xyes
; then
20052 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20055 /* end confdefs.h. */
20057 #ifdef HAVE_COMPLEX_H
20058 #include <complex.h>
20064 int (*ptr)() = (int (*)())frexpl;
20073 if ac_fn_c_try_link
"$LINENO"; then :
20074 gcc_cv_math_func_frexpl
=yes
20076 gcc_cv_math_func_frexpl
=no
20078 rm -f core conftest.err conftest.
$ac_objext \
20079 conftest
$ac_exeext conftest.
$ac_ext
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20082 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20083 if test $gcc_cv_math_func_frexpl = yes; then
20085 cat >>confdefs.h
<<_ACEOF
20086 #define HAVE_FREXPL 1
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20095 $as_echo_n "checking for hypotf... " >&6; }
20096 if ${gcc_cv_math_func_hypotf+:} false
; then :
20097 $as_echo_n "(cached) " >&6
20099 if test x
$gcc_no_link = xyes
; then
20100 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20103 /* end confdefs.h. */
20105 #ifdef HAVE_COMPLEX_H
20106 #include <complex.h>
20112 int (*ptr)() = (int (*)())hypotf;
20121 if ac_fn_c_try_link
"$LINENO"; then :
20122 gcc_cv_math_func_hypotf
=yes
20124 gcc_cv_math_func_hypotf
=no
20126 rm -f core conftest.err conftest.
$ac_objext \
20127 conftest
$ac_exeext conftest.
$ac_ext
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20130 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20131 if test $gcc_cv_math_func_hypotf = yes; then
20133 cat >>confdefs.h
<<_ACEOF
20134 #define HAVE_HYPOTF 1
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20143 $as_echo_n "checking for hypot... " >&6; }
20144 if ${gcc_cv_math_func_hypot+:} false
; then :
20145 $as_echo_n "(cached) " >&6
20147 if test x
$gcc_no_link = xyes
; then
20148 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20151 /* end confdefs.h. */
20153 #ifdef HAVE_COMPLEX_H
20154 #include <complex.h>
20160 int (*ptr)() = (int (*)())hypot;
20169 if ac_fn_c_try_link
"$LINENO"; then :
20170 gcc_cv_math_func_hypot
=yes
20172 gcc_cv_math_func_hypot
=no
20174 rm -f core conftest.err conftest.
$ac_objext \
20175 conftest
$ac_exeext conftest.
$ac_ext
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20178 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20179 if test $gcc_cv_math_func_hypot = yes; then
20181 cat >>confdefs.h
<<_ACEOF
20182 #define HAVE_HYPOT 1
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20191 $as_echo_n "checking for hypotl... " >&6; }
20192 if ${gcc_cv_math_func_hypotl+:} false
; then :
20193 $as_echo_n "(cached) " >&6
20195 if test x
$gcc_no_link = xyes
; then
20196 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20199 /* end confdefs.h. */
20201 #ifdef HAVE_COMPLEX_H
20202 #include <complex.h>
20208 int (*ptr)() = (int (*)())hypotl;
20217 if ac_fn_c_try_link
"$LINENO"; then :
20218 gcc_cv_math_func_hypotl
=yes
20220 gcc_cv_math_func_hypotl
=no
20222 rm -f core conftest.err conftest.
$ac_objext \
20223 conftest
$ac_exeext conftest.
$ac_ext
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20226 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20227 if test $gcc_cv_math_func_hypotl = yes; then
20229 cat >>confdefs.h
<<_ACEOF
20230 #define HAVE_HYPOTL 1
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20239 $as_echo_n "checking for ldexpf... " >&6; }
20240 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20241 $as_echo_n "(cached) " >&6
20243 if test x
$gcc_no_link = xyes
; then
20244 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20247 /* end confdefs.h. */
20249 #ifdef HAVE_COMPLEX_H
20250 #include <complex.h>
20256 int (*ptr)() = (int (*)())ldexpf;
20265 if ac_fn_c_try_link
"$LINENO"; then :
20266 gcc_cv_math_func_ldexpf
=yes
20268 gcc_cv_math_func_ldexpf
=no
20270 rm -f core conftest.err conftest.
$ac_objext \
20271 conftest
$ac_exeext conftest.
$ac_ext
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20274 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20275 if test $gcc_cv_math_func_ldexpf = yes; then
20277 cat >>confdefs.h
<<_ACEOF
20278 #define HAVE_LDEXPF 1
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20287 $as_echo_n "checking for ldexp... " >&6; }
20288 if ${gcc_cv_math_func_ldexp+:} false
; then :
20289 $as_echo_n "(cached) " >&6
20291 if test x
$gcc_no_link = xyes
; then
20292 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20295 /* end confdefs.h. */
20297 #ifdef HAVE_COMPLEX_H
20298 #include <complex.h>
20304 int (*ptr)() = (int (*)())ldexp;
20313 if ac_fn_c_try_link
"$LINENO"; then :
20314 gcc_cv_math_func_ldexp
=yes
20316 gcc_cv_math_func_ldexp
=no
20318 rm -f core conftest.err conftest.
$ac_objext \
20319 conftest
$ac_exeext conftest.
$ac_ext
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20322 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20323 if test $gcc_cv_math_func_ldexp = yes; then
20325 cat >>confdefs.h
<<_ACEOF
20326 #define HAVE_LDEXP 1
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20335 $as_echo_n "checking for ldexpl... " >&6; }
20336 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20337 $as_echo_n "(cached) " >&6
20339 if test x
$gcc_no_link = xyes
; then
20340 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20343 /* end confdefs.h. */
20345 #ifdef HAVE_COMPLEX_H
20346 #include <complex.h>
20352 int (*ptr)() = (int (*)())ldexpl;
20361 if ac_fn_c_try_link
"$LINENO"; then :
20362 gcc_cv_math_func_ldexpl
=yes
20364 gcc_cv_math_func_ldexpl
=no
20366 rm -f core conftest.err conftest.
$ac_objext \
20367 conftest
$ac_exeext conftest.
$ac_ext
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20370 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20371 if test $gcc_cv_math_func_ldexpl = yes; then
20373 cat >>confdefs.h
<<_ACEOF
20374 #define HAVE_LDEXPL 1
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20383 $as_echo_n "checking for logf... " >&6; }
20384 if ${gcc_cv_math_func_logf+:} false
; then :
20385 $as_echo_n "(cached) " >&6
20387 if test x
$gcc_no_link = xyes
; then
20388 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20393 #ifdef HAVE_COMPLEX_H
20394 #include <complex.h>
20400 int (*ptr)() = (int (*)())logf;
20409 if ac_fn_c_try_link
"$LINENO"; then :
20410 gcc_cv_math_func_logf
=yes
20412 gcc_cv_math_func_logf
=no
20414 rm -f core conftest.err conftest.
$ac_objext \
20415 conftest
$ac_exeext conftest.
$ac_ext
20417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20418 $as_echo "$gcc_cv_math_func_logf" >&6; }
20419 if test $gcc_cv_math_func_logf = yes; then
20421 cat >>confdefs.h
<<_ACEOF
20422 #define HAVE_LOGF 1
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20431 $as_echo_n "checking for log... " >&6; }
20432 if ${gcc_cv_math_func_log+:} false
; then :
20433 $as_echo_n "(cached) " >&6
20435 if test x
$gcc_no_link = xyes
; then
20436 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20441 #ifdef HAVE_COMPLEX_H
20442 #include <complex.h>
20448 int (*ptr)() = (int (*)())log;
20457 if ac_fn_c_try_link
"$LINENO"; then :
20458 gcc_cv_math_func_log
=yes
20460 gcc_cv_math_func_log
=no
20462 rm -f core conftest.err conftest.
$ac_objext \
20463 conftest
$ac_exeext conftest.
$ac_ext
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20466 $as_echo "$gcc_cv_math_func_log" >&6; }
20467 if test $gcc_cv_math_func_log = yes; then
20469 cat >>confdefs.h
<<_ACEOF
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20479 $as_echo_n "checking for logl... " >&6; }
20480 if ${gcc_cv_math_func_logl+:} false
; then :
20481 $as_echo_n "(cached) " >&6
20483 if test x
$gcc_no_link = xyes
; then
20484 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20487 /* end confdefs.h. */
20489 #ifdef HAVE_COMPLEX_H
20490 #include <complex.h>
20496 int (*ptr)() = (int (*)())logl;
20505 if ac_fn_c_try_link
"$LINENO"; then :
20506 gcc_cv_math_func_logl
=yes
20508 gcc_cv_math_func_logl
=no
20510 rm -f core conftest.err conftest.
$ac_objext \
20511 conftest
$ac_exeext conftest.
$ac_ext
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20514 $as_echo "$gcc_cv_math_func_logl" >&6; }
20515 if test $gcc_cv_math_func_logl = yes; then
20517 cat >>confdefs.h
<<_ACEOF
20518 #define HAVE_LOGL 1
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20527 $as_echo_n "checking for clogf... " >&6; }
20528 if ${gcc_cv_math_func_clogf+:} false
; then :
20529 $as_echo_n "(cached) " >&6
20531 if test x
$gcc_no_link = xyes
; then
20532 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20537 #ifdef HAVE_COMPLEX_H
20538 #include <complex.h>
20544 int (*ptr)() = (int (*)())clogf;
20553 if ac_fn_c_try_link
"$LINENO"; then :
20554 gcc_cv_math_func_clogf
=yes
20556 gcc_cv_math_func_clogf
=no
20558 rm -f core conftest.err conftest.
$ac_objext \
20559 conftest
$ac_exeext conftest.
$ac_ext
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20562 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20563 if test $gcc_cv_math_func_clogf = yes; then
20565 cat >>confdefs.h
<<_ACEOF
20566 #define HAVE_CLOGF 1
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20575 $as_echo_n "checking for clog... " >&6; }
20576 if ${gcc_cv_math_func_clog+:} false
; then :
20577 $as_echo_n "(cached) " >&6
20579 if test x
$gcc_no_link = xyes
; then
20580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20583 /* end confdefs.h. */
20585 #ifdef HAVE_COMPLEX_H
20586 #include <complex.h>
20592 int (*ptr)() = (int (*)())clog;
20601 if ac_fn_c_try_link
"$LINENO"; then :
20602 gcc_cv_math_func_clog
=yes
20604 gcc_cv_math_func_clog
=no
20606 rm -f core conftest.err conftest.
$ac_objext \
20607 conftest
$ac_exeext conftest.
$ac_ext
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20610 $as_echo "$gcc_cv_math_func_clog" >&6; }
20611 if test $gcc_cv_math_func_clog = yes; then
20613 cat >>confdefs.h
<<_ACEOF
20614 #define HAVE_CLOG 1
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20623 $as_echo_n "checking for clogl... " >&6; }
20624 if ${gcc_cv_math_func_clogl+:} false
; then :
20625 $as_echo_n "(cached) " >&6
20627 if test x
$gcc_no_link = xyes
; then
20628 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20633 #ifdef HAVE_COMPLEX_H
20634 #include <complex.h>
20640 int (*ptr)() = (int (*)())clogl;
20649 if ac_fn_c_try_link
"$LINENO"; then :
20650 gcc_cv_math_func_clogl
=yes
20652 gcc_cv_math_func_clogl
=no
20654 rm -f core conftest.err conftest.
$ac_objext \
20655 conftest
$ac_exeext conftest.
$ac_ext
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20658 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20659 if test $gcc_cv_math_func_clogl = yes; then
20661 cat >>confdefs.h
<<_ACEOF
20662 #define HAVE_CLOGL 1
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20671 $as_echo_n "checking for log10f... " >&6; }
20672 if ${gcc_cv_math_func_log10f+:} false
; then :
20673 $as_echo_n "(cached) " >&6
20675 if test x
$gcc_no_link = xyes
; then
20676 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20681 #ifdef HAVE_COMPLEX_H
20682 #include <complex.h>
20688 int (*ptr)() = (int (*)())log10f;
20697 if ac_fn_c_try_link
"$LINENO"; then :
20698 gcc_cv_math_func_log10f
=yes
20700 gcc_cv_math_func_log10f
=no
20702 rm -f core conftest.err conftest.
$ac_objext \
20703 conftest
$ac_exeext conftest.
$ac_ext
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20706 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20707 if test $gcc_cv_math_func_log10f = yes; then
20709 cat >>confdefs.h
<<_ACEOF
20710 #define HAVE_LOG10F 1
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20719 $as_echo_n "checking for log10... " >&6; }
20720 if ${gcc_cv_math_func_log10+:} false
; then :
20721 $as_echo_n "(cached) " >&6
20723 if test x
$gcc_no_link = xyes
; then
20724 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20729 #ifdef HAVE_COMPLEX_H
20730 #include <complex.h>
20736 int (*ptr)() = (int (*)())log10;
20745 if ac_fn_c_try_link
"$LINENO"; then :
20746 gcc_cv_math_func_log10
=yes
20748 gcc_cv_math_func_log10
=no
20750 rm -f core conftest.err conftest.
$ac_objext \
20751 conftest
$ac_exeext conftest.
$ac_ext
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20754 $as_echo "$gcc_cv_math_func_log10" >&6; }
20755 if test $gcc_cv_math_func_log10 = yes; then
20757 cat >>confdefs.h
<<_ACEOF
20758 #define HAVE_LOG10 1
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20767 $as_echo_n "checking for log10l... " >&6; }
20768 if ${gcc_cv_math_func_log10l+:} false
; then :
20769 $as_echo_n "(cached) " >&6
20771 if test x
$gcc_no_link = xyes
; then
20772 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20775 /* end confdefs.h. */
20777 #ifdef HAVE_COMPLEX_H
20778 #include <complex.h>
20784 int (*ptr)() = (int (*)())log10l;
20793 if ac_fn_c_try_link
"$LINENO"; then :
20794 gcc_cv_math_func_log10l
=yes
20796 gcc_cv_math_func_log10l
=no
20798 rm -f core conftest.err conftest.
$ac_objext \
20799 conftest
$ac_exeext conftest.
$ac_ext
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20802 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20803 if test $gcc_cv_math_func_log10l = yes; then
20805 cat >>confdefs.h
<<_ACEOF
20806 #define HAVE_LOG10L 1
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20815 $as_echo_n "checking for clog10f... " >&6; }
20816 if ${gcc_cv_math_func_clog10f+:} false
; then :
20817 $as_echo_n "(cached) " >&6
20819 if test x
$gcc_no_link = xyes
; then
20820 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20825 #ifdef HAVE_COMPLEX_H
20826 #include <complex.h>
20832 int (*ptr)() = (int (*)())clog10f;
20841 if ac_fn_c_try_link
"$LINENO"; then :
20842 gcc_cv_math_func_clog10f
=yes
20844 gcc_cv_math_func_clog10f
=no
20846 rm -f core conftest.err conftest.
$ac_objext \
20847 conftest
$ac_exeext conftest.
$ac_ext
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20850 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20851 if test $gcc_cv_math_func_clog10f = yes; then
20853 cat >>confdefs.h
<<_ACEOF
20854 #define HAVE_CLOG10F 1
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20863 $as_echo_n "checking for clog10... " >&6; }
20864 if ${gcc_cv_math_func_clog10+:} false
; then :
20865 $as_echo_n "(cached) " >&6
20867 if test x
$gcc_no_link = xyes
; then
20868 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20873 #ifdef HAVE_COMPLEX_H
20874 #include <complex.h>
20880 int (*ptr)() = (int (*)())clog10;
20889 if ac_fn_c_try_link
"$LINENO"; then :
20890 gcc_cv_math_func_clog10
=yes
20892 gcc_cv_math_func_clog10
=no
20894 rm -f core conftest.err conftest.
$ac_objext \
20895 conftest
$ac_exeext conftest.
$ac_ext
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20898 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20899 if test $gcc_cv_math_func_clog10 = yes; then
20901 cat >>confdefs.h
<<_ACEOF
20902 #define HAVE_CLOG10 1
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20911 $as_echo_n "checking for clog10l... " >&6; }
20912 if ${gcc_cv_math_func_clog10l+:} false
; then :
20913 $as_echo_n "(cached) " >&6
20915 if test x
$gcc_no_link = xyes
; then
20916 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20921 #ifdef HAVE_COMPLEX_H
20922 #include <complex.h>
20928 int (*ptr)() = (int (*)())clog10l;
20937 if ac_fn_c_try_link
"$LINENO"; then :
20938 gcc_cv_math_func_clog10l
=yes
20940 gcc_cv_math_func_clog10l
=no
20942 rm -f core conftest.err conftest.
$ac_objext \
20943 conftest
$ac_exeext conftest.
$ac_ext
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20946 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20947 if test $gcc_cv_math_func_clog10l = yes; then
20949 cat >>confdefs.h
<<_ACEOF
20950 #define HAVE_CLOG10L 1
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20959 $as_echo_n "checking for nextafterf... " >&6; }
20960 if ${gcc_cv_math_func_nextafterf+:} false
; then :
20961 $as_echo_n "(cached) " >&6
20963 if test x
$gcc_no_link = xyes
; then
20964 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20969 #ifdef HAVE_COMPLEX_H
20970 #include <complex.h>
20976 int (*ptr)() = (int (*)())nextafterf;
20985 if ac_fn_c_try_link
"$LINENO"; then :
20986 gcc_cv_math_func_nextafterf
=yes
20988 gcc_cv_math_func_nextafterf
=no
20990 rm -f core conftest.err conftest.
$ac_objext \
20991 conftest
$ac_exeext conftest.
$ac_ext
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20994 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20995 if test $gcc_cv_math_func_nextafterf = yes; then
20997 cat >>confdefs.h
<<_ACEOF
20998 #define HAVE_NEXTAFTERF 1
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21007 $as_echo_n "checking for nextafter... " >&6; }
21008 if ${gcc_cv_math_func_nextafter+:} false
; then :
21009 $as_echo_n "(cached) " >&6
21011 if test x
$gcc_no_link = xyes
; then
21012 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h. */
21017 #ifdef HAVE_COMPLEX_H
21018 #include <complex.h>
21024 int (*ptr)() = (int (*)())nextafter;
21033 if ac_fn_c_try_link
"$LINENO"; then :
21034 gcc_cv_math_func_nextafter
=yes
21036 gcc_cv_math_func_nextafter
=no
21038 rm -f core conftest.err conftest.
$ac_objext \
21039 conftest
$ac_exeext conftest.
$ac_ext
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21042 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21043 if test $gcc_cv_math_func_nextafter = yes; then
21045 cat >>confdefs.h
<<_ACEOF
21046 #define HAVE_NEXTAFTER 1
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21055 $as_echo_n "checking for nextafterl... " >&6; }
21056 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21057 $as_echo_n "(cached) " >&6
21059 if test x
$gcc_no_link = xyes
; then
21060 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21065 #ifdef HAVE_COMPLEX_H
21066 #include <complex.h>
21072 int (*ptr)() = (int (*)())nextafterl;
21081 if ac_fn_c_try_link
"$LINENO"; then :
21082 gcc_cv_math_func_nextafterl
=yes
21084 gcc_cv_math_func_nextafterl
=no
21086 rm -f core conftest.err conftest.
$ac_objext \
21087 conftest
$ac_exeext conftest.
$ac_ext
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21090 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21091 if test $gcc_cv_math_func_nextafterl = yes; then
21093 cat >>confdefs.h
<<_ACEOF
21094 #define HAVE_NEXTAFTERL 1
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21103 $as_echo_n "checking for powf... " >&6; }
21104 if ${gcc_cv_math_func_powf+:} false
; then :
21105 $as_echo_n "(cached) " >&6
21107 if test x
$gcc_no_link = xyes
; then
21108 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h. */
21113 #ifdef HAVE_COMPLEX_H
21114 #include <complex.h>
21120 int (*ptr)() = (int (*)())powf;
21129 if ac_fn_c_try_link
"$LINENO"; then :
21130 gcc_cv_math_func_powf
=yes
21132 gcc_cv_math_func_powf
=no
21134 rm -f core conftest.err conftest.
$ac_objext \
21135 conftest
$ac_exeext conftest.
$ac_ext
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21138 $as_echo "$gcc_cv_math_func_powf" >&6; }
21139 if test $gcc_cv_math_func_powf = yes; then
21141 cat >>confdefs.h
<<_ACEOF
21142 #define HAVE_POWF 1
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21151 $as_echo_n "checking for pow... " >&6; }
21152 if ${gcc_cv_math_func_pow+:} false
; then :
21153 $as_echo_n "(cached) " >&6
21155 if test x
$gcc_no_link = xyes
; then
21156 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21161 #ifdef HAVE_COMPLEX_H
21162 #include <complex.h>
21168 int (*ptr)() = (int (*)())pow;
21177 if ac_fn_c_try_link
"$LINENO"; then :
21178 gcc_cv_math_func_pow
=yes
21180 gcc_cv_math_func_pow
=no
21182 rm -f core conftest.err conftest.
$ac_objext \
21183 conftest
$ac_exeext conftest.
$ac_ext
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21186 $as_echo "$gcc_cv_math_func_pow" >&6; }
21187 if test $gcc_cv_math_func_pow = yes; then
21189 cat >>confdefs.h
<<_ACEOF
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21199 $as_echo_n "checking for cpowf... " >&6; }
21200 if ${gcc_cv_math_func_cpowf+:} false
; then :
21201 $as_echo_n "(cached) " >&6
21203 if test x
$gcc_no_link = xyes
; then
21204 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21207 /* end confdefs.h. */
21209 #ifdef HAVE_COMPLEX_H
21210 #include <complex.h>
21216 int (*ptr)() = (int (*)())cpowf;
21225 if ac_fn_c_try_link
"$LINENO"; then :
21226 gcc_cv_math_func_cpowf
=yes
21228 gcc_cv_math_func_cpowf
=no
21230 rm -f core conftest.err conftest.
$ac_objext \
21231 conftest
$ac_exeext conftest.
$ac_ext
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21234 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21235 if test $gcc_cv_math_func_cpowf = yes; then
21237 cat >>confdefs.h
<<_ACEOF
21238 #define HAVE_CPOWF 1
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21247 $as_echo_n "checking for cpow... " >&6; }
21248 if ${gcc_cv_math_func_cpow+:} false
; then :
21249 $as_echo_n "(cached) " >&6
21251 if test x
$gcc_no_link = xyes
; then
21252 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21257 #ifdef HAVE_COMPLEX_H
21258 #include <complex.h>
21264 int (*ptr)() = (int (*)())cpow;
21273 if ac_fn_c_try_link
"$LINENO"; then :
21274 gcc_cv_math_func_cpow
=yes
21276 gcc_cv_math_func_cpow
=no
21278 rm -f core conftest.err conftest.
$ac_objext \
21279 conftest
$ac_exeext conftest.
$ac_ext
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21282 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21283 if test $gcc_cv_math_func_cpow = yes; then
21285 cat >>confdefs.h
<<_ACEOF
21286 #define HAVE_CPOW 1
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21295 $as_echo_n "checking for cpowl... " >&6; }
21296 if ${gcc_cv_math_func_cpowl+:} false
; then :
21297 $as_echo_n "(cached) " >&6
21299 if test x
$gcc_no_link = xyes
; then
21300 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21303 /* end confdefs.h. */
21305 #ifdef HAVE_COMPLEX_H
21306 #include <complex.h>
21312 int (*ptr)() = (int (*)())cpowl;
21321 if ac_fn_c_try_link
"$LINENO"; then :
21322 gcc_cv_math_func_cpowl
=yes
21324 gcc_cv_math_func_cpowl
=no
21326 rm -f core conftest.err conftest.
$ac_objext \
21327 conftest
$ac_exeext conftest.
$ac_ext
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21330 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21331 if test $gcc_cv_math_func_cpowl = yes; then
21333 cat >>confdefs.h
<<_ACEOF
21334 #define HAVE_CPOWL 1
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21343 $as_echo_n "checking for roundf... " >&6; }
21344 if ${gcc_cv_math_func_roundf+:} false
; then :
21345 $as_echo_n "(cached) " >&6
21347 if test x
$gcc_no_link = xyes
; then
21348 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21351 /* end confdefs.h. */
21353 #ifdef HAVE_COMPLEX_H
21354 #include <complex.h>
21360 int (*ptr)() = (int (*)())roundf;
21369 if ac_fn_c_try_link
"$LINENO"; then :
21370 gcc_cv_math_func_roundf
=yes
21372 gcc_cv_math_func_roundf
=no
21374 rm -f core conftest.err conftest.
$ac_objext \
21375 conftest
$ac_exeext conftest.
$ac_ext
21377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21378 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21379 if test $gcc_cv_math_func_roundf = yes; then
21381 cat >>confdefs.h
<<_ACEOF
21382 #define HAVE_ROUNDF 1
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21391 $as_echo_n "checking for round... " >&6; }
21392 if ${gcc_cv_math_func_round+:} false
; then :
21393 $as_echo_n "(cached) " >&6
21395 if test x
$gcc_no_link = xyes
; then
21396 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21399 /* end confdefs.h. */
21401 #ifdef HAVE_COMPLEX_H
21402 #include <complex.h>
21408 int (*ptr)() = (int (*)())round;
21417 if ac_fn_c_try_link
"$LINENO"; then :
21418 gcc_cv_math_func_round
=yes
21420 gcc_cv_math_func_round
=no
21422 rm -f core conftest.err conftest.
$ac_objext \
21423 conftest
$ac_exeext conftest.
$ac_ext
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21426 $as_echo "$gcc_cv_math_func_round" >&6; }
21427 if test $gcc_cv_math_func_round = yes; then
21429 cat >>confdefs.h
<<_ACEOF
21430 #define HAVE_ROUND 1
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21439 $as_echo_n "checking for roundl... " >&6; }
21440 if ${gcc_cv_math_func_roundl+:} false
; then :
21441 $as_echo_n "(cached) " >&6
21443 if test x
$gcc_no_link = xyes
; then
21444 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21449 #ifdef HAVE_COMPLEX_H
21450 #include <complex.h>
21456 int (*ptr)() = (int (*)())roundl;
21465 if ac_fn_c_try_link
"$LINENO"; then :
21466 gcc_cv_math_func_roundl
=yes
21468 gcc_cv_math_func_roundl
=no
21470 rm -f core conftest.err conftest.
$ac_objext \
21471 conftest
$ac_exeext conftest.
$ac_ext
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21474 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21475 if test $gcc_cv_math_func_roundl = yes; then
21477 cat >>confdefs.h
<<_ACEOF
21478 #define HAVE_ROUNDL 1
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21487 $as_echo_n "checking for lroundf... " >&6; }
21488 if ${gcc_cv_math_func_lroundf+:} false
; then :
21489 $as_echo_n "(cached) " >&6
21491 if test x
$gcc_no_link = xyes
; then
21492 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h. */
21497 #ifdef HAVE_COMPLEX_H
21498 #include <complex.h>
21504 int (*ptr)() = (int (*)())lroundf;
21513 if ac_fn_c_try_link
"$LINENO"; then :
21514 gcc_cv_math_func_lroundf
=yes
21516 gcc_cv_math_func_lroundf
=no
21518 rm -f core conftest.err conftest.
$ac_objext \
21519 conftest
$ac_exeext conftest.
$ac_ext
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21522 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21523 if test $gcc_cv_math_func_lroundf = yes; then
21525 cat >>confdefs.h
<<_ACEOF
21526 #define HAVE_LROUNDF 1
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21535 $as_echo_n "checking for lround... " >&6; }
21536 if ${gcc_cv_math_func_lround+:} false
; then :
21537 $as_echo_n "(cached) " >&6
21539 if test x
$gcc_no_link = xyes
; then
21540 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21545 #ifdef HAVE_COMPLEX_H
21546 #include <complex.h>
21552 int (*ptr)() = (int (*)())lround;
21561 if ac_fn_c_try_link
"$LINENO"; then :
21562 gcc_cv_math_func_lround
=yes
21564 gcc_cv_math_func_lround
=no
21566 rm -f core conftest.err conftest.
$ac_objext \
21567 conftest
$ac_exeext conftest.
$ac_ext
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21570 $as_echo "$gcc_cv_math_func_lround" >&6; }
21571 if test $gcc_cv_math_func_lround = yes; then
21573 cat >>confdefs.h
<<_ACEOF
21574 #define HAVE_LROUND 1
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21583 $as_echo_n "checking for lroundl... " >&6; }
21584 if ${gcc_cv_math_func_lroundl+:} false
; then :
21585 $as_echo_n "(cached) " >&6
21587 if test x
$gcc_no_link = xyes
; then
21588 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21593 #ifdef HAVE_COMPLEX_H
21594 #include <complex.h>
21600 int (*ptr)() = (int (*)())lroundl;
21609 if ac_fn_c_try_link
"$LINENO"; then :
21610 gcc_cv_math_func_lroundl
=yes
21612 gcc_cv_math_func_lroundl
=no
21614 rm -f core conftest.err conftest.
$ac_objext \
21615 conftest
$ac_exeext conftest.
$ac_ext
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21618 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21619 if test $gcc_cv_math_func_lroundl = yes; then
21621 cat >>confdefs.h
<<_ACEOF
21622 #define HAVE_LROUNDL 1
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21631 $as_echo_n "checking for llroundf... " >&6; }
21632 if ${gcc_cv_math_func_llroundf+:} false
; then :
21633 $as_echo_n "(cached) " >&6
21635 if test x
$gcc_no_link = xyes
; then
21636 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21641 #ifdef HAVE_COMPLEX_H
21642 #include <complex.h>
21648 int (*ptr)() = (int (*)())llroundf;
21657 if ac_fn_c_try_link
"$LINENO"; then :
21658 gcc_cv_math_func_llroundf
=yes
21660 gcc_cv_math_func_llroundf
=no
21662 rm -f core conftest.err conftest.
$ac_objext \
21663 conftest
$ac_exeext conftest.
$ac_ext
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21666 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21667 if test $gcc_cv_math_func_llroundf = yes; then
21669 cat >>confdefs.h
<<_ACEOF
21670 #define HAVE_LLROUNDF 1
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21679 $as_echo_n "checking for llround... " >&6; }
21680 if ${gcc_cv_math_func_llround+:} false
; then :
21681 $as_echo_n "(cached) " >&6
21683 if test x
$gcc_no_link = xyes
; then
21684 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21687 /* end confdefs.h. */
21689 #ifdef HAVE_COMPLEX_H
21690 #include <complex.h>
21696 int (*ptr)() = (int (*)())llround;
21705 if ac_fn_c_try_link
"$LINENO"; then :
21706 gcc_cv_math_func_llround
=yes
21708 gcc_cv_math_func_llround
=no
21710 rm -f core conftest.err conftest.
$ac_objext \
21711 conftest
$ac_exeext conftest.
$ac_ext
21713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21714 $as_echo "$gcc_cv_math_func_llround" >&6; }
21715 if test $gcc_cv_math_func_llround = yes; then
21717 cat >>confdefs.h
<<_ACEOF
21718 #define HAVE_LLROUND 1
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21727 $as_echo_n "checking for llroundl... " >&6; }
21728 if ${gcc_cv_math_func_llroundl+:} false
; then :
21729 $as_echo_n "(cached) " >&6
21731 if test x
$gcc_no_link = xyes
; then
21732 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21737 #ifdef HAVE_COMPLEX_H
21738 #include <complex.h>
21744 int (*ptr)() = (int (*)())llroundl;
21753 if ac_fn_c_try_link
"$LINENO"; then :
21754 gcc_cv_math_func_llroundl
=yes
21756 gcc_cv_math_func_llroundl
=no
21758 rm -f core conftest.err conftest.
$ac_objext \
21759 conftest
$ac_exeext conftest.
$ac_ext
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21762 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21763 if test $gcc_cv_math_func_llroundl = yes; then
21765 cat >>confdefs.h
<<_ACEOF
21766 #define HAVE_LLROUNDL 1
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21775 $as_echo_n "checking for scalbnf... " >&6; }
21776 if ${gcc_cv_math_func_scalbnf+:} false
; then :
21777 $as_echo_n "(cached) " >&6
21779 if test x
$gcc_no_link = xyes
; then
21780 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h. */
21785 #ifdef HAVE_COMPLEX_H
21786 #include <complex.h>
21792 int (*ptr)() = (int (*)())scalbnf;
21801 if ac_fn_c_try_link
"$LINENO"; then :
21802 gcc_cv_math_func_scalbnf
=yes
21804 gcc_cv_math_func_scalbnf
=no
21806 rm -f core conftest.err conftest.
$ac_objext \
21807 conftest
$ac_exeext conftest.
$ac_ext
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21810 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21811 if test $gcc_cv_math_func_scalbnf = yes; then
21813 cat >>confdefs.h
<<_ACEOF
21814 #define HAVE_SCALBNF 1
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21823 $as_echo_n "checking for scalbn... " >&6; }
21824 if ${gcc_cv_math_func_scalbn+:} false
; then :
21825 $as_echo_n "(cached) " >&6
21827 if test x
$gcc_no_link = xyes
; then
21828 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21831 /* end confdefs.h. */
21833 #ifdef HAVE_COMPLEX_H
21834 #include <complex.h>
21840 int (*ptr)() = (int (*)())scalbn;
21849 if ac_fn_c_try_link
"$LINENO"; then :
21850 gcc_cv_math_func_scalbn
=yes
21852 gcc_cv_math_func_scalbn
=no
21854 rm -f core conftest.err conftest.
$ac_objext \
21855 conftest
$ac_exeext conftest.
$ac_ext
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21858 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21859 if test $gcc_cv_math_func_scalbn = yes; then
21861 cat >>confdefs.h
<<_ACEOF
21862 #define HAVE_SCALBN 1
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21871 $as_echo_n "checking for scalbnl... " >&6; }
21872 if ${gcc_cv_math_func_scalbnl+:} false
; then :
21873 $as_echo_n "(cached) " >&6
21875 if test x
$gcc_no_link = xyes
; then
21876 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h. */
21881 #ifdef HAVE_COMPLEX_H
21882 #include <complex.h>
21888 int (*ptr)() = (int (*)())scalbnl;
21897 if ac_fn_c_try_link
"$LINENO"; then :
21898 gcc_cv_math_func_scalbnl
=yes
21900 gcc_cv_math_func_scalbnl
=no
21902 rm -f core conftest.err conftest.
$ac_objext \
21903 conftest
$ac_exeext conftest.
$ac_ext
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21906 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21907 if test $gcc_cv_math_func_scalbnl = yes; then
21909 cat >>confdefs.h
<<_ACEOF
21910 #define HAVE_SCALBNL 1
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21919 $as_echo_n "checking for sinf... " >&6; }
21920 if ${gcc_cv_math_func_sinf+:} false
; then :
21921 $as_echo_n "(cached) " >&6
21923 if test x
$gcc_no_link = xyes
; then
21924 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h. */
21929 #ifdef HAVE_COMPLEX_H
21930 #include <complex.h>
21936 int (*ptr)() = (int (*)())sinf;
21945 if ac_fn_c_try_link
"$LINENO"; then :
21946 gcc_cv_math_func_sinf
=yes
21948 gcc_cv_math_func_sinf
=no
21950 rm -f core conftest.err conftest.
$ac_objext \
21951 conftest
$ac_exeext conftest.
$ac_ext
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21954 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21955 if test $gcc_cv_math_func_sinf = yes; then
21957 cat >>confdefs.h
<<_ACEOF
21958 #define HAVE_SINF 1
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21967 $as_echo_n "checking for sin... " >&6; }
21968 if ${gcc_cv_math_func_sin+:} false
; then :
21969 $as_echo_n "(cached) " >&6
21971 if test x
$gcc_no_link = xyes
; then
21972 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21975 /* end confdefs.h. */
21977 #ifdef HAVE_COMPLEX_H
21978 #include <complex.h>
21984 int (*ptr)() = (int (*)())sin;
21993 if ac_fn_c_try_link
"$LINENO"; then :
21994 gcc_cv_math_func_sin
=yes
21996 gcc_cv_math_func_sin
=no
21998 rm -f core conftest.err conftest.
$ac_objext \
21999 conftest
$ac_exeext conftest.
$ac_ext
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22002 $as_echo "$gcc_cv_math_func_sin" >&6; }
22003 if test $gcc_cv_math_func_sin = yes; then
22005 cat >>confdefs.h
<<_ACEOF
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22015 $as_echo_n "checking for sinl... " >&6; }
22016 if ${gcc_cv_math_func_sinl+:} false
; then :
22017 $as_echo_n "(cached) " >&6
22019 if test x
$gcc_no_link = xyes
; then
22020 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22023 /* end confdefs.h. */
22025 #ifdef HAVE_COMPLEX_H
22026 #include <complex.h>
22032 int (*ptr)() = (int (*)())sinl;
22041 if ac_fn_c_try_link
"$LINENO"; then :
22042 gcc_cv_math_func_sinl
=yes
22044 gcc_cv_math_func_sinl
=no
22046 rm -f core conftest.err conftest.
$ac_objext \
22047 conftest
$ac_exeext conftest.
$ac_ext
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22050 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22051 if test $gcc_cv_math_func_sinl = yes; then
22053 cat >>confdefs.h
<<_ACEOF
22054 #define HAVE_SINL 1
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22063 $as_echo_n "checking for csinf... " >&6; }
22064 if ${gcc_cv_math_func_csinf+:} false
; then :
22065 $as_echo_n "(cached) " >&6
22067 if test x
$gcc_no_link = xyes
; then
22068 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22071 /* end confdefs.h. */
22073 #ifdef HAVE_COMPLEX_H
22074 #include <complex.h>
22080 int (*ptr)() = (int (*)())csinf;
22089 if ac_fn_c_try_link
"$LINENO"; then :
22090 gcc_cv_math_func_csinf
=yes
22092 gcc_cv_math_func_csinf
=no
22094 rm -f core conftest.err conftest.
$ac_objext \
22095 conftest
$ac_exeext conftest.
$ac_ext
22097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22098 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22099 if test $gcc_cv_math_func_csinf = yes; then
22101 cat >>confdefs.h
<<_ACEOF
22102 #define HAVE_CSINF 1
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22111 $as_echo_n "checking for csin... " >&6; }
22112 if ${gcc_cv_math_func_csin+:} false
; then :
22113 $as_echo_n "(cached) " >&6
22115 if test x
$gcc_no_link = xyes
; then
22116 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22119 /* end confdefs.h. */
22121 #ifdef HAVE_COMPLEX_H
22122 #include <complex.h>
22128 int (*ptr)() = (int (*)())csin;
22137 if ac_fn_c_try_link
"$LINENO"; then :
22138 gcc_cv_math_func_csin
=yes
22140 gcc_cv_math_func_csin
=no
22142 rm -f core conftest.err conftest.
$ac_objext \
22143 conftest
$ac_exeext conftest.
$ac_ext
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22146 $as_echo "$gcc_cv_math_func_csin" >&6; }
22147 if test $gcc_cv_math_func_csin = yes; then
22149 cat >>confdefs.h
<<_ACEOF
22150 #define HAVE_CSIN 1
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22159 $as_echo_n "checking for csinl... " >&6; }
22160 if ${gcc_cv_math_func_csinl+:} false
; then :
22161 $as_echo_n "(cached) " >&6
22163 if test x
$gcc_no_link = xyes
; then
22164 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22167 /* end confdefs.h. */
22169 #ifdef HAVE_COMPLEX_H
22170 #include <complex.h>
22176 int (*ptr)() = (int (*)())csinl;
22185 if ac_fn_c_try_link
"$LINENO"; then :
22186 gcc_cv_math_func_csinl
=yes
22188 gcc_cv_math_func_csinl
=no
22190 rm -f core conftest.err conftest.
$ac_objext \
22191 conftest
$ac_exeext conftest.
$ac_ext
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22194 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22195 if test $gcc_cv_math_func_csinl = yes; then
22197 cat >>confdefs.h
<<_ACEOF
22198 #define HAVE_CSINL 1
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22207 $as_echo_n "checking for sinhf... " >&6; }
22208 if ${gcc_cv_math_func_sinhf+:} false
; then :
22209 $as_echo_n "(cached) " >&6
22211 if test x
$gcc_no_link = xyes
; then
22212 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22217 #ifdef HAVE_COMPLEX_H
22218 #include <complex.h>
22224 int (*ptr)() = (int (*)())sinhf;
22233 if ac_fn_c_try_link
"$LINENO"; then :
22234 gcc_cv_math_func_sinhf
=yes
22236 gcc_cv_math_func_sinhf
=no
22238 rm -f core conftest.err conftest.
$ac_objext \
22239 conftest
$ac_exeext conftest.
$ac_ext
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22242 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22243 if test $gcc_cv_math_func_sinhf = yes; then
22245 cat >>confdefs.h
<<_ACEOF
22246 #define HAVE_SINHF 1
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22255 $as_echo_n "checking for sinh... " >&6; }
22256 if ${gcc_cv_math_func_sinh+:} false
; then :
22257 $as_echo_n "(cached) " >&6
22259 if test x
$gcc_no_link = xyes
; then
22260 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22263 /* end confdefs.h. */
22265 #ifdef HAVE_COMPLEX_H
22266 #include <complex.h>
22272 int (*ptr)() = (int (*)())sinh;
22281 if ac_fn_c_try_link
"$LINENO"; then :
22282 gcc_cv_math_func_sinh
=yes
22284 gcc_cv_math_func_sinh
=no
22286 rm -f core conftest.err conftest.
$ac_objext \
22287 conftest
$ac_exeext conftest.
$ac_ext
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22290 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22291 if test $gcc_cv_math_func_sinh = yes; then
22293 cat >>confdefs.h
<<_ACEOF
22294 #define HAVE_SINH 1
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22303 $as_echo_n "checking for sinhl... " >&6; }
22304 if ${gcc_cv_math_func_sinhl+:} false
; then :
22305 $as_echo_n "(cached) " >&6
22307 if test x
$gcc_no_link = xyes
; then
22308 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22311 /* end confdefs.h. */
22313 #ifdef HAVE_COMPLEX_H
22314 #include <complex.h>
22320 int (*ptr)() = (int (*)())sinhl;
22329 if ac_fn_c_try_link
"$LINENO"; then :
22330 gcc_cv_math_func_sinhl
=yes
22332 gcc_cv_math_func_sinhl
=no
22334 rm -f core conftest.err conftest.
$ac_objext \
22335 conftest
$ac_exeext conftest.
$ac_ext
22337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22338 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22339 if test $gcc_cv_math_func_sinhl = yes; then
22341 cat >>confdefs.h
<<_ACEOF
22342 #define HAVE_SINHL 1
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22351 $as_echo_n "checking for csinhf... " >&6; }
22352 if ${gcc_cv_math_func_csinhf+:} false
; then :
22353 $as_echo_n "(cached) " >&6
22355 if test x
$gcc_no_link = xyes
; then
22356 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h. */
22361 #ifdef HAVE_COMPLEX_H
22362 #include <complex.h>
22368 int (*ptr)() = (int (*)())csinhf;
22377 if ac_fn_c_try_link
"$LINENO"; then :
22378 gcc_cv_math_func_csinhf
=yes
22380 gcc_cv_math_func_csinhf
=no
22382 rm -f core conftest.err conftest.
$ac_objext \
22383 conftest
$ac_exeext conftest.
$ac_ext
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22386 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22387 if test $gcc_cv_math_func_csinhf = yes; then
22389 cat >>confdefs.h
<<_ACEOF
22390 #define HAVE_CSINHF 1
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22399 $as_echo_n "checking for csinh... " >&6; }
22400 if ${gcc_cv_math_func_csinh+:} false
; then :
22401 $as_echo_n "(cached) " >&6
22403 if test x
$gcc_no_link = xyes
; then
22404 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22409 #ifdef HAVE_COMPLEX_H
22410 #include <complex.h>
22416 int (*ptr)() = (int (*)())csinh;
22425 if ac_fn_c_try_link
"$LINENO"; then :
22426 gcc_cv_math_func_csinh
=yes
22428 gcc_cv_math_func_csinh
=no
22430 rm -f core conftest.err conftest.
$ac_objext \
22431 conftest
$ac_exeext conftest.
$ac_ext
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22434 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22435 if test $gcc_cv_math_func_csinh = yes; then
22437 cat >>confdefs.h
<<_ACEOF
22438 #define HAVE_CSINH 1
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22447 $as_echo_n "checking for csinhl... " >&6; }
22448 if ${gcc_cv_math_func_csinhl+:} false
; then :
22449 $as_echo_n "(cached) " >&6
22451 if test x
$gcc_no_link = xyes
; then
22452 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22457 #ifdef HAVE_COMPLEX_H
22458 #include <complex.h>
22464 int (*ptr)() = (int (*)())csinhl;
22473 if ac_fn_c_try_link
"$LINENO"; then :
22474 gcc_cv_math_func_csinhl
=yes
22476 gcc_cv_math_func_csinhl
=no
22478 rm -f core conftest.err conftest.
$ac_objext \
22479 conftest
$ac_exeext conftest.
$ac_ext
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22482 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22483 if test $gcc_cv_math_func_csinhl = yes; then
22485 cat >>confdefs.h
<<_ACEOF
22486 #define HAVE_CSINHL 1
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22495 $as_echo_n "checking for sqrtf... " >&6; }
22496 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22497 $as_echo_n "(cached) " >&6
22499 if test x
$gcc_no_link = xyes
; then
22500 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22503 /* end confdefs.h. */
22505 #ifdef HAVE_COMPLEX_H
22506 #include <complex.h>
22512 int (*ptr)() = (int (*)())sqrtf;
22521 if ac_fn_c_try_link
"$LINENO"; then :
22522 gcc_cv_math_func_sqrtf
=yes
22524 gcc_cv_math_func_sqrtf
=no
22526 rm -f core conftest.err conftest.
$ac_objext \
22527 conftest
$ac_exeext conftest.
$ac_ext
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22530 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22531 if test $gcc_cv_math_func_sqrtf = yes; then
22533 cat >>confdefs.h
<<_ACEOF
22534 #define HAVE_SQRTF 1
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22543 $as_echo_n "checking for sqrt... " >&6; }
22544 if ${gcc_cv_math_func_sqrt+:} false
; then :
22545 $as_echo_n "(cached) " >&6
22547 if test x
$gcc_no_link = xyes
; then
22548 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22551 /* end confdefs.h. */
22553 #ifdef HAVE_COMPLEX_H
22554 #include <complex.h>
22560 int (*ptr)() = (int (*)())sqrt;
22569 if ac_fn_c_try_link
"$LINENO"; then :
22570 gcc_cv_math_func_sqrt
=yes
22572 gcc_cv_math_func_sqrt
=no
22574 rm -f core conftest.err conftest.
$ac_objext \
22575 conftest
$ac_exeext conftest.
$ac_ext
22577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22578 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22579 if test $gcc_cv_math_func_sqrt = yes; then
22581 cat >>confdefs.h
<<_ACEOF
22582 #define HAVE_SQRT 1
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22591 $as_echo_n "checking for sqrtl... " >&6; }
22592 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22593 $as_echo_n "(cached) " >&6
22595 if test x
$gcc_no_link = xyes
; then
22596 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22599 /* end confdefs.h. */
22601 #ifdef HAVE_COMPLEX_H
22602 #include <complex.h>
22608 int (*ptr)() = (int (*)())sqrtl;
22617 if ac_fn_c_try_link
"$LINENO"; then :
22618 gcc_cv_math_func_sqrtl
=yes
22620 gcc_cv_math_func_sqrtl
=no
22622 rm -f core conftest.err conftest.
$ac_objext \
22623 conftest
$ac_exeext conftest.
$ac_ext
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22626 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22627 if test $gcc_cv_math_func_sqrtl = yes; then
22629 cat >>confdefs.h
<<_ACEOF
22630 #define HAVE_SQRTL 1
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22639 $as_echo_n "checking for csqrtf... " >&6; }
22640 if ${gcc_cv_math_func_csqrtf+:} false
; then :
22641 $as_echo_n "(cached) " >&6
22643 if test x
$gcc_no_link = xyes
; then
22644 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22647 /* end confdefs.h. */
22649 #ifdef HAVE_COMPLEX_H
22650 #include <complex.h>
22656 int (*ptr)() = (int (*)())csqrtf;
22665 if ac_fn_c_try_link
"$LINENO"; then :
22666 gcc_cv_math_func_csqrtf
=yes
22668 gcc_cv_math_func_csqrtf
=no
22670 rm -f core conftest.err conftest.
$ac_objext \
22671 conftest
$ac_exeext conftest.
$ac_ext
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22674 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22675 if test $gcc_cv_math_func_csqrtf = yes; then
22677 cat >>confdefs.h
<<_ACEOF
22678 #define HAVE_CSQRTF 1
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22687 $as_echo_n "checking for csqrt... " >&6; }
22688 if ${gcc_cv_math_func_csqrt+:} false
; then :
22689 $as_echo_n "(cached) " >&6
22691 if test x
$gcc_no_link = xyes
; then
22692 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h. */
22697 #ifdef HAVE_COMPLEX_H
22698 #include <complex.h>
22704 int (*ptr)() = (int (*)())csqrt;
22713 if ac_fn_c_try_link
"$LINENO"; then :
22714 gcc_cv_math_func_csqrt
=yes
22716 gcc_cv_math_func_csqrt
=no
22718 rm -f core conftest.err conftest.
$ac_objext \
22719 conftest
$ac_exeext conftest.
$ac_ext
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22722 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22723 if test $gcc_cv_math_func_csqrt = yes; then
22725 cat >>confdefs.h
<<_ACEOF
22726 #define HAVE_CSQRT 1
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22735 $as_echo_n "checking for csqrtl... " >&6; }
22736 if ${gcc_cv_math_func_csqrtl+:} false
; then :
22737 $as_echo_n "(cached) " >&6
22739 if test x
$gcc_no_link = xyes
; then
22740 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22743 /* end confdefs.h. */
22745 #ifdef HAVE_COMPLEX_H
22746 #include <complex.h>
22752 int (*ptr)() = (int (*)())csqrtl;
22761 if ac_fn_c_try_link
"$LINENO"; then :
22762 gcc_cv_math_func_csqrtl
=yes
22764 gcc_cv_math_func_csqrtl
=no
22766 rm -f core conftest.err conftest.
$ac_objext \
22767 conftest
$ac_exeext conftest.
$ac_ext
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22770 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22771 if test $gcc_cv_math_func_csqrtl = yes; then
22773 cat >>confdefs.h
<<_ACEOF
22774 #define HAVE_CSQRTL 1
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22783 $as_echo_n "checking for tanf... " >&6; }
22784 if ${gcc_cv_math_func_tanf+:} false
; then :
22785 $as_echo_n "(cached) " >&6
22787 if test x
$gcc_no_link = xyes
; then
22788 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22793 #ifdef HAVE_COMPLEX_H
22794 #include <complex.h>
22800 int (*ptr)() = (int (*)())tanf;
22809 if ac_fn_c_try_link
"$LINENO"; then :
22810 gcc_cv_math_func_tanf
=yes
22812 gcc_cv_math_func_tanf
=no
22814 rm -f core conftest.err conftest.
$ac_objext \
22815 conftest
$ac_exeext conftest.
$ac_ext
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22818 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22819 if test $gcc_cv_math_func_tanf = yes; then
22821 cat >>confdefs.h
<<_ACEOF
22822 #define HAVE_TANF 1
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22831 $as_echo_n "checking for tan... " >&6; }
22832 if ${gcc_cv_math_func_tan+:} false
; then :
22833 $as_echo_n "(cached) " >&6
22835 if test x
$gcc_no_link = xyes
; then
22836 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22839 /* end confdefs.h. */
22841 #ifdef HAVE_COMPLEX_H
22842 #include <complex.h>
22848 int (*ptr)() = (int (*)())tan;
22857 if ac_fn_c_try_link
"$LINENO"; then :
22858 gcc_cv_math_func_tan
=yes
22860 gcc_cv_math_func_tan
=no
22862 rm -f core conftest.err conftest.
$ac_objext \
22863 conftest
$ac_exeext conftest.
$ac_ext
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22866 $as_echo "$gcc_cv_math_func_tan" >&6; }
22867 if test $gcc_cv_math_func_tan = yes; then
22869 cat >>confdefs.h
<<_ACEOF
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22879 $as_echo_n "checking for tanl... " >&6; }
22880 if ${gcc_cv_math_func_tanl+:} false
; then :
22881 $as_echo_n "(cached) " >&6
22883 if test x
$gcc_no_link = xyes
; then
22884 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22889 #ifdef HAVE_COMPLEX_H
22890 #include <complex.h>
22896 int (*ptr)() = (int (*)())tanl;
22905 if ac_fn_c_try_link
"$LINENO"; then :
22906 gcc_cv_math_func_tanl
=yes
22908 gcc_cv_math_func_tanl
=no
22910 rm -f core conftest.err conftest.
$ac_objext \
22911 conftest
$ac_exeext conftest.
$ac_ext
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22914 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22915 if test $gcc_cv_math_func_tanl = yes; then
22917 cat >>confdefs.h
<<_ACEOF
22918 #define HAVE_TANL 1
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22927 $as_echo_n "checking for ctanf... " >&6; }
22928 if ${gcc_cv_math_func_ctanf+:} false
; then :
22929 $as_echo_n "(cached) " >&6
22931 if test x
$gcc_no_link = xyes
; then
22932 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22935 /* end confdefs.h. */
22937 #ifdef HAVE_COMPLEX_H
22938 #include <complex.h>
22944 int (*ptr)() = (int (*)())ctanf;
22953 if ac_fn_c_try_link
"$LINENO"; then :
22954 gcc_cv_math_func_ctanf
=yes
22956 gcc_cv_math_func_ctanf
=no
22958 rm -f core conftest.err conftest.
$ac_objext \
22959 conftest
$ac_exeext conftest.
$ac_ext
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22962 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22963 if test $gcc_cv_math_func_ctanf = yes; then
22965 cat >>confdefs.h
<<_ACEOF
22966 #define HAVE_CTANF 1
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22975 $as_echo_n "checking for ctan... " >&6; }
22976 if ${gcc_cv_math_func_ctan+:} false
; then :
22977 $as_echo_n "(cached) " >&6
22979 if test x
$gcc_no_link = xyes
; then
22980 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22983 /* end confdefs.h. */
22985 #ifdef HAVE_COMPLEX_H
22986 #include <complex.h>
22992 int (*ptr)() = (int (*)())ctan;
23001 if ac_fn_c_try_link
"$LINENO"; then :
23002 gcc_cv_math_func_ctan
=yes
23004 gcc_cv_math_func_ctan
=no
23006 rm -f core conftest.err conftest.
$ac_objext \
23007 conftest
$ac_exeext conftest.
$ac_ext
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23010 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23011 if test $gcc_cv_math_func_ctan = yes; then
23013 cat >>confdefs.h
<<_ACEOF
23014 #define HAVE_CTAN 1
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23023 $as_echo_n "checking for ctanl... " >&6; }
23024 if ${gcc_cv_math_func_ctanl+:} false
; then :
23025 $as_echo_n "(cached) " >&6
23027 if test x
$gcc_no_link = xyes
; then
23028 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23031 /* end confdefs.h. */
23033 #ifdef HAVE_COMPLEX_H
23034 #include <complex.h>
23040 int (*ptr)() = (int (*)())ctanl;
23049 if ac_fn_c_try_link
"$LINENO"; then :
23050 gcc_cv_math_func_ctanl
=yes
23052 gcc_cv_math_func_ctanl
=no
23054 rm -f core conftest.err conftest.
$ac_objext \
23055 conftest
$ac_exeext conftest.
$ac_ext
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23058 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23059 if test $gcc_cv_math_func_ctanl = yes; then
23061 cat >>confdefs.h
<<_ACEOF
23062 #define HAVE_CTANL 1
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23071 $as_echo_n "checking for tanhf... " >&6; }
23072 if ${gcc_cv_math_func_tanhf+:} false
; then :
23073 $as_echo_n "(cached) " >&6
23075 if test x
$gcc_no_link = xyes
; then
23076 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23079 /* end confdefs.h. */
23081 #ifdef HAVE_COMPLEX_H
23082 #include <complex.h>
23088 int (*ptr)() = (int (*)())tanhf;
23097 if ac_fn_c_try_link
"$LINENO"; then :
23098 gcc_cv_math_func_tanhf
=yes
23100 gcc_cv_math_func_tanhf
=no
23102 rm -f core conftest.err conftest.
$ac_objext \
23103 conftest
$ac_exeext conftest.
$ac_ext
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23106 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23107 if test $gcc_cv_math_func_tanhf = yes; then
23109 cat >>confdefs.h
<<_ACEOF
23110 #define HAVE_TANHF 1
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23119 $as_echo_n "checking for tanh... " >&6; }
23120 if ${gcc_cv_math_func_tanh+:} false
; then :
23121 $as_echo_n "(cached) " >&6
23123 if test x
$gcc_no_link = xyes
; then
23124 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23127 /* end confdefs.h. */
23129 #ifdef HAVE_COMPLEX_H
23130 #include <complex.h>
23136 int (*ptr)() = (int (*)())tanh;
23145 if ac_fn_c_try_link
"$LINENO"; then :
23146 gcc_cv_math_func_tanh
=yes
23148 gcc_cv_math_func_tanh
=no
23150 rm -f core conftest.err conftest.
$ac_objext \
23151 conftest
$ac_exeext conftest.
$ac_ext
23153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23154 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23155 if test $gcc_cv_math_func_tanh = yes; then
23157 cat >>confdefs.h
<<_ACEOF
23158 #define HAVE_TANH 1
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23167 $as_echo_n "checking for tanhl... " >&6; }
23168 if ${gcc_cv_math_func_tanhl+:} false
; then :
23169 $as_echo_n "(cached) " >&6
23171 if test x
$gcc_no_link = xyes
; then
23172 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23177 #ifdef HAVE_COMPLEX_H
23178 #include <complex.h>
23184 int (*ptr)() = (int (*)())tanhl;
23193 if ac_fn_c_try_link
"$LINENO"; then :
23194 gcc_cv_math_func_tanhl
=yes
23196 gcc_cv_math_func_tanhl
=no
23198 rm -f core conftest.err conftest.
$ac_objext \
23199 conftest
$ac_exeext conftest.
$ac_ext
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23202 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23203 if test $gcc_cv_math_func_tanhl = yes; then
23205 cat >>confdefs.h
<<_ACEOF
23206 #define HAVE_TANHL 1
23214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23215 $as_echo_n "checking for ctanhf... " >&6; }
23216 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23217 $as_echo_n "(cached) " >&6
23219 if test x
$gcc_no_link = xyes
; then
23220 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h. */
23225 #ifdef HAVE_COMPLEX_H
23226 #include <complex.h>
23232 int (*ptr)() = (int (*)())ctanhf;
23241 if ac_fn_c_try_link
"$LINENO"; then :
23242 gcc_cv_math_func_ctanhf
=yes
23244 gcc_cv_math_func_ctanhf
=no
23246 rm -f core conftest.err conftest.
$ac_objext \
23247 conftest
$ac_exeext conftest.
$ac_ext
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23250 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23251 if test $gcc_cv_math_func_ctanhf = yes; then
23253 cat >>confdefs.h
<<_ACEOF
23254 #define HAVE_CTANHF 1
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23263 $as_echo_n "checking for ctanh... " >&6; }
23264 if ${gcc_cv_math_func_ctanh+:} false
; then :
23265 $as_echo_n "(cached) " >&6
23267 if test x
$gcc_no_link = xyes
; then
23268 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23271 /* end confdefs.h. */
23273 #ifdef HAVE_COMPLEX_H
23274 #include <complex.h>
23280 int (*ptr)() = (int (*)())ctanh;
23289 if ac_fn_c_try_link
"$LINENO"; then :
23290 gcc_cv_math_func_ctanh
=yes
23292 gcc_cv_math_func_ctanh
=no
23294 rm -f core conftest.err conftest.
$ac_objext \
23295 conftest
$ac_exeext conftest.
$ac_ext
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23298 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23299 if test $gcc_cv_math_func_ctanh = yes; then
23301 cat >>confdefs.h
<<_ACEOF
23302 #define HAVE_CTANH 1
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23311 $as_echo_n "checking for ctanhl... " >&6; }
23312 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23313 $as_echo_n "(cached) " >&6
23315 if test x
$gcc_no_link = xyes
; then
23316 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23319 /* end confdefs.h. */
23321 #ifdef HAVE_COMPLEX_H
23322 #include <complex.h>
23328 int (*ptr)() = (int (*)())ctanhl;
23337 if ac_fn_c_try_link
"$LINENO"; then :
23338 gcc_cv_math_func_ctanhl
=yes
23340 gcc_cv_math_func_ctanhl
=no
23342 rm -f core conftest.err conftest.
$ac_objext \
23343 conftest
$ac_exeext conftest.
$ac_ext
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23346 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23347 if test $gcc_cv_math_func_ctanhl = yes; then
23349 cat >>confdefs.h
<<_ACEOF
23350 #define HAVE_CTANHL 1
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23359 $as_echo_n "checking for truncf... " >&6; }
23360 if ${gcc_cv_math_func_truncf+:} false
; then :
23361 $as_echo_n "(cached) " >&6
23363 if test x
$gcc_no_link = xyes
; then
23364 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23367 /* end confdefs.h. */
23369 #ifdef HAVE_COMPLEX_H
23370 #include <complex.h>
23376 int (*ptr)() = (int (*)())truncf;
23385 if ac_fn_c_try_link
"$LINENO"; then :
23386 gcc_cv_math_func_truncf
=yes
23388 gcc_cv_math_func_truncf
=no
23390 rm -f core conftest.err conftest.
$ac_objext \
23391 conftest
$ac_exeext conftest.
$ac_ext
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23394 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23395 if test $gcc_cv_math_func_truncf = yes; then
23397 cat >>confdefs.h
<<_ACEOF
23398 #define HAVE_TRUNCF 1
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23407 $as_echo_n "checking for trunc... " >&6; }
23408 if ${gcc_cv_math_func_trunc+:} false
; then :
23409 $as_echo_n "(cached) " >&6
23411 if test x
$gcc_no_link = xyes
; then
23412 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23415 /* end confdefs.h. */
23417 #ifdef HAVE_COMPLEX_H
23418 #include <complex.h>
23424 int (*ptr)() = (int (*)())trunc;
23433 if ac_fn_c_try_link
"$LINENO"; then :
23434 gcc_cv_math_func_trunc
=yes
23436 gcc_cv_math_func_trunc
=no
23438 rm -f core conftest.err conftest.
$ac_objext \
23439 conftest
$ac_exeext conftest.
$ac_ext
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23442 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23443 if test $gcc_cv_math_func_trunc = yes; then
23445 cat >>confdefs.h
<<_ACEOF
23446 #define HAVE_TRUNC 1
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23455 $as_echo_n "checking for truncl... " >&6; }
23456 if ${gcc_cv_math_func_truncl+:} false
; then :
23457 $as_echo_n "(cached) " >&6
23459 if test x
$gcc_no_link = xyes
; then
23460 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23465 #ifdef HAVE_COMPLEX_H
23466 #include <complex.h>
23472 int (*ptr)() = (int (*)())truncl;
23481 if ac_fn_c_try_link
"$LINENO"; then :
23482 gcc_cv_math_func_truncl
=yes
23484 gcc_cv_math_func_truncl
=no
23486 rm -f core conftest.err conftest.
$ac_objext \
23487 conftest
$ac_exeext conftest.
$ac_ext
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23490 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23491 if test $gcc_cv_math_func_truncl = yes; then
23493 cat >>confdefs.h
<<_ACEOF
23494 #define HAVE_TRUNCL 1
23502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23503 $as_echo_n "checking for erff... " >&6; }
23504 if ${gcc_cv_math_func_erff+:} false
; then :
23505 $as_echo_n "(cached) " >&6
23507 if test x
$gcc_no_link = xyes
; then
23508 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23511 /* end confdefs.h. */
23513 #ifdef HAVE_COMPLEX_H
23514 #include <complex.h>
23520 int (*ptr)() = (int (*)())erff;
23529 if ac_fn_c_try_link
"$LINENO"; then :
23530 gcc_cv_math_func_erff
=yes
23532 gcc_cv_math_func_erff
=no
23534 rm -f core conftest.err conftest.
$ac_objext \
23535 conftest
$ac_exeext conftest.
$ac_ext
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23538 $as_echo "$gcc_cv_math_func_erff" >&6; }
23539 if test $gcc_cv_math_func_erff = yes; then
23541 cat >>confdefs.h
<<_ACEOF
23542 #define HAVE_ERFF 1
23550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23551 $as_echo_n "checking for erf... " >&6; }
23552 if ${gcc_cv_math_func_erf+:} false
; then :
23553 $as_echo_n "(cached) " >&6
23555 if test x
$gcc_no_link = xyes
; then
23556 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23559 /* end confdefs.h. */
23561 #ifdef HAVE_COMPLEX_H
23562 #include <complex.h>
23568 int (*ptr)() = (int (*)())erf;
23577 if ac_fn_c_try_link
"$LINENO"; then :
23578 gcc_cv_math_func_erf
=yes
23580 gcc_cv_math_func_erf
=no
23582 rm -f core conftest.err conftest.
$ac_objext \
23583 conftest
$ac_exeext conftest.
$ac_ext
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23586 $as_echo "$gcc_cv_math_func_erf" >&6; }
23587 if test $gcc_cv_math_func_erf = yes; then
23589 cat >>confdefs.h
<<_ACEOF
23598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23599 $as_echo_n "checking for erfcf... " >&6; }
23600 if ${gcc_cv_math_func_erfcf+:} false
; then :
23601 $as_echo_n "(cached) " >&6
23603 if test x
$gcc_no_link = xyes
; then
23604 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23607 /* end confdefs.h. */
23609 #ifdef HAVE_COMPLEX_H
23610 #include <complex.h>
23616 int (*ptr)() = (int (*)())erfcf;
23625 if ac_fn_c_try_link
"$LINENO"; then :
23626 gcc_cv_math_func_erfcf
=yes
23628 gcc_cv_math_func_erfcf
=no
23630 rm -f core conftest.err conftest.
$ac_objext \
23631 conftest
$ac_exeext conftest.
$ac_ext
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23634 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23635 if test $gcc_cv_math_func_erfcf = yes; then
23637 cat >>confdefs.h
<<_ACEOF
23638 #define HAVE_ERFCF 1
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23647 $as_echo_n "checking for erfc... " >&6; }
23648 if ${gcc_cv_math_func_erfc+:} false
; then :
23649 $as_echo_n "(cached) " >&6
23651 if test x
$gcc_no_link = xyes
; then
23652 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23655 /* end confdefs.h. */
23657 #ifdef HAVE_COMPLEX_H
23658 #include <complex.h>
23664 int (*ptr)() = (int (*)())erfc;
23673 if ac_fn_c_try_link
"$LINENO"; then :
23674 gcc_cv_math_func_erfc
=yes
23676 gcc_cv_math_func_erfc
=no
23678 rm -f core conftest.err conftest.
$ac_objext \
23679 conftest
$ac_exeext conftest.
$ac_ext
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23682 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23683 if test $gcc_cv_math_func_erfc = yes; then
23685 cat >>confdefs.h
<<_ACEOF
23686 #define HAVE_ERFC 1
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23695 $as_echo_n "checking for erfcl... " >&6; }
23696 if ${gcc_cv_math_func_erfcl+:} false
; then :
23697 $as_echo_n "(cached) " >&6
23699 if test x
$gcc_no_link = xyes
; then
23700 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23703 /* end confdefs.h. */
23705 #ifdef HAVE_COMPLEX_H
23706 #include <complex.h>
23712 int (*ptr)() = (int (*)())erfcl;
23721 if ac_fn_c_try_link
"$LINENO"; then :
23722 gcc_cv_math_func_erfcl
=yes
23724 gcc_cv_math_func_erfcl
=no
23726 rm -f core conftest.err conftest.
$ac_objext \
23727 conftest
$ac_exeext conftest.
$ac_ext
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23730 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23731 if test $gcc_cv_math_func_erfcl = yes; then
23733 cat >>confdefs.h
<<_ACEOF
23734 #define HAVE_ERFCL 1
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23743 $as_echo_n "checking for j0f... " >&6; }
23744 if ${gcc_cv_math_func_j0f+:} false
; then :
23745 $as_echo_n "(cached) " >&6
23747 if test x
$gcc_no_link = xyes
; then
23748 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23751 /* end confdefs.h. */
23753 #ifdef HAVE_COMPLEX_H
23754 #include <complex.h>
23760 int (*ptr)() = (int (*)())j0f;
23769 if ac_fn_c_try_link
"$LINENO"; then :
23770 gcc_cv_math_func_j0f
=yes
23772 gcc_cv_math_func_j0f
=no
23774 rm -f core conftest.err conftest.
$ac_objext \
23775 conftest
$ac_exeext conftest.
$ac_ext
23777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23778 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23779 if test $gcc_cv_math_func_j0f = yes; then
23781 cat >>confdefs.h
<<_ACEOF
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23791 $as_echo_n "checking for j0... " >&6; }
23792 if ${gcc_cv_math_func_j0+:} false
; then :
23793 $as_echo_n "(cached) " >&6
23795 if test x
$gcc_no_link = xyes
; then
23796 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23799 /* end confdefs.h. */
23801 #ifdef HAVE_COMPLEX_H
23802 #include <complex.h>
23808 int (*ptr)() = (int (*)())j0;
23817 if ac_fn_c_try_link
"$LINENO"; then :
23818 gcc_cv_math_func_j0
=yes
23820 gcc_cv_math_func_j0
=no
23822 rm -f core conftest.err conftest.
$ac_objext \
23823 conftest
$ac_exeext conftest.
$ac_ext
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23826 $as_echo "$gcc_cv_math_func_j0" >&6; }
23827 if test $gcc_cv_math_func_j0 = yes; then
23829 cat >>confdefs.h
<<_ACEOF
23838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23839 $as_echo_n "checking for j1f... " >&6; }
23840 if ${gcc_cv_math_func_j1f+:} false
; then :
23841 $as_echo_n "(cached) " >&6
23843 if test x
$gcc_no_link = xyes
; then
23844 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23847 /* end confdefs.h. */
23849 #ifdef HAVE_COMPLEX_H
23850 #include <complex.h>
23856 int (*ptr)() = (int (*)())j1f;
23865 if ac_fn_c_try_link
"$LINENO"; then :
23866 gcc_cv_math_func_j1f
=yes
23868 gcc_cv_math_func_j1f
=no
23870 rm -f core conftest.err conftest.
$ac_objext \
23871 conftest
$ac_exeext conftest.
$ac_ext
23873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23874 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23875 if test $gcc_cv_math_func_j1f = yes; then
23877 cat >>confdefs.h
<<_ACEOF
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23887 $as_echo_n "checking for j1... " >&6; }
23888 if ${gcc_cv_math_func_j1+:} false
; then :
23889 $as_echo_n "(cached) " >&6
23891 if test x
$gcc_no_link = xyes
; then
23892 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23897 #ifdef HAVE_COMPLEX_H
23898 #include <complex.h>
23904 int (*ptr)() = (int (*)())j1;
23913 if ac_fn_c_try_link
"$LINENO"; then :
23914 gcc_cv_math_func_j1
=yes
23916 gcc_cv_math_func_j1
=no
23918 rm -f core conftest.err conftest.
$ac_objext \
23919 conftest
$ac_exeext conftest.
$ac_ext
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23922 $as_echo "$gcc_cv_math_func_j1" >&6; }
23923 if test $gcc_cv_math_func_j1 = yes; then
23925 cat >>confdefs.h
<<_ACEOF
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23935 $as_echo_n "checking for jnf... " >&6; }
23936 if ${gcc_cv_math_func_jnf+:} false
; then :
23937 $as_echo_n "(cached) " >&6
23939 if test x
$gcc_no_link = xyes
; then
23940 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23943 /* end confdefs.h. */
23945 #ifdef HAVE_COMPLEX_H
23946 #include <complex.h>
23952 int (*ptr)() = (int (*)())jnf;
23961 if ac_fn_c_try_link
"$LINENO"; then :
23962 gcc_cv_math_func_jnf
=yes
23964 gcc_cv_math_func_jnf
=no
23966 rm -f core conftest.err conftest.
$ac_objext \
23967 conftest
$ac_exeext conftest.
$ac_ext
23969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23970 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23971 if test $gcc_cv_math_func_jnf = yes; then
23973 cat >>confdefs.h
<<_ACEOF
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23983 $as_echo_n "checking for jn... " >&6; }
23984 if ${gcc_cv_math_func_jn+:} false
; then :
23985 $as_echo_n "(cached) " >&6
23987 if test x
$gcc_no_link = xyes
; then
23988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23991 /* end confdefs.h. */
23993 #ifdef HAVE_COMPLEX_H
23994 #include <complex.h>
24000 int (*ptr)() = (int (*)())jn;
24009 if ac_fn_c_try_link
"$LINENO"; then :
24010 gcc_cv_math_func_jn
=yes
24012 gcc_cv_math_func_jn
=no
24014 rm -f core conftest.err conftest.
$ac_objext \
24015 conftest
$ac_exeext conftest.
$ac_ext
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24018 $as_echo "$gcc_cv_math_func_jn" >&6; }
24019 if test $gcc_cv_math_func_jn = yes; then
24021 cat >>confdefs.h
<<_ACEOF
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24031 $as_echo_n "checking for jnl... " >&6; }
24032 if ${gcc_cv_math_func_jnl+:} false
; then :
24033 $as_echo_n "(cached) " >&6
24035 if test x
$gcc_no_link = xyes
; then
24036 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24039 /* end confdefs.h. */
24041 #ifdef HAVE_COMPLEX_H
24042 #include <complex.h>
24048 int (*ptr)() = (int (*)())jnl;
24057 if ac_fn_c_try_link
"$LINENO"; then :
24058 gcc_cv_math_func_jnl
=yes
24060 gcc_cv_math_func_jnl
=no
24062 rm -f core conftest.err conftest.
$ac_objext \
24063 conftest
$ac_exeext conftest.
$ac_ext
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24066 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24067 if test $gcc_cv_math_func_jnl = yes; then
24069 cat >>confdefs.h
<<_ACEOF
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24079 $as_echo_n "checking for y0f... " >&6; }
24080 if ${gcc_cv_math_func_y0f+:} false
; then :
24081 $as_echo_n "(cached) " >&6
24083 if test x
$gcc_no_link = xyes
; then
24084 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24087 /* end confdefs.h. */
24089 #ifdef HAVE_COMPLEX_H
24090 #include <complex.h>
24096 int (*ptr)() = (int (*)())y0f;
24105 if ac_fn_c_try_link
"$LINENO"; then :
24106 gcc_cv_math_func_y0f
=yes
24108 gcc_cv_math_func_y0f
=no
24110 rm -f core conftest.err conftest.
$ac_objext \
24111 conftest
$ac_exeext conftest.
$ac_ext
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24114 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24115 if test $gcc_cv_math_func_y0f = yes; then
24117 cat >>confdefs.h
<<_ACEOF
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24127 $as_echo_n "checking for y0... " >&6; }
24128 if ${gcc_cv_math_func_y0+:} false
; then :
24129 $as_echo_n "(cached) " >&6
24131 if test x
$gcc_no_link = xyes
; then
24132 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24135 /* end confdefs.h. */
24137 #ifdef HAVE_COMPLEX_H
24138 #include <complex.h>
24144 int (*ptr)() = (int (*)())y0;
24153 if ac_fn_c_try_link
"$LINENO"; then :
24154 gcc_cv_math_func_y0
=yes
24156 gcc_cv_math_func_y0
=no
24158 rm -f core conftest.err conftest.
$ac_objext \
24159 conftest
$ac_exeext conftest.
$ac_ext
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24162 $as_echo "$gcc_cv_math_func_y0" >&6; }
24163 if test $gcc_cv_math_func_y0 = yes; then
24165 cat >>confdefs.h
<<_ACEOF
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24175 $as_echo_n "checking for y1f... " >&6; }
24176 if ${gcc_cv_math_func_y1f+:} false
; then :
24177 $as_echo_n "(cached) " >&6
24179 if test x
$gcc_no_link = xyes
; then
24180 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24183 /* end confdefs.h. */
24185 #ifdef HAVE_COMPLEX_H
24186 #include <complex.h>
24192 int (*ptr)() = (int (*)())y1f;
24201 if ac_fn_c_try_link
"$LINENO"; then :
24202 gcc_cv_math_func_y1f
=yes
24204 gcc_cv_math_func_y1f
=no
24206 rm -f core conftest.err conftest.
$ac_objext \
24207 conftest
$ac_exeext conftest.
$ac_ext
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24210 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24211 if test $gcc_cv_math_func_y1f = yes; then
24213 cat >>confdefs.h
<<_ACEOF
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24223 $as_echo_n "checking for y1... " >&6; }
24224 if ${gcc_cv_math_func_y1+:} false
; then :
24225 $as_echo_n "(cached) " >&6
24227 if test x
$gcc_no_link = xyes
; then
24228 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24231 /* end confdefs.h. */
24233 #ifdef HAVE_COMPLEX_H
24234 #include <complex.h>
24240 int (*ptr)() = (int (*)())y1;
24249 if ac_fn_c_try_link
"$LINENO"; then :
24250 gcc_cv_math_func_y1
=yes
24252 gcc_cv_math_func_y1
=no
24254 rm -f core conftest.err conftest.
$ac_objext \
24255 conftest
$ac_exeext conftest.
$ac_ext
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24258 $as_echo "$gcc_cv_math_func_y1" >&6; }
24259 if test $gcc_cv_math_func_y1 = yes; then
24261 cat >>confdefs.h
<<_ACEOF
24270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24271 $as_echo_n "checking for ynf... " >&6; }
24272 if ${gcc_cv_math_func_ynf+:} false
; then :
24273 $as_echo_n "(cached) " >&6
24275 if test x
$gcc_no_link = xyes
; then
24276 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24281 #ifdef HAVE_COMPLEX_H
24282 #include <complex.h>
24288 int (*ptr)() = (int (*)())ynf;
24297 if ac_fn_c_try_link
"$LINENO"; then :
24298 gcc_cv_math_func_ynf
=yes
24300 gcc_cv_math_func_ynf
=no
24302 rm -f core conftest.err conftest.
$ac_objext \
24303 conftest
$ac_exeext conftest.
$ac_ext
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24306 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24307 if test $gcc_cv_math_func_ynf = yes; then
24309 cat >>confdefs.h
<<_ACEOF
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24319 $as_echo_n "checking for yn... " >&6; }
24320 if ${gcc_cv_math_func_yn+:} false
; then :
24321 $as_echo_n "(cached) " >&6
24323 if test x
$gcc_no_link = xyes
; then
24324 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24329 #ifdef HAVE_COMPLEX_H
24330 #include <complex.h>
24336 int (*ptr)() = (int (*)())yn;
24345 if ac_fn_c_try_link
"$LINENO"; then :
24346 gcc_cv_math_func_yn
=yes
24348 gcc_cv_math_func_yn
=no
24350 rm -f core conftest.err conftest.
$ac_objext \
24351 conftest
$ac_exeext conftest.
$ac_ext
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24354 $as_echo "$gcc_cv_math_func_yn" >&6; }
24355 if test $gcc_cv_math_func_yn = yes; then
24357 cat >>confdefs.h
<<_ACEOF
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24367 $as_echo_n "checking for ynl... " >&6; }
24368 if ${gcc_cv_math_func_ynl+:} false
; then :
24369 $as_echo_n "(cached) " >&6
24371 if test x
$gcc_no_link = xyes
; then
24372 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24375 /* end confdefs.h. */
24377 #ifdef HAVE_COMPLEX_H
24378 #include <complex.h>
24384 int (*ptr)() = (int (*)())ynl;
24393 if ac_fn_c_try_link
"$LINENO"; then :
24394 gcc_cv_math_func_ynl
=yes
24396 gcc_cv_math_func_ynl
=no
24398 rm -f core conftest.err conftest.
$ac_objext \
24399 conftest
$ac_exeext conftest.
$ac_ext
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24402 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24403 if test $gcc_cv_math_func_ynl = yes; then
24405 cat >>confdefs.h
<<_ACEOF
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24415 $as_echo_n "checking for tgamma... " >&6; }
24416 if ${gcc_cv_math_func_tgamma+:} false
; then :
24417 $as_echo_n "(cached) " >&6
24419 if test x
$gcc_no_link = xyes
; then
24420 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24423 /* end confdefs.h. */
24425 #ifdef HAVE_COMPLEX_H
24426 #include <complex.h>
24432 int (*ptr)() = (int (*)())tgamma;
24441 if ac_fn_c_try_link
"$LINENO"; then :
24442 gcc_cv_math_func_tgamma
=yes
24444 gcc_cv_math_func_tgamma
=no
24446 rm -f core conftest.err conftest.
$ac_objext \
24447 conftest
$ac_exeext conftest.
$ac_ext
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24450 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24451 if test $gcc_cv_math_func_tgamma = yes; then
24453 cat >>confdefs.h
<<_ACEOF
24454 #define HAVE_TGAMMA 1
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24463 $as_echo_n "checking for tgammaf... " >&6; }
24464 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24465 $as_echo_n "(cached) " >&6
24467 if test x
$gcc_no_link = xyes
; then
24468 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24471 /* end confdefs.h. */
24473 #ifdef HAVE_COMPLEX_H
24474 #include <complex.h>
24480 int (*ptr)() = (int (*)())tgammaf;
24489 if ac_fn_c_try_link
"$LINENO"; then :
24490 gcc_cv_math_func_tgammaf
=yes
24492 gcc_cv_math_func_tgammaf
=no
24494 rm -f core conftest.err conftest.
$ac_objext \
24495 conftest
$ac_exeext conftest.
$ac_ext
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24498 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24499 if test $gcc_cv_math_func_tgammaf = yes; then
24501 cat >>confdefs.h
<<_ACEOF
24502 #define HAVE_TGAMMAF 1
24510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24511 $as_echo_n "checking for lgamma... " >&6; }
24512 if ${gcc_cv_math_func_lgamma+:} false
; then :
24513 $as_echo_n "(cached) " >&6
24515 if test x
$gcc_no_link = xyes
; then
24516 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24521 #ifdef HAVE_COMPLEX_H
24522 #include <complex.h>
24528 int (*ptr)() = (int (*)())lgamma;
24537 if ac_fn_c_try_link
"$LINENO"; then :
24538 gcc_cv_math_func_lgamma
=yes
24540 gcc_cv_math_func_lgamma
=no
24542 rm -f core conftest.err conftest.
$ac_objext \
24543 conftest
$ac_exeext conftest.
$ac_ext
24545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24546 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24547 if test $gcc_cv_math_func_lgamma = yes; then
24549 cat >>confdefs.h
<<_ACEOF
24550 #define HAVE_LGAMMA 1
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24559 $as_echo_n "checking for lgammaf... " >&6; }
24560 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24561 $as_echo_n "(cached) " >&6
24563 if test x
$gcc_no_link = xyes
; then
24564 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24567 /* end confdefs.h. */
24569 #ifdef HAVE_COMPLEX_H
24570 #include <complex.h>
24576 int (*ptr)() = (int (*)())lgammaf;
24585 if ac_fn_c_try_link
"$LINENO"; then :
24586 gcc_cv_math_func_lgammaf
=yes
24588 gcc_cv_math_func_lgammaf
=no
24590 rm -f core conftest.err conftest.
$ac_objext \
24591 conftest
$ac_exeext conftest.
$ac_ext
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24594 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24595 if test $gcc_cv_math_func_lgammaf = yes; then
24597 cat >>confdefs.h
<<_ACEOF
24598 #define HAVE_LGAMMAF 1
24604 # Check for GFORTRAN_C99_1.1 funcs
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24609 $as_echo_n "checking for cacos... " >&6; }
24610 if ${gcc_cv_math_func_cacos+:} false
; then :
24611 $as_echo_n "(cached) " >&6
24613 if test x
$gcc_no_link = xyes
; then
24614 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24617 /* end confdefs.h. */
24619 #ifdef HAVE_COMPLEX_H
24620 #include <complex.h>
24626 int (*ptr)() = (int (*)())cacos;
24635 if ac_fn_c_try_link
"$LINENO"; then :
24636 gcc_cv_math_func_cacos
=yes
24638 gcc_cv_math_func_cacos
=no
24640 rm -f core conftest.err conftest.
$ac_objext \
24641 conftest
$ac_exeext conftest.
$ac_ext
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24644 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24645 if test $gcc_cv_math_func_cacos = yes; then
24647 cat >>confdefs.h
<<_ACEOF
24648 #define HAVE_CACOS 1
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24657 $as_echo_n "checking for cacosf... " >&6; }
24658 if ${gcc_cv_math_func_cacosf+:} false
; then :
24659 $as_echo_n "(cached) " >&6
24661 if test x
$gcc_no_link = xyes
; then
24662 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24665 /* end confdefs.h. */
24667 #ifdef HAVE_COMPLEX_H
24668 #include <complex.h>
24674 int (*ptr)() = (int (*)())cacosf;
24683 if ac_fn_c_try_link
"$LINENO"; then :
24684 gcc_cv_math_func_cacosf
=yes
24686 gcc_cv_math_func_cacosf
=no
24688 rm -f core conftest.err conftest.
$ac_objext \
24689 conftest
$ac_exeext conftest.
$ac_ext
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24692 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24693 if test $gcc_cv_math_func_cacosf = yes; then
24695 cat >>confdefs.h
<<_ACEOF
24696 #define HAVE_CACOSF 1
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24705 $as_echo_n "checking for cacosh... " >&6; }
24706 if ${gcc_cv_math_func_cacosh+:} false
; then :
24707 $as_echo_n "(cached) " >&6
24709 if test x
$gcc_no_link = xyes
; then
24710 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24715 #ifdef HAVE_COMPLEX_H
24716 #include <complex.h>
24722 int (*ptr)() = (int (*)())cacosh;
24731 if ac_fn_c_try_link
"$LINENO"; then :
24732 gcc_cv_math_func_cacosh
=yes
24734 gcc_cv_math_func_cacosh
=no
24736 rm -f core conftest.err conftest.
$ac_objext \
24737 conftest
$ac_exeext conftest.
$ac_ext
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24740 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24741 if test $gcc_cv_math_func_cacosh = yes; then
24743 cat >>confdefs.h
<<_ACEOF
24744 #define HAVE_CACOSH 1
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24753 $as_echo_n "checking for cacoshf... " >&6; }
24754 if ${gcc_cv_math_func_cacoshf+:} false
; then :
24755 $as_echo_n "(cached) " >&6
24757 if test x
$gcc_no_link = xyes
; then
24758 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24761 /* end confdefs.h. */
24763 #ifdef HAVE_COMPLEX_H
24764 #include <complex.h>
24770 int (*ptr)() = (int (*)())cacoshf;
24779 if ac_fn_c_try_link
"$LINENO"; then :
24780 gcc_cv_math_func_cacoshf
=yes
24782 gcc_cv_math_func_cacoshf
=no
24784 rm -f core conftest.err conftest.
$ac_objext \
24785 conftest
$ac_exeext conftest.
$ac_ext
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24788 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24789 if test $gcc_cv_math_func_cacoshf = yes; then
24791 cat >>confdefs.h
<<_ACEOF
24792 #define HAVE_CACOSHF 1
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24801 $as_echo_n "checking for cacoshl... " >&6; }
24802 if ${gcc_cv_math_func_cacoshl+:} false
; then :
24803 $as_echo_n "(cached) " >&6
24805 if test x
$gcc_no_link = xyes
; then
24806 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24809 /* end confdefs.h. */
24811 #ifdef HAVE_COMPLEX_H
24812 #include <complex.h>
24818 int (*ptr)() = (int (*)())cacoshl;
24827 if ac_fn_c_try_link
"$LINENO"; then :
24828 gcc_cv_math_func_cacoshl
=yes
24830 gcc_cv_math_func_cacoshl
=no
24832 rm -f core conftest.err conftest.
$ac_objext \
24833 conftest
$ac_exeext conftest.
$ac_ext
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24836 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24837 if test $gcc_cv_math_func_cacoshl = yes; then
24839 cat >>confdefs.h
<<_ACEOF
24840 #define HAVE_CACOSHL 1
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24849 $as_echo_n "checking for cacosl... " >&6; }
24850 if ${gcc_cv_math_func_cacosl+:} false
; then :
24851 $as_echo_n "(cached) " >&6
24853 if test x
$gcc_no_link = xyes
; then
24854 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24857 /* end confdefs.h. */
24859 #ifdef HAVE_COMPLEX_H
24860 #include <complex.h>
24866 int (*ptr)() = (int (*)())cacosl;
24875 if ac_fn_c_try_link
"$LINENO"; then :
24876 gcc_cv_math_func_cacosl
=yes
24878 gcc_cv_math_func_cacosl
=no
24880 rm -f core conftest.err conftest.
$ac_objext \
24881 conftest
$ac_exeext conftest.
$ac_ext
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24884 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24885 if test $gcc_cv_math_func_cacosl = yes; then
24887 cat >>confdefs.h
<<_ACEOF
24888 #define HAVE_CACOSL 1
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24897 $as_echo_n "checking for casin... " >&6; }
24898 if ${gcc_cv_math_func_casin+:} false
; then :
24899 $as_echo_n "(cached) " >&6
24901 if test x
$gcc_no_link = xyes
; then
24902 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24905 /* end confdefs.h. */
24907 #ifdef HAVE_COMPLEX_H
24908 #include <complex.h>
24914 int (*ptr)() = (int (*)())casin;
24923 if ac_fn_c_try_link
"$LINENO"; then :
24924 gcc_cv_math_func_casin
=yes
24926 gcc_cv_math_func_casin
=no
24928 rm -f core conftest.err conftest.
$ac_objext \
24929 conftest
$ac_exeext conftest.
$ac_ext
24931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24932 $as_echo "$gcc_cv_math_func_casin" >&6; }
24933 if test $gcc_cv_math_func_casin = yes; then
24935 cat >>confdefs.h
<<_ACEOF
24936 #define HAVE_CASIN 1
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24945 $as_echo_n "checking for casinf... " >&6; }
24946 if ${gcc_cv_math_func_casinf+:} false
; then :
24947 $as_echo_n "(cached) " >&6
24949 if test x
$gcc_no_link = xyes
; then
24950 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24953 /* end confdefs.h. */
24955 #ifdef HAVE_COMPLEX_H
24956 #include <complex.h>
24962 int (*ptr)() = (int (*)())casinf;
24971 if ac_fn_c_try_link
"$LINENO"; then :
24972 gcc_cv_math_func_casinf
=yes
24974 gcc_cv_math_func_casinf
=no
24976 rm -f core conftest.err conftest.
$ac_objext \
24977 conftest
$ac_exeext conftest.
$ac_ext
24979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24980 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24981 if test $gcc_cv_math_func_casinf = yes; then
24983 cat >>confdefs.h
<<_ACEOF
24984 #define HAVE_CASINF 1
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24993 $as_echo_n "checking for casinh... " >&6; }
24994 if ${gcc_cv_math_func_casinh+:} false
; then :
24995 $as_echo_n "(cached) " >&6
24997 if test x
$gcc_no_link = xyes
; then
24998 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25001 /* end confdefs.h. */
25003 #ifdef HAVE_COMPLEX_H
25004 #include <complex.h>
25010 int (*ptr)() = (int (*)())casinh;
25019 if ac_fn_c_try_link
"$LINENO"; then :
25020 gcc_cv_math_func_casinh
=yes
25022 gcc_cv_math_func_casinh
=no
25024 rm -f core conftest.err conftest.
$ac_objext \
25025 conftest
$ac_exeext conftest.
$ac_ext
25027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25028 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25029 if test $gcc_cv_math_func_casinh = yes; then
25031 cat >>confdefs.h
<<_ACEOF
25032 #define HAVE_CASINH 1
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25041 $as_echo_n "checking for casinhf... " >&6; }
25042 if ${gcc_cv_math_func_casinhf+:} false
; then :
25043 $as_echo_n "(cached) " >&6
25045 if test x
$gcc_no_link = xyes
; then
25046 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h. */
25051 #ifdef HAVE_COMPLEX_H
25052 #include <complex.h>
25058 int (*ptr)() = (int (*)())casinhf;
25067 if ac_fn_c_try_link
"$LINENO"; then :
25068 gcc_cv_math_func_casinhf
=yes
25070 gcc_cv_math_func_casinhf
=no
25072 rm -f core conftest.err conftest.
$ac_objext \
25073 conftest
$ac_exeext conftest.
$ac_ext
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25076 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25077 if test $gcc_cv_math_func_casinhf = yes; then
25079 cat >>confdefs.h
<<_ACEOF
25080 #define HAVE_CASINHF 1
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25089 $as_echo_n "checking for casinhl... " >&6; }
25090 if ${gcc_cv_math_func_casinhl+:} false
; then :
25091 $as_echo_n "(cached) " >&6
25093 if test x
$gcc_no_link = xyes
; then
25094 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25097 /* end confdefs.h. */
25099 #ifdef HAVE_COMPLEX_H
25100 #include <complex.h>
25106 int (*ptr)() = (int (*)())casinhl;
25115 if ac_fn_c_try_link
"$LINENO"; then :
25116 gcc_cv_math_func_casinhl
=yes
25118 gcc_cv_math_func_casinhl
=no
25120 rm -f core conftest.err conftest.
$ac_objext \
25121 conftest
$ac_exeext conftest.
$ac_ext
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25124 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25125 if test $gcc_cv_math_func_casinhl = yes; then
25127 cat >>confdefs.h
<<_ACEOF
25128 #define HAVE_CASINHL 1
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25137 $as_echo_n "checking for casinl... " >&6; }
25138 if ${gcc_cv_math_func_casinl+:} false
; then :
25139 $as_echo_n "(cached) " >&6
25141 if test x
$gcc_no_link = xyes
; then
25142 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25145 /* end confdefs.h. */
25147 #ifdef HAVE_COMPLEX_H
25148 #include <complex.h>
25154 int (*ptr)() = (int (*)())casinl;
25163 if ac_fn_c_try_link
"$LINENO"; then :
25164 gcc_cv_math_func_casinl
=yes
25166 gcc_cv_math_func_casinl
=no
25168 rm -f core conftest.err conftest.
$ac_objext \
25169 conftest
$ac_exeext conftest.
$ac_ext
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25172 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25173 if test $gcc_cv_math_func_casinl = yes; then
25175 cat >>confdefs.h
<<_ACEOF
25176 #define HAVE_CASINL 1
25184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25185 $as_echo_n "checking for catan... " >&6; }
25186 if ${gcc_cv_math_func_catan+:} false
; then :
25187 $as_echo_n "(cached) " >&6
25189 if test x
$gcc_no_link = xyes
; then
25190 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25193 /* end confdefs.h. */
25195 #ifdef HAVE_COMPLEX_H
25196 #include <complex.h>
25202 int (*ptr)() = (int (*)())catan;
25211 if ac_fn_c_try_link
"$LINENO"; then :
25212 gcc_cv_math_func_catan
=yes
25214 gcc_cv_math_func_catan
=no
25216 rm -f core conftest.err conftest.
$ac_objext \
25217 conftest
$ac_exeext conftest.
$ac_ext
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25220 $as_echo "$gcc_cv_math_func_catan" >&6; }
25221 if test $gcc_cv_math_func_catan = yes; then
25223 cat >>confdefs.h
<<_ACEOF
25224 #define HAVE_CATAN 1
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25233 $as_echo_n "checking for catanf... " >&6; }
25234 if ${gcc_cv_math_func_catanf+:} false
; then :
25235 $as_echo_n "(cached) " >&6
25237 if test x
$gcc_no_link = xyes
; then
25238 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25241 /* end confdefs.h. */
25243 #ifdef HAVE_COMPLEX_H
25244 #include <complex.h>
25250 int (*ptr)() = (int (*)())catanf;
25259 if ac_fn_c_try_link
"$LINENO"; then :
25260 gcc_cv_math_func_catanf
=yes
25262 gcc_cv_math_func_catanf
=no
25264 rm -f core conftest.err conftest.
$ac_objext \
25265 conftest
$ac_exeext conftest.
$ac_ext
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25268 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25269 if test $gcc_cv_math_func_catanf = yes; then
25271 cat >>confdefs.h
<<_ACEOF
25272 #define HAVE_CATANF 1
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25281 $as_echo_n "checking for catanh... " >&6; }
25282 if ${gcc_cv_math_func_catanh+:} false
; then :
25283 $as_echo_n "(cached) " >&6
25285 if test x
$gcc_no_link = xyes
; then
25286 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25291 #ifdef HAVE_COMPLEX_H
25292 #include <complex.h>
25298 int (*ptr)() = (int (*)())catanh;
25307 if ac_fn_c_try_link
"$LINENO"; then :
25308 gcc_cv_math_func_catanh
=yes
25310 gcc_cv_math_func_catanh
=no
25312 rm -f core conftest.err conftest.
$ac_objext \
25313 conftest
$ac_exeext conftest.
$ac_ext
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25316 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25317 if test $gcc_cv_math_func_catanh = yes; then
25319 cat >>confdefs.h
<<_ACEOF
25320 #define HAVE_CATANH 1
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25329 $as_echo_n "checking for catanhf... " >&6; }
25330 if ${gcc_cv_math_func_catanhf+:} false
; then :
25331 $as_echo_n "(cached) " >&6
25333 if test x
$gcc_no_link = xyes
; then
25334 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25337 /* end confdefs.h. */
25339 #ifdef HAVE_COMPLEX_H
25340 #include <complex.h>
25346 int (*ptr)() = (int (*)())catanhf;
25355 if ac_fn_c_try_link
"$LINENO"; then :
25356 gcc_cv_math_func_catanhf
=yes
25358 gcc_cv_math_func_catanhf
=no
25360 rm -f core conftest.err conftest.
$ac_objext \
25361 conftest
$ac_exeext conftest.
$ac_ext
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25364 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25365 if test $gcc_cv_math_func_catanhf = yes; then
25367 cat >>confdefs.h
<<_ACEOF
25368 #define HAVE_CATANHF 1
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25377 $as_echo_n "checking for catanhl... " >&6; }
25378 if ${gcc_cv_math_func_catanhl+:} false
; then :
25379 $as_echo_n "(cached) " >&6
25381 if test x
$gcc_no_link = xyes
; then
25382 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25385 /* end confdefs.h. */
25387 #ifdef HAVE_COMPLEX_H
25388 #include <complex.h>
25394 int (*ptr)() = (int (*)())catanhl;
25403 if ac_fn_c_try_link
"$LINENO"; then :
25404 gcc_cv_math_func_catanhl
=yes
25406 gcc_cv_math_func_catanhl
=no
25408 rm -f core conftest.err conftest.
$ac_objext \
25409 conftest
$ac_exeext conftest.
$ac_ext
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25412 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25413 if test $gcc_cv_math_func_catanhl = yes; then
25415 cat >>confdefs.h
<<_ACEOF
25416 #define HAVE_CATANHL 1
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25425 $as_echo_n "checking for catanl... " >&6; }
25426 if ${gcc_cv_math_func_catanl+:} false
; then :
25427 $as_echo_n "(cached) " >&6
25429 if test x
$gcc_no_link = xyes
; then
25430 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25433 /* end confdefs.h. */
25435 #ifdef HAVE_COMPLEX_H
25436 #include <complex.h>
25442 int (*ptr)() = (int (*)())catanl;
25451 if ac_fn_c_try_link
"$LINENO"; then :
25452 gcc_cv_math_func_catanl
=yes
25454 gcc_cv_math_func_catanl
=no
25456 rm -f core conftest.err conftest.
$ac_objext \
25457 conftest
$ac_exeext conftest.
$ac_ext
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25460 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25461 if test $gcc_cv_math_func_catanl = yes; then
25463 cat >>confdefs.h
<<_ACEOF
25464 #define HAVE_CATANL 1
25470 # On AIX, clog is present in libm as __clog
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25472 $as_echo_n "checking for __clog in -lm... " >&6; }
25473 if ${ac_cv_lib_m___clog+:} false
; then :
25474 $as_echo_n "(cached) " >&6
25476 ac_check_lib_save_LIBS
=$LIBS
25478 if test x
$gcc_no_link = xyes
; then
25479 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h. */
25484 /* Override any GCC internal prototype to avoid an error.
25485 Use char because int might match the return type of a GCC
25486 builtin and then its argument prototype would still apply. */
25499 if ac_fn_c_try_link
"$LINENO"; then :
25500 ac_cv_lib_m___clog
=yes
25502 ac_cv_lib_m___clog
=no
25504 rm -f core conftest.err conftest.
$ac_objext \
25505 conftest
$ac_exeext conftest.
$ac_ext
25506 LIBS
=$ac_check_lib_save_LIBS
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25509 $as_echo "$ac_cv_lib_m___clog" >&6; }
25510 if test "x$ac_cv_lib_m___clog" = xyes
; then :
25512 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25517 # Check whether the system has a working stat()
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25520 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25521 if ${libgfor_cv_have_working_stat+:} false
; then :
25522 $as_echo_n "(cached) " >&6
25525 if test "$cross_compiling" = yes; then :
25527 case "${target}" in
25528 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25529 *) libgfor_cv_have_working_stat
=yes;;
25532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25533 /* end confdefs.h. */
25536 #include <sys/types.h>
25537 #include <sys/stat.h>
25538 #include <unistd.h>
25543 struct stat st1, st2;
25545 f = fopen ("foo", "w");
25546 g = fopen ("bar", "w");
25547 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25549 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25556 if ac_fn_c_try_run
"$LINENO"; then :
25557 libgfor_cv_have_working_stat
=yes
25559 libgfor_cv_have_working_stat
=no
25561 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25562 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25567 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25568 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25570 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25574 # Check whether __mingw_snprintf() is present
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25577 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25578 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
25579 $as_echo_n "(cached) " >&6
25582 if test x
$gcc_no_link = xyes
; then
25583 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25586 /* end confdefs.h. */
25589 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25595 __mingw_snprintf (NULL, 0, "%d\n", 1);
25601 if ac_fn_c_try_link
"$LINENO"; then :
25602 eval "libgfor_cv_have_mingw_snprintf=yes"
25604 eval "libgfor_cv_have_mingw_snprintf=no"
25606 rm -f core conftest.err conftest.
$ac_objext \
25607 conftest
$ac_exeext conftest.
$ac_ext
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25611 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25612 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25614 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25619 # Check whether libquadmath should be used
25620 # Check whether --enable-libquadmath-support was given.
25621 if test "${enable_libquadmath_support+set}" = set; then :
25622 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25624 ENABLE_LIBQUADMATH_SUPPORT
=yes
25627 enable_libquadmath_support
=
25628 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25629 enable_libquadmath_support
=no
25632 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25636 if test "x$enable_libquadmath_support" != xno
; then
25638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25639 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25640 if ${libgfor_cv_have_float128+:} false
; then :
25641 $as_echo_n "(cached) " >&6
25644 if test x
$gcc_no_link = xyes
; then
25645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25646 /* end confdefs.h. */
25648 typedef _Complex float __attribute__((mode(TC))) __complex128;
25650 __float128 foo (__float128 x)
25653 __complex128 z1, z2;
25659 return (__float128) z2;
25662 __float128 bar (__float128 x)
25664 return x * __builtin_huge_valq ();
25678 if ac_fn_c_try_compile
"$LINENO"; then :
25680 libgfor_cv_have_float128
=yes
25684 libgfor_cv_have_float128
=no
25687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25689 if test x
$gcc_no_link = xyes
; then
25690 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25693 /* end confdefs.h. */
25695 typedef _Complex float __attribute__((mode(TC))) __complex128;
25697 __float128 foo (__float128 x)
25700 __complex128 z1, z2;
25706 return (__float128) z2;
25709 __float128 bar (__float128 x)
25711 return x * __builtin_huge_valq ();
25725 if ac_fn_c_try_link
"$LINENO"; then :
25727 libgfor_cv_have_float128
=yes
25731 libgfor_cv_have_float128
=no
25734 rm -f core conftest.err conftest.
$ac_objext \
25735 conftest
$ac_exeext conftest.
$ac_ext
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25739 $as_echo "$libgfor_cv_have_float128" >&6; }
25741 if test "x$libgfor_cv_have_float128" = xyes
; then
25743 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25746 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25748 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25749 if ${libgfor_cv_have_as_needed+:} false
; then :
25750 $as_echo_n "(cached) " >&6
25753 # Test for native Solaris options first.
25754 # No whitespace after -z to pass it through -Wl.
25755 libgfor_cv_as_needed_option
="-zignore"
25756 libgfor_cv_no_as_needed_option
="-zrecord"
25757 save_LDFLAGS
="$LDFLAGS"
25758 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25759 libgfor_cv_have_as_needed
=no
25761 ac_c_werror_flag
=yes
25762 if test x
$gcc_no_link = xyes
; then
25763 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25766 /* end confdefs.h. */
25776 if ac_fn_c_try_link
"$LINENO"; then :
25777 libgfor_cv_have_as_needed
=yes
25779 libgfor_cv_have_as_needed
=no
25781 rm -f core conftest.err conftest.
$ac_objext \
25782 conftest
$ac_exeext conftest.
$ac_ext
25783 LDFLAGS
="$save_LDFLAGS"
25784 if test "x$libgfor_cv_have_as_needed" = xno
; then
25785 libgfor_cv_as_needed_option
="--as-needed"
25786 libgfor_cv_no_as_needed_option
="--no-as-needed"
25787 save_LDFLAGS
="$LDFLAGS"
25788 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25789 libgfor_cv_have_as_needed
=no
25791 ac_c_werror_flag
=yes
25792 if test x
$gcc_no_link = xyes
; then
25793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25796 /* end confdefs.h. */
25806 if ac_fn_c_try_link
"$LINENO"; then :
25807 libgfor_cv_have_as_needed
=yes
25809 libgfor_cv_have_as_needed
=no
25811 rm -f core conftest.err conftest.
$ac_objext \
25812 conftest
$ac_exeext conftest.
$ac_ext
25813 LDFLAGS
="$save_LDFLAGS"
25815 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25819 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25821 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25822 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25824 LIBQUADSPEC
="-lquadmath"
25826 if test -f ..
/libquadmath
/libquadmath.la
; then
25827 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25828 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25829 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25831 LIBQUADLIB
="-lquadmath"
25837 # for --disable-quadmath
25848 if test "x$libgfor_cv_have_float128" = xyes
; then
25849 LIBGFOR_BUILD_QUAD_TRUE
=
25850 LIBGFOR_BUILD_QUAD_FALSE
='#'
25852 LIBGFOR_BUILD_QUAD_TRUE
='#'
25853 LIBGFOR_BUILD_QUAD_FALSE
=
25858 # Check for GNU libc feenableexcept
25859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25860 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25861 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
25862 $as_echo_n "(cached) " >&6
25864 ac_check_lib_save_LIBS
=$LIBS
25866 if test x
$gcc_no_link = xyes
; then
25867 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25870 /* end confdefs.h. */
25872 /* Override any GCC internal prototype to avoid an error.
25873 Use char because int might match the return type of a GCC
25874 builtin and then its argument prototype would still apply. */
25878 char feenableexcept ();
25882 return feenableexcept ();
25887 if ac_fn_c_try_link
"$LINENO"; then :
25888 ac_cv_lib_m_feenableexcept
=yes
25890 ac_cv_lib_m_feenableexcept
=no
25892 rm -f core conftest.err conftest.
$ac_objext \
25893 conftest
$ac_exeext conftest.
$ac_ext
25894 LIBS
=$ac_check_lib_save_LIBS
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25897 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25898 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
25899 have_feenableexcept
=yes
25900 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25905 # At least for glibc, clock_gettime is in librt. But don't
25906 # pull that in if it still doesn't give us the function we want. This
25907 # test is copied from libgomp, and modified to not link in -lrt as
25908 # libgfortran calls clock_gettime via a weak reference if it's found
25910 if test "$ac_cv_func_clock_gettime" = no
; then
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25912 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25913 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
25914 $as_echo_n "(cached) " >&6
25916 ac_check_lib_save_LIBS
=$LIBS
25918 if test x
$gcc_no_link = xyes
; then
25919 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25924 /* Override any GCC internal prototype to avoid an error.
25925 Use char because int might match the return type of a GCC
25926 builtin and then its argument prototype would still apply. */
25930 char clock_gettime ();
25934 return clock_gettime ();
25939 if ac_fn_c_try_link
"$LINENO"; then :
25940 ac_cv_lib_rt_clock_gettime
=yes
25942 ac_cv_lib_rt_clock_gettime
=no
25944 rm -f core conftest.err conftest.
$ac_objext \
25945 conftest
$ac_exeext conftest.
$ac_ext
25946 LIBS
=$ac_check_lib_save_LIBS
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25949 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25950 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
25952 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25958 # Check for SysV fpsetmask
25960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25961 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25962 if ${libgfor_cv_have_fpsetmask+:} false
; then :
25963 $as_echo_n "(cached) " >&6
25966 if test x
$gcc_no_link = xyes
; then
25967 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25970 /* end confdefs.h. */
25972 #if HAVE_FLOATINGPOINT_H
25973 # include <floatingpoint.h>
25974 #endif /* HAVE_FLOATINGPOINT_H */
25976 # include <ieeefp.h>
25977 #endif /* HAVE_IEEEFP_H */
25986 if ac_fn_c_try_link
"$LINENO"; then :
25987 eval "libgfor_cv_have_fpsetmask=yes"
25989 eval "libgfor_cv_have_fpsetmask=no"
25991 rm -f core conftest.err conftest.
$ac_objext \
25992 conftest
$ac_exeext conftest.
$ac_ext
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25996 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25997 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26000 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26004 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26005 #ifdef HAVE_IEEEFP_H
26006 #include <ieeefp.h>
26011 if test "x$ac_cv_type_fp_except" = xyes
; then :
26013 cat >>confdefs.h
<<_ACEOF
26014 #define HAVE_FP_EXCEPT 1
26019 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26020 #ifdef HAVE_IEEEFP_H
26021 #include <ieeefp.h>
26026 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
26028 cat >>confdefs.h
<<_ACEOF
26029 #define HAVE_FP_EXCEPT_T 1
26035 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26036 #ifdef HAVE_IEEEFP_H
26037 #include <ieeefp.h>
26042 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
26044 cat >>confdefs.h
<<_ACEOF
26045 #define HAVE_FP_RND 1
26050 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26051 #ifdef HAVE_IEEEFP_H
26052 #include <ieeefp.h>
26057 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
26059 cat >>confdefs.h
<<_ACEOF
26060 #define HAVE_FP_RND_T 1
26067 # Check whether we have fpsetsticky or fpresetsticky
26068 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26069 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
26070 have_fpsetsticky
=yes
26071 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26075 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26076 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
26077 have_fpresetsticky
=yes
26078 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26083 # Check for AIX fp_trap and fp_enable
26084 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26085 if test "x$ac_cv_func_fp_trap" = xyes
; then :
26087 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26091 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26092 if test "x$ac_cv_func_fp_enable" = xyes
; then :
26094 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26099 # Check if _SOFT_FLOAT is defined
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26102 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26103 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
26104 $as_echo_n "(cached) " >&6
26106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26123 if ac_fn_c_try_compile
"$LINENO"; then :
26124 ac_cv_defined__SOFT_FLOAT
=yes
26126 ac_cv_defined__SOFT_FLOAT
=no
26128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26131 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26132 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26133 have_soft_float
=yes
26136 # Runs configure.host to set up necessary host-dependent shell variables.
26137 # We then display a message about it, and propagate them through the
26139 .
${srcdir}/configure.
host
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26141 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26143 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26144 FPU_HOST_HEADER
=config
/${fpu_host}.h
26147 # Whether we will build the IEEE modules
26148 if test x
${ieee_support} = xyes
; then
26150 IEEE_SUPPORT_FALSE
='#'
26152 IEEE_SUPPORT_TRUE
='#'
26153 IEEE_SUPPORT_FALSE
=
26158 # Some targets require additional compiler options for IEEE compatibility.
26159 IEEE_FLAGS
="${ieee_flags}"
26163 # Check for POSIX getpwuid_r
26165 # There are two versions of getpwuid_r, the POSIX one with 5
26166 # arguments, and another one with 4 arguments used by at least HP-UX
26168 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26170 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26171 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
26172 $as_echo_n "(cached) " >&6
26175 if test x
$gcc_no_link = xyes
; then
26176 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h. */
26182 #include <sys/types.h>
26188 getpwuid_r(0, NULL, NULL, 0, NULL);
26194 if ac_fn_c_try_link
"$LINENO"; then :
26195 libgfor_cv_posix_getpwuid_r
="yes"
26197 libgfor_cv_posix_getpwuid_r
="no"
26199 rm -f core conftest.err conftest.
$ac_objext \
26200 conftest
$ac_exeext conftest.
$ac_ext
26202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26203 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26205 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26207 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26212 # Check out attribute support.
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26215 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26216 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
26217 $as_echo_n "(cached) " >&6
26220 save_CFLAGS
="$CFLAGS"
26221 CFLAGS
="$CFLAGS -Werror"
26222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h. */
26224 void __attribute__((visibility("hidden"))) foo(void) { }
26233 if ac_fn_c_try_compile
"$LINENO"; then :
26234 libgfor_cv_have_attribute_visibility
=yes
26236 libgfor_cv_have_attribute_visibility
=no
26238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26239 CFLAGS
="$save_CFLAGS"
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26242 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26243 if test $libgfor_cv_have_attribute_visibility = yes; then
26245 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26250 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26251 if ${libgfor_cv_have_attribute_alias+:} false
; then :
26252 $as_echo_n "(cached) " >&6
26255 if test x
$gcc_no_link = xyes
; then
26256 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26259 /* end confdefs.h. */
26262 extern void bar(void) __attribute__((alias("foo")));
26271 if ac_fn_c_try_link
"$LINENO"; then :
26272 libgfor_cv_have_attribute_alias
=yes
26274 libgfor_cv_have_attribute_alias
=no
26276 rm -f core conftest.err conftest.
$ac_objext \
26277 conftest
$ac_exeext conftest.
$ac_ext
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26280 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26281 if test $libgfor_cv_have_attribute_alias = yes; then
26283 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26287 # Check out atomic builtins support.
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26290 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26291 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
26292 $as_echo_n "(cached) " >&6
26295 if test x
$gcc_no_link = xyes
; then
26296 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26305 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26306 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26311 if ac_fn_c_try_link
"$LINENO"; then :
26312 libgfor_cv_have_atomic_fetch_add
=yes
26314 libgfor_cv_have_atomic_fetch_add
=no
26316 rm -f core conftest.err conftest.
$ac_objext \
26317 conftest
$ac_exeext conftest.
$ac_ext
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26320 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26321 if test $libgfor_cv_have_atomic_fetch_add = yes; then
26323 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26327 # Check out #pragma weak.
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26330 $as_echo_n "checking whether pragma weak works... " >&6; }
26331 if ${libgfor_cv_have_pragma_weak+:} false
; then :
26332 $as_echo_n "(cached) " >&6
26335 gfor_save_CFLAGS
="$CFLAGS"
26336 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26338 /* end confdefs.h. */
26351 if ac_fn_c_try_compile
"$LINENO"; then :
26352 libgfor_cv_have_pragma_weak
=yes
26354 libgfor_cv_have_pragma_weak
=no
26356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26359 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26360 if test $libgfor_cv_have_pragma_weak = yes; then
26362 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26366 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26368 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26373 # Check out weakref support.
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26376 $as_echo_n "checking whether the target supports weakref... " >&6; }
26377 if ${libgfor_cv_have_weakref+:} false
; then :
26378 $as_echo_n "(cached) " >&6
26381 save_CFLAGS
="$CFLAGS"
26382 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26383 if test x
$gcc_no_link = xyes
; then
26384 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26387 /* end confdefs.h. */
26389 static int mytoto (int) __attribute__((__weakref__("toto")));
26394 return (mytoto != 0);
26399 if ac_fn_c_try_link
"$LINENO"; then :
26400 libgfor_cv_have_weakref
=yes
26402 libgfor_cv_have_weakref
=no
26404 rm -f core conftest.err conftest.
$ac_objext \
26405 conftest
$ac_exeext conftest.
$ac_ext
26406 CFLAGS
="$save_CFLAGS"
26408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26409 $as_echo "$libgfor_cv_have_weakref" >&6; }
26410 if test $libgfor_cv_have_weakref = yes; then
26412 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26416 # Various other checks on target
26418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26419 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26420 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
26421 $as_echo_n "(cached) " >&6
26424 if test "$cross_compiling" = yes; then :
26426 case "${target}" in
26427 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26428 *) libgfor_cv_have_unlink_open_file
=yes;;
26431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26432 /* end confdefs.h. */
26436 #include <unistd.h>
26437 #include <sys/stat.h>
26443 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26446 if (unlink ("testfile") == -1)
26448 write (fd, "This is a test\n", 15);
26451 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26457 if ac_fn_c_try_run
"$LINENO"; then :
26458 libgfor_cv_have_unlink_open_file
=yes
26460 libgfor_cv_have_unlink_open_file
=no
26462 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26463 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26468 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26469 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26471 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26475 # Check whether line terminator is LF or CRLF
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26478 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26479 if ${libgfor_cv_have_crlf+:} false
; then :
26480 $as_echo_n "(cached) " >&6
26483 if test "$cross_compiling" = yes; then :
26485 case "${target}" in
26486 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26487 *) libgfor_cv_have_crlf
=no
;;
26490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26491 /* end confdefs.h. */
26493 /* This test program should exit with status 0 if system uses a CRLF as
26494 line terminator, and status 1 otherwise.
26495 Since it is used to check for mingw systems, and should return 0 in any
26496 other case, in case of a failure we will not use CRLF. */
26497 #include <sys/stat.h>
26498 #include <stdlib.h>
26510 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26513 if (write (fd, "\n", 1) < 0)
26518 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26520 bytes = read (fd, buff, 5);
26521 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26528 if ac_fn_c_try_run
"$LINENO"; then :
26529 libgfor_cv_have_crlf
=yes
26531 libgfor_cv_have_crlf
=no
26533 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26534 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26539 $as_echo "$libgfor_cv_have_crlf" >&6; }
26540 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26542 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26546 # Check whether we support AVX extensions
26548 ac_save_CFLAGS
="$CFLAGS"
26550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26551 /* end confdefs.h. */
26553 void _mm256_zeroall (void)
26555 __builtin_ia32_vzeroall ();
26565 if ac_fn_c_try_compile
"$LINENO"; then :
26567 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26571 CFLAGS
="$ac_save_CFLAGS"
26574 # Check wether we support AVX2 extensions
26576 ac_save_CFLAGS
="$CFLAGS"
26577 CFLAGS
="-O2 -mavx2"
26578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26579 /* end confdefs.h. */
26581 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26583 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26585 return __builtin_ia32_andnotsi256 (__X, __Y);
26595 if ac_fn_c_try_compile
"$LINENO"; then :
26597 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26601 CFLAGS
="$ac_save_CFLAGS"
26604 # Check wether we support AVX512f extensions
26606 ac_save_CFLAGS
="$CFLAGS"
26607 CFLAGS
="-O2 -mavx512f"
26608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26609 /* end confdefs.h. */
26611 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26612 __m512d _mm512_add (__m512d a)
26614 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26615 /* For -m64/-mx32 also verify that code will work even if
26616 the target uses call saved zmm16+ and needs to emit
26617 unwind info for them (e.g. on mingw). See PR79127. */
26619 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26631 if ac_fn_c_try_compile
"$LINENO"; then :
26633 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26637 CFLAGS
="$ac_save_CFLAGS"
26640 # Check for FMA3 extensions
26642 ac_save_CFLAGS
="$CFLAGS"
26643 CFLAGS
="-O2 -mfma -mno-fma4"
26644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26645 /* end confdefs.h. */
26647 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26648 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26649 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26651 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26663 if ac_fn_c_try_compile
"$LINENO"; then :
26665 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26669 CFLAGS
="$ac_save_CFLAGS"
26672 # Check for FMA4 extensions
26674 ac_save_CFLAGS
="$CFLAGS"
26675 CFLAGS
="-O2 -mfma4 -mno-fma"
26676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26677 /* end confdefs.h. */
26679 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26680 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26681 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26683 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26695 if ac_fn_c_try_compile
"$LINENO"; then :
26697 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26701 CFLAGS
="$ac_save_CFLAGS"
26704 # Check if AVX128 works
26706 ac_save_CFLAGS
="$CFLAGS"
26707 CFLAGS
="-O2 -mavx -mprefer-avx128"
26708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26709 /* end confdefs.h. */
26722 if ac_fn_c_try_compile
"$LINENO"; then :
26724 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26728 HAVE_AVX128_FALSE
='#'
26730 HAVE_AVX128_TRUE
='#'
26737 HAVE_AVX128_FALSE
='#'
26739 HAVE_AVX128_TRUE
='#'
26744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26745 CFLAGS
="$ac_save_CFLAGS"
26748 # Determine what GCC version number to use in filesystem paths.
26750 get_gcc_base_ver
="cat"
26752 # Check whether --with-gcc-major-version-only was given.
26753 if test "${with_gcc_major_version_only+set}" = set; then :
26754 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26755 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
26763 cat >confcache
<<\_ACEOF
26764 # This file is a shell script that caches the results of configure
26765 # tests run on this system so they can be shared between configure
26766 # scripts and configure runs, see configure's option --config-cache.
26767 # It is not useful on other systems. If it contains results you don't
26768 # want to keep, you may remove or edit it.
26770 # config.status only pays attention to the cache file if you give it
26771 # the --recheck option to rerun configure.
26773 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26774 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26775 # following values.
26779 # The following way of writing the cache mishandles newlines in values,
26780 # but we know of no workaround that is simple, portable, and efficient.
26781 # So, we kill variables containing newlines.
26782 # Ultrix sh set writes to stderr and can't be redirected directly,
26783 # and sets the high bit in the cache file unless we assign to the vars.
26785 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26786 eval ac_val
=\$
$ac_var
26790 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26791 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26794 _ | IFS | as_nl
) ;; #(
26795 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26796 *) { eval $ac_var=; unset $ac_var;} ;;
26802 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26803 *${as_nl}ac_space
=\
*)
26804 # `set' does not quote correctly, so add quotes: double-quote
26805 # substitution turns \\\\ into \\, and sed turns \\ into \.
26808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26811 # `set' quotes correctly as required by POSIX, so do not add quotes.
26812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26821 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26823 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26825 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26826 if test -w "$cache_file"; then
26827 if test "x$cache_file" != "x/dev/null"; then
26828 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26829 $as_echo "$as_me: updating cache $cache_file" >&6;}
26830 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26831 cat confcache
>"$cache_file"
26833 case $cache_file in #(
26835 mv -f confcache
"$cache_file"$$
&&
26836 mv -f "$cache_file"$$
"$cache_file" ;; #(
26838 mv -f confcache
"$cache_file" ;;
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26844 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26849 if test ${multilib} = yes; then
26850 multilib_arg
="--enable-multilib"
26855 # Write our Makefile and spec file.
26856 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26858 cat >confcache
<<\_ACEOF
26859 # This file is a shell script that caches the results of configure
26860 # tests run on this system so they can be shared between configure
26861 # scripts and configure runs, see configure's option --config-cache.
26862 # It is not useful on other systems. If it contains results you don't
26863 # want to keep, you may remove or edit it.
26865 # config.status only pays attention to the cache file if you give it
26866 # the --recheck option to rerun configure.
26868 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26869 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26870 # following values.
26874 # The following way of writing the cache mishandles newlines in values,
26875 # but we know of no workaround that is simple, portable, and efficient.
26876 # So, we kill variables containing newlines.
26877 # Ultrix sh set writes to stderr and can't be redirected directly,
26878 # and sets the high bit in the cache file unless we assign to the vars.
26880 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26881 eval ac_val
=\$
$ac_var
26885 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26886 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26889 _ | IFS | as_nl
) ;; #(
26890 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26891 *) { eval $ac_var=; unset $ac_var;} ;;
26897 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26898 *${as_nl}ac_space
=\
*)
26899 # `set' does not quote correctly, so add quotes: double-quote
26900 # substitution turns \\\\ into \\, and sed turns \\ into \.
26903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26906 # `set' quotes correctly as required by POSIX, so do not add quotes.
26907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26916 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26918 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26920 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26921 if test -w "$cache_file"; then
26922 if test "x$cache_file" != "x/dev/null"; then
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26924 $as_echo "$as_me: updating cache $cache_file" >&6;}
26925 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26926 cat confcache
>"$cache_file"
26928 case $cache_file in #(
26930 mv -f confcache
"$cache_file"$$
&&
26931 mv -f "$cache_file"$$
"$cache_file" ;; #(
26933 mv -f confcache
"$cache_file" ;;
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26939 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26944 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26945 # Let make expand exec_prefix.
26946 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26948 DEFS
=-DHAVE_CONFIG_H
26953 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26954 # 1. Remove the extension, and $U if already installed.
26955 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26956 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26957 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26958 # will be set to the directory where LIBOBJS objects are built.
26959 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26960 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26962 LIBOBJS
=$ac_libobjs
26964 LTLIBOBJS
=$ac_ltlibobjs
26967 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26968 as_fn_error $?
"conditional \"onestep\" was never defined.
26969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26972 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26973 if test -n "$am_sleep_pid"; then
26974 # Hide warnings about reused PIDs.
26975 wait $am_sleep_pid 2>/dev
/null
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26978 $as_echo "done" >&6; }
26979 if test -n "$EXEEXT"; then
26981 am__EXEEXT_FALSE
='#'
26983 am__EXEEXT_TRUE
='#'
26987 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26988 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
26989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26991 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26992 as_fn_error $?
"conditional \"AMDEP\" was never defined.
26993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26995 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26996 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
26997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27000 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27003 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27004 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27007 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27008 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27011 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27012 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27015 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27016 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
27017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27019 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27020 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
27021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27023 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27024 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27027 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27028 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
27029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27031 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27032 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27035 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27036 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27040 : "${CONFIG_STATUS=./config.status}"
27042 ac_clean_files_save
=$ac_clean_files
27043 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27045 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27047 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27049 # Generated by $as_me.
27050 # Run this file to recreate the current configuration.
27051 # Compiler output produced by configure, useful for debugging
27052 # configure, is in config.log if it exists.
27055 ac_cs_recheck=false
27058 SHELL=\${CONFIG_SHELL-$SHELL}
27061 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
27062 ## -------------------- ##
27063 ## M4sh Initialization. ##
27064 ## -------------------- ##
27066 # Be more Bourne compatible
27067 DUALCASE
=1; export DUALCASE
# for MKS sh
27068 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27071 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27072 # is contrary to our usage. Disable this feature.
27073 alias -g '${1+"$@"}'='"$@"'
27074 setopt NO_GLOB_SUBST
27076 case `(set -o) 2>/dev/null` in #(
27088 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27089 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27090 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27091 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27092 # Prefer a ksh shell builtin over an external printf program on Solaris,
27093 # but without wasting forks for bash or zsh.
27094 if test -z "$BASH_VERSION$ZSH_VERSION" \
27095 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27096 as_echo='print
-r --'
27097 as_echo_n='print
-rn --'
27098 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27099 as_echo='printf %s
\n'
27100 as_echo_n='printf %s
'
27102 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27103 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27104 as_echo_n='/usr
/ucb
/echo -n'
27106 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27107 as_echo_n_body='eval
27111 expr "X$arg" : "X\\(.*\\)$as_nl";
27112 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27114 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27116 export as_echo_n_body
27117 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27119 export as_echo_body
27120 as_echo='sh
-c $as_echo_body as_echo
'
27123 # The user is always right.
27124 if test "${PATH_SEPARATOR+set}" != set; then
27126 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27127 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27134 # We need space, tab and new line, in precisely that order. Quoting is
27135 # there to prevent editors from complaining about space-tab.
27136 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27137 # splitting by setting IFS to empty value.)
27140 # Find who we are. Look in the path if we contain no directory separator.
27143 *[\\/]* ) as_myself=$0 ;;
27144 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27145 for as_dir in $PATH
27148 test -z "$as_dir" && as_dir=.
27149 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27155 # We did not find ourselves, most probably we were run as `sh COMMAND'
27156 # in which case we are not to be found in the path.
27157 if test "x$as_myself" = x
; then
27160 if test ! -f "$as_myself"; then
27161 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27165 # Unset variables that we do not need and which cause bugs (e.g. in
27166 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27167 # suppresses any "Segmentation fault" message there. '((' could
27168 # trigger a bug in pdksh 5.2.14.
27169 for as_var
in BASH_ENV ENV MAIL MAILPATH
27170 do eval test x\
${$as_var+set} = xset \
27171 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
27184 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
27187 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27188 # ----------------------------------------
27189 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27190 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27191 # script with STATUS, using 1 if that was 0.
27194 as_status
=$1; test $as_status -eq 0 && as_status
=1
27196 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
27197 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27199 $as_echo "$as_me: error: $2" >&2
27200 as_fn_exit
$as_status
27204 # as_fn_set_status STATUS
27205 # -----------------------
27206 # Set $? to STATUS, without forking.
27207 as_fn_set_status
()
27210 } # as_fn_set_status
27212 # as_fn_exit STATUS
27213 # -----------------
27214 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27218 as_fn_set_status
$1
27224 # Portably unset VAR.
27227 { eval $1=; unset $1;}
27229 as_unset
=as_fn_unset
27230 # as_fn_append VAR VALUE
27231 # ----------------------
27232 # Append the text in VALUE to the end of the definition contained in VAR. Take
27233 # advantage of any shell optimizations that allow amortized linear growth over
27234 # repeated appends, instead of the typical quadratic growth present in naive
27236 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27237 eval 'as_fn_append ()
27248 # as_fn_arith ARG...
27249 # ------------------
27250 # Perform arithmetic evaluation on the ARGs, and store the result in the
27251 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27252 # must be portable across $(()) and expr.
27253 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27254 eval 'as_fn_arith ()
27261 as_val
=`expr "$@" || test $? -eq 1`
27266 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27267 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27273 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27274 as_basename
=basename
27279 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27285 as_me
=`$as_basename -- "$0" ||
27286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27287 X"$0" : 'X\(//\)$' \| \
27288 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27290 sed '/^.*\/\([^/][^/]*\)\/*$/{
27304 # Avoid depending upon Character Ranges.
27305 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27306 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27307 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27308 as_cr_digits
='0123456789'
27309 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27311 ECHO_C
= ECHO_N
= ECHO_T
=
27312 case `echo -n x` in #(((((
27314 case `echo 'xy\c'` in
27315 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27317 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27324 rm -f conf$$ conf$$.exe conf$$.
file
27325 if test -d conf$$.dir
; then
27326 rm -f conf$$.dir
/conf$$.
file
27329 mkdir conf$$.dir
2>/dev
/null
27331 if (echo >conf$$.
file) 2>/dev
/null
; then
27332 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27334 # ... but there are two gotchas:
27335 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27336 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27337 # In both cases, we have to default to `cp -pR'.
27338 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27340 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27348 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27349 rmdir conf$$.dir
2>/dev
/null
27354 # Create "$as_dir" as a directory, including parents if necessary.
27359 -*) as_dir
=.
/$as_dir;;
27361 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27365 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27366 *) as_qdir
=$as_dir;;
27368 as_dirs
="'$as_qdir' $as_dirs"
27369 as_dir
=`$as_dirname -- "$as_dir" ||
27370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27371 X"$as_dir" : 'X\(//\)[^/]' \| \
27372 X"$as_dir" : 'X\(//\)$' \| \
27373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27374 $as_echo X"$as_dir" |
27375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27379 /^X\(\/\/\)[^/].*/{
27392 test -d "$as_dir" && break
27394 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27395 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
27399 if mkdir
-p .
2>/dev
/null
; then
27400 as_mkdir_p
='mkdir -p "$as_dir"'
27402 test -d .
/-p && rmdir .
/-p
27407 # as_fn_executable_p FILE
27408 # -----------------------
27409 # Test if FILE is an executable regular file.
27410 as_fn_executable_p
()
27412 test -f "$1" && test -x "$1"
27413 } # as_fn_executable_p
27414 as_test_x
='test -x'
27415 as_executable_p
=as_fn_executable_p
27417 # Sed expression to map a string onto a valid CPP name.
27418 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27420 # Sed expression to map a string onto a valid variable name.
27421 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27425 ## ----------------------------------- ##
27426 ## Main body of $CONFIG_STATUS script. ##
27427 ## ----------------------------------- ##
27429 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27432 # Save the log message, to keep $0 and so on meaningful, and to
27433 # report actual input values of CONFIG_FILES etc. instead of their
27434 # values after options handling.
27436 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27437 generated by GNU Autoconf 2.69. Invocation command line was
27439 CONFIG_FILES = $CONFIG_FILES
27440 CONFIG_HEADERS = $CONFIG_HEADERS
27441 CONFIG_LINKS = $CONFIG_LINKS
27442 CONFIG_COMMANDS = $CONFIG_COMMANDS
27445 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27450 case $ac_config_files in *"
27451 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27454 case $ac_config_headers in *"
27455 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27460 # Files that config.status was made for.
27461 config_files="$ac_config_files"
27462 config_headers="$ac_config_headers"
27463 config_commands="$ac_config_commands"
27467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27469 \`$as_me' instantiates files and other configuration actions
27470 from templates according to the current configuration. Unless the files
27471 and actions are specified as TAGs, all are instantiated by default.
27473 Usage: $0 [OPTION]... [TAG]...
27475 -h, --help print this help, then exit
27476 -V, --version print version number and configuration settings, then exit
27477 --config print configuration, then exit
27478 -q, --quiet, --silent
27479 do not print progress messages
27480 -d, --debug don't remove temporary files
27481 --recheck update $as_me by reconfiguring in the same conditions
27482 --file=FILE[:TEMPLATE]
27483 instantiate the configuration file FILE
27484 --header=FILE[:TEMPLATE]
27485 instantiate the configuration header FILE
27487 Configuration files:
27490 Configuration headers:
27493 Configuration commands:
27496 Report bugs to the package provider.
27497 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27498 General help using GNU software: <http://www.gnu.org/gethelp/>."
27501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27502 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27504 GNU Fortran Runtime Library config.status 0.3
27505 configured by $0, generated by GNU Autoconf 2.69,
27506 with options \\"\$ac_cs_config\\"
27508 Copyright (C) 2012 Free Software Foundation, Inc.
27509 This config.status script is free software; the Free Software Foundation
27510 gives unlimited permission to copy, distribute and modify it."
27517 test -n "\$AWK" || AWK=awk
27520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27521 # The default lists apply if the user does not specify any file.
27527 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27528 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27532 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27544 # Handling of the options.
27545 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27547 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27548 $as_echo "$ac_cs_version"; exit ;;
27549 --config |
--confi |
--conf |
--con |
--co |
--c )
27550 $as_echo "$ac_cs_config"; exit ;;
27551 --debug |
--debu |
--deb |
--de |
--d |
-d )
27553 --file |
--fil |
--fi |
--f )
27556 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27557 '') as_fn_error $?
"missing file argument" ;;
27559 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27560 ac_need_defaults
=false
;;
27561 --header |
--heade |
--head |
--hea )
27564 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27566 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27567 ac_need_defaults
=false
;;
27569 # Conflict between --help and --header
27570 as_fn_error $?
"ambiguous option: \`$1'
27571 Try \`$0 --help' for more information.";;
27572 --help |
--hel |
-h )
27573 $as_echo "$ac_cs_usage"; exit ;;
27574 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27575 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27578 # This is an error.
27579 -*) as_fn_error $?
"unrecognized option: \`$1'
27580 Try \`$0 --help' for more information." ;;
27582 *) as_fn_append ac_config_targets
" $1"
27583 ac_need_defaults
=false
;;
27589 ac_configure_extra_args
=
27591 if $ac_cs_silent; then
27593 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27598 if \$ac_cs_recheck; then
27599 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27601 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27602 CONFIG_SHELL='$SHELL'
27603 export CONFIG_SHELL
27608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27613 ## Running $as_me. ##
27619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27627 with_multisubdir="$with_multisubdir"
27628 with_multisrctop="$with_multisrctop"
27629 with_target_subdir="$with_target_subdir"
27630 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27631 multi_basedir="$multi_basedir"
27632 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27635 GFORTRAN="$GFORTRAN"
27637 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27640 # The HP-UX ksh and POSIX shell print the target directory to stdout
27641 # if CDPATH is set.
27642 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27644 sed_quote_subst='$sed_quote_subst'
27645 double_quote_subst='$double_quote_subst'
27646 delay_variable_subst='$delay_variable_subst'
27647 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27648 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27649 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27650 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27651 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27652 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27653 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27654 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27655 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27656 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27657 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27658 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27659 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27660 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27661 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27662 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27663 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27664 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27665 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27666 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27667 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27668 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27669 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27670 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27671 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27672 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27673 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27674 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27675 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27676 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27677 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27678 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27679 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27680 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27681 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27682 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27683 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27684 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27685 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27686 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27687 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27688 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27689 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27690 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27691 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27692 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27693 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27694 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27695 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"`'
27696 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27697 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27698 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27699 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27700 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27701 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27702 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27703 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27704 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27705 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27706 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27707 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27708 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27709 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27710 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27711 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27712 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27713 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27714 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27715 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27716 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27717 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27718 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27719 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27720 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27721 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27722 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27723 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27724 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27725 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27726 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27727 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27728 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27729 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27730 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27731 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27732 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27733 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27734 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27735 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27736 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27737 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27738 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27739 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27740 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27741 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27742 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27743 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27744 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27745 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27746 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27747 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27748 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27749 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27750 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27751 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27752 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27753 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27754 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27755 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27756 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27757 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27758 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27759 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27760 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27761 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27762 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27763 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27764 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27765 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27766 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27767 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27768 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27769 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27770 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27771 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27772 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27773 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27774 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27775 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27776 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27777 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27778 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27779 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27780 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27781 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27782 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27783 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27784 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27785 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27786 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27787 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27788 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27789 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27790 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27791 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27792 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27793 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27794 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27795 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27796 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27797 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27798 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27799 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27800 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27801 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27802 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27803 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27804 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27805 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27806 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27807 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27808 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27809 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27810 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27811 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27812 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27813 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27814 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27815 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27816 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27817 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27818 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27819 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27820 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27821 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27824 LTCFLAGS='$LTCFLAGS'
27825 compiler='$compiler_DEFAULT'
27827 # A function that is used when there is no print builtin or printf.
27828 func_fallback_echo ()
27830 eval 'cat <<_LTECHO_EOF
27835 # Quote evaled strings.
27849 deplibs_check_method \
27858 lt_cv_sys_global_symbol_pipe \
27859 lt_cv_sys_global_symbol_to_cdecl \
27860 lt_cv_sys_global_symbol_to_c_name_address \
27861 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27862 lt_prog_compiler_no_builtin_flag \
27863 lt_prog_compiler_wl \
27864 lt_prog_compiler_pic \
27865 lt_prog_compiler_static \
27866 lt_cv_prog_compiler_c_o \
27874 export_dynamic_flag_spec \
27875 whole_archive_flag_spec \
27876 compiler_needs_object \
27878 allow_undefined_flag \
27879 no_undefined_flag \
27880 hardcode_libdir_flag_spec \
27881 hardcode_libdir_flag_spec_ld \
27882 hardcode_libdir_separator \
27887 variables_saved_for_relink \
27889 library_names_spec \
27891 install_override_mode \
27895 compiler_lib_search_dirs \
27900 compiler_lib_search_path \
27904 lt_prog_compiler_no_builtin_flag_FC \
27905 lt_prog_compiler_wl_FC \
27906 lt_prog_compiler_pic_FC \
27907 lt_prog_compiler_static_FC \
27908 lt_cv_prog_compiler_c_o_FC \
27909 export_dynamic_flag_spec_FC \
27910 whole_archive_flag_spec_FC \
27911 compiler_needs_object_FC \
27913 allow_undefined_flag_FC \
27914 no_undefined_flag_FC \
27915 hardcode_libdir_flag_spec_FC \
27916 hardcode_libdir_flag_spec_ld_FC \
27917 hardcode_libdir_separator_FC \
27918 fix_srcfile_path_FC \
27919 exclude_expsyms_FC \
27920 include_expsyms_FC \
27921 file_list_spec_FC \
27922 compiler_lib_search_dirs_FC \
27923 predep_objects_FC \
27924 postdep_objects_FC \
27927 compiler_lib_search_path_FC; do
27928 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27929 *[\\\\\\\`\\"\\\$]*)
27930 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27933 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27938 # Double-quote double-evaled strings.
27939 for var in reload_cmds \
27940 old_postinstall_cmds \
27941 old_postuninstall_cmds \
27943 extract_expsyms_cmds \
27944 old_archive_from_new_cmds \
27945 old_archive_from_expsyms_cmds \
27947 archive_expsym_cmds \
27949 module_expsym_cmds \
27950 export_symbols_cmds \
27953 postuninstall_cmds \
27955 sys_lib_search_path_spec \
27956 sys_lib_dlsearch_path_spec \
27958 old_archive_cmds_FC \
27959 old_archive_from_new_cmds_FC \
27960 old_archive_from_expsyms_cmds_FC \
27962 archive_expsym_cmds_FC \
27964 module_expsym_cmds_FC \
27965 export_symbols_cmds_FC \
27966 prelink_cmds_FC; do
27967 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27968 *[\\\\\\\`\\"\\\$]*)
27969 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27972 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27977 ac_aux_dir='$ac_aux_dir'
27978 xsi_shell='$xsi_shell'
27979 lt_shell_append='$lt_shell_append'
27981 # See if we are running on zsh, and set the options which allow our
27982 # commands through without removal of \ escapes INIT.
27983 if test -n "\${ZSH_VERSION+set}" ; then
27984 setopt NO_GLOB_SUBST
27990 TIMESTAMP='$TIMESTAMP'
28001 acx_cv_header_stdint="$acx_cv_header_stdint"
28002 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28003 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28004 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28005 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28006 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28007 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28008 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28009 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28010 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28011 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28012 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28013 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28014 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28021 # Handling of arguments.
28022 for ac_config_target
in $ac_config_targets
28024 case $ac_config_target in
28025 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
28026 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28027 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28028 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28029 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
28030 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28031 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
28033 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28038 # If the user did not use the arguments to specify the items to instantiate,
28039 # then the envvar interface is used. Set only those that are not.
28040 # We use the long form for the default assignment because of an extremely
28041 # bizarre bug on SunOS 4.1.3.
28042 if $ac_need_defaults; then
28043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28044 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28045 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28048 # Have a temporary directory for convenience. Make it in the build tree
28049 # simply because there is no reason against having it here, and in addition,
28050 # creating and moving files from /tmp can sometimes cause problems.
28051 # Hook for its removal unless debugging.
28052 # Note that there is a small window in which the directory will not be cleaned:
28053 # after its creation but before its name has been assigned to `$tmp'.
28057 trap 'exit_status=$?
28058 : "${ac_tmp:=$tmp}"
28059 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28061 trap 'as_fn_exit 1' 1 2 13 15
28063 # Create a (secure) tmp directory for tmp files.
28066 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28070 tmp
=.
/conf$$
-$RANDOM
28071 (umask 077 && mkdir
"$tmp")
28072 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
28075 # Set up the scripts for CONFIG_FILES section.
28076 # No need to generate them if there are no CONFIG_FILES.
28077 # This happens for instance with `./config.status config.h'.
28078 if test -n "$CONFIG_FILES"; then
28081 ac_cr
=`echo X | tr X '\015'`
28082 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28083 # But we know of no other shell where ac_cr would be empty at this
28084 # point, so we can use a bashism as a fallback.
28085 if test "x$ac_cr" = x
; then
28086 eval ac_cr
=\$
\'\\r
\'
28088 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28089 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28092 ac_cs_awk_cr
=$ac_cr
28095 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28100 echo "cat >conf$$subs.awk <<_ACEOF" &&
28101 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28103 } >conf$$subs.sh ||
28104 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28105 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28107 for ac_last_try in false false false false false :; do
28108 . ./conf$$subs.sh ||
28109 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28111 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28112 if test $ac_delim_n = $ac_delim_num; then
28114 elif $ac_last_try; then
28115 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28117 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28120 rm -f conf$$subs.sh
28122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28123 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
28127 s/^/S["/; s
/!.
*/"]=/
28137 s/\(.\{148\}\)..*/\1/
28139 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28144 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28151 s/\(.\{148\}\)..*/\1/
28153 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28157 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28162 ' <conf$$subs.awk | sed '
28167 ' >>$CONFIG_STATUS || ac_write_fail=1
28168 rm -f conf$$subs.awk
28169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28171 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
28172 for (key in S) S_is_set[key] = 1
28178 nfields = split(line, field, "@
")
28180 len = length(field[1])
28181 for (i = 2; i < nfields; i++) {
28183 keylen = length(key)
28184 if (S_is_set[key]) {
28186 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28187 len += length(value) + length(field[++i])
28198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28199 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28200 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28203 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
28204 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
28207 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28208 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
28209 # trailing colons and then remove the whole line if VPATH becomes empty
28210 # (actually we leave an empty line to preserve line numbers).
28211 if test "x
$srcdir" = x.; then
28212 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28231 fi # test -n "$CONFIG_FILES"
28233 # Set up the scripts for CONFIG_HEADERS section.
28234 # No need to generate them if there are no CONFIG_HEADERS.
28235 # This happens for instance with `./config.status Makefile'.
28236 if test -n "$CONFIG_HEADERS"; then
28237 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
28241 # Transform confdefs.h into an awk script `defines.awk', embedded as
28242 # here-document in config.status, that substitutes the proper values into
28243 # config.h.in to produce config.h.
28245 # Create a delimiter string that does not exist in confdefs.h, to ease
28246 # handling of long lines.
28248 for ac_last_try in false false :; do
28249 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
28250 if test -z "$ac_tt"; then
28252 elif $ac_last_try; then
28253 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
28255 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28259 # For the awk script, D is an array of macro values keyed by name,
28260 # likewise P contains macro parameters if any. Preserve backslash
28261 # newline sequences.
28263 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28265 s/.\{148\}/&'"$ac_delim"'/g
28268 s/^[ ]*#[ ]*define[ ][ ]*/ /
28275 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28277 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28282 D["\
1"]=" \
3\\\\\\n
"\\/p
28284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28289 s/.\{148\}/&'"$ac_delim"'/g
28294 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28297 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28299 ' <confdefs.h | sed '
28300 s/'"$ac_delim"'/"\\\
28301 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28304 for (key in D) D_is_set[key] = 1
28307 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28309 split(line, arg, " ")
28310 if (arg[1] == "#") {
28314 defundef
= substr
(arg
[1], 2)
28317 split(mac1
, mac2
, "(") #)
28319 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28320 if (D_is_set
[macro
]) {
28321 # Preserve the white space surrounding the "#".
28322 print prefix
"define", macro P
[macro
] D
[macro
]
28325 # Replace #undef with comments. This is necessary, for example,
28326 # in the case of _POSIX_SOURCE, which is predefined and required
28327 # on some systems where configure will not decide to define it.
28328 if (defundef
== "undef") {
28329 print
"/*", prefix defundef
, macro
, "*/"
28337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28338 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
28339 fi # test -n "$CONFIG_HEADERS"
28342 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28347 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28349 case $ac_mode$ac_tag in
28351 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28352 :[FH
]-) ac_tag
=-:-;;
28353 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28370 -) ac_f
="$ac_tmp/stdin";;
28371 *) # Look for the file first in the build tree, then in the source tree
28372 # (if the path is not absolute). The absolute path cannot be DOS-style,
28373 # because $ac_f cannot contain `:'.
28377 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28379 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28381 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28382 as_fn_append ac_file_inputs
" '$ac_f'"
28385 # Let's still pretend it is `configure' which instantiates (i.e., don't
28386 # use $as_me), people would be surprised to read:
28387 # /* config.h. Generated by config.status. */
28388 configure_input
='Generated from '`
28389 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28391 if test x
"$ac_file" != x-
; then
28392 configure_input
="$ac_file. $configure_input"
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28394 $as_echo "$as_me: creating $ac_file" >&6;}
28396 # Neutralize special characters interpreted by sed in replacement strings.
28397 case $configure_input in #(
28398 *\
&* |
*\|
* |
*\\* )
28399 ac_sed_conf_input
=`$as_echo "$configure_input" |
28400 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28401 *) ac_sed_conf_input
=$configure_input;;
28405 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
28406 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
28411 ac_dir
=`$as_dirname -- "$ac_file" ||
28412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28413 X"$ac_file" : 'X\(//\)[^/]' \| \
28414 X"$ac_file" : 'X\(//\)$' \| \
28415 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28416 $as_echo X"$ac_file" |
28417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28421 /^X\(\/\/\)[^/].*/{
28434 as_dir
="$ac_dir"; as_fn_mkdir_p
28438 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28440 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28441 # A ".." for each directory in $ac_dir_suffix.
28442 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28443 case $ac_top_builddir_sub in
28444 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28445 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28448 ac_abs_top_builddir
=$ac_pwd
28449 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28450 # for backward compatibility:
28451 ac_top_builddir
=$ac_top_build_prefix
28454 .
) # We are building in place.
28456 ac_top_srcdir
=$ac_top_builddir_sub
28457 ac_abs_top_srcdir
=$ac_pwd ;;
28458 [\\/]* | ?
:[\\/]* ) # Absolute name.
28459 ac_srcdir
=$srcdir$ac_dir_suffix;
28460 ac_top_srcdir
=$srcdir
28461 ac_abs_top_srcdir
=$srcdir ;;
28462 *) # Relative name.
28463 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28464 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28465 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28467 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28477 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28478 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28480 ac_MKDIR_P
=$MKDIR_P
28482 [\\/$
]* | ?
:[\\/]* ) ;;
28483 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28488 # If the template does not know about datarootdir, expand it.
28489 # FIXME: This hack should be removed a few years after 2.60.
28490 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28501 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28502 *datarootdir
*) ac_datarootdir_seen
=yes;;
28503 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28505 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28508 ac_datarootdir_hack='
28509 s&@datadir@&$datadir&g
28510 s&@docdir@&$docdir&g
28511 s&@infodir@&$infodir&g
28512 s&@localedir@&$localedir&g
28513 s&@mandir@&$mandir&g
28514 s&\\\${datarootdir}&$datarootdir&g' ;;
28518 # Neutralize VPATH when `$srcdir' = `.'.
28519 # Shell code in configure.ac might set extrasub.
28520 # FIXME: do we really want to maintain this feature?
28521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28522 ac_sed_extra="$ac_vpsub
28525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28527 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28528 s|@configure_input@|
$ac_sed_conf_input|
;t t
28529 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28530 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28531 s
&@srcdir@
&$ac_srcdir&;t t
28532 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28533 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28534 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28535 s
&@builddir@
&$ac_builddir&;t t
28536 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28537 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28538 s
&@INSTALL@
&$ac_INSTALL&;t t
28539 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28540 $ac_datarootdir_hack
28542 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
28543 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
28545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28546 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
28547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28548 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28550 which seems to be undefined. Please make sure it is defined" >&5
28551 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28552 which seems to be undefined. Please make sure it is defined" >&2;}
28554 rm -f "$ac_tmp/stdin"
28556 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28557 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28565 if test x"$ac_file" != x-; then
28567 $as_echo "/* $configure_input */" \
28568 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28569 } >"$ac_tmp/config.h" \
28570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28571 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28573 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28576 mv "$ac_tmp/config.h" "$ac_file" \
28577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28580 $as_echo "/* $configure_input */" \
28581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28582 || as_fn_error $? "could not create -" "$LINENO" 5
28584 # Compute "$ac_file"'s index
in $config_headers.
28587 for _am_header
in $config_headers :; do
28588 case $_am_header in
28589 $_am_arg |
$_am_arg:* )
28592 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28595 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28596 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28597 X"$_am_arg" : 'X\(//\)[^/]' \| \
28598 X"$_am_arg" : 'X\(//\)$' \| \
28599 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28600 $as_echo X"$_am_arg" |
28601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28605 /^X\(\/\/\)[^/].*/{
28617 s/.*/./; q'`/stamp-h
$_am_stamp_count
28620 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28621 $as_echo "$as_me: executing $ac_file commands" >&6;}
28626 case $ac_file$ac_mode in
28628 # Only add multilib support code if we just rebuilt the top-level
28630 case " $CONFIG_FILES " in
28632 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28635 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28636 # Older Autoconf quotes --file arguments for eval, but not when files
28637 # are listed without --file. Let's play safe and only enable the eval
28638 # if we detect the quoting.
28639 case $CONFIG_FILES in
28640 *\'*) eval set x
"$CONFIG_FILES" ;;
28641 *) set x
$CONFIG_FILES ;;
28646 # Strip MF so we end up with the name of the file.
28647 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28648 # Check whether this is an Automake generated Makefile or not.
28649 # We used to match only the files named 'Makefile.in', but
28650 # some people rename them; so instead we look at the file content.
28651 # Grep'ing the first line is not enough: some people post-process
28652 # each Makefile.in and add a new line on top of each file to say so.
28653 # Grep'ing the whole file is not good either: AIX grep has a line
28654 # limit of 2048, but all sed's we know have understand at least 4000.
28655 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28656 dirpart
=`$as_dirname -- "$mf" ||
28657 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28658 X"$mf" : 'X\(//\)[^/]' \| \
28659 X"$mf" : 'X\(//\)$' \| \
28660 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28666 /^X\(\/\/\)[^/].*/{
28682 # Extract the definition of DEPDIR, am__include, and am__quote
28683 # from the Makefile without running 'make'.
28684 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28685 test -z "$DEPDIR" && continue
28686 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28687 test -z "$am__include" && continue
28688 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28689 # Find all dependency output files, they are included files with
28690 # $(DEPDIR) in their names. We invoke sed twice because it is the
28691 # simplest approach to changing $(DEPDIR) to its actual value in the
28693 for file in `sed -n "
28694 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28695 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28696 # Make sure the directory exists.
28697 test -f "$dirpart/$file" && continue
28698 fdir
=`$as_dirname -- "$file" ||
28699 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28700 X"$file" : 'X\(//\)[^/]' \| \
28701 X"$file" : 'X\(//\)$' \| \
28702 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28703 $as_echo X"$file" |
28704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28708 /^X\(\/\/\)[^/].*/{
28721 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28722 # echo "creating $dirpart/$file"
28723 echo '# dummy' > "$dirpart/$file"
28730 # See if we are running on zsh, and set the options which allow our
28731 # commands through without removal of \ escapes.
28732 if test -n "${ZSH_VERSION+set}" ; then
28733 setopt NO_GLOB_SUBST
28736 cfgfile
="${ofile}T"
28737 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28740 cat <<_LT_EOF >> "$cfgfile"
28743 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28744 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28745 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28746 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28748 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28749 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28750 # Written by Gordon Matzigkeit, 1996
28752 # This file is part of GNU Libtool.
28754 # GNU Libtool is free software; you can redistribute it and/or
28755 # modify it under the terms of the GNU General Public License as
28756 # published by the Free Software Foundation; either version 2 of
28757 # the License, or (at your option) any later version.
28759 # As a special exception to the GNU General Public License,
28760 # if you distribute this file as part of a program or library that
28761 # is built using GNU Libtool, you may include this file under the
28762 # same distribution terms that you use for the rest of that program.
28764 # GNU Libtool is distributed in the hope that it will be useful,
28765 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28766 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28767 # GNU General Public License for more details.
28769 # You should have received a copy of the GNU General Public License
28770 # along with GNU Libtool; see the file COPYING. If not, a copy
28771 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28772 # obtained by writing to the Free Software Foundation, Inc.,
28773 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28776 # The names of the tagged configurations supported by this script.
28777 available_tags="FC "
28779 # ### BEGIN LIBTOOL CONFIG
28781 # A sed program that does not truncate output.
28784 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28785 Xsed="\$SED -e 1s/^X//"
28787 # A grep program that handles long lines.
28793 # A literal string matcher.
28796 # Shell to use when invoking shell scripts.
28799 # An echo program that protects backslashes.
28802 # Which release of libtool.m4 was used?
28803 macro_version=$macro_version
28804 macro_revision=$macro_revision
28806 # Whether or not to build shared libraries.
28807 build_libtool_libs=$enable_shared
28809 # Whether or not to build static libraries.
28810 build_old_libs=$enable_static
28812 # What type of objects to build.
28815 # Whether or not to optimize for fast installation.
28816 fast_install=$enable_fast_install
28819 host_alias=$host_alias
28823 # The build system.
28824 build_alias=$build_alias
28828 # A BSD- or MS-compatible name lister.
28831 # Whether we need soft or hard links.
28834 # What is the maximum length of a command?
28835 max_cmd_len=$max_cmd_len
28837 # Object file suffix (normally "o").
28840 # Executable file suffix (normally "").
28843 # whether the shell understands "unset".
28846 # turn spaces into newlines.
28849 # turn newlines into spaces.
28852 # An object symbol dumper.
28853 OBJDUMP=$lt_OBJDUMP
28855 # Method to check whether dependent libraries are shared objects.
28856 deplibs_check_method=$lt_deplibs_check_method
28858 # Command to use when deplibs_check_method == "file_magic".
28859 file_magic_cmd=$lt_file_magic_cmd
28863 AR_FLAGS=$lt_AR_FLAGS
28865 # A symbol stripping program.
28868 # Commands used to install an old-style archive.
28870 old_postinstall_cmds=$lt_old_postinstall_cmds
28871 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28873 # Whether to use a lock for old archive extraction.
28874 lock_old_archive_extraction=$lock_old_archive_extraction
28879 # LTCC compiler flags.
28880 LTCFLAGS=$lt_CFLAGS
28882 # Take the output of nm and produce a listing of raw symbols and C names.
28883 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28885 # Transform the output of nm in a proper C declaration.
28886 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28888 # Transform the output of nm in a C name address pair.
28889 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28891 # Transform the output of nm in a C name address pair when lib prefix is needed.
28892 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28894 # The name of the directory that contains temporary libtool files.
28897 # Used to examine libraries when file_magic_cmd begins with "file".
28898 MAGIC_CMD=$MAGIC_CMD
28900 # Must we lock files when doing compilation?
28901 need_locks=$lt_need_locks
28903 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28904 DSYMUTIL=$lt_DSYMUTIL
28906 # Tool to change global to local symbols on Mac OS X.
28909 # Tool to manipulate fat objects and archives on Mac OS X.
28912 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28915 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28916 OTOOL64=$lt_OTOOL64
28918 # Old archive suffix (normally "a").
28921 # Shared library suffix (normally ".so").
28922 shrext_cmds=$lt_shrext_cmds
28924 # The commands to extract the exported symbol list from a shared archive.
28925 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28927 # Variables whose values should be saved in libtool wrapper scripts and
28928 # restored at link time.
28929 variables_saved_for_relink=$lt_variables_saved_for_relink
28931 # Do we need the "lib" prefix for modules?
28932 need_lib_prefix=$need_lib_prefix
28934 # Do we need a version for libraries?
28935 need_version=$need_version
28937 # Library versioning type.
28938 version_type=$version_type
28940 # Shared library runtime path variable.
28941 runpath_var=$runpath_var
28943 # Shared library path variable.
28944 shlibpath_var=$shlibpath_var
28946 # Is shlibpath searched before the hard-coded library search path?
28947 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28949 # Format of library name prefix.
28950 libname_spec=$lt_libname_spec
28952 # List of archive names. First name is the real one, the rest are links.
28953 # The last name is the one that the linker finds with -lNAME
28954 library_names_spec=$lt_library_names_spec
28956 # The coded name of the library, if different from the real name.
28957 soname_spec=$lt_soname_spec
28959 # Permission mode override for installation of shared libraries.
28960 install_override_mode=$lt_install_override_mode
28962 # Command to use after installation of a shared archive.
28963 postinstall_cmds=$lt_postinstall_cmds
28965 # Command to use after uninstallation of a shared archive.
28966 postuninstall_cmds=$lt_postuninstall_cmds
28968 # Commands used to finish a libtool library installation in a directory.
28969 finish_cmds=$lt_finish_cmds
28971 # As "finish_cmds", except a single script fragment to be evaled but
28973 finish_eval=$lt_finish_eval
28975 # Whether we should hardcode library paths into libraries.
28976 hardcode_into_libs=$hardcode_into_libs
28978 # Compile-time system search path for libraries.
28979 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28981 # Run-time system search path for libraries.
28982 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28984 # Whether dlopen is supported.
28985 dlopen_support=$enable_dlopen
28987 # Whether dlopen of programs is supported.
28988 dlopen_self=$enable_dlopen_self
28990 # Whether dlopen of statically linked programs is supported.
28991 dlopen_self_static=$enable_dlopen_self_static
28993 # Commands to strip libraries.
28994 old_striplib=$lt_old_striplib
28995 striplib=$lt_striplib
28998 # The linker used to build libraries.
29001 # How to create reloadable object files.
29002 reload_flag=$lt_reload_flag
29003 reload_cmds=$lt_reload_cmds
29005 # Commands used to build an old-style archive.
29006 old_archive_cmds=$lt_old_archive_cmds
29008 # A language specific compiler.
29011 # Is the compiler the GNU compiler?
29014 # Compiler flag to turn off builtin functions.
29015 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29017 # How to pass a linker flag through the compiler.
29018 wl=$lt_lt_prog_compiler_wl
29020 # Additional compiler flags for building library objects.
29021 pic_flag=$lt_lt_prog_compiler_pic
29023 # Compiler flag to prevent dynamic linking.
29024 link_static_flag=$lt_lt_prog_compiler_static
29026 # Does compiler simultaneously support -c and -o options?
29027 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29029 # Whether or not to add -lc for building shared libraries.
29030 build_libtool_need_lc=$archive_cmds_need_lc
29032 # Whether or not to disallow shared libs when runtime libs are static.
29033 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29035 # Compiler flag to allow reflexive dlopens.
29036 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29038 # Compiler flag to generate shared objects directly from archives.
29039 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29041 # Whether the compiler copes with passing no objects directly.
29042 compiler_needs_object=$lt_compiler_needs_object
29044 # Create an old-style archive from a shared archive.
29045 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29047 # Create a temporary old-style archive to link instead of a shared archive.
29048 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29050 # Commands used to build a shared archive.
29051 archive_cmds=$lt_archive_cmds
29052 archive_expsym_cmds=$lt_archive_expsym_cmds
29054 # Commands used to build a loadable module if different from building
29055 # a shared archive.
29056 module_cmds=$lt_module_cmds
29057 module_expsym_cmds=$lt_module_expsym_cmds
29059 # Whether we are building with GNU ld or not.
29060 with_gnu_ld=$lt_with_gnu_ld
29062 # Flag that allows shared libraries with undefined symbols to be built.
29063 allow_undefined_flag=$lt_allow_undefined_flag
29065 # Flag that enforces no undefined symbols.
29066 no_undefined_flag=$lt_no_undefined_flag
29068 # Flag to hardcode \$libdir into a binary during linking.
29069 # This must work even if \$libdir does not exist
29070 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29072 # If ld is used when linking, flag to hardcode \$libdir into a binary
29073 # during linking. This must work even if \$libdir does not exist.
29074 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29076 # Whether we need a single "-rpath" flag with a separated argument.
29077 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29079 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29080 # DIR into the resulting binary.
29081 hardcode_direct=$hardcode_direct
29083 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29084 # DIR into the resulting binary and the resulting library dependency is
29085 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29086 # library is relocated.
29087 hardcode_direct_absolute=$hardcode_direct_absolute
29089 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29090 # into the resulting binary.
29091 hardcode_minus_L=$hardcode_minus_L
29093 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29094 # into the resulting binary.
29095 hardcode_shlibpath_var=$hardcode_shlibpath_var
29097 # Set to "yes" if building a shared library automatically hardcodes DIR
29098 # into the library and all subsequent libraries and executables linked
29100 hardcode_automatic=$hardcode_automatic
29102 # Set to yes if linker adds runtime paths of dependent libraries
29103 # to runtime path list.
29104 inherit_rpath=$inherit_rpath
29106 # Whether libtool must link a program against all its dependency libraries.
29107 link_all_deplibs=$link_all_deplibs
29109 # Fix the shell variable \$srcfile for the compiler.
29110 fix_srcfile_path=$lt_fix_srcfile_path
29112 # Set to "yes" if exported symbols are required.
29113 always_export_symbols=$always_export_symbols
29115 # The commands to list exported symbols.
29116 export_symbols_cmds=$lt_export_symbols_cmds
29118 # Symbols that should not be listed in the preloaded symbols.
29119 exclude_expsyms=$lt_exclude_expsyms
29121 # Symbols that must always be exported.
29122 include_expsyms=$lt_include_expsyms
29124 # Commands necessary for linking programs (against libraries) with templates.
29125 prelink_cmds=$lt_prelink_cmds
29127 # Specify filename containing input files.
29128 file_list_spec=$lt_file_list_spec
29130 # How to hardcode a shared library path into an executable.
29131 hardcode_action=$hardcode_action
29133 # The directories searched by this compiler when creating a shared library.
29134 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29136 # Dependencies to place before and after the objects being linked to
29137 # create a shared library.
29138 predep_objects=$lt_predep_objects
29139 postdep_objects=$lt_postdep_objects
29140 predeps=$lt_predeps
29141 postdeps=$lt_postdeps
29143 # The library search path used internally by the compiler when linking
29144 # a shared library.
29145 compiler_lib_search_path=$lt_compiler_lib_search_path
29147 # ### END LIBTOOL CONFIG
29153 cat <<\_LT_EOF
>> "$cfgfile"
29154 # AIX sometimes has problems with the GCC collect2 program. For some
29155 # reason, if we set the COLLECT_NAMES environment variable, the problems
29156 # vanish in a puff of smoke.
29157 if test "X${COLLECT_NAMES+set}" != Xset
; then
29159 export COLLECT_NAMES
29166 ltmain
="$ac_aux_dir/ltmain.sh"
29169 # We use sed instead of cat because bash on DJGPP gets confused if
29170 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29171 # text mode, it properly converts lines to CR/LF. This bash problem
29172 # is reportedly fixed, but why not run on old versions too?
29173 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29174 ||
(rm -f "$cfgfile"; exit 1)
29178 cat << \_LT_EOF
>> "$cfgfile"
29180 # func_dirname file append nondir_replacement
29181 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29182 # otherwise set result to NONDIR_REPLACEMENT.
29186 */*) func_dirname_result
="${1%/*}${2}" ;;
29187 * ) func_dirname_result
="${3}" ;;
29191 # func_basename file
29194 func_basename_result
="${1##*/}"
29197 # func_dirname_and_basename file append nondir_replacement
29198 # perform func_basename and func_dirname in a single function
29200 # dirname: Compute the dirname of FILE. If nonempty,
29201 # add APPEND to the result, otherwise set result
29202 # to NONDIR_REPLACEMENT.
29203 # value returned in "$func_dirname_result"
29204 # basename: Compute filename of FILE.
29205 # value retuned in "$func_basename_result"
29206 # Implementation must be kept synchronized with func_dirname
29207 # and func_basename. For efficiency, we do not delegate to
29208 # those functions but instead duplicate the functionality here.
29209 func_dirname_and_basename
()
29212 */*) func_dirname_result
="${1%/*}${2}" ;;
29213 * ) func_dirname_result
="${3}" ;;
29215 func_basename_result
="${1##*/}"
29218 # func_stripname prefix suffix name
29219 # strip PREFIX and SUFFIX off of NAME.
29220 # PREFIX and SUFFIX must not contain globbing or regex special
29221 # characters, hashes, percent signs, but SUFFIX may contain a leading
29222 # dot (in which case that matches only a dot).
29225 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29226 # positional parameters, so assign one to ordinary parameter first.
29227 func_stripname_result
=${3}
29228 func_stripname_result
=${func_stripname_result#"${1}"}
29229 func_stripname_result
=${func_stripname_result%"${2}"}
29235 func_opt_split_opt
=${1%%=*}
29236 func_opt_split_arg
=${1#*=}
29243 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29244 *) func_lo2o_result
=${1} ;;
29248 # func_xform libobj-or-source
29251 func_xform_result
=${1%.*}.lo
29254 # func_arith arithmetic-term...
29257 func_arith_result
=$
(( $
* ))
29261 # STRING may not start with a hyphen.
29264 func_len_result
=${#1}
29269 *) # Bourne compatible functions.
29270 cat << \_LT_EOF
>> "$cfgfile"
29272 # func_dirname file append nondir_replacement
29273 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29274 # otherwise set result to NONDIR_REPLACEMENT.
29277 # Extract subdirectory from the argument.
29278 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29279 if test "X$func_dirname_result" = "X${1}"; then
29280 func_dirname_result
="${3}"
29282 func_dirname_result
="$func_dirname_result${2}"
29286 # func_basename file
29289 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29293 # func_stripname prefix suffix name
29294 # strip PREFIX and SUFFIX off of NAME.
29295 # PREFIX and SUFFIX must not contain globbing or regex special
29296 # characters, hashes, percent signs, but SUFFIX may contain a leading
29297 # dot (in which case that matches only a dot).
29298 # func_strip_suffix prefix name
29302 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29303 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29308 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29309 my_sed_long_arg
='1s/^-[^=]*=//'
29314 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29315 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29321 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29324 # func_xform libobj-or-source
29327 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29330 # func_arith arithmetic-term...
29333 func_arith_result
=`expr "$@"`
29337 # STRING may not start with a hyphen.
29340 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29346 case $lt_shell_append in
29348 cat << \_LT_EOF
>> "$cfgfile"
29350 # func_append var value
29351 # Append VALUE to the end of shell variable VAR.
29359 cat << \_LT_EOF
>> "$cfgfile"
29361 # func_append var value
29362 # Append VALUE to the end of shell variable VAR.
29373 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29374 ||
(rm -f "$cfgfile"; exit 1)
29376 mv -f "$cfgfile" "$ofile" ||
29377 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29381 cat <<_LT_EOF >> "$ofile"
29383 # ### BEGIN LIBTOOL TAG CONFIG: FC
29385 # The linker used to build libraries.
29388 # How to create reloadable object files.
29389 reload_flag=$lt_reload_flag_FC
29390 reload_cmds=$lt_reload_cmds_FC
29392 # Commands used to build an old-style archive.
29393 old_archive_cmds=$lt_old_archive_cmds_FC
29395 # A language specific compiler.
29398 # Is the compiler the GNU compiler?
29401 # Compiler flag to turn off builtin functions.
29402 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29404 # How to pass a linker flag through the compiler.
29405 wl=$lt_lt_prog_compiler_wl_FC
29407 # Additional compiler flags for building library objects.
29408 pic_flag=$lt_lt_prog_compiler_pic_FC
29410 # Compiler flag to prevent dynamic linking.
29411 link_static_flag=$lt_lt_prog_compiler_static_FC
29413 # Does compiler simultaneously support -c and -o options?
29414 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29416 # Whether or not to add -lc for building shared libraries.
29417 build_libtool_need_lc=$archive_cmds_need_lc_FC
29419 # Whether or not to disallow shared libs when runtime libs are static.
29420 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29422 # Compiler flag to allow reflexive dlopens.
29423 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29425 # Compiler flag to generate shared objects directly from archives.
29426 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29428 # Whether the compiler copes with passing no objects directly.
29429 compiler_needs_object=$lt_compiler_needs_object_FC
29431 # Create an old-style archive from a shared archive.
29432 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29434 # Create a temporary old-style archive to link instead of a shared archive.
29435 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29437 # Commands used to build a shared archive.
29438 archive_cmds=$lt_archive_cmds_FC
29439 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29441 # Commands used to build a loadable module if different from building
29442 # a shared archive.
29443 module_cmds=$lt_module_cmds_FC
29444 module_expsym_cmds=$lt_module_expsym_cmds_FC
29446 # Whether we are building with GNU ld or not.
29447 with_gnu_ld=$lt_with_gnu_ld_FC
29449 # Flag that allows shared libraries with undefined symbols to be built.
29450 allow_undefined_flag=$lt_allow_undefined_flag_FC
29452 # Flag that enforces no undefined symbols.
29453 no_undefined_flag=$lt_no_undefined_flag_FC
29455 # Flag to hardcode \$libdir into a binary during linking.
29456 # This must work even if \$libdir does not exist
29457 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29459 # If ld is used when linking, flag to hardcode \$libdir into a binary
29460 # during linking. This must work even if \$libdir does not exist.
29461 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29463 # Whether we need a single "-rpath" flag with a separated argument.
29464 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29466 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29467 # DIR into the resulting binary.
29468 hardcode_direct=$hardcode_direct_FC
29470 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29471 # DIR into the resulting binary and the resulting library dependency is
29472 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29473 # library is relocated.
29474 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29476 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29477 # into the resulting binary.
29478 hardcode_minus_L=$hardcode_minus_L_FC
29480 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29481 # into the resulting binary.
29482 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29484 # Set to "yes" if building a shared library automatically hardcodes DIR
29485 # into the library and all subsequent libraries and executables linked
29487 hardcode_automatic=$hardcode_automatic_FC
29489 # Set to yes if linker adds runtime paths of dependent libraries
29490 # to runtime path list.
29491 inherit_rpath=$inherit_rpath_FC
29493 # Whether libtool must link a program against all its dependency libraries.
29494 link_all_deplibs=$link_all_deplibs_FC
29496 # Fix the shell variable \$srcfile for the compiler.
29497 fix_srcfile_path=$lt_fix_srcfile_path_FC
29499 # Set to "yes" if exported symbols are required.
29500 always_export_symbols=$always_export_symbols_FC
29502 # The commands to list exported symbols.
29503 export_symbols_cmds=$lt_export_symbols_cmds_FC
29505 # Symbols that should not be listed in the preloaded symbols.
29506 exclude_expsyms=$lt_exclude_expsyms_FC
29508 # Symbols that must always be exported.
29509 include_expsyms=$lt_include_expsyms_FC
29511 # Commands necessary for linking programs (against libraries) with templates.
29512 prelink_cmds=$lt_prelink_cmds_FC
29514 # Specify filename containing input files.
29515 file_list_spec=$lt_file_list_spec_FC
29517 # How to hardcode a shared library path into an executable.
29518 hardcode_action=$hardcode_action_FC
29520 # The directories searched by this compiler when creating a shared library.
29521 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29523 # Dependencies to place before and after the objects being linked to
29524 # create a shared library.
29525 predep_objects=$lt_predep_objects_FC
29526 postdep_objects=$lt_postdep_objects_FC
29527 predeps=$lt_predeps_FC
29528 postdeps=$lt_postdeps_FC
29530 # The library search path used internally by the compiler when linking
29531 # a shared library.
29532 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29534 # ### END LIBTOOL TAG CONFIG: FC
29539 if test "$GCC" = yes; then
29540 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29542 echo "/* generated for $CC */" > tmp-stdint.h
29545 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29547 #ifndef GCC_GENERATED_STDINT_H
29548 #define GCC_GENERATED_STDINT_H 1
29550 #include <sys/types.h>
29553 if test "$acx_cv_header_stdint" != stdint.h
; then
29554 echo "#include <stddef.h>" >> tmp-stdint.h
29556 if test "$acx_cv_header_stdint" != stddef.h
; then
29557 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29560 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29561 /* glibc uses these symbols as guards to prevent redefinitions. */
29562 #ifdef __int8_t_defined
29567 #ifdef __uint32_t_defined
29573 # ----------------- done header, emit basic int types -------------
29574 if test "$acx_cv_header_stdint" = stddef.h
; then
29575 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29579 #ifndef __uint8_t_defined
29580 #define __uint8_t_defined
29582 typedef unsigned $acx_cv_type_int8_t uint8_t;
29589 #ifndef __uint16_t_defined
29590 #define __uint16_t_defined
29592 typedef unsigned $acx_cv_type_int16_t uint16_t;
29599 #ifndef __uint32_t_defined
29600 #define __uint32_t_defined
29602 typedef unsigned $acx_cv_type_int32_t uint32_t;
29609 #ifndef __int8_t_defined
29610 #define __int8_t_defined
29612 typedef $acx_cv_type_int8_t int8_t;
29619 #ifndef __int16_t_defined
29620 #define __int16_t_defined
29622 typedef $acx_cv_type_int16_t int16_t;
29629 #ifndef __int32_t_defined
29630 #define __int32_t_defined
29632 typedef $acx_cv_type_int32_t int32_t;
29637 elif test "$ac_cv_type_u_int32_t" = yes; then
29638 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29640 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29653 #ifndef __uint8_t_defined
29654 #define __uint8_t_defined
29656 typedef u_int8_t uint8_t;
29663 #ifndef __uint16_t_defined
29664 #define __uint16_t_defined
29666 typedef u_int16_t uint16_t;
29673 #ifndef __uint32_t_defined
29674 #define __uint32_t_defined
29676 typedef u_int32_t uint32_t;
29682 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29684 /* Some systems have guard macros to prevent redefinitions, define them. */
29706 # ------------- done basic int types, emit int64_t types ------------
29707 if test "$ac_cv_type_uint64_t" = yes; then
29708 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29710 /* system headers have good uint64_t and int64_t */
29718 elif test "$ac_cv_type_u_int64_t" = yes; then
29719 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29721 /* system headers have an u_int64_t (and int64_t) */
29727 #ifndef __uint64_t_defined
29728 #define __uint64_t_defined
29730 typedef u_int64_t uint64_t;
29735 elif test -n "$acx_cv_type_int64_t"; then
29736 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29738 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29742 typedef $acx_cv_type_int64_t int64_t;
29747 #ifndef __uint64_t_defined
29748 #define __uint64_t_defined
29750 typedef unsigned $acx_cv_type_int64_t uint64_t;
29756 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29758 /* some common heuristics for int64_t, using compiler-specific tests */
29759 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29762 #ifndef __int64_t_defined
29764 typedef long long int64_t;
29771 typedef unsigned long long uint64_t;
29775 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29776 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29777 does not implement __extension__. But that compiler doesn't define
29779 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29780 # define __extension__
29786 __extension__ typedef long long int64_t;
29792 __extension__ typedef unsigned long long uint64_t;
29796 #elif !defined __STRICT_ANSI__
29797 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29802 typedef __int64 int64_t;
29808 typedef unsigned __int64 uint64_t;
29811 # endif /* compiler */
29813 #endif /* ANSI version */
29817 # ------------- done int64_t types, emit intptr types ------------
29818 if test "$ac_cv_type_uintptr_t" != yes; then
29819 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29821 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29822 #ifndef __uintptr_t_defined
29824 typedef u$acx_cv_type_intptr_t uintptr_t;
29827 #ifndef __intptr_t_defined
29829 typedef $acx_cv_type_intptr_t intptr_t;
29835 # ------------- done intptr types, emit int_least types ------------
29836 if test "$ac_cv_type_int_least32_t" != yes; then
29837 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29839 /* Define int_least types */
29840 typedef int8_t int_least8_t;
29841 typedef int16_t int_least16_t;
29842 typedef int32_t int_least32_t;
29844 typedef int64_t int_least64_t;
29847 typedef uint8_t uint_least8_t;
29848 typedef uint16_t uint_least16_t;
29849 typedef uint32_t uint_least32_t;
29851 typedef uint64_t uint_least64_t;
29856 # ------------- done intptr types, emit int_fast types ------------
29857 if test "$ac_cv_type_int_fast32_t" != yes; then
29858 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29860 /* Define int_fast types. short is often slow */
29861 typedef int8_t int_fast8_t;
29862 typedef int int_fast16_t;
29863 typedef int32_t int_fast32_t;
29865 typedef int64_t int_fast64_t;
29868 typedef uint8_t uint_fast8_t;
29869 typedef unsigned int uint_fast16_t;
29870 typedef uint32_t uint_fast32_t;
29872 typedef uint64_t uint_fast64_t;
29877 if test "$ac_cv_type_uintmax_t" != yes; then
29878 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29880 /* Define intmax based on what we found */
29883 typedef int64_t intmax_t;
29885 typedef long intmax_t;
29890 typedef uint64_t uintmax_t;
29892 typedef unsigned long uintmax_t;
29898 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29900 #endif /* GCC_GENERATED_STDINT_H */
29903 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29906 mv -f tmp-stdint.h gstdint.h
29917 ac_clean_files
=$ac_clean_files_save
29919 test $ac_write_fail = 0 ||
29920 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29923 # configure is writing to config.log, and then calls config.status.
29924 # config.status does its own redirection, appending to config.log.
29925 # Unfortunately, on DOS this fails, as config.log is still kept open
29926 # by configure, so config.status won't be able to write to it; its
29927 # output is simply discarded. So we exec the FD to /dev/null,
29928 # effectively closing config.log, so it can be properly (re)opened and
29929 # appended to by config.status. When coming back to configure, we
29930 # need to make the FD available again.
29931 if test "$no_create" != yes; then
29933 ac_config_status_args
=
29934 test "$silent" = yes &&
29935 ac_config_status_args
="$ac_config_status_args --quiet"
29937 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29939 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29940 # would make configure fail if this is the last instruction.
29941 $ac_cs_success || as_fn_exit
1
29943 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29945 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}