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; then
6168 LIBGFOR_MINIMAL_TRUE=
6169 LIBGFOR_MINIMAL_FALSE='#'
6171 LIBGFOR_MINIMAL_TRUE='#'
6172 LIBGFOR_MINIMAL_FALSE=
6176 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6177 # similarly to how libstdc++ does it
6178 ac_test_CFLAGS="${CFLAGS+set}"
6179 ac_save_CFLAGS="$CFLAGS"
6181 # Check for -ffunction-sections -fdata-sections
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6183 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6184 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6196 if ac_fn_c_try_compile "$LINENO"; then :
6201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6202 if test "$ac_test_CFLAGS" = set; then
6203 CFLAGS="$ac_save_CFLAGS"
6205 # this is the suspicious part
6208 if test x"$ac_fdsections" = x"yes"; then
6209 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6212 $as_echo "$ac_fdsections" >&6; }
6215 # Check linker hardware capability support.
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6217 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6218 if ${ac_cv_path_SED+:} false; then :
6219 $as_echo_n "(cached) " >&6
6221 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6222 for ac_i in 1 2 3 4 5 6 7; do
6223 ac_script="$ac_script$as_nl$ac_script"
6225 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6226 { ac_script=; unset ac_script;}
6227 if test -z "$SED"; then
6228 ac_path_SED_found=false
6229 # Loop through the user's path and test for each of PROGNAME-LIST
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 test -z "$as_dir" && as_dir=.
6235 for ac_prog in sed gsed; do
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6238 as_fn_executable_p "$ac_path_SED" || continue
6239 # Check for GNU ac_path_SED and select it if it is found.
6240 # Check for GNU $ac_path_SED
6241 case `"$ac_path_SED" --version 2>&1` in
6243 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6246 $as_echo_n 0123456789 >"conftest.in"
6249 cat "conftest.in" "conftest.in" >"conftest.tmp"
6250 mv "conftest.tmp" "conftest.in"
6251 cp "conftest.in" "conftest.nl"
6252 $as_echo '' >> "conftest.nl"
6253 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6254 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6255 as_fn_arith $ac_count + 1 && ac_count=$as_val
6256 if test $ac_count -gt ${ac_path_SED_max-0}; then
6257 # Best one so far, save it but keep looking for a better one
6258 ac_cv_path_SED="$ac_path_SED"
6259 ac_path_SED_max=$ac_count
6261 # 10*(2^10) chars as input seems more than enough
6262 test $ac_count -gt 10 && break
6264 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6267 $ac_path_SED_found && break 3
6272 if test -z "$ac_cv_path_SED"; then
6273 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6281 $as_echo "$ac_cv_path_SED" >&6; }
6282 SED="$ac_cv_path_SED"
6285 test -z "$SED" && SED=sed
6286 Xsed="$SED -e 1s/^X//"
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6299 $as_echo_n "checking for fgrep... " >&6; }
6300 if ${ac_cv_path_FGREP+:} false; then :
6301 $as_echo_n "(cached) " >&6
6303 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6304 then ac_cv_path_FGREP="$GREP -F"
6306 if test -z "$FGREP"; then
6307 ac_path_FGREP_found=false
6308 # Loop through the user's path and test for each of PROGNAME-LIST
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6313 test -z "$as_dir" && as_dir=.
6314 for ac_prog in fgrep; do
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6317 as_fn_executable_p "$ac_path_FGREP" || continue
6318 # Check for GNU ac_path_FGREP and select it if it is found.
6319 # Check for GNU $ac_path_FGREP
6320 case `"$ac_path_FGREP" --version 2>&1` in
6322 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6325 $as_echo_n 0123456789 >"conftest.in"
6328 cat "conftest.in" "conftest.in" >"conftest.tmp"
6329 mv "conftest.tmp" "conftest.in"
6330 cp "conftest.in" "conftest.nl"
6331 $as_echo 'FGREP' >> "conftest.nl"
6332 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6334 as_fn_arith $ac_count + 1 && ac_count=$as_val
6335 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6336 # Best one so far, save it but keep looking for a better one
6337 ac_cv_path_FGREP="$ac_path_FGREP"
6338 ac_path_FGREP_max=$ac_count
6340 # 10*(2^10) chars as input seems more than enough
6341 test $ac_count -gt 10 && break
6343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6346 $ac_path_FGREP_found && break 3
6351 if test -z "$ac_cv_path_FGREP"; then
6352 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6355 ac_cv_path_FGREP=$FGREP
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6361 $as_echo "$ac_cv_path_FGREP" >&6; }
6362 FGREP="$ac_cv_path_FGREP"
6365 test -z "$GREP" && GREP=grep
6383 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6384 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6385 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6388 $as_echo_n "checking how to print strings... " >&6; }
6389 # Test print first, because it will be a builtin if present.
6390 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6391 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6393 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6396 # Use this function as a fallback that always works.
6397 func_fallback_echo ()
6399 eval 'cat <<_LTECHO_EOF
6403 ECHO='func_fallback_echo'
6406 # func_echo_all arg...
6407 # Invoke $ECHO with all args, space-separated.
6414 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6415 $as_echo "printf" >&6; } ;;
6416 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6417 $as_echo "print -r" >&6; } ;;
6418 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6419 $as_echo "cat" >&6; } ;;
6437 # Check whether --with-gnu-ld was given.
6438 if test "${with_gnu_ld+set}" = set; then :
6439 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6445 if test "$GCC" = yes; then
6446 # Check if gcc -print-prog-name=ld gives a path.
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6448 $as_echo_n "checking for ld used by $CC... " >&6; }
6451 # gcc leaves a trailing carriage return which upsets mingw
6452 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6454 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6457 # Accept absolute paths.
6459 re_direlt='/[^/][^/]*/\.\./'
6460 # Canonicalize the pathname of ld
6461 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6462 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6463 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6465 test -z "$LD" && LD="$ac_prog"
6468 # If it fails, then pretend we aren't using GCC.
6472 # If it is relative, then search for the first ld in PATH.
6476 elif test "$with_gnu_ld" = yes; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6478 $as_echo_n "checking for GNU ld... " >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6481 $as_echo_n "checking for non-GNU ld... " >&6; }
6483 if ${lt_cv_path_LD+:} false; then :
6484 $as_echo_n "(cached) " >&6
6486 if test -z "$LD"; then
6487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6488 for ac_dir in $PATH; do
6490 test -z "$ac_dir" && ac_dir=.
6491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6492 lt_cv_path_LD="$ac_dir/$ac_prog"
6493 # Check to see if the program is GNU ld. I'd rather use --version,
6494 # but apparently some variants of GNU ld only accept -v.
6495 # Break only if it was the GNU/non-GNU ld that we prefer.
6496 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6497 *GNU* | *'with BFD'*)
6498 test "$with_gnu_ld" != no && break
6501 test "$with_gnu_ld" != yes && break
6508 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6513 if test -n "$LD"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6515 $as_echo "$LD" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6520 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6522 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6523 if ${lt_cv_prog_gnu_ld+:} false; then :
6524 $as_echo_n "(cached) " >&6
6526 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6527 case `$LD -v 2>&1 </dev
/null
` in
6528 *GNU* | *'with BFD'*)
6529 lt_cv_prog_gnu_ld=yes
6532 lt_cv_prog_gnu_ld=no
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6537 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6538 with_gnu_ld=$lt_cv_prog_gnu_ld
6549 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6552 ac_save_LDFLAGS="$LDFLAGS"
6553 LDFLAGS="$LFLAGS -mclear-hwcap"
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6556 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6557 if test x$gcc_no_link = xyes; then
6558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6571 if ac_fn_c_try_link "$LINENO"; then :
6572 ac_hwcap_ldflags=yes
6576 rm -f core conftest.err conftest.$ac_objext \
6577 conftest$ac_exeext conftest.$ac_ext
6578 if test "$ac_hwcap_ldflags" = "yes"; then
6579 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6582 $as_echo "$ac_hwcap_ldflags" >&6; }
6584 LDFLAGS="$ac_save_LDFLAGS"
6588 if test $ac_hwcap_ldflags != no; then
6590 HAVE_HWCAP_FALSE='#'
6598 # Find other programs we need.
6599 if test -n "$ac_tool_prefix"; then
6600 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6601 set dummy ${ac_tool_prefix}as; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_AS+:} false; then :
6605 $as_echo_n "(cached) " >&6
6607 if test -n "$AS"; then
6608 ac_cv_prog_AS="$AS" # Let the user override the test.
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_AS="${ac_tool_prefix}as"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628 if test -n "$AS"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6630 $as_echo "$AS" >&6; }
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6638 if test -z "$ac_cv_prog_AS"; then
6640 # Extract the first word of "as", so it can be a program name with args.
6641 set dummy as; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6645 $as_echo_n "(cached) " >&6
6647 if test -n "$ac_ct_AS"; then
6648 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 test -z "$as_dir" && as_dir=.
6655 for ac_exec_ext in '' $ac_executable_extensions; do
6656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6657 ac_cv_prog_ac_ct_AS="as"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6668 if test -n "$ac_ct_AS"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6670 $as_echo "$ac_ct_AS" >&6; }
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6676 if test "x$ac_ct_AS" = x; then
6679 case $cross_compiling:$ac_tool_warned in
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6683 ac_tool_warned=yes ;;
6691 if test -n "$ac_tool_prefix"; then
6692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6693 set dummy ${ac_tool_prefix}ar; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_AR+:} false; then :
6697 $as_echo_n "(cached) " >&6
6699 if test -n "$AR"; then
6700 ac_cv_prog_AR="$AR" # Let the user override the test.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_AR="${ac_tool_prefix}ar"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720 if test -n "$AR"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6722 $as_echo "$AR" >&6; }
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6730 if test -z "$ac_cv_prog_AR"; then
6732 # Extract the first word of "ar", so it can be a program name with args.
6733 set dummy ar; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 $as_echo_n "checking for $ac_word... " >&6; }
6736 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6737 $as_echo_n "(cached) " >&6
6739 if test -n "$ac_ct_AR"; then
6740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_AR="ar"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6760 if test -n "$ac_ct_AR"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6762 $as_echo "$ac_ct_AR" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6768 if test "x$ac_ct_AR" = x; then
6771 case $cross_compiling:$ac_tool_warned in
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned=yes ;;
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_RANLIB+:} false; then :
6789 $as_echo_n "(cached) " >&6
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir=.
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 RANLIB=$ac_cv_prog_RANLIB
6812 if test -n "$RANLIB"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6814 $as_echo "$RANLIB" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6822 if test -z "$ac_cv_prog_RANLIB"; then
6823 ac_ct_RANLIB=$RANLIB
6824 # Extract the first word of "ranlib", so it can be a program name with args.
6825 set dummy ranlib; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6829 $as_echo_n "(cached) " >&6
6831 if test -n "$ac_ct_RANLIB"; then
6832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 test -z "$as_dir" && as_dir=.
6839 for ac_exec_ext in '' $ac_executable_extensions; do
6840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841 ac_cv_prog_ac_ct_RANLIB="ranlib"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6852 if test -n "$ac_ct_RANLIB"; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6854 $as_echo "$ac_ct_RANLIB" >&6; }
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6860 if test "x$ac_ct_RANLIB" = x; then
6861 RANLIB="ranlib-not-found-in-path-error"
6863 case $cross_compiling:$ac_tool_warned in
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6867 ac_tool_warned=yes ;;
6869 RANLIB=$ac_ct_RANLIB
6872 RANLIB="$ac_cv_prog_RANLIB"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6876 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6878 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6879 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6880 $as_echo_n "(cached) " >&6
6882 cat >conftest.make <<\_ACEOF
6885 @echo '@@@%%%=$(MAKE)=@@@%%%'
6887 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6888 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6890 eval ac_cv_prog_make_${ac_make}_set=yes;;
6892 eval ac_cv_prog_make_${ac_make}_set=no;;
6896 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6898 $as_echo "yes" >&6; }
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6903 SET_MAKE="MAKE=${MAKE-make}"
6909 #AC_MSG_NOTICE([====== Starting libtool configuration])
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6917 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6922 macro_version='2.2.7a'
6923 macro_revision='1.3134'
6937 ltmain="$ac_aux_dir/ltmain.sh"
6939 # Backslashify metacharacters that are still active within
6940 # double-quoted strings.
6941 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6943 # Same as above, but do not quote variable references.
6944 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6946 # Sed substitution to delay expansion of an escaped shell variable in a
6947 # double_quote_subst'ed string.
6948 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6950 # Sed substitution to delay expansion of an escaped single quote.
6951 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6953 # Sed substitution to avoid accidental globbing in evaled expressions
6954 no_glob_subst='s/\*/\\\*/g'
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6957 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6958 if ${lt_cv_path_NM+:} false; then :
6959 $as_echo_n "(cached
) " >&6
6961 if test -n "$NM"; then
6962 # Let the user override the test.
6965 lt_nm_to_check="${ac_tool_prefix}nm
"
6966 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6967 lt_nm_to_check="$lt_nm_to_check nm
"
6969 for lt_tmp_nm in $lt_nm_to_check; do
6970 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6971 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6973 test -z "$ac_dir" && ac_dir=.
6974 tmp_nm="$ac_dir/$lt_tmp_nm"
6975 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6976 # Check to see if the nm accepts a BSD-compat flag.
6977 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6978 # nm: unknown option "B
" ignored
6979 # Tru64's nm complains that /dev/null is an invalid object file
6980 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6981 */dev/null* | *'Invalid file or object type'*)
6982 lt_cv_path_NM="$tmp_nm -B"
6986 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6988 lt_cv_path_NM="$tmp_nm -p"
6992 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6993 continue # so that we can try to find one that supports BSD flags
7002 : ${lt_cv_path_NM=no}
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7006 $as_echo "$lt_cv_path_NM" >&6; }
7007 if test "$lt_cv_path_NM" != "no
"; then
7010 # Didn't find any BSD compatible name lister, look for dumpbin.
7011 if test -n "$DUMPBIN"; then :
7012 # Let the user override the test.
7014 if test -n "$ac_tool_prefix"; then
7015 for ac_prog in dumpbin "link
-dump"
7017 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7020 $as_echo_n "checking
for $ac_word...
" >&6; }
7021 if ${ac_cv_prog_DUMPBIN+:} false; then :
7022 $as_echo_n "(cached
) " >&6
7024 if test -n "$DUMPBIN"; then
7025 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7034 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7044 DUMPBIN=$ac_cv_prog_DUMPBIN
7045 if test -n "$DUMPBIN"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7047 $as_echo "$DUMPBIN" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7050 $as_echo "no
" >&6; }
7054 test -n "$DUMPBIN" && break
7057 if test -z "$DUMPBIN"; then
7058 ac_ct_DUMPBIN=$DUMPBIN
7059 for ac_prog in dumpbin "link
-dump"
7061 # Extract the first word of "$ac_prog", so it can be a program name with args.
7062 set dummy $ac_prog; ac_word=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7064 $as_echo_n "checking
for $ac_word...
" >&6; }
7065 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7066 $as_echo_n "(cached
) " >&6
7068 if test -n "$ac_ct_DUMPBIN"; then
7069 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 test -z "$as_dir" && as_dir=.
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7088 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7089 if test -n "$ac_ct_DUMPBIN"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7091 $as_echo "$ac_ct_DUMPBIN" >&6; }
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7094 $as_echo "no
" >&6; }
7098 test -n "$ac_ct_DUMPBIN" && break
7101 if test "x
$ac_ct_DUMPBIN" = x; then
7104 case $cross_compiling:$ac_tool_warned in
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7107 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7108 ac_tool_warned=yes ;;
7110 DUMPBIN=$ac_ct_DUMPBIN
7114 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7116 DUMPBIN="$DUMPBIN -symbols"
7124 if test "$DUMPBIN" != ":"; then
7128 test -z "$NM" && NM=nm
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7136 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7137 if ${lt_cv_nm_interface+:} false; then :
7138 $as_echo_n "(cached
) " >&6
7140 lt_cv_nm_interface="BSD nm
"
7141 echo "int some_variable
= 0;" > conftest.$ac_ext
7142 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7143 (eval "$ac_compile" 2>conftest.err)
7144 cat conftest.err >&5
7145 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7146 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7147 cat conftest.err >&5
7148 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7149 cat conftest.out >&5
7150 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7151 lt_cv_nm_interface="MS dumpbin
"
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7156 $as_echo "$lt_cv_nm_interface" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7159 $as_echo_n "checking whether
ln -s works...
" >&6; }
7161 if test "$LN_S" = "ln -s"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7163 $as_echo "yes" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7166 $as_echo "no
, using
$LN_S" >&6; }
7169 # find the maximum length of command line arguments
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7171 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7172 if ${lt_cv_sys_max_cmd_len+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7180 # On DJGPP, this test can blow up pretty badly due to problems in libc
7181 # (any single argument exceeding 2000 bytes causes a buffer overrun
7182 # during glob expansion). Even if it were fixed, the result of this
7183 # check would be larger than it should be.
7184 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7188 # Under GNU Hurd, this test is not required because there is
7189 # no limit to the length of command line arguments.
7190 # Libtool will interpret -1 as no limit whatsoever
7191 lt_cv_sys_max_cmd_len=-1;
7194 cygwin* | mingw* | cegcc*)
7195 # On Win9x/ME, this test blows up -- it succeeds, but takes
7196 # about 5 minutes as the teststring grows exponentially.
7197 # Worse, since 9x/ME are not pre-emptively multitasking,
7198 # you end up with a "frozen
" computer, even though with patience
7199 # the test eventually succeeds (with a max line length of 256k).
7200 # Instead, let's just punt: use the minimum linelength reported by
7201 # all of the supported platforms: 8192 (on NT/2K/XP).
7202 lt_cv_sys_max_cmd_len=8192;
7206 # On MiNT this can take a long time and run out of memory.
7207 lt_cv_sys_max_cmd_len=8192;
7211 # On AmigaOS with pdksh, this test takes hours, literally.
7212 # So we just punt and use a minimum line length of 8192.
7213 lt_cv_sys_max_cmd_len=8192;
7216 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7217 # This has been around since 386BSD, at least. Likely further.
7218 if test -x /sbin/sysctl; then
7219 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7220 elif test -x /usr/sbin/sysctl; then
7221 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7223 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7225 # And add a safety zone
7226 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7227 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7231 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7232 lt_cv_sys_max_cmd_len=196608
7236 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7237 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7238 # nice to cause kernel panics so lets avoid the loop below.
7239 # First set a reasonable default.
7240 lt_cv_sys_max_cmd_len=16384
7242 if test -x /sbin/sysconfig; then
7243 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7244 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7249 lt_cv_sys_max_cmd_len=102400
7251 sysv5* | sco5v6* | sysv4.2uw2*)
7252 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7253 if test -n "$kargmax"; then
7254 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7256 lt_cv_sys_max_cmd_len=32768
7260 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7261 if test -n "$lt_cv_sys_max_cmd_len"; then
7262 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7265 # Make teststring a little bigger before we do anything with it.
7266 # a 1K string should be a reasonable start.
7267 for i in 1 2 3 4 5 6 7 8 ; do
7268 teststring=$teststring$teststring
7270 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7271 # If test is not a shell built-in, we'll probably end up computing a
7272 # maximum length that is only half of the actual maximum length, but
7274 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7275 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7276 test $i != 17 # 1/2 MB should be enough
7279 teststring=$teststring$teststring
7281 # Only check the string length outside the loop.
7282 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7284 # Add a significant safety factor because C++ compilers can tack on
7285 # massive amounts of additional arguments before passing them to the
7286 # linker. It appears as though 1/2 is a usable value.
7287 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7294 if test -n $lt_cv_sys_max_cmd_len ; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7296 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7299 $as_echo "none
" >&6; }
7301 max_cmd_len=$lt_cv_sys_max_cmd_len
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7313 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7314 # Try some XSI features
7317 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7319 && eval 'test $(( 1 + 1 )) -eq 2 \
7320 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7323 $as_echo "$xsi_shell" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7327 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7329 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7331 && lt_shell_append
=yes
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7333 $as_echo "$lt_shell_append" >&6; }
7336 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7346 # test EBCDIC or ASCII
7347 case `echo X|tr X '\101'` in
7348 A
) # ASCII based system
7349 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7350 lt_SP2NL
='tr \040 \012'
7351 lt_NL2SP
='tr \015\012 \040\040'
7353 *) # EBCDIC based system
7354 lt_SP2NL
='tr \100 \n'
7355 lt_NL2SP
='tr \r\n \100\100'
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7368 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7369 if ${lt_cv_ld_reload_flag+:} false
; then :
7370 $as_echo_n "(cached) " >&6
7372 lt_cv_ld_reload_flag
='-r'
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7375 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7376 reload_flag
=$lt_cv_ld_reload_flag
7377 case $reload_flag in
7379 *) reload_flag
=" $reload_flag" ;;
7381 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7384 if test "$GCC" = yes; then
7385 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7387 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7402 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$OBJDUMP"; then
7409 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir
=.
7416 for ac_exec_ext
in '' $ac_executable_extensions; do
7417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 OBJDUMP
=$ac_cv_prog_OBJDUMP
7429 if test -n "$OBJDUMP"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7431 $as_echo "$OBJDUMP" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7439 if test -z "$ac_cv_prog_OBJDUMP"; then
7440 ac_ct_OBJDUMP
=$OBJDUMP
7441 # Extract the first word of "objdump", so it can be a program name with args.
7442 set dummy objdump
; ac_word
=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$ac_ct_OBJDUMP"; then
7449 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir
=.
7456 for ac_exec_ext
in '' $ac_executable_extensions; do
7457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7469 if test -n "$ac_ct_OBJDUMP"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7471 $as_echo "$ac_ct_OBJDUMP" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7477 if test "x$ac_ct_OBJDUMP" = x
; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned
=yes ;;
7486 OBJDUMP
=$ac_ct_OBJDUMP
7489 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7492 test -z "$OBJDUMP" && OBJDUMP
=objdump
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7503 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7504 if ${lt_cv_deplibs_check_method+:} false
; then :
7505 $as_echo_n "(cached) " >&6
7507 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7508 lt_cv_file_magic_test_file
=
7509 lt_cv_deplibs_check_method
='unknown'
7510 # Need to set the preceding variable on all platforms that support
7511 # interlibrary dependencies.
7512 # 'none' -- dependencies not supported.
7513 # `unknown' -- same as none, but documents that we really don't know.
7514 # 'pass_all' -- all dependencies passed with no checks.
7515 # 'test_compile' -- check by making test program.
7516 # 'file_magic [[regex]]' -- check by looking for files in library path
7517 # which responds to the $file_magic_cmd with a given extended regex.
7518 # If you have `file' or equivalent on your system and you're not sure
7519 # whether `pass_all' will *always* work, you probably want this one.
7523 lt_cv_deplibs_check_method
=pass_all
7527 lt_cv_deplibs_check_method
=pass_all
7531 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7532 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7533 lt_cv_file_magic_test_file
=/shlib
/libc.so
7537 # func_win32_libid is a shell function defined in ltmain.sh
7538 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7539 lt_cv_file_magic_cmd
='func_win32_libid'
7543 # Base MSYS/MinGW do not provide the 'file' command needed by
7544 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7545 # unless we find 'file', for example because we are cross-compiling.
7546 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7547 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7548 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7549 lt_cv_file_magic_cmd
='func_win32_libid'
7551 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7552 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7557 # use the weaker test based on 'objdump'. See mingw*.
7558 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7559 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7562 darwin
* | rhapsody
*)
7563 lt_cv_deplibs_check_method
=pass_all
7566 freebsd
* | dragonfly
*)
7567 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7570 # Not sure whether the presence of OpenBSD here was a mistake.
7571 # Let's accept both of them until this is cleared up.
7572 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7573 lt_cv_file_magic_cmd
=/usr
/bin
/file
7574 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7578 lt_cv_deplibs_check_method
=pass_all
7583 lt_cv_deplibs_check_method
=pass_all
7587 lt_cv_deplibs_check_method
=pass_all
7590 hpux10.20
* | hpux11
*)
7591 lt_cv_file_magic_cmd
=/usr
/bin
/file
7594 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7595 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7598 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]'
7599 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7602 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7603 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7609 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7610 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7613 irix5
* | irix6
* | nonstopux
*)
7615 *-32|
*"-32 ") libmagic
=32-bit;;
7616 *-n32|
*"-n32 ") libmagic
=N32
;;
7617 *-64|
*"-64 ") libmagic
=64-bit;;
7618 *) libmagic
=never-match
;;
7620 lt_cv_deplibs_check_method
=pass_all
7623 # This must be Linux ELF.
7624 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7625 lt_cv_deplibs_check_method
=pass_all
7629 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7630 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7632 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7637 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7638 lt_cv_file_magic_cmd
=/usr
/bin
/file
7639 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7643 lt_cv_deplibs_check_method
=pass_all
7647 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7648 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7650 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7654 osf3
* | osf4
* | osf5
*)
7655 lt_cv_deplibs_check_method
=pass_all
7659 lt_cv_deplibs_check_method
=pass_all
7663 lt_cv_deplibs_check_method
=pass_all
7666 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7667 lt_cv_deplibs_check_method
=pass_all
7671 case $host_vendor in
7673 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]'
7674 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7677 lt_cv_deplibs_check_method
=pass_all
7680 lt_cv_file_magic_cmd
='/bin/file'
7681 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7684 lt_cv_file_magic_cmd
='/bin/file'
7685 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7686 lt_cv_file_magic_test_file
=/lib
/libc.so
7689 lt_cv_deplibs_check_method
=pass_all
7692 lt_cv_deplibs_check_method
=pass_all
7698 lt_cv_deplibs_check_method
=pass_all
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7704 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7705 file_magic_cmd
=$lt_cv_file_magic_cmd
7706 deplibs_check_method
=$lt_cv_deplibs_check_method
7707 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7722 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if ${ac_cv_prog_AR+:} false
; then :
7726 $as_echo_n "(cached) " >&6
7728 if test -n "$AR"; then
7729 ac_cv_prog_AR
="$AR" # Let the user override the test.
7731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir
=.
7736 for ac_exec_ext
in '' $ac_executable_extensions; do
7737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7738 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7749 if test -n "$AR"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7751 $as_echo "$AR" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7759 if test -z "$ac_cv_prog_AR"; then
7761 # Extract the first word of "ar", so it can be a program name with args.
7762 set dummy
ar; ac_word
=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7766 $as_echo_n "(cached) " >&6
7768 if test -n "$ac_ct_AR"; then
7769 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir
=.
7776 for ac_exec_ext
in '' $ac_executable_extensions; do
7777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_AR
="ar"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7789 if test -n "$ac_ct_AR"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7791 $as_echo "$ac_ct_AR" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7797 if test "x$ac_ct_AR" = x
; then
7800 case $cross_compiling:$ac_tool_warned in
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7804 ac_tool_warned
=yes ;;
7812 test -z "$AR" && AR
=ar
7813 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7825 if test -n "$ac_tool_prefix"; then
7826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7827 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if ${ac_cv_prog_STRIP+:} false
; then :
7831 $as_echo_n "(cached) " >&6
7833 if test -n "$STRIP"; then
7834 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir
=.
7841 for ac_exec_ext
in '' $ac_executable_extensions; do
7842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7843 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 STRIP
=$ac_cv_prog_STRIP
7854 if test -n "$STRIP"; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7856 $as_echo "$STRIP" >&6; }
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 $as_echo "no" >&6; }
7864 if test -z "$ac_cv_prog_STRIP"; then
7866 # Extract the first word of "strip", so it can be a program name with args.
7867 set dummy strip
; ac_word
=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 $as_echo_n "checking for $ac_word... " >&6; }
7870 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7871 $as_echo_n "(cached) " >&6
7873 if test -n "$ac_ct_STRIP"; then
7874 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir
=.
7881 for ac_exec_ext
in '' $ac_executable_extensions; do
7882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7883 ac_cv_prog_ac_ct_STRIP
="strip"
7884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7894 if test -n "$ac_ct_STRIP"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7896 $as_echo "$ac_ct_STRIP" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7899 $as_echo "no" >&6; }
7902 if test "x$ac_ct_STRIP" = x
; then
7905 case $cross_compiling:$ac_tool_warned in
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7909 ac_tool_warned
=yes ;;
7914 STRIP
="$ac_cv_prog_STRIP"
7917 test -z "$STRIP" && STRIP
=:
7924 if test -n "$ac_tool_prefix"; then
7925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7926 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_RANLIB+:} false
; then :
7930 $as_echo_n "(cached) " >&6
7932 if test -n "$RANLIB"; then
7933 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir
=.
7940 for ac_exec_ext
in '' $ac_executable_extensions; do
7941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 RANLIB
=$ac_cv_prog_RANLIB
7953 if test -n "$RANLIB"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7955 $as_echo "$RANLIB" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7963 if test -z "$ac_cv_prog_RANLIB"; then
7964 ac_ct_RANLIB
=$RANLIB
7965 # Extract the first word of "ranlib", so it can be a program name with args.
7966 set dummy ranlib
; ac_word
=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7970 $as_echo_n "(cached) " >&6
7972 if test -n "$ac_ct_RANLIB"; then
7973 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7979 test -z "$as_dir" && as_dir
=.
7980 for ac_exec_ext
in '' $ac_executable_extensions; do
7981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7982 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7993 if test -n "$ac_ct_RANLIB"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7995 $as_echo "$ac_ct_RANLIB" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8001 if test "x$ac_ct_RANLIB" = x
; then
8004 case $cross_compiling:$ac_tool_warned in
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8008 ac_tool_warned
=yes ;;
8010 RANLIB
=$ac_ct_RANLIB
8013 RANLIB
="$ac_cv_prog_RANLIB"
8016 test -z "$RANLIB" && RANLIB
=:
8023 # Determine commands to create old-style static archives.
8024 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8025 old_postinstall_cmds
='chmod 644 $oldlib'
8026 old_postuninstall_cmds
=
8028 if test -n "$RANLIB"; then
8031 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8034 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8037 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8042 lock_old_archive_extraction
=yes ;;
8044 lock_old_archive_extraction
=no
;;
8085 # If no C compiler was specified, use CC.
8088 # If no C compiler flags were specified, use CFLAGS.
8089 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8091 # Allow CC to be a program name with arguments.
8095 # Check for command to grab the raw symbol name followed by C symbol from nm.
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8097 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8098 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8099 $as_echo_n "(cached) " >&6
8102 # These are sane defaults that work on at least a few old systems.
8103 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8105 # Character class describing NM global symbol codes.
8106 symcode
='[BCDEGRST]'
8108 # Regexp to match symbols that can be accessed directly from C.
8109 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8111 # Define system-specific variables.
8116 cygwin
* | mingw
* | pw32
* | cegcc
*)
8117 symcode
='[ABCDGISTW]'
8120 if test "$host_cpu" = ia64
; then
8121 symcode
='[ABCDEGRST]'
8125 symcode
='[BCDEGRST]'
8128 symcode
='[BCDEGQRST]'
8139 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8147 # If we're using GNU nm, then use its standard symbol codes.
8148 case `$NM -V 2>&1` in
8149 *GNU
* |
*'with BFD'*)
8150 symcode
='[ABCDGIRSTW]' ;;
8153 # Transform an extracted symbol line into a proper C declaration.
8154 # Some systems (esp. on ia64) link data and code symbols differently,
8155 # so use this general approach.
8156 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8158 # Transform an extracted symbol line into symbol name and symbol address
8159 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8160 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'"
8162 # Handle CRLF in mingw tool chain
8166 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8170 # Try without a prefix underscore, then with it.
8171 for ac_symprfx
in "" "_"; do
8173 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8174 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8176 # Write the raw and C identifiers.
8177 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8178 # Fake it for dumpbin and say T for any non-static function
8179 # and D for any global variable.
8180 # Also find C++ and __fastcall symbols from MSVC++,
8181 # which start with @ or ?.
8182 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8183 " {last_section=section; section=\$ 3};"\
8184 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8185 " \$ 0!~/External *\|/{next};"\
8186 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8187 " {if(hide[section]) next};"\
8188 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8189 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8190 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8191 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8192 " ' prfx=^$ac_symprfx"
8194 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8197 # Check to see that the pipe works correctly.
8201 cat > conftest.
$ac_ext <<_LT_EOF
8206 void nm_test_func(void);
8207 void nm_test_func(void){}
8211 int main(){nm_test_var='a';nm_test_func();return(0);}
8214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8215 (eval $ac_compile) 2>&5
8217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8218 test $ac_status = 0; }; then
8219 # Now try to grab the symbols.
8221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8222 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8225 test $ac_status = 0; } && test -s "$nlist"; then
8226 # Try sorting and uniquifying the output.
8227 if sort "$nlist" |
uniq > "$nlist"T
; then
8228 mv -f "$nlist"T
"$nlist"
8233 # Make sure that we snagged all the symbols we need.
8234 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8235 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8236 cat <<_LT_EOF > conftest.$ac_ext
8242 # Now generate the symbol file.
8243 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8245 cat <<_LT_EOF >> conftest.$ac_ext
8247 /* The mapping between symbol names and symbols. */
8252 lt__PROGRAM__LTX_preloaded_symbols[] =
8254 { "@PROGRAM@", (void *) 0 },
8256 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8257 cat <<\_LT_EOF
>> conftest.
$ac_ext
8261 /* This works around a problem
in FreeBSD linker
*/
8262 #ifdef FREEBSD_WORKAROUND
8263 static const void
*lt_preloaded_setup
() {
8264 return lt__PROGRAM__LTX_preloaded_symbols
;
8272 # Now try linking the two files.
8273 mv conftest.
$ac_objext conftstm.
$ac_objext
8274 lt_save_LIBS
="$LIBS"
8275 lt_save_CFLAGS
="$CFLAGS"
8276 LIBS
="conftstm.$ac_objext"
8277 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8279 (eval $ac_link) 2>&5
8281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8282 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8285 LIBS
="$lt_save_LIBS"
8286 CFLAGS
="$lt_save_CFLAGS"
8288 echo "cannot find nm_test_func in $nlist" >&5
8291 echo "cannot find nm_test_var in $nlist" >&5
8294 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8297 echo "$progname: failed program was:" >&5
8298 cat conftest.
$ac_ext >&5
8300 rm -rf conftest
* conftst
*
8302 # Do not use the global_symbol_pipe unless it works.
8303 if test "$pipe_works" = yes; then
8306 lt_cv_sys_global_symbol_pipe
=
8312 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8313 lt_cv_sys_global_symbol_to_cdecl
=
8315 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8317 $as_echo "failed" >&6; }
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8320 $as_echo "ok" >&6; }
8344 # Check whether --enable-libtool-lock was given.
8345 if test "${enable_libtool_lock+set}" = set; then :
8346 enableval
=$enable_libtool_lock;
8349 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8351 # Some flags need to be propagated to the compiler or linker for good
8355 # Find out which ABI we are using.
8356 echo 'int i;' > conftest.
$ac_ext
8357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8358 (eval $ac_compile) 2>&5
8360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8361 test $ac_status = 0; }; then
8362 case `/usr/bin/file conftest.$ac_objext` in
8374 # Find out which ABI we are using.
8375 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8377 (eval $ac_compile) 2>&5
8379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8380 test $ac_status = 0; }; then
8381 if test "$lt_cv_prog_gnu_ld" = yes; then
8382 case `/usr/bin/file conftest.$ac_objext` in
8384 LD
="${LD-ld} -melf32bsmip"
8387 LD
="${LD-ld} -melf32bmipn32"
8390 LD
="${LD-ld} -melf64bmip"
8394 case `/usr/bin/file conftest.$ac_objext` in
8410 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8411 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8412 # Find out which ABI we are using.
8413 echo 'int i;' > conftest.
$ac_ext
8414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8415 (eval $ac_compile) 2>&5
8417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8418 test $ac_status = 0; }; then
8419 case `/usr/bin/file conftest.o` in
8422 x86_64-
*kfreebsd
*-gnu)
8423 LD
="${LD-ld} -m elf_i386_fbsd"
8426 case `/usr/bin/file conftest.o` in
8428 LD
="${LD-ld} -m elf32_x86_64"
8431 LD
="${LD-ld} -m elf_i386"
8435 powerpc64le-
*linux
*)
8436 LD
="${LD-ld} -m elf32lppclinux"
8439 LD
="${LD-ld} -m elf32ppclinux"
8442 LD
="${LD-ld} -m elf_s390"
8445 LD
="${LD-ld} -m elf32_sparc"
8451 x86_64-
*kfreebsd
*-gnu)
8452 LD
="${LD-ld} -m elf_x86_64_fbsd"
8455 LD
="${LD-ld} -m elf_x86_64"
8458 LD
="${LD-ld} -m elf64lppc"
8461 LD
="${LD-ld} -m elf64ppc"
8463 s390
*-*linux
*|s390
*-*tpf
*)
8464 LD
="${LD-ld} -m elf64_s390"
8467 LD
="${LD-ld} -m elf64_sparc"
8477 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8478 SAVE_CFLAGS
="$CFLAGS"
8479 CFLAGS
="$CFLAGS -belf"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8481 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8482 if ${lt_cv_cc_needs_belf+:} false
; then :
8483 $as_echo_n "(cached) " >&6
8486 ac_cpp
='$CPP $CPPFLAGS'
8487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8491 if test x
$gcc_no_link = xyes
; then
8492 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8505 if ac_fn_c_try_link
"$LINENO"; then :
8506 lt_cv_cc_needs_belf
=yes
8508 lt_cv_cc_needs_belf
=no
8510 rm -f core conftest.err conftest.
$ac_objext \
8511 conftest
$ac_exeext conftest.
$ac_ext
8513 ac_cpp
='$CPP $CPPFLAGS'
8514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8520 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8521 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8522 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8523 CFLAGS
="$SAVE_CFLAGS"
8527 # Find out which ABI we are using.
8528 echo 'int i;' > conftest.
$ac_ext
8529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8530 (eval $ac_compile) 2>&5
8532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8533 test $ac_status = 0; }; then
8534 case `/usr/bin/file conftest.o` in
8536 case $lt_cv_prog_gnu_ld in
8537 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8539 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8551 need_locks
="$enable_libtool_lock"
8555 rhapsody
* | darwin
*)
8556 if test -n "$ac_tool_prefix"; then
8557 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8558 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8560 $as_echo_n "checking for $ac_word... " >&6; }
8561 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8562 $as_echo_n "(cached) " >&6
8564 if test -n "$DSYMUTIL"; then
8565 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8571 test -z "$as_dir" && as_dir
=.
8572 for ac_exec_ext
in '' $ac_executable_extensions; do
8573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8574 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8584 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8585 if test -n "$DSYMUTIL"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8587 $as_echo "$DSYMUTIL" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590 $as_echo "no" >&6; }
8595 if test -z "$ac_cv_prog_DSYMUTIL"; then
8596 ac_ct_DSYMUTIL
=$DSYMUTIL
8597 # Extract the first word of "dsymutil", so it can be a program name with args.
8598 set dummy dsymutil
; ac_word
=$2
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8600 $as_echo_n "checking for $ac_word... " >&6; }
8601 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8602 $as_echo_n "(cached) " >&6
8604 if test -n "$ac_ct_DSYMUTIL"; then
8605 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8611 test -z "$as_dir" && as_dir
=.
8612 for ac_exec_ext
in '' $ac_executable_extensions; do
8613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8614 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8624 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8625 if test -n "$ac_ct_DSYMUTIL"; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8627 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8633 if test "x$ac_ct_DSYMUTIL" = x
; then
8636 case $cross_compiling:$ac_tool_warned in
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8640 ac_tool_warned
=yes ;;
8642 DSYMUTIL
=$ac_ct_DSYMUTIL
8645 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8648 if test -n "$ac_tool_prefix"; then
8649 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8650 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8652 $as_echo_n "checking for $ac_word... " >&6; }
8653 if ${ac_cv_prog_NMEDIT+:} false
; then :
8654 $as_echo_n "(cached) " >&6
8656 if test -n "$NMEDIT"; then
8657 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir
=.
8664 for ac_exec_ext
in '' $ac_executable_extensions; do
8665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8666 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8676 NMEDIT
=$ac_cv_prog_NMEDIT
8677 if test -n "$NMEDIT"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8679 $as_echo "$NMEDIT" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8682 $as_echo "no" >&6; }
8687 if test -z "$ac_cv_prog_NMEDIT"; then
8688 ac_ct_NMEDIT
=$NMEDIT
8689 # Extract the first word of "nmedit", so it can be a program name with args.
8690 set dummy nmedit
; ac_word
=$2
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8692 $as_echo_n "checking for $ac_word... " >&6; }
8693 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8694 $as_echo_n "(cached) " >&6
8696 if test -n "$ac_ct_NMEDIT"; then
8697 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8703 test -z "$as_dir" && as_dir
=.
8704 for ac_exec_ext
in '' $ac_executable_extensions; do
8705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8706 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8716 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8717 if test -n "$ac_ct_NMEDIT"; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8719 $as_echo "$ac_ct_NMEDIT" >&6; }
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8722 $as_echo "no" >&6; }
8725 if test "x$ac_ct_NMEDIT" = x
; then
8728 case $cross_compiling:$ac_tool_warned in
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8732 ac_tool_warned
=yes ;;
8734 NMEDIT
=$ac_ct_NMEDIT
8737 NMEDIT
="$ac_cv_prog_NMEDIT"
8740 if test -n "$ac_tool_prefix"; then
8741 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8742 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_prog_LIPO+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 if test -n "$LIPO"; then
8749 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8755 test -z "$as_dir" && as_dir
=.
8756 for ac_exec_ext
in '' $ac_executable_extensions; do
8757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8758 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 LIPO
=$ac_cv_prog_LIPO
8769 if test -n "$LIPO"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8771 $as_echo "$LIPO" >&6; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8779 if test -z "$ac_cv_prog_LIPO"; then
8781 # Extract the first word of "lipo", so it can be a program name with args.
8782 set dummy lipo
; ac_word
=$2
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8784 $as_echo_n "checking for $ac_word... " >&6; }
8785 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8786 $as_echo_n "(cached) " >&6
8788 if test -n "$ac_ct_LIPO"; then
8789 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8795 test -z "$as_dir" && as_dir
=.
8796 for ac_exec_ext
in '' $ac_executable_extensions; do
8797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8798 ac_cv_prog_ac_ct_LIPO
="lipo"
8799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8808 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8809 if test -n "$ac_ct_LIPO"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8811 $as_echo "$ac_ct_LIPO" >&6; }
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814 $as_echo "no" >&6; }
8817 if test "x$ac_ct_LIPO" = x
; then
8820 case $cross_compiling:$ac_tool_warned in
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8824 ac_tool_warned
=yes ;;
8829 LIPO
="$ac_cv_prog_LIPO"
8832 if test -n "$ac_tool_prefix"; then
8833 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8834 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_prog_OTOOL+:} false
; then :
8838 $as_echo_n "(cached) " >&6
8840 if test -n "$OTOOL"; then
8841 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir
=.
8848 for ac_exec_ext
in '' $ac_executable_extensions; do
8849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8850 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 OTOOL
=$ac_cv_prog_OTOOL
8861 if test -n "$OTOOL"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8863 $as_echo "$OTOOL" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8871 if test -z "$ac_cv_prog_OTOOL"; then
8873 # Extract the first word of "otool", so it can be a program name with args.
8874 set dummy otool
; ac_word
=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8876 $as_echo_n "checking for $ac_word... " >&6; }
8877 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8878 $as_echo_n "(cached) " >&6
8880 if test -n "$ac_ct_OTOOL"; then
8881 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir
=.
8888 for ac_exec_ext
in '' $ac_executable_extensions; do
8889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8890 ac_cv_prog_ac_ct_OTOOL
="otool"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8901 if test -n "$ac_ct_OTOOL"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8903 $as_echo "$ac_ct_OTOOL" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906 $as_echo "no" >&6; }
8909 if test "x$ac_ct_OTOOL" = x
; then
8912 case $cross_compiling:$ac_tool_warned in
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8916 ac_tool_warned
=yes ;;
8921 OTOOL
="$ac_cv_prog_OTOOL"
8924 if test -n "$ac_tool_prefix"; then
8925 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8926 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928 $as_echo_n "checking for $ac_word... " >&6; }
8929 if ${ac_cv_prog_OTOOL64+:} false
; then :
8930 $as_echo_n "(cached) " >&6
8932 if test -n "$OTOOL64"; then
8933 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir
=.
8940 for ac_exec_ext
in '' $ac_executable_extensions; do
8941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8942 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8952 OTOOL64
=$ac_cv_prog_OTOOL64
8953 if test -n "$OTOOL64"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8955 $as_echo "$OTOOL64" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8963 if test -z "$ac_cv_prog_OTOOL64"; then
8964 ac_ct_OTOOL64
=$OTOOL64
8965 # Extract the first word of "otool64", so it can be a program name with args.
8966 set dummy otool64
; ac_word
=$2
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8968 $as_echo_n "checking for $ac_word... " >&6; }
8969 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8970 $as_echo_n "(cached) " >&6
8972 if test -n "$ac_ct_OTOOL64"; then
8973 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8979 test -z "$as_dir" && as_dir
=.
8980 for ac_exec_ext
in '' $ac_executable_extensions; do
8981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8982 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8992 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8993 if test -n "$ac_ct_OTOOL64"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8995 $as_echo "$ac_ct_OTOOL64" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998 $as_echo "no" >&6; }
9001 if test "x$ac_ct_OTOOL64" = x
; then
9004 case $cross_compiling:$ac_tool_warned in
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9008 ac_tool_warned
=yes ;;
9010 OTOOL64
=$ac_ct_OTOOL64
9013 OTOOL64
="$ac_cv_prog_OTOOL64"
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9043 $as_echo_n "checking for -single_module linker flag... " >&6; }
9044 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9045 $as_echo_n "(cached) " >&6
9047 lt_cv_apple_cc_single_mod
=no
9048 if test -z "${LT_MULTI_MODULE}"; then
9049 # By default we will add the -single_module flag. You can override
9050 # by either setting the environment variable LT_MULTI_MODULE
9051 # non-empty at configure time, or by adding -multi_module to the
9053 rm -rf libconftest.dylib
*
9054 echo "int foo(void){return 1;}" > conftest.c
9055 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9056 -dynamiclib -Wl,-single_module conftest.c" >&5
9057 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9058 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9060 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9061 lt_cv_apple_cc_single_mod
=yes
9063 cat conftest.err
>&5
9065 rm -rf libconftest.dylib
*
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9070 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9072 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9073 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 lt_cv_ld_exported_symbols_list
=no
9077 save_LDFLAGS
=$LDFLAGS
9078 echo "_main" > conftest.sym
9079 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9080 if test x
$gcc_no_link = xyes
; then
9081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9094 if ac_fn_c_try_link
"$LINENO"; then :
9095 lt_cv_ld_exported_symbols_list
=yes
9097 lt_cv_ld_exported_symbols_list
=no
9099 rm -f core conftest.err conftest.
$ac_objext \
9100 conftest
$ac_exeext conftest.
$ac_ext
9101 LDFLAGS
="$save_LDFLAGS"
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9105 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9107 $as_echo_n "checking for -force_load linker flag... " >&6; }
9108 if ${lt_cv_ld_force_load+:} false
; then :
9109 $as_echo_n "(cached) " >&6
9111 lt_cv_ld_force_load
=no
9112 cat > conftest.c
<< _LT_EOF
9113 int forced_loaded() { return 2;}
9115 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9116 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9117 echo "$AR cru libconftest.a conftest.o" >&5
9118 $AR cru libconftest.a conftest.o
2>&5
9119 cat > conftest.c
<< _LT_EOF
9120 int main() { return 0;}
9122 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9123 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9125 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9126 lt_cv_ld_force_load
=yes
9128 cat conftest.err
>&5
9130 rm -f conftest.err libconftest.a conftest conftest.c
9131 rm -rf conftest.dSYM
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9135 $as_echo "$lt_cv_ld_force_load" >&6; }
9137 rhapsody
* | darwin1.
[012])
9138 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9140 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9141 darwin
*) # darwin 5.x on
9142 # if running on 10.5 or later, the deployment target defaults
9143 # to the OS version, if on x86, and 10.4, the deployment
9144 # target defaults to 10.4. Don't you love it?
9145 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9146 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9147 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9149 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9151 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9155 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9156 _lt_dar_single_mod
='$single_module'
9158 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9159 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9161 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9163 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9164 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9171 for ac_header
in dlfcn.h
9173 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9175 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9176 cat >>confdefs.h
<<_ACEOF
9177 #define HAVE_DLFCN_H 1
9196 # Check whether --enable-shared was given.
9197 if test "${enable_shared+set}" = set; then :
9198 enableval
=$enable_shared; p
=${PACKAGE-default}
9200 yes) enable_shared
=yes ;;
9201 no
) enable_shared
=no
;;
9204 # Look at the argument we got. We use all the common list separators.
9205 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9206 for pkg
in $enableval; do
9208 if test "X$pkg" = "X$p"; then
9227 # Check whether --enable-static was given.
9228 if test "${enable_static+set}" = set; then :
9229 enableval
=$enable_static; p
=${PACKAGE-default}
9231 yes) enable_static
=yes ;;
9232 no
) enable_static
=no
;;
9235 # Look at the argument we got. We use all the common list separators.
9236 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9237 for pkg
in $enableval; do
9239 if test "X$pkg" = "X$p"; then
9259 # Check whether --with-pic was given.
9260 if test "${with_pic+set}" = set; then :
9261 withval
=$with_pic; pic_mode
="$withval"
9267 test -z "$pic_mode" && pic_mode
=default
9275 # Check whether --enable-fast-install was given.
9276 if test "${enable_fast_install+set}" = set; then :
9277 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9279 yes) enable_fast_install
=yes ;;
9280 no
) enable_fast_install
=no
;;
9282 enable_fast_install
=no
9283 # Look at the argument we got. We use all the common list separators.
9284 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9285 for pkg
in $enableval; do
9287 if test "X$pkg" = "X$p"; then
9288 enable_fast_install
=yes
9295 enable_fast_install
=yes
9308 # This can be used to rebuild libtool when needed
9309 LIBTOOL_DEPS
="$ltmain"
9311 # Always use our own libtool.
9312 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9339 test -z "$LN_S" && LN_S
="ln -s"
9354 if test -n "${ZSH_VERSION+set}" ; then
9355 setopt NO_GLOB_SUBST
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9359 $as_echo_n "checking for objdir... " >&6; }
9360 if ${lt_cv_objdir+:} false
; then :
9361 $as_echo_n "(cached) " >&6
9363 rm -f .libs
2>/dev
/null
9364 mkdir .libs
2>/dev
/null
9365 if test -d .libs
; then
9368 # MS-DOS does not allow filenames that begin with a dot.
9371 rmdir .libs
2>/dev
/null
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9374 $as_echo "$lt_cv_objdir" >&6; }
9375 objdir
=$lt_cv_objdir
9381 cat >>confdefs.h
<<_ACEOF
9382 #define LT_OBJDIR "$lt_cv_objdir/"
9390 # AIX sometimes has problems with the GCC collect2 program. For some
9391 # reason, if we set the COLLECT_NAMES environment variable, the problems
9392 # vanish in a puff of smoke.
9393 if test "X${COLLECT_NAMES+set}" != Xset
; then
9395 export COLLECT_NAMES
9402 can_build_shared
=yes
9404 # All known linkers require a `.a' archive for static linking (except MSVC,
9405 # which needs '.lib').
9408 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9411 old_CFLAGS
="$CFLAGS"
9413 # Set sane defaults for various variables
9414 test -z "$CC" && CC
=cc
9415 test -z "$LTCC" && LTCC
=$CC
9416 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9417 test -z "$LD" && LD
=ld
9418 test -z "$ac_objext" && ac_objext
=o
9420 for cc_temp
in $compiler""; do
9422 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9423 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9428 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9431 # Only perform the check for file, if the check method requires it
9432 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9433 case $deplibs_check_method in
9435 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9437 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9438 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9443 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9446 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9447 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9448 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9449 for ac_dir
in $ac_dummy; do
9451 test -z "$ac_dir" && ac_dir
=.
9452 if test -f $ac_dir/${ac_tool_prefix}file; then
9453 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9454 if test -n "$file_magic_test_file"; then
9455 case $deplibs_check_method in
9457 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9458 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9459 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9460 $EGREP "$file_magic_regex" > /dev
/null
; then
9465 *** Warning: the command libtool uses to detect shared libraries,
9466 *** $file_magic_cmd, produces output that libtool cannot recognize.
9467 *** The result is that libtool may fail to recognize shared libraries
9468 *** as such. This will affect the creation of libtool libraries that
9469 *** depend on shared libraries, but programs linked with such libtool
9470 *** libraries will work regardless of this problem. Nevertheless, you
9471 *** may want to report the problem to your system manager and/or to
9472 *** bug-libtool@gnu.org
9482 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9487 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9488 if test -n "$MAGIC_CMD"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9490 $as_echo "$MAGIC_CMD" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9493 $as_echo "no" >&6; }
9500 if test -z "$lt_cv_path_MAGIC_CMD"; then
9501 if test -n "$ac_tool_prefix"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9503 $as_echo_n "checking for file... " >&6; }
9504 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9505 $as_echo_n "(cached) " >&6
9509 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9512 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9513 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9514 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9515 for ac_dir
in $ac_dummy; do
9517 test -z "$ac_dir" && ac_dir
=.
9518 if test -f $ac_dir/file; then
9519 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9520 if test -n "$file_magic_test_file"; then
9521 case $deplibs_check_method in
9523 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9524 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9525 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9526 $EGREP "$file_magic_regex" > /dev
/null
; then
9531 *** Warning: the command libtool uses to detect shared libraries,
9532 *** $file_magic_cmd, produces output that libtool cannot recognize.
9533 *** The result is that libtool may fail to recognize shared libraries
9534 *** as such. This will affect the creation of libtool libraries that
9535 *** depend on shared libraries, but programs linked with such libtool
9536 *** libraries will work regardless of this problem. Nevertheless, you
9537 *** may want to report the problem to your system manager and/or to
9538 *** bug-libtool@gnu.org
9548 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9553 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9554 if test -n "$MAGIC_CMD"; then
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9556 $as_echo "$MAGIC_CMD" >&6; }
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9559 $as_echo "no" >&6; }
9572 # Use C for the default configuration in the libtool script
9576 ac_cpp
='$CPP $CPPFLAGS'
9577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9582 # Source file extension for C test sources.
9585 # Object file extension for compiled C test sources.
9589 # Code to be used in simple compile tests
9590 lt_simple_compile_test_code
="int some_variable = 0;"
9592 # Code to be used in simple link tests
9593 lt_simple_link_test_code
='int main(){return(0);}'
9601 # If no C compiler was specified, use CC.
9604 # If no C compiler flags were specified, use CFLAGS.
9605 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9607 # Allow CC to be a program name with arguments.
9610 # Save the default compiler, since it gets overwritten when the other
9611 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9612 compiler_DEFAULT
=$CC
9614 # save warnings/boilerplate of simple test code
9615 ac_outfile
=conftest.
$ac_objext
9616 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9617 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9618 _lt_compiler_boilerplate
=`cat conftest.err`
9621 ac_outfile
=conftest.
$ac_objext
9622 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9623 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9624 _lt_linker_boilerplate
=`cat conftest.err`
9629 ## There is no encapsulation within the following macros, do not change
9630 ## the running order or otherwise move them around unless you know exactly
9631 ## what you are doing...
9632 if test -n "$compiler"; then
9634 lt_prog_compiler_no_builtin_flag
=
9636 if test "$GCC" = yes; then
9637 case $cc_basename in
9639 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9641 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9645 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9646 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 lt_cv_prog_compiler_rtti_exceptions
=no
9650 ac_outfile
=conftest.
$ac_objext
9651 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9652 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9653 # Insert the option either (1) after the last *FLAGS variable, or
9654 # (2) before a word containing "conftest.", or (3) at the end.
9655 # Note that $ac_compile itself does not contain backslashes and begins
9656 # with a dollar sign (not a hyphen), so the echo should work correctly.
9657 # The option is referenced via a variable to avoid confusing sed.
9658 lt_compile
=`echo "$ac_compile" | $SED \
9659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9661 -e 's:$: $lt_compiler_flag:'`
9662 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9663 (eval "$lt_compile" 2>conftest.err
)
9665 cat conftest.err
>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 if (exit $ac_status) && test -s "$ac_outfile"; then
9668 # The compiler can only warn and ignore the option if not recognized
9669 # So say no if there are warnings other than the usual output.
9670 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9671 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9672 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9673 lt_cv_prog_compiler_rtti_exceptions
=yes
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9680 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9682 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9683 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9695 lt_prog_compiler_wl
=
9696 lt_prog_compiler_pic
=
9697 lt_prog_compiler_static
=
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9700 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9702 if test "$GCC" = yes; then
9703 lt_prog_compiler_wl
='-Wl,'
9704 lt_prog_compiler_static
='-static'
9708 # All AIX code is PIC.
9709 if test "$host_cpu" = ia64
; then
9710 # AIX 5 now supports IA64 processor
9711 lt_prog_compiler_static
='-Bstatic'
9713 lt_prog_compiler_pic
='-fPIC'
9719 # see comment about AmigaOS4 .so support
9720 lt_prog_compiler_pic
='-fPIC'
9723 # FIXME: we need at least 68020 code to build shared libraries, but
9724 # adding the `-m68020' flag to GCC prevents building anything better,
9726 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9731 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9732 # PIC is the default for these OSes.
9735 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9736 # This hack is so that the source file can tell whether it is being
9737 # built for inclusion in a dll (and should export symbols for example).
9738 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9739 # (--disable-auto-import) libraries
9740 lt_prog_compiler_pic
='-DDLL_EXPORT'
9743 darwin
* | rhapsody
*)
9744 # PIC is the default on this platform
9745 # Common symbols not allowed in MH_DYLIB files
9746 lt_prog_compiler_pic
='-fno-common'
9750 # PIC is the default for Haiku.
9751 # The "-static" flag exists, but is broken.
9752 lt_prog_compiler_static
=
9756 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9757 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9758 # sets the default TLS model and affects inlining.
9764 lt_prog_compiler_pic
='-fPIC'
9770 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9771 # Instead, we relocate shared libraries at runtime.
9775 # Just because we use GCC doesn't mean we suddenly get shared libraries
9776 # on systems that don't support them.
9777 lt_prog_compiler_can_build_shared
=no
9782 # QNX uses GNU C++, but need to define -shared option too, otherwise
9784 lt_prog_compiler_pic
='-fPIC -shared'
9788 if test -d /usr
/nec
; then
9789 lt_prog_compiler_pic
=-Kconform_pic
9794 lt_prog_compiler_pic
='-fPIC'
9798 case $cc_basename in
9799 nvcc
*) # Cuda Compiler Driver 2.2
9800 lt_prog_compiler_wl
='-Xlinker '
9801 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9805 # PORTME Check for flag to pass linker flags through the system compiler.
9808 lt_prog_compiler_wl
='-Wl,'
9809 if test "$host_cpu" = ia64
; then
9810 # AIX 5 now supports IA64 processor
9811 lt_prog_compiler_static
='-Bstatic'
9813 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9817 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9818 # This hack is so that the source file can tell whether it is being
9819 # built for inclusion in a dll (and should export symbols for example).
9820 lt_prog_compiler_pic
='-DDLL_EXPORT'
9823 hpux9
* | hpux10
* | hpux11
*)
9824 lt_prog_compiler_wl
='-Wl,'
9825 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9832 lt_prog_compiler_pic
='+Z'
9835 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9836 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9839 irix5
* | irix6
* | nonstopux
*)
9840 lt_prog_compiler_wl
='-Wl,'
9841 # PIC (with -KPIC) is the default.
9842 lt_prog_compiler_static
='-non_shared'
9845 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9846 case $cc_basename in
9847 # old Intel for x86_64 which still supported -KPIC.
9849 lt_prog_compiler_wl
='-Wl,'
9850 lt_prog_compiler_pic
='-KPIC'
9851 lt_prog_compiler_static
='-static'
9853 # icc used to be incompatible with GCC.
9854 # ICC 10 doesn't accept -KPIC any more.
9856 lt_prog_compiler_wl
='-Wl,'
9857 lt_prog_compiler_pic
='-fPIC'
9858 lt_prog_compiler_static
='-static'
9860 # Lahey Fortran 8.1.
9862 lt_prog_compiler_wl
='-Wl,'
9863 lt_prog_compiler_pic
='--shared'
9864 lt_prog_compiler_static
='--static'
9866 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9867 # Portland Group compilers (*not* the Pentium gcc compiler,
9868 # which looks to be a dead project)
9869 lt_prog_compiler_wl
='-Wl,'
9870 lt_prog_compiler_pic
='-fpic'
9871 lt_prog_compiler_static
='-Bstatic'
9874 lt_prog_compiler_wl
='-Wl,'
9875 # All Alpha code is PIC.
9876 lt_prog_compiler_static
='-non_shared'
9878 xl
* | bgxl
* | bgf
* | mpixl
*)
9879 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9880 lt_prog_compiler_wl
='-Wl,'
9881 lt_prog_compiler_pic
='-qpic'
9882 lt_prog_compiler_static
='-qstaticlink'
9885 case `$CC -V 2>&1 | sed 5q` in
9886 *Sun\ F
* |
*Sun
*Fortran
*)
9887 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9888 lt_prog_compiler_pic
='-KPIC'
9889 lt_prog_compiler_static
='-Bstatic'
9890 lt_prog_compiler_wl
=''
9894 lt_prog_compiler_pic
='-KPIC'
9895 lt_prog_compiler_static
='-Bstatic'
9896 lt_prog_compiler_wl
='-Wl,'
9904 lt_prog_compiler_pic
='-KPIC'
9905 lt_prog_compiler_static
='-Bstatic'
9909 # QNX uses GNU C++, but need to define -shared option too, otherwise
9911 lt_prog_compiler_pic
='-fPIC -shared'
9914 osf3
* | osf4
* | osf5
*)
9915 lt_prog_compiler_wl
='-Wl,'
9916 # All OSF/1 code is PIC.
9917 lt_prog_compiler_static
='-non_shared'
9921 lt_prog_compiler_static
='-non_shared'
9925 lt_prog_compiler_pic
='-KPIC'
9926 lt_prog_compiler_static
='-Bstatic'
9927 case $cc_basename in
9929 lt_prog_compiler_wl
='-Qoption ld ';;
9931 lt_prog_compiler_wl
='-Wl,';;
9936 lt_prog_compiler_wl
='-Qoption ld '
9937 lt_prog_compiler_pic
='-PIC'
9938 lt_prog_compiler_static
='-Bstatic'
9941 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9942 lt_prog_compiler_wl
='-Wl,'
9943 lt_prog_compiler_pic
='-KPIC'
9944 lt_prog_compiler_static
='-Bstatic'
9948 if test -d /usr
/nec
;then
9949 lt_prog_compiler_pic
='-Kconform_pic'
9950 lt_prog_compiler_static
='-Bstatic'
9954 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9955 lt_prog_compiler_wl
='-Wl,'
9956 lt_prog_compiler_pic
='-KPIC'
9957 lt_prog_compiler_static
='-Bstatic'
9961 lt_prog_compiler_wl
='-Wl,'
9962 lt_prog_compiler_can_build_shared
=no
9966 lt_prog_compiler_pic
='-pic'
9967 lt_prog_compiler_static
='-Bstatic'
9971 lt_prog_compiler_can_build_shared
=no
9977 # For platforms which do not support PIC, -DPIC is meaningless:
9979 lt_prog_compiler_pic
=
9982 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9986 $as_echo "$lt_prog_compiler_pic" >&6; }
9994 # Check to make sure the PIC flag actually works.
9996 if test -n "$lt_prog_compiler_pic"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9998 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9999 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10000 $as_echo_n "(cached) " >&6
10002 lt_cv_prog_compiler_pic_works
=no
10003 ac_outfile
=conftest.
$ac_objext
10004 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10005 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10006 # Insert the option either (1) after the last *FLAGS variable, or
10007 # (2) before a word containing "conftest.", or (3) at the end.
10008 # Note that $ac_compile itself does not contain backslashes and begins
10009 # with a dollar sign (not a hyphen), so the echo should work correctly.
10010 # The option is referenced via a variable to avoid confusing sed.
10011 lt_compile
=`echo "$ac_compile" | $SED \
10012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10014 -e 's:$: $lt_compiler_flag:'`
10015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10016 (eval "$lt_compile" 2>conftest.err
)
10018 cat conftest.err
>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 if (exit $ac_status) && test -s "$ac_outfile"; then
10021 # The compiler can only warn and ignore the option if not recognized
10022 # So say no if there are warnings other than the usual output.
10023 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10024 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10025 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10026 lt_cv_prog_compiler_pic_works
=yes
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10033 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10035 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10036 case $lt_prog_compiler_pic in
10038 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10041 lt_prog_compiler_pic
=
10042 lt_prog_compiler_can_build_shared
=no
10053 # Check to make sure the static flag actually works.
10055 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10057 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10058 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10059 $as_echo_n "(cached) " >&6
10061 lt_cv_prog_compiler_static_works
=no
10062 save_LDFLAGS
="$LDFLAGS"
10063 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10064 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10065 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10066 # The linker can only warn and ignore the option if not recognized
10067 # So say no if there are warnings
10068 if test -s conftest.err
; then
10069 # Append any errors to the config.log.
10070 cat conftest.err
1>&5
10071 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10072 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10073 if diff conftest.exp conftest.er2
>/dev
/null
; then
10074 lt_cv_prog_compiler_static_works
=yes
10077 lt_cv_prog_compiler_static_works
=yes
10081 LDFLAGS
="$save_LDFLAGS"
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10085 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10087 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10090 lt_prog_compiler_static
=
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10100 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10101 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 lt_cv_prog_compiler_c_o
=no
10105 $RM -r conftest
2>/dev
/null
10109 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10111 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10112 # Insert the option either (1) after the last *FLAGS variable, or
10113 # (2) before a word containing "conftest.", or (3) at the end.
10114 # Note that $ac_compile itself does not contain backslashes and begins
10115 # with a dollar sign (not a hyphen), so the echo should work correctly.
10116 lt_compile
=`echo "$ac_compile" | $SED \
10117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10119 -e 's:$: $lt_compiler_flag:'`
10120 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10121 (eval "$lt_compile" 2>out
/conftest.err
)
10123 cat out
/conftest.err
>&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10127 # The compiler can only warn and ignore the option if not recognized
10128 # So say no if there are warnings
10129 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10130 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10131 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10132 lt_cv_prog_compiler_c_o
=yes
10137 # SGI C++ compiler will create directory out/ii_files/ for
10138 # template instantiation
10139 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10140 $RM out
/* && rmdir out
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10147 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10155 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10156 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10157 $as_echo_n "(cached) " >&6
10159 lt_cv_prog_compiler_c_o
=no
10160 $RM -r conftest
2>/dev
/null
10164 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10166 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10167 # Insert the option either (1) after the last *FLAGS variable, or
10168 # (2) before a word containing "conftest.", or (3) at the end.
10169 # Note that $ac_compile itself does not contain backslashes and begins
10170 # with a dollar sign (not a hyphen), so the echo should work correctly.
10171 lt_compile
=`echo "$ac_compile" | $SED \
10172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10174 -e 's:$: $lt_compiler_flag:'`
10175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10176 (eval "$lt_compile" 2>out
/conftest.err
)
10178 cat out
/conftest.err
>&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10182 # The compiler can only warn and ignore the option if not recognized
10183 # So say no if there are warnings
10184 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10185 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10186 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10187 lt_cv_prog_compiler_c_o
=yes
10192 # SGI C++ compiler will create directory out/ii_files/ for
10193 # template instantiation
10194 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10195 $RM out
/* && rmdir out
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10202 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10207 hard_links
="nottested"
10208 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10209 # do not overwrite the value of need_locks provided by the user
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10211 $as_echo_n "checking if we can lock with hard links... " >&6; }
10214 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10216 ln conftest.a conftest.b
2>&5 || hard_links
=no
10217 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10219 $as_echo "$hard_links" >&6; }
10220 if test "$hard_links" = no
; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10222 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10238 allow_undefined_flag
=
10239 always_export_symbols
=no
10241 archive_expsym_cmds
=
10242 compiler_needs_object
=no
10243 enable_shared_with_static_runtimes
=no
10244 export_dynamic_flag_spec
=
10245 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10246 hardcode_automatic
=no
10248 hardcode_direct_absolute
=no
10249 hardcode_libdir_flag_spec
=
10250 hardcode_libdir_flag_spec_ld
=
10251 hardcode_libdir_separator
=
10252 hardcode_minus_L
=no
10253 hardcode_shlibpath_var
=unsupported
10255 link_all_deplibs
=unknown
10257 module_expsym_cmds
=
10258 old_archive_from_new_cmds
=
10259 old_archive_from_expsyms_cmds
=
10260 thread_safe_flag_spec
=
10261 whole_archive_flag_spec
=
10262 # include_expsyms should be a list of space-separated symbols to be *always*
10263 # included in the symbol list
10265 # exclude_expsyms can be an extended regexp of symbols to exclude
10266 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10267 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10268 # as well as any symbol that contains `d'.
10269 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10270 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10271 # platforms (ab)use it in PIC code, but their linkers get confused if
10272 # the symbol is explicitly referenced. Since portable code cannot
10273 # rely on this symbol name, it's probably fine to never include it in
10274 # preloaded symbol tables.
10275 # Exclude shared library initialization/finalization symbols.
10276 extract_expsyms_cmds
=
10279 cygwin
* | mingw
* | pw32
* | cegcc
*)
10280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10281 # When not using gcc, we currently assume that we are using
10282 # Microsoft Visual C++.
10283 if test "$GCC" != yes; then
10288 # we just hope/assume this is gcc and not c89 (= MSVC++)
10298 # On some targets, GNU ld is compatible enough with the native linker
10299 # that we're better off using the native interface for both.
10300 lt_use_gnu_ld_interface
=no
10301 if test "$with_gnu_ld" = yes; then
10304 # The AIX port of GNU ld has always aspired to compatibility
10305 # with the native linker. However, as the warning in the GNU ld
10306 # block says, versions before 2.19.5* couldn't really create working
10307 # shared libraries, regardless of the interface used.
10308 case `$LD -v 2>&1` in
10309 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10310 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10311 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10313 lt_use_gnu_ld_interface
=yes
10318 lt_use_gnu_ld_interface
=yes
10323 if test "$lt_use_gnu_ld_interface" = yes; then
10324 # If archive_cmds runs LD, not CC, wlarc should be empty
10327 # Set some defaults for GNU ld with shared library support. These
10328 # are reset later if shared libraries are not supported. Putting them
10329 # here allows them to be overridden if necessary.
10330 runpath_var
=LD_RUN_PATH
10331 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10332 export_dynamic_flag_spec
='${wl}--export-dynamic'
10333 # ancient GNU ld didn't support --whole-archive et. al.
10334 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10335 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10337 whole_archive_flag_spec
=
10339 supports_anon_versioning
=no
10340 case `$LD -v 2>&1` in
10341 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10342 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10343 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10344 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10345 *\
2.11.
*) ;; # other 2.11 versions
10346 *) supports_anon_versioning
=yes ;;
10349 # See if GNU ld supports shared libraries.
10352 # On AIX/PPC, the GNU linker is very broken
10353 if test "$host_cpu" != ia64
; then
10357 *** Warning: the GNU linker, at least up to release 2.19, is reported
10358 *** to be unable to reliably create shared libraries on AIX.
10359 *** Therefore, libtool is disabling shared libraries support. If you
10360 *** really care for shared libraries, you may want to install binutils
10361 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10362 *** You will then need to restart the configuration process.
10371 # see comment about AmigaOS4 .so support
10372 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10373 archive_expsym_cmds
=''
10376 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)'
10377 hardcode_libdir_flag_spec
='-L$libdir'
10378 hardcode_minus_L
=yes
10384 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10385 allow_undefined_flag
=unsupported
10386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10387 # support --undefined. This deserves some investigation. FIXME
10388 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10394 cygwin
* | mingw
* | pw32
* | cegcc
*)
10395 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10396 # as there is no search path for DLLs.
10397 hardcode_libdir_flag_spec
='-L$libdir'
10398 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10399 allow_undefined_flag
=unsupported
10400 always_export_symbols
=no
10401 enable_shared_with_static_runtimes
=yes
10402 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10404 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10406 # If the export-symbols file already is a .def file (1st line
10407 # is EXPORTS), use it as is; otherwise, prepend...
10408 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10409 cp $export_symbols $output_objdir/$soname.def;
10411 echo EXPORTS > $output_objdir/$soname.def;
10412 cat $export_symbols >> $output_objdir/$soname.def;
10414 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10421 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10422 link_all_deplibs
=yes
10427 hardcode_shlibpath_var
=no
10428 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10429 export_dynamic_flag_spec
='${wl}-E'
10430 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10431 # Instead, shared libraries are loaded at an image base (0x10000000 by
10432 # default) and relocated if they conflict, which is a slow very memory
10433 # consuming and fragmenting process. To avoid this, we pick a random,
10434 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10435 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10436 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10437 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'
10440 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10442 if test "$host_os" = linux-dietlibc
; then
10443 case $cc_basename in
10444 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10447 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10448 && test "$tmp_diet" = no
10450 tmp_addflag
=' $pic_flag'
10451 tmp_sharedflag
='-shared'
10452 case $cc_basename,$host_cpu in
10453 pgcc
*) # Portland Group C compiler
10454 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'
10455 tmp_addflag
=' $pic_flag'
10457 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10458 # Portland Group f77 and f90 compilers
10459 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'
10460 tmp_addflag
=' $pic_flag -Mnomain' ;;
10461 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10462 tmp_addflag
=' -i_dynamic' ;;
10463 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10464 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10465 ifc
* | ifort
*) # Intel Fortran compiler
10466 tmp_addflag
=' -nofor_main' ;;
10467 lf95
*) # Lahey Fortran 8.1
10468 whole_archive_flag_spec
=
10469 tmp_sharedflag
='--shared' ;;
10470 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10471 tmp_sharedflag
='-qmkshrobj'
10473 nvcc
*) # Cuda Compiler Driver 2.2
10474 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'
10475 compiler_needs_object
=yes
10478 case `$CC -V 2>&1 | sed 5q` in
10479 *Sun\ C
*) # Sun C 5.9
10480 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'
10481 compiler_needs_object
=yes
10482 tmp_sharedflag
='-G' ;;
10483 *Sun\ F
*) # Sun Fortran 8.3
10484 tmp_sharedflag
='-G' ;;
10486 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10488 if test "x$supports_anon_versioning" = xyes
; then
10489 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10490 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10491 echo "local: *; };" >> $output_objdir/$libname.ver~
10492 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10495 case $cc_basename in
10496 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10497 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10498 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10499 hardcode_libdir_flag_spec
=
10500 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10501 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10502 if test "x$supports_anon_versioning" = xyes
; then
10503 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10504 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10505 echo "local: *; };" >> $output_objdir/$libname.ver~
10506 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10516 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10517 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10520 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10521 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10526 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10530 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10531 *** create shared libraries on Solaris systems. Therefore, libtool
10532 *** is disabling shared libraries support. We urge you to upgrade GNU
10533 *** binutils to release 2.9.1 or newer. Another option is to modify
10534 *** your PATH or compiler configuration so that the native linker is
10535 *** used, and then restart.
10538 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10539 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10540 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10546 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10547 case `$LD -v 2>&1` in
10548 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10552 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10553 *** reliably create shared libraries on SCO systems. Therefore, libtool
10554 *** is disabling shared libraries support. We urge you to upgrade GNU
10555 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10556 *** your PATH or compiler configuration so that the native linker is
10557 *** used, and then restart.
10562 # For security reasons, it is highly recommended that you always
10563 # use absolute paths for naming shared libraries, and exclude the
10564 # DT_RUNPATH tag from executables and libraries. But doing so
10565 # requires that you compile everything twice, which is a pain.
10566 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10568 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10569 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10578 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10580 hardcode_direct
=yes
10581 hardcode_shlibpath_var
=no
10585 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10586 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10587 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10594 if test "$ld_shlibs" = no
; then
10596 hardcode_libdir_flag_spec
=
10597 export_dynamic_flag_spec
=
10598 whole_archive_flag_spec
=
10601 # PORTME fill in a description of your system's linker (not GNU ld)
10604 allow_undefined_flag
=unsupported
10605 always_export_symbols
=yes
10606 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'
10607 # Note: this linker hardcodes the directories in LIBPATH if there
10608 # are no directories specified by -L.
10609 hardcode_minus_L
=yes
10610 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10611 # Neither direct hardcoding nor static linking is supported with a
10613 hardcode_direct
=unsupported
10618 if test "$host_cpu" = ia64
; then
10619 # On IA64, the linker does run time linking by default, so we don't
10620 # have to do anything special.
10621 aix_use_runtimelinking
=no
10622 exp_sym_flag
='-Bexport'
10625 # If we're using GNU nm, then we don't want the "-C" option.
10626 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10627 # Also, AIX nm treats weak defined symbols like other global
10628 # defined symbols, whereas GNU nm marks them as "W".
10629 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10630 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'
10632 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'
10634 aix_use_runtimelinking
=no
10636 # Test if we are trying to use run time linking or normal
10637 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10638 # need to do runtime linking.
10639 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10640 for ld_flag
in $LDFLAGS; do
10641 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10642 aix_use_runtimelinking
=yes
10649 exp_sym_flag
='-bexport'
10650 no_entry_flag
='-bnoentry'
10653 # When large executables or shared objects are built, AIX ld can
10654 # have problems creating the table of contents. If linking a library
10655 # or program results in "error TOC overflow" add -mminimal-toc to
10656 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10657 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10660 hardcode_direct
=yes
10661 hardcode_direct_absolute
=yes
10662 hardcode_libdir_separator
=':'
10663 link_all_deplibs
=yes
10664 file_list_spec
='${wl}-f,'
10666 if test "$GCC" = yes; then
10667 case $host_os in aix4.
[012]|aix4.
[012].
*)
10668 # We only want to do this on AIX 4.2 and lower, the check
10669 # below for broken collect2 doesn't work under 4.3+
10670 collect2name
=`${CC} -print-prog-name=collect2`
10671 if test -f "$collect2name" &&
10672 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10674 # We have reworked collect2
10677 # We have old collect2
10678 hardcode_direct
=unsupported
10679 # It fails to find uninstalled libraries when the uninstalled
10680 # path is not listed in the libpath. Setting hardcode_minus_L
10681 # to unsupported forces relinking
10682 hardcode_minus_L
=yes
10683 hardcode_libdir_flag_spec
='-L$libdir'
10684 hardcode_libdir_separator
=
10688 shared_flag
='-shared'
10689 if test "$aix_use_runtimelinking" = yes; then
10690 shared_flag
="$shared_flag "'${wl}-G'
10694 if test "$host_cpu" = ia64
; then
10695 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10696 # chokes on -Wl,-G. The following line is correct:
10699 if test "$aix_use_runtimelinking" = yes; then
10700 shared_flag
='${wl}-G'
10702 shared_flag
='${wl}-bM:SRE'
10707 export_dynamic_flag_spec
='${wl}-bexpall'
10708 # It seems that -bexpall does not export symbols beginning with
10709 # underscore (_), so it is better to generate a list of symbols to export.
10710 always_export_symbols
=yes
10711 if test "$aix_use_runtimelinking" = yes; then
10712 # Warning - without using the other runtime loading flags (-brtl),
10713 # -berok will link without error, but may produce a broken library.
10714 allow_undefined_flag
='-berok'
10715 # Determine the default libpath from the value encoded in an
10716 # empty executable.
10717 if test x
$gcc_no_link = xyes
; then
10718 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10731 if ac_fn_c_try_link
"$LINENO"; then :
10733 lt_aix_libpath_sed
='
10734 /Import File Strings/,/^$/ {
10740 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10741 # Check for a 64-bit object if we didn't find anything.
10742 if test -z "$aix_libpath"; then
10743 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10746 rm -f core conftest.err conftest.
$ac_objext \
10747 conftest
$ac_exeext conftest.
$ac_ext
10748 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10750 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10751 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"
10753 if test "$host_cpu" = ia64
; then
10754 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10755 allow_undefined_flag
="-z nodefs"
10756 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"
10758 # Determine the default libpath from the value encoded in an
10759 # empty executable.
10760 if test x
$gcc_no_link = xyes
; then
10761 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10774 if ac_fn_c_try_link
"$LINENO"; then :
10776 lt_aix_libpath_sed
='
10777 /Import File Strings/,/^$/ {
10783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10784 # Check for a 64-bit object if we didn't find anything.
10785 if test -z "$aix_libpath"; then
10786 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10789 rm -f core conftest.err conftest.
$ac_objext \
10790 conftest
$ac_exeext conftest.
$ac_ext
10791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10793 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10794 # Warning - without using the other run time loading flags,
10795 # -berok will link without error, but may produce a broken library.
10796 no_undefined_flag
=' ${wl}-bernotok'
10797 allow_undefined_flag
=' ${wl}-berok'
10798 if test "$with_gnu_ld" = yes; then
10799 # We only use this code for GNU lds that support --whole-archive.
10800 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10802 # Exported symbols can be pulled into shared objects from archives
10803 whole_archive_flag_spec
='$convenience'
10805 archive_cmds_need_lc
=yes
10806 # This is similar to how AIX traditionally builds its shared libraries.
10807 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'
10815 # see comment about AmigaOS4 .so support
10816 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10817 archive_expsym_cmds
=''
10820 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)'
10821 hardcode_libdir_flag_spec
='-L$libdir'
10822 hardcode_minus_L
=yes
10828 export_dynamic_flag_spec
=-rdynamic
10831 cygwin
* | mingw
* | pw32
* | cegcc
*)
10832 # When not using gcc, we currently assume that we are using
10833 # Microsoft Visual C++.
10834 # hardcode_libdir_flag_spec is actually meaningless, as there is
10835 # no search path for DLLs.
10836 hardcode_libdir_flag_spec
=' '
10837 allow_undefined_flag
=unsupported
10838 # Tell ltmain to make .lib files, not .a files.
10840 # Tell ltmain to make .dll files, not .so files.
10842 # FIXME: Setting linknames here is a bad hack.
10843 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10844 # The linker will automatically build a .lib file if we build a DLL.
10845 old_archive_from_new_cmds
='true'
10846 # FIXME: Should let the user specify the lib program.
10847 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10848 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10849 enable_shared_with_static_runtimes
=yes
10852 darwin
* | rhapsody
*)
10855 archive_cmds_need_lc
=no
10857 hardcode_automatic
=yes
10858 hardcode_shlibpath_var
=unsupported
10859 if test "$lt_cv_ld_force_load" = "yes"; then
10860 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\"`'
10862 whole_archive_flag_spec
=''
10864 link_all_deplibs
=yes
10865 allow_undefined_flag
="$_lt_dar_allow_undefined"
10866 case $cc_basename in
10867 ifort
*) _lt_dar_can_shared
=yes ;;
10868 *) _lt_dar_can_shared
=$GCC ;;
10870 if test "$_lt_dar_can_shared" = "yes"; then
10871 output_verbose_link_cmd
=func_echo_all
10872 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10873 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10874 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}"
10875 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}"
10884 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_libdir_flag_spec
='-L$libdir'
10886 hardcode_shlibpath_var
=no
10889 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10890 # support. Future versions do this automatically, but an explicit c++rt0.o
10891 # does not break anything, and helps significantly (at the cost of a little
10894 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10895 hardcode_libdir_flag_spec
='-R$libdir'
10896 hardcode_direct
=yes
10897 hardcode_shlibpath_var
=no
10900 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10902 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10903 hardcode_direct
=yes
10904 hardcode_minus_L
=yes
10905 hardcode_shlibpath_var
=no
10908 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10909 freebsd
* | dragonfly
*)
10910 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10911 hardcode_libdir_flag_spec
='-R$libdir'
10912 hardcode_direct
=yes
10913 hardcode_shlibpath_var
=no
10917 if test "$GCC" = yes; then
10918 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'
10920 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'
10922 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10923 hardcode_libdir_separator
=:
10924 hardcode_direct
=yes
10926 # hardcode_minus_L: Not really in the search PATH,
10927 # but as the default location of the library.
10928 hardcode_minus_L
=yes
10929 export_dynamic_flag_spec
='${wl}-E'
10933 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10934 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10936 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10938 if test "$with_gnu_ld" = no
; then
10939 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10940 hardcode_libdir_flag_spec_ld
='+b $libdir'
10941 hardcode_libdir_separator
=:
10942 hardcode_direct
=yes
10943 hardcode_direct_absolute
=yes
10944 export_dynamic_flag_spec
='${wl}-E'
10945 # hardcode_minus_L: Not really in the search PATH,
10946 # but as the default location of the library.
10947 hardcode_minus_L
=yes
10952 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10955 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10958 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10967 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10970 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10974 # Older versions of the 11.00 compiler do not understand -b yet
10975 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10977 $as_echo_n "checking if $CC understands -b... " >&6; }
10978 if ${lt_cv_prog_compiler__b+:} false
; then :
10979 $as_echo_n "(cached) " >&6
10981 lt_cv_prog_compiler__b
=no
10982 save_LDFLAGS
="$LDFLAGS"
10983 LDFLAGS
="$LDFLAGS -b"
10984 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10985 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10986 # The linker can only warn and ignore the option if not recognized
10987 # So say no if there are warnings
10988 if test -s conftest.err
; then
10989 # Append any errors to the config.log.
10990 cat conftest.err
1>&5
10991 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10992 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10993 if diff conftest.exp conftest.er2
>/dev
/null
; then
10994 lt_cv_prog_compiler__b
=yes
10997 lt_cv_prog_compiler__b
=yes
11001 LDFLAGS
="$save_LDFLAGS"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11005 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11007 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11008 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11016 if test "$with_gnu_ld" = no
; then
11017 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11018 hardcode_libdir_separator
=:
11023 hardcode_shlibpath_var
=no
11026 hardcode_direct
=yes
11027 hardcode_direct_absolute
=yes
11028 export_dynamic_flag_spec
='${wl}-E'
11030 # hardcode_minus_L: Not really in the search PATH,
11031 # but as the default location of the library.
11032 hardcode_minus_L
=yes
11038 irix5
* | irix6
* | nonstopux
*)
11039 if test "$GCC" = yes; then
11040 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'
11041 # Try to use the -exported_symbol ld option, if it does not
11042 # work, assume that -exports_file does not work either and
11043 # implicitly export all symbols.
11044 save_LDFLAGS
="$LDFLAGS"
11045 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11046 if test x
$gcc_no_link = xyes
; then
11047 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11053 if ac_fn_c_try_link
"$LINENO"; then :
11054 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'
11057 rm -f core conftest.err conftest.
$ac_objext \
11058 conftest
$ac_exeext conftest.
$ac_ext
11059 LDFLAGS
="$save_LDFLAGS"
11061 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'
11062 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'
11064 archive_cmds_need_lc
='no'
11065 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11066 hardcode_libdir_separator
=:
11068 link_all_deplibs
=yes
11072 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11073 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11075 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11077 hardcode_libdir_flag_spec
='-R$libdir'
11078 hardcode_direct
=yes
11079 hardcode_shlibpath_var
=no
11083 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11084 hardcode_direct
=yes
11085 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11086 hardcode_libdir_separator
=:
11087 hardcode_shlibpath_var
=no
11094 if test -f /usr
/libexec
/ld.so
; then
11095 hardcode_direct
=yes
11096 hardcode_shlibpath_var
=no
11097 hardcode_direct_absolute
=yes
11098 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11099 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11100 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11101 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11102 export_dynamic_flag_spec
='${wl}-E'
11105 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11106 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11107 hardcode_libdir_flag_spec
='-R$libdir'
11110 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11111 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11121 hardcode_libdir_flag_spec
='-L$libdir'
11122 hardcode_minus_L
=yes
11123 allow_undefined_flag
=unsupported
11124 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'
11125 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11129 if test "$GCC" = yes; then
11130 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11131 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'
11133 allow_undefined_flag
=' -expect_unresolved \*'
11134 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'
11136 archive_cmds_need_lc
='no'
11137 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11138 hardcode_libdir_separator
=:
11141 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11142 if test "$GCC" = yes; then
11143 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11144 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'
11145 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11147 allow_undefined_flag
=' -expect_unresolved \*'
11148 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'
11149 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~
11150 $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'
11152 # Both c and cxx compiler support -rpath directly
11153 hardcode_libdir_flag_spec
='-rpath $libdir'
11155 archive_cmds_need_lc
='no'
11156 hardcode_libdir_separator
=:
11160 no_undefined_flag
=' -z defs'
11161 if test "$GCC" = yes; then
11163 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11165 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11167 case `$CC -V 2>&1` in
11170 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11171 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11172 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11176 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11177 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11178 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11182 hardcode_libdir_flag_spec
='-R$libdir'
11183 hardcode_shlibpath_var
=no
11185 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11187 # The compiler driver will combine and reorder linker options,
11188 # but understands `-z linker_flag'. GCC discards it without `$wl',
11189 # but is careful enough not to reorder.
11190 # Supported since Solaris 2.6 (maybe 2.5.1?)
11191 if test "$GCC" = yes; then
11192 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11194 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11198 link_all_deplibs
=yes
11202 if test "x$host_vendor" = xsequent
; then
11203 # Use $CC to link under sequent, because it throws in some extra .o
11204 # files that make .init and .fini sections work.
11205 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11207 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11209 hardcode_libdir_flag_spec
='-L$libdir'
11210 hardcode_direct
=yes
11211 hardcode_minus_L
=yes
11212 hardcode_shlibpath_var
=no
11216 case $host_vendor in
11218 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11219 hardcode_direct
=yes # is this really true???
11222 ## LD is ld it makes a PLAMLIB
11223 ## CC just makes a GrossModule.
11224 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11225 reload_cmds
='$CC -r -o $output$reload_objs'
11229 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11230 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11233 runpath_var
='LD_RUN_PATH'
11234 hardcode_shlibpath_var
=no
11238 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11239 hardcode_shlibpath_var
=no
11240 export_dynamic_flag_spec
='-Bexport'
11244 if test -d /usr
/nec
; then
11245 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246 hardcode_shlibpath_var
=no
11247 runpath_var
=LD_RUN_PATH
11248 hardcode_runpath_var
=yes
11253 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11254 no_undefined_flag
='${wl}-z,text'
11255 archive_cmds_need_lc
=no
11256 hardcode_shlibpath_var
=no
11257 runpath_var
='LD_RUN_PATH'
11259 if test "$GCC" = yes; then
11260 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11261 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11263 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11268 sysv5
* | sco3.2v5
* | sco5v6
*)
11269 # Note: We can NOT use -z defs as we might desire, because we do not
11270 # link with -lc, and that would cause any symbols used from libc to
11271 # always be unresolved, which means just about no library would
11272 # ever link correctly. If we're not using GNU ld we use -z text
11273 # though, which does catch some bad symbols but isn't as heavy-handed
11275 no_undefined_flag
='${wl}-z,text'
11276 allow_undefined_flag
='${wl}-z,nodefs'
11277 archive_cmds_need_lc
=no
11278 hardcode_shlibpath_var
=no
11279 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11280 hardcode_libdir_separator
=':'
11281 link_all_deplibs
=yes
11282 export_dynamic_flag_spec
='${wl}-Bexport'
11283 runpath_var
='LD_RUN_PATH'
11285 if test "$GCC" = yes; then
11286 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11287 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11289 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11290 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11295 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11296 hardcode_libdir_flag_spec
='-L$libdir'
11297 hardcode_shlibpath_var
=no
11305 if test x
$host_vendor = xsni
; then
11307 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11308 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11315 $as_echo "$ld_shlibs" >&6; }
11316 test "$ld_shlibs" = no
&& can_build_shared
=no
11318 with_gnu_ld
=$with_gnu_ld
11335 # Do we need to explicitly link libc?
11337 case "x$archive_cmds_need_lc" in
11339 # Assume -lc should be added
11340 archive_cmds_need_lc
=yes
11342 if test "$enable_shared" = yes && test "$GCC" = yes; then
11343 case $archive_cmds in
11345 # FIXME: we may have to deal with multi-command sequences.
11348 # Test whether the compiler implicitly links with -lc since on some
11349 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11350 # to ld, don't add -lc before -lgcc.
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11352 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11353 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11354 $as_echo_n "(cached) " >&6
11357 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11360 (eval $ac_compile) 2>&5
11362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11363 test $ac_status = 0; } 2>conftest.err
; then
11366 libobjs
=conftest.
$ac_objext
11368 wl
=$lt_prog_compiler_wl
11369 pic_flag
=$lt_prog_compiler_pic
11375 lt_save_allow_undefined_flag
=$allow_undefined_flag
11376 allow_undefined_flag
=
11377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11378 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381 test $ac_status = 0; }
11383 lt_cv_archive_cmds_need_lc
=no
11385 lt_cv_archive_cmds_need_lc
=yes
11387 allow_undefined_flag
=$lt_save_allow_undefined_flag
11389 cat conftest.err
1>&5
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11395 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11396 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11560 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11562 if test "$GCC" = yes; then
11564 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11565 *) lt_awk_arg
="/^libraries:/" ;;
11568 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11569 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11571 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11572 case $lt_search_path_spec in
11574 # if the path contains ";" then we assume it to be the separator
11575 # otherwise default to the standard path separator (i.e. ":") - it is
11576 # assumed that no part of a normal pathname contains ";" but that should
11577 # okay in the real world where ";" in dirpaths is itself problematic.
11578 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11581 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11584 # Ok, now we have the path, separated by spaces, we can step through it
11585 # and add multilib dir if necessary.
11586 lt_tmp_lt_search_path_spec
=
11587 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11588 for lt_sys_path
in $lt_search_path_spec; do
11589 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11590 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11592 test -d "$lt_sys_path" && \
11593 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11596 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11597 BEGIN {RS=" "; FS="/|\n";} {
11600 for (lt_i = NF; lt_i > 0; lt_i--) {
11601 if ($lt_i != "" && $lt_i != ".") {
11602 if ($lt_i == "..") {
11605 if (lt_count == 0) {
11606 lt_foo="/" $lt_i lt_foo;
11613 if (lt_foo != "") { lt_freq[lt_foo]++; }
11614 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11616 # AWK program above erroneously prepends '/' to C:/dos/paths
11619 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11620 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11622 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11624 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11626 library_names_spec
=
11627 libname_spec
='lib$name'
11631 postuninstall_cmds
=
11635 shlibpath_overrides_runpath
=unknown
11637 dynamic_linker
="$host_os ld.so"
11638 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11639 need_lib_prefix
=unknown
11640 hardcode_into_libs
=no
11642 # when you set need_version to no, make sure it does not cause -set_version
11643 # flags to be left without arguments
11644 need_version
=unknown
11649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11650 shlibpath_var
=LIBPATH
11652 # AIX 3 has no versioning support, so we append a major version to the name.
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11660 hardcode_into_libs
=yes
11661 if test "$host_cpu" = ia64
; then
11662 # AIX 5 supports IA64
11663 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11664 shlibpath_var
=LD_LIBRARY_PATH
11666 # With GCC up to 2.95.x, collect2 would create an import file
11667 # for dependence libraries. The import file would start with
11668 # the line `#! .'. This would cause the generated library to
11669 # depend on `.', always an invalid library. This was fixed in
11670 # development snapshots of GCC prior to 3.0.
11672 aix4 | aix4.
[01] | aix4.
[01].
*)
11673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11675 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11678 can_build_shared
=no
11682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11683 # soname into executable. Probably we can add versioning support to
11684 # collect2, so additional links can be useful in future.
11685 if test "$aix_use_runtimelinking" = yes; then
11686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11687 # instead of lib<name>.a to let people know that these are not
11688 # typical AIX shared libraries.
11689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691 # We preserve .a as extension for shared libraries through AIX4.2
11692 # and later when we are not doing run time linking.
11693 library_names_spec
='${libname}${release}.a $libname.a'
11694 soname_spec
='${libname}${release}${shared_ext}$major'
11696 shlibpath_var
=LIBPATH
11703 # Since July 2007 AmigaOS4 officially supports .so libraries.
11704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11708 library_names_spec
='$libname.ixlibrary $libname.a'
11709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11710 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'
11716 library_names_spec
='${libname}${shared_ext}'
11717 dynamic_linker
="$host_os ld.so"
11718 shlibpath_var
=LIBRARY_PATH
11724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11725 soname_spec
='${libname}${release}${shared_ext}$major'
11726 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11727 shlibpath_var
=LD_LIBRARY_PATH
11728 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11729 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11730 # the default ld.so.conf also contains /usr/contrib/lib and
11731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11732 # libtool to hard-code these into programs
11735 cygwin
* | mingw
* | pw32
* | cegcc
*)
11736 version_type
=windows
11741 case $GCC,$host_os in
11742 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11743 library_names_spec
='$libname.dll.a'
11744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11745 postinstall_cmds
='base_file=`basename \${file}`~
11746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11747 dldir=$destdir/`dirname \$dlpath`~
11748 test -d \$dldir || mkdir -p \$dldir~
11749 $install_prog $dir/$dlname \$dldir/$dlname~
11750 chmod a+x \$dldir/$dlname~
11751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11754 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11755 dlpath=$dir/\$dldll~
11757 shlibpath_overrides_runpath
=yes
11761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11762 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11764 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11767 # MinGW DLLs use traditional 'lib' prefix
11768 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11771 # pw32 DLLs use 'pw' prefix rather than 'lib'
11772 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11778 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11781 dynamic_linker
='Win32 ld.exe'
11782 # FIXME: first we should search . and the directory the executable is in
11786 darwin
* | rhapsody
*)
11787 dynamic_linker
="$host_os dyld"
11788 version_type
=darwin
11791 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11792 soname_spec
='${libname}${release}${major}$shared_ext'
11793 shlibpath_overrides_runpath
=yes
11794 shlibpath_var
=DYLD_LIBRARY_PATH
11795 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11797 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11798 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11806 soname_spec
='${libname}${release}${shared_ext}$major'
11807 shlibpath_var
=LD_LIBRARY_PATH
11810 freebsd
* | dragonfly
*)
11811 # DragonFly does not have aout. When/if they implement a new
11812 # versioning mechanism, adjust this.
11813 if test -x /usr
/bin
/objformat
; then
11814 objformat
=`/usr/bin/objformat`
11817 freebsd
[23].
*) objformat
=aout
;;
11818 *) objformat
=elf
;;
11821 version_type
=freebsd-
$objformat
11822 case $version_type in
11824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11829 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11833 shlibpath_var
=LD_LIBRARY_PATH
11836 shlibpath_overrides_runpath
=yes
11838 freebsd3.
[01]* | freebsdelf3.
[01]*)
11839 shlibpath_overrides_runpath
=yes
11840 hardcode_into_libs
=yes
11842 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11843 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11844 shlibpath_overrides_runpath
=no
11845 hardcode_into_libs
=yes
11847 *) # from 4.6 on, and DragonFly
11848 shlibpath_overrides_runpath
=yes
11849 hardcode_into_libs
=yes
11858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11859 soname_spec
='${libname}${release}${shared_ext}$major'
11860 shlibpath_var
=LD_LIBRARY_PATH
11861 hardcode_into_libs
=yes
11868 dynamic_linker
="$host_os runtime_loader"
11869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11870 soname_spec
='${libname}${release}${shared_ext}$major'
11871 shlibpath_var
=LIBRARY_PATH
11872 shlibpath_overrides_runpath
=yes
11873 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11874 hardcode_into_libs
=yes
11877 hpux9
* | hpux10
* | hpux11
*)
11878 # Give a soname corresponding to the major version so that dld.sl refuses to
11879 # link against other versions.
11886 hardcode_into_libs
=yes
11887 dynamic_linker
="$host_os dld.so"
11888 shlibpath_var
=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11891 soname_spec
='${libname}${release}${shared_ext}$major'
11892 if test "X$HPUX_IA64_MODE" = X32
; then
11893 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11895 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11897 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11901 hardcode_into_libs
=yes
11902 dynamic_linker
="$host_os dld.sl"
11903 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11904 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11906 soname_spec
='${libname}${release}${shared_ext}$major'
11907 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11908 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11912 dynamic_linker
="$host_os dld.sl"
11913 shlibpath_var
=SHLIB_PATH
11914 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11916 soname_spec
='${libname}${release}${shared_ext}$major'
11919 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11920 postinstall_cmds
='chmod 555 $lib'
11921 # or fails outright, so override atomically:
11922 install_override_mode
=555
11929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11930 soname_spec
='${libname}${release}${shared_ext}$major'
11931 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11932 shlibpath_var
=LD_LIBRARY_PATH
11933 shlibpath_overrides_runpath
=no
11934 hardcode_into_libs
=yes
11937 irix5
* | irix6
* | nonstopux
*)
11939 nonstopux
*) version_type
=nonstopux
;;
11941 if test "$lt_cv_prog_gnu_ld" = yes; then
11949 soname_spec
='${libname}${release}${shared_ext}$major'
11950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11952 irix5
* | nonstopux
*)
11953 libsuff
= shlibsuff
=
11956 case $LD in # libtool.m4 will add one of these switches to LD
11957 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11958 libsuff
= shlibsuff
= libmagic
=32-bit;;
11959 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11960 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11961 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11962 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11963 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11967 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11968 shlibpath_overrides_runpath
=no
11969 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11970 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11971 hardcode_into_libs
=yes
11974 # No shared lib support for Linux oldld, aout, or coff.
11975 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11979 # This must be Linux ELF.
11980 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11985 soname_spec
='${libname}${release}${shared_ext}$major'
11986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11987 shlibpath_var
=LD_LIBRARY_PATH
11988 shlibpath_overrides_runpath
=no
11990 # Some binutils ld are patched to set DT_RUNPATH
11991 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11992 $as_echo_n "(cached) " >&6
11994 lt_cv_shlibpath_overrides_runpath
=no
11995 save_LDFLAGS
=$LDFLAGS
11996 save_libdir
=$libdir
11997 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11998 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11999 if test x
$gcc_no_link = xyes
; then
12000 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12013 if ac_fn_c_try_link
"$LINENO"; then :
12014 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12015 lt_cv_shlibpath_overrides_runpath
=yes
12018 rm -f core conftest.err conftest.
$ac_objext \
12019 conftest
$ac_exeext conftest.
$ac_ext
12020 LDFLAGS
=$save_LDFLAGS
12021 libdir
=$save_libdir
12025 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12027 # This implies no fast_install, which is unacceptable.
12028 # Some rework will be needed to allow for fast_install
12029 # before this can be enabled.
12030 hardcode_into_libs
=yes
12032 # Append ld.so.conf contents to the search path
12033 if test -f /etc
/ld.so.conf
; then
12034 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' ' '`
12035 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12038 # We used to test for /lib/ld.so.1 and disable shared libraries on
12039 # powerpc, because MkLinux only supported shared libraries with the
12040 # GNU dynamic linker. Since this was broken with cross compilers,
12041 # most powerpc-linux boxes support dynamic linking these days and
12042 # people can always --disable-shared, the test was removed, and we
12043 # assume the GNU/Linux dynamic linker is in use.
12044 dynamic_linker
='GNU/Linux ld.so'
12051 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12053 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12054 dynamic_linker
='NetBSD (a.out) ld.so'
12056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12057 soname_spec
='${libname}${release}${shared_ext}$major'
12058 dynamic_linker
='NetBSD ld.elf_so'
12060 shlibpath_var
=LD_LIBRARY_PATH
12061 shlibpath_overrides_runpath
=yes
12062 hardcode_into_libs
=yes
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 shlibpath_var
=LD_LIBRARY_PATH
12069 shlibpath_overrides_runpath
=yes
12076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12077 soname_spec
='${libname}${release}${shared_ext}$major'
12078 shlibpath_var
=LD_LIBRARY_PATH
12079 shlibpath_overrides_runpath
=no
12080 hardcode_into_libs
=yes
12081 dynamic_linker
='ldqnx.so'
12086 sys_lib_dlsearch_path_spec
="/usr/lib"
12088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12090 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12091 *) need_version
=no
;;
12093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12095 shlibpath_var
=LD_LIBRARY_PATH
12096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12098 openbsd2.
[89] | openbsd2.
[89].
*)
12099 shlibpath_overrides_runpath
=no
12102 shlibpath_overrides_runpath
=yes
12106 shlibpath_overrides_runpath
=yes
12111 libname_spec
='$name'
12114 library_names_spec
='$libname${shared_ext} $libname.a'
12115 dynamic_linker
='OS/2 ld.exe'
12116 shlibpath_var
=LIBPATH
12119 osf3
* | osf4
* | osf5
*)
12123 soname_spec
='${libname}${release}${shared_ext}$major'
12124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12125 shlibpath_var
=LD_LIBRARY_PATH
12126 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12127 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12139 soname_spec
='${libname}${release}${shared_ext}$major'
12140 shlibpath_var
=LD_LIBRARY_PATH
12141 shlibpath_overrides_runpath
=yes
12142 hardcode_into_libs
=yes
12143 # ldd complains unless libraries are executable
12144 postinstall_cmds
='chmod +x $lib'
12149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12150 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12151 shlibpath_var
=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath
=yes
12153 if test "$with_gnu_ld" = yes; then
12161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12162 soname_spec
='${libname}${release}${shared_ext}$major'
12163 shlibpath_var
=LD_LIBRARY_PATH
12164 case $host_vendor in
12166 shlibpath_overrides_runpath
=no
12168 runpath_var
=LD_RUN_PATH
12176 shlibpath_overrides_runpath
=no
12177 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12183 if test -d /usr
/nec
;then
12185 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12186 soname_spec
='$libname${shared_ext}.$major'
12187 shlibpath_var
=LD_LIBRARY_PATH
12191 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12192 version_type
=freebsd-elf
12195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12196 soname_spec
='${libname}${release}${shared_ext}$major'
12197 shlibpath_var
=LD_LIBRARY_PATH
12198 shlibpath_overrides_runpath
=yes
12199 hardcode_into_libs
=yes
12200 if test "$with_gnu_ld" = yes; then
12201 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12203 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12206 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12210 sys_lib_dlsearch_path_spec
='/usr/lib'
12214 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12219 shlibpath_var
=LD_LIBRARY_PATH
12220 shlibpath_overrides_runpath
=no
12221 hardcode_into_libs
=yes
12226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12227 soname_spec
='${libname}${release}${shared_ext}$major'
12228 shlibpath_var
=LD_LIBRARY_PATH
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12236 $as_echo "$dynamic_linker" >&6; }
12237 test "$dynamic_linker" = no
&& can_build_shared
=no
12239 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12240 if test "$GCC" = yes; then
12241 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12244 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12245 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12247 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12248 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12343 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12345 if test -n "$hardcode_libdir_flag_spec" ||
12346 test -n "$runpath_var" ||
12347 test "X$hardcode_automatic" = "Xyes" ; then
12349 # We can hardcode non-existent directories.
12350 if test "$hardcode_direct" != no
&&
12351 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12352 # have to relink, otherwise we might link with an installed library
12353 # when we should be linking with a yet-to-be-installed one
12354 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12355 test "$hardcode_minus_L" != no
; then
12356 # Linking always hardcodes the temporary library directory.
12357 hardcode_action
=relink
12359 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12360 hardcode_action
=immediate
12363 # We cannot hardcode anything, or else we can only hardcode existing
12365 hardcode_action
=unsupported
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12368 $as_echo "$hardcode_action" >&6; }
12370 if test "$hardcode_action" = relink ||
12371 test "$inherit_rpath" = yes; then
12372 # Fast installation is not supported
12373 enable_fast_install
=no
12374 elif test "$shlibpath_overrides_runpath" = yes ||
12375 test "$enable_shared" = no
; then
12376 # Fast installation is not necessary
12377 enable_fast_install
=needless
12385 if test "x$enable_dlopen" != xyes
; then
12386 enable_dlopen
=unknown
12387 enable_dlopen_self
=unknown
12388 enable_dlopen_self_static
=unknown
12395 lt_cv_dlopen
="load_add_on"
12397 lt_cv_dlopen_self
=yes
12400 mingw
* | pw32
* | cegcc
*)
12401 lt_cv_dlopen
="LoadLibrary"
12406 lt_cv_dlopen
="dlopen"
12411 # if libdl is installed we need to link against it
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12413 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12414 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 ac_check_lib_save_LIBS
=$LIBS
12419 if test x
$gcc_no_link = xyes
; then
12420 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_lib_dl_dlopen
=yes
12443 ac_cv_lib_dl_dlopen
=no
12445 rm -f core conftest.err conftest.
$ac_objext \
12446 conftest
$ac_exeext conftest.
$ac_ext
12447 LIBS
=$ac_check_lib_save_LIBS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12450 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12451 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12452 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12455 lt_cv_dlopen
="dyld"
12457 lt_cv_dlopen_self
=yes
12464 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12465 if test "x$ac_cv_func_shl_load" = xyes
; then :
12466 lt_cv_dlopen
="shl_load"
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12469 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12470 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12471 $as_echo_n "(cached) " >&6
12473 ac_check_lib_save_LIBS
=$LIBS
12475 if test x
$gcc_no_link = xyes
; then
12476 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12491 return shl_load ();
12496 if ac_fn_c_try_link
"$LINENO"; then :
12497 ac_cv_lib_dld_shl_load
=yes
12499 ac_cv_lib_dld_shl_load
=no
12501 rm -f core conftest.err conftest.
$ac_objext \
12502 conftest
$ac_exeext conftest.
$ac_ext
12503 LIBS
=$ac_check_lib_save_LIBS
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12506 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12507 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12508 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12510 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12511 if test "x$ac_cv_func_dlopen" = xyes
; then :
12512 lt_cv_dlopen
="dlopen"
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12515 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12516 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12517 $as_echo_n "(cached) " >&6
12519 ac_check_lib_save_LIBS
=$LIBS
12521 if test x
$gcc_no_link = xyes
; then
12522 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12542 if ac_fn_c_try_link
"$LINENO"; then :
12543 ac_cv_lib_dl_dlopen
=yes
12545 ac_cv_lib_dl_dlopen
=no
12547 rm -f core conftest.err conftest.
$ac_objext \
12548 conftest
$ac_exeext conftest.
$ac_ext
12549 LIBS
=$ac_check_lib_save_LIBS
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12552 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12553 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12554 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12557 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12558 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12559 $as_echo_n "(cached) " >&6
12561 ac_check_lib_save_LIBS
=$LIBS
12562 LIBS
="-lsvld $LIBS"
12563 if test x
$gcc_no_link = xyes
; then
12564 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12584 if ac_fn_c_try_link
"$LINENO"; then :
12585 ac_cv_lib_svld_dlopen
=yes
12587 ac_cv_lib_svld_dlopen
=no
12589 rm -f core conftest.err conftest.
$ac_objext \
12590 conftest
$ac_exeext conftest.
$ac_ext
12591 LIBS
=$ac_check_lib_save_LIBS
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12594 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12595 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12596 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12599 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12600 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12601 $as_echo_n "(cached) " >&6
12603 ac_check_lib_save_LIBS
=$LIBS
12605 if test x
$gcc_no_link = xyes
; then
12606 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12621 return dld_link ();
12626 if ac_fn_c_try_link
"$LINENO"; then :
12627 ac_cv_lib_dld_dld_link
=yes
12629 ac_cv_lib_dld_dld_link
=no
12631 rm -f core conftest.err conftest.
$ac_objext \
12632 conftest
$ac_exeext conftest.
$ac_ext
12633 LIBS
=$ac_check_lib_save_LIBS
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12636 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12637 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12638 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12659 if test "x$lt_cv_dlopen" != xno
; then
12665 case $lt_cv_dlopen in
12667 save_CPPFLAGS
="$CPPFLAGS"
12668 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12670 save_LDFLAGS
="$LDFLAGS"
12671 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12674 LIBS
="$lt_cv_dlopen_libs $LIBS"
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12677 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12678 if ${lt_cv_dlopen_self+:} false
; then :
12679 $as_echo_n "(cached) " >&6
12681 if test "$cross_compiling" = yes; then :
12682 lt_cv_dlopen_self
=cross
12684 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12685 lt_status
=$lt_dlunknown
12686 cat > conftest.
$ac_ext <<_LT_EOF
12687 #line 12687 "configure"
12688 #include "confdefs.h"
12697 # define LT_DLGLOBAL RTLD_GLOBAL
12700 # define LT_DLGLOBAL DL_GLOBAL
12702 # define LT_DLGLOBAL 0
12706 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12707 find out it does not work in some platform. */
12708 #ifndef LT_DLLAZY_OR_NOW
12710 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12713 # define LT_DLLAZY_OR_NOW DL_LAZY
12716 # define LT_DLLAZY_OR_NOW RTLD_NOW
12719 # define LT_DLLAZY_OR_NOW DL_NOW
12721 # define LT_DLLAZY_OR_NOW 0
12728 /* When -fvisbility=hidden is used, assume the code has been annotated
12729 correspondingly for the symbols needed. */
12730 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12731 void fnord () __attribute__((visibility("default")));
12734 void fnord () { int i=42; }
12737 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12738 int status = $lt_dlunknown;
12742 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12745 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12746 else puts (dlerror ());
12748 /* dlclose (self); */
12756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12757 (eval $ac_link) 2>&5
12759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12760 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12761 (.
/conftest
; exit; ) >&5 2>/dev
/null
12763 case x
$lt_status in
12764 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12765 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12766 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12769 # compilation failed
12770 lt_cv_dlopen_self
=no
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12778 $as_echo "$lt_cv_dlopen_self" >&6; }
12780 if test "x$lt_cv_dlopen_self" = xyes
; then
12781 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12783 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12784 if ${lt_cv_dlopen_self_static+:} false
; then :
12785 $as_echo_n "(cached) " >&6
12787 if test "$cross_compiling" = yes; then :
12788 lt_cv_dlopen_self_static
=cross
12790 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12791 lt_status
=$lt_dlunknown
12792 cat > conftest.
$ac_ext <<_LT_EOF
12793 #line 12793 "configure"
12794 #include "confdefs.h"
12803 # define LT_DLGLOBAL RTLD_GLOBAL
12806 # define LT_DLGLOBAL DL_GLOBAL
12808 # define LT_DLGLOBAL 0
12812 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12813 find out it does not work in some platform. */
12814 #ifndef LT_DLLAZY_OR_NOW
12816 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12819 # define LT_DLLAZY_OR_NOW DL_LAZY
12822 # define LT_DLLAZY_OR_NOW RTLD_NOW
12825 # define LT_DLLAZY_OR_NOW DL_NOW
12827 # define LT_DLLAZY_OR_NOW 0
12834 /* When -fvisbility=hidden is used, assume the code has been annotated
12835 correspondingly for the symbols needed. */
12836 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12837 void fnord () __attribute__((visibility("default")));
12840 void fnord () { int i=42; }
12843 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12844 int status = $lt_dlunknown;
12848 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12851 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12852 else puts (dlerror ());
12854 /* dlclose (self); */
12862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12863 (eval $ac_link) 2>&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12867 (.
/conftest
; exit; ) >&5 2>/dev
/null
12869 case x
$lt_status in
12870 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12871 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12872 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12875 # compilation failed
12876 lt_cv_dlopen_self_static
=no
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12884 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12887 CPPFLAGS
="$save_CPPFLAGS"
12888 LDFLAGS
="$save_LDFLAGS"
12893 case $lt_cv_dlopen_self in
12894 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12895 *) enable_dlopen_self
=unknown
;;
12898 case $lt_cv_dlopen_self_static in
12899 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12900 *) enable_dlopen_self_static
=unknown
;;
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12923 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12924 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12925 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12926 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12928 $as_echo "yes" >&6; }
12930 # FIXME - insert some real tests, host_os isn't really good enough
12933 if test -n "$STRIP" ; then
12934 striplib
="$STRIP -x"
12935 old_striplib
="$STRIP -S"
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12937 $as_echo "yes" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12940 $as_echo "no" >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 $as_echo "no" >&6; }
12961 # Report which library types will actually be built
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12963 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12965 $as_echo "$can_build_shared" >&6; }
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12968 $as_echo_n "checking whether to build shared libraries... " >&6; }
12969 test "$can_build_shared" = "no" && enable_shared
=no
12971 # On AIX, shared libraries and static libraries use the same namespace, and
12972 # are all built from PIC.
12975 test "$enable_shared" = yes && enable_static
=no
12976 if test -n "$RANLIB"; then
12977 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12978 postinstall_cmds
='$RANLIB $lib'
12983 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12984 test "$enable_shared" = yes && enable_static
=no
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12989 $as_echo "$enable_shared" >&6; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12992 $as_echo_n "checking whether to build static libraries... " >&6; }
12993 # Make sure either enable_shared or enable_static is yes.
12994 test "$enable_shared" = yes || enable_static
=yes
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12996 $as_echo "$enable_static" >&6; }
13003 ac_cpp
='$CPP $CPPFLAGS'
13004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13022 ac_config_commands
="$ac_config_commands libtool"
13027 # Only expand once:
13034 *-cygwin* |
*-mingw*)
13035 # 'host' will be top-level target in the case of a target lib,
13036 # we must compare to with_cross_host to decide if this is a native
13037 # or cross-compiler and select where to install dlls appropriately.
13038 if test -n "$with_cross_host" &&
13039 test x
"$with_cross_host" != x
"no"; then
13040 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13042 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13054 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13056 # We need gfortran to compile parts of the library
13057 #AC_PROG_FC(gfortran)
13059 ac_ext
=${ac_fc_srcext-f}
13060 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13061 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13062 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13063 if test -n "$ac_tool_prefix"; then
13064 for ac_prog
in gfortran
13066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13067 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13069 $as_echo_n "checking for $ac_word... " >&6; }
13070 if ${ac_cv_prog_FC+:} false
; then :
13071 $as_echo_n "(cached) " >&6
13073 if test -n "$FC"; then
13074 ac_cv_prog_FC
="$FC" # Let the user override the test.
13076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13077 for as_dir
in $PATH
13080 test -z "$as_dir" && as_dir
=.
13081 for ac_exec_ext
in '' $ac_executable_extensions; do
13082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13083 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13094 if test -n "$FC"; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13096 $as_echo "$FC" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13099 $as_echo "no" >&6; }
13103 test -n "$FC" && break
13106 if test -z "$FC"; then
13108 for ac_prog
in gfortran
13110 # Extract the first word of "$ac_prog", so it can be a program name with args.
13111 set dummy
$ac_prog; ac_word
=$2
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113 $as_echo_n "checking for $ac_word... " >&6; }
13114 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13115 $as_echo_n "(cached) " >&6
13117 if test -n "$ac_ct_FC"; then
13118 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13121 for as_dir
in $PATH
13124 test -z "$as_dir" && as_dir
=.
13125 for ac_exec_ext
in '' $ac_executable_extensions; do
13126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13127 ac_cv_prog_ac_ct_FC
="$ac_prog"
13128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13137 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13138 if test -n "$ac_ct_FC"; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13140 $as_echo "$ac_ct_FC" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 $as_echo "no" >&6; }
13147 test -n "$ac_ct_FC" && break
13150 if test "x$ac_ct_FC" = x
; then
13153 case $cross_compiling:$ac_tool_warned in
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13157 ac_tool_warned
=yes ;;
13164 # Provide some information about the compiler.
13165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13168 for ac_option
in --version -v -V -qversion; do
13169 { { ac_try
="$ac_compiler $ac_option >&5"
13170 case "(($ac_try" in
13171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13172 *) ac_try_echo=$ac_try;;
13174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13175 $as_echo "$ac_try_echo"; } >&5
13176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13178 if test -s conftest.err; then
13180 ... rest of stderr output deleted ...
13181 10q' conftest.err >conftest.er1
13182 cat conftest.er1 >&5
13184 rm -f conftest.er1 conftest.err
13185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13186 test $ac_status = 0; }
13190 # If we don't use `.F
' as extension, the preprocessor is not run on the
13191 # input file. (Note that this only needs to work for GNU compilers.)
13192 ac_save_ext=$ac_ext
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13195 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13196 if ${ac_cv_fc_compiler_gnu+:} false; then :
13197 $as_echo_n "(cached) " >&6
13199 cat > conftest.$ac_ext <<_ACEOF
13207 if ac_fn_fc_try_compile "$LINENO"; then :
13208 ac_compiler_gnu=yes
13212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13213 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13217 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13218 ac_ext=$ac_save_ext
13219 ac_test_FCFLAGS=${FCFLAGS+set}
13220 ac_save_FCFLAGS=$FCFLAGS
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13223 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13224 if ${ac_cv_prog_fc_g+:} false; then :
13225 $as_echo_n "(cached) " >&6
13228 cat > conftest.$ac_ext <<_ACEOF
13233 if ac_fn_fc_try_compile "$LINENO"; then :
13234 ac_cv_prog_fc_g=yes
13238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13242 $as_echo "$ac_cv_prog_fc_g" >&6; }
13243 if test "$ac_test_FCFLAGS" = set; then
13244 FCFLAGS=$ac_save_FCFLAGS
13245 elif test $ac_cv_prog_fc_g = yes; then
13246 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13252 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13259 if test $ac_compiler_gnu = yes; then
13265 ac_cpp='$CPP $CPPFLAGS'
13266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13267 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13270 ac_ext=${ac_fc_srcext-f}
13271 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13272 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13273 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13276 if test -z "$FC" || test "X$FC" = "Xno"; then
13280 archive_cmds_need_lc_FC=no
13281 allow_undefined_flag_FC=
13282 always_export_symbols_FC=no
13283 archive_expsym_cmds_FC=
13284 export_dynamic_flag_spec_FC=
13285 hardcode_direct_FC=no
13286 hardcode_direct_absolute_FC=no
13287 hardcode_libdir_flag_spec_FC=
13288 hardcode_libdir_flag_spec_ld_FC=
13289 hardcode_libdir_separator_FC=
13290 hardcode_minus_L_FC=no
13291 hardcode_automatic_FC=no
13292 inherit_rpath_FC=no
13294 module_expsym_cmds_FC=
13295 link_all_deplibs_FC=unknown
13296 old_archive_cmds_FC=$old_archive_cmds
13297 reload_flag_FC=$reload_flag
13298 reload_cmds_FC=$reload_cmds
13299 no_undefined_flag_FC=
13300 whole_archive_flag_spec_FC=
13301 enable_shared_with_static_runtimes_FC=no
13303 # Source file extension for fc test sources.
13304 ac_ext=${ac_fc_srcext-f}
13306 # Object file extension for compiled fc test sources.
13310 # No sense in running all these tests if we already determined that
13311 # the FC compiler isn't working. Some variables
(like enable_shared
)
13312 # are currently assumed to apply to all compilers on this platform,
13313 # and will be corrupted by setting them based on a non-working compiler.
13314 if test "$_lt_disable_FC" != yes; then
13315 # Code to be used in simple compile tests
13316 lt_simple_compile_test_code
="\
13322 # Code to be used in simple link tests
13323 lt_simple_link_test_code
="\
13328 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13335 # If no C compiler was specified, use CC.
13338 # If no C compiler flags were specified, use CFLAGS.
13339 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13341 # Allow CC to be a program name with arguments.
13345 # save warnings/boilerplate of simple test code
13346 ac_outfile
=conftest.
$ac_objext
13347 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13348 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13349 _lt_compiler_boilerplate
=`cat conftest.err`
13352 ac_outfile
=conftest.
$ac_objext
13353 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13354 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13355 _lt_linker_boilerplate
=`cat conftest.err`
13359 # Allow CC to be a program name with arguments.
13364 GCC
=$ac_cv_fc_compiler_gnu
13367 for cc_temp
in $compiler""; do
13369 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13370 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13375 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13378 if test -n "$compiler"; then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13380 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13382 $as_echo "$can_build_shared" >&6; }
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13385 $as_echo_n "checking whether to build shared libraries... " >&6; }
13386 test "$can_build_shared" = "no" && enable_shared
=no
13388 # On AIX, shared libraries and static libraries use the same namespace, and
13389 # are all built from PIC.
13392 test "$enable_shared" = yes && enable_static
=no
13393 if test -n "$RANLIB"; then
13394 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13395 postinstall_cmds
='$RANLIB $lib'
13399 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13400 test "$enable_shared" = yes && enable_static
=no
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13405 $as_echo "$enable_shared" >&6; }
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13408 $as_echo_n "checking whether to build static libraries... " >&6; }
13409 # Make sure either enable_shared or enable_static is yes.
13410 test "$enable_shared" = yes || enable_static
=yes
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13412 $as_echo "$enable_static" >&6; }
13414 GCC_FC
="$ac_cv_fc_compiler_gnu"
13418 ## There is no encapsulation within the following macros, do not change
13419 ## the running order or otherwise move them around unless you know exactly
13420 ## what you are doing...
13421 # Dependencies to place before and after the object being linked:
13423 postdep_objects_FC
=
13426 compiler_lib_search_path_FC
=
13428 cat > conftest.
$ac_ext <<_LT_EOF
13437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13438 (eval $ac_compile) 2>&5
13440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13441 test $ac_status = 0; }; then
13442 # Parse the compiler output and extract the necessary
13443 # objects, libraries and library flags.
13445 # Sentinel used to keep track of whether or not we are before
13446 # the conftest object file.
13447 pre_test_object_deps_done
=no
13449 for p
in `eval "$output_verbose_link_cmd"`; do
13453 # Some compilers place space between "-{L,R}" and the path.
13454 # Remove the space.
13455 if test $p = "-L" ||
13456 test $p = "-R"; then
13463 if test "$pre_test_object_deps_done" = no
; then
13466 # Internal compiler library paths should come after those
13467 # provided the user. The postdeps already come after the
13468 # user supplied libs so there is no need to process them.
13469 if test -z "$compiler_lib_search_path_FC"; then
13470 compiler_lib_search_path_FC
="${prev}${p}"
13472 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13475 # The "-l" case would never come before the object being
13476 # linked, so don't bother handling this case.
13479 if test -z "$postdeps_FC"; then
13480 postdeps_FC
="${prev}${p}"
13482 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13488 # This assumes that the test object file only shows up
13489 # once in the compiler output.
13490 if test "$p" = "conftest.$objext"; then
13491 pre_test_object_deps_done
=yes
13495 if test "$pre_test_object_deps_done" = no
; then
13496 if test -z "$predep_objects_FC"; then
13497 predep_objects_FC
="$p"
13499 predep_objects_FC
="$predep_objects_FC $p"
13502 if test -z "$postdep_objects_FC"; then
13503 postdep_objects_FC
="$p"
13505 postdep_objects_FC
="$postdep_objects_FC $p"
13510 *) ;; # Ignore the rest.
13518 echo "libtool.m4: error: problem compiling FC test program"
13521 $RM -f confest.
$objext
13523 # PORTME: override above test on systems where it is broken
13526 case " $postdeps_FC " in
13527 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13529 compiler_lib_search_dirs_FC
=
13530 if test -n "${compiler_lib_search_path_FC}"; then
13531 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13564 lt_prog_compiler_wl_FC
=
13565 lt_prog_compiler_pic_FC
=
13566 lt_prog_compiler_static_FC
=
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13569 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13571 if test "$GCC" = yes; then
13572 lt_prog_compiler_wl_FC
='-Wl,'
13573 lt_prog_compiler_static_FC
='-static'
13577 # All AIX code is PIC.
13578 if test "$host_cpu" = ia64
; then
13579 # AIX 5 now supports IA64 processor
13580 lt_prog_compiler_static_FC
='-Bstatic'
13582 lt_prog_compiler_pic_FC
='-fPIC'
13588 # see comment about AmigaOS4 .so support
13589 lt_prog_compiler_pic_FC
='-fPIC'
13592 # FIXME: we need at least 68020 code to build shared libraries, but
13593 # adding the `-m68020' flag to GCC prevents building anything better,
13595 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13600 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13601 # PIC is the default for these OSes.
13604 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13605 # This hack is so that the source file can tell whether it is being
13606 # built for inclusion in a dll (and should export symbols for example).
13607 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13608 # (--disable-auto-import) libraries
13609 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13612 darwin
* | rhapsody
*)
13613 # PIC is the default on this platform
13614 # Common symbols not allowed in MH_DYLIB files
13615 lt_prog_compiler_pic_FC
='-fno-common'
13619 # PIC is the default for Haiku.
13620 # The "-static" flag exists, but is broken.
13621 lt_prog_compiler_static_FC
=
13625 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13626 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13627 # sets the default TLS model and affects inlining.
13633 lt_prog_compiler_pic_FC
='-fPIC'
13639 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13640 # Instead, we relocate shared libraries at runtime.
13644 # Just because we use GCC doesn't mean we suddenly get shared libraries
13645 # on systems that don't support them.
13646 lt_prog_compiler_can_build_shared_FC
=no
13651 # QNX uses GNU C++, but need to define -shared option too, otherwise
13652 # it will coredump.
13653 lt_prog_compiler_pic_FC
='-fPIC -shared'
13657 if test -d /usr
/nec
; then
13658 lt_prog_compiler_pic_FC
=-Kconform_pic
13663 lt_prog_compiler_pic_FC
='-fPIC'
13667 case $cc_basename in
13668 nvcc
*) # Cuda Compiler Driver 2.2
13669 lt_prog_compiler_wl_FC
='-Xlinker '
13670 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13674 # PORTME Check for flag to pass linker flags through the system compiler.
13677 lt_prog_compiler_wl_FC
='-Wl,'
13678 if test "$host_cpu" = ia64
; then
13679 # AIX 5 now supports IA64 processor
13680 lt_prog_compiler_static_FC
='-Bstatic'
13682 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13686 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13687 # This hack is so that the source file can tell whether it is being
13688 # built for inclusion in a dll (and should export symbols for example).
13689 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13692 hpux9
* | hpux10
* | hpux11
*)
13693 lt_prog_compiler_wl_FC
='-Wl,'
13694 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13695 # not for PA HP-UX.
13701 lt_prog_compiler_pic_FC
='+Z'
13704 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13705 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13708 irix5
* | irix6
* | nonstopux
*)
13709 lt_prog_compiler_wl_FC
='-Wl,'
13710 # PIC (with -KPIC) is the default.
13711 lt_prog_compiler_static_FC
='-non_shared'
13714 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13715 case $cc_basename in
13716 # old Intel for x86_64 which still supported -KPIC.
13718 lt_prog_compiler_wl_FC
='-Wl,'
13719 lt_prog_compiler_pic_FC
='-KPIC'
13720 lt_prog_compiler_static_FC
='-static'
13722 # icc used to be incompatible with GCC.
13723 # ICC 10 doesn't accept -KPIC any more.
13725 lt_prog_compiler_wl_FC
='-Wl,'
13726 lt_prog_compiler_pic_FC
='-fPIC'
13727 lt_prog_compiler_static_FC
='-static'
13729 # Lahey Fortran 8.1.
13731 lt_prog_compiler_wl_FC
='-Wl,'
13732 lt_prog_compiler_pic_FC
='--shared'
13733 lt_prog_compiler_static_FC
='--static'
13735 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13736 # Portland Group compilers (*not* the Pentium gcc compiler,
13737 # which looks to be a dead project)
13738 lt_prog_compiler_wl_FC
='-Wl,'
13739 lt_prog_compiler_pic_FC
='-fpic'
13740 lt_prog_compiler_static_FC
='-Bstatic'
13743 lt_prog_compiler_wl_FC
='-Wl,'
13744 # All Alpha code is PIC.
13745 lt_prog_compiler_static_FC
='-non_shared'
13747 xl
* | bgxl
* | bgf
* | mpixl
*)
13748 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13749 lt_prog_compiler_wl_FC
='-Wl,'
13750 lt_prog_compiler_pic_FC
='-qpic'
13751 lt_prog_compiler_static_FC
='-qstaticlink'
13754 case `$CC -V 2>&1 | sed 5q` in
13755 *Sun\ F
* |
*Sun
*Fortran
*)
13756 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13757 lt_prog_compiler_pic_FC
='-KPIC'
13758 lt_prog_compiler_static_FC
='-Bstatic'
13759 lt_prog_compiler_wl_FC
=''
13763 lt_prog_compiler_pic_FC
='-KPIC'
13764 lt_prog_compiler_static_FC
='-Bstatic'
13765 lt_prog_compiler_wl_FC
='-Wl,'
13773 lt_prog_compiler_pic_FC
='-KPIC'
13774 lt_prog_compiler_static_FC
='-Bstatic'
13778 # QNX uses GNU C++, but need to define -shared option too, otherwise
13779 # it will coredump.
13780 lt_prog_compiler_pic_FC
='-fPIC -shared'
13783 osf3
* | osf4
* | osf5
*)
13784 lt_prog_compiler_wl_FC
='-Wl,'
13785 # All OSF/1 code is PIC.
13786 lt_prog_compiler_static_FC
='-non_shared'
13790 lt_prog_compiler_static_FC
='-non_shared'
13794 lt_prog_compiler_pic_FC
='-KPIC'
13795 lt_prog_compiler_static_FC
='-Bstatic'
13796 case $cc_basename in
13797 f77
* | f90
* | f95
*)
13798 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13800 lt_prog_compiler_wl_FC
='-Wl,';;
13805 lt_prog_compiler_wl_FC
='-Qoption ld '
13806 lt_prog_compiler_pic_FC
='-PIC'
13807 lt_prog_compiler_static_FC
='-Bstatic'
13810 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13811 lt_prog_compiler_wl_FC
='-Wl,'
13812 lt_prog_compiler_pic_FC
='-KPIC'
13813 lt_prog_compiler_static_FC
='-Bstatic'
13817 if test -d /usr
/nec
;then
13818 lt_prog_compiler_pic_FC
='-Kconform_pic'
13819 lt_prog_compiler_static_FC
='-Bstatic'
13823 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13824 lt_prog_compiler_wl_FC
='-Wl,'
13825 lt_prog_compiler_pic_FC
='-KPIC'
13826 lt_prog_compiler_static_FC
='-Bstatic'
13830 lt_prog_compiler_wl_FC
='-Wl,'
13831 lt_prog_compiler_can_build_shared_FC
=no
13835 lt_prog_compiler_pic_FC
='-pic'
13836 lt_prog_compiler_static_FC
='-Bstatic'
13840 lt_prog_compiler_can_build_shared_FC
=no
13846 # For platforms which do not support PIC, -DPIC is meaningless:
13848 lt_prog_compiler_pic_FC
=
13851 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13855 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13860 # Check to make sure the PIC flag actually works.
13862 if test -n "$lt_prog_compiler_pic_FC"; then
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13864 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13865 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 lt_cv_prog_compiler_pic_works_FC
=no
13869 ac_outfile
=conftest.
$ac_objext
13870 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13871 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13872 # Insert the option either (1) after the last *FLAGS variable, or
13873 # (2) before a word containing "conftest.", or (3) at the end.
13874 # Note that $ac_compile itself does not contain backslashes and begins
13875 # with a dollar sign (not a hyphen), so the echo should work correctly.
13876 # The option is referenced via a variable to avoid confusing sed.
13877 lt_compile
=`echo "$ac_compile" | $SED \
13878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13880 -e 's:$: $lt_compiler_flag:'`
13881 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13882 (eval "$lt_compile" 2>conftest.err
)
13884 cat conftest.err
>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 if (exit $ac_status) && test -s "$ac_outfile"; then
13887 # The compiler can only warn and ignore the option if not recognized
13888 # So say no if there are warnings other than the usual output.
13889 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13890 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13891 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13892 lt_cv_prog_compiler_pic_works_FC
=yes
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13899 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13901 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13902 case $lt_prog_compiler_pic_FC in
13904 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13907 lt_prog_compiler_pic_FC
=
13908 lt_prog_compiler_can_build_shared_FC
=no
13916 # Check to make sure the static flag actually works.
13918 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13921 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
13922 $as_echo_n "(cached) " >&6
13924 lt_cv_prog_compiler_static_works_FC
=no
13925 save_LDFLAGS
="$LDFLAGS"
13926 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13927 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13928 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13929 # The linker can only warn and ignore the option if not recognized
13930 # So say no if there are warnings
13931 if test -s conftest.err
; then
13932 # Append any errors to the config.log.
13933 cat conftest.err
1>&5
13934 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13936 if diff conftest.exp conftest.er2
>/dev
/null
; then
13937 lt_cv_prog_compiler_static_works_FC
=yes
13940 lt_cv_prog_compiler_static_works_FC
=yes
13944 LDFLAGS
="$save_LDFLAGS"
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13948 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13950 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13953 lt_prog_compiler_static_FC
=
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13961 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
13962 $as_echo_n "(cached) " >&6
13964 lt_cv_prog_compiler_c_o_FC
=no
13965 $RM -r conftest
2>/dev
/null
13969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13971 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13972 # Insert the option either (1) after the last *FLAGS variable, or
13973 # (2) before a word containing "conftest.", or (3) at the end.
13974 # Note that $ac_compile itself does not contain backslashes and begins
13975 # with a dollar sign (not a hyphen), so the echo should work correctly.
13976 lt_compile
=`echo "$ac_compile" | $SED \
13977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13979 -e 's:$: $lt_compiler_flag:'`
13980 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13981 (eval "$lt_compile" 2>out
/conftest.err
)
13983 cat out
/conftest.err
>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13987 # The compiler can only warn and ignore the option if not recognized
13988 # So say no if there are warnings
13989 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13990 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13991 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13992 lt_cv_prog_compiler_c_o_FC
=yes
13997 # SGI C++ compiler will create directory out/ii_files/ for
13998 # template instantiation
13999 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14000 $RM out
/* && rmdir out
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14007 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14013 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14014 $as_echo_n "(cached) " >&6
14016 lt_cv_prog_compiler_c_o_FC
=no
14017 $RM -r conftest
2>/dev
/null
14021 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14023 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14024 # Insert the option either (1) after the last *FLAGS variable, or
14025 # (2) before a word containing "conftest.", or (3) at the end.
14026 # Note that $ac_compile itself does not contain backslashes and begins
14027 # with a dollar sign (not a hyphen), so the echo should work correctly.
14028 lt_compile
=`echo "$ac_compile" | $SED \
14029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14031 -e 's:$: $lt_compiler_flag:'`
14032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14033 (eval "$lt_compile" 2>out
/conftest.err
)
14035 cat out
/conftest.err
>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14039 # The compiler can only warn and ignore the option if not recognized
14040 # So say no if there are warnings
14041 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14042 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14043 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14044 lt_cv_prog_compiler_c_o_FC
=yes
14049 # SGI C++ compiler will create directory out/ii_files/ for
14050 # template instantiation
14051 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14052 $RM out
/* && rmdir out
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14059 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14064 hard_links
="nottested"
14065 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14066 # do not overwrite the value of need_locks provided by the user
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14068 $as_echo_n "checking if we can lock with hard links... " >&6; }
14071 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14073 ln conftest.a conftest.b
2>&5 || hard_links
=no
14074 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14076 $as_echo "$hard_links" >&6; }
14077 if test "$hard_links" = no
; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14079 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14089 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14092 allow_undefined_flag_FC
=
14093 always_export_symbols_FC
=no
14095 archive_expsym_cmds_FC
=
14096 compiler_needs_object_FC
=no
14097 enable_shared_with_static_runtimes_FC
=no
14098 export_dynamic_flag_spec_FC
=
14099 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14100 hardcode_automatic_FC
=no
14101 hardcode_direct_FC
=no
14102 hardcode_direct_absolute_FC
=no
14103 hardcode_libdir_flag_spec_FC
=
14104 hardcode_libdir_flag_spec_ld_FC
=
14105 hardcode_libdir_separator_FC
=
14106 hardcode_minus_L_FC
=no
14107 hardcode_shlibpath_var_FC
=unsupported
14108 inherit_rpath_FC
=no
14109 link_all_deplibs_FC
=unknown
14111 module_expsym_cmds_FC
=
14112 old_archive_from_new_cmds_FC
=
14113 old_archive_from_expsyms_cmds_FC
=
14114 thread_safe_flag_spec_FC
=
14115 whole_archive_flag_spec_FC
=
14116 # include_expsyms should be a list of space-separated symbols to be *always*
14117 # included in the symbol list
14118 include_expsyms_FC
=
14119 # exclude_expsyms can be an extended regexp of symbols to exclude
14120 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14121 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14122 # as well as any symbol that contains `d'.
14123 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14124 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14125 # platforms (ab)use it in PIC code, but their linkers get confused if
14126 # the symbol is explicitly referenced. Since portable code cannot
14127 # rely on this symbol name, it's probably fine to never include it in
14128 # preloaded symbol tables.
14129 # Exclude shared library initialization/finalization symbols.
14130 extract_expsyms_cmds
=
14133 cygwin
* | mingw
* | pw32
* | cegcc
*)
14134 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14135 # When not using gcc, we currently assume that we are using
14136 # Microsoft Visual C++.
14137 if test "$GCC" != yes; then
14142 # we just hope/assume this is gcc and not c89 (= MSVC++)
14152 # On some targets, GNU ld is compatible enough with the native linker
14153 # that we're better off using the native interface for both.
14154 lt_use_gnu_ld_interface
=no
14155 if test "$with_gnu_ld" = yes; then
14158 # The AIX port of GNU ld has always aspired to compatibility
14159 # with the native linker. However, as the warning in the GNU ld
14160 # block says, versions before 2.19.5* couldn't really create working
14161 # shared libraries, regardless of the interface used.
14162 case `$LD -v 2>&1` in
14163 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14164 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14165 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14167 lt_use_gnu_ld_interface
=yes
14172 lt_use_gnu_ld_interface
=yes
14177 if test "$lt_use_gnu_ld_interface" = yes; then
14178 # If archive_cmds runs LD, not CC, wlarc should be empty
14181 # Set some defaults for GNU ld with shared library support. These
14182 # are reset later if shared libraries are not supported. Putting them
14183 # here allows them to be overridden if necessary.
14184 runpath_var
=LD_RUN_PATH
14185 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14186 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14187 # ancient GNU ld didn't support --whole-archive et. al.
14188 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14189 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14191 whole_archive_flag_spec_FC
=
14193 supports_anon_versioning
=no
14194 case `$LD -v 2>&1` in
14195 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14196 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14197 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14198 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14199 *\
2.11.
*) ;; # other 2.11 versions
14200 *) supports_anon_versioning
=yes ;;
14203 # See if GNU ld supports shared libraries.
14206 # On AIX/PPC, the GNU linker is very broken
14207 if test "$host_cpu" != ia64
; then
14211 *** Warning: the GNU linker, at least up to release 2.19, is reported
14212 *** to be unable to reliably create shared libraries on AIX.
14213 *** Therefore, libtool is disabling shared libraries support. If you
14214 *** really care for shared libraries, you may want to install binutils
14215 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14216 *** You will then need to restart the configuration process.
14225 # see comment about AmigaOS4 .so support
14226 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14227 archive_expsym_cmds_FC
=''
14230 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)'
14231 hardcode_libdir_flag_spec_FC
='-L$libdir'
14232 hardcode_minus_L_FC
=yes
14238 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14239 allow_undefined_flag_FC
=unsupported
14240 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14241 # support --undefined. This deserves some investigation. FIXME
14242 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14248 cygwin
* | mingw
* | pw32
* | cegcc
*)
14249 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14250 # as there is no search path for DLLs.
14251 hardcode_libdir_flag_spec_FC
='-L$libdir'
14252 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14253 allow_undefined_flag_FC
=unsupported
14254 always_export_symbols_FC
=no
14255 enable_shared_with_static_runtimes_FC
=yes
14256 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14258 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14259 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14260 # If the export-symbols file already is a .def file (1st line
14261 # is EXPORTS), use it as is; otherwise, prepend...
14262 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14263 cp $export_symbols $output_objdir/$soname.def;
14265 echo EXPORTS > $output_objdir/$soname.def;
14266 cat $export_symbols >> $output_objdir/$soname.def;
14268 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14275 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14276 link_all_deplibs_FC
=yes
14280 hardcode_direct_FC
=no
14281 hardcode_shlibpath_var_FC
=no
14282 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14283 export_dynamic_flag_spec_FC
='${wl}-E'
14284 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14285 # Instead, shared libraries are loaded at an image base (0x10000000 by
14286 # default) and relocated if they conflict, which is a slow very memory
14287 # consuming and fragmenting process. To avoid this, we pick a random,
14288 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14289 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14290 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'
14291 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'
14294 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14296 if test "$host_os" = linux-dietlibc
; then
14297 case $cc_basename in
14298 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14301 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14302 && test "$tmp_diet" = no
14304 tmp_addflag
=' $pic_flag'
14305 tmp_sharedflag
='-shared'
14306 case $cc_basename,$host_cpu in
14307 pgcc
*) # Portland Group C compiler
14308 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'
14309 tmp_addflag
=' $pic_flag'
14311 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14312 # Portland Group f77 and f90 compilers
14313 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'
14314 tmp_addflag
=' $pic_flag -Mnomain' ;;
14315 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14316 tmp_addflag
=' -i_dynamic' ;;
14317 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14318 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14319 ifc
* | ifort
*) # Intel Fortran compiler
14320 tmp_addflag
=' -nofor_main' ;;
14321 lf95
*) # Lahey Fortran 8.1
14322 whole_archive_flag_spec_FC
=
14323 tmp_sharedflag
='--shared' ;;
14324 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14325 tmp_sharedflag
='-qmkshrobj'
14327 nvcc
*) # Cuda Compiler Driver 2.2
14328 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'
14329 compiler_needs_object_FC
=yes
14332 case `$CC -V 2>&1 | sed 5q` in
14333 *Sun\ C
*) # Sun C 5.9
14334 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'
14335 compiler_needs_object_FC
=yes
14336 tmp_sharedflag
='-G' ;;
14337 *Sun\ F
*) # Sun Fortran 8.3
14338 tmp_sharedflag
='-G' ;;
14340 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14342 if test "x$supports_anon_versioning" = xyes
; then
14343 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14345 echo "local: *; };" >> $output_objdir/$libname.ver~
14346 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14349 case $cc_basename in
14350 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14351 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14352 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14353 hardcode_libdir_flag_spec_FC
=
14354 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14355 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14356 if test "x$supports_anon_versioning" = xyes
; then
14357 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14358 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14359 echo "local: *; };" >> $output_objdir/$libname.ver~
14360 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14370 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14371 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14374 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14375 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14380 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14384 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14385 *** create shared libraries on Solaris systems. Therefore, libtool
14386 *** is disabling shared libraries support. We urge you to upgrade GNU
14387 *** binutils to release 2.9.1 or newer. Another option is to modify
14388 *** your PATH or compiler configuration so that the native linker is
14389 *** used, and then restart.
14392 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14393 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14394 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14400 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14401 case `$LD -v 2>&1` in
14402 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14406 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14407 *** reliably create shared libraries on SCO systems. Therefore, libtool
14408 *** is disabling shared libraries support. We urge you to upgrade GNU
14409 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14410 *** your PATH or compiler configuration so that the native linker is
14411 *** used, and then restart.
14416 # For security reasons, it is highly recommended that you always
14417 # use absolute paths for naming shared libraries, and exclude the
14418 # DT_RUNPATH tag from executables and libraries. But doing so
14419 # requires that you compile everything twice, which is a pain.
14420 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14421 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14422 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14423 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14432 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14434 hardcode_direct_FC
=yes
14435 hardcode_shlibpath_var_FC
=no
14439 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14440 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14441 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14448 if test "$ld_shlibs_FC" = no
; then
14450 hardcode_libdir_flag_spec_FC
=
14451 export_dynamic_flag_spec_FC
=
14452 whole_archive_flag_spec_FC
=
14455 # PORTME fill in a description of your system's linker (not GNU ld)
14458 allow_undefined_flag_FC
=unsupported
14459 always_export_symbols_FC
=yes
14460 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'
14461 # Note: this linker hardcodes the directories in LIBPATH if there
14462 # are no directories specified by -L.
14463 hardcode_minus_L_FC
=yes
14464 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14465 # Neither direct hardcoding nor static linking is supported with a
14467 hardcode_direct_FC
=unsupported
14472 if test "$host_cpu" = ia64
; then
14473 # On IA64, the linker does run time linking by default, so we don't
14474 # have to do anything special.
14475 aix_use_runtimelinking
=no
14476 exp_sym_flag
='-Bexport'
14479 # If we're using GNU nm, then we don't want the "-C" option.
14480 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14481 # Also, AIX nm treats weak defined symbols like other global
14482 # defined symbols, whereas GNU nm marks them as "W".
14483 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14484 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'
14486 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'
14488 aix_use_runtimelinking
=no
14490 # Test if we are trying to use run time linking or normal
14491 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14492 # need to do runtime linking.
14493 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14494 for ld_flag
in $LDFLAGS; do
14495 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14496 aix_use_runtimelinking
=yes
14503 exp_sym_flag
='-bexport'
14504 no_entry_flag
='-bnoentry'
14507 # When large executables or shared objects are built, AIX ld can
14508 # have problems creating the table of contents. If linking a library
14509 # or program results in "error TOC overflow" add -mminimal-toc to
14510 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14511 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14514 hardcode_direct_FC
=yes
14515 hardcode_direct_absolute_FC
=yes
14516 hardcode_libdir_separator_FC
=':'
14517 link_all_deplibs_FC
=yes
14518 file_list_spec_FC
='${wl}-f,'
14520 if test "$GCC" = yes; then
14521 case $host_os in aix4.
[012]|aix4.
[012].
*)
14522 # We only want to do this on AIX 4.2 and lower, the check
14523 # below for broken collect2 doesn't work under 4.3+
14524 collect2name
=`${CC} -print-prog-name=collect2`
14525 if test -f "$collect2name" &&
14526 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14528 # We have reworked collect2
14531 # We have old collect2
14532 hardcode_direct_FC
=unsupported
14533 # It fails to find uninstalled libraries when the uninstalled
14534 # path is not listed in the libpath. Setting hardcode_minus_L
14535 # to unsupported forces relinking
14536 hardcode_minus_L_FC
=yes
14537 hardcode_libdir_flag_spec_FC
='-L$libdir'
14538 hardcode_libdir_separator_FC
=
14542 shared_flag
='-shared'
14543 if test "$aix_use_runtimelinking" = yes; then
14544 shared_flag
="$shared_flag "'${wl}-G'
14548 if test "$host_cpu" = ia64
; then
14549 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14550 # chokes on -Wl,-G. The following line is correct:
14553 if test "$aix_use_runtimelinking" = yes; then
14554 shared_flag
='${wl}-G'
14556 shared_flag
='${wl}-bM:SRE'
14561 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14562 # It seems that -bexpall does not export symbols beginning with
14563 # underscore (_), so it is better to generate a list of symbols to export.
14564 always_export_symbols_FC
=yes
14565 if test "$aix_use_runtimelinking" = yes; then
14566 # Warning - without using the other runtime loading flags (-brtl),
14567 # -berok will link without error, but may produce a broken library.
14568 allow_undefined_flag_FC
='-berok'
14569 # Determine the default libpath from the value encoded in an
14570 # empty executable.
14571 if test x
$gcc_no_link = xyes
; then
14572 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14574 cat > conftest.
$ac_ext <<_ACEOF
14579 if ac_fn_fc_try_link
"$LINENO"; then :
14581 lt_aix_libpath_sed
='
14582 /Import File Strings/,/^$/ {
14588 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14589 # Check for a 64-bit object if we didn't find anything.
14590 if test -z "$aix_libpath"; then
14591 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14594 rm -f core conftest.err conftest.
$ac_objext \
14595 conftest
$ac_exeext conftest.
$ac_ext
14596 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14598 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14599 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"
14601 if test "$host_cpu" = ia64
; then
14602 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14603 allow_undefined_flag_FC
="-z nodefs"
14604 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"
14606 # Determine the default libpath from the value encoded in an
14607 # empty executable.
14608 if test x
$gcc_no_link = xyes
; then
14609 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14611 cat > conftest.
$ac_ext <<_ACEOF
14616 if ac_fn_fc_try_link
"$LINENO"; then :
14618 lt_aix_libpath_sed
='
14619 /Import File Strings/,/^$/ {
14625 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14626 # Check for a 64-bit object if we didn't find anything.
14627 if test -z "$aix_libpath"; then
14628 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14633 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14635 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14636 # Warning - without using the other run time loading flags,
14637 # -berok will link without error, but may produce a broken library.
14638 no_undefined_flag_FC
=' ${wl}-bernotok'
14639 allow_undefined_flag_FC
=' ${wl}-berok'
14640 if test "$with_gnu_ld" = yes; then
14641 # We only use this code for GNU lds that support --whole-archive.
14642 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14644 # Exported symbols can be pulled into shared objects from archives
14645 whole_archive_flag_spec_FC
='$convenience'
14647 archive_cmds_need_lc_FC
=yes
14648 # This is similar to how AIX traditionally builds its shared libraries.
14649 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'
14657 # see comment about AmigaOS4 .so support
14658 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14659 archive_expsym_cmds_FC
=''
14662 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)'
14663 hardcode_libdir_flag_spec_FC
='-L$libdir'
14664 hardcode_minus_L_FC
=yes
14670 export_dynamic_flag_spec_FC
=-rdynamic
14673 cygwin
* | mingw
* | pw32
* | cegcc
*)
14674 # When not using gcc, we currently assume that we are using
14675 # Microsoft Visual C++.
14676 # hardcode_libdir_flag_spec is actually meaningless, as there is
14677 # no search path for DLLs.
14678 hardcode_libdir_flag_spec_FC
=' '
14679 allow_undefined_flag_FC
=unsupported
14680 # Tell ltmain to make .lib files, not .a files.
14682 # Tell ltmain to make .dll files, not .so files.
14684 # FIXME: Setting linknames here is a bad hack.
14685 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14686 # The linker will automatically build a .lib file if we build a DLL.
14687 old_archive_from_new_cmds_FC
='true'
14688 # FIXME: Should let the user specify the lib program.
14689 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14690 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14691 enable_shared_with_static_runtimes_FC
=yes
14694 darwin
* | rhapsody
*)
14697 archive_cmds_need_lc_FC
=no
14698 hardcode_direct_FC
=no
14699 hardcode_automatic_FC
=yes
14700 hardcode_shlibpath_var_FC
=unsupported
14701 if test "$lt_cv_ld_force_load" = "yes"; then
14702 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\"`'
14704 whole_archive_flag_spec_FC
=''
14706 link_all_deplibs_FC
=yes
14707 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14708 case $cc_basename in
14709 ifort
*) _lt_dar_can_shared
=yes ;;
14710 *) _lt_dar_can_shared
=$GCC ;;
14712 if test "$_lt_dar_can_shared" = "yes"; then
14713 output_verbose_link_cmd
=func_echo_all
14714 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}"
14715 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14716 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}"
14717 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}"
14726 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14727 hardcode_libdir_flag_spec_FC
='-L$libdir'
14728 hardcode_shlibpath_var_FC
=no
14731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14732 # support. Future versions do this automatically, but an explicit c++rt0.o
14733 # does not break anything, and helps significantly (at the cost of a little
14736 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14737 hardcode_libdir_flag_spec_FC
='-R$libdir'
14738 hardcode_direct_FC
=yes
14739 hardcode_shlibpath_var_FC
=no
14742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14744 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14745 hardcode_direct_FC
=yes
14746 hardcode_minus_L_FC
=yes
14747 hardcode_shlibpath_var_FC
=no
14750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14751 freebsd
* | dragonfly
*)
14752 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14753 hardcode_libdir_flag_spec_FC
='-R$libdir'
14754 hardcode_direct_FC
=yes
14755 hardcode_shlibpath_var_FC
=no
14759 if test "$GCC" = yes; then
14760 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'
14762 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'
14764 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14765 hardcode_libdir_separator_FC
=:
14766 hardcode_direct_FC
=yes
14768 # hardcode_minus_L: Not really in the search PATH,
14769 # but as the default location of the library.
14770 hardcode_minus_L_FC
=yes
14771 export_dynamic_flag_spec_FC
='${wl}-E'
14775 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14776 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14778 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14780 if test "$with_gnu_ld" = no
; then
14781 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14782 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14783 hardcode_libdir_separator_FC
=:
14784 hardcode_direct_FC
=yes
14785 hardcode_direct_absolute_FC
=yes
14786 export_dynamic_flag_spec_FC
='${wl}-E'
14787 # hardcode_minus_L: Not really in the search PATH,
14788 # but as the default location of the library.
14789 hardcode_minus_L_FC
=yes
14794 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14797 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14800 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14803 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14809 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14812 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14815 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14819 if test "$with_gnu_ld" = no
; then
14820 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14821 hardcode_libdir_separator_FC
=:
14825 hardcode_direct_FC
=no
14826 hardcode_shlibpath_var_FC
=no
14829 hardcode_direct_FC
=yes
14830 hardcode_direct_absolute_FC
=yes
14831 export_dynamic_flag_spec_FC
='${wl}-E'
14833 # hardcode_minus_L: Not really in the search PATH,
14834 # but as the default location of the library.
14835 hardcode_minus_L_FC
=yes
14841 irix5
* | irix6
* | nonstopux
*)
14842 if test "$GCC" = yes; then
14843 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'
14844 # Try to use the -exported_symbol ld option, if it does not
14845 # work, assume that -exports_file does not work either and
14846 # implicitly export all symbols.
14847 save_LDFLAGS
="$LDFLAGS"
14848 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14849 if test x
$gcc_no_link = xyes
; then
14850 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14852 cat > conftest.
$ac_ext <<_ACEOF
14855 if ac_fn_fc_try_link
"$LINENO"; then :
14856 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'
14859 rm -f core conftest.err conftest.
$ac_objext \
14860 conftest
$ac_exeext conftest.
$ac_ext
14861 LDFLAGS
="$save_LDFLAGS"
14863 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'
14864 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'
14866 archive_cmds_need_lc_FC
='no'
14867 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14868 hardcode_libdir_separator_FC
=:
14869 inherit_rpath_FC
=yes
14870 link_all_deplibs_FC
=yes
14874 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14875 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14877 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14879 hardcode_libdir_flag_spec_FC
='-R$libdir'
14880 hardcode_direct_FC
=yes
14881 hardcode_shlibpath_var_FC
=no
14885 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14886 hardcode_direct_FC
=yes
14887 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14888 hardcode_libdir_separator_FC
=:
14889 hardcode_shlibpath_var_FC
=no
14896 if test -f /usr
/libexec
/ld.so
; then
14897 hardcode_direct_FC
=yes
14898 hardcode_shlibpath_var_FC
=no
14899 hardcode_direct_absolute_FC
=yes
14900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14901 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14902 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14903 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14904 export_dynamic_flag_spec_FC
='${wl}-E'
14907 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14908 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14909 hardcode_libdir_flag_spec_FC
='-R$libdir'
14912 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14913 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14923 hardcode_libdir_flag_spec_FC
='-L$libdir'
14924 hardcode_minus_L_FC
=yes
14925 allow_undefined_flag_FC
=unsupported
14926 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'
14927 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14931 if test "$GCC" = yes; then
14932 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14933 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'
14935 allow_undefined_flag_FC
=' -expect_unresolved \*'
14936 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'
14938 archive_cmds_need_lc_FC
='no'
14939 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14940 hardcode_libdir_separator_FC
=:
14943 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14944 if test "$GCC" = yes; then
14945 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14946 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'
14947 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14949 allow_undefined_flag_FC
=' -expect_unresolved \*'
14950 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'
14951 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~
14952 $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'
14954 # Both c and cxx compiler support -rpath directly
14955 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14957 archive_cmds_need_lc_FC
='no'
14958 hardcode_libdir_separator_FC
=:
14962 no_undefined_flag_FC
=' -z defs'
14963 if test "$GCC" = yes; then
14965 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14967 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14969 case `$CC -V 2>&1` in
14972 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14973 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14974 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14978 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14979 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14980 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14984 hardcode_libdir_flag_spec_FC
='-R$libdir'
14985 hardcode_shlibpath_var_FC
=no
14987 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14989 # The compiler driver will combine and reorder linker options,
14990 # but understands `-z linker_flag'. GCC discards it without `$wl',
14991 # but is careful enough not to reorder.
14992 # Supported since Solaris 2.6 (maybe 2.5.1?)
14993 if test "$GCC" = yes; then
14994 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14996 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15000 link_all_deplibs_FC
=yes
15004 if test "x$host_vendor" = xsequent
; then
15005 # Use $CC to link under sequent, because it throws in some extra .o
15006 # files that make .init and .fini sections work.
15007 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15009 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15011 hardcode_libdir_flag_spec_FC
='-L$libdir'
15012 hardcode_direct_FC
=yes
15013 hardcode_minus_L_FC
=yes
15014 hardcode_shlibpath_var_FC
=no
15018 case $host_vendor in
15020 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15021 hardcode_direct_FC
=yes # is this really true???
15024 ## LD is ld it makes a PLAMLIB
15025 ## CC just makes a GrossModule.
15026 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15027 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15028 hardcode_direct_FC
=no
15031 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15032 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15035 runpath_var
='LD_RUN_PATH'
15036 hardcode_shlibpath_var_FC
=no
15040 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15041 hardcode_shlibpath_var_FC
=no
15042 export_dynamic_flag_spec_FC
='-Bexport'
15046 if test -d /usr
/nec
; then
15047 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15048 hardcode_shlibpath_var_FC
=no
15049 runpath_var
=LD_RUN_PATH
15050 hardcode_runpath_var
=yes
15055 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15056 no_undefined_flag_FC
='${wl}-z,text'
15057 archive_cmds_need_lc_FC
=no
15058 hardcode_shlibpath_var_FC
=no
15059 runpath_var
='LD_RUN_PATH'
15061 if test "$GCC" = yes; then
15062 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15063 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15065 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15066 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15070 sysv5
* | sco3.2v5
* | sco5v6
*)
15071 # Note: We can NOT use -z defs as we might desire, because we do not
15072 # link with -lc, and that would cause any symbols used from libc to
15073 # always be unresolved, which means just about no library would
15074 # ever link correctly. If we're not using GNU ld we use -z text
15075 # though, which does catch some bad symbols but isn't as heavy-handed
15077 no_undefined_flag_FC
='${wl}-z,text'
15078 allow_undefined_flag_FC
='${wl}-z,nodefs'
15079 archive_cmds_need_lc_FC
=no
15080 hardcode_shlibpath_var_FC
=no
15081 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15082 hardcode_libdir_separator_FC
=':'
15083 link_all_deplibs_FC
=yes
15084 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15085 runpath_var
='LD_RUN_PATH'
15087 if test "$GCC" = yes; then
15088 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15089 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15091 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15092 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15097 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15098 hardcode_libdir_flag_spec_FC
='-L$libdir'
15099 hardcode_shlibpath_var_FC
=no
15107 if test x
$host_vendor = xsni
; then
15109 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15110 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15117 $as_echo "$ld_shlibs_FC" >&6; }
15118 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15120 with_gnu_ld_FC
=$with_gnu_ld
15128 # Do we need to explicitly link libc?
15130 case "x$archive_cmds_need_lc_FC" in
15132 # Assume -lc should be added
15133 archive_cmds_need_lc_FC
=yes
15135 if test "$enable_shared" = yes && test "$GCC" = yes; then
15136 case $archive_cmds_FC in
15138 # FIXME: we may have to deal with multi-command sequences.
15141 # Test whether the compiler implicitly links with -lc since on some
15142 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15143 # to ld, don't add -lc before -lgcc.
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15145 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15146 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15147 $as_echo_n "(cached) " >&6
15150 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15153 (eval $ac_compile) 2>&5
15155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15156 test $ac_status = 0; } 2>conftest.err
; then
15159 libobjs
=conftest.
$ac_objext
15161 wl
=$lt_prog_compiler_wl_FC
15162 pic_flag
=$lt_prog_compiler_pic_FC
15168 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15169 allow_undefined_flag_FC
=
15170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15171 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 test $ac_status = 0; }
15176 lt_cv_archive_cmds_need_lc_FC
=no
15178 lt_cv_archive_cmds_need_lc_FC
=yes
15180 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15182 cat conftest.err
1>&5
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15188 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15189 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15260 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15262 library_names_spec
=
15263 libname_spec
='lib$name'
15267 postuninstall_cmds
=
15271 shlibpath_overrides_runpath
=unknown
15273 dynamic_linker
="$host_os ld.so"
15274 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15275 need_lib_prefix
=unknown
15276 hardcode_into_libs
=no
15278 # when you set need_version to no, make sure it does not cause -set_version
15279 # flags to be left without arguments
15280 need_version
=unknown
15285 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15286 shlibpath_var
=LIBPATH
15288 # AIX 3 has no versioning support, so we append a major version to the name.
15289 soname_spec
='${libname}${release}${shared_ext}$major'
15296 hardcode_into_libs
=yes
15297 if test "$host_cpu" = ia64
; then
15298 # AIX 5 supports IA64
15299 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15300 shlibpath_var
=LD_LIBRARY_PATH
15302 # With GCC up to 2.95.x, collect2 would create an import file
15303 # for dependence libraries. The import file would start with
15304 # the line `#! .'. This would cause the generated library to
15305 # depend on `.', always an invalid library. This was fixed in
15306 # development snapshots of GCC prior to 3.0.
15308 aix4 | aix4.
[01] | aix4.
[01].
*)
15309 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15311 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15314 can_build_shared
=no
15318 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15319 # soname into executable. Probably we can add versioning support to
15320 # collect2, so additional links can be useful in future.
15321 if test "$aix_use_runtimelinking" = yes; then
15322 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15323 # instead of lib<name>.a to let people know that these are not
15324 # typical AIX shared libraries.
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15327 # We preserve .a as extension for shared libraries through AIX4.2
15328 # and later when we are not doing run time linking.
15329 library_names_spec
='${libname}${release}.a $libname.a'
15330 soname_spec
='${libname}${release}${shared_ext}$major'
15332 shlibpath_var
=LIBPATH
15339 # Since July 2007 AmigaOS4 officially supports .so libraries.
15340 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15344 library_names_spec
='$libname.ixlibrary $libname.a'
15345 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15346 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'
15352 library_names_spec
='${libname}${shared_ext}'
15353 dynamic_linker
="$host_os ld.so"
15354 shlibpath_var
=LIBRARY_PATH
15360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15361 soname_spec
='${libname}${release}${shared_ext}$major'
15362 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15363 shlibpath_var
=LD_LIBRARY_PATH
15364 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15365 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15366 # the default ld.so.conf also contains /usr/contrib/lib and
15367 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15368 # libtool to hard-code these into programs
15371 cygwin
* | mingw
* | pw32
* | cegcc
*)
15372 version_type
=windows
15377 case $GCC,$host_os in
15378 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15379 library_names_spec
='$libname.dll.a'
15380 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15381 postinstall_cmds
='base_file=`basename \${file}`~
15382 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15383 dldir=$destdir/`dirname \$dlpath`~
15384 test -d \$dldir || mkdir -p \$dldir~
15385 $install_prog $dir/$dlname \$dldir/$dlname~
15386 chmod a+x \$dldir/$dlname~
15387 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15388 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15390 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15391 dlpath=$dir/\$dldll~
15393 shlibpath_overrides_runpath
=yes
15397 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15398 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15402 # MinGW DLLs use traditional 'lib' prefix
15403 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15406 # pw32 DLLs use 'pw' prefix rather than 'lib'
15407 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15413 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15416 dynamic_linker
='Win32 ld.exe'
15417 # FIXME: first we should search . and the directory the executable is in
15421 darwin
* | rhapsody
*)
15422 dynamic_linker
="$host_os dyld"
15423 version_type
=darwin
15426 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15427 soname_spec
='${libname}${release}${major}$shared_ext'
15428 shlibpath_overrides_runpath
=yes
15429 shlibpath_var
=DYLD_LIBRARY_PATH
15430 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15432 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15440 soname_spec
='${libname}${release}${shared_ext}$major'
15441 shlibpath_var
=LD_LIBRARY_PATH
15444 freebsd
* | dragonfly
*)
15445 # DragonFly does not have aout. When/if they implement a new
15446 # versioning mechanism, adjust this.
15447 if test -x /usr
/bin
/objformat
; then
15448 objformat
=`/usr/bin/objformat`
15451 freebsd
[23].
*) objformat
=aout
;;
15452 *) objformat
=elf
;;
15455 version_type
=freebsd-
$objformat
15456 case $version_type in
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15467 shlibpath_var
=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath
=yes
15472 freebsd3.
[01]* | freebsdelf3.
[01]*)
15473 shlibpath_overrides_runpath
=yes
15474 hardcode_into_libs
=yes
15476 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15477 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15478 shlibpath_overrides_runpath
=no
15479 hardcode_into_libs
=yes
15481 *) # from 4.6 on, and DragonFly
15482 shlibpath_overrides_runpath
=yes
15483 hardcode_into_libs
=yes
15492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15493 soname_spec
='${libname}${release}${shared_ext}$major'
15494 shlibpath_var
=LD_LIBRARY_PATH
15495 hardcode_into_libs
=yes
15502 dynamic_linker
="$host_os runtime_loader"
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15504 soname_spec
='${libname}${release}${shared_ext}$major'
15505 shlibpath_var
=LIBRARY_PATH
15506 shlibpath_overrides_runpath
=yes
15507 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15508 hardcode_into_libs
=yes
15511 hpux9
* | hpux10
* | hpux11
*)
15512 # Give a soname corresponding to the major version so that dld.sl refuses to
15513 # link against other versions.
15520 hardcode_into_libs
=yes
15521 dynamic_linker
="$host_os dld.so"
15522 shlibpath_var
=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525 soname_spec
='${libname}${release}${shared_ext}$major'
15526 if test "X$HPUX_IA64_MODE" = X32
; then
15527 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15529 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15531 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15535 hardcode_into_libs
=yes
15536 dynamic_linker
="$host_os dld.sl"
15537 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15538 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15540 soname_spec
='${libname}${release}${shared_ext}$major'
15541 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15542 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15546 dynamic_linker
="$host_os dld.sl"
15547 shlibpath_var
=SHLIB_PATH
15548 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 soname_spec
='${libname}${release}${shared_ext}$major'
15553 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15554 postinstall_cmds
='chmod 555 $lib'
15555 # or fails outright, so override atomically:
15556 install_override_mode
=555
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15564 soname_spec
='${libname}${release}${shared_ext}$major'
15565 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15566 shlibpath_var
=LD_LIBRARY_PATH
15567 shlibpath_overrides_runpath
=no
15568 hardcode_into_libs
=yes
15571 irix5
* | irix6
* | nonstopux
*)
15573 nonstopux
*) version_type
=nonstopux
;;
15575 if test "$lt_cv_prog_gnu_ld" = yes; then
15583 soname_spec
='${libname}${release}${shared_ext}$major'
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15586 irix5
* | nonstopux
*)
15587 libsuff
= shlibsuff
=
15590 case $LD in # libtool.m4 will add one of these switches to LD
15591 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15592 libsuff
= shlibsuff
= libmagic
=32-bit;;
15593 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15594 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15595 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15596 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15597 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15601 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15602 shlibpath_overrides_runpath
=no
15603 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15604 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15605 hardcode_into_libs
=yes
15608 # No shared lib support for Linux oldld, aout, or coff.
15609 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15613 # This must be Linux ELF.
15614 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15619 soname_spec
='${libname}${release}${shared_ext}$major'
15620 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15621 shlibpath_var
=LD_LIBRARY_PATH
15622 shlibpath_overrides_runpath
=no
15624 # Some binutils ld are patched to set DT_RUNPATH
15625 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15626 $as_echo_n "(cached) " >&6
15628 lt_cv_shlibpath_overrides_runpath
=no
15629 save_LDFLAGS
=$LDFLAGS
15630 save_libdir
=$libdir
15631 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15632 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15633 if test x
$gcc_no_link = xyes
; then
15634 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15636 cat > conftest.
$ac_ext <<_ACEOF
15641 if ac_fn_fc_try_link
"$LINENO"; then :
15642 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15643 lt_cv_shlibpath_overrides_runpath
=yes
15646 rm -f core conftest.err conftest.
$ac_objext \
15647 conftest
$ac_exeext conftest.
$ac_ext
15648 LDFLAGS
=$save_LDFLAGS
15649 libdir
=$save_libdir
15653 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15655 # This implies no fast_install, which is unacceptable.
15656 # Some rework will be needed to allow for fast_install
15657 # before this can be enabled.
15658 hardcode_into_libs
=yes
15660 # Append ld.so.conf contents to the search path
15661 if test -f /etc
/ld.so.conf
; then
15662 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' ' '`
15663 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15666 # We used to test for /lib/ld.so.1 and disable shared libraries on
15667 # powerpc, because MkLinux only supported shared libraries with the
15668 # GNU dynamic linker. Since this was broken with cross compilers,
15669 # most powerpc-linux boxes support dynamic linking these days and
15670 # people can always --disable-shared, the test was removed, and we
15671 # assume the GNU/Linux dynamic linker is in use.
15672 dynamic_linker
='GNU/Linux ld.so'
15679 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15681 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15682 dynamic_linker
='NetBSD (a.out) ld.so'
15684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15685 soname_spec
='${libname}${release}${shared_ext}$major'
15686 dynamic_linker
='NetBSD ld.elf_so'
15688 shlibpath_var
=LD_LIBRARY_PATH
15689 shlibpath_overrides_runpath
=yes
15690 hardcode_into_libs
=yes
15695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15696 shlibpath_var
=LD_LIBRARY_PATH
15697 shlibpath_overrides_runpath
=yes
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15705 soname_spec
='${libname}${release}${shared_ext}$major'
15706 shlibpath_var
=LD_LIBRARY_PATH
15707 shlibpath_overrides_runpath
=no
15708 hardcode_into_libs
=yes
15709 dynamic_linker
='ldqnx.so'
15714 sys_lib_dlsearch_path_spec
="/usr/lib"
15716 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15718 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15719 *) need_version
=no
;;
15721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15722 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15723 shlibpath_var
=LD_LIBRARY_PATH
15724 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15726 openbsd2.
[89] | openbsd2.
[89].
*)
15727 shlibpath_overrides_runpath
=no
15730 shlibpath_overrides_runpath
=yes
15734 shlibpath_overrides_runpath
=yes
15739 libname_spec
='$name'
15742 library_names_spec
='$libname${shared_ext} $libname.a'
15743 dynamic_linker
='OS/2 ld.exe'
15744 shlibpath_var
=LIBPATH
15747 osf3
* | osf4
* | osf5
*)
15751 soname_spec
='${libname}${release}${shared_ext}$major'
15752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753 shlibpath_var
=LD_LIBRARY_PATH
15754 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15755 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15767 soname_spec
='${libname}${release}${shared_ext}$major'
15768 shlibpath_var
=LD_LIBRARY_PATH
15769 shlibpath_overrides_runpath
=yes
15770 hardcode_into_libs
=yes
15771 # ldd complains unless libraries are executable
15772 postinstall_cmds
='chmod +x $lib'
15777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15778 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15779 shlibpath_var
=LD_LIBRARY_PATH
15780 shlibpath_overrides_runpath
=yes
15781 if test "$with_gnu_ld" = yes; then
15789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15790 soname_spec
='${libname}${release}${shared_ext}$major'
15791 shlibpath_var
=LD_LIBRARY_PATH
15792 case $host_vendor in
15794 shlibpath_overrides_runpath
=no
15796 runpath_var
=LD_RUN_PATH
15804 shlibpath_overrides_runpath
=no
15805 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15811 if test -d /usr
/nec
;then
15813 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15814 soname_spec
='$libname${shared_ext}.$major'
15815 shlibpath_var
=LD_LIBRARY_PATH
15819 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15820 version_type
=freebsd-elf
15823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15824 soname_spec
='${libname}${release}${shared_ext}$major'
15825 shlibpath_var
=LD_LIBRARY_PATH
15826 shlibpath_overrides_runpath
=yes
15827 hardcode_into_libs
=yes
15828 if test "$with_gnu_ld" = yes; then
15829 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15831 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15834 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15838 sys_lib_dlsearch_path_spec
='/usr/lib'
15842 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15847 shlibpath_var
=LD_LIBRARY_PATH
15848 shlibpath_overrides_runpath
=no
15849 hardcode_into_libs
=yes
15854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 soname_spec
='${libname}${release}${shared_ext}$major'
15856 shlibpath_var
=LD_LIBRARY_PATH
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15864 $as_echo "$dynamic_linker" >&6; }
15865 test "$dynamic_linker" = no
&& can_build_shared
=no
15867 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15868 if test "$GCC" = yes; then
15869 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15872 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15873 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15875 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15876 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15917 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15918 hardcode_action_FC
=
15919 if test -n "$hardcode_libdir_flag_spec_FC" ||
15920 test -n "$runpath_var_FC" ||
15921 test "X$hardcode_automatic_FC" = "Xyes" ; then
15923 # We can hardcode non-existent directories.
15924 if test "$hardcode_direct_FC" != no
&&
15925 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15926 # have to relink, otherwise we might link with an installed library
15927 # when we should be linking with a yet-to-be-installed one
15928 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15929 test "$hardcode_minus_L_FC" != no
; then
15930 # Linking always hardcodes the temporary library directory.
15931 hardcode_action_FC
=relink
15933 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15934 hardcode_action_FC
=immediate
15937 # We cannot hardcode anything, or else we can only hardcode existing
15939 hardcode_action_FC
=unsupported
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15942 $as_echo "$hardcode_action_FC" >&6; }
15944 if test "$hardcode_action_FC" = relink ||
15945 test "$inherit_rpath_FC" = yes; then
15946 # Fast installation is not supported
15947 enable_fast_install
=no
15948 elif test "$shlibpath_overrides_runpath" = yes ||
15949 test "$enable_shared" = no
; then
15950 # Fast installation is not necessary
15951 enable_fast_install
=needless
15960 fi # test -n "$compiler"
15964 fi # test "$_lt_disable_FC" != yes
15967 ac_cpp
='$CPP $CPPFLAGS'
15968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15974 # extra LD Flags which are required for targets
15977 # Darwin needs -single_module when linking libgfortran
15978 extra_ldflags_libgfortran
=-Wl,-single_module
15983 # We need a working compiler at that point, otherwise give a clear
15984 # error message and bail out.
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15987 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15988 ac_ext
=${ac_fc_srcext-f}
15989 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15990 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15991 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15993 cat > conftest.
$ac_ext <<_ACEOF
15996 real, parameter :: bar = sin (12.34 / 2.5)
15999 if ac_fn_fc_try_compile
"$LINENO"; then :
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16001 $as_echo "yes" >&6; }
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16004 $as_echo "no" >&6; }
16005 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16010 ac_cpp
='$CPP $CPPFLAGS'
16011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16017 # Check whether --enable-largefile was given.
16018 if test "${enable_largefile+set}" = set; then :
16019 enableval
=$enable_largefile;
16022 if test "$enable_largefile" != no
; then
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16025 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16026 if ${ac_cv_sys_largefile_CC+:} false
; then :
16027 $as_echo_n "(cached) " >&6
16029 ac_cv_sys_largefile_CC
=no
16030 if test "$GCC" != yes; then
16033 # IRIX 6.2 and later do not support large files by default,
16034 # so use the C compiler's -n32 option if that helps.
16035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16037 #include <sys/types.h>
16038 /* Check that off_t can represent 2**63 - 1 correctly.
16039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16040 since some C++ compilers masquerading as C compilers
16041 incorrectly reject 9223372036854775807. */
16042 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16044 && LARGE_OFF_T % 2147483647 == 1)
16054 if ac_fn_c_try_compile
"$LINENO"; then :
16057 rm -f core conftest.err conftest.
$ac_objext
16059 if ac_fn_c_try_compile
"$LINENO"; then :
16060 ac_cv_sys_largefile_CC
=' -n32'; break
16062 rm -f core conftest.err conftest.
$ac_objext
16066 rm -f conftest.
$ac_ext
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16070 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16071 if test "$ac_cv_sys_largefile_CC" != no
; then
16072 CC
=$CC$ac_cv_sys_largefile_CC
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16076 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16077 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16078 $as_echo_n "(cached) " >&6
16081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <sys/types.h>
16084 /* Check that off_t can represent 2**63 - 1 correctly.
16085 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16086 since some C++ compilers masquerading as C compilers
16087 incorrectly reject 9223372036854775807. */
16088 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16089 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16090 && LARGE_OFF_T % 2147483647 == 1)
16100 if ac_fn_c_try_compile
"$LINENO"; then :
16101 ac_cv_sys_file_offset_bits
=no
; break
16103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16106 #define _FILE_OFFSET_BITS 64
16107 #include <sys/types.h>
16108 /* Check that off_t can represent 2**63 - 1 correctly.
16109 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16110 since some C++ compilers masquerading as C compilers
16111 incorrectly reject 9223372036854775807. */
16112 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16113 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16114 && LARGE_OFF_T % 2147483647 == 1)
16124 if ac_fn_c_try_compile
"$LINENO"; then :
16125 ac_cv_sys_file_offset_bits
=64; break
16127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16128 ac_cv_sys_file_offset_bits
=unknown
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16133 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16134 case $ac_cv_sys_file_offset_bits in #(
16137 cat >>confdefs.h
<<_ACEOF
16138 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16143 if test $ac_cv_sys_file_offset_bits = unknown
; then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16145 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16146 if ${ac_cv_sys_large_files+:} false
; then :
16147 $as_echo_n "(cached) " >&6
16150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16152 #include <sys/types.h>
16153 /* Check that off_t can represent 2**63 - 1 correctly.
16154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16155 since some C++ compilers masquerading as C compilers
16156 incorrectly reject 9223372036854775807. */
16157 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16159 && LARGE_OFF_T % 2147483647 == 1)
16169 if ac_fn_c_try_compile
"$LINENO"; then :
16170 ac_cv_sys_large_files
=no
; break
16172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16175 #define _LARGE_FILES 1
16176 #include <sys/types.h>
16177 /* Check that off_t can represent 2**63 - 1 correctly.
16178 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16179 since some C++ compilers masquerading as C compilers
16180 incorrectly reject 9223372036854775807. */
16181 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16182 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16183 && LARGE_OFF_T % 2147483647 == 1)
16193 if ac_fn_c_try_compile
"$LINENO"; then :
16194 ac_cv_sys_large_files
=1; break
16196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16197 ac_cv_sys_large_files
=unknown
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16202 $as_echo "$ac_cv_sys_large_files" >&6; }
16203 case $ac_cv_sys_large_files in #(
16206 cat >>confdefs.h
<<_ACEOF
16207 #define _LARGE_FILES $ac_cv_sys_large_files
16219 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16220 if test "x$ac_cv_type_off_t" = xyes
; then :
16224 cat >>confdefs.h
<<_ACEOF
16225 #define off_t long int
16231 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16232 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16234 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16237 for ac_type
in 'int' 'long int' 'long long int'; do
16238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16240 $ac_includes_default
16244 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16245 test_array [0] = 0;
16246 return test_array [0];
16252 if ac_fn_c_try_compile
"$LINENO"; then :
16254 cat >>confdefs.h
<<_ACEOF
16255 #define intptr_t $ac_type
16260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16261 test -z "$ac_type" && break
16267 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16268 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16270 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16273 for ac_type
in 'unsigned int' 'unsigned long int' \
16274 'unsigned long long int'; do
16275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16277 $ac_includes_default
16281 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16282 test_array [0] = 0;
16283 return test_array [0];
16289 if ac_fn_c_try_compile
"$LINENO"; then :
16291 cat >>confdefs.h
<<_ACEOF
16292 #define uintptr_t $ac_type
16297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16298 test -z "$ac_type" && break
16303 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16304 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16306 cat >>confdefs.h
<<_ACEOF
16307 #define HAVE_PTRDIFF_T 1
16314 # check header files (we assume C89 is available, so don't check for that)
16318 for ac_header
in $ac_header_list
16320 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16321 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16323 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16324 cat >>confdefs.h
<<_ACEOF
16325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16370 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16372 acx_cv_header_stdint
=stddef.h
16373 acx_cv_header_stdint_kind
="(already complete)"
16374 for i
in stdint.h
$inttype_headers; do
16375 unset ac_cv_type_uintptr_t
16376 unset ac_cv_type_uintmax_t
16377 unset ac_cv_type_int_least32_t
16378 unset ac_cv_type_int_fast32_t
16379 unset ac_cv_type_uint64_t
16380 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16381 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16384 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16385 acx_cv_header_stdint
=$i
16390 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16393 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16396 acx_cv_header_stdint_kind
="(mostly complete)"
16399 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16402 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16405 acx_cv_header_stdint_kind
="(mostly complete)"
16408 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16411 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16414 acx_cv_header_stdint_kind
="(mostly complete)"
16417 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16420 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16423 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16428 if test "$acx_cv_header_stdint" = stddef.h
; then
16429 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16430 for i
in stdint.h
$inttype_headers; do
16431 unset ac_cv_type_uintptr_t
16432 unset ac_cv_type_uint32_t
16433 unset ac_cv_type_uint64_t
16434 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16435 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16438 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16439 acx_cv_header_stdint
=$i
16444 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16447 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16451 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16454 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16461 if test "$acx_cv_header_stdint" = stddef.h
; then
16462 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16463 for i
in sys
/types.h
$inttype_headers; do
16464 unset ac_cv_type_u_int32_t
16465 unset ac_cv_type_u_int64_t
16466 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16467 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16470 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16471 acx_cv_header_stdint
=$i
16476 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16479 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16486 if test "$acx_cv_header_stdint" = stddef.h
; then
16487 acx_cv_header_stdint_kind
="(using manual detection)"
16490 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16491 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16492 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16493 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16494 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16496 # ----------------- Summarize what we found so far
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16499 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16501 case `$as_basename -- gstdint.h ||
16502 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16503 Xgstdint.h : 'X\(//\)$' \| \
16504 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16505 $as_echo X/gstdint.h |
16506 sed '/^.*\/\([^/][^/]*\)\/*$/{
16519 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16520 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16521 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16522 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16527 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16529 # ----------------- done included file, check C basic types --------
16531 # Lacking an uintptr_t? Test size of void *
16532 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16533 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16536 # This bug is HP SR number 8606223364.
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16538 $as_echo_n "checking size of void *... " >&6; }
16539 if ${ac_cv_sizeof_void_p+:} false
; then :
16540 $as_echo_n "(cached) " >&6
16542 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16545 if test "$ac_cv_type_void_p" = yes; then
16546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16548 as_fn_error
77 "cannot compute sizeof (void *)
16549 See \`config.log' for more details" "$LINENO" 5; }
16551 ac_cv_sizeof_void_p
=0
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16557 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16561 cat >>confdefs.h
<<_ACEOF
16562 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16568 # Lacking an uint64_t? Test size of long
16569 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16570 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16571 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16572 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16573 # This bug is HP SR number 8606223364.
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16575 $as_echo_n "checking size of long... " >&6; }
16576 if ${ac_cv_sizeof_long+:} false
; then :
16577 $as_echo_n "(cached) " >&6
16579 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16582 if test "$ac_cv_type_long" = yes; then
16583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16585 as_fn_error
77 "cannot compute sizeof (long)
16586 See \`config.log' for more details" "$LINENO" 5; }
16588 ac_cv_sizeof_long
=0
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16594 $as_echo "$ac_cv_sizeof_long" >&6; }
16598 cat >>confdefs.h
<<_ACEOF
16599 #define SIZEOF_LONG $ac_cv_sizeof_long
16605 if test $acx_cv_header_stdint = stddef.h
; then
16606 # Lacking a good header? Test size of everything and deduce all types.
16607 # The cast to long int works around a bug in the HP C Compiler
16608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16610 # This bug is HP SR number 8606223364.
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16612 $as_echo_n "checking size of int... " >&6; }
16613 if ${ac_cv_sizeof_int+:} false
; then :
16614 $as_echo_n "(cached) " >&6
16616 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16619 if test "$ac_cv_type_int" = yes; then
16620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16622 as_fn_error
77 "cannot compute sizeof (int)
16623 See \`config.log' for more details" "$LINENO" 5; }
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16631 $as_echo "$ac_cv_sizeof_int" >&6; }
16635 cat >>confdefs.h
<<_ACEOF
16636 #define SIZEOF_INT $ac_cv_sizeof_int
16640 # The cast to long int works around a bug in the HP C Compiler
16641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16643 # This bug is HP SR number 8606223364.
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16645 $as_echo_n "checking size of short... " >&6; }
16646 if ${ac_cv_sizeof_short+:} false
; then :
16647 $as_echo_n "(cached) " >&6
16649 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16652 if test "$ac_cv_type_short" = yes; then
16653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16655 as_fn_error
77 "cannot compute sizeof (short)
16656 See \`config.log' for more details" "$LINENO" 5; }
16658 ac_cv_sizeof_short
=0
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16664 $as_echo "$ac_cv_sizeof_short" >&6; }
16668 cat >>confdefs.h
<<_ACEOF
16669 #define SIZEOF_SHORT $ac_cv_sizeof_short
16673 # The cast to long int works around a bug in the HP C Compiler
16674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16676 # This bug is HP SR number 8606223364.
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16678 $as_echo_n "checking size of char... " >&6; }
16679 if ${ac_cv_sizeof_char+:} false
; then :
16680 $as_echo_n "(cached) " >&6
16682 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16685 if test "$ac_cv_type_char" = yes; then
16686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 as_fn_error
77 "cannot compute sizeof (char)
16689 See \`config.log' for more details" "$LINENO" 5; }
16691 ac_cv_sizeof_char
=0
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16697 $as_echo "$ac_cv_sizeof_char" >&6; }
16701 cat >>confdefs.h
<<_ACEOF
16702 #define SIZEOF_CHAR $ac_cv_sizeof_char
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16708 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16709 case "$ac_cv_sizeof_char" in
16710 1) acx_cv_type_int8_t
=char
;;
16711 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16714 $as_echo "$acx_cv_type_int8_t" >&6; }
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16717 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16718 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16719 2:*) acx_cv_type_int16_t
=int
;;
16720 *:2) acx_cv_type_int16_t
=short
;;
16721 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16724 $as_echo "$acx_cv_type_int16_t" >&6; }
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16727 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16728 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16729 4:*) acx_cv_type_int32_t
=int
;;
16730 *:4) acx_cv_type_int32_t
=long
;;
16731 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16734 $as_echo "$acx_cv_type_int32_t" >&6; }
16737 # These tests are here to make the output prettier
16739 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16740 case "$ac_cv_sizeof_long" in
16741 8) acx_cv_type_int64_t
=long
;;
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16744 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16746 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16749 # Now we can use the above types
16751 if test "$ac_cv_type_uintptr_t" != yes; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16753 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16754 case $ac_cv_sizeof_void_p in
16755 2) acx_cv_type_intptr_t
=int16_t
;;
16756 4) acx_cv_type_intptr_t
=int32_t
;;
16757 8) acx_cv_type_intptr_t
=int64_t
;;
16758 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16761 $as_echo "$acx_cv_type_intptr_t" >&6; }
16764 # ----------------- done all checks, emit header -------------
16765 ac_config_commands
="$ac_config_commands gstdint.h"
16770 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16771 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16773 cat >>confdefs.h
<<_ACEOF
16774 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16779 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16780 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16782 cat >>confdefs.h
<<_ACEOF
16783 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16788 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16789 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
16791 cat >>confdefs.h
<<_ACEOF
16792 #define HAVE_STRUCT_STAT_ST_RDEV 1
16799 case "${host}--x${with_newlib}" in
16801 hardwire_newlib
=1;;
16803 hardwire_newlib
=1;;
16806 # Check for library functions.
16807 if test "${hardwire_newlib:-0}" -eq 1; then
16808 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16809 # may not work correctly, because the compiler may not be able to
16810 # link executables.
16812 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16815 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16818 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16821 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16824 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16827 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16830 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16833 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16836 # At some point, we should differentiate between architectures
16837 # like x86, which have long double versions, and alpha/powerpc/etc.,
16838 # which don't. For the time being, punt.
16839 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16841 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16848 for ac_func
in $ac_func_list
16850 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16851 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16852 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16853 cat >>confdefs.h
<<_ACEOF
16854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16965 # Check strerror_r, cannot be above as versions with two and three arguments exist
16967 ac_save_CFLAGS
="$CFLAGS"
16968 CFLAGS
="-Wimplicit-function-declaration -Werror"
16969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #define _GNU_SOURCE 1
16972 #include <string.h>
16973 #include <locale.h>
16977 char s[128]; strerror_r(5, s, 128);
16982 if ac_fn_c_try_compile
"$LINENO"; then :
16984 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16988 CFLAGS
="$ac_save_CFLAGS"
16990 ac_save_CFLAGS
="$CFLAGS"
16991 CFLAGS
="-Wimplicit-function-declaration -Werror"
16992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #define _GNU_SOURCE 1
16995 #include <string.h>
16996 #include <locale.h>
17000 char s[128]; strerror_r(5, s);
17005 if ac_fn_c_try_compile
"$LINENO"; then :
17007 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17011 CFLAGS
="$ac_save_CFLAGS"
17014 # Check for C99 (and other IEEE) math functions
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17016 $as_echo_n "checking for sin in -lm... " >&6; }
17017 if ${ac_cv_lib_m_sin+:} false
; then :
17018 $as_echo_n "(cached) " >&6
17020 ac_check_lib_save_LIBS
=$LIBS
17022 if test x
$gcc_no_link = xyes
; then
17023 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17043 if ac_fn_c_try_link
"$LINENO"; then :
17044 ac_cv_lib_m_sin
=yes
17048 rm -f core conftest.err conftest.
$ac_objext \
17049 conftest
$ac_exeext conftest.
$ac_ext
17050 LIBS
=$ac_check_lib_save_LIBS
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17053 $as_echo "$ac_cv_lib_m_sin" >&6; }
17054 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17055 cat >>confdefs.h
<<_ACEOF
17056 #define HAVE_LIBM 1
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17070 $as_echo_n "checking for acosf... " >&6; }
17071 if ${gcc_cv_math_func_acosf+:} false
; then :
17072 $as_echo_n "(cached) " >&6
17074 if test x
$gcc_no_link = xyes
; then
17075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 #ifdef HAVE_COMPLEX_H
17081 #include <complex.h>
17087 int (*ptr)() = (int (*)())acosf;
17096 if ac_fn_c_try_link
"$LINENO"; then :
17097 gcc_cv_math_func_acosf
=yes
17099 gcc_cv_math_func_acosf
=no
17101 rm -f core conftest.err conftest.
$ac_objext \
17102 conftest
$ac_exeext conftest.
$ac_ext
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17105 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17106 if test $gcc_cv_math_func_acosf = yes; then
17108 cat >>confdefs.h
<<_ACEOF
17109 #define HAVE_ACOSF 1
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17118 $as_echo_n "checking for acos... " >&6; }
17119 if ${gcc_cv_math_func_acos+:} false
; then :
17120 $as_echo_n "(cached) " >&6
17122 if test x
$gcc_no_link = xyes
; then
17123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17128 #ifdef HAVE_COMPLEX_H
17129 #include <complex.h>
17135 int (*ptr)() = (int (*)())acos;
17144 if ac_fn_c_try_link
"$LINENO"; then :
17145 gcc_cv_math_func_acos
=yes
17147 gcc_cv_math_func_acos
=no
17149 rm -f core conftest.err conftest.
$ac_objext \
17150 conftest
$ac_exeext conftest.
$ac_ext
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17153 $as_echo "$gcc_cv_math_func_acos" >&6; }
17154 if test $gcc_cv_math_func_acos = yes; then
17156 cat >>confdefs.h
<<_ACEOF
17157 #define HAVE_ACOS 1
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17166 $as_echo_n "checking for acosl... " >&6; }
17167 if ${gcc_cv_math_func_acosl+:} false
; then :
17168 $as_echo_n "(cached) " >&6
17170 if test x
$gcc_no_link = xyes
; then
17171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17176 #ifdef HAVE_COMPLEX_H
17177 #include <complex.h>
17183 int (*ptr)() = (int (*)())acosl;
17192 if ac_fn_c_try_link
"$LINENO"; then :
17193 gcc_cv_math_func_acosl
=yes
17195 gcc_cv_math_func_acosl
=no
17197 rm -f core conftest.err conftest.
$ac_objext \
17198 conftest
$ac_exeext conftest.
$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17201 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17202 if test $gcc_cv_math_func_acosl = yes; then
17204 cat >>confdefs.h
<<_ACEOF
17205 #define HAVE_ACOSL 1
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17214 $as_echo_n "checking for acoshf... " >&6; }
17215 if ${gcc_cv_math_func_acoshf+:} false
; then :
17216 $as_echo_n "(cached) " >&6
17218 if test x
$gcc_no_link = xyes
; then
17219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17224 #ifdef HAVE_COMPLEX_H
17225 #include <complex.h>
17231 int (*ptr)() = (int (*)())acoshf;
17240 if ac_fn_c_try_link
"$LINENO"; then :
17241 gcc_cv_math_func_acoshf
=yes
17243 gcc_cv_math_func_acoshf
=no
17245 rm -f core conftest.err conftest.
$ac_objext \
17246 conftest
$ac_exeext conftest.
$ac_ext
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17249 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17250 if test $gcc_cv_math_func_acoshf = yes; then
17252 cat >>confdefs.h
<<_ACEOF
17253 #define HAVE_ACOSHF 1
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17262 $as_echo_n "checking for acosh... " >&6; }
17263 if ${gcc_cv_math_func_acosh+:} false
; then :
17264 $as_echo_n "(cached) " >&6
17266 if test x
$gcc_no_link = xyes
; then
17267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17272 #ifdef HAVE_COMPLEX_H
17273 #include <complex.h>
17279 int (*ptr)() = (int (*)())acosh;
17288 if ac_fn_c_try_link
"$LINENO"; then :
17289 gcc_cv_math_func_acosh
=yes
17291 gcc_cv_math_func_acosh
=no
17293 rm -f core conftest.err conftest.
$ac_objext \
17294 conftest
$ac_exeext conftest.
$ac_ext
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17297 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17298 if test $gcc_cv_math_func_acosh = yes; then
17300 cat >>confdefs.h
<<_ACEOF
17301 #define HAVE_ACOSH 1
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17310 $as_echo_n "checking for acoshl... " >&6; }
17311 if ${gcc_cv_math_func_acoshl+:} false
; then :
17312 $as_echo_n "(cached) " >&6
17314 if test x
$gcc_no_link = xyes
; then
17315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17320 #ifdef HAVE_COMPLEX_H
17321 #include <complex.h>
17327 int (*ptr)() = (int (*)())acoshl;
17336 if ac_fn_c_try_link
"$LINENO"; then :
17337 gcc_cv_math_func_acoshl
=yes
17339 gcc_cv_math_func_acoshl
=no
17341 rm -f core conftest.err conftest.
$ac_objext \
17342 conftest
$ac_exeext conftest.
$ac_ext
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17345 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17346 if test $gcc_cv_math_func_acoshl = yes; then
17348 cat >>confdefs.h
<<_ACEOF
17349 #define HAVE_ACOSHL 1
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17358 $as_echo_n "checking for asinf... " >&6; }
17359 if ${gcc_cv_math_func_asinf+:} false
; then :
17360 $as_echo_n "(cached) " >&6
17362 if test x
$gcc_no_link = xyes
; then
17363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17368 #ifdef HAVE_COMPLEX_H
17369 #include <complex.h>
17375 int (*ptr)() = (int (*)())asinf;
17384 if ac_fn_c_try_link
"$LINENO"; then :
17385 gcc_cv_math_func_asinf
=yes
17387 gcc_cv_math_func_asinf
=no
17389 rm -f core conftest.err conftest.
$ac_objext \
17390 conftest
$ac_exeext conftest.
$ac_ext
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17393 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17394 if test $gcc_cv_math_func_asinf = yes; then
17396 cat >>confdefs.h
<<_ACEOF
17397 #define HAVE_ASINF 1
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17406 $as_echo_n "checking for asin... " >&6; }
17407 if ${gcc_cv_math_func_asin+:} false
; then :
17408 $as_echo_n "(cached) " >&6
17410 if test x
$gcc_no_link = xyes
; then
17411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17416 #ifdef HAVE_COMPLEX_H
17417 #include <complex.h>
17423 int (*ptr)() = (int (*)())asin;
17432 if ac_fn_c_try_link
"$LINENO"; then :
17433 gcc_cv_math_func_asin
=yes
17435 gcc_cv_math_func_asin
=no
17437 rm -f core conftest.err conftest.
$ac_objext \
17438 conftest
$ac_exeext conftest.
$ac_ext
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17441 $as_echo "$gcc_cv_math_func_asin" >&6; }
17442 if test $gcc_cv_math_func_asin = yes; then
17444 cat >>confdefs.h
<<_ACEOF
17445 #define HAVE_ASIN 1
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17454 $as_echo_n "checking for asinl... " >&6; }
17455 if ${gcc_cv_math_func_asinl+:} false
; then :
17456 $as_echo_n "(cached) " >&6
17458 if test x
$gcc_no_link = xyes
; then
17459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 #ifdef HAVE_COMPLEX_H
17465 #include <complex.h>
17471 int (*ptr)() = (int (*)())asinl;
17480 if ac_fn_c_try_link
"$LINENO"; then :
17481 gcc_cv_math_func_asinl
=yes
17483 gcc_cv_math_func_asinl
=no
17485 rm -f core conftest.err conftest.
$ac_objext \
17486 conftest
$ac_exeext conftest.
$ac_ext
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17489 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17490 if test $gcc_cv_math_func_asinl = yes; then
17492 cat >>confdefs.h
<<_ACEOF
17493 #define HAVE_ASINL 1
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17502 $as_echo_n "checking for asinhf... " >&6; }
17503 if ${gcc_cv_math_func_asinhf+:} false
; then :
17504 $as_echo_n "(cached) " >&6
17506 if test x
$gcc_no_link = xyes
; then
17507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17512 #ifdef HAVE_COMPLEX_H
17513 #include <complex.h>
17519 int (*ptr)() = (int (*)())asinhf;
17528 if ac_fn_c_try_link
"$LINENO"; then :
17529 gcc_cv_math_func_asinhf
=yes
17531 gcc_cv_math_func_asinhf
=no
17533 rm -f core conftest.err conftest.
$ac_objext \
17534 conftest
$ac_exeext conftest.
$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17537 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17538 if test $gcc_cv_math_func_asinhf = yes; then
17540 cat >>confdefs.h
<<_ACEOF
17541 #define HAVE_ASINHF 1
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17550 $as_echo_n "checking for asinh... " >&6; }
17551 if ${gcc_cv_math_func_asinh+:} false
; then :
17552 $as_echo_n "(cached) " >&6
17554 if test x
$gcc_no_link = xyes
; then
17555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17560 #ifdef HAVE_COMPLEX_H
17561 #include <complex.h>
17567 int (*ptr)() = (int (*)())asinh;
17576 if ac_fn_c_try_link
"$LINENO"; then :
17577 gcc_cv_math_func_asinh
=yes
17579 gcc_cv_math_func_asinh
=no
17581 rm -f core conftest.err conftest.
$ac_objext \
17582 conftest
$ac_exeext conftest.
$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17585 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17586 if test $gcc_cv_math_func_asinh = yes; then
17588 cat >>confdefs.h
<<_ACEOF
17589 #define HAVE_ASINH 1
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17598 $as_echo_n "checking for asinhl... " >&6; }
17599 if ${gcc_cv_math_func_asinhl+:} false
; then :
17600 $as_echo_n "(cached) " >&6
17602 if test x
$gcc_no_link = xyes
; then
17603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17608 #ifdef HAVE_COMPLEX_H
17609 #include <complex.h>
17615 int (*ptr)() = (int (*)())asinhl;
17624 if ac_fn_c_try_link
"$LINENO"; then :
17625 gcc_cv_math_func_asinhl
=yes
17627 gcc_cv_math_func_asinhl
=no
17629 rm -f core conftest.err conftest.
$ac_objext \
17630 conftest
$ac_exeext conftest.
$ac_ext
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17633 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17634 if test $gcc_cv_math_func_asinhl = yes; then
17636 cat >>confdefs.h
<<_ACEOF
17637 #define HAVE_ASINHL 1
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17646 $as_echo_n "checking for atan2f... " >&6; }
17647 if ${gcc_cv_math_func_atan2f+:} false
; then :
17648 $as_echo_n "(cached) " >&6
17650 if test x
$gcc_no_link = xyes
; then
17651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17656 #ifdef HAVE_COMPLEX_H
17657 #include <complex.h>
17663 int (*ptr)() = (int (*)())atan2f;
17672 if ac_fn_c_try_link
"$LINENO"; then :
17673 gcc_cv_math_func_atan2f
=yes
17675 gcc_cv_math_func_atan2f
=no
17677 rm -f core conftest.err conftest.
$ac_objext \
17678 conftest
$ac_exeext conftest.
$ac_ext
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17681 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17682 if test $gcc_cv_math_func_atan2f = yes; then
17684 cat >>confdefs.h
<<_ACEOF
17685 #define HAVE_ATAN2F 1
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17694 $as_echo_n "checking for atan2... " >&6; }
17695 if ${gcc_cv_math_func_atan2+:} false
; then :
17696 $as_echo_n "(cached) " >&6
17698 if test x
$gcc_no_link = xyes
; then
17699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17704 #ifdef HAVE_COMPLEX_H
17705 #include <complex.h>
17711 int (*ptr)() = (int (*)())atan2;
17720 if ac_fn_c_try_link
"$LINENO"; then :
17721 gcc_cv_math_func_atan2
=yes
17723 gcc_cv_math_func_atan2
=no
17725 rm -f core conftest.err conftest.
$ac_objext \
17726 conftest
$ac_exeext conftest.
$ac_ext
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17729 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17730 if test $gcc_cv_math_func_atan2 = yes; then
17732 cat >>confdefs.h
<<_ACEOF
17733 #define HAVE_ATAN2 1
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17742 $as_echo_n "checking for atan2l... " >&6; }
17743 if ${gcc_cv_math_func_atan2l+:} false
; then :
17744 $as_echo_n "(cached) " >&6
17746 if test x
$gcc_no_link = xyes
; then
17747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17752 #ifdef HAVE_COMPLEX_H
17753 #include <complex.h>
17759 int (*ptr)() = (int (*)())atan2l;
17768 if ac_fn_c_try_link
"$LINENO"; then :
17769 gcc_cv_math_func_atan2l
=yes
17771 gcc_cv_math_func_atan2l
=no
17773 rm -f core conftest.err conftest.
$ac_objext \
17774 conftest
$ac_exeext conftest.
$ac_ext
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17777 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17778 if test $gcc_cv_math_func_atan2l = yes; then
17780 cat >>confdefs.h
<<_ACEOF
17781 #define HAVE_ATAN2L 1
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17790 $as_echo_n "checking for atanf... " >&6; }
17791 if ${gcc_cv_math_func_atanf+:} false
; then :
17792 $as_echo_n "(cached) " >&6
17794 if test x
$gcc_no_link = xyes
; then
17795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17800 #ifdef HAVE_COMPLEX_H
17801 #include <complex.h>
17807 int (*ptr)() = (int (*)())atanf;
17816 if ac_fn_c_try_link
"$LINENO"; then :
17817 gcc_cv_math_func_atanf
=yes
17819 gcc_cv_math_func_atanf
=no
17821 rm -f core conftest.err conftest.
$ac_objext \
17822 conftest
$ac_exeext conftest.
$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17825 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17826 if test $gcc_cv_math_func_atanf = yes; then
17828 cat >>confdefs.h
<<_ACEOF
17829 #define HAVE_ATANF 1
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17838 $as_echo_n "checking for atan... " >&6; }
17839 if ${gcc_cv_math_func_atan+:} false
; then :
17840 $as_echo_n "(cached) " >&6
17842 if test x
$gcc_no_link = xyes
; then
17843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17848 #ifdef HAVE_COMPLEX_H
17849 #include <complex.h>
17855 int (*ptr)() = (int (*)())atan;
17864 if ac_fn_c_try_link
"$LINENO"; then :
17865 gcc_cv_math_func_atan
=yes
17867 gcc_cv_math_func_atan
=no
17869 rm -f core conftest.err conftest.
$ac_objext \
17870 conftest
$ac_exeext conftest.
$ac_ext
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17873 $as_echo "$gcc_cv_math_func_atan" >&6; }
17874 if test $gcc_cv_math_func_atan = yes; then
17876 cat >>confdefs.h
<<_ACEOF
17877 #define HAVE_ATAN 1
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17886 $as_echo_n "checking for atanl... " >&6; }
17887 if ${gcc_cv_math_func_atanl+:} false
; then :
17888 $as_echo_n "(cached) " >&6
17890 if test x
$gcc_no_link = xyes
; then
17891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17896 #ifdef HAVE_COMPLEX_H
17897 #include <complex.h>
17903 int (*ptr)() = (int (*)())atanl;
17912 if ac_fn_c_try_link
"$LINENO"; then :
17913 gcc_cv_math_func_atanl
=yes
17915 gcc_cv_math_func_atanl
=no
17917 rm -f core conftest.err conftest.
$ac_objext \
17918 conftest
$ac_exeext conftest.
$ac_ext
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17921 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17922 if test $gcc_cv_math_func_atanl = yes; then
17924 cat >>confdefs.h
<<_ACEOF
17925 #define HAVE_ATANL 1
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17934 $as_echo_n "checking for atanhf... " >&6; }
17935 if ${gcc_cv_math_func_atanhf+:} false
; then :
17936 $as_echo_n "(cached) " >&6
17938 if test x
$gcc_no_link = xyes
; then
17939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17944 #ifdef HAVE_COMPLEX_H
17945 #include <complex.h>
17951 int (*ptr)() = (int (*)())atanhf;
17960 if ac_fn_c_try_link
"$LINENO"; then :
17961 gcc_cv_math_func_atanhf
=yes
17963 gcc_cv_math_func_atanhf
=no
17965 rm -f core conftest.err conftest.
$ac_objext \
17966 conftest
$ac_exeext conftest.
$ac_ext
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17969 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17970 if test $gcc_cv_math_func_atanhf = yes; then
17972 cat >>confdefs.h
<<_ACEOF
17973 #define HAVE_ATANHF 1
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17982 $as_echo_n "checking for atanh... " >&6; }
17983 if ${gcc_cv_math_func_atanh+:} false
; then :
17984 $as_echo_n "(cached) " >&6
17986 if test x
$gcc_no_link = xyes
; then
17987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 #ifdef HAVE_COMPLEX_H
17993 #include <complex.h>
17999 int (*ptr)() = (int (*)())atanh;
18008 if ac_fn_c_try_link
"$LINENO"; then :
18009 gcc_cv_math_func_atanh
=yes
18011 gcc_cv_math_func_atanh
=no
18013 rm -f core conftest.err conftest.
$ac_objext \
18014 conftest
$ac_exeext conftest.
$ac_ext
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18017 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18018 if test $gcc_cv_math_func_atanh = yes; then
18020 cat >>confdefs.h
<<_ACEOF
18021 #define HAVE_ATANH 1
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18030 $as_echo_n "checking for atanhl... " >&6; }
18031 if ${gcc_cv_math_func_atanhl+:} false
; then :
18032 $as_echo_n "(cached) " >&6
18034 if test x
$gcc_no_link = xyes
; then
18035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18040 #ifdef HAVE_COMPLEX_H
18041 #include <complex.h>
18047 int (*ptr)() = (int (*)())atanhl;
18056 if ac_fn_c_try_link
"$LINENO"; then :
18057 gcc_cv_math_func_atanhl
=yes
18059 gcc_cv_math_func_atanhl
=no
18061 rm -f core conftest.err conftest.
$ac_objext \
18062 conftest
$ac_exeext conftest.
$ac_ext
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18065 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18066 if test $gcc_cv_math_func_atanhl = yes; then
18068 cat >>confdefs.h
<<_ACEOF
18069 #define HAVE_ATANHL 1
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18078 $as_echo_n "checking for cargf... " >&6; }
18079 if ${gcc_cv_math_func_cargf+:} false
; then :
18080 $as_echo_n "(cached) " >&6
18082 if test x
$gcc_no_link = xyes
; then
18083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 #ifdef HAVE_COMPLEX_H
18089 #include <complex.h>
18095 int (*ptr)() = (int (*)())cargf;
18104 if ac_fn_c_try_link
"$LINENO"; then :
18105 gcc_cv_math_func_cargf
=yes
18107 gcc_cv_math_func_cargf
=no
18109 rm -f core conftest.err conftest.
$ac_objext \
18110 conftest
$ac_exeext conftest.
$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18113 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18114 if test $gcc_cv_math_func_cargf = yes; then
18116 cat >>confdefs.h
<<_ACEOF
18117 #define HAVE_CARGF 1
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18126 $as_echo_n "checking for carg... " >&6; }
18127 if ${gcc_cv_math_func_carg+:} false
; then :
18128 $as_echo_n "(cached) " >&6
18130 if test x
$gcc_no_link = xyes
; then
18131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 #ifdef HAVE_COMPLEX_H
18137 #include <complex.h>
18143 int (*ptr)() = (int (*)())carg;
18152 if ac_fn_c_try_link
"$LINENO"; then :
18153 gcc_cv_math_func_carg
=yes
18155 gcc_cv_math_func_carg
=no
18157 rm -f core conftest.err conftest.
$ac_objext \
18158 conftest
$ac_exeext conftest.
$ac_ext
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18161 $as_echo "$gcc_cv_math_func_carg" >&6; }
18162 if test $gcc_cv_math_func_carg = yes; then
18164 cat >>confdefs.h
<<_ACEOF
18165 #define HAVE_CARG 1
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18174 $as_echo_n "checking for cargl... " >&6; }
18175 if ${gcc_cv_math_func_cargl+:} false
; then :
18176 $as_echo_n "(cached) " >&6
18178 if test x
$gcc_no_link = xyes
; then
18179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18184 #ifdef HAVE_COMPLEX_H
18185 #include <complex.h>
18191 int (*ptr)() = (int (*)())cargl;
18200 if ac_fn_c_try_link
"$LINENO"; then :
18201 gcc_cv_math_func_cargl
=yes
18203 gcc_cv_math_func_cargl
=no
18205 rm -f core conftest.err conftest.
$ac_objext \
18206 conftest
$ac_exeext conftest.
$ac_ext
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18209 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18210 if test $gcc_cv_math_func_cargl = yes; then
18212 cat >>confdefs.h
<<_ACEOF
18213 #define HAVE_CARGL 1
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18222 $as_echo_n "checking for ceilf... " >&6; }
18223 if ${gcc_cv_math_func_ceilf+:} false
; then :
18224 $as_echo_n "(cached) " >&6
18226 if test x
$gcc_no_link = xyes
; then
18227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18232 #ifdef HAVE_COMPLEX_H
18233 #include <complex.h>
18239 int (*ptr)() = (int (*)())ceilf;
18248 if ac_fn_c_try_link
"$LINENO"; then :
18249 gcc_cv_math_func_ceilf
=yes
18251 gcc_cv_math_func_ceilf
=no
18253 rm -f core conftest.err conftest.
$ac_objext \
18254 conftest
$ac_exeext conftest.
$ac_ext
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18257 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18258 if test $gcc_cv_math_func_ceilf = yes; then
18260 cat >>confdefs.h
<<_ACEOF
18261 #define HAVE_CEILF 1
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18270 $as_echo_n "checking for ceil... " >&6; }
18271 if ${gcc_cv_math_func_ceil+:} false
; then :
18272 $as_echo_n "(cached) " >&6
18274 if test x
$gcc_no_link = xyes
; then
18275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18280 #ifdef HAVE_COMPLEX_H
18281 #include <complex.h>
18287 int (*ptr)() = (int (*)())ceil;
18296 if ac_fn_c_try_link
"$LINENO"; then :
18297 gcc_cv_math_func_ceil
=yes
18299 gcc_cv_math_func_ceil
=no
18301 rm -f core conftest.err conftest.
$ac_objext \
18302 conftest
$ac_exeext conftest.
$ac_ext
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18305 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18306 if test $gcc_cv_math_func_ceil = yes; then
18308 cat >>confdefs.h
<<_ACEOF
18309 #define HAVE_CEIL 1
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18318 $as_echo_n "checking for ceill... " >&6; }
18319 if ${gcc_cv_math_func_ceill+:} false
; then :
18320 $as_echo_n "(cached) " >&6
18322 if test x
$gcc_no_link = xyes
; then
18323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 #ifdef HAVE_COMPLEX_H
18329 #include <complex.h>
18335 int (*ptr)() = (int (*)())ceill;
18344 if ac_fn_c_try_link
"$LINENO"; then :
18345 gcc_cv_math_func_ceill
=yes
18347 gcc_cv_math_func_ceill
=no
18349 rm -f core conftest.err conftest.
$ac_objext \
18350 conftest
$ac_exeext conftest.
$ac_ext
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18353 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18354 if test $gcc_cv_math_func_ceill = yes; then
18356 cat >>confdefs.h
<<_ACEOF
18357 #define HAVE_CEILL 1
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18366 $as_echo_n "checking for copysignf... " >&6; }
18367 if ${gcc_cv_math_func_copysignf+:} false
; then :
18368 $as_echo_n "(cached) " >&6
18370 if test x
$gcc_no_link = xyes
; then
18371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18376 #ifdef HAVE_COMPLEX_H
18377 #include <complex.h>
18383 int (*ptr)() = (int (*)())copysignf;
18392 if ac_fn_c_try_link
"$LINENO"; then :
18393 gcc_cv_math_func_copysignf
=yes
18395 gcc_cv_math_func_copysignf
=no
18397 rm -f core conftest.err conftest.
$ac_objext \
18398 conftest
$ac_exeext conftest.
$ac_ext
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18401 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18402 if test $gcc_cv_math_func_copysignf = yes; then
18404 cat >>confdefs.h
<<_ACEOF
18405 #define HAVE_COPYSIGNF 1
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18414 $as_echo_n "checking for copysign... " >&6; }
18415 if ${gcc_cv_math_func_copysign+:} false
; then :
18416 $as_echo_n "(cached) " >&6
18418 if test x
$gcc_no_link = xyes
; then
18419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18424 #ifdef HAVE_COMPLEX_H
18425 #include <complex.h>
18431 int (*ptr)() = (int (*)())copysign;
18440 if ac_fn_c_try_link
"$LINENO"; then :
18441 gcc_cv_math_func_copysign
=yes
18443 gcc_cv_math_func_copysign
=no
18445 rm -f core conftest.err conftest.
$ac_objext \
18446 conftest
$ac_exeext conftest.
$ac_ext
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18449 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18450 if test $gcc_cv_math_func_copysign = yes; then
18452 cat >>confdefs.h
<<_ACEOF
18453 #define HAVE_COPYSIGN 1
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18462 $as_echo_n "checking for copysignl... " >&6; }
18463 if ${gcc_cv_math_func_copysignl+:} false
; then :
18464 $as_echo_n "(cached) " >&6
18466 if test x
$gcc_no_link = xyes
; then
18467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18472 #ifdef HAVE_COMPLEX_H
18473 #include <complex.h>
18479 int (*ptr)() = (int (*)())copysignl;
18488 if ac_fn_c_try_link
"$LINENO"; then :
18489 gcc_cv_math_func_copysignl
=yes
18491 gcc_cv_math_func_copysignl
=no
18493 rm -f core conftest.err conftest.
$ac_objext \
18494 conftest
$ac_exeext conftest.
$ac_ext
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18497 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18498 if test $gcc_cv_math_func_copysignl = yes; then
18500 cat >>confdefs.h
<<_ACEOF
18501 #define HAVE_COPYSIGNL 1
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18510 $as_echo_n "checking for cosf... " >&6; }
18511 if ${gcc_cv_math_func_cosf+:} false
; then :
18512 $as_echo_n "(cached) " >&6
18514 if test x
$gcc_no_link = xyes
; then
18515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18520 #ifdef HAVE_COMPLEX_H
18521 #include <complex.h>
18527 int (*ptr)() = (int (*)())cosf;
18536 if ac_fn_c_try_link
"$LINENO"; then :
18537 gcc_cv_math_func_cosf
=yes
18539 gcc_cv_math_func_cosf
=no
18541 rm -f core conftest.err conftest.
$ac_objext \
18542 conftest
$ac_exeext conftest.
$ac_ext
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18545 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18546 if test $gcc_cv_math_func_cosf = yes; then
18548 cat >>confdefs.h
<<_ACEOF
18549 #define HAVE_COSF 1
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18558 $as_echo_n "checking for cos... " >&6; }
18559 if ${gcc_cv_math_func_cos+:} false
; then :
18560 $as_echo_n "(cached) " >&6
18562 if test x
$gcc_no_link = xyes
; then
18563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 #ifdef HAVE_COMPLEX_H
18569 #include <complex.h>
18575 int (*ptr)() = (int (*)())cos;
18584 if ac_fn_c_try_link
"$LINENO"; then :
18585 gcc_cv_math_func_cos
=yes
18587 gcc_cv_math_func_cos
=no
18589 rm -f core conftest.err conftest.
$ac_objext \
18590 conftest
$ac_exeext conftest.
$ac_ext
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18593 $as_echo "$gcc_cv_math_func_cos" >&6; }
18594 if test $gcc_cv_math_func_cos = yes; then
18596 cat >>confdefs.h
<<_ACEOF
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18606 $as_echo_n "checking for cosl... " >&6; }
18607 if ${gcc_cv_math_func_cosl+:} false
; then :
18608 $as_echo_n "(cached) " >&6
18610 if test x
$gcc_no_link = xyes
; then
18611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18616 #ifdef HAVE_COMPLEX_H
18617 #include <complex.h>
18623 int (*ptr)() = (int (*)())cosl;
18632 if ac_fn_c_try_link
"$LINENO"; then :
18633 gcc_cv_math_func_cosl
=yes
18635 gcc_cv_math_func_cosl
=no
18637 rm -f core conftest.err conftest.
$ac_objext \
18638 conftest
$ac_exeext conftest.
$ac_ext
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18641 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18642 if test $gcc_cv_math_func_cosl = yes; then
18644 cat >>confdefs.h
<<_ACEOF
18645 #define HAVE_COSL 1
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18654 $as_echo_n "checking for ccosf... " >&6; }
18655 if ${gcc_cv_math_func_ccosf+:} false
; then :
18656 $as_echo_n "(cached) " >&6
18658 if test x
$gcc_no_link = xyes
; then
18659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 #ifdef HAVE_COMPLEX_H
18665 #include <complex.h>
18671 int (*ptr)() = (int (*)())ccosf;
18680 if ac_fn_c_try_link
"$LINENO"; then :
18681 gcc_cv_math_func_ccosf
=yes
18683 gcc_cv_math_func_ccosf
=no
18685 rm -f core conftest.err conftest.
$ac_objext \
18686 conftest
$ac_exeext conftest.
$ac_ext
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18689 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18690 if test $gcc_cv_math_func_ccosf = yes; then
18692 cat >>confdefs.h
<<_ACEOF
18693 #define HAVE_CCOSF 1
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18702 $as_echo_n "checking for ccos... " >&6; }
18703 if ${gcc_cv_math_func_ccos+:} false
; then :
18704 $as_echo_n "(cached) " >&6
18706 if test x
$gcc_no_link = xyes
; then
18707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18712 #ifdef HAVE_COMPLEX_H
18713 #include <complex.h>
18719 int (*ptr)() = (int (*)())ccos;
18728 if ac_fn_c_try_link
"$LINENO"; then :
18729 gcc_cv_math_func_ccos
=yes
18731 gcc_cv_math_func_ccos
=no
18733 rm -f core conftest.err conftest.
$ac_objext \
18734 conftest
$ac_exeext conftest.
$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18737 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18738 if test $gcc_cv_math_func_ccos = yes; then
18740 cat >>confdefs.h
<<_ACEOF
18741 #define HAVE_CCOS 1
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18750 $as_echo_n "checking for ccosl... " >&6; }
18751 if ${gcc_cv_math_func_ccosl+:} false
; then :
18752 $as_echo_n "(cached) " >&6
18754 if test x
$gcc_no_link = xyes
; then
18755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18760 #ifdef HAVE_COMPLEX_H
18761 #include <complex.h>
18767 int (*ptr)() = (int (*)())ccosl;
18776 if ac_fn_c_try_link
"$LINENO"; then :
18777 gcc_cv_math_func_ccosl
=yes
18779 gcc_cv_math_func_ccosl
=no
18781 rm -f core conftest.err conftest.
$ac_objext \
18782 conftest
$ac_exeext conftest.
$ac_ext
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18785 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18786 if test $gcc_cv_math_func_ccosl = yes; then
18788 cat >>confdefs.h
<<_ACEOF
18789 #define HAVE_CCOSL 1
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18798 $as_echo_n "checking for coshf... " >&6; }
18799 if ${gcc_cv_math_func_coshf+:} false
; then :
18800 $as_echo_n "(cached) " >&6
18802 if test x
$gcc_no_link = xyes
; then
18803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18808 #ifdef HAVE_COMPLEX_H
18809 #include <complex.h>
18815 int (*ptr)() = (int (*)())coshf;
18824 if ac_fn_c_try_link
"$LINENO"; then :
18825 gcc_cv_math_func_coshf
=yes
18827 gcc_cv_math_func_coshf
=no
18829 rm -f core conftest.err conftest.
$ac_objext \
18830 conftest
$ac_exeext conftest.
$ac_ext
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18833 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18834 if test $gcc_cv_math_func_coshf = yes; then
18836 cat >>confdefs.h
<<_ACEOF
18837 #define HAVE_COSHF 1
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18846 $as_echo_n "checking for cosh... " >&6; }
18847 if ${gcc_cv_math_func_cosh+:} false
; then :
18848 $as_echo_n "(cached) " >&6
18850 if test x
$gcc_no_link = xyes
; then
18851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18856 #ifdef HAVE_COMPLEX_H
18857 #include <complex.h>
18863 int (*ptr)() = (int (*)())cosh;
18872 if ac_fn_c_try_link
"$LINENO"; then :
18873 gcc_cv_math_func_cosh
=yes
18875 gcc_cv_math_func_cosh
=no
18877 rm -f core conftest.err conftest.
$ac_objext \
18878 conftest
$ac_exeext conftest.
$ac_ext
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18881 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18882 if test $gcc_cv_math_func_cosh = yes; then
18884 cat >>confdefs.h
<<_ACEOF
18885 #define HAVE_COSH 1
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18894 $as_echo_n "checking for coshl... " >&6; }
18895 if ${gcc_cv_math_func_coshl+:} false
; then :
18896 $as_echo_n "(cached) " >&6
18898 if test x
$gcc_no_link = xyes
; then
18899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18904 #ifdef HAVE_COMPLEX_H
18905 #include <complex.h>
18911 int (*ptr)() = (int (*)())coshl;
18920 if ac_fn_c_try_link
"$LINENO"; then :
18921 gcc_cv_math_func_coshl
=yes
18923 gcc_cv_math_func_coshl
=no
18925 rm -f core conftest.err conftest.
$ac_objext \
18926 conftest
$ac_exeext conftest.
$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18929 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18930 if test $gcc_cv_math_func_coshl = yes; then
18932 cat >>confdefs.h
<<_ACEOF
18933 #define HAVE_COSHL 1
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18942 $as_echo_n "checking for ccoshf... " >&6; }
18943 if ${gcc_cv_math_func_ccoshf+:} false
; then :
18944 $as_echo_n "(cached) " >&6
18946 if test x
$gcc_no_link = xyes
; then
18947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18952 #ifdef HAVE_COMPLEX_H
18953 #include <complex.h>
18959 int (*ptr)() = (int (*)())ccoshf;
18968 if ac_fn_c_try_link
"$LINENO"; then :
18969 gcc_cv_math_func_ccoshf
=yes
18971 gcc_cv_math_func_ccoshf
=no
18973 rm -f core conftest.err conftest.
$ac_objext \
18974 conftest
$ac_exeext conftest.
$ac_ext
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18977 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18978 if test $gcc_cv_math_func_ccoshf = yes; then
18980 cat >>confdefs.h
<<_ACEOF
18981 #define HAVE_CCOSHF 1
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18990 $as_echo_n "checking for ccosh... " >&6; }
18991 if ${gcc_cv_math_func_ccosh+:} false
; then :
18992 $as_echo_n "(cached) " >&6
18994 if test x
$gcc_no_link = xyes
; then
18995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
19000 #ifdef HAVE_COMPLEX_H
19001 #include <complex.h>
19007 int (*ptr)() = (int (*)())ccosh;
19016 if ac_fn_c_try_link
"$LINENO"; then :
19017 gcc_cv_math_func_ccosh
=yes
19019 gcc_cv_math_func_ccosh
=no
19021 rm -f core conftest.err conftest.
$ac_objext \
19022 conftest
$ac_exeext conftest.
$ac_ext
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19025 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19026 if test $gcc_cv_math_func_ccosh = yes; then
19028 cat >>confdefs.h
<<_ACEOF
19029 #define HAVE_CCOSH 1
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19038 $as_echo_n "checking for ccoshl... " >&6; }
19039 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19040 $as_echo_n "(cached) " >&6
19042 if test x
$gcc_no_link = xyes
; then
19043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19048 #ifdef HAVE_COMPLEX_H
19049 #include <complex.h>
19055 int (*ptr)() = (int (*)())ccoshl;
19064 if ac_fn_c_try_link
"$LINENO"; then :
19065 gcc_cv_math_func_ccoshl
=yes
19067 gcc_cv_math_func_ccoshl
=no
19069 rm -f core conftest.err conftest.
$ac_objext \
19070 conftest
$ac_exeext conftest.
$ac_ext
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19073 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19074 if test $gcc_cv_math_func_ccoshl = yes; then
19076 cat >>confdefs.h
<<_ACEOF
19077 #define HAVE_CCOSHL 1
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19086 $as_echo_n "checking for expf... " >&6; }
19087 if ${gcc_cv_math_func_expf+:} false
; then :
19088 $as_echo_n "(cached) " >&6
19090 if test x
$gcc_no_link = xyes
; then
19091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19096 #ifdef HAVE_COMPLEX_H
19097 #include <complex.h>
19103 int (*ptr)() = (int (*)())expf;
19112 if ac_fn_c_try_link
"$LINENO"; then :
19113 gcc_cv_math_func_expf
=yes
19115 gcc_cv_math_func_expf
=no
19117 rm -f core conftest.err conftest.
$ac_objext \
19118 conftest
$ac_exeext conftest.
$ac_ext
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19121 $as_echo "$gcc_cv_math_func_expf" >&6; }
19122 if test $gcc_cv_math_func_expf = yes; then
19124 cat >>confdefs.h
<<_ACEOF
19125 #define HAVE_EXPF 1
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19134 $as_echo_n "checking for exp... " >&6; }
19135 if ${gcc_cv_math_func_exp+:} false
; then :
19136 $as_echo_n "(cached) " >&6
19138 if test x
$gcc_no_link = xyes
; then
19139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19144 #ifdef HAVE_COMPLEX_H
19145 #include <complex.h>
19151 int (*ptr)() = (int (*)())exp;
19160 if ac_fn_c_try_link
"$LINENO"; then :
19161 gcc_cv_math_func_exp
=yes
19163 gcc_cv_math_func_exp
=no
19165 rm -f core conftest.err conftest.
$ac_objext \
19166 conftest
$ac_exeext conftest.
$ac_ext
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19169 $as_echo "$gcc_cv_math_func_exp" >&6; }
19170 if test $gcc_cv_math_func_exp = yes; then
19172 cat >>confdefs.h
<<_ACEOF
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19182 $as_echo_n "checking for expl... " >&6; }
19183 if ${gcc_cv_math_func_expl+:} false
; then :
19184 $as_echo_n "(cached) " >&6
19186 if test x
$gcc_no_link = xyes
; then
19187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19192 #ifdef HAVE_COMPLEX_H
19193 #include <complex.h>
19199 int (*ptr)() = (int (*)())expl;
19208 if ac_fn_c_try_link
"$LINENO"; then :
19209 gcc_cv_math_func_expl
=yes
19211 gcc_cv_math_func_expl
=no
19213 rm -f core conftest.err conftest.
$ac_objext \
19214 conftest
$ac_exeext conftest.
$ac_ext
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19217 $as_echo "$gcc_cv_math_func_expl" >&6; }
19218 if test $gcc_cv_math_func_expl = yes; then
19220 cat >>confdefs.h
<<_ACEOF
19221 #define HAVE_EXPL 1
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19230 $as_echo_n "checking for cexpf... " >&6; }
19231 if ${gcc_cv_math_func_cexpf+:} false
; then :
19232 $as_echo_n "(cached) " >&6
19234 if test x
$gcc_no_link = xyes
; then
19235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19240 #ifdef HAVE_COMPLEX_H
19241 #include <complex.h>
19247 int (*ptr)() = (int (*)())cexpf;
19256 if ac_fn_c_try_link
"$LINENO"; then :
19257 gcc_cv_math_func_cexpf
=yes
19259 gcc_cv_math_func_cexpf
=no
19261 rm -f core conftest.err conftest.
$ac_objext \
19262 conftest
$ac_exeext conftest.
$ac_ext
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19265 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19266 if test $gcc_cv_math_func_cexpf = yes; then
19268 cat >>confdefs.h
<<_ACEOF
19269 #define HAVE_CEXPF 1
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19278 $as_echo_n "checking for cexp... " >&6; }
19279 if ${gcc_cv_math_func_cexp+:} false
; then :
19280 $as_echo_n "(cached) " >&6
19282 if test x
$gcc_no_link = xyes
; then
19283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19288 #ifdef HAVE_COMPLEX_H
19289 #include <complex.h>
19295 int (*ptr)() = (int (*)())cexp;
19304 if ac_fn_c_try_link
"$LINENO"; then :
19305 gcc_cv_math_func_cexp
=yes
19307 gcc_cv_math_func_cexp
=no
19309 rm -f core conftest.err conftest.
$ac_objext \
19310 conftest
$ac_exeext conftest.
$ac_ext
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19313 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19314 if test $gcc_cv_math_func_cexp = yes; then
19316 cat >>confdefs.h
<<_ACEOF
19317 #define HAVE_CEXP 1
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19326 $as_echo_n "checking for cexpl... " >&6; }
19327 if ${gcc_cv_math_func_cexpl+:} false
; then :
19328 $as_echo_n "(cached) " >&6
19330 if test x
$gcc_no_link = xyes
; then
19331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19336 #ifdef HAVE_COMPLEX_H
19337 #include <complex.h>
19343 int (*ptr)() = (int (*)())cexpl;
19352 if ac_fn_c_try_link
"$LINENO"; then :
19353 gcc_cv_math_func_cexpl
=yes
19355 gcc_cv_math_func_cexpl
=no
19357 rm -f core conftest.err conftest.
$ac_objext \
19358 conftest
$ac_exeext conftest.
$ac_ext
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19361 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19362 if test $gcc_cv_math_func_cexpl = yes; then
19364 cat >>confdefs.h
<<_ACEOF
19365 #define HAVE_CEXPL 1
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19374 $as_echo_n "checking for fabsf... " >&6; }
19375 if ${gcc_cv_math_func_fabsf+:} false
; then :
19376 $as_echo_n "(cached) " >&6
19378 if test x
$gcc_no_link = xyes
; then
19379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 #ifdef HAVE_COMPLEX_H
19385 #include <complex.h>
19391 int (*ptr)() = (int (*)())fabsf;
19400 if ac_fn_c_try_link
"$LINENO"; then :
19401 gcc_cv_math_func_fabsf
=yes
19403 gcc_cv_math_func_fabsf
=no
19405 rm -f core conftest.err conftest.
$ac_objext \
19406 conftest
$ac_exeext conftest.
$ac_ext
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19409 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19410 if test $gcc_cv_math_func_fabsf = yes; then
19412 cat >>confdefs.h
<<_ACEOF
19413 #define HAVE_FABSF 1
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19422 $as_echo_n "checking for fabs... " >&6; }
19423 if ${gcc_cv_math_func_fabs+:} false
; then :
19424 $as_echo_n "(cached) " >&6
19426 if test x
$gcc_no_link = xyes
; then
19427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19432 #ifdef HAVE_COMPLEX_H
19433 #include <complex.h>
19439 int (*ptr)() = (int (*)())fabs;
19448 if ac_fn_c_try_link
"$LINENO"; then :
19449 gcc_cv_math_func_fabs
=yes
19451 gcc_cv_math_func_fabs
=no
19453 rm -f core conftest.err conftest.
$ac_objext \
19454 conftest
$ac_exeext conftest.
$ac_ext
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19457 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19458 if test $gcc_cv_math_func_fabs = yes; then
19460 cat >>confdefs.h
<<_ACEOF
19461 #define HAVE_FABS 1
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19470 $as_echo_n "checking for fabsl... " >&6; }
19471 if ${gcc_cv_math_func_fabsl+:} false
; then :
19472 $as_echo_n "(cached) " >&6
19474 if test x
$gcc_no_link = xyes
; then
19475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19480 #ifdef HAVE_COMPLEX_H
19481 #include <complex.h>
19487 int (*ptr)() = (int (*)())fabsl;
19496 if ac_fn_c_try_link
"$LINENO"; then :
19497 gcc_cv_math_func_fabsl
=yes
19499 gcc_cv_math_func_fabsl
=no
19501 rm -f core conftest.err conftest.
$ac_objext \
19502 conftest
$ac_exeext conftest.
$ac_ext
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19505 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19506 if test $gcc_cv_math_func_fabsl = yes; then
19508 cat >>confdefs.h
<<_ACEOF
19509 #define HAVE_FABSL 1
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19518 $as_echo_n "checking for cabsf... " >&6; }
19519 if ${gcc_cv_math_func_cabsf+:} false
; then :
19520 $as_echo_n "(cached) " >&6
19522 if test x
$gcc_no_link = xyes
; then
19523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19528 #ifdef HAVE_COMPLEX_H
19529 #include <complex.h>
19535 int (*ptr)() = (int (*)())cabsf;
19544 if ac_fn_c_try_link
"$LINENO"; then :
19545 gcc_cv_math_func_cabsf
=yes
19547 gcc_cv_math_func_cabsf
=no
19549 rm -f core conftest.err conftest.
$ac_objext \
19550 conftest
$ac_exeext conftest.
$ac_ext
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19553 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19554 if test $gcc_cv_math_func_cabsf = yes; then
19556 cat >>confdefs.h
<<_ACEOF
19557 #define HAVE_CABSF 1
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19566 $as_echo_n "checking for cabs... " >&6; }
19567 if ${gcc_cv_math_func_cabs+:} false
; then :
19568 $as_echo_n "(cached) " >&6
19570 if test x
$gcc_no_link = xyes
; then
19571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19576 #ifdef HAVE_COMPLEX_H
19577 #include <complex.h>
19583 int (*ptr)() = (int (*)())cabs;
19592 if ac_fn_c_try_link
"$LINENO"; then :
19593 gcc_cv_math_func_cabs
=yes
19595 gcc_cv_math_func_cabs
=no
19597 rm -f core conftest.err conftest.
$ac_objext \
19598 conftest
$ac_exeext conftest.
$ac_ext
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19601 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19602 if test $gcc_cv_math_func_cabs = yes; then
19604 cat >>confdefs.h
<<_ACEOF
19605 #define HAVE_CABS 1
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19614 $as_echo_n "checking for cabsl... " >&6; }
19615 if ${gcc_cv_math_func_cabsl+:} false
; then :
19616 $as_echo_n "(cached) " >&6
19618 if test x
$gcc_no_link = xyes
; then
19619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19624 #ifdef HAVE_COMPLEX_H
19625 #include <complex.h>
19631 int (*ptr)() = (int (*)())cabsl;
19640 if ac_fn_c_try_link
"$LINENO"; then :
19641 gcc_cv_math_func_cabsl
=yes
19643 gcc_cv_math_func_cabsl
=no
19645 rm -f core conftest.err conftest.
$ac_objext \
19646 conftest
$ac_exeext conftest.
$ac_ext
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19649 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19650 if test $gcc_cv_math_func_cabsl = yes; then
19652 cat >>confdefs.h
<<_ACEOF
19653 #define HAVE_CABSL 1
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19662 $as_echo_n "checking for floorf... " >&6; }
19663 if ${gcc_cv_math_func_floorf+:} false
; then :
19664 $as_echo_n "(cached) " >&6
19666 if test x
$gcc_no_link = xyes
; then
19667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 #ifdef HAVE_COMPLEX_H
19673 #include <complex.h>
19679 int (*ptr)() = (int (*)())floorf;
19688 if ac_fn_c_try_link
"$LINENO"; then :
19689 gcc_cv_math_func_floorf
=yes
19691 gcc_cv_math_func_floorf
=no
19693 rm -f core conftest.err conftest.
$ac_objext \
19694 conftest
$ac_exeext conftest.
$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19697 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19698 if test $gcc_cv_math_func_floorf = yes; then
19700 cat >>confdefs.h
<<_ACEOF
19701 #define HAVE_FLOORF 1
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19710 $as_echo_n "checking for floor... " >&6; }
19711 if ${gcc_cv_math_func_floor+:} false
; then :
19712 $as_echo_n "(cached) " >&6
19714 if test x
$gcc_no_link = xyes
; then
19715 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19720 #ifdef HAVE_COMPLEX_H
19721 #include <complex.h>
19727 int (*ptr)() = (int (*)())floor;
19736 if ac_fn_c_try_link
"$LINENO"; then :
19737 gcc_cv_math_func_floor
=yes
19739 gcc_cv_math_func_floor
=no
19741 rm -f core conftest.err conftest.
$ac_objext \
19742 conftest
$ac_exeext conftest.
$ac_ext
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19745 $as_echo "$gcc_cv_math_func_floor" >&6; }
19746 if test $gcc_cv_math_func_floor = yes; then
19748 cat >>confdefs.h
<<_ACEOF
19749 #define HAVE_FLOOR 1
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19758 $as_echo_n "checking for floorl... " >&6; }
19759 if ${gcc_cv_math_func_floorl+:} false
; then :
19760 $as_echo_n "(cached) " >&6
19762 if test x
$gcc_no_link = xyes
; then
19763 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19768 #ifdef HAVE_COMPLEX_H
19769 #include <complex.h>
19775 int (*ptr)() = (int (*)())floorl;
19784 if ac_fn_c_try_link
"$LINENO"; then :
19785 gcc_cv_math_func_floorl
=yes
19787 gcc_cv_math_func_floorl
=no
19789 rm -f core conftest.err conftest.
$ac_objext \
19790 conftest
$ac_exeext conftest.
$ac_ext
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19793 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19794 if test $gcc_cv_math_func_floorl = yes; then
19796 cat >>confdefs.h
<<_ACEOF
19797 #define HAVE_FLOORL 1
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19806 $as_echo_n "checking for fmodf... " >&6; }
19807 if ${gcc_cv_math_func_fmodf+:} false
; then :
19808 $as_echo_n "(cached) " >&6
19810 if test x
$gcc_no_link = xyes
; then
19811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19816 #ifdef HAVE_COMPLEX_H
19817 #include <complex.h>
19823 int (*ptr)() = (int (*)())fmodf;
19832 if ac_fn_c_try_link
"$LINENO"; then :
19833 gcc_cv_math_func_fmodf
=yes
19835 gcc_cv_math_func_fmodf
=no
19837 rm -f core conftest.err conftest.
$ac_objext \
19838 conftest
$ac_exeext conftest.
$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19841 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19842 if test $gcc_cv_math_func_fmodf = yes; then
19844 cat >>confdefs.h
<<_ACEOF
19845 #define HAVE_FMODF 1
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19854 $as_echo_n "checking for fmod... " >&6; }
19855 if ${gcc_cv_math_func_fmod+:} false
; then :
19856 $as_echo_n "(cached) " >&6
19858 if test x
$gcc_no_link = xyes
; then
19859 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19864 #ifdef HAVE_COMPLEX_H
19865 #include <complex.h>
19871 int (*ptr)() = (int (*)())fmod;
19880 if ac_fn_c_try_link
"$LINENO"; then :
19881 gcc_cv_math_func_fmod
=yes
19883 gcc_cv_math_func_fmod
=no
19885 rm -f core conftest.err conftest.
$ac_objext \
19886 conftest
$ac_exeext conftest.
$ac_ext
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19889 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19890 if test $gcc_cv_math_func_fmod = yes; then
19892 cat >>confdefs.h
<<_ACEOF
19893 #define HAVE_FMOD 1
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19902 $as_echo_n "checking for fmodl... " >&6; }
19903 if ${gcc_cv_math_func_fmodl+:} false
; then :
19904 $as_echo_n "(cached) " >&6
19906 if test x
$gcc_no_link = xyes
; then
19907 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19912 #ifdef HAVE_COMPLEX_H
19913 #include <complex.h>
19919 int (*ptr)() = (int (*)())fmodl;
19928 if ac_fn_c_try_link
"$LINENO"; then :
19929 gcc_cv_math_func_fmodl
=yes
19931 gcc_cv_math_func_fmodl
=no
19933 rm -f core conftest.err conftest.
$ac_objext \
19934 conftest
$ac_exeext conftest.
$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19937 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19938 if test $gcc_cv_math_func_fmodl = yes; then
19940 cat >>confdefs.h
<<_ACEOF
19941 #define HAVE_FMODL 1
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19950 $as_echo_n "checking for frexpf... " >&6; }
19951 if ${gcc_cv_math_func_frexpf+:} false
; then :
19952 $as_echo_n "(cached) " >&6
19954 if test x
$gcc_no_link = xyes
; then
19955 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 #ifdef HAVE_COMPLEX_H
19961 #include <complex.h>
19967 int (*ptr)() = (int (*)())frexpf;
19976 if ac_fn_c_try_link
"$LINENO"; then :
19977 gcc_cv_math_func_frexpf
=yes
19979 gcc_cv_math_func_frexpf
=no
19981 rm -f core conftest.err conftest.
$ac_objext \
19982 conftest
$ac_exeext conftest.
$ac_ext
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19985 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19986 if test $gcc_cv_math_func_frexpf = yes; then
19988 cat >>confdefs.h
<<_ACEOF
19989 #define HAVE_FREXPF 1
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19998 $as_echo_n "checking for frexp... " >&6; }
19999 if ${gcc_cv_math_func_frexp+:} false
; then :
20000 $as_echo_n "(cached) " >&6
20002 if test x
$gcc_no_link = xyes
; then
20003 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20008 #ifdef HAVE_COMPLEX_H
20009 #include <complex.h>
20015 int (*ptr)() = (int (*)())frexp;
20024 if ac_fn_c_try_link
"$LINENO"; then :
20025 gcc_cv_math_func_frexp
=yes
20027 gcc_cv_math_func_frexp
=no
20029 rm -f core conftest.err conftest.
$ac_objext \
20030 conftest
$ac_exeext conftest.
$ac_ext
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20033 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20034 if test $gcc_cv_math_func_frexp = yes; then
20036 cat >>confdefs.h
<<_ACEOF
20037 #define HAVE_FREXP 1
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20046 $as_echo_n "checking for frexpl... " >&6; }
20047 if ${gcc_cv_math_func_frexpl+:} false
; then :
20048 $as_echo_n "(cached) " >&6
20050 if test x
$gcc_no_link = xyes
; then
20051 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20056 #ifdef HAVE_COMPLEX_H
20057 #include <complex.h>
20063 int (*ptr)() = (int (*)())frexpl;
20072 if ac_fn_c_try_link
"$LINENO"; then :
20073 gcc_cv_math_func_frexpl
=yes
20075 gcc_cv_math_func_frexpl
=no
20077 rm -f core conftest.err conftest.
$ac_objext \
20078 conftest
$ac_exeext conftest.
$ac_ext
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20081 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20082 if test $gcc_cv_math_func_frexpl = yes; then
20084 cat >>confdefs.h
<<_ACEOF
20085 #define HAVE_FREXPL 1
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20094 $as_echo_n "checking for hypotf... " >&6; }
20095 if ${gcc_cv_math_func_hypotf+:} false
; then :
20096 $as_echo_n "(cached) " >&6
20098 if test x
$gcc_no_link = xyes
; then
20099 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20104 #ifdef HAVE_COMPLEX_H
20105 #include <complex.h>
20111 int (*ptr)() = (int (*)())hypotf;
20120 if ac_fn_c_try_link
"$LINENO"; then :
20121 gcc_cv_math_func_hypotf
=yes
20123 gcc_cv_math_func_hypotf
=no
20125 rm -f core conftest.err conftest.
$ac_objext \
20126 conftest
$ac_exeext conftest.
$ac_ext
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20129 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20130 if test $gcc_cv_math_func_hypotf = yes; then
20132 cat >>confdefs.h
<<_ACEOF
20133 #define HAVE_HYPOTF 1
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20142 $as_echo_n "checking for hypot... " >&6; }
20143 if ${gcc_cv_math_func_hypot+:} false
; then :
20144 $as_echo_n "(cached) " >&6
20146 if test x
$gcc_no_link = xyes
; then
20147 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20152 #ifdef HAVE_COMPLEX_H
20153 #include <complex.h>
20159 int (*ptr)() = (int (*)())hypot;
20168 if ac_fn_c_try_link
"$LINENO"; then :
20169 gcc_cv_math_func_hypot
=yes
20171 gcc_cv_math_func_hypot
=no
20173 rm -f core conftest.err conftest.
$ac_objext \
20174 conftest
$ac_exeext conftest.
$ac_ext
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20177 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20178 if test $gcc_cv_math_func_hypot = yes; then
20180 cat >>confdefs.h
<<_ACEOF
20181 #define HAVE_HYPOT 1
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20190 $as_echo_n "checking for hypotl... " >&6; }
20191 if ${gcc_cv_math_func_hypotl+:} false
; then :
20192 $as_echo_n "(cached) " >&6
20194 if test x
$gcc_no_link = xyes
; then
20195 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20200 #ifdef HAVE_COMPLEX_H
20201 #include <complex.h>
20207 int (*ptr)() = (int (*)())hypotl;
20216 if ac_fn_c_try_link
"$LINENO"; then :
20217 gcc_cv_math_func_hypotl
=yes
20219 gcc_cv_math_func_hypotl
=no
20221 rm -f core conftest.err conftest.
$ac_objext \
20222 conftest
$ac_exeext conftest.
$ac_ext
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20225 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20226 if test $gcc_cv_math_func_hypotl = yes; then
20228 cat >>confdefs.h
<<_ACEOF
20229 #define HAVE_HYPOTL 1
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20238 $as_echo_n "checking for ldexpf... " >&6; }
20239 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20240 $as_echo_n "(cached) " >&6
20242 if test x
$gcc_no_link = xyes
; then
20243 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20248 #ifdef HAVE_COMPLEX_H
20249 #include <complex.h>
20255 int (*ptr)() = (int (*)())ldexpf;
20264 if ac_fn_c_try_link
"$LINENO"; then :
20265 gcc_cv_math_func_ldexpf
=yes
20267 gcc_cv_math_func_ldexpf
=no
20269 rm -f core conftest.err conftest.
$ac_objext \
20270 conftest
$ac_exeext conftest.
$ac_ext
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20273 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20274 if test $gcc_cv_math_func_ldexpf = yes; then
20276 cat >>confdefs.h
<<_ACEOF
20277 #define HAVE_LDEXPF 1
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20286 $as_echo_n "checking for ldexp... " >&6; }
20287 if ${gcc_cv_math_func_ldexp+:} false
; then :
20288 $as_echo_n "(cached) " >&6
20290 if test x
$gcc_no_link = xyes
; then
20291 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20296 #ifdef HAVE_COMPLEX_H
20297 #include <complex.h>
20303 int (*ptr)() = (int (*)())ldexp;
20312 if ac_fn_c_try_link
"$LINENO"; then :
20313 gcc_cv_math_func_ldexp
=yes
20315 gcc_cv_math_func_ldexp
=no
20317 rm -f core conftest.err conftest.
$ac_objext \
20318 conftest
$ac_exeext conftest.
$ac_ext
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20321 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20322 if test $gcc_cv_math_func_ldexp = yes; then
20324 cat >>confdefs.h
<<_ACEOF
20325 #define HAVE_LDEXP 1
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20334 $as_echo_n "checking for ldexpl... " >&6; }
20335 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20336 $as_echo_n "(cached) " >&6
20338 if test x
$gcc_no_link = xyes
; then
20339 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20344 #ifdef HAVE_COMPLEX_H
20345 #include <complex.h>
20351 int (*ptr)() = (int (*)())ldexpl;
20360 if ac_fn_c_try_link
"$LINENO"; then :
20361 gcc_cv_math_func_ldexpl
=yes
20363 gcc_cv_math_func_ldexpl
=no
20365 rm -f core conftest.err conftest.
$ac_objext \
20366 conftest
$ac_exeext conftest.
$ac_ext
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20369 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20370 if test $gcc_cv_math_func_ldexpl = yes; then
20372 cat >>confdefs.h
<<_ACEOF
20373 #define HAVE_LDEXPL 1
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20382 $as_echo_n "checking for logf... " >&6; }
20383 if ${gcc_cv_math_func_logf+:} false
; then :
20384 $as_echo_n "(cached) " >&6
20386 if test x
$gcc_no_link = xyes
; then
20387 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20392 #ifdef HAVE_COMPLEX_H
20393 #include <complex.h>
20399 int (*ptr)() = (int (*)())logf;
20408 if ac_fn_c_try_link
"$LINENO"; then :
20409 gcc_cv_math_func_logf
=yes
20411 gcc_cv_math_func_logf
=no
20413 rm -f core conftest.err conftest.
$ac_objext \
20414 conftest
$ac_exeext conftest.
$ac_ext
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20417 $as_echo "$gcc_cv_math_func_logf" >&6; }
20418 if test $gcc_cv_math_func_logf = yes; then
20420 cat >>confdefs.h
<<_ACEOF
20421 #define HAVE_LOGF 1
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20430 $as_echo_n "checking for log... " >&6; }
20431 if ${gcc_cv_math_func_log+:} false
; then :
20432 $as_echo_n "(cached) " >&6
20434 if test x
$gcc_no_link = xyes
; then
20435 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20440 #ifdef HAVE_COMPLEX_H
20441 #include <complex.h>
20447 int (*ptr)() = (int (*)())log;
20456 if ac_fn_c_try_link
"$LINENO"; then :
20457 gcc_cv_math_func_log
=yes
20459 gcc_cv_math_func_log
=no
20461 rm -f core conftest.err conftest.
$ac_objext \
20462 conftest
$ac_exeext conftest.
$ac_ext
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20465 $as_echo "$gcc_cv_math_func_log" >&6; }
20466 if test $gcc_cv_math_func_log = yes; then
20468 cat >>confdefs.h
<<_ACEOF
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20478 $as_echo_n "checking for logl... " >&6; }
20479 if ${gcc_cv_math_func_logl+:} false
; then :
20480 $as_echo_n "(cached) " >&6
20482 if test x
$gcc_no_link = xyes
; then
20483 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20488 #ifdef HAVE_COMPLEX_H
20489 #include <complex.h>
20495 int (*ptr)() = (int (*)())logl;
20504 if ac_fn_c_try_link
"$LINENO"; then :
20505 gcc_cv_math_func_logl
=yes
20507 gcc_cv_math_func_logl
=no
20509 rm -f core conftest.err conftest.
$ac_objext \
20510 conftest
$ac_exeext conftest.
$ac_ext
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20513 $as_echo "$gcc_cv_math_func_logl" >&6; }
20514 if test $gcc_cv_math_func_logl = yes; then
20516 cat >>confdefs.h
<<_ACEOF
20517 #define HAVE_LOGL 1
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20526 $as_echo_n "checking for clogf... " >&6; }
20527 if ${gcc_cv_math_func_clogf+:} false
; then :
20528 $as_echo_n "(cached) " >&6
20530 if test x
$gcc_no_link = xyes
; then
20531 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20536 #ifdef HAVE_COMPLEX_H
20537 #include <complex.h>
20543 int (*ptr)() = (int (*)())clogf;
20552 if ac_fn_c_try_link
"$LINENO"; then :
20553 gcc_cv_math_func_clogf
=yes
20555 gcc_cv_math_func_clogf
=no
20557 rm -f core conftest.err conftest.
$ac_objext \
20558 conftest
$ac_exeext conftest.
$ac_ext
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20561 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20562 if test $gcc_cv_math_func_clogf = yes; then
20564 cat >>confdefs.h
<<_ACEOF
20565 #define HAVE_CLOGF 1
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20574 $as_echo_n "checking for clog... " >&6; }
20575 if ${gcc_cv_math_func_clog+:} false
; then :
20576 $as_echo_n "(cached) " >&6
20578 if test x
$gcc_no_link = xyes
; then
20579 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20582 /* end confdefs.h. */
20584 #ifdef HAVE_COMPLEX_H
20585 #include <complex.h>
20591 int (*ptr)() = (int (*)())clog;
20600 if ac_fn_c_try_link
"$LINENO"; then :
20601 gcc_cv_math_func_clog
=yes
20603 gcc_cv_math_func_clog
=no
20605 rm -f core conftest.err conftest.
$ac_objext \
20606 conftest
$ac_exeext conftest.
$ac_ext
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20609 $as_echo "$gcc_cv_math_func_clog" >&6; }
20610 if test $gcc_cv_math_func_clog = yes; then
20612 cat >>confdefs.h
<<_ACEOF
20613 #define HAVE_CLOG 1
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20622 $as_echo_n "checking for clogl... " >&6; }
20623 if ${gcc_cv_math_func_clogl+:} false
; then :
20624 $as_echo_n "(cached) " >&6
20626 if test x
$gcc_no_link = xyes
; then
20627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20630 /* end confdefs.h. */
20632 #ifdef HAVE_COMPLEX_H
20633 #include <complex.h>
20639 int (*ptr)() = (int (*)())clogl;
20648 if ac_fn_c_try_link
"$LINENO"; then :
20649 gcc_cv_math_func_clogl
=yes
20651 gcc_cv_math_func_clogl
=no
20653 rm -f core conftest.err conftest.
$ac_objext \
20654 conftest
$ac_exeext conftest.
$ac_ext
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20657 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20658 if test $gcc_cv_math_func_clogl = yes; then
20660 cat >>confdefs.h
<<_ACEOF
20661 #define HAVE_CLOGL 1
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20670 $as_echo_n "checking for log10f... " >&6; }
20671 if ${gcc_cv_math_func_log10f+:} false
; then :
20672 $as_echo_n "(cached) " >&6
20674 if test x
$gcc_no_link = xyes
; then
20675 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 #ifdef HAVE_COMPLEX_H
20681 #include <complex.h>
20687 int (*ptr)() = (int (*)())log10f;
20696 if ac_fn_c_try_link
"$LINENO"; then :
20697 gcc_cv_math_func_log10f
=yes
20699 gcc_cv_math_func_log10f
=no
20701 rm -f core conftest.err conftest.
$ac_objext \
20702 conftest
$ac_exeext conftest.
$ac_ext
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20705 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20706 if test $gcc_cv_math_func_log10f = yes; then
20708 cat >>confdefs.h
<<_ACEOF
20709 #define HAVE_LOG10F 1
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20718 $as_echo_n "checking for log10... " >&6; }
20719 if ${gcc_cv_math_func_log10+:} false
; then :
20720 $as_echo_n "(cached) " >&6
20722 if test x
$gcc_no_link = xyes
; then
20723 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20728 #ifdef HAVE_COMPLEX_H
20729 #include <complex.h>
20735 int (*ptr)() = (int (*)())log10;
20744 if ac_fn_c_try_link
"$LINENO"; then :
20745 gcc_cv_math_func_log10
=yes
20747 gcc_cv_math_func_log10
=no
20749 rm -f core conftest.err conftest.
$ac_objext \
20750 conftest
$ac_exeext conftest.
$ac_ext
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20753 $as_echo "$gcc_cv_math_func_log10" >&6; }
20754 if test $gcc_cv_math_func_log10 = yes; then
20756 cat >>confdefs.h
<<_ACEOF
20757 #define HAVE_LOG10 1
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20766 $as_echo_n "checking for log10l... " >&6; }
20767 if ${gcc_cv_math_func_log10l+:} false
; then :
20768 $as_echo_n "(cached) " >&6
20770 if test x
$gcc_no_link = xyes
; then
20771 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20776 #ifdef HAVE_COMPLEX_H
20777 #include <complex.h>
20783 int (*ptr)() = (int (*)())log10l;
20792 if ac_fn_c_try_link
"$LINENO"; then :
20793 gcc_cv_math_func_log10l
=yes
20795 gcc_cv_math_func_log10l
=no
20797 rm -f core conftest.err conftest.
$ac_objext \
20798 conftest
$ac_exeext conftest.
$ac_ext
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20801 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20802 if test $gcc_cv_math_func_log10l = yes; then
20804 cat >>confdefs.h
<<_ACEOF
20805 #define HAVE_LOG10L 1
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20814 $as_echo_n "checking for clog10f... " >&6; }
20815 if ${gcc_cv_math_func_clog10f+:} false
; then :
20816 $as_echo_n "(cached) " >&6
20818 if test x
$gcc_no_link = xyes
; then
20819 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 #ifdef HAVE_COMPLEX_H
20825 #include <complex.h>
20831 int (*ptr)() = (int (*)())clog10f;
20840 if ac_fn_c_try_link
"$LINENO"; then :
20841 gcc_cv_math_func_clog10f
=yes
20843 gcc_cv_math_func_clog10f
=no
20845 rm -f core conftest.err conftest.
$ac_objext \
20846 conftest
$ac_exeext conftest.
$ac_ext
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20849 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20850 if test $gcc_cv_math_func_clog10f = yes; then
20852 cat >>confdefs.h
<<_ACEOF
20853 #define HAVE_CLOG10F 1
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20862 $as_echo_n "checking for clog10... " >&6; }
20863 if ${gcc_cv_math_func_clog10+:} false
; then :
20864 $as_echo_n "(cached) " >&6
20866 if test x
$gcc_no_link = xyes
; then
20867 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20870 /* end confdefs.h. */
20872 #ifdef HAVE_COMPLEX_H
20873 #include <complex.h>
20879 int (*ptr)() = (int (*)())clog10;
20888 if ac_fn_c_try_link
"$LINENO"; then :
20889 gcc_cv_math_func_clog10
=yes
20891 gcc_cv_math_func_clog10
=no
20893 rm -f core conftest.err conftest.
$ac_objext \
20894 conftest
$ac_exeext conftest.
$ac_ext
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20897 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20898 if test $gcc_cv_math_func_clog10 = yes; then
20900 cat >>confdefs.h
<<_ACEOF
20901 #define HAVE_CLOG10 1
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20910 $as_echo_n "checking for clog10l... " >&6; }
20911 if ${gcc_cv_math_func_clog10l+:} false
; then :
20912 $as_echo_n "(cached) " >&6
20914 if test x
$gcc_no_link = xyes
; then
20915 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20920 #ifdef HAVE_COMPLEX_H
20921 #include <complex.h>
20927 int (*ptr)() = (int (*)())clog10l;
20936 if ac_fn_c_try_link
"$LINENO"; then :
20937 gcc_cv_math_func_clog10l
=yes
20939 gcc_cv_math_func_clog10l
=no
20941 rm -f core conftest.err conftest.
$ac_objext \
20942 conftest
$ac_exeext conftest.
$ac_ext
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20945 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20946 if test $gcc_cv_math_func_clog10l = yes; then
20948 cat >>confdefs.h
<<_ACEOF
20949 #define HAVE_CLOG10L 1
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20958 $as_echo_n "checking for nextafterf... " >&6; }
20959 if ${gcc_cv_math_func_nextafterf+:} false
; then :
20960 $as_echo_n "(cached) " >&6
20962 if test x
$gcc_no_link = xyes
; then
20963 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20968 #ifdef HAVE_COMPLEX_H
20969 #include <complex.h>
20975 int (*ptr)() = (int (*)())nextafterf;
20984 if ac_fn_c_try_link
"$LINENO"; then :
20985 gcc_cv_math_func_nextafterf
=yes
20987 gcc_cv_math_func_nextafterf
=no
20989 rm -f core conftest.err conftest.
$ac_objext \
20990 conftest
$ac_exeext conftest.
$ac_ext
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20993 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20994 if test $gcc_cv_math_func_nextafterf = yes; then
20996 cat >>confdefs.h
<<_ACEOF
20997 #define HAVE_NEXTAFTERF 1
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21006 $as_echo_n "checking for nextafter... " >&6; }
21007 if ${gcc_cv_math_func_nextafter+:} false
; then :
21008 $as_echo_n "(cached) " >&6
21010 if test x
$gcc_no_link = xyes
; then
21011 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21016 #ifdef HAVE_COMPLEX_H
21017 #include <complex.h>
21023 int (*ptr)() = (int (*)())nextafter;
21032 if ac_fn_c_try_link
"$LINENO"; then :
21033 gcc_cv_math_func_nextafter
=yes
21035 gcc_cv_math_func_nextafter
=no
21037 rm -f core conftest.err conftest.
$ac_objext \
21038 conftest
$ac_exeext conftest.
$ac_ext
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21041 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21042 if test $gcc_cv_math_func_nextafter = yes; then
21044 cat >>confdefs.h
<<_ACEOF
21045 #define HAVE_NEXTAFTER 1
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21054 $as_echo_n "checking for nextafterl... " >&6; }
21055 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21056 $as_echo_n "(cached) " >&6
21058 if test x
$gcc_no_link = xyes
; then
21059 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21062 /* end confdefs.h. */
21064 #ifdef HAVE_COMPLEX_H
21065 #include <complex.h>
21071 int (*ptr)() = (int (*)())nextafterl;
21080 if ac_fn_c_try_link
"$LINENO"; then :
21081 gcc_cv_math_func_nextafterl
=yes
21083 gcc_cv_math_func_nextafterl
=no
21085 rm -f core conftest.err conftest.
$ac_objext \
21086 conftest
$ac_exeext conftest.
$ac_ext
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21089 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21090 if test $gcc_cv_math_func_nextafterl = yes; then
21092 cat >>confdefs.h
<<_ACEOF
21093 #define HAVE_NEXTAFTERL 1
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21102 $as_echo_n "checking for powf... " >&6; }
21103 if ${gcc_cv_math_func_powf+:} false
; then :
21104 $as_echo_n "(cached) " >&6
21106 if test x
$gcc_no_link = xyes
; then
21107 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21112 #ifdef HAVE_COMPLEX_H
21113 #include <complex.h>
21119 int (*ptr)() = (int (*)())powf;
21128 if ac_fn_c_try_link
"$LINENO"; then :
21129 gcc_cv_math_func_powf
=yes
21131 gcc_cv_math_func_powf
=no
21133 rm -f core conftest.err conftest.
$ac_objext \
21134 conftest
$ac_exeext conftest.
$ac_ext
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21137 $as_echo "$gcc_cv_math_func_powf" >&6; }
21138 if test $gcc_cv_math_func_powf = yes; then
21140 cat >>confdefs.h
<<_ACEOF
21141 #define HAVE_POWF 1
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21150 $as_echo_n "checking for pow... " >&6; }
21151 if ${gcc_cv_math_func_pow+:} false
; then :
21152 $as_echo_n "(cached) " >&6
21154 if test x
$gcc_no_link = xyes
; then
21155 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21160 #ifdef HAVE_COMPLEX_H
21161 #include <complex.h>
21167 int (*ptr)() = (int (*)())pow;
21176 if ac_fn_c_try_link
"$LINENO"; then :
21177 gcc_cv_math_func_pow
=yes
21179 gcc_cv_math_func_pow
=no
21181 rm -f core conftest.err conftest.
$ac_objext \
21182 conftest
$ac_exeext conftest.
$ac_ext
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21185 $as_echo "$gcc_cv_math_func_pow" >&6; }
21186 if test $gcc_cv_math_func_pow = yes; then
21188 cat >>confdefs.h
<<_ACEOF
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21198 $as_echo_n "checking for cpowf... " >&6; }
21199 if ${gcc_cv_math_func_cpowf+:} false
; then :
21200 $as_echo_n "(cached) " >&6
21202 if test x
$gcc_no_link = xyes
; then
21203 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21206 /* end confdefs.h. */
21208 #ifdef HAVE_COMPLEX_H
21209 #include <complex.h>
21215 int (*ptr)() = (int (*)())cpowf;
21224 if ac_fn_c_try_link
"$LINENO"; then :
21225 gcc_cv_math_func_cpowf
=yes
21227 gcc_cv_math_func_cpowf
=no
21229 rm -f core conftest.err conftest.
$ac_objext \
21230 conftest
$ac_exeext conftest.
$ac_ext
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21233 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21234 if test $gcc_cv_math_func_cpowf = yes; then
21236 cat >>confdefs.h
<<_ACEOF
21237 #define HAVE_CPOWF 1
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21246 $as_echo_n "checking for cpow... " >&6; }
21247 if ${gcc_cv_math_func_cpow+:} false
; then :
21248 $as_echo_n "(cached) " >&6
21250 if test x
$gcc_no_link = xyes
; then
21251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21254 /* end confdefs.h. */
21256 #ifdef HAVE_COMPLEX_H
21257 #include <complex.h>
21263 int (*ptr)() = (int (*)())cpow;
21272 if ac_fn_c_try_link
"$LINENO"; then :
21273 gcc_cv_math_func_cpow
=yes
21275 gcc_cv_math_func_cpow
=no
21277 rm -f core conftest.err conftest.
$ac_objext \
21278 conftest
$ac_exeext conftest.
$ac_ext
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21281 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21282 if test $gcc_cv_math_func_cpow = yes; then
21284 cat >>confdefs.h
<<_ACEOF
21285 #define HAVE_CPOW 1
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21294 $as_echo_n "checking for cpowl... " >&6; }
21295 if ${gcc_cv_math_func_cpowl+:} false
; then :
21296 $as_echo_n "(cached) " >&6
21298 if test x
$gcc_no_link = xyes
; then
21299 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21304 #ifdef HAVE_COMPLEX_H
21305 #include <complex.h>
21311 int (*ptr)() = (int (*)())cpowl;
21320 if ac_fn_c_try_link
"$LINENO"; then :
21321 gcc_cv_math_func_cpowl
=yes
21323 gcc_cv_math_func_cpowl
=no
21325 rm -f core conftest.err conftest.
$ac_objext \
21326 conftest
$ac_exeext conftest.
$ac_ext
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21329 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21330 if test $gcc_cv_math_func_cpowl = yes; then
21332 cat >>confdefs.h
<<_ACEOF
21333 #define HAVE_CPOWL 1
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21342 $as_echo_n "checking for roundf... " >&6; }
21343 if ${gcc_cv_math_func_roundf+:} false
; then :
21344 $as_echo_n "(cached) " >&6
21346 if test x
$gcc_no_link = xyes
; then
21347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21352 #ifdef HAVE_COMPLEX_H
21353 #include <complex.h>
21359 int (*ptr)() = (int (*)())roundf;
21368 if ac_fn_c_try_link
"$LINENO"; then :
21369 gcc_cv_math_func_roundf
=yes
21371 gcc_cv_math_func_roundf
=no
21373 rm -f core conftest.err conftest.
$ac_objext \
21374 conftest
$ac_exeext conftest.
$ac_ext
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21377 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21378 if test $gcc_cv_math_func_roundf = yes; then
21380 cat >>confdefs.h
<<_ACEOF
21381 #define HAVE_ROUNDF 1
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21390 $as_echo_n "checking for round... " >&6; }
21391 if ${gcc_cv_math_func_round+:} false
; then :
21392 $as_echo_n "(cached) " >&6
21394 if test x
$gcc_no_link = xyes
; then
21395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21400 #ifdef HAVE_COMPLEX_H
21401 #include <complex.h>
21407 int (*ptr)() = (int (*)())round;
21416 if ac_fn_c_try_link
"$LINENO"; then :
21417 gcc_cv_math_func_round
=yes
21419 gcc_cv_math_func_round
=no
21421 rm -f core conftest.err conftest.
$ac_objext \
21422 conftest
$ac_exeext conftest.
$ac_ext
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21425 $as_echo "$gcc_cv_math_func_round" >&6; }
21426 if test $gcc_cv_math_func_round = yes; then
21428 cat >>confdefs.h
<<_ACEOF
21429 #define HAVE_ROUND 1
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21438 $as_echo_n "checking for roundl... " >&6; }
21439 if ${gcc_cv_math_func_roundl+:} false
; then :
21440 $as_echo_n "(cached) " >&6
21442 if test x
$gcc_no_link = xyes
; then
21443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21448 #ifdef HAVE_COMPLEX_H
21449 #include <complex.h>
21455 int (*ptr)() = (int (*)())roundl;
21464 if ac_fn_c_try_link
"$LINENO"; then :
21465 gcc_cv_math_func_roundl
=yes
21467 gcc_cv_math_func_roundl
=no
21469 rm -f core conftest.err conftest.
$ac_objext \
21470 conftest
$ac_exeext conftest.
$ac_ext
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21473 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21474 if test $gcc_cv_math_func_roundl = yes; then
21476 cat >>confdefs.h
<<_ACEOF
21477 #define HAVE_ROUNDL 1
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21486 $as_echo_n "checking for lroundf... " >&6; }
21487 if ${gcc_cv_math_func_lroundf+:} false
; then :
21488 $as_echo_n "(cached) " >&6
21490 if test x
$gcc_no_link = xyes
; then
21491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h. */
21496 #ifdef HAVE_COMPLEX_H
21497 #include <complex.h>
21503 int (*ptr)() = (int (*)())lroundf;
21512 if ac_fn_c_try_link
"$LINENO"; then :
21513 gcc_cv_math_func_lroundf
=yes
21515 gcc_cv_math_func_lroundf
=no
21517 rm -f core conftest.err conftest.
$ac_objext \
21518 conftest
$ac_exeext conftest.
$ac_ext
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21521 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21522 if test $gcc_cv_math_func_lroundf = yes; then
21524 cat >>confdefs.h
<<_ACEOF
21525 #define HAVE_LROUNDF 1
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21534 $as_echo_n "checking for lround... " >&6; }
21535 if ${gcc_cv_math_func_lround+:} false
; then :
21536 $as_echo_n "(cached) " >&6
21538 if test x
$gcc_no_link = xyes
; then
21539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 #ifdef HAVE_COMPLEX_H
21545 #include <complex.h>
21551 int (*ptr)() = (int (*)())lround;
21560 if ac_fn_c_try_link
"$LINENO"; then :
21561 gcc_cv_math_func_lround
=yes
21563 gcc_cv_math_func_lround
=no
21565 rm -f core conftest.err conftest.
$ac_objext \
21566 conftest
$ac_exeext conftest.
$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21569 $as_echo "$gcc_cv_math_func_lround" >&6; }
21570 if test $gcc_cv_math_func_lround = yes; then
21572 cat >>confdefs.h
<<_ACEOF
21573 #define HAVE_LROUND 1
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21582 $as_echo_n "checking for lroundl... " >&6; }
21583 if ${gcc_cv_math_func_lroundl+:} false
; then :
21584 $as_echo_n "(cached) " >&6
21586 if test x
$gcc_no_link = xyes
; then
21587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21592 #ifdef HAVE_COMPLEX_H
21593 #include <complex.h>
21599 int (*ptr)() = (int (*)())lroundl;
21608 if ac_fn_c_try_link
"$LINENO"; then :
21609 gcc_cv_math_func_lroundl
=yes
21611 gcc_cv_math_func_lroundl
=no
21613 rm -f core conftest.err conftest.
$ac_objext \
21614 conftest
$ac_exeext conftest.
$ac_ext
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21617 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21618 if test $gcc_cv_math_func_lroundl = yes; then
21620 cat >>confdefs.h
<<_ACEOF
21621 #define HAVE_LROUNDL 1
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21630 $as_echo_n "checking for llroundf... " >&6; }
21631 if ${gcc_cv_math_func_llroundf+:} false
; then :
21632 $as_echo_n "(cached) " >&6
21634 if test x
$gcc_no_link = xyes
; then
21635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21640 #ifdef HAVE_COMPLEX_H
21641 #include <complex.h>
21647 int (*ptr)() = (int (*)())llroundf;
21656 if ac_fn_c_try_link
"$LINENO"; then :
21657 gcc_cv_math_func_llroundf
=yes
21659 gcc_cv_math_func_llroundf
=no
21661 rm -f core conftest.err conftest.
$ac_objext \
21662 conftest
$ac_exeext conftest.
$ac_ext
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21665 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21666 if test $gcc_cv_math_func_llroundf = yes; then
21668 cat >>confdefs.h
<<_ACEOF
21669 #define HAVE_LLROUNDF 1
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21678 $as_echo_n "checking for llround... " >&6; }
21679 if ${gcc_cv_math_func_llround+:} false
; then :
21680 $as_echo_n "(cached) " >&6
21682 if test x
$gcc_no_link = xyes
; then
21683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21688 #ifdef HAVE_COMPLEX_H
21689 #include <complex.h>
21695 int (*ptr)() = (int (*)())llround;
21704 if ac_fn_c_try_link
"$LINENO"; then :
21705 gcc_cv_math_func_llround
=yes
21707 gcc_cv_math_func_llround
=no
21709 rm -f core conftest.err conftest.
$ac_objext \
21710 conftest
$ac_exeext conftest.
$ac_ext
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21713 $as_echo "$gcc_cv_math_func_llround" >&6; }
21714 if test $gcc_cv_math_func_llround = yes; then
21716 cat >>confdefs.h
<<_ACEOF
21717 #define HAVE_LLROUND 1
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21726 $as_echo_n "checking for llroundl... " >&6; }
21727 if ${gcc_cv_math_func_llroundl+:} false
; then :
21728 $as_echo_n "(cached) " >&6
21730 if test x
$gcc_no_link = xyes
; then
21731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21736 #ifdef HAVE_COMPLEX_H
21737 #include <complex.h>
21743 int (*ptr)() = (int (*)())llroundl;
21752 if ac_fn_c_try_link
"$LINENO"; then :
21753 gcc_cv_math_func_llroundl
=yes
21755 gcc_cv_math_func_llroundl
=no
21757 rm -f core conftest.err conftest.
$ac_objext \
21758 conftest
$ac_exeext conftest.
$ac_ext
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21761 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21762 if test $gcc_cv_math_func_llroundl = yes; then
21764 cat >>confdefs.h
<<_ACEOF
21765 #define HAVE_LLROUNDL 1
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21774 $as_echo_n "checking for scalbnf... " >&6; }
21775 if ${gcc_cv_math_func_scalbnf+:} false
; then :
21776 $as_echo_n "(cached) " >&6
21778 if test x
$gcc_no_link = xyes
; then
21779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21782 /* end confdefs.h. */
21784 #ifdef HAVE_COMPLEX_H
21785 #include <complex.h>
21791 int (*ptr)() = (int (*)())scalbnf;
21800 if ac_fn_c_try_link
"$LINENO"; then :
21801 gcc_cv_math_func_scalbnf
=yes
21803 gcc_cv_math_func_scalbnf
=no
21805 rm -f core conftest.err conftest.
$ac_objext \
21806 conftest
$ac_exeext conftest.
$ac_ext
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21809 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21810 if test $gcc_cv_math_func_scalbnf = yes; then
21812 cat >>confdefs.h
<<_ACEOF
21813 #define HAVE_SCALBNF 1
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21822 $as_echo_n "checking for scalbn... " >&6; }
21823 if ${gcc_cv_math_func_scalbn+:} false
; then :
21824 $as_echo_n "(cached) " >&6
21826 if test x
$gcc_no_link = xyes
; then
21827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21832 #ifdef HAVE_COMPLEX_H
21833 #include <complex.h>
21839 int (*ptr)() = (int (*)())scalbn;
21848 if ac_fn_c_try_link
"$LINENO"; then :
21849 gcc_cv_math_func_scalbn
=yes
21851 gcc_cv_math_func_scalbn
=no
21853 rm -f core conftest.err conftest.
$ac_objext \
21854 conftest
$ac_exeext conftest.
$ac_ext
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21857 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21858 if test $gcc_cv_math_func_scalbn = yes; then
21860 cat >>confdefs.h
<<_ACEOF
21861 #define HAVE_SCALBN 1
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21870 $as_echo_n "checking for scalbnl... " >&6; }
21871 if ${gcc_cv_math_func_scalbnl+:} false
; then :
21872 $as_echo_n "(cached) " >&6
21874 if test x
$gcc_no_link = xyes
; then
21875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21880 #ifdef HAVE_COMPLEX_H
21881 #include <complex.h>
21887 int (*ptr)() = (int (*)())scalbnl;
21896 if ac_fn_c_try_link
"$LINENO"; then :
21897 gcc_cv_math_func_scalbnl
=yes
21899 gcc_cv_math_func_scalbnl
=no
21901 rm -f core conftest.err conftest.
$ac_objext \
21902 conftest
$ac_exeext conftest.
$ac_ext
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21905 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21906 if test $gcc_cv_math_func_scalbnl = yes; then
21908 cat >>confdefs.h
<<_ACEOF
21909 #define HAVE_SCALBNL 1
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21918 $as_echo_n "checking for sinf... " >&6; }
21919 if ${gcc_cv_math_func_sinf+:} false
; then :
21920 $as_echo_n "(cached) " >&6
21922 if test x
$gcc_no_link = xyes
; then
21923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21928 #ifdef HAVE_COMPLEX_H
21929 #include <complex.h>
21935 int (*ptr)() = (int (*)())sinf;
21944 if ac_fn_c_try_link
"$LINENO"; then :
21945 gcc_cv_math_func_sinf
=yes
21947 gcc_cv_math_func_sinf
=no
21949 rm -f core conftest.err conftest.
$ac_objext \
21950 conftest
$ac_exeext conftest.
$ac_ext
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21953 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21954 if test $gcc_cv_math_func_sinf = yes; then
21956 cat >>confdefs.h
<<_ACEOF
21957 #define HAVE_SINF 1
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21966 $as_echo_n "checking for sin... " >&6; }
21967 if ${gcc_cv_math_func_sin+:} false
; then :
21968 $as_echo_n "(cached) " >&6
21970 if test x
$gcc_no_link = xyes
; then
21971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21974 /* end confdefs.h. */
21976 #ifdef HAVE_COMPLEX_H
21977 #include <complex.h>
21983 int (*ptr)() = (int (*)())sin;
21992 if ac_fn_c_try_link
"$LINENO"; then :
21993 gcc_cv_math_func_sin
=yes
21995 gcc_cv_math_func_sin
=no
21997 rm -f core conftest.err conftest.
$ac_objext \
21998 conftest
$ac_exeext conftest.
$ac_ext
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22001 $as_echo "$gcc_cv_math_func_sin" >&6; }
22002 if test $gcc_cv_math_func_sin = yes; then
22004 cat >>confdefs.h
<<_ACEOF
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22014 $as_echo_n "checking for sinl... " >&6; }
22015 if ${gcc_cv_math_func_sinl+:} false
; then :
22016 $as_echo_n "(cached) " >&6
22018 if test x
$gcc_no_link = xyes
; then
22019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22024 #ifdef HAVE_COMPLEX_H
22025 #include <complex.h>
22031 int (*ptr)() = (int (*)())sinl;
22040 if ac_fn_c_try_link
"$LINENO"; then :
22041 gcc_cv_math_func_sinl
=yes
22043 gcc_cv_math_func_sinl
=no
22045 rm -f core conftest.err conftest.
$ac_objext \
22046 conftest
$ac_exeext conftest.
$ac_ext
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22049 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22050 if test $gcc_cv_math_func_sinl = yes; then
22052 cat >>confdefs.h
<<_ACEOF
22053 #define HAVE_SINL 1
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22062 $as_echo_n "checking for csinf... " >&6; }
22063 if ${gcc_cv_math_func_csinf+:} false
; then :
22064 $as_echo_n "(cached) " >&6
22066 if test x
$gcc_no_link = xyes
; then
22067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h. */
22072 #ifdef HAVE_COMPLEX_H
22073 #include <complex.h>
22079 int (*ptr)() = (int (*)())csinf;
22088 if ac_fn_c_try_link
"$LINENO"; then :
22089 gcc_cv_math_func_csinf
=yes
22091 gcc_cv_math_func_csinf
=no
22093 rm -f core conftest.err conftest.
$ac_objext \
22094 conftest
$ac_exeext conftest.
$ac_ext
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22097 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22098 if test $gcc_cv_math_func_csinf = yes; then
22100 cat >>confdefs.h
<<_ACEOF
22101 #define HAVE_CSINF 1
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22110 $as_echo_n "checking for csin... " >&6; }
22111 if ${gcc_cv_math_func_csin+:} false
; then :
22112 $as_echo_n "(cached) " >&6
22114 if test x
$gcc_no_link = xyes
; then
22115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22120 #ifdef HAVE_COMPLEX_H
22121 #include <complex.h>
22127 int (*ptr)() = (int (*)())csin;
22136 if ac_fn_c_try_link
"$LINENO"; then :
22137 gcc_cv_math_func_csin
=yes
22139 gcc_cv_math_func_csin
=no
22141 rm -f core conftest.err conftest.
$ac_objext \
22142 conftest
$ac_exeext conftest.
$ac_ext
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22145 $as_echo "$gcc_cv_math_func_csin" >&6; }
22146 if test $gcc_cv_math_func_csin = yes; then
22148 cat >>confdefs.h
<<_ACEOF
22149 #define HAVE_CSIN 1
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22158 $as_echo_n "checking for csinl... " >&6; }
22159 if ${gcc_cv_math_func_csinl+:} false
; then :
22160 $as_echo_n "(cached) " >&6
22162 if test x
$gcc_no_link = xyes
; then
22163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22166 /* end confdefs.h. */
22168 #ifdef HAVE_COMPLEX_H
22169 #include <complex.h>
22175 int (*ptr)() = (int (*)())csinl;
22184 if ac_fn_c_try_link
"$LINENO"; then :
22185 gcc_cv_math_func_csinl
=yes
22187 gcc_cv_math_func_csinl
=no
22189 rm -f core conftest.err conftest.
$ac_objext \
22190 conftest
$ac_exeext conftest.
$ac_ext
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22193 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22194 if test $gcc_cv_math_func_csinl = yes; then
22196 cat >>confdefs.h
<<_ACEOF
22197 #define HAVE_CSINL 1
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22206 $as_echo_n "checking for sinhf... " >&6; }
22207 if ${gcc_cv_math_func_sinhf+:} false
; then :
22208 $as_echo_n "(cached) " >&6
22210 if test x
$gcc_no_link = xyes
; then
22211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22216 #ifdef HAVE_COMPLEX_H
22217 #include <complex.h>
22223 int (*ptr)() = (int (*)())sinhf;
22232 if ac_fn_c_try_link
"$LINENO"; then :
22233 gcc_cv_math_func_sinhf
=yes
22235 gcc_cv_math_func_sinhf
=no
22237 rm -f core conftest.err conftest.
$ac_objext \
22238 conftest
$ac_exeext conftest.
$ac_ext
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22241 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22242 if test $gcc_cv_math_func_sinhf = yes; then
22244 cat >>confdefs.h
<<_ACEOF
22245 #define HAVE_SINHF 1
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22254 $as_echo_n "checking for sinh... " >&6; }
22255 if ${gcc_cv_math_func_sinh+:} false
; then :
22256 $as_echo_n "(cached) " >&6
22258 if test x
$gcc_no_link = xyes
; then
22259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22264 #ifdef HAVE_COMPLEX_H
22265 #include <complex.h>
22271 int (*ptr)() = (int (*)())sinh;
22280 if ac_fn_c_try_link
"$LINENO"; then :
22281 gcc_cv_math_func_sinh
=yes
22283 gcc_cv_math_func_sinh
=no
22285 rm -f core conftest.err conftest.
$ac_objext \
22286 conftest
$ac_exeext conftest.
$ac_ext
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22289 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22290 if test $gcc_cv_math_func_sinh = yes; then
22292 cat >>confdefs.h
<<_ACEOF
22293 #define HAVE_SINH 1
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22302 $as_echo_n "checking for sinhl... " >&6; }
22303 if ${gcc_cv_math_func_sinhl+:} false
; then :
22304 $as_echo_n "(cached) " >&6
22306 if test x
$gcc_no_link = xyes
; then
22307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22312 #ifdef HAVE_COMPLEX_H
22313 #include <complex.h>
22319 int (*ptr)() = (int (*)())sinhl;
22328 if ac_fn_c_try_link
"$LINENO"; then :
22329 gcc_cv_math_func_sinhl
=yes
22331 gcc_cv_math_func_sinhl
=no
22333 rm -f core conftest.err conftest.
$ac_objext \
22334 conftest
$ac_exeext conftest.
$ac_ext
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22337 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22338 if test $gcc_cv_math_func_sinhl = yes; then
22340 cat >>confdefs.h
<<_ACEOF
22341 #define HAVE_SINHL 1
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22350 $as_echo_n "checking for csinhf... " >&6; }
22351 if ${gcc_cv_math_func_csinhf+:} false
; then :
22352 $as_echo_n "(cached) " >&6
22354 if test x
$gcc_no_link = xyes
; then
22355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22360 #ifdef HAVE_COMPLEX_H
22361 #include <complex.h>
22367 int (*ptr)() = (int (*)())csinhf;
22376 if ac_fn_c_try_link
"$LINENO"; then :
22377 gcc_cv_math_func_csinhf
=yes
22379 gcc_cv_math_func_csinhf
=no
22381 rm -f core conftest.err conftest.
$ac_objext \
22382 conftest
$ac_exeext conftest.
$ac_ext
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22385 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22386 if test $gcc_cv_math_func_csinhf = yes; then
22388 cat >>confdefs.h
<<_ACEOF
22389 #define HAVE_CSINHF 1
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22398 $as_echo_n "checking for csinh... " >&6; }
22399 if ${gcc_cv_math_func_csinh+:} false
; then :
22400 $as_echo_n "(cached) " >&6
22402 if test x
$gcc_no_link = xyes
; then
22403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22408 #ifdef HAVE_COMPLEX_H
22409 #include <complex.h>
22415 int (*ptr)() = (int (*)())csinh;
22424 if ac_fn_c_try_link
"$LINENO"; then :
22425 gcc_cv_math_func_csinh
=yes
22427 gcc_cv_math_func_csinh
=no
22429 rm -f core conftest.err conftest.
$ac_objext \
22430 conftest
$ac_exeext conftest.
$ac_ext
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22433 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22434 if test $gcc_cv_math_func_csinh = yes; then
22436 cat >>confdefs.h
<<_ACEOF
22437 #define HAVE_CSINH 1
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22446 $as_echo_n "checking for csinhl... " >&6; }
22447 if ${gcc_cv_math_func_csinhl+:} false
; then :
22448 $as_echo_n "(cached) " >&6
22450 if test x
$gcc_no_link = xyes
; then
22451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22456 #ifdef HAVE_COMPLEX_H
22457 #include <complex.h>
22463 int (*ptr)() = (int (*)())csinhl;
22472 if ac_fn_c_try_link
"$LINENO"; then :
22473 gcc_cv_math_func_csinhl
=yes
22475 gcc_cv_math_func_csinhl
=no
22477 rm -f core conftest.err conftest.
$ac_objext \
22478 conftest
$ac_exeext conftest.
$ac_ext
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22481 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22482 if test $gcc_cv_math_func_csinhl = yes; then
22484 cat >>confdefs.h
<<_ACEOF
22485 #define HAVE_CSINHL 1
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22494 $as_echo_n "checking for sqrtf... " >&6; }
22495 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22496 $as_echo_n "(cached) " >&6
22498 if test x
$gcc_no_link = xyes
; then
22499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22504 #ifdef HAVE_COMPLEX_H
22505 #include <complex.h>
22511 int (*ptr)() = (int (*)())sqrtf;
22520 if ac_fn_c_try_link
"$LINENO"; then :
22521 gcc_cv_math_func_sqrtf
=yes
22523 gcc_cv_math_func_sqrtf
=no
22525 rm -f core conftest.err conftest.
$ac_objext \
22526 conftest
$ac_exeext conftest.
$ac_ext
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22529 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22530 if test $gcc_cv_math_func_sqrtf = yes; then
22532 cat >>confdefs.h
<<_ACEOF
22533 #define HAVE_SQRTF 1
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22542 $as_echo_n "checking for sqrt... " >&6; }
22543 if ${gcc_cv_math_func_sqrt+:} false
; then :
22544 $as_echo_n "(cached) " >&6
22546 if test x
$gcc_no_link = xyes
; then
22547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22552 #ifdef HAVE_COMPLEX_H
22553 #include <complex.h>
22559 int (*ptr)() = (int (*)())sqrt;
22568 if ac_fn_c_try_link
"$LINENO"; then :
22569 gcc_cv_math_func_sqrt
=yes
22571 gcc_cv_math_func_sqrt
=no
22573 rm -f core conftest.err conftest.
$ac_objext \
22574 conftest
$ac_exeext conftest.
$ac_ext
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22577 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22578 if test $gcc_cv_math_func_sqrt = yes; then
22580 cat >>confdefs.h
<<_ACEOF
22581 #define HAVE_SQRT 1
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22590 $as_echo_n "checking for sqrtl... " >&6; }
22591 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22592 $as_echo_n "(cached) " >&6
22594 if test x
$gcc_no_link = xyes
; then
22595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22600 #ifdef HAVE_COMPLEX_H
22601 #include <complex.h>
22607 int (*ptr)() = (int (*)())sqrtl;
22616 if ac_fn_c_try_link
"$LINENO"; then :
22617 gcc_cv_math_func_sqrtl
=yes
22619 gcc_cv_math_func_sqrtl
=no
22621 rm -f core conftest.err conftest.
$ac_objext \
22622 conftest
$ac_exeext conftest.
$ac_ext
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22625 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22626 if test $gcc_cv_math_func_sqrtl = yes; then
22628 cat >>confdefs.h
<<_ACEOF
22629 #define HAVE_SQRTL 1
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22638 $as_echo_n "checking for csqrtf... " >&6; }
22639 if ${gcc_cv_math_func_csqrtf+:} false
; then :
22640 $as_echo_n "(cached) " >&6
22642 if test x
$gcc_no_link = xyes
; then
22643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22648 #ifdef HAVE_COMPLEX_H
22649 #include <complex.h>
22655 int (*ptr)() = (int (*)())csqrtf;
22664 if ac_fn_c_try_link
"$LINENO"; then :
22665 gcc_cv_math_func_csqrtf
=yes
22667 gcc_cv_math_func_csqrtf
=no
22669 rm -f core conftest.err conftest.
$ac_objext \
22670 conftest
$ac_exeext conftest.
$ac_ext
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22673 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22674 if test $gcc_cv_math_func_csqrtf = yes; then
22676 cat >>confdefs.h
<<_ACEOF
22677 #define HAVE_CSQRTF 1
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22686 $as_echo_n "checking for csqrt... " >&6; }
22687 if ${gcc_cv_math_func_csqrt+:} false
; then :
22688 $as_echo_n "(cached) " >&6
22690 if test x
$gcc_no_link = xyes
; then
22691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22694 /* end confdefs.h. */
22696 #ifdef HAVE_COMPLEX_H
22697 #include <complex.h>
22703 int (*ptr)() = (int (*)())csqrt;
22712 if ac_fn_c_try_link
"$LINENO"; then :
22713 gcc_cv_math_func_csqrt
=yes
22715 gcc_cv_math_func_csqrt
=no
22717 rm -f core conftest.err conftest.
$ac_objext \
22718 conftest
$ac_exeext conftest.
$ac_ext
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22721 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22722 if test $gcc_cv_math_func_csqrt = yes; then
22724 cat >>confdefs.h
<<_ACEOF
22725 #define HAVE_CSQRT 1
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22734 $as_echo_n "checking for csqrtl... " >&6; }
22735 if ${gcc_cv_math_func_csqrtl+:} false
; then :
22736 $as_echo_n "(cached) " >&6
22738 if test x
$gcc_no_link = xyes
; then
22739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h. */
22744 #ifdef HAVE_COMPLEX_H
22745 #include <complex.h>
22751 int (*ptr)() = (int (*)())csqrtl;
22760 if ac_fn_c_try_link
"$LINENO"; then :
22761 gcc_cv_math_func_csqrtl
=yes
22763 gcc_cv_math_func_csqrtl
=no
22765 rm -f core conftest.err conftest.
$ac_objext \
22766 conftest
$ac_exeext conftest.
$ac_ext
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22769 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22770 if test $gcc_cv_math_func_csqrtl = yes; then
22772 cat >>confdefs.h
<<_ACEOF
22773 #define HAVE_CSQRTL 1
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22782 $as_echo_n "checking for tanf... " >&6; }
22783 if ${gcc_cv_math_func_tanf+:} false
; then :
22784 $as_echo_n "(cached) " >&6
22786 if test x
$gcc_no_link = xyes
; then
22787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h. */
22792 #ifdef HAVE_COMPLEX_H
22793 #include <complex.h>
22799 int (*ptr)() = (int (*)())tanf;
22808 if ac_fn_c_try_link
"$LINENO"; then :
22809 gcc_cv_math_func_tanf
=yes
22811 gcc_cv_math_func_tanf
=no
22813 rm -f core conftest.err conftest.
$ac_objext \
22814 conftest
$ac_exeext conftest.
$ac_ext
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22817 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22818 if test $gcc_cv_math_func_tanf = yes; then
22820 cat >>confdefs.h
<<_ACEOF
22821 #define HAVE_TANF 1
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22830 $as_echo_n "checking for tan... " >&6; }
22831 if ${gcc_cv_math_func_tan+:} false
; then :
22832 $as_echo_n "(cached) " >&6
22834 if test x
$gcc_no_link = xyes
; then
22835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22840 #ifdef HAVE_COMPLEX_H
22841 #include <complex.h>
22847 int (*ptr)() = (int (*)())tan;
22856 if ac_fn_c_try_link
"$LINENO"; then :
22857 gcc_cv_math_func_tan
=yes
22859 gcc_cv_math_func_tan
=no
22861 rm -f core conftest.err conftest.
$ac_objext \
22862 conftest
$ac_exeext conftest.
$ac_ext
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22865 $as_echo "$gcc_cv_math_func_tan" >&6; }
22866 if test $gcc_cv_math_func_tan = yes; then
22868 cat >>confdefs.h
<<_ACEOF
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22878 $as_echo_n "checking for tanl... " >&6; }
22879 if ${gcc_cv_math_func_tanl+:} false
; then :
22880 $as_echo_n "(cached) " >&6
22882 if test x
$gcc_no_link = xyes
; then
22883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22888 #ifdef HAVE_COMPLEX_H
22889 #include <complex.h>
22895 int (*ptr)() = (int (*)())tanl;
22904 if ac_fn_c_try_link
"$LINENO"; then :
22905 gcc_cv_math_func_tanl
=yes
22907 gcc_cv_math_func_tanl
=no
22909 rm -f core conftest.err conftest.
$ac_objext \
22910 conftest
$ac_exeext conftest.
$ac_ext
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22913 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22914 if test $gcc_cv_math_func_tanl = yes; then
22916 cat >>confdefs.h
<<_ACEOF
22917 #define HAVE_TANL 1
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22926 $as_echo_n "checking for ctanf... " >&6; }
22927 if ${gcc_cv_math_func_ctanf+:} false
; then :
22928 $as_echo_n "(cached) " >&6
22930 if test x
$gcc_no_link = xyes
; then
22931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h. */
22936 #ifdef HAVE_COMPLEX_H
22937 #include <complex.h>
22943 int (*ptr)() = (int (*)())ctanf;
22952 if ac_fn_c_try_link
"$LINENO"; then :
22953 gcc_cv_math_func_ctanf
=yes
22955 gcc_cv_math_func_ctanf
=no
22957 rm -f core conftest.err conftest.
$ac_objext \
22958 conftest
$ac_exeext conftest.
$ac_ext
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22961 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22962 if test $gcc_cv_math_func_ctanf = yes; then
22964 cat >>confdefs.h
<<_ACEOF
22965 #define HAVE_CTANF 1
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22974 $as_echo_n "checking for ctan... " >&6; }
22975 if ${gcc_cv_math_func_ctan+:} false
; then :
22976 $as_echo_n "(cached) " >&6
22978 if test x
$gcc_no_link = xyes
; then
22979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22984 #ifdef HAVE_COMPLEX_H
22985 #include <complex.h>
22991 int (*ptr)() = (int (*)())ctan;
23000 if ac_fn_c_try_link
"$LINENO"; then :
23001 gcc_cv_math_func_ctan
=yes
23003 gcc_cv_math_func_ctan
=no
23005 rm -f core conftest.err conftest.
$ac_objext \
23006 conftest
$ac_exeext conftest.
$ac_ext
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23009 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23010 if test $gcc_cv_math_func_ctan = yes; then
23012 cat >>confdefs.h
<<_ACEOF
23013 #define HAVE_CTAN 1
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23022 $as_echo_n "checking for ctanl... " >&6; }
23023 if ${gcc_cv_math_func_ctanl+:} false
; then :
23024 $as_echo_n "(cached) " >&6
23026 if test x
$gcc_no_link = xyes
; then
23027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23032 #ifdef HAVE_COMPLEX_H
23033 #include <complex.h>
23039 int (*ptr)() = (int (*)())ctanl;
23048 if ac_fn_c_try_link
"$LINENO"; then :
23049 gcc_cv_math_func_ctanl
=yes
23051 gcc_cv_math_func_ctanl
=no
23053 rm -f core conftest.err conftest.
$ac_objext \
23054 conftest
$ac_exeext conftest.
$ac_ext
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23057 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23058 if test $gcc_cv_math_func_ctanl = yes; then
23060 cat >>confdefs.h
<<_ACEOF
23061 #define HAVE_CTANL 1
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23070 $as_echo_n "checking for tanhf... " >&6; }
23071 if ${gcc_cv_math_func_tanhf+:} false
; then :
23072 $as_echo_n "(cached) " >&6
23074 if test x
$gcc_no_link = xyes
; then
23075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23080 #ifdef HAVE_COMPLEX_H
23081 #include <complex.h>
23087 int (*ptr)() = (int (*)())tanhf;
23096 if ac_fn_c_try_link
"$LINENO"; then :
23097 gcc_cv_math_func_tanhf
=yes
23099 gcc_cv_math_func_tanhf
=no
23101 rm -f core conftest.err conftest.
$ac_objext \
23102 conftest
$ac_exeext conftest.
$ac_ext
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23105 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23106 if test $gcc_cv_math_func_tanhf = yes; then
23108 cat >>confdefs.h
<<_ACEOF
23109 #define HAVE_TANHF 1
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23118 $as_echo_n "checking for tanh... " >&6; }
23119 if ${gcc_cv_math_func_tanh+:} false
; then :
23120 $as_echo_n "(cached) " >&6
23122 if test x
$gcc_no_link = xyes
; then
23123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23126 /* end confdefs.h. */
23128 #ifdef HAVE_COMPLEX_H
23129 #include <complex.h>
23135 int (*ptr)() = (int (*)())tanh;
23144 if ac_fn_c_try_link
"$LINENO"; then :
23145 gcc_cv_math_func_tanh
=yes
23147 gcc_cv_math_func_tanh
=no
23149 rm -f core conftest.err conftest.
$ac_objext \
23150 conftest
$ac_exeext conftest.
$ac_ext
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23153 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23154 if test $gcc_cv_math_func_tanh = yes; then
23156 cat >>confdefs.h
<<_ACEOF
23157 #define HAVE_TANH 1
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23166 $as_echo_n "checking for tanhl... " >&6; }
23167 if ${gcc_cv_math_func_tanhl+:} false
; then :
23168 $as_echo_n "(cached) " >&6
23170 if test x
$gcc_no_link = xyes
; then
23171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23176 #ifdef HAVE_COMPLEX_H
23177 #include <complex.h>
23183 int (*ptr)() = (int (*)())tanhl;
23192 if ac_fn_c_try_link
"$LINENO"; then :
23193 gcc_cv_math_func_tanhl
=yes
23195 gcc_cv_math_func_tanhl
=no
23197 rm -f core conftest.err conftest.
$ac_objext \
23198 conftest
$ac_exeext conftest.
$ac_ext
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23201 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23202 if test $gcc_cv_math_func_tanhl = yes; then
23204 cat >>confdefs.h
<<_ACEOF
23205 #define HAVE_TANHL 1
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23214 $as_echo_n "checking for ctanhf... " >&6; }
23215 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23216 $as_echo_n "(cached) " >&6
23218 if test x
$gcc_no_link = xyes
; then
23219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23224 #ifdef HAVE_COMPLEX_H
23225 #include <complex.h>
23231 int (*ptr)() = (int (*)())ctanhf;
23240 if ac_fn_c_try_link
"$LINENO"; then :
23241 gcc_cv_math_func_ctanhf
=yes
23243 gcc_cv_math_func_ctanhf
=no
23245 rm -f core conftest.err conftest.
$ac_objext \
23246 conftest
$ac_exeext conftest.
$ac_ext
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23249 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23250 if test $gcc_cv_math_func_ctanhf = yes; then
23252 cat >>confdefs.h
<<_ACEOF
23253 #define HAVE_CTANHF 1
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23262 $as_echo_n "checking for ctanh... " >&6; }
23263 if ${gcc_cv_math_func_ctanh+:} false
; then :
23264 $as_echo_n "(cached) " >&6
23266 if test x
$gcc_no_link = xyes
; then
23267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23270 /* end confdefs.h. */
23272 #ifdef HAVE_COMPLEX_H
23273 #include <complex.h>
23279 int (*ptr)() = (int (*)())ctanh;
23288 if ac_fn_c_try_link
"$LINENO"; then :
23289 gcc_cv_math_func_ctanh
=yes
23291 gcc_cv_math_func_ctanh
=no
23293 rm -f core conftest.err conftest.
$ac_objext \
23294 conftest
$ac_exeext conftest.
$ac_ext
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23297 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23298 if test $gcc_cv_math_func_ctanh = yes; then
23300 cat >>confdefs.h
<<_ACEOF
23301 #define HAVE_CTANH 1
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23310 $as_echo_n "checking for ctanhl... " >&6; }
23311 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23312 $as_echo_n "(cached) " >&6
23314 if test x
$gcc_no_link = xyes
; then
23315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23320 #ifdef HAVE_COMPLEX_H
23321 #include <complex.h>
23327 int (*ptr)() = (int (*)())ctanhl;
23336 if ac_fn_c_try_link
"$LINENO"; then :
23337 gcc_cv_math_func_ctanhl
=yes
23339 gcc_cv_math_func_ctanhl
=no
23341 rm -f core conftest.err conftest.
$ac_objext \
23342 conftest
$ac_exeext conftest.
$ac_ext
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23345 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23346 if test $gcc_cv_math_func_ctanhl = yes; then
23348 cat >>confdefs.h
<<_ACEOF
23349 #define HAVE_CTANHL 1
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23358 $as_echo_n "checking for truncf... " >&6; }
23359 if ${gcc_cv_math_func_truncf+:} false
; then :
23360 $as_echo_n "(cached) " >&6
23362 if test x
$gcc_no_link = xyes
; then
23363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23368 #ifdef HAVE_COMPLEX_H
23369 #include <complex.h>
23375 int (*ptr)() = (int (*)())truncf;
23384 if ac_fn_c_try_link
"$LINENO"; then :
23385 gcc_cv_math_func_truncf
=yes
23387 gcc_cv_math_func_truncf
=no
23389 rm -f core conftest.err conftest.
$ac_objext \
23390 conftest
$ac_exeext conftest.
$ac_ext
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23393 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23394 if test $gcc_cv_math_func_truncf = yes; then
23396 cat >>confdefs.h
<<_ACEOF
23397 #define HAVE_TRUNCF 1
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23406 $as_echo_n "checking for trunc... " >&6; }
23407 if ${gcc_cv_math_func_trunc+:} false
; then :
23408 $as_echo_n "(cached) " >&6
23410 if test x
$gcc_no_link = xyes
; then
23411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23416 #ifdef HAVE_COMPLEX_H
23417 #include <complex.h>
23423 int (*ptr)() = (int (*)())trunc;
23432 if ac_fn_c_try_link
"$LINENO"; then :
23433 gcc_cv_math_func_trunc
=yes
23435 gcc_cv_math_func_trunc
=no
23437 rm -f core conftest.err conftest.
$ac_objext \
23438 conftest
$ac_exeext conftest.
$ac_ext
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23441 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23442 if test $gcc_cv_math_func_trunc = yes; then
23444 cat >>confdefs.h
<<_ACEOF
23445 #define HAVE_TRUNC 1
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23454 $as_echo_n "checking for truncl... " >&6; }
23455 if ${gcc_cv_math_func_truncl+:} false
; then :
23456 $as_echo_n "(cached) " >&6
23458 if test x
$gcc_no_link = xyes
; then
23459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23464 #ifdef HAVE_COMPLEX_H
23465 #include <complex.h>
23471 int (*ptr)() = (int (*)())truncl;
23480 if ac_fn_c_try_link
"$LINENO"; then :
23481 gcc_cv_math_func_truncl
=yes
23483 gcc_cv_math_func_truncl
=no
23485 rm -f core conftest.err conftest.
$ac_objext \
23486 conftest
$ac_exeext conftest.
$ac_ext
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23489 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23490 if test $gcc_cv_math_func_truncl = yes; then
23492 cat >>confdefs.h
<<_ACEOF
23493 #define HAVE_TRUNCL 1
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23502 $as_echo_n "checking for erff... " >&6; }
23503 if ${gcc_cv_math_func_erff+:} false
; then :
23504 $as_echo_n "(cached) " >&6
23506 if test x
$gcc_no_link = xyes
; then
23507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23512 #ifdef HAVE_COMPLEX_H
23513 #include <complex.h>
23519 int (*ptr)() = (int (*)())erff;
23528 if ac_fn_c_try_link
"$LINENO"; then :
23529 gcc_cv_math_func_erff
=yes
23531 gcc_cv_math_func_erff
=no
23533 rm -f core conftest.err conftest.
$ac_objext \
23534 conftest
$ac_exeext conftest.
$ac_ext
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23537 $as_echo "$gcc_cv_math_func_erff" >&6; }
23538 if test $gcc_cv_math_func_erff = yes; then
23540 cat >>confdefs.h
<<_ACEOF
23541 #define HAVE_ERFF 1
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23550 $as_echo_n "checking for erf... " >&6; }
23551 if ${gcc_cv_math_func_erf+:} false
; then :
23552 $as_echo_n "(cached) " >&6
23554 if test x
$gcc_no_link = xyes
; then
23555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h. */
23560 #ifdef HAVE_COMPLEX_H
23561 #include <complex.h>
23567 int (*ptr)() = (int (*)())erf;
23576 if ac_fn_c_try_link
"$LINENO"; then :
23577 gcc_cv_math_func_erf
=yes
23579 gcc_cv_math_func_erf
=no
23581 rm -f core conftest.err conftest.
$ac_objext \
23582 conftest
$ac_exeext conftest.
$ac_ext
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23585 $as_echo "$gcc_cv_math_func_erf" >&6; }
23586 if test $gcc_cv_math_func_erf = yes; then
23588 cat >>confdefs.h
<<_ACEOF
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23598 $as_echo_n "checking for erfcf... " >&6; }
23599 if ${gcc_cv_math_func_erfcf+:} false
; then :
23600 $as_echo_n "(cached) " >&6
23602 if test x
$gcc_no_link = xyes
; then
23603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23606 /* end confdefs.h. */
23608 #ifdef HAVE_COMPLEX_H
23609 #include <complex.h>
23615 int (*ptr)() = (int (*)())erfcf;
23624 if ac_fn_c_try_link
"$LINENO"; then :
23625 gcc_cv_math_func_erfcf
=yes
23627 gcc_cv_math_func_erfcf
=no
23629 rm -f core conftest.err conftest.
$ac_objext \
23630 conftest
$ac_exeext conftest.
$ac_ext
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23633 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23634 if test $gcc_cv_math_func_erfcf = yes; then
23636 cat >>confdefs.h
<<_ACEOF
23637 #define HAVE_ERFCF 1
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23646 $as_echo_n "checking for erfc... " >&6; }
23647 if ${gcc_cv_math_func_erfc+:} false
; then :
23648 $as_echo_n "(cached) " >&6
23650 if test x
$gcc_no_link = xyes
; then
23651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23656 #ifdef HAVE_COMPLEX_H
23657 #include <complex.h>
23663 int (*ptr)() = (int (*)())erfc;
23672 if ac_fn_c_try_link
"$LINENO"; then :
23673 gcc_cv_math_func_erfc
=yes
23675 gcc_cv_math_func_erfc
=no
23677 rm -f core conftest.err conftest.
$ac_objext \
23678 conftest
$ac_exeext conftest.
$ac_ext
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23681 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23682 if test $gcc_cv_math_func_erfc = yes; then
23684 cat >>confdefs.h
<<_ACEOF
23685 #define HAVE_ERFC 1
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23694 $as_echo_n "checking for erfcl... " >&6; }
23695 if ${gcc_cv_math_func_erfcl+:} false
; then :
23696 $as_echo_n "(cached) " >&6
23698 if test x
$gcc_no_link = xyes
; then
23699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23702 /* end confdefs.h. */
23704 #ifdef HAVE_COMPLEX_H
23705 #include <complex.h>
23711 int (*ptr)() = (int (*)())erfcl;
23720 if ac_fn_c_try_link
"$LINENO"; then :
23721 gcc_cv_math_func_erfcl
=yes
23723 gcc_cv_math_func_erfcl
=no
23725 rm -f core conftest.err conftest.
$ac_objext \
23726 conftest
$ac_exeext conftest.
$ac_ext
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23729 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23730 if test $gcc_cv_math_func_erfcl = yes; then
23732 cat >>confdefs.h
<<_ACEOF
23733 #define HAVE_ERFCL 1
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23742 $as_echo_n "checking for j0f... " >&6; }
23743 if ${gcc_cv_math_func_j0f+:} false
; then :
23744 $as_echo_n "(cached) " >&6
23746 if test x
$gcc_no_link = xyes
; then
23747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23752 #ifdef HAVE_COMPLEX_H
23753 #include <complex.h>
23759 int (*ptr)() = (int (*)())j0f;
23768 if ac_fn_c_try_link
"$LINENO"; then :
23769 gcc_cv_math_func_j0f
=yes
23771 gcc_cv_math_func_j0f
=no
23773 rm -f core conftest.err conftest.
$ac_objext \
23774 conftest
$ac_exeext conftest.
$ac_ext
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23777 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23778 if test $gcc_cv_math_func_j0f = yes; then
23780 cat >>confdefs.h
<<_ACEOF
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23790 $as_echo_n "checking for j0... " >&6; }
23791 if ${gcc_cv_math_func_j0+:} false
; then :
23792 $as_echo_n "(cached) " >&6
23794 if test x
$gcc_no_link = xyes
; then
23795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23800 #ifdef HAVE_COMPLEX_H
23801 #include <complex.h>
23807 int (*ptr)() = (int (*)())j0;
23816 if ac_fn_c_try_link
"$LINENO"; then :
23817 gcc_cv_math_func_j0
=yes
23819 gcc_cv_math_func_j0
=no
23821 rm -f core conftest.err conftest.
$ac_objext \
23822 conftest
$ac_exeext conftest.
$ac_ext
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23825 $as_echo "$gcc_cv_math_func_j0" >&6; }
23826 if test $gcc_cv_math_func_j0 = yes; then
23828 cat >>confdefs.h
<<_ACEOF
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23838 $as_echo_n "checking for j1f... " >&6; }
23839 if ${gcc_cv_math_func_j1f+:} false
; then :
23840 $as_echo_n "(cached) " >&6
23842 if test x
$gcc_no_link = xyes
; then
23843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23846 /* end confdefs.h. */
23848 #ifdef HAVE_COMPLEX_H
23849 #include <complex.h>
23855 int (*ptr)() = (int (*)())j1f;
23864 if ac_fn_c_try_link
"$LINENO"; then :
23865 gcc_cv_math_func_j1f
=yes
23867 gcc_cv_math_func_j1f
=no
23869 rm -f core conftest.err conftest.
$ac_objext \
23870 conftest
$ac_exeext conftest.
$ac_ext
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23873 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23874 if test $gcc_cv_math_func_j1f = yes; then
23876 cat >>confdefs.h
<<_ACEOF
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23886 $as_echo_n "checking for j1... " >&6; }
23887 if ${gcc_cv_math_func_j1+:} false
; then :
23888 $as_echo_n "(cached) " >&6
23890 if test x
$gcc_no_link = xyes
; then
23891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23896 #ifdef HAVE_COMPLEX_H
23897 #include <complex.h>
23903 int (*ptr)() = (int (*)())j1;
23912 if ac_fn_c_try_link
"$LINENO"; then :
23913 gcc_cv_math_func_j1
=yes
23915 gcc_cv_math_func_j1
=no
23917 rm -f core conftest.err conftest.
$ac_objext \
23918 conftest
$ac_exeext conftest.
$ac_ext
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23921 $as_echo "$gcc_cv_math_func_j1" >&6; }
23922 if test $gcc_cv_math_func_j1 = yes; then
23924 cat >>confdefs.h
<<_ACEOF
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23934 $as_echo_n "checking for jnf... " >&6; }
23935 if ${gcc_cv_math_func_jnf+:} false
; then :
23936 $as_echo_n "(cached) " >&6
23938 if test x
$gcc_no_link = xyes
; then
23939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h. */
23944 #ifdef HAVE_COMPLEX_H
23945 #include <complex.h>
23951 int (*ptr)() = (int (*)())jnf;
23960 if ac_fn_c_try_link
"$LINENO"; then :
23961 gcc_cv_math_func_jnf
=yes
23963 gcc_cv_math_func_jnf
=no
23965 rm -f core conftest.err conftest.
$ac_objext \
23966 conftest
$ac_exeext conftest.
$ac_ext
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23969 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23970 if test $gcc_cv_math_func_jnf = yes; then
23972 cat >>confdefs.h
<<_ACEOF
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23982 $as_echo_n "checking for jn... " >&6; }
23983 if ${gcc_cv_math_func_jn+:} false
; then :
23984 $as_echo_n "(cached) " >&6
23986 if test x
$gcc_no_link = xyes
; then
23987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23990 /* end confdefs.h. */
23992 #ifdef HAVE_COMPLEX_H
23993 #include <complex.h>
23999 int (*ptr)() = (int (*)())jn;
24008 if ac_fn_c_try_link
"$LINENO"; then :
24009 gcc_cv_math_func_jn
=yes
24011 gcc_cv_math_func_jn
=no
24013 rm -f core conftest.err conftest.
$ac_objext \
24014 conftest
$ac_exeext conftest.
$ac_ext
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24017 $as_echo "$gcc_cv_math_func_jn" >&6; }
24018 if test $gcc_cv_math_func_jn = yes; then
24020 cat >>confdefs.h
<<_ACEOF
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24030 $as_echo_n "checking for jnl... " >&6; }
24031 if ${gcc_cv_math_func_jnl+:} false
; then :
24032 $as_echo_n "(cached) " >&6
24034 if test x
$gcc_no_link = xyes
; then
24035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24040 #ifdef HAVE_COMPLEX_H
24041 #include <complex.h>
24047 int (*ptr)() = (int (*)())jnl;
24056 if ac_fn_c_try_link
"$LINENO"; then :
24057 gcc_cv_math_func_jnl
=yes
24059 gcc_cv_math_func_jnl
=no
24061 rm -f core conftest.err conftest.
$ac_objext \
24062 conftest
$ac_exeext conftest.
$ac_ext
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24065 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24066 if test $gcc_cv_math_func_jnl = yes; then
24068 cat >>confdefs.h
<<_ACEOF
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24078 $as_echo_n "checking for y0f... " >&6; }
24079 if ${gcc_cv_math_func_y0f+:} false
; then :
24080 $as_echo_n "(cached) " >&6
24082 if test x
$gcc_no_link = xyes
; then
24083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24088 #ifdef HAVE_COMPLEX_H
24089 #include <complex.h>
24095 int (*ptr)() = (int (*)())y0f;
24104 if ac_fn_c_try_link
"$LINENO"; then :
24105 gcc_cv_math_func_y0f
=yes
24107 gcc_cv_math_func_y0f
=no
24109 rm -f core conftest.err conftest.
$ac_objext \
24110 conftest
$ac_exeext conftest.
$ac_ext
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24113 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24114 if test $gcc_cv_math_func_y0f = yes; then
24116 cat >>confdefs.h
<<_ACEOF
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24126 $as_echo_n "checking for y0... " >&6; }
24127 if ${gcc_cv_math_func_y0+:} false
; then :
24128 $as_echo_n "(cached) " >&6
24130 if test x
$gcc_no_link = xyes
; then
24131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24136 #ifdef HAVE_COMPLEX_H
24137 #include <complex.h>
24143 int (*ptr)() = (int (*)())y0;
24152 if ac_fn_c_try_link
"$LINENO"; then :
24153 gcc_cv_math_func_y0
=yes
24155 gcc_cv_math_func_y0
=no
24157 rm -f core conftest.err conftest.
$ac_objext \
24158 conftest
$ac_exeext conftest.
$ac_ext
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24161 $as_echo "$gcc_cv_math_func_y0" >&6; }
24162 if test $gcc_cv_math_func_y0 = yes; then
24164 cat >>confdefs.h
<<_ACEOF
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24174 $as_echo_n "checking for y1f... " >&6; }
24175 if ${gcc_cv_math_func_y1f+:} false
; then :
24176 $as_echo_n "(cached) " >&6
24178 if test x
$gcc_no_link = xyes
; then
24179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24182 /* end confdefs.h. */
24184 #ifdef HAVE_COMPLEX_H
24185 #include <complex.h>
24191 int (*ptr)() = (int (*)())y1f;
24200 if ac_fn_c_try_link
"$LINENO"; then :
24201 gcc_cv_math_func_y1f
=yes
24203 gcc_cv_math_func_y1f
=no
24205 rm -f core conftest.err conftest.
$ac_objext \
24206 conftest
$ac_exeext conftest.
$ac_ext
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24209 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24210 if test $gcc_cv_math_func_y1f = yes; then
24212 cat >>confdefs.h
<<_ACEOF
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24222 $as_echo_n "checking for y1... " >&6; }
24223 if ${gcc_cv_math_func_y1+:} false
; then :
24224 $as_echo_n "(cached) " >&6
24226 if test x
$gcc_no_link = xyes
; then
24227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24232 #ifdef HAVE_COMPLEX_H
24233 #include <complex.h>
24239 int (*ptr)() = (int (*)())y1;
24248 if ac_fn_c_try_link
"$LINENO"; then :
24249 gcc_cv_math_func_y1
=yes
24251 gcc_cv_math_func_y1
=no
24253 rm -f core conftest.err conftest.
$ac_objext \
24254 conftest
$ac_exeext conftest.
$ac_ext
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24257 $as_echo "$gcc_cv_math_func_y1" >&6; }
24258 if test $gcc_cv_math_func_y1 = yes; then
24260 cat >>confdefs.h
<<_ACEOF
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24270 $as_echo_n "checking for ynf... " >&6; }
24271 if ${gcc_cv_math_func_ynf+:} false
; then :
24272 $as_echo_n "(cached) " >&6
24274 if test x
$gcc_no_link = xyes
; then
24275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24280 #ifdef HAVE_COMPLEX_H
24281 #include <complex.h>
24287 int (*ptr)() = (int (*)())ynf;
24296 if ac_fn_c_try_link
"$LINENO"; then :
24297 gcc_cv_math_func_ynf
=yes
24299 gcc_cv_math_func_ynf
=no
24301 rm -f core conftest.err conftest.
$ac_objext \
24302 conftest
$ac_exeext conftest.
$ac_ext
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24305 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24306 if test $gcc_cv_math_func_ynf = yes; then
24308 cat >>confdefs.h
<<_ACEOF
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24318 $as_echo_n "checking for yn... " >&6; }
24319 if ${gcc_cv_math_func_yn+:} false
; then :
24320 $as_echo_n "(cached) " >&6
24322 if test x
$gcc_no_link = xyes
; then
24323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24328 #ifdef HAVE_COMPLEX_H
24329 #include <complex.h>
24335 int (*ptr)() = (int (*)())yn;
24344 if ac_fn_c_try_link
"$LINENO"; then :
24345 gcc_cv_math_func_yn
=yes
24347 gcc_cv_math_func_yn
=no
24349 rm -f core conftest.err conftest.
$ac_objext \
24350 conftest
$ac_exeext conftest.
$ac_ext
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24353 $as_echo "$gcc_cv_math_func_yn" >&6; }
24354 if test $gcc_cv_math_func_yn = yes; then
24356 cat >>confdefs.h
<<_ACEOF
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24366 $as_echo_n "checking for ynl... " >&6; }
24367 if ${gcc_cv_math_func_ynl+:} false
; then :
24368 $as_echo_n "(cached) " >&6
24370 if test x
$gcc_no_link = xyes
; then
24371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24376 #ifdef HAVE_COMPLEX_H
24377 #include <complex.h>
24383 int (*ptr)() = (int (*)())ynl;
24392 if ac_fn_c_try_link
"$LINENO"; then :
24393 gcc_cv_math_func_ynl
=yes
24395 gcc_cv_math_func_ynl
=no
24397 rm -f core conftest.err conftest.
$ac_objext \
24398 conftest
$ac_exeext conftest.
$ac_ext
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24401 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24402 if test $gcc_cv_math_func_ynl = yes; then
24404 cat >>confdefs.h
<<_ACEOF
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24414 $as_echo_n "checking for tgamma... " >&6; }
24415 if ${gcc_cv_math_func_tgamma+:} false
; then :
24416 $as_echo_n "(cached) " >&6
24418 if test x
$gcc_no_link = xyes
; then
24419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24422 /* end confdefs.h. */
24424 #ifdef HAVE_COMPLEX_H
24425 #include <complex.h>
24431 int (*ptr)() = (int (*)())tgamma;
24440 if ac_fn_c_try_link
"$LINENO"; then :
24441 gcc_cv_math_func_tgamma
=yes
24443 gcc_cv_math_func_tgamma
=no
24445 rm -f core conftest.err conftest.
$ac_objext \
24446 conftest
$ac_exeext conftest.
$ac_ext
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24449 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24450 if test $gcc_cv_math_func_tgamma = yes; then
24452 cat >>confdefs.h
<<_ACEOF
24453 #define HAVE_TGAMMA 1
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24462 $as_echo_n "checking for tgammaf... " >&6; }
24463 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24464 $as_echo_n "(cached) " >&6
24466 if test x
$gcc_no_link = xyes
; then
24467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24470 /* end confdefs.h. */
24472 #ifdef HAVE_COMPLEX_H
24473 #include <complex.h>
24479 int (*ptr)() = (int (*)())tgammaf;
24488 if ac_fn_c_try_link
"$LINENO"; then :
24489 gcc_cv_math_func_tgammaf
=yes
24491 gcc_cv_math_func_tgammaf
=no
24493 rm -f core conftest.err conftest.
$ac_objext \
24494 conftest
$ac_exeext conftest.
$ac_ext
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24497 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24498 if test $gcc_cv_math_func_tgammaf = yes; then
24500 cat >>confdefs.h
<<_ACEOF
24501 #define HAVE_TGAMMAF 1
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24510 $as_echo_n "checking for lgamma... " >&6; }
24511 if ${gcc_cv_math_func_lgamma+:} false
; then :
24512 $as_echo_n "(cached) " >&6
24514 if test x
$gcc_no_link = xyes
; then
24515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24518 /* end confdefs.h. */
24520 #ifdef HAVE_COMPLEX_H
24521 #include <complex.h>
24527 int (*ptr)() = (int (*)())lgamma;
24536 if ac_fn_c_try_link
"$LINENO"; then :
24537 gcc_cv_math_func_lgamma
=yes
24539 gcc_cv_math_func_lgamma
=no
24541 rm -f core conftest.err conftest.
$ac_objext \
24542 conftest
$ac_exeext conftest.
$ac_ext
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24545 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24546 if test $gcc_cv_math_func_lgamma = yes; then
24548 cat >>confdefs.h
<<_ACEOF
24549 #define HAVE_LGAMMA 1
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24558 $as_echo_n "checking for lgammaf... " >&6; }
24559 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24560 $as_echo_n "(cached) " >&6
24562 if test x
$gcc_no_link = xyes
; then
24563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24568 #ifdef HAVE_COMPLEX_H
24569 #include <complex.h>
24575 int (*ptr)() = (int (*)())lgammaf;
24584 if ac_fn_c_try_link
"$LINENO"; then :
24585 gcc_cv_math_func_lgammaf
=yes
24587 gcc_cv_math_func_lgammaf
=no
24589 rm -f core conftest.err conftest.
$ac_objext \
24590 conftest
$ac_exeext conftest.
$ac_ext
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24593 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24594 if test $gcc_cv_math_func_lgammaf = yes; then
24596 cat >>confdefs.h
<<_ACEOF
24597 #define HAVE_LGAMMAF 1
24603 # Check for GFORTRAN_C99_1.1 funcs
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24608 $as_echo_n "checking for cacos... " >&6; }
24609 if ${gcc_cv_math_func_cacos+:} false
; then :
24610 $as_echo_n "(cached) " >&6
24612 if test x
$gcc_no_link = xyes
; then
24613 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24618 #ifdef HAVE_COMPLEX_H
24619 #include <complex.h>
24625 int (*ptr)() = (int (*)())cacos;
24634 if ac_fn_c_try_link
"$LINENO"; then :
24635 gcc_cv_math_func_cacos
=yes
24637 gcc_cv_math_func_cacos
=no
24639 rm -f core conftest.err conftest.
$ac_objext \
24640 conftest
$ac_exeext conftest.
$ac_ext
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24643 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24644 if test $gcc_cv_math_func_cacos = yes; then
24646 cat >>confdefs.h
<<_ACEOF
24647 #define HAVE_CACOS 1
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24656 $as_echo_n "checking for cacosf... " >&6; }
24657 if ${gcc_cv_math_func_cacosf+:} false
; then :
24658 $as_echo_n "(cached) " >&6
24660 if test x
$gcc_no_link = xyes
; then
24661 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24666 #ifdef HAVE_COMPLEX_H
24667 #include <complex.h>
24673 int (*ptr)() = (int (*)())cacosf;
24682 if ac_fn_c_try_link
"$LINENO"; then :
24683 gcc_cv_math_func_cacosf
=yes
24685 gcc_cv_math_func_cacosf
=no
24687 rm -f core conftest.err conftest.
$ac_objext \
24688 conftest
$ac_exeext conftest.
$ac_ext
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24691 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24692 if test $gcc_cv_math_func_cacosf = yes; then
24694 cat >>confdefs.h
<<_ACEOF
24695 #define HAVE_CACOSF 1
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24704 $as_echo_n "checking for cacosh... " >&6; }
24705 if ${gcc_cv_math_func_cacosh+:} false
; then :
24706 $as_echo_n "(cached) " >&6
24708 if test x
$gcc_no_link = xyes
; then
24709 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24714 #ifdef HAVE_COMPLEX_H
24715 #include <complex.h>
24721 int (*ptr)() = (int (*)())cacosh;
24730 if ac_fn_c_try_link
"$LINENO"; then :
24731 gcc_cv_math_func_cacosh
=yes
24733 gcc_cv_math_func_cacosh
=no
24735 rm -f core conftest.err conftest.
$ac_objext \
24736 conftest
$ac_exeext conftest.
$ac_ext
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24739 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24740 if test $gcc_cv_math_func_cacosh = yes; then
24742 cat >>confdefs.h
<<_ACEOF
24743 #define HAVE_CACOSH 1
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24752 $as_echo_n "checking for cacoshf... " >&6; }
24753 if ${gcc_cv_math_func_cacoshf+:} false
; then :
24754 $as_echo_n "(cached) " >&6
24756 if test x
$gcc_no_link = xyes
; then
24757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24762 #ifdef HAVE_COMPLEX_H
24763 #include <complex.h>
24769 int (*ptr)() = (int (*)())cacoshf;
24778 if ac_fn_c_try_link
"$LINENO"; then :
24779 gcc_cv_math_func_cacoshf
=yes
24781 gcc_cv_math_func_cacoshf
=no
24783 rm -f core conftest.err conftest.
$ac_objext \
24784 conftest
$ac_exeext conftest.
$ac_ext
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24787 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24788 if test $gcc_cv_math_func_cacoshf = yes; then
24790 cat >>confdefs.h
<<_ACEOF
24791 #define HAVE_CACOSHF 1
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24800 $as_echo_n "checking for cacoshl... " >&6; }
24801 if ${gcc_cv_math_func_cacoshl+:} false
; then :
24802 $as_echo_n "(cached) " >&6
24804 if test x
$gcc_no_link = xyes
; then
24805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24808 /* end confdefs.h. */
24810 #ifdef HAVE_COMPLEX_H
24811 #include <complex.h>
24817 int (*ptr)() = (int (*)())cacoshl;
24826 if ac_fn_c_try_link
"$LINENO"; then :
24827 gcc_cv_math_func_cacoshl
=yes
24829 gcc_cv_math_func_cacoshl
=no
24831 rm -f core conftest.err conftest.
$ac_objext \
24832 conftest
$ac_exeext conftest.
$ac_ext
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24835 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24836 if test $gcc_cv_math_func_cacoshl = yes; then
24838 cat >>confdefs.h
<<_ACEOF
24839 #define HAVE_CACOSHL 1
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24848 $as_echo_n "checking for cacosl... " >&6; }
24849 if ${gcc_cv_math_func_cacosl+:} false
; then :
24850 $as_echo_n "(cached) " >&6
24852 if test x
$gcc_no_link = xyes
; then
24853 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24858 #ifdef HAVE_COMPLEX_H
24859 #include <complex.h>
24865 int (*ptr)() = (int (*)())cacosl;
24874 if ac_fn_c_try_link
"$LINENO"; then :
24875 gcc_cv_math_func_cacosl
=yes
24877 gcc_cv_math_func_cacosl
=no
24879 rm -f core conftest.err conftest.
$ac_objext \
24880 conftest
$ac_exeext conftest.
$ac_ext
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24883 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24884 if test $gcc_cv_math_func_cacosl = yes; then
24886 cat >>confdefs.h
<<_ACEOF
24887 #define HAVE_CACOSL 1
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24896 $as_echo_n "checking for casin... " >&6; }
24897 if ${gcc_cv_math_func_casin+:} false
; then :
24898 $as_echo_n "(cached) " >&6
24900 if test x
$gcc_no_link = xyes
; then
24901 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24906 #ifdef HAVE_COMPLEX_H
24907 #include <complex.h>
24913 int (*ptr)() = (int (*)())casin;
24922 if ac_fn_c_try_link
"$LINENO"; then :
24923 gcc_cv_math_func_casin
=yes
24925 gcc_cv_math_func_casin
=no
24927 rm -f core conftest.err conftest.
$ac_objext \
24928 conftest
$ac_exeext conftest.
$ac_ext
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24931 $as_echo "$gcc_cv_math_func_casin" >&6; }
24932 if test $gcc_cv_math_func_casin = yes; then
24934 cat >>confdefs.h
<<_ACEOF
24935 #define HAVE_CASIN 1
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24944 $as_echo_n "checking for casinf... " >&6; }
24945 if ${gcc_cv_math_func_casinf+:} false
; then :
24946 $as_echo_n "(cached) " >&6
24948 if test x
$gcc_no_link = xyes
; then
24949 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24954 #ifdef HAVE_COMPLEX_H
24955 #include <complex.h>
24961 int (*ptr)() = (int (*)())casinf;
24970 if ac_fn_c_try_link
"$LINENO"; then :
24971 gcc_cv_math_func_casinf
=yes
24973 gcc_cv_math_func_casinf
=no
24975 rm -f core conftest.err conftest.
$ac_objext \
24976 conftest
$ac_exeext conftest.
$ac_ext
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24979 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24980 if test $gcc_cv_math_func_casinf = yes; then
24982 cat >>confdefs.h
<<_ACEOF
24983 #define HAVE_CASINF 1
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24992 $as_echo_n "checking for casinh... " >&6; }
24993 if ${gcc_cv_math_func_casinh+:} false
; then :
24994 $as_echo_n "(cached) " >&6
24996 if test x
$gcc_no_link = xyes
; then
24997 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25000 /* end confdefs.h. */
25002 #ifdef HAVE_COMPLEX_H
25003 #include <complex.h>
25009 int (*ptr)() = (int (*)())casinh;
25018 if ac_fn_c_try_link
"$LINENO"; then :
25019 gcc_cv_math_func_casinh
=yes
25021 gcc_cv_math_func_casinh
=no
25023 rm -f core conftest.err conftest.
$ac_objext \
25024 conftest
$ac_exeext conftest.
$ac_ext
25026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25027 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25028 if test $gcc_cv_math_func_casinh = yes; then
25030 cat >>confdefs.h
<<_ACEOF
25031 #define HAVE_CASINH 1
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25040 $as_echo_n "checking for casinhf... " >&6; }
25041 if ${gcc_cv_math_func_casinhf+:} false
; then :
25042 $as_echo_n "(cached) " >&6
25044 if test x
$gcc_no_link = xyes
; then
25045 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25048 /* end confdefs.h. */
25050 #ifdef HAVE_COMPLEX_H
25051 #include <complex.h>
25057 int (*ptr)() = (int (*)())casinhf;
25066 if ac_fn_c_try_link
"$LINENO"; then :
25067 gcc_cv_math_func_casinhf
=yes
25069 gcc_cv_math_func_casinhf
=no
25071 rm -f core conftest.err conftest.
$ac_objext \
25072 conftest
$ac_exeext conftest.
$ac_ext
25074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25075 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25076 if test $gcc_cv_math_func_casinhf = yes; then
25078 cat >>confdefs.h
<<_ACEOF
25079 #define HAVE_CASINHF 1
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25088 $as_echo_n "checking for casinhl... " >&6; }
25089 if ${gcc_cv_math_func_casinhl+:} false
; then :
25090 $as_echo_n "(cached) " >&6
25092 if test x
$gcc_no_link = xyes
; then
25093 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25096 /* end confdefs.h. */
25098 #ifdef HAVE_COMPLEX_H
25099 #include <complex.h>
25105 int (*ptr)() = (int (*)())casinhl;
25114 if ac_fn_c_try_link
"$LINENO"; then :
25115 gcc_cv_math_func_casinhl
=yes
25117 gcc_cv_math_func_casinhl
=no
25119 rm -f core conftest.err conftest.
$ac_objext \
25120 conftest
$ac_exeext conftest.
$ac_ext
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25123 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25124 if test $gcc_cv_math_func_casinhl = yes; then
25126 cat >>confdefs.h
<<_ACEOF
25127 #define HAVE_CASINHL 1
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25136 $as_echo_n "checking for casinl... " >&6; }
25137 if ${gcc_cv_math_func_casinl+:} false
; then :
25138 $as_echo_n "(cached) " >&6
25140 if test x
$gcc_no_link = xyes
; then
25141 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25146 #ifdef HAVE_COMPLEX_H
25147 #include <complex.h>
25153 int (*ptr)() = (int (*)())casinl;
25162 if ac_fn_c_try_link
"$LINENO"; then :
25163 gcc_cv_math_func_casinl
=yes
25165 gcc_cv_math_func_casinl
=no
25167 rm -f core conftest.err conftest.
$ac_objext \
25168 conftest
$ac_exeext conftest.
$ac_ext
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25171 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25172 if test $gcc_cv_math_func_casinl = yes; then
25174 cat >>confdefs.h
<<_ACEOF
25175 #define HAVE_CASINL 1
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25184 $as_echo_n "checking for catan... " >&6; }
25185 if ${gcc_cv_math_func_catan+:} false
; then :
25186 $as_echo_n "(cached) " >&6
25188 if test x
$gcc_no_link = xyes
; then
25189 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25194 #ifdef HAVE_COMPLEX_H
25195 #include <complex.h>
25201 int (*ptr)() = (int (*)())catan;
25210 if ac_fn_c_try_link
"$LINENO"; then :
25211 gcc_cv_math_func_catan
=yes
25213 gcc_cv_math_func_catan
=no
25215 rm -f core conftest.err conftest.
$ac_objext \
25216 conftest
$ac_exeext conftest.
$ac_ext
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25219 $as_echo "$gcc_cv_math_func_catan" >&6; }
25220 if test $gcc_cv_math_func_catan = yes; then
25222 cat >>confdefs.h
<<_ACEOF
25223 #define HAVE_CATAN 1
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25232 $as_echo_n "checking for catanf... " >&6; }
25233 if ${gcc_cv_math_func_catanf+:} false
; then :
25234 $as_echo_n "(cached) " >&6
25236 if test x
$gcc_no_link = xyes
; then
25237 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25240 /* end confdefs.h. */
25242 #ifdef HAVE_COMPLEX_H
25243 #include <complex.h>
25249 int (*ptr)() = (int (*)())catanf;
25258 if ac_fn_c_try_link
"$LINENO"; then :
25259 gcc_cv_math_func_catanf
=yes
25261 gcc_cv_math_func_catanf
=no
25263 rm -f core conftest.err conftest.
$ac_objext \
25264 conftest
$ac_exeext conftest.
$ac_ext
25266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25267 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25268 if test $gcc_cv_math_func_catanf = yes; then
25270 cat >>confdefs.h
<<_ACEOF
25271 #define HAVE_CATANF 1
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25280 $as_echo_n "checking for catanh... " >&6; }
25281 if ${gcc_cv_math_func_catanh+:} false
; then :
25282 $as_echo_n "(cached) " >&6
25284 if test x
$gcc_no_link = xyes
; then
25285 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25288 /* end confdefs.h. */
25290 #ifdef HAVE_COMPLEX_H
25291 #include <complex.h>
25297 int (*ptr)() = (int (*)())catanh;
25306 if ac_fn_c_try_link
"$LINENO"; then :
25307 gcc_cv_math_func_catanh
=yes
25309 gcc_cv_math_func_catanh
=no
25311 rm -f core conftest.err conftest.
$ac_objext \
25312 conftest
$ac_exeext conftest.
$ac_ext
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25315 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25316 if test $gcc_cv_math_func_catanh = yes; then
25318 cat >>confdefs.h
<<_ACEOF
25319 #define HAVE_CATANH 1
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25328 $as_echo_n "checking for catanhf... " >&6; }
25329 if ${gcc_cv_math_func_catanhf+:} false
; then :
25330 $as_echo_n "(cached) " >&6
25332 if test x
$gcc_no_link = xyes
; then
25333 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25338 #ifdef HAVE_COMPLEX_H
25339 #include <complex.h>
25345 int (*ptr)() = (int (*)())catanhf;
25354 if ac_fn_c_try_link
"$LINENO"; then :
25355 gcc_cv_math_func_catanhf
=yes
25357 gcc_cv_math_func_catanhf
=no
25359 rm -f core conftest.err conftest.
$ac_objext \
25360 conftest
$ac_exeext conftest.
$ac_ext
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25363 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25364 if test $gcc_cv_math_func_catanhf = yes; then
25366 cat >>confdefs.h
<<_ACEOF
25367 #define HAVE_CATANHF 1
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25376 $as_echo_n "checking for catanhl... " >&6; }
25377 if ${gcc_cv_math_func_catanhl+:} false
; then :
25378 $as_echo_n "(cached) " >&6
25380 if test x
$gcc_no_link = xyes
; then
25381 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25386 #ifdef HAVE_COMPLEX_H
25387 #include <complex.h>
25393 int (*ptr)() = (int (*)())catanhl;
25402 if ac_fn_c_try_link
"$LINENO"; then :
25403 gcc_cv_math_func_catanhl
=yes
25405 gcc_cv_math_func_catanhl
=no
25407 rm -f core conftest.err conftest.
$ac_objext \
25408 conftest
$ac_exeext conftest.
$ac_ext
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25411 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25412 if test $gcc_cv_math_func_catanhl = yes; then
25414 cat >>confdefs.h
<<_ACEOF
25415 #define HAVE_CATANHL 1
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25424 $as_echo_n "checking for catanl... " >&6; }
25425 if ${gcc_cv_math_func_catanl+:} false
; then :
25426 $as_echo_n "(cached) " >&6
25428 if test x
$gcc_no_link = xyes
; then
25429 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25432 /* end confdefs.h. */
25434 #ifdef HAVE_COMPLEX_H
25435 #include <complex.h>
25441 int (*ptr)() = (int (*)())catanl;
25450 if ac_fn_c_try_link
"$LINENO"; then :
25451 gcc_cv_math_func_catanl
=yes
25453 gcc_cv_math_func_catanl
=no
25455 rm -f core conftest.err conftest.
$ac_objext \
25456 conftest
$ac_exeext conftest.
$ac_ext
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25459 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25460 if test $gcc_cv_math_func_catanl = yes; then
25462 cat >>confdefs.h
<<_ACEOF
25463 #define HAVE_CATANL 1
25469 # On AIX, clog is present in libm as __clog
25470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25471 $as_echo_n "checking for __clog in -lm... " >&6; }
25472 if ${ac_cv_lib_m___clog+:} false
; then :
25473 $as_echo_n "(cached) " >&6
25475 ac_check_lib_save_LIBS
=$LIBS
25477 if test x
$gcc_no_link = xyes
; then
25478 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25481 /* end confdefs.h. */
25483 /* Override any GCC internal prototype to avoid an error.
25484 Use char because int might match the return type of a GCC
25485 builtin and then its argument prototype would still apply. */
25498 if ac_fn_c_try_link
"$LINENO"; then :
25499 ac_cv_lib_m___clog
=yes
25501 ac_cv_lib_m___clog
=no
25503 rm -f core conftest.err conftest.
$ac_objext \
25504 conftest
$ac_exeext conftest.
$ac_ext
25505 LIBS
=$ac_check_lib_save_LIBS
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25508 $as_echo "$ac_cv_lib_m___clog" >&6; }
25509 if test "x$ac_cv_lib_m___clog" = xyes
; then :
25511 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25516 # Check whether the system has a working stat()
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25519 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25520 if ${libgfor_cv_have_working_stat+:} false
; then :
25521 $as_echo_n "(cached) " >&6
25524 if test "$cross_compiling" = yes; then :
25526 case "${target}" in
25527 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25528 *) libgfor_cv_have_working_stat
=yes;;
25531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25532 /* end confdefs.h. */
25535 #include <sys/types.h>
25536 #include <sys/stat.h>
25537 #include <unistd.h>
25542 struct stat st1, st2;
25544 f = fopen ("foo", "w");
25545 g = fopen ("bar", "w");
25546 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25548 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25555 if ac_fn_c_try_run
"$LINENO"; then :
25556 libgfor_cv_have_working_stat
=yes
25558 libgfor_cv_have_working_stat
=no
25560 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25561 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25566 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25567 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25569 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25573 # Check whether __mingw_snprintf() is present
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25576 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25577 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
25578 $as_echo_n "(cached) " >&6
25581 if test x
$gcc_no_link = xyes
; then
25582 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25585 /* end confdefs.h. */
25588 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25594 __mingw_snprintf (NULL, 0, "%d\n", 1);
25600 if ac_fn_c_try_link
"$LINENO"; then :
25601 eval "libgfor_cv_have_mingw_snprintf=yes"
25603 eval "libgfor_cv_have_mingw_snprintf=no"
25605 rm -f core conftest.err conftest.
$ac_objext \
25606 conftest
$ac_exeext conftest.
$ac_ext
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25610 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25611 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25613 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25618 # Check whether libquadmath should be used
25619 # Check whether --enable-libquadmath-support was given.
25620 if test "${enable_libquadmath_support+set}" = set; then :
25621 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25623 ENABLE_LIBQUADMATH_SUPPORT
=yes
25626 enable_libquadmath_support
=
25627 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25628 enable_libquadmath_support
=no
25631 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25635 if test "x$enable_libquadmath_support" != xno
; then
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25638 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25639 if ${libgfor_cv_have_float128+:} false
; then :
25640 $as_echo_n "(cached) " >&6
25643 if test x
$gcc_no_link = xyes
; then
25644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25645 /* end confdefs.h. */
25647 typedef _Complex float __attribute__((mode(TC))) __complex128;
25649 __float128 foo (__float128 x)
25652 __complex128 z1, z2;
25658 return (__float128) z2;
25661 __float128 bar (__float128 x)
25663 return x * __builtin_huge_valq ();
25677 if ac_fn_c_try_compile
"$LINENO"; then :
25679 libgfor_cv_have_float128
=yes
25683 libgfor_cv_have_float128
=no
25686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25688 if test x
$gcc_no_link = xyes
; then
25689 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25694 typedef _Complex float __attribute__((mode(TC))) __complex128;
25696 __float128 foo (__float128 x)
25699 __complex128 z1, z2;
25705 return (__float128) z2;
25708 __float128 bar (__float128 x)
25710 return x * __builtin_huge_valq ();
25724 if ac_fn_c_try_link
"$LINENO"; then :
25726 libgfor_cv_have_float128
=yes
25730 libgfor_cv_have_float128
=no
25733 rm -f core conftest.err conftest.
$ac_objext \
25734 conftest
$ac_exeext conftest.
$ac_ext
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25738 $as_echo "$libgfor_cv_have_float128" >&6; }
25740 if test "x$libgfor_cv_have_float128" = xyes
; then
25742 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25745 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25747 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25748 if ${libgfor_cv_have_as_needed+:} false
; then :
25749 $as_echo_n "(cached) " >&6
25752 # Test for native Solaris options first.
25753 # No whitespace after -z to pass it through -Wl.
25754 libgfor_cv_as_needed_option
="-zignore"
25755 libgfor_cv_no_as_needed_option
="-zrecord"
25756 save_LDFLAGS
="$LDFLAGS"
25757 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25758 libgfor_cv_have_as_needed
=no
25760 ac_c_werror_flag
=yes
25761 if test x
$gcc_no_link = xyes
; then
25762 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25765 /* end confdefs.h. */
25775 if ac_fn_c_try_link
"$LINENO"; then :
25776 libgfor_cv_have_as_needed
=yes
25778 libgfor_cv_have_as_needed
=no
25780 rm -f core conftest.err conftest.
$ac_objext \
25781 conftest
$ac_exeext conftest.
$ac_ext
25782 LDFLAGS
="$save_LDFLAGS"
25783 if test "x$libgfor_cv_have_as_needed" = xno
; then
25784 libgfor_cv_as_needed_option
="--as-needed"
25785 libgfor_cv_no_as_needed_option
="--no-as-needed"
25786 save_LDFLAGS
="$LDFLAGS"
25787 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25788 libgfor_cv_have_as_needed
=no
25790 ac_c_werror_flag
=yes
25791 if test x
$gcc_no_link = xyes
; then
25792 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25805 if ac_fn_c_try_link
"$LINENO"; then :
25806 libgfor_cv_have_as_needed
=yes
25808 libgfor_cv_have_as_needed
=no
25810 rm -f core conftest.err conftest.
$ac_objext \
25811 conftest
$ac_exeext conftest.
$ac_ext
25812 LDFLAGS
="$save_LDFLAGS"
25814 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25818 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25820 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25821 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25823 LIBQUADSPEC
="-lquadmath"
25825 if test -f ..
/libquadmath
/libquadmath.la
; then
25826 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25827 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25828 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25830 LIBQUADLIB
="-lquadmath"
25836 # for --disable-quadmath
25847 if test "x$libgfor_cv_have_float128" = xyes
; then
25848 LIBGFOR_BUILD_QUAD_TRUE
=
25849 LIBGFOR_BUILD_QUAD_FALSE
='#'
25851 LIBGFOR_BUILD_QUAD_TRUE
='#'
25852 LIBGFOR_BUILD_QUAD_FALSE
=
25857 # Check for GNU libc feenableexcept
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25859 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25860 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
25861 $as_echo_n "(cached) " >&6
25863 ac_check_lib_save_LIBS
=$LIBS
25865 if test x
$gcc_no_link = xyes
; then
25866 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25871 /* Override any GCC internal prototype to avoid an error.
25872 Use char because int might match the return type of a GCC
25873 builtin and then its argument prototype would still apply. */
25877 char feenableexcept ();
25881 return feenableexcept ();
25886 if ac_fn_c_try_link
"$LINENO"; then :
25887 ac_cv_lib_m_feenableexcept
=yes
25889 ac_cv_lib_m_feenableexcept
=no
25891 rm -f core conftest.err conftest.
$ac_objext \
25892 conftest
$ac_exeext conftest.
$ac_ext
25893 LIBS
=$ac_check_lib_save_LIBS
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25896 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25897 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
25898 have_feenableexcept
=yes
25899 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25904 # At least for glibc, clock_gettime is in librt. But don't
25905 # pull that in if it still doesn't give us the function we want. This
25906 # test is copied from libgomp, and modified to not link in -lrt as
25907 # libgfortran calls clock_gettime via a weak reference if it's found
25909 if test "$ac_cv_func_clock_gettime" = no
; then
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25911 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25912 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
25913 $as_echo_n "(cached) " >&6
25915 ac_check_lib_save_LIBS
=$LIBS
25917 if test x
$gcc_no_link = xyes
; then
25918 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25921 /* end confdefs.h. */
25923 /* Override any GCC internal prototype to avoid an error.
25924 Use char because int might match the return type of a GCC
25925 builtin and then its argument prototype would still apply. */
25929 char clock_gettime ();
25933 return clock_gettime ();
25938 if ac_fn_c_try_link
"$LINENO"; then :
25939 ac_cv_lib_rt_clock_gettime
=yes
25941 ac_cv_lib_rt_clock_gettime
=no
25943 rm -f core conftest.err conftest.
$ac_objext \
25944 conftest
$ac_exeext conftest.
$ac_ext
25945 LIBS
=$ac_check_lib_save_LIBS
25947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25948 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25949 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
25951 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25957 # Check for SysV fpsetmask
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25960 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25961 if ${libgfor_cv_have_fpsetmask+:} false
; then :
25962 $as_echo_n "(cached) " >&6
25965 if test x
$gcc_no_link = xyes
; then
25966 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h. */
25971 #if HAVE_FLOATINGPOINT_H
25972 # include <floatingpoint.h>
25973 #endif /* HAVE_FLOATINGPOINT_H */
25975 # include <ieeefp.h>
25976 #endif /* HAVE_IEEEFP_H */
25985 if ac_fn_c_try_link
"$LINENO"; then :
25986 eval "libgfor_cv_have_fpsetmask=yes"
25988 eval "libgfor_cv_have_fpsetmask=no"
25990 rm -f core conftest.err conftest.
$ac_objext \
25991 conftest
$ac_exeext conftest.
$ac_ext
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25995 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25996 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25999 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26003 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26010 if test "x$ac_cv_type_fp_except" = xyes
; then :
26012 cat >>confdefs.h
<<_ACEOF
26013 #define HAVE_FP_EXCEPT 1
26018 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26019 #ifdef HAVE_IEEEFP_H
26020 #include <ieeefp.h>
26025 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
26027 cat >>confdefs.h
<<_ACEOF
26028 #define HAVE_FP_EXCEPT_T 1
26034 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26035 #ifdef HAVE_IEEEFP_H
26036 #include <ieeefp.h>
26041 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
26043 cat >>confdefs.h
<<_ACEOF
26044 #define HAVE_FP_RND 1
26049 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26050 #ifdef HAVE_IEEEFP_H
26051 #include <ieeefp.h>
26056 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
26058 cat >>confdefs.h
<<_ACEOF
26059 #define HAVE_FP_RND_T 1
26066 # Check whether we have fpsetsticky or fpresetsticky
26067 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26068 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
26069 have_fpsetsticky
=yes
26070 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26074 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26075 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
26076 have_fpresetsticky
=yes
26077 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26082 # Check for AIX fp_trap and fp_enable
26083 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26084 if test "x$ac_cv_func_fp_trap" = xyes
; then :
26086 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26090 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26091 if test "x$ac_cv_func_fp_enable" = xyes
; then :
26093 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26098 # Check if _SOFT_FLOAT is defined
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26101 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26102 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
26103 $as_echo_n "(cached) " >&6
26105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26106 /* end confdefs.h. */
26122 if ac_fn_c_try_compile
"$LINENO"; then :
26123 ac_cv_defined__SOFT_FLOAT
=yes
26125 ac_cv_defined__SOFT_FLOAT
=no
26127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26130 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26131 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26132 have_soft_float
=yes
26135 # Runs configure.host to set up necessary host-dependent shell variables.
26136 # We then display a message about it, and propagate them through the
26138 .
${srcdir}/configure.
host
26139 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26140 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26142 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26143 FPU_HOST_HEADER
=config
/${fpu_host}.h
26146 # Whether we will build the IEEE modules
26147 if test x
${ieee_support} = xyes
; then
26149 IEEE_SUPPORT_FALSE
='#'
26151 IEEE_SUPPORT_TRUE
='#'
26152 IEEE_SUPPORT_FALSE
=
26157 # Some targets require additional compiler options for IEEE compatibility.
26158 IEEE_FLAGS
="${ieee_flags}"
26162 # Check for POSIX getpwuid_r
26164 # There are two versions of getpwuid_r, the POSIX one with 5
26165 # arguments, and another one with 4 arguments used by at least HP-UX
26167 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26169 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26170 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
26171 $as_echo_n "(cached) " >&6
26174 if test x
$gcc_no_link = xyes
; then
26175 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26178 /* end confdefs.h. */
26181 #include <sys/types.h>
26187 getpwuid_r(0, NULL, NULL, 0, NULL);
26193 if ac_fn_c_try_link
"$LINENO"; then :
26194 libgfor_cv_posix_getpwuid_r
="yes"
26196 libgfor_cv_posix_getpwuid_r
="no"
26198 rm -f core conftest.err conftest.
$ac_objext \
26199 conftest
$ac_exeext conftest.
$ac_ext
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26202 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26204 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26206 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26211 # Check out attribute support.
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26214 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26215 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
26216 $as_echo_n "(cached) " >&6
26219 save_CFLAGS
="$CFLAGS"
26220 CFLAGS
="$CFLAGS -Werror"
26221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26222 /* end confdefs.h. */
26223 void __attribute__((visibility("hidden"))) foo(void) { }
26232 if ac_fn_c_try_compile
"$LINENO"; then :
26233 libgfor_cv_have_attribute_visibility
=yes
26235 libgfor_cv_have_attribute_visibility
=no
26237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26238 CFLAGS
="$save_CFLAGS"
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26241 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26242 if test $libgfor_cv_have_attribute_visibility = yes; then
26244 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26249 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26250 if ${libgfor_cv_have_attribute_alias+:} false
; then :
26251 $as_echo_n "(cached) " >&6
26254 if test x
$gcc_no_link = xyes
; then
26255 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26258 /* end confdefs.h. */
26261 extern void bar(void) __attribute__((alias("foo")));
26270 if ac_fn_c_try_link
"$LINENO"; then :
26271 libgfor_cv_have_attribute_alias
=yes
26273 libgfor_cv_have_attribute_alias
=no
26275 rm -f core conftest.err conftest.
$ac_objext \
26276 conftest
$ac_exeext conftest.
$ac_ext
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26279 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26280 if test $libgfor_cv_have_attribute_alias = yes; then
26282 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26286 # Check out sync builtins support.
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26289 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26290 if ${libgfor_cv_have_sync_fetch_and_add+:} false
; then :
26291 $as_echo_n "(cached) " >&6
26294 if test x
$gcc_no_link = xyes
; then
26295 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26298 /* end confdefs.h. */
26304 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26305 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26310 if ac_fn_c_try_link
"$LINENO"; then :
26311 libgfor_cv_have_sync_fetch_and_add
=yes
26313 libgfor_cv_have_sync_fetch_and_add
=no
26315 rm -f core conftest.err conftest.
$ac_objext \
26316 conftest
$ac_exeext conftest.
$ac_ext
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26319 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26320 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26322 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26326 # Check out #pragma weak.
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26329 $as_echo_n "checking whether pragma weak works... " >&6; }
26330 if ${libgfor_cv_have_pragma_weak+:} false
; then :
26331 $as_echo_n "(cached) " >&6
26334 gfor_save_CFLAGS
="$CFLAGS"
26335 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26350 if ac_fn_c_try_compile
"$LINENO"; then :
26351 libgfor_cv_have_pragma_weak
=yes
26353 libgfor_cv_have_pragma_weak
=no
26355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26358 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26359 if test $libgfor_cv_have_pragma_weak = yes; then
26361 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26365 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26367 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26372 # Check out weakref support.
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26375 $as_echo_n "checking whether the target supports weakref... " >&6; }
26376 if ${libgfor_cv_have_weakref+:} false
; then :
26377 $as_echo_n "(cached) " >&6
26380 save_CFLAGS
="$CFLAGS"
26381 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26382 if test x
$gcc_no_link = xyes
; then
26383 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h. */
26388 static int mytoto (int) __attribute__((__weakref__("toto")));
26393 return (mytoto != 0);
26398 if ac_fn_c_try_link
"$LINENO"; then :
26399 libgfor_cv_have_weakref
=yes
26401 libgfor_cv_have_weakref
=no
26403 rm -f core conftest.err conftest.
$ac_objext \
26404 conftest
$ac_exeext conftest.
$ac_ext
26405 CFLAGS
="$save_CFLAGS"
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26408 $as_echo "$libgfor_cv_have_weakref" >&6; }
26409 if test $libgfor_cv_have_weakref = yes; then
26411 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26415 # Various other checks on target
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26418 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26419 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
26420 $as_echo_n "(cached) " >&6
26423 if test "$cross_compiling" = yes; then :
26425 case "${target}" in
26426 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26427 *) libgfor_cv_have_unlink_open_file
=yes;;
26430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26431 /* end confdefs.h. */
26435 #include <unistd.h>
26436 #include <sys/stat.h>
26442 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26445 if (unlink ("testfile") == -1)
26447 write (fd, "This is a test\n", 15);
26450 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26456 if ac_fn_c_try_run
"$LINENO"; then :
26457 libgfor_cv_have_unlink_open_file
=yes
26459 libgfor_cv_have_unlink_open_file
=no
26461 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26462 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26467 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26468 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26470 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26474 # Check whether line terminator is LF or CRLF
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26477 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26478 if ${libgfor_cv_have_crlf+:} false
; then :
26479 $as_echo_n "(cached) " >&6
26482 if test "$cross_compiling" = yes; then :
26484 case "${target}" in
26485 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26486 *) libgfor_cv_have_crlf
=no
;;
26489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26490 /* end confdefs.h. */
26492 /* This test program should exit with status 0 if system uses a CRLF as
26493 line terminator, and status 1 otherwise.
26494 Since it is used to check for mingw systems, and should return 0 in any
26495 other case, in case of a failure we will not use CRLF. */
26496 #include <sys/stat.h>
26497 #include <stdlib.h>
26509 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26512 if (write (fd, "\n", 1) < 0)
26517 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26519 bytes = read (fd, buff, 5);
26520 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26527 if ac_fn_c_try_run
"$LINENO"; then :
26528 libgfor_cv_have_crlf
=yes
26530 libgfor_cv_have_crlf
=no
26532 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26533 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26538 $as_echo "$libgfor_cv_have_crlf" >&6; }
26539 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26541 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26545 # Check whether we support AVX extensions
26547 ac_save_CFLAGS
="$CFLAGS"
26549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26550 /* end confdefs.h. */
26552 void _mm256_zeroall (void)
26554 __builtin_ia32_vzeroall ();
26564 if ac_fn_c_try_compile
"$LINENO"; then :
26566 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26570 CFLAGS
="$ac_save_CFLAGS"
26573 # Check wether we support AVX2 extensions
26575 ac_save_CFLAGS
="$CFLAGS"
26576 CFLAGS
="-O2 -mavx2"
26577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26578 /* end confdefs.h. */
26580 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26582 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26584 return __builtin_ia32_andnotsi256 (__X, __Y);
26594 if ac_fn_c_try_compile
"$LINENO"; then :
26596 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26600 CFLAGS
="$ac_save_CFLAGS"
26603 # Check wether we support AVX512f extensions
26605 ac_save_CFLAGS
="$CFLAGS"
26606 CFLAGS
="-O2 -mavx512f"
26607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26608 /* end confdefs.h. */
26610 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26611 __m512d _mm512_add (__m512d a)
26613 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26614 /* For -m64/-mx32 also verify that code will work even if
26615 the target uses call saved zmm16+ and needs to emit
26616 unwind info for them (e.g. on mingw). See PR79127. */
26618 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26630 if ac_fn_c_try_compile
"$LINENO"; then :
26632 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26636 CFLAGS
="$ac_save_CFLAGS"
26639 # Check for FMA3 extensions
26641 ac_save_CFLAGS
="$CFLAGS"
26642 CFLAGS
="-O2 -mfma -mno-fma4"
26643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26644 /* end confdefs.h. */
26646 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26647 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26648 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26650 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26662 if ac_fn_c_try_compile
"$LINENO"; then :
26664 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26668 CFLAGS
="$ac_save_CFLAGS"
26671 # Check for FMA4 extensions
26673 ac_save_CFLAGS
="$CFLAGS"
26674 CFLAGS
="-O2 -mfma4 -mno-fma"
26675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26676 /* end confdefs.h. */
26678 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26679 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26680 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26682 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26694 if ac_fn_c_try_compile
"$LINENO"; then :
26696 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26700 CFLAGS
="$ac_save_CFLAGS"
26703 # Check if AVX128 works
26705 ac_save_CFLAGS
="$CFLAGS"
26706 CFLAGS
="-O2 -mavx -mprefer-avx128"
26707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26708 /* end confdefs.h. */
26721 if ac_fn_c_try_compile
"$LINENO"; then :
26723 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26727 HAVE_AVX128_FALSE
='#'
26729 HAVE_AVX128_TRUE
='#'
26736 HAVE_AVX128_FALSE
='#'
26738 HAVE_AVX128_TRUE
='#'
26743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26744 CFLAGS
="$ac_save_CFLAGS"
26747 # Determine what GCC version number to use in filesystem paths.
26749 get_gcc_base_ver
="cat"
26751 # Check whether --with-gcc-major-version-only was given.
26752 if test "${with_gcc_major_version_only+set}" = set; then :
26753 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26754 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
26762 cat >confcache
<<\_ACEOF
26763 # This file is a shell script that caches the results of configure
26764 # tests run on this system so they can be shared between configure
26765 # scripts and configure runs, see configure's option --config-cache.
26766 # It is not useful on other systems. If it contains results you don't
26767 # want to keep, you may remove or edit it.
26769 # config.status only pays attention to the cache file if you give it
26770 # the --recheck option to rerun configure.
26772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26774 # following values.
26778 # The following way of writing the cache mishandles newlines in values,
26779 # but we know of no workaround that is simple, portable, and efficient.
26780 # So, we kill variables containing newlines.
26781 # Ultrix sh set writes to stderr and can't be redirected directly,
26782 # and sets the high bit in the cache file unless we assign to the vars.
26784 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26785 eval ac_val
=\$
$ac_var
26789 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26793 _ | IFS | as_nl
) ;; #(
26794 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26795 *) { eval $ac_var=; unset $ac_var;} ;;
26801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26802 *${as_nl}ac_space
=\
*)
26803 # `set' does not quote correctly, so add quotes: double-quote
26804 # substitution turns \\\\ into \\, and sed turns \\ into \.
26807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26810 # `set' quotes correctly as required by POSIX, so do not add quotes.
26811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26824 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26825 if test -w "$cache_file"; then
26826 if test "x$cache_file" != "x/dev/null"; then
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26828 $as_echo "$as_me: updating cache $cache_file" >&6;}
26829 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26830 cat confcache
>"$cache_file"
26832 case $cache_file in #(
26834 mv -f confcache
"$cache_file"$$
&&
26835 mv -f "$cache_file"$$
"$cache_file" ;; #(
26837 mv -f confcache
"$cache_file" ;;
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26848 if test ${multilib} = yes; then
26849 multilib_arg
="--enable-multilib"
26854 # Write our Makefile and spec file.
26855 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26857 cat >confcache
<<\_ACEOF
26858 # This file is a shell script that caches the results of configure
26859 # tests run on this system so they can be shared between configure
26860 # scripts and configure runs, see configure's option --config-cache.
26861 # It is not useful on other systems. If it contains results you don't
26862 # want to keep, you may remove or edit it.
26864 # config.status only pays attention to the cache file if you give it
26865 # the --recheck option to rerun configure.
26867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26869 # following values.
26873 # The following way of writing the cache mishandles newlines in values,
26874 # but we know of no workaround that is simple, portable, and efficient.
26875 # So, we kill variables containing newlines.
26876 # Ultrix sh set writes to stderr and can't be redirected directly,
26877 # and sets the high bit in the cache file unless we assign to the vars.
26879 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26880 eval ac_val
=\$
$ac_var
26884 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26888 _ | IFS | as_nl
) ;; #(
26889 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26890 *) { eval $ac_var=; unset $ac_var;} ;;
26896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26897 *${as_nl}ac_space
=\
*)
26898 # `set' does not quote correctly, so add quotes: double-quote
26899 # substitution turns \\\\ into \\, and sed turns \\ into \.
26902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26905 # `set' quotes correctly as required by POSIX, so do not add quotes.
26906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26919 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26920 if test -w "$cache_file"; then
26921 if test "x$cache_file" != "x/dev/null"; then
26922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26923 $as_echo "$as_me: updating cache $cache_file" >&6;}
26924 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26925 cat confcache
>"$cache_file"
26927 case $cache_file in #(
26929 mv -f confcache
"$cache_file"$$
&&
26930 mv -f "$cache_file"$$
"$cache_file" ;; #(
26932 mv -f confcache
"$cache_file" ;;
26937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26943 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26944 # Let make expand exec_prefix.
26945 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26947 DEFS
=-DHAVE_CONFIG_H
26952 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26953 # 1. Remove the extension, and $U if already installed.
26954 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26955 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26957 # will be set to the directory where LIBOBJS objects are built.
26958 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26959 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26961 LIBOBJS
=$ac_libobjs
26963 LTLIBOBJS
=$ac_ltlibobjs
26966 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26967 as_fn_error $?
"conditional \"onestep\" was never defined.
26968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26971 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26972 if test -n "$am_sleep_pid"; then
26973 # Hide warnings about reused PIDs.
26974 wait $am_sleep_pid 2>/dev
/null
26976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26977 $as_echo "done" >&6; }
26978 if test -n "$EXEEXT"; then
26980 am__EXEEXT_FALSE
='#'
26982 am__EXEEXT_TRUE
='#'
26986 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26987 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
26988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26990 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26991 as_fn_error $?
"conditional \"AMDEP\" was never defined.
26992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26994 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26995 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
26996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26998 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26999 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27002 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27003 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27006 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27007 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27010 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27011 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27014 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27015 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
27016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27018 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27019 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
27020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27022 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27023 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27026 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27027 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
27028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27030 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27031 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27034 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27035 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27039 : "${CONFIG_STATUS=./config.status}"
27041 ac_clean_files_save
=$ac_clean_files
27042 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27044 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27046 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27048 # Generated by $as_me.
27049 # Run this file to recreate the current configuration.
27050 # Compiler output produced by configure, useful for debugging
27051 # configure, is in config.log if it exists.
27054 ac_cs_recheck=false
27057 SHELL=\${CONFIG_SHELL-$SHELL}
27060 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
27061 ## -------------------- ##
27062 ## M4sh Initialization. ##
27063 ## -------------------- ##
27065 # Be more Bourne compatible
27066 DUALCASE
=1; export DUALCASE
# for MKS sh
27067 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27070 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27071 # is contrary to our usage. Disable this feature.
27072 alias -g '${1+"$@"}'='"$@"'
27073 setopt NO_GLOB_SUBST
27075 case `(set -o) 2>/dev/null` in #(
27087 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27088 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27089 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27090 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27091 # Prefer a ksh shell builtin over an external printf program on Solaris,
27092 # but without wasting forks for bash or zsh.
27093 if test -z "$BASH_VERSION$ZSH_VERSION" \
27094 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27095 as_echo='print
-r --'
27096 as_echo_n='print
-rn --'
27097 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27098 as_echo='printf %s
\n'
27099 as_echo_n='printf %s
'
27101 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27102 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27103 as_echo_n='/usr
/ucb
/echo -n'
27105 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27106 as_echo_n_body='eval
27110 expr "X$arg" : "X\\(.*\\)$as_nl";
27111 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27113 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27115 export as_echo_n_body
27116 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27118 export as_echo_body
27119 as_echo='sh
-c $as_echo_body as_echo
'
27122 # The user is always right.
27123 if test "${PATH_SEPARATOR+set}" != set; then
27125 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27126 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27133 # We need space, tab and new line, in precisely that order. Quoting is
27134 # there to prevent editors from complaining about space-tab.
27135 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27136 # splitting by setting IFS to empty value.)
27139 # Find who we are. Look in the path if we contain no directory separator.
27142 *[\\/]* ) as_myself=$0 ;;
27143 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27144 for as_dir in $PATH
27147 test -z "$as_dir" && as_dir=.
27148 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27154 # We did not find ourselves, most probably we were run as `sh COMMAND'
27155 # in which case we are not to be found in the path.
27156 if test "x$as_myself" = x
; then
27159 if test ! -f "$as_myself"; then
27160 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27164 # Unset variables that we do not need and which cause bugs (e.g. in
27165 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27166 # suppresses any "Segmentation fault" message there. '((' could
27167 # trigger a bug in pdksh 5.2.14.
27168 for as_var
in BASH_ENV ENV MAIL MAILPATH
27169 do eval test x\
${$as_var+set} = xset \
27170 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
27183 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
27186 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27187 # ----------------------------------------
27188 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27189 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27190 # script with STATUS, using 1 if that was 0.
27193 as_status
=$1; test $as_status -eq 0 && as_status
=1
27195 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
27196 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27198 $as_echo "$as_me: error: $2" >&2
27199 as_fn_exit
$as_status
27203 # as_fn_set_status STATUS
27204 # -----------------------
27205 # Set $? to STATUS, without forking.
27206 as_fn_set_status
()
27209 } # as_fn_set_status
27211 # as_fn_exit STATUS
27212 # -----------------
27213 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27217 as_fn_set_status
$1
27223 # Portably unset VAR.
27226 { eval $1=; unset $1;}
27228 as_unset
=as_fn_unset
27229 # as_fn_append VAR VALUE
27230 # ----------------------
27231 # Append the text in VALUE to the end of the definition contained in VAR. Take
27232 # advantage of any shell optimizations that allow amortized linear growth over
27233 # repeated appends, instead of the typical quadratic growth present in naive
27235 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27236 eval 'as_fn_append ()
27247 # as_fn_arith ARG...
27248 # ------------------
27249 # Perform arithmetic evaluation on the ARGs, and store the result in the
27250 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27251 # must be portable across $(()) and expr.
27252 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27253 eval 'as_fn_arith ()
27260 as_val
=`expr "$@" || test $? -eq 1`
27265 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27266 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27272 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27273 as_basename
=basename
27278 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27284 as_me
=`$as_basename -- "$0" ||
27285 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27286 X"$0" : 'X\(//\)$' \| \
27287 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27289 sed '/^.*\/\([^/][^/]*\)\/*$/{
27303 # Avoid depending upon Character Ranges.
27304 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27305 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27306 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27307 as_cr_digits
='0123456789'
27308 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27310 ECHO_C
= ECHO_N
= ECHO_T
=
27311 case `echo -n x` in #(((((
27313 case `echo 'xy\c'` in
27314 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27316 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27323 rm -f conf$$ conf$$.exe conf$$.
file
27324 if test -d conf$$.dir
; then
27325 rm -f conf$$.dir
/conf$$.
file
27328 mkdir conf$$.dir
2>/dev
/null
27330 if (echo >conf$$.
file) 2>/dev
/null
; then
27331 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27333 # ... but there are two gotchas:
27334 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27335 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27336 # In both cases, we have to default to `cp -pR'.
27337 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27339 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27347 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27348 rmdir conf$$.dir
2>/dev
/null
27353 # Create "$as_dir" as a directory, including parents if necessary.
27358 -*) as_dir
=.
/$as_dir;;
27360 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27364 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27365 *) as_qdir
=$as_dir;;
27367 as_dirs
="'$as_qdir' $as_dirs"
27368 as_dir
=`$as_dirname -- "$as_dir" ||
27369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27370 X"$as_dir" : 'X\(//\)[^/]' \| \
27371 X"$as_dir" : 'X\(//\)$' \| \
27372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27373 $as_echo X"$as_dir" |
27374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27378 /^X\(\/\/\)[^/].*/{
27391 test -d "$as_dir" && break
27393 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27394 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
27398 if mkdir
-p .
2>/dev
/null
; then
27399 as_mkdir_p
='mkdir -p "$as_dir"'
27401 test -d .
/-p && rmdir .
/-p
27406 # as_fn_executable_p FILE
27407 # -----------------------
27408 # Test if FILE is an executable regular file.
27409 as_fn_executable_p
()
27411 test -f "$1" && test -x "$1"
27412 } # as_fn_executable_p
27413 as_test_x
='test -x'
27414 as_executable_p
=as_fn_executable_p
27416 # Sed expression to map a string onto a valid CPP name.
27417 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27419 # Sed expression to map a string onto a valid variable name.
27420 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27424 ## ----------------------------------- ##
27425 ## Main body of $CONFIG_STATUS script. ##
27426 ## ----------------------------------- ##
27428 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27431 # Save the log message, to keep $0 and so on meaningful, and to
27432 # report actual input values of CONFIG_FILES etc. instead of their
27433 # values after options handling.
27435 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27436 generated by GNU Autoconf 2.69. Invocation command line was
27438 CONFIG_FILES = $CONFIG_FILES
27439 CONFIG_HEADERS = $CONFIG_HEADERS
27440 CONFIG_LINKS = $CONFIG_LINKS
27441 CONFIG_COMMANDS = $CONFIG_COMMANDS
27444 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27449 case $ac_config_files in *"
27450 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27453 case $ac_config_headers in *"
27454 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27459 # Files that config.status was made for.
27460 config_files="$ac_config_files"
27461 config_headers="$ac_config_headers"
27462 config_commands="$ac_config_commands"
27466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27468 \`$as_me' instantiates files and other configuration actions
27469 from templates according to the current configuration. Unless the files
27470 and actions are specified as TAGs, all are instantiated by default.
27472 Usage: $0 [OPTION]... [TAG]...
27474 -h, --help print this help, then exit
27475 -V, --version print version number and configuration settings, then exit
27476 --config print configuration, then exit
27477 -q, --quiet, --silent
27478 do not print progress messages
27479 -d, --debug don't remove temporary files
27480 --recheck update $as_me by reconfiguring in the same conditions
27481 --file=FILE[:TEMPLATE]
27482 instantiate the configuration file FILE
27483 --header=FILE[:TEMPLATE]
27484 instantiate the configuration header FILE
27486 Configuration files:
27489 Configuration headers:
27492 Configuration commands:
27495 Report bugs to the package provider.
27496 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27497 General help using GNU software: <http://www.gnu.org/gethelp/>."
27500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27501 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27503 GNU Fortran Runtime Library config.status 0.3
27504 configured by $0, generated by GNU Autoconf 2.69,
27505 with options \\"\$ac_cs_config\\"
27507 Copyright (C) 2012 Free Software Foundation, Inc.
27508 This config.status script is free software; the Free Software Foundation
27509 gives unlimited permission to copy, distribute and modify it."
27516 test -n "\$AWK" || AWK=awk
27519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27520 # The default lists apply if the user does not specify any file.
27526 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27527 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27531 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27543 # Handling of the options.
27544 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27546 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27547 $as_echo "$ac_cs_version"; exit ;;
27548 --config |
--confi |
--conf |
--con |
--co |
--c )
27549 $as_echo "$ac_cs_config"; exit ;;
27550 --debug |
--debu |
--deb |
--de |
--d |
-d )
27552 --file |
--fil |
--fi |
--f )
27555 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27556 '') as_fn_error $?
"missing file argument" ;;
27558 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27559 ac_need_defaults
=false
;;
27560 --header |
--heade |
--head |
--hea )
27563 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27565 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27566 ac_need_defaults
=false
;;
27568 # Conflict between --help and --header
27569 as_fn_error $?
"ambiguous option: \`$1'
27570 Try \`$0 --help' for more information.";;
27571 --help |
--hel |
-h )
27572 $as_echo "$ac_cs_usage"; exit ;;
27573 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27574 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27577 # This is an error.
27578 -*) as_fn_error $?
"unrecognized option: \`$1'
27579 Try \`$0 --help' for more information." ;;
27581 *) as_fn_append ac_config_targets
" $1"
27582 ac_need_defaults
=false
;;
27588 ac_configure_extra_args
=
27590 if $ac_cs_silent; then
27592 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27597 if \$ac_cs_recheck; then
27598 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27600 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27601 CONFIG_SHELL='$SHELL'
27602 export CONFIG_SHELL
27607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27612 ## Running $as_me. ##
27618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27626 with_multisubdir="$with_multisubdir"
27627 with_multisrctop="$with_multisrctop"
27628 with_target_subdir="$with_target_subdir"
27629 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27630 multi_basedir="$multi_basedir"
27631 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27634 GFORTRAN="$GFORTRAN"
27636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27639 # The HP-UX ksh and POSIX shell print the target directory to stdout
27640 # if CDPATH is set.
27641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27643 sed_quote_subst='$sed_quote_subst'
27644 double_quote_subst='$double_quote_subst'
27645 delay_variable_subst='$delay_variable_subst'
27646 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27647 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27648 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27649 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27650 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27651 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27652 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27653 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27654 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27655 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27656 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27657 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27658 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27659 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27660 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27661 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27662 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27663 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27664 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27665 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27666 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27667 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27668 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27669 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27670 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27671 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27672 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27673 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27674 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27675 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27676 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27677 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27678 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27679 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27680 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27681 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27682 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27683 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27684 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27685 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27686 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27687 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27688 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27689 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27690 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27691 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27692 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27693 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27694 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"`'
27695 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27696 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27697 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27698 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27699 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27700 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27701 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27702 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27703 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27704 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27705 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27706 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27707 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27708 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27709 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27710 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27711 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27712 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27713 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27714 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27715 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27716 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27717 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27718 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27719 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27720 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27721 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27722 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27723 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27724 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27725 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27726 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27727 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27728 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27729 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27730 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27731 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27732 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27733 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27734 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27735 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27736 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27737 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27738 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27739 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27740 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27741 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27742 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27743 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27744 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27745 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27746 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27747 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27748 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27749 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27750 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27751 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27752 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27753 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27754 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27755 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27756 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27757 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27758 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27759 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27760 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27761 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27762 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27763 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27764 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27765 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27766 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27767 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27768 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27769 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27770 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27771 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27772 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27773 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27774 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27775 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27776 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27777 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27778 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27779 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27780 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27781 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27782 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27783 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27784 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27785 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27786 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27787 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27788 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27789 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27790 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27791 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27792 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27793 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27794 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27795 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27796 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27797 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27798 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27799 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27800 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27801 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27802 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27803 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27804 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27805 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27806 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27807 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27808 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27809 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27810 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27811 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27812 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27813 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27814 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27815 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27816 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27817 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27818 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27819 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27820 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27823 LTCFLAGS='$LTCFLAGS'
27824 compiler='$compiler_DEFAULT'
27826 # A function that is used when there is no print builtin or printf.
27827 func_fallback_echo ()
27829 eval 'cat <<_LTECHO_EOF
27834 # Quote evaled strings.
27848 deplibs_check_method \
27857 lt_cv_sys_global_symbol_pipe \
27858 lt_cv_sys_global_symbol_to_cdecl \
27859 lt_cv_sys_global_symbol_to_c_name_address \
27860 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27861 lt_prog_compiler_no_builtin_flag \
27862 lt_prog_compiler_wl \
27863 lt_prog_compiler_pic \
27864 lt_prog_compiler_static \
27865 lt_cv_prog_compiler_c_o \
27873 export_dynamic_flag_spec \
27874 whole_archive_flag_spec \
27875 compiler_needs_object \
27877 allow_undefined_flag \
27878 no_undefined_flag \
27879 hardcode_libdir_flag_spec \
27880 hardcode_libdir_flag_spec_ld \
27881 hardcode_libdir_separator \
27886 variables_saved_for_relink \
27888 library_names_spec \
27890 install_override_mode \
27894 compiler_lib_search_dirs \
27899 compiler_lib_search_path \
27903 lt_prog_compiler_no_builtin_flag_FC \
27904 lt_prog_compiler_wl_FC \
27905 lt_prog_compiler_pic_FC \
27906 lt_prog_compiler_static_FC \
27907 lt_cv_prog_compiler_c_o_FC \
27908 export_dynamic_flag_spec_FC \
27909 whole_archive_flag_spec_FC \
27910 compiler_needs_object_FC \
27912 allow_undefined_flag_FC \
27913 no_undefined_flag_FC \
27914 hardcode_libdir_flag_spec_FC \
27915 hardcode_libdir_flag_spec_ld_FC \
27916 hardcode_libdir_separator_FC \
27917 fix_srcfile_path_FC \
27918 exclude_expsyms_FC \
27919 include_expsyms_FC \
27920 file_list_spec_FC \
27921 compiler_lib_search_dirs_FC \
27922 predep_objects_FC \
27923 postdep_objects_FC \
27926 compiler_lib_search_path_FC; do
27927 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27928 *[\\\\\\\`\\"\\\$]*)
27929 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27932 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27937 # Double-quote double-evaled strings.
27938 for var in reload_cmds \
27939 old_postinstall_cmds \
27940 old_postuninstall_cmds \
27942 extract_expsyms_cmds \
27943 old_archive_from_new_cmds \
27944 old_archive_from_expsyms_cmds \
27946 archive_expsym_cmds \
27948 module_expsym_cmds \
27949 export_symbols_cmds \
27952 postuninstall_cmds \
27954 sys_lib_search_path_spec \
27955 sys_lib_dlsearch_path_spec \
27957 old_archive_cmds_FC \
27958 old_archive_from_new_cmds_FC \
27959 old_archive_from_expsyms_cmds_FC \
27961 archive_expsym_cmds_FC \
27963 module_expsym_cmds_FC \
27964 export_symbols_cmds_FC \
27965 prelink_cmds_FC; do
27966 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27967 *[\\\\\\\`\\"\\\$]*)
27968 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27971 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27976 ac_aux_dir='$ac_aux_dir'
27977 xsi_shell='$xsi_shell'
27978 lt_shell_append='$lt_shell_append'
27980 # See if we are running on zsh, and set the options which allow our
27981 # commands through without removal of \ escapes INIT.
27982 if test -n "\${ZSH_VERSION+set}" ; then
27983 setopt NO_GLOB_SUBST
27989 TIMESTAMP='$TIMESTAMP'
28000 acx_cv_header_stdint="$acx_cv_header_stdint"
28001 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28002 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28003 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28004 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28005 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28006 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28007 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28008 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28009 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28010 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28011 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28012 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28013 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28020 # Handling of arguments.
28021 for ac_config_target
in $ac_config_targets
28023 case $ac_config_target in
28024 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
28025 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28026 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28027 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28028 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
28029 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28030 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
28032 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28037 # If the user did not use the arguments to specify the items to instantiate,
28038 # then the envvar interface is used. Set only those that are not.
28039 # We use the long form for the default assignment because of an extremely
28040 # bizarre bug on SunOS 4.1.3.
28041 if $ac_need_defaults; then
28042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28044 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28047 # Have a temporary directory for convenience. Make it in the build tree
28048 # simply because there is no reason against having it here, and in addition,
28049 # creating and moving files from /tmp can sometimes cause problems.
28050 # Hook for its removal unless debugging.
28051 # Note that there is a small window in which the directory will not be cleaned:
28052 # after its creation but before its name has been assigned to `$tmp'.
28056 trap 'exit_status=$?
28057 : "${ac_tmp:=$tmp}"
28058 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28060 trap 'as_fn_exit 1' 1 2 13 15
28062 # Create a (secure) tmp directory for tmp files.
28065 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28069 tmp
=.
/conf$$
-$RANDOM
28070 (umask 077 && mkdir
"$tmp")
28071 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
28074 # Set up the scripts for CONFIG_FILES section.
28075 # No need to generate them if there are no CONFIG_FILES.
28076 # This happens for instance with `./config.status config.h'.
28077 if test -n "$CONFIG_FILES"; then
28080 ac_cr
=`echo X | tr X '\015'`
28081 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28082 # But we know of no other shell where ac_cr would be empty at this
28083 # point, so we can use a bashism as a fallback.
28084 if test "x$ac_cr" = x
; then
28085 eval ac_cr
=\$
\'\\r
\'
28087 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28088 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28091 ac_cs_awk_cr
=$ac_cr
28094 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28099 echo "cat >conf$$subs.awk <<_ACEOF" &&
28100 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28102 } >conf$$subs.sh ||
28103 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28104 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28106 for ac_last_try in false false false false false :; do
28107 . ./conf$$subs.sh ||
28108 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28110 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28111 if test $ac_delim_n = $ac_delim_num; then
28113 elif $ac_last_try; then
28114 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28116 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28119 rm -f conf$$subs.sh
28121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28122 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
28126 s/^/S["/; s
/!.
*/"]=/
28136 s/\(.\{148\}\)..*/\1/
28138 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28143 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28150 s/\(.\{148\}\)..*/\1/
28152 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28156 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28161 ' <conf$$subs.awk | sed '
28166 ' >>$CONFIG_STATUS || ac_write_fail=1
28167 rm -f conf$$subs.awk
28168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28170 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
28171 for (key in S) S_is_set[key] = 1
28177 nfields = split(line, field, "@
")
28179 len = length(field[1])
28180 for (i = 2; i < nfields; i++) {
28182 keylen = length(key)
28183 if (S_is_set[key]) {
28185 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28186 len += length(value) + length(field[++i])
28197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28198 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28199 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28202 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
28203 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
28206 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28207 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
28208 # trailing colons and then remove the whole line if VPATH becomes empty
28209 # (actually we leave an empty line to preserve line numbers).
28210 if test "x
$srcdir" = x.; then
28211 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28230 fi # test -n "$CONFIG_FILES"
28232 # Set up the scripts for CONFIG_HEADERS section.
28233 # No need to generate them if there are no CONFIG_HEADERS.
28234 # This happens for instance with `./config.status Makefile'.
28235 if test -n "$CONFIG_HEADERS"; then
28236 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
28240 # Transform confdefs.h into an awk script `defines.awk', embedded as
28241 # here-document in config.status, that substitutes the proper values into
28242 # config.h.in to produce config.h.
28244 # Create a delimiter string that does not exist in confdefs.h, to ease
28245 # handling of long lines.
28247 for ac_last_try in false false :; do
28248 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
28249 if test -z "$ac_tt"; then
28251 elif $ac_last_try; then
28252 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
28254 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28258 # For the awk script, D is an array of macro values keyed by name,
28259 # likewise P contains macro parameters if any. Preserve backslash
28260 # newline sequences.
28262 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28264 s/.\{148\}/&'"$ac_delim"'/g
28267 s/^[ ]*#[ ]*define[ ][ ]*/ /
28274 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28276 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28280 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28281 D["\
1"]=" \
3\\\\\\n
"\\/p
28283 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28288 s/.\{148\}/&'"$ac_delim"'/g
28293 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28296 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28298 ' <confdefs.h | sed '
28299 s/'"$ac_delim"'/"\\\
28300 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28303 for (key in D) D_is_set[key] = 1
28306 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28308 split(line, arg, " ")
28309 if (arg[1] == "#") {
28313 defundef
= substr
(arg
[1], 2)
28316 split(mac1
, mac2
, "(") #)
28318 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28319 if (D_is_set
[macro
]) {
28320 # Preserve the white space surrounding the "#".
28321 print prefix
"define", macro P
[macro
] D
[macro
]
28324 # Replace #undef with comments. This is necessary, for example,
28325 # in the case of _POSIX_SOURCE, which is predefined and required
28326 # on some systems where configure will not decide to define it.
28327 if (defundef
== "undef") {
28328 print
"/*", prefix defundef
, macro
, "*/"
28336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28337 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
28338 fi # test -n "$CONFIG_HEADERS"
28341 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28346 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28348 case $ac_mode$ac_tag in
28350 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28351 :[FH
]-) ac_tag
=-:-;;
28352 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28369 -) ac_f
="$ac_tmp/stdin";;
28370 *) # Look for the file first in the build tree, then in the source tree
28371 # (if the path is not absolute). The absolute path cannot be DOS-style,
28372 # because $ac_f cannot contain `:'.
28376 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28378 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28380 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28381 as_fn_append ac_file_inputs
" '$ac_f'"
28384 # Let's still pretend it is `configure' which instantiates (i.e., don't
28385 # use $as_me), people would be surprised to read:
28386 # /* config.h. Generated by config.status. */
28387 configure_input
='Generated from '`
28388 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28390 if test x
"$ac_file" != x-
; then
28391 configure_input
="$ac_file. $configure_input"
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28393 $as_echo "$as_me: creating $ac_file" >&6;}
28395 # Neutralize special characters interpreted by sed in replacement strings.
28396 case $configure_input in #(
28397 *\
&* |
*\|
* |
*\\* )
28398 ac_sed_conf_input
=`$as_echo "$configure_input" |
28399 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28400 *) ac_sed_conf_input
=$configure_input;;
28404 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
28405 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
28410 ac_dir
=`$as_dirname -- "$ac_file" ||
28411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28412 X"$ac_file" : 'X\(//\)[^/]' \| \
28413 X"$ac_file" : 'X\(//\)$' \| \
28414 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28415 $as_echo X"$ac_file" |
28416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28420 /^X\(\/\/\)[^/].*/{
28433 as_dir
="$ac_dir"; as_fn_mkdir_p
28437 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28439 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28440 # A ".." for each directory in $ac_dir_suffix.
28441 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28442 case $ac_top_builddir_sub in
28443 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28444 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28447 ac_abs_top_builddir
=$ac_pwd
28448 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28449 # for backward compatibility:
28450 ac_top_builddir
=$ac_top_build_prefix
28453 .
) # We are building in place.
28455 ac_top_srcdir
=$ac_top_builddir_sub
28456 ac_abs_top_srcdir
=$ac_pwd ;;
28457 [\\/]* | ?
:[\\/]* ) # Absolute name.
28458 ac_srcdir
=$srcdir$ac_dir_suffix;
28459 ac_top_srcdir
=$srcdir
28460 ac_abs_top_srcdir
=$srcdir ;;
28461 *) # Relative name.
28462 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28463 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28464 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28466 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28476 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28477 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28479 ac_MKDIR_P
=$MKDIR_P
28481 [\\/$
]* | ?
:[\\/]* ) ;;
28482 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28487 # If the template does not know about datarootdir, expand it.
28488 # FIXME: This hack should be removed a few years after 2.60.
28489 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28500 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28501 *datarootdir
*) ac_datarootdir_seen
=yes;;
28502 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28504 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28507 ac_datarootdir_hack='
28508 s&@datadir@&$datadir&g
28509 s&@docdir@&$docdir&g
28510 s&@infodir@&$infodir&g
28511 s&@localedir@&$localedir&g
28512 s&@mandir@&$mandir&g
28513 s&\\\${datarootdir}&$datarootdir&g' ;;
28517 # Neutralize VPATH when `$srcdir' = `.'.
28518 # Shell code in configure.ac might set extrasub.
28519 # FIXME: do we really want to maintain this feature?
28520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28521 ac_sed_extra="$ac_vpsub
28524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28526 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28527 s|@configure_input@|
$ac_sed_conf_input|
;t t
28528 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28529 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28530 s
&@srcdir@
&$ac_srcdir&;t t
28531 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28532 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28533 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28534 s
&@builddir@
&$ac_builddir&;t t
28535 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28536 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28537 s
&@INSTALL@
&$ac_INSTALL&;t t
28538 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28539 $ac_datarootdir_hack
28541 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
28542 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
28544 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28545 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
28546 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28547 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28549 which seems to be undefined. Please make sure it is defined" >&5
28550 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28551 which seems to be undefined. Please make sure it is defined" >&2;}
28553 rm -f "$ac_tmp/stdin"
28555 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28556 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28564 if test x"$ac_file" != x-; then
28566 $as_echo "/* $configure_input */" \
28567 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28568 } >"$ac_tmp/config.h" \
28569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28570 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28572 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28575 mv "$ac_tmp/config.h" "$ac_file" \
28576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28579 $as_echo "/* $configure_input */" \
28580 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28581 || as_fn_error $? "could not create -" "$LINENO" 5
28583 # Compute "$ac_file"'s index
in $config_headers.
28586 for _am_header
in $config_headers :; do
28587 case $_am_header in
28588 $_am_arg |
$_am_arg:* )
28591 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28594 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28595 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28596 X"$_am_arg" : 'X\(//\)[^/]' \| \
28597 X"$_am_arg" : 'X\(//\)$' \| \
28598 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28599 $as_echo X"$_am_arg" |
28600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28604 /^X\(\/\/\)[^/].*/{
28616 s/.*/./; q'`/stamp-h
$_am_stamp_count
28619 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28620 $as_echo "$as_me: executing $ac_file commands" >&6;}
28625 case $ac_file$ac_mode in
28627 # Only add multilib support code if we just rebuilt the top-level
28629 case " $CONFIG_FILES " in
28631 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28634 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28635 # Older Autoconf quotes --file arguments for eval, but not when files
28636 # are listed without --file. Let's play safe and only enable the eval
28637 # if we detect the quoting.
28638 case $CONFIG_FILES in
28639 *\'*) eval set x
"$CONFIG_FILES" ;;
28640 *) set x
$CONFIG_FILES ;;
28645 # Strip MF so we end up with the name of the file.
28646 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28647 # Check whether this is an Automake generated Makefile or not.
28648 # We used to match only the files named 'Makefile.in', but
28649 # some people rename them; so instead we look at the file content.
28650 # Grep'ing the first line is not enough: some people post-process
28651 # each Makefile.in and add a new line on top of each file to say so.
28652 # Grep'ing the whole file is not good either: AIX grep has a line
28653 # limit of 2048, but all sed's we know have understand at least 4000.
28654 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28655 dirpart
=`$as_dirname -- "$mf" ||
28656 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28657 X"$mf" : 'X\(//\)[^/]' \| \
28658 X"$mf" : 'X\(//\)$' \| \
28659 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28665 /^X\(\/\/\)[^/].*/{
28681 # Extract the definition of DEPDIR, am__include, and am__quote
28682 # from the Makefile without running 'make'.
28683 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28684 test -z "$DEPDIR" && continue
28685 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28686 test -z "$am__include" && continue
28687 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28688 # Find all dependency output files, they are included files with
28689 # $(DEPDIR) in their names. We invoke sed twice because it is the
28690 # simplest approach to changing $(DEPDIR) to its actual value in the
28692 for file in `sed -n "
28693 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28694 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28695 # Make sure the directory exists.
28696 test -f "$dirpart/$file" && continue
28697 fdir
=`$as_dirname -- "$file" ||
28698 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28699 X"$file" : 'X\(//\)[^/]' \| \
28700 X"$file" : 'X\(//\)$' \| \
28701 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28702 $as_echo X"$file" |
28703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28707 /^X\(\/\/\)[^/].*/{
28720 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28721 # echo "creating $dirpart/$file"
28722 echo '# dummy' > "$dirpart/$file"
28729 # See if we are running on zsh, and set the options which allow our
28730 # commands through without removal of \ escapes.
28731 if test -n "${ZSH_VERSION+set}" ; then
28732 setopt NO_GLOB_SUBST
28735 cfgfile
="${ofile}T"
28736 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28739 cat <<_LT_EOF >> "$cfgfile"
28742 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28743 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28744 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28745 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28747 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28748 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28749 # Written by Gordon Matzigkeit, 1996
28751 # This file is part of GNU Libtool.
28753 # GNU Libtool is free software; you can redistribute it and/or
28754 # modify it under the terms of the GNU General Public License as
28755 # published by the Free Software Foundation; either version 2 of
28756 # the License, or (at your option) any later version.
28758 # As a special exception to the GNU General Public License,
28759 # if you distribute this file as part of a program or library that
28760 # is built using GNU Libtool, you may include this file under the
28761 # same distribution terms that you use for the rest of that program.
28763 # GNU Libtool is distributed in the hope that it will be useful,
28764 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28765 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28766 # GNU General Public License for more details.
28768 # You should have received a copy of the GNU General Public License
28769 # along with GNU Libtool; see the file COPYING. If not, a copy
28770 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28771 # obtained by writing to the Free Software Foundation, Inc.,
28772 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28775 # The names of the tagged configurations supported by this script.
28776 available_tags="FC "
28778 # ### BEGIN LIBTOOL CONFIG
28780 # A sed program that does not truncate output.
28783 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28784 Xsed="\$SED -e 1s/^X//"
28786 # A grep program that handles long lines.
28792 # A literal string matcher.
28795 # Shell to use when invoking shell scripts.
28798 # An echo program that protects backslashes.
28801 # Which release of libtool.m4 was used?
28802 macro_version=$macro_version
28803 macro_revision=$macro_revision
28805 # Whether or not to build shared libraries.
28806 build_libtool_libs=$enable_shared
28808 # Whether or not to build static libraries.
28809 build_old_libs=$enable_static
28811 # What type of objects to build.
28814 # Whether or not to optimize for fast installation.
28815 fast_install=$enable_fast_install
28818 host_alias=$host_alias
28822 # The build system.
28823 build_alias=$build_alias
28827 # A BSD- or MS-compatible name lister.
28830 # Whether we need soft or hard links.
28833 # What is the maximum length of a command?
28834 max_cmd_len=$max_cmd_len
28836 # Object file suffix (normally "o").
28839 # Executable file suffix (normally "").
28842 # whether the shell understands "unset".
28845 # turn spaces into newlines.
28848 # turn newlines into spaces.
28851 # An object symbol dumper.
28852 OBJDUMP=$lt_OBJDUMP
28854 # Method to check whether dependent libraries are shared objects.
28855 deplibs_check_method=$lt_deplibs_check_method
28857 # Command to use when deplibs_check_method == "file_magic".
28858 file_magic_cmd=$lt_file_magic_cmd
28862 AR_FLAGS=$lt_AR_FLAGS
28864 # A symbol stripping program.
28867 # Commands used to install an old-style archive.
28869 old_postinstall_cmds=$lt_old_postinstall_cmds
28870 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28872 # Whether to use a lock for old archive extraction.
28873 lock_old_archive_extraction=$lock_old_archive_extraction
28878 # LTCC compiler flags.
28879 LTCFLAGS=$lt_CFLAGS
28881 # Take the output of nm and produce a listing of raw symbols and C names.
28882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28884 # Transform the output of nm in a proper C declaration.
28885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28887 # Transform the output of nm in a C name address pair.
28888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28890 # Transform the output of nm in a C name address pair when lib prefix is needed.
28891 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28893 # The name of the directory that contains temporary libtool files.
28896 # Used to examine libraries when file_magic_cmd begins with "file".
28897 MAGIC_CMD=$MAGIC_CMD
28899 # Must we lock files when doing compilation?
28900 need_locks=$lt_need_locks
28902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28903 DSYMUTIL=$lt_DSYMUTIL
28905 # Tool to change global to local symbols on Mac OS X.
28908 # Tool to manipulate fat objects and archives on Mac OS X.
28911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28915 OTOOL64=$lt_OTOOL64
28917 # Old archive suffix (normally "a").
28920 # Shared library suffix (normally ".so").
28921 shrext_cmds=$lt_shrext_cmds
28923 # The commands to extract the exported symbol list from a shared archive.
28924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28926 # Variables whose values should be saved in libtool wrapper scripts and
28927 # restored at link time.
28928 variables_saved_for_relink=$lt_variables_saved_for_relink
28930 # Do we need the "lib" prefix for modules?
28931 need_lib_prefix=$need_lib_prefix
28933 # Do we need a version for libraries?
28934 need_version=$need_version
28936 # Library versioning type.
28937 version_type=$version_type
28939 # Shared library runtime path variable.
28940 runpath_var=$runpath_var
28942 # Shared library path variable.
28943 shlibpath_var=$shlibpath_var
28945 # Is shlibpath searched before the hard-coded library search path?
28946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28948 # Format of library name prefix.
28949 libname_spec=$lt_libname_spec
28951 # List of archive names. First name is the real one, the rest are links.
28952 # The last name is the one that the linker finds with -lNAME
28953 library_names_spec=$lt_library_names_spec
28955 # The coded name of the library, if different from the real name.
28956 soname_spec=$lt_soname_spec
28958 # Permission mode override for installation of shared libraries.
28959 install_override_mode=$lt_install_override_mode
28961 # Command to use after installation of a shared archive.
28962 postinstall_cmds=$lt_postinstall_cmds
28964 # Command to use after uninstallation of a shared archive.
28965 postuninstall_cmds=$lt_postuninstall_cmds
28967 # Commands used to finish a libtool library installation in a directory.
28968 finish_cmds=$lt_finish_cmds
28970 # As "finish_cmds", except a single script fragment to be evaled but
28972 finish_eval=$lt_finish_eval
28974 # Whether we should hardcode library paths into libraries.
28975 hardcode_into_libs=$hardcode_into_libs
28977 # Compile-time system search path for libraries.
28978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28980 # Run-time system search path for libraries.
28981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28983 # Whether dlopen is supported.
28984 dlopen_support=$enable_dlopen
28986 # Whether dlopen of programs is supported.
28987 dlopen_self=$enable_dlopen_self
28989 # Whether dlopen of statically linked programs is supported.
28990 dlopen_self_static=$enable_dlopen_self_static
28992 # Commands to strip libraries.
28993 old_striplib=$lt_old_striplib
28994 striplib=$lt_striplib
28997 # The linker used to build libraries.
29000 # How to create reloadable object files.
29001 reload_flag=$lt_reload_flag
29002 reload_cmds=$lt_reload_cmds
29004 # Commands used to build an old-style archive.
29005 old_archive_cmds=$lt_old_archive_cmds
29007 # A language specific compiler.
29010 # Is the compiler the GNU compiler?
29013 # Compiler flag to turn off builtin functions.
29014 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29016 # How to pass a linker flag through the compiler.
29017 wl=$lt_lt_prog_compiler_wl
29019 # Additional compiler flags for building library objects.
29020 pic_flag=$lt_lt_prog_compiler_pic
29022 # Compiler flag to prevent dynamic linking.
29023 link_static_flag=$lt_lt_prog_compiler_static
29025 # Does compiler simultaneously support -c and -o options?
29026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29028 # Whether or not to add -lc for building shared libraries.
29029 build_libtool_need_lc=$archive_cmds_need_lc
29031 # Whether or not to disallow shared libs when runtime libs are static.
29032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29034 # Compiler flag to allow reflexive dlopens.
29035 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29037 # Compiler flag to generate shared objects directly from archives.
29038 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29040 # Whether the compiler copes with passing no objects directly.
29041 compiler_needs_object=$lt_compiler_needs_object
29043 # Create an old-style archive from a shared archive.
29044 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29046 # Create a temporary old-style archive to link instead of a shared archive.
29047 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29049 # Commands used to build a shared archive.
29050 archive_cmds=$lt_archive_cmds
29051 archive_expsym_cmds=$lt_archive_expsym_cmds
29053 # Commands used to build a loadable module if different from building
29054 # a shared archive.
29055 module_cmds=$lt_module_cmds
29056 module_expsym_cmds=$lt_module_expsym_cmds
29058 # Whether we are building with GNU ld or not.
29059 with_gnu_ld=$lt_with_gnu_ld
29061 # Flag that allows shared libraries with undefined symbols to be built.
29062 allow_undefined_flag=$lt_allow_undefined_flag
29064 # Flag that enforces no undefined symbols.
29065 no_undefined_flag=$lt_no_undefined_flag
29067 # Flag to hardcode \$libdir into a binary during linking.
29068 # This must work even if \$libdir does not exist
29069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29071 # If ld is used when linking, flag to hardcode \$libdir into a binary
29072 # during linking. This must work even if \$libdir does not exist.
29073 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29075 # Whether we need a single "-rpath" flag with a separated argument.
29076 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29079 # DIR into the resulting binary.
29080 hardcode_direct=$hardcode_direct
29082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29083 # DIR into the resulting binary and the resulting library dependency is
29084 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29085 # library is relocated.
29086 hardcode_direct_absolute=$hardcode_direct_absolute
29088 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29089 # into the resulting binary.
29090 hardcode_minus_L=$hardcode_minus_L
29092 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29093 # into the resulting binary.
29094 hardcode_shlibpath_var=$hardcode_shlibpath_var
29096 # Set to "yes" if building a shared library automatically hardcodes DIR
29097 # into the library and all subsequent libraries and executables linked
29099 hardcode_automatic=$hardcode_automatic
29101 # Set to yes if linker adds runtime paths of dependent libraries
29102 # to runtime path list.
29103 inherit_rpath=$inherit_rpath
29105 # Whether libtool must link a program against all its dependency libraries.
29106 link_all_deplibs=$link_all_deplibs
29108 # Fix the shell variable \$srcfile for the compiler.
29109 fix_srcfile_path=$lt_fix_srcfile_path
29111 # Set to "yes" if exported symbols are required.
29112 always_export_symbols=$always_export_symbols
29114 # The commands to list exported symbols.
29115 export_symbols_cmds=$lt_export_symbols_cmds
29117 # Symbols that should not be listed in the preloaded symbols.
29118 exclude_expsyms=$lt_exclude_expsyms
29120 # Symbols that must always be exported.
29121 include_expsyms=$lt_include_expsyms
29123 # Commands necessary for linking programs (against libraries) with templates.
29124 prelink_cmds=$lt_prelink_cmds
29126 # Specify filename containing input files.
29127 file_list_spec=$lt_file_list_spec
29129 # How to hardcode a shared library path into an executable.
29130 hardcode_action=$hardcode_action
29132 # The directories searched by this compiler when creating a shared library.
29133 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29135 # Dependencies to place before and after the objects being linked to
29136 # create a shared library.
29137 predep_objects=$lt_predep_objects
29138 postdep_objects=$lt_postdep_objects
29139 predeps=$lt_predeps
29140 postdeps=$lt_postdeps
29142 # The library search path used internally by the compiler when linking
29143 # a shared library.
29144 compiler_lib_search_path=$lt_compiler_lib_search_path
29146 # ### END LIBTOOL CONFIG
29152 cat <<\_LT_EOF
>> "$cfgfile"
29153 # AIX sometimes has problems with the GCC collect2 program. For some
29154 # reason, if we set the COLLECT_NAMES environment variable, the problems
29155 # vanish in a puff of smoke.
29156 if test "X${COLLECT_NAMES+set}" != Xset
; then
29158 export COLLECT_NAMES
29165 ltmain
="$ac_aux_dir/ltmain.sh"
29168 # We use sed instead of cat because bash on DJGPP gets confused if
29169 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29170 # text mode, it properly converts lines to CR/LF. This bash problem
29171 # is reportedly fixed, but why not run on old versions too?
29172 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29173 ||
(rm -f "$cfgfile"; exit 1)
29177 cat << \_LT_EOF
>> "$cfgfile"
29179 # func_dirname file append nondir_replacement
29180 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29181 # otherwise set result to NONDIR_REPLACEMENT.
29185 */*) func_dirname_result
="${1%/*}${2}" ;;
29186 * ) func_dirname_result
="${3}" ;;
29190 # func_basename file
29193 func_basename_result
="${1##*/}"
29196 # func_dirname_and_basename file append nondir_replacement
29197 # perform func_basename and func_dirname in a single function
29199 # dirname: Compute the dirname of FILE. If nonempty,
29200 # add APPEND to the result, otherwise set result
29201 # to NONDIR_REPLACEMENT.
29202 # value returned in "$func_dirname_result"
29203 # basename: Compute filename of FILE.
29204 # value retuned in "$func_basename_result"
29205 # Implementation must be kept synchronized with func_dirname
29206 # and func_basename. For efficiency, we do not delegate to
29207 # those functions but instead duplicate the functionality here.
29208 func_dirname_and_basename
()
29211 */*) func_dirname_result
="${1%/*}${2}" ;;
29212 * ) func_dirname_result
="${3}" ;;
29214 func_basename_result
="${1##*/}"
29217 # func_stripname prefix suffix name
29218 # strip PREFIX and SUFFIX off of NAME.
29219 # PREFIX and SUFFIX must not contain globbing or regex special
29220 # characters, hashes, percent signs, but SUFFIX may contain a leading
29221 # dot (in which case that matches only a dot).
29224 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29225 # positional parameters, so assign one to ordinary parameter first.
29226 func_stripname_result
=${3}
29227 func_stripname_result
=${func_stripname_result#"${1}"}
29228 func_stripname_result
=${func_stripname_result%"${2}"}
29234 func_opt_split_opt
=${1%%=*}
29235 func_opt_split_arg
=${1#*=}
29242 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29243 *) func_lo2o_result
=${1} ;;
29247 # func_xform libobj-or-source
29250 func_xform_result
=${1%.*}.lo
29253 # func_arith arithmetic-term...
29256 func_arith_result
=$
(( $
* ))
29260 # STRING may not start with a hyphen.
29263 func_len_result
=${#1}
29268 *) # Bourne compatible functions.
29269 cat << \_LT_EOF
>> "$cfgfile"
29271 # func_dirname file append nondir_replacement
29272 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29273 # otherwise set result to NONDIR_REPLACEMENT.
29276 # Extract subdirectory from the argument.
29277 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29278 if test "X$func_dirname_result" = "X${1}"; then
29279 func_dirname_result
="${3}"
29281 func_dirname_result
="$func_dirname_result${2}"
29285 # func_basename file
29288 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29292 # func_stripname prefix suffix name
29293 # strip PREFIX and SUFFIX off of NAME.
29294 # PREFIX and SUFFIX must not contain globbing or regex special
29295 # characters, hashes, percent signs, but SUFFIX may contain a leading
29296 # dot (in which case that matches only a dot).
29297 # func_strip_suffix prefix name
29301 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29302 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29307 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29308 my_sed_long_arg
='1s/^-[^=]*=//'
29313 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29314 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29320 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29323 # func_xform libobj-or-source
29326 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29329 # func_arith arithmetic-term...
29332 func_arith_result
=`expr "$@"`
29336 # STRING may not start with a hyphen.
29339 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29345 case $lt_shell_append in
29347 cat << \_LT_EOF
>> "$cfgfile"
29349 # func_append var value
29350 # Append VALUE to the end of shell variable VAR.
29358 cat << \_LT_EOF
>> "$cfgfile"
29360 # func_append var value
29361 # Append VALUE to the end of shell variable VAR.
29372 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29373 ||
(rm -f "$cfgfile"; exit 1)
29375 mv -f "$cfgfile" "$ofile" ||
29376 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29380 cat <<_LT_EOF >> "$ofile"
29382 # ### BEGIN LIBTOOL TAG CONFIG: FC
29384 # The linker used to build libraries.
29387 # How to create reloadable object files.
29388 reload_flag=$lt_reload_flag_FC
29389 reload_cmds=$lt_reload_cmds_FC
29391 # Commands used to build an old-style archive.
29392 old_archive_cmds=$lt_old_archive_cmds_FC
29394 # A language specific compiler.
29397 # Is the compiler the GNU compiler?
29400 # Compiler flag to turn off builtin functions.
29401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29403 # How to pass a linker flag through the compiler.
29404 wl=$lt_lt_prog_compiler_wl_FC
29406 # Additional compiler flags for building library objects.
29407 pic_flag=$lt_lt_prog_compiler_pic_FC
29409 # Compiler flag to prevent dynamic linking.
29410 link_static_flag=$lt_lt_prog_compiler_static_FC
29412 # Does compiler simultaneously support -c and -o options?
29413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29415 # Whether or not to add -lc for building shared libraries.
29416 build_libtool_need_lc=$archive_cmds_need_lc_FC
29418 # Whether or not to disallow shared libs when runtime libs are static.
29419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29421 # Compiler flag to allow reflexive dlopens.
29422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29424 # Compiler flag to generate shared objects directly from archives.
29425 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29427 # Whether the compiler copes with passing no objects directly.
29428 compiler_needs_object=$lt_compiler_needs_object_FC
29430 # Create an old-style archive from a shared archive.
29431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29433 # Create a temporary old-style archive to link instead of a shared archive.
29434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29436 # Commands used to build a shared archive.
29437 archive_cmds=$lt_archive_cmds_FC
29438 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29440 # Commands used to build a loadable module if different from building
29441 # a shared archive.
29442 module_cmds=$lt_module_cmds_FC
29443 module_expsym_cmds=$lt_module_expsym_cmds_FC
29445 # Whether we are building with GNU ld or not.
29446 with_gnu_ld=$lt_with_gnu_ld_FC
29448 # Flag that allows shared libraries with undefined symbols to be built.
29449 allow_undefined_flag=$lt_allow_undefined_flag_FC
29451 # Flag that enforces no undefined symbols.
29452 no_undefined_flag=$lt_no_undefined_flag_FC
29454 # Flag to hardcode \$libdir into a binary during linking.
29455 # This must work even if \$libdir does not exist
29456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29458 # If ld is used when linking, flag to hardcode \$libdir into a binary
29459 # during linking. This must work even if \$libdir does not exist.
29460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29462 # Whether we need a single "-rpath" flag with a separated argument.
29463 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29466 # DIR into the resulting binary.
29467 hardcode_direct=$hardcode_direct_FC
29469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29470 # DIR into the resulting binary and the resulting library dependency is
29471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29472 # library is relocated.
29473 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29476 # into the resulting binary.
29477 hardcode_minus_L=$hardcode_minus_L_FC
29479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29480 # into the resulting binary.
29481 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29483 # Set to "yes" if building a shared library automatically hardcodes DIR
29484 # into the library and all subsequent libraries and executables linked
29486 hardcode_automatic=$hardcode_automatic_FC
29488 # Set to yes if linker adds runtime paths of dependent libraries
29489 # to runtime path list.
29490 inherit_rpath=$inherit_rpath_FC
29492 # Whether libtool must link a program against all its dependency libraries.
29493 link_all_deplibs=$link_all_deplibs_FC
29495 # Fix the shell variable \$srcfile for the compiler.
29496 fix_srcfile_path=$lt_fix_srcfile_path_FC
29498 # Set to "yes" if exported symbols are required.
29499 always_export_symbols=$always_export_symbols_FC
29501 # The commands to list exported symbols.
29502 export_symbols_cmds=$lt_export_symbols_cmds_FC
29504 # Symbols that should not be listed in the preloaded symbols.
29505 exclude_expsyms=$lt_exclude_expsyms_FC
29507 # Symbols that must always be exported.
29508 include_expsyms=$lt_include_expsyms_FC
29510 # Commands necessary for linking programs (against libraries) with templates.
29511 prelink_cmds=$lt_prelink_cmds_FC
29513 # Specify filename containing input files.
29514 file_list_spec=$lt_file_list_spec_FC
29516 # How to hardcode a shared library path into an executable.
29517 hardcode_action=$hardcode_action_FC
29519 # The directories searched by this compiler when creating a shared library.
29520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29522 # Dependencies to place before and after the objects being linked to
29523 # create a shared library.
29524 predep_objects=$lt_predep_objects_FC
29525 postdep_objects=$lt_postdep_objects_FC
29526 predeps=$lt_predeps_FC
29527 postdeps=$lt_postdeps_FC
29529 # The library search path used internally by the compiler when linking
29530 # a shared library.
29531 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29533 # ### END LIBTOOL TAG CONFIG: FC
29538 if test "$GCC" = yes; then
29539 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29541 echo "/* generated for $CC */" > tmp-stdint.h
29544 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29546 #ifndef GCC_GENERATED_STDINT_H
29547 #define GCC_GENERATED_STDINT_H 1
29549 #include <sys/types.h>
29552 if test "$acx_cv_header_stdint" != stdint.h
; then
29553 echo "#include <stddef.h>" >> tmp-stdint.h
29555 if test "$acx_cv_header_stdint" != stddef.h
; then
29556 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29559 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29560 /* glibc uses these symbols as guards to prevent redefinitions. */
29561 #ifdef __int8_t_defined
29566 #ifdef __uint32_t_defined
29572 # ----------------- done header, emit basic int types -------------
29573 if test "$acx_cv_header_stdint" = stddef.h
; then
29574 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29578 #ifndef __uint8_t_defined
29579 #define __uint8_t_defined
29581 typedef unsigned $acx_cv_type_int8_t uint8_t;
29588 #ifndef __uint16_t_defined
29589 #define __uint16_t_defined
29591 typedef unsigned $acx_cv_type_int16_t uint16_t;
29598 #ifndef __uint32_t_defined
29599 #define __uint32_t_defined
29601 typedef unsigned $acx_cv_type_int32_t uint32_t;
29608 #ifndef __int8_t_defined
29609 #define __int8_t_defined
29611 typedef $acx_cv_type_int8_t int8_t;
29618 #ifndef __int16_t_defined
29619 #define __int16_t_defined
29621 typedef $acx_cv_type_int16_t int16_t;
29628 #ifndef __int32_t_defined
29629 #define __int32_t_defined
29631 typedef $acx_cv_type_int32_t int32_t;
29636 elif test "$ac_cv_type_u_int32_t" = yes; then
29637 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29639 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29652 #ifndef __uint8_t_defined
29653 #define __uint8_t_defined
29655 typedef u_int8_t uint8_t;
29662 #ifndef __uint16_t_defined
29663 #define __uint16_t_defined
29665 typedef u_int16_t uint16_t;
29672 #ifndef __uint32_t_defined
29673 #define __uint32_t_defined
29675 typedef u_int32_t uint32_t;
29681 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29683 /* Some systems have guard macros to prevent redefinitions, define them. */
29705 # ------------- done basic int types, emit int64_t types ------------
29706 if test "$ac_cv_type_uint64_t" = yes; then
29707 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29709 /* system headers have good uint64_t and int64_t */
29717 elif test "$ac_cv_type_u_int64_t" = yes; then
29718 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29720 /* system headers have an u_int64_t (and int64_t) */
29726 #ifndef __uint64_t_defined
29727 #define __uint64_t_defined
29729 typedef u_int64_t uint64_t;
29734 elif test -n "$acx_cv_type_int64_t"; then
29735 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29737 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29741 typedef $acx_cv_type_int64_t int64_t;
29746 #ifndef __uint64_t_defined
29747 #define __uint64_t_defined
29749 typedef unsigned $acx_cv_type_int64_t uint64_t;
29755 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29757 /* some common heuristics for int64_t, using compiler-specific tests */
29758 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29761 #ifndef __int64_t_defined
29763 typedef long long int64_t;
29770 typedef unsigned long long uint64_t;
29774 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29775 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29776 does not implement __extension__. But that compiler doesn't define
29778 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29779 # define __extension__
29785 __extension__ typedef long long int64_t;
29791 __extension__ typedef unsigned long long uint64_t;
29795 #elif !defined __STRICT_ANSI__
29796 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29801 typedef __int64 int64_t;
29807 typedef unsigned __int64 uint64_t;
29810 # endif /* compiler */
29812 #endif /* ANSI version */
29816 # ------------- done int64_t types, emit intptr types ------------
29817 if test "$ac_cv_type_uintptr_t" != yes; then
29818 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29820 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29821 #ifndef __uintptr_t_defined
29823 typedef u$acx_cv_type_intptr_t uintptr_t;
29826 #ifndef __intptr_t_defined
29828 typedef $acx_cv_type_intptr_t intptr_t;
29834 # ------------- done intptr types, emit int_least types ------------
29835 if test "$ac_cv_type_int_least32_t" != yes; then
29836 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29838 /* Define int_least types */
29839 typedef int8_t int_least8_t;
29840 typedef int16_t int_least16_t;
29841 typedef int32_t int_least32_t;
29843 typedef int64_t int_least64_t;
29846 typedef uint8_t uint_least8_t;
29847 typedef uint16_t uint_least16_t;
29848 typedef uint32_t uint_least32_t;
29850 typedef uint64_t uint_least64_t;
29855 # ------------- done intptr types, emit int_fast types ------------
29856 if test "$ac_cv_type_int_fast32_t" != yes; then
29857 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29859 /* Define int_fast types. short is often slow */
29860 typedef int8_t int_fast8_t;
29861 typedef int int_fast16_t;
29862 typedef int32_t int_fast32_t;
29864 typedef int64_t int_fast64_t;
29867 typedef uint8_t uint_fast8_t;
29868 typedef unsigned int uint_fast16_t;
29869 typedef uint32_t uint_fast32_t;
29871 typedef uint64_t uint_fast64_t;
29876 if test "$ac_cv_type_uintmax_t" != yes; then
29877 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29879 /* Define intmax based on what we found */
29882 typedef int64_t intmax_t;
29884 typedef long intmax_t;
29889 typedef uint64_t uintmax_t;
29891 typedef unsigned long uintmax_t;
29897 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29899 #endif /* GCC_GENERATED_STDINT_H */
29902 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29905 mv -f tmp-stdint.h gstdint.h
29916 ac_clean_files
=$ac_clean_files_save
29918 test $ac_write_fail = 0 ||
29919 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29922 # configure is writing to config.log, and then calls config.status.
29923 # config.status does its own redirection, appending to config.log.
29924 # Unfortunately, on DOS this fails, as config.log is still kept open
29925 # by configure, so config.status won't be able to write to it; its
29926 # output is simply discarded. So we exec the FD to /dev/null,
29927 # effectively closing config.log, so it can be properly (re)opened and
29928 # appended to by config.status. When coming back to configure, we
29929 # need to make the FD available again.
29930 if test "$no_create" != yes; then
29932 ac_config_status_args
=
29933 test "$silent" = yes &&
29934 ac_config_status_args
="$ac_config_status_args --quiet"
29936 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29938 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29939 # would make configure fail if this is the last instruction.
29940 $ac_cs_success || as_fn_exit
1
29942 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29944 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}