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
" sigaction"
2630 as_fn_append ac_func_list
" waitpid"
2631 as_fn_append ac_func_list
" alarm"
2632 as_fn_append ac_func_list
" access"
2633 as_fn_append ac_func_list
" fork"
2634 as_fn_append ac_func_list
" posix_spawn"
2635 as_fn_append ac_func_list
" setmode"
2636 as_fn_append ac_func_list
" fcntl"
2637 as_fn_append ac_func_list
" writev"
2638 as_fn_append ac_func_list
" gettimeofday"
2639 as_fn_append ac_func_list
" stat"
2640 as_fn_append ac_func_list
" fstat"
2641 as_fn_append ac_func_list
" lstat"
2642 as_fn_append ac_func_list
" getpwuid"
2643 as_fn_append ac_func_list
" vsnprintf"
2644 as_fn_append ac_func_list
" dup"
2645 as_fn_append ac_func_list
" getcwd"
2646 as_fn_append ac_func_list
" localtime_r"
2647 as_fn_append ac_func_list
" gmtime_r"
2648 as_fn_append ac_func_list
" getpwuid_r"
2649 as_fn_append ac_func_list
" ttyname_r"
2650 as_fn_append ac_func_list
" clock_gettime"
2651 as_fn_append ac_func_list
" getgid"
2652 as_fn_append ac_func_list
" getpid"
2653 as_fn_append ac_func_list
" getuid"
2654 as_fn_append ac_func_list
" geteuid"
2655 as_fn_append ac_func_list
" umask"
2656 as_fn_append ac_func_list
" getegid"
2657 as_fn_append ac_func_list
" secure_getenv"
2658 as_fn_append ac_func_list
" __secure_getenv"
2659 as_fn_append ac_func_list
" mkostemp"
2660 as_fn_append ac_func_list
" strnlen"
2661 as_fn_append ac_func_list
" strndup"
2662 as_fn_append ac_func_list
" newlocale"
2663 as_fn_append ac_func_list
" freelocale"
2664 as_fn_append ac_func_list
" uselocale"
2665 as_fn_append ac_func_list
" strerror_l"
2666 as_fn_append ac_header_list
" math.h"
2667 # Check that the precious variables saved in the cache have kept the same
2669 ac_cache_corrupted
=false
2670 for ac_var
in $ac_precious_vars; do
2671 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2672 eval ac_new_set
=\
$ac_env_${ac_var}_set
2673 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2674 eval ac_new_val
=\
$ac_env_${ac_var}_value
2675 case $ac_old_set,$ac_new_set in
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2678 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2679 ac_cache_corrupted
=: ;;
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2682 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2683 ac_cache_corrupted
=: ;;
2686 if test "x$ac_old_val" != "x$ac_new_val"; then
2687 # differences in whitespace do not lead to failure.
2688 ac_old_val_w
=`echo x $ac_old_val`
2689 ac_new_val_w
=`echo x $ac_new_val`
2690 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2692 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2693 ac_cache_corrupted
=:
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2696 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2697 eval $ac_var=\
$ac_old_val
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2700 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2702 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2705 # Pass precious variables to config.status.
2706 if test "$ac_new_set" = set; then
2708 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2709 *) ac_arg
=$ac_var=$ac_new_val ;;
2711 case " $ac_configure_args " in
2712 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2713 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2717 if $ac_cache_corrupted; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2721 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2722 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2724 ## -------------------- ##
2725 ## Main body of script. ##
2726 ## -------------------- ##
2729 ac_cpp
='$CPP $CPPFLAGS'
2730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2738 ac_config_headers
="$ac_config_headers config.h"
2741 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2742 if test -f "$ac_dir/install-sh"; then
2744 ac_install_sh
="$ac_aux_dir/install-sh -c"
2746 elif test -f "$ac_dir/install.sh"; then
2748 ac_install_sh
="$ac_aux_dir/install.sh -c"
2750 elif test -f "$ac_dir/shtool"; then
2752 ac_install_sh
="$ac_aux_dir/shtool install -c"
2756 if test -z "$ac_aux_dir"; then
2757 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2760 # These three variables are undocumented and unsupported,
2761 # and are intended to be withdrawn in a future Autoconf release.
2762 # They can cause serious problems if a builder's source tree is in a directory
2763 # whose full name contains unusual characters.
2764 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2765 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2766 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2769 # Make sure we can run config.sub.
2770 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2771 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2774 $as_echo_n "checking build system type... " >&6; }
2775 if ${ac_cv_build+:} false
; then :
2776 $as_echo_n "(cached) " >&6
2778 ac_build_alias
=$build_alias
2779 test "x$ac_build_alias" = x
&&
2780 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2781 test "x$ac_build_alias" = x
&&
2782 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2783 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2784 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2788 $as_echo "$ac_cv_build" >&6; }
2789 case $ac_cv_build in
2791 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2794 ac_save_IFS
=$IFS; IFS
='-'
2800 # Remember, the first character of IFS is used to create $*,
2801 # except with old shells:
2804 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2807 case ${build_alias} in
2808 "") build_noncanonical
=${build} ;;
2809 *) build_noncanonical
=${build_alias} ;;
2812 case ${host_alias} in
2813 "") host_noncanonical
=${build_noncanonical} ;;
2814 *) host_noncanonical
=${host_alias} ;;
2817 case ${target_alias} in
2818 "") target_noncanonical
=${host_noncanonical} ;;
2819 *) target_noncanonical
=${target_alias} ;;
2823 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2824 # have matching libraries, they should use host libraries: Makefile.tpl
2825 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2826 # However, they still use the build modules, because the corresponding
2827 # host modules (e.g. bison) are only built for the host when bootstrap
2829 # - build_subdir is where we find build modules, and never changes.
2830 # - build_libsubdir is where we find build libraries, and can be overridden.
2832 # Prefix 'build-' so this never conflicts with target_subdir.
2833 build_subdir
="build-${build_noncanonical}"
2835 # Check whether --with-build-libsubdir was given.
2836 if test "${with_build_libsubdir+set}" = set; then :
2837 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2839 build_libsubdir
="$build_subdir"
2842 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2843 if ( test $srcdir = .
&& test -d gcc
) \
2844 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2845 host_subdir
="host-${host_noncanonical}"
2850 target_subdir
=${target_noncanonical}
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2858 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2859 # Check whether --enable-version-specific-runtime-libs was given.
2860 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2861 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2862 yes) version_specific_libs
=yes ;;
2863 no
) version_specific_libs
=no
;;
2864 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2867 version_specific_libs
=no
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2871 $as_echo "$version_specific_libs" >&6; }
2873 # Build with intermodule optimisations
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2875 $as_echo_n "checking for --enable-intermodule... " >&6; }
2876 # Check whether --enable-intermodule was given.
2877 if test "${enable_intermodule+set}" = set; then :
2878 enableval
=$enable_intermodule; case "$enable_intermodule" in
2879 yes) onestep
="-onestep";;
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2887 $as_echo "$enable_intermodule" >&6; }
2888 if test x
$onestep = x-onestep
; then
2898 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2900 # You will slowly go insane if you do not grok the following fact: when
2901 # building this library, the top-level /target/ becomes the library's /host/.
2903 # configure then causes --target to default to --host, exactly like any
2904 # other package using autoconf. Therefore, 'target' and 'host' will
2905 # always be the same. This makes sense both for native and cross compilers
2906 # just think about it for a little while. :-)
2908 # Also, if this library is being configured as part of a cross compiler, the
2909 # top-level configure script will pass the "real" host as $with_cross_host.
2911 # Do not delete or change the following two lines. For why, see
2912 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2914 $as_echo_n "checking host system type... " >&6; }
2915 if ${ac_cv_host+:} false
; then :
2916 $as_echo_n "(cached) " >&6
2918 if test "x$host_alias" = x
; then
2919 ac_cv_host
=$ac_cv_build
2921 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2922 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2927 $as_echo "$ac_cv_host" >&6; }
2930 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2933 ac_save_IFS
=$IFS; IFS
='-'
2939 # Remember, the first character of IFS is used to create $*,
2940 # except with old shells:
2943 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2947 $as_echo_n "checking target system type... " >&6; }
2948 if ${ac_cv_target+:} false
; then :
2949 $as_echo_n "(cached) " >&6
2951 if test "x$target_alias" = x
; then
2952 ac_cv_target
=$ac_cv_host
2954 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2955 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2960 $as_echo "$ac_cv_target" >&6; }
2961 case $ac_cv_target in
2963 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2965 target
=$ac_cv_target
2966 ac_save_IFS
=$IFS; IFS
='-'
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2976 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2979 # The aliases save the names the user supplied, while $host etc.
2980 # will get canonicalized.
2981 test -n "$target_alias" &&
2982 test "$program_prefix$program_suffix$program_transform_name" = \
2984 program_prefix
=${target_alias}-
2989 target_alias
=${target_alias-$host_alias}
2992 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2993 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2994 # 1.9.6: minimum required version
2995 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2996 # of other PACKAGE_* variables will, however, and there's nothing
2997 # we can do about that; they come from AC_INIT).
2998 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2999 # file in the top srcdir, etc, etc), so stop complaining.
3000 # no-dist: we don't want 'dist' and related rules.
3001 # -Wall: turns on all automake warnings...
3002 # -Wno-portability: ...except this one, since GNU make is required.
3003 am__api_version
='1.15'
3005 # Find a good install program. We prefer a C program (faster),
3006 # so one script is as good as another. But avoid the broken or
3007 # incompatible versions:
3008 # SysV /etc/install, /usr/sbin/install
3009 # SunOS /usr/etc/install
3010 # IRIX /sbin/install
3012 # AmigaOS /C/install, which installs bootblocks on floppy discs
3013 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3014 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3015 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3016 # OS/2's system install, which has a completely different semantic
3017 # ./install, which can be erroneously created by make from ./install.sh.
3018 # Reject install programs that cannot install multiple files.
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3020 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3021 if test -z "$INSTALL"; then
3022 if ${ac_cv_path_install+:} false
; then :
3023 $as_echo_n "(cached) " >&6
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir
=.
3030 # Account for people who put trailing slashes in PATH elements.
3031 case $as_dir/ in #((
3032 .
/ | .
// |
/[cC
]/* | \
3033 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3034 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3037 # OSF1 and SCO ODT 3.0 have their own names for install.
3038 # Don't use installbsd from OSF since it installs stuff as root
3040 for ac_prog
in ginstall scoinst
install; do
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3043 if test $ac_prog = install &&
3044 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3045 # AIX install. It has an incompatible calling convention.
3047 elif test $ac_prog = install &&
3048 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3049 # program-specific install script used by HP pwplus--don't use.
3052 rm -rf conftest.one conftest.two conftest.dir
3053 echo one
> conftest.one
3054 echo two
> conftest.two
3056 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3057 test -s conftest.one
&& test -s conftest.two
&&
3058 test -s conftest.dir
/conftest.one
&&
3059 test -s conftest.dir
/conftest.two
3061 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3074 rm -rf conftest.one conftest.two conftest.dir
3077 if test "${ac_cv_path_install+set}" = set; then
3078 INSTALL
=$ac_cv_path_install
3080 # As a last resort, use the slow shell script. Don't cache a
3081 # value for INSTALL within a source directory, because that will
3082 # break other packages using the cache if that directory is
3083 # removed, or if the value is a relative name.
3084 INSTALL
=$ac_install_sh
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3088 $as_echo "$INSTALL" >&6; }
3090 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3091 # It thinks the first close brace ends the variable substitution.
3092 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3094 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3096 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3099 $as_echo_n "checking whether build environment is sane... " >&6; }
3100 # Reject unsafe characters in $srcdir or the absolute working directory
3101 # name. Accept space and tab only in the latter.
3105 *[\\\"\
#\$\&\'\`$am_lf]*)
3106 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3109 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3110 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3113 # Do 'set' in a subshell so we don't clobber the current shell's
3114 # arguments. Must try -L first in case configure is actually a
3115 # symlink; some systems play weird games with the mod time of symlinks
3116 # (eg FreeBSD returns the mod time of the symlink's containing
3120 for am_try
in 1 2; do
3121 echo "timestamp, slept: $am_has_slept" > conftest.
file
3122 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3123 if test "$*" = "X"; then
3125 set X
`ls -t "$srcdir/configure" conftest.file`
3127 if test "$*" != "X $srcdir/configure conftest.file" \
3128 && test "$*" != "X conftest.file $srcdir/configure"; then
3130 # If neither matched, then we have a broken ls. This can happen
3131 # if, for instance, CONFIG_SHELL is bash and it inherits a
3132 # broken ls alias from the environment. This has actually
3133 # happened. Such a system could not be considered "sane".
3134 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3135 alias in your environment" "$LINENO" 5
3137 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3144 test "$2" = conftest.
file
3150 as_fn_error $?
"newly created file is older than distributed files!
3151 Check your system clock" "$LINENO" 5
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3154 $as_echo "yes" >&6; }
3155 # If we didn't sleep, we still need to ensure time stamps of config.status and
3156 # generated files are strictly newer.
3158 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3165 test "$program_prefix" != NONE
&&
3166 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3167 # Use a double $ so make ignores it.
3168 test "$program_suffix" != NONE
&&
3169 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3170 # Double any \ or $.
3171 # By default was `s,x,x', remove it if useless.
3172 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3173 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3175 # Expand $ac_aux_dir to an absolute path.
3176 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3178 if test x
"${MISSING+set}" != xset
; then
3181 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3183 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3186 # Use eval to expand $SHELL
3187 if eval "$MISSING --is-lightweight"; then
3188 am_missing_run
="$MISSING "
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3192 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3195 if test x
"${install_sh+set}" != xset
; then
3198 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3200 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3204 # Installed binaries are usually stripped using 'strip' when the user
3205 # run "make install-strip". However 'strip' might not be the right
3206 # tool to use in cross-compilation environments, therefore Automake
3207 # will honor the 'STRIP' environment variable to overrule this program.
3208 if test "$cross_compiling" != no
; then
3209 if test -n "$ac_tool_prefix"; then
3210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3211 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_STRIP+:} false
; then :
3215 $as_echo_n "(cached) " >&6
3217 if test -n "$STRIP"; then
3218 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir
=.
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3227 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 STRIP
=$ac_cv_prog_STRIP
3238 if test -n "$STRIP"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3240 $as_echo "$STRIP" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3248 if test -z "$ac_cv_prog_STRIP"; then
3250 # Extract the first word of "strip", so it can be a program name with args.
3251 set dummy strip
; ac_word
=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3255 $as_echo_n "(cached) " >&6
3257 if test -n "$ac_ct_STRIP"; then
3258 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir
=.
3265 for ac_exec_ext
in '' $ac_executable_extensions; do
3266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_ac_ct_STRIP
="strip"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3278 if test -n "$ac_ct_STRIP"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3280 $as_echo "$ac_ct_STRIP" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3286 if test "x$ac_ct_STRIP" = x
; then
3289 case $cross_compiling:$ac_tool_warned in
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3293 ac_tool_warned
=yes ;;
3298 STRIP
="$ac_cv_prog_STRIP"
3302 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3305 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3306 if test -z "$MKDIR_P"; then
3307 if ${ac_cv_path_mkdir+:} false
; then :
3308 $as_echo_n "(cached) " >&6
3310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3311 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3314 test -z "$as_dir" && as_dir
=.
3315 for ac_prog
in mkdir gmkdir
; do
3316 for ac_exec_ext
in '' $ac_executable_extensions; do
3317 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3318 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3319 'mkdir (GNU coreutils) '* | \
3320 'mkdir (coreutils) '* | \
3321 'mkdir (fileutils) '4.1*)
3322 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3332 test -d .
/--version && rmdir .
/--version
3333 if test "${ac_cv_path_mkdir+set}" = set; then
3334 MKDIR_P
="$ac_cv_path_mkdir -p"
3336 # As a last resort, use the slow shell script. Don't cache a
3337 # value for MKDIR_P within a source directory, because that will
3338 # break other packages using the cache if that directory is
3339 # removed, or if the value is a relative name.
3340 MKDIR_P
="$ac_install_sh -d"
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3344 $as_echo "$MKDIR_P" >&6; }
3346 for ac_prog
in gawk mawk nawk
awk
3348 # Extract the first word of "$ac_prog", so it can be a program name with args.
3349 set dummy
$ac_prog; ac_word
=$2
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351 $as_echo_n "checking for $ac_word... " >&6; }
3352 if ${ac_cv_prog_AWK+:} false
; then :
3353 $as_echo_n "(cached) " >&6
3355 if test -n "$AWK"; then
3356 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir
=.
3363 for ac_exec_ext
in '' $ac_executable_extensions; do
3364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3365 ac_cv_prog_AWK
="$ac_prog"
3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 if test -n "$AWK"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3378 $as_echo "$AWK" >&6; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3385 test -n "$AWK" && break
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3389 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3391 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3392 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3393 $as_echo_n "(cached) " >&6
3395 cat >conftest.
make <<\_ACEOF
3398 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3400 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3401 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3403 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3405 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3409 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3411 $as_echo "yes" >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415 $as_echo "no" >&6; }
3416 SET_MAKE
="MAKE=${MAKE-make}"
3419 rm -rf .tst
2>/dev
/null
3420 mkdir .tst
2>/dev
/null
3421 if test -d .tst
; then
3426 rmdir .tst
2>/dev
/null
3428 # Check whether --enable-silent-rules was given.
3429 if test "${enable_silent_rules+set}" = set; then :
3430 enableval
=$enable_silent_rules;
3433 case $enable_silent_rules in # (((
3434 yes) AM_DEFAULT_VERBOSITY
=0;;
3435 no
) AM_DEFAULT_VERBOSITY
=1;;
3436 *) AM_DEFAULT_VERBOSITY
=1;;
3438 am_make
=${MAKE-make}
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3440 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3441 if ${am_cv_make_support_nested_variables+:} false
; then :
3442 $as_echo_n "(cached) " >&6
3444 if $as_echo 'TRUE=$(BAR$(V))
3450 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3451 am_cv_make_support_nested_variables
=yes
3453 am_cv_make_support_nested_variables
=no
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3457 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3458 if test $am_cv_make_support_nested_variables = yes; then
3460 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3462 AM_V
=$AM_DEFAULT_VERBOSITY
3463 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3467 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3468 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3469 # is not polluted with repeated "-I."
3470 am__isrc
=' -I$(srcdir)'
3471 # test to see if srcdir already configured
3472 if test -f $srcdir/config.status
; then
3473 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3477 # test whether we have cygpath
3478 if test -z "$CYGPATH_W"; then
3479 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3480 CYGPATH_W
='cygpath -w'
3487 # Define the identity of the package.
3488 PACKAGE
='libgfortran'
3492 # Some tools Automake needs.
3494 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3497 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3500 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3503 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3506 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3508 # For better backward compatibility. To be removed once Automake 1.9.x
3509 # dies out for good. For more background, see:
3510 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3511 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3512 mkdir_p
='$(MKDIR_P)'
3514 # We need awk for the "check" target (and possibly the TAP driver). The
3515 # system "awk" is bad on some platforms.
3516 # Always define AMTAR for backward compatibility. Yes, it's still used
3517 # in the wild :-( We should find a proper way to deprecate it ...
3521 # We'll loop over all known methods to create a tar archive until one works.
3522 _am_tools
='gnutar pax cpio none'
3524 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3531 # POSIX will say in a future version that running "rm -f" with no argument
3532 # is OK; and we want to be able to make that assumption in our Makefile
3533 # recipes. So use an aggressive probe to check that the usage we want is
3534 # actually supported "in the wild" to an acceptable degree.
3535 # See automake bug#10828.
3536 # To make any issue more visible, cause the running configure to be aborted
3537 # by default if the 'rm' program in use doesn't match our expectations; the
3538 # user can still override this though.
3539 if rm -f && rm -fr && rm -rf; then : OK
; else
3543 Your 'rm' program seems unable to run without file operands specified
3544 on the command line, even when the '-f' option is present. This is contrary
3545 to the behaviour of most rm programs out there, and not conforming with
3546 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3548 Please tell bug-automake@gnu.org about your system, including the value
3549 of your $PATH and any error possibly output before this message. This
3550 can help us improve future automake versions.
3553 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3554 echo 'Configuration will proceed anyway, since you have set the' >&2
3555 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3559 Aborting the configuration process, to ensure you take notice of the issue.
3561 You can download and install GNU coreutils to get an 'rm' implementation
3562 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3564 If you want to complete the configuration process using your problematic
3565 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3566 to "yes", and re-run configure.
3569 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3576 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3577 # Check whether --enable-maintainer-mode was given.
3578 if test "${enable_maintainer_mode+set}" = set; then :
3579 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3581 USE_MAINTAINER_MODE
=no
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3585 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3586 if test $USE_MAINTAINER_MODE = yes; then
3587 MAINTAINER_MODE_TRUE
=
3588 MAINTAINER_MODE_FALSE
='#'
3590 MAINTAINER_MODE_TRUE
='#'
3591 MAINTAINER_MODE_FALSE
=
3594 MAINT
=$MAINTAINER_MODE_TRUE
3597 # Default to --enable-multilib
3598 # Check whether --enable-multilib was given.
3599 if test "${enable_multilib+set}" = set; then :
3600 enableval
=$enable_multilib; case "$enableval" in
3601 yes) multilib
=yes ;;
3603 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3610 # We may get other options which we leave undocumented:
3611 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3612 # See config-ml.in if you want the gory details.
3614 if test "$srcdir" = "."; then
3615 if test "$with_target_subdir" != "."; then
3616 multi_basedir
="$srcdir/$with_multisrctop../.."
3618 multi_basedir
="$srcdir/$with_multisrctop.."
3621 multi_basedir
="$srcdir/.."
3625 # Even if the default multilib is not a cross compilation,
3626 # it may be that some of the other multilibs are.
3627 if test $cross_compiling = no
&& test $multilib = yes \
3628 && test "x${with_multisubdir}" != x
; then
3629 cross_compiling
=maybe
3632 ac_config_commands
="$ac_config_commands default-1"
3635 # Handy for debugging:
3636 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3638 # Are we being configured with some form of cross compiler?
3639 # NB: We don't actually need to know this just now, but when, say, a test
3640 # suite is included, we'll have to know.
3641 if test "$build" != "$host"; then
3642 LIBGFOR_IS_NATIVE
=false
3645 LIBGFOR_IS_NATIVE
=true
3648 DEPDIR
="${am__leading_dot}deps"
3650 ac_config_commands
="$ac_config_commands depfiles"
3653 am_make
=${MAKE-make}
3654 cat > confinc
<< 'END'
3656 @
echo this is the am__doit target
3659 # If we don't find an include directive, just comment out the code.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3661 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3665 # First try GNU make style include.
3666 echo "include confinc" > confmf
3667 # Ignore all kinds of additional output from 'make'.
3668 case `$am_make -s -f confmf 2> /dev/null` in #(
3669 *the\ am__doit\ target
*)
3675 # Now try BSD make style include.
3676 if test "$am__include" = "#"; then
3677 echo '.include "confinc"' > confmf
3678 case `$am_make -s -f confmf 2> /dev/null` in #(
3679 *the\ am__doit\ target
*)
3680 am__include
=.include
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3689 $as_echo "$_am_result" >&6; }
3690 rm -f confinc confmf
3692 # Check whether --enable-dependency-tracking was given.
3693 if test "${enable_dependency_tracking+set}" = set; then :
3694 enableval
=$enable_dependency_tracking;
3697 if test "x$enable_dependency_tracking" != xno
; then
3698 am_depcomp
="$ac_aux_dir/depcomp"
3702 if test "x$enable_dependency_tracking" != xno; then
3712 ac_cpp
='$CPP $CPPFLAGS'
3713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3716 if test -n "$ac_tool_prefix"; then
3717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3718 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if ${ac_cv_prog_CC+:} false
; then :
3722 $as_echo_n "(cached) " >&6
3724 if test -n "$CC"; then
3725 ac_cv_prog_CC
="$CC" # Let the user override the test.
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 for ac_exec_ext
in '' $ac_executable_extensions; do
3733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3734 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 if test -n "$CC"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747 $as_echo "$CC" >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3755 if test -z "$ac_cv_prog_CC"; then
3757 # Extract the first word of "gcc", so it can be a program name with args.
3758 set dummy gcc
; ac_word
=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -n "$ac_ct_CC"; then
3765 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_ac_ct_CC
="gcc"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3785 if test -n "$ac_ct_CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787 $as_echo "$ac_ct_CC" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3793 if test "x$ac_ct_CC" = x
; then
3796 case $cross_compiling:$ac_tool_warned in
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned
=yes ;;
3808 if test -z "$CC"; then
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3811 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_CC+:} false
; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC
="$CC" # Let the user override the test.
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_exec_ext
in '' $ac_executable_extensions; do
3826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 if test -n "$CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840 $as_echo "$CC" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3849 if test -z "$CC"; then
3850 # Extract the first word of "cc", so it can be a program name with args.
3851 set dummy cc
; ac_word
=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_prog_CC+:} false
; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -n "$CC"; then
3858 ac_cv_prog_CC
="$CC" # Let the user override the test.
3861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir
=.
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3869 ac_prog_rejected
=yes
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 if test $ac_prog_rejected = yes; then
3881 # We found a bogon in the path, so make sure we never use it.
3882 set dummy
$ac_cv_prog_CC
3884 if test $# != 0; then
3885 # We chose a different compiler from the bogus one.
3886 # However, it has the same basename, so the bogon will be chosen
3887 # first if we set CC to just the basename; use the full file name.
3889 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3895 if test -n "$CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897 $as_echo "$CC" >&6; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3905 if test -z "$CC"; then
3906 if test -n "$ac_tool_prefix"; then
3907 for ac_prog
in cl.exe
3909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3910 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 $as_echo_n "checking for $ac_word... " >&6; }
3913 if ${ac_cv_prog_CC+:} false
; then :
3914 $as_echo_n "(cached) " >&6
3916 if test -n "$CC"; then
3917 ac_cv_prog_CC
="$CC" # Let the user override the test.
3919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir
=.
3924 for ac_exec_ext
in '' $ac_executable_extensions; do
3925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 if test -n "$CC"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3939 $as_echo "$CC" >&6; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3946 test -n "$CC" && break
3949 if test -z "$CC"; then
3951 for ac_prog
in cl.exe
3953 # Extract the first word of "$ac_prog", so it can be a program name with args.
3954 set dummy
$ac_prog; ac_word
=$2
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956 $as_echo_n "checking for $ac_word... " >&6; }
3957 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3958 $as_echo_n "(cached) " >&6
3960 if test -n "$ac_ct_CC"; then
3961 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir
=.
3968 for ac_exec_ext
in '' $ac_executable_extensions; do
3969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_ac_ct_CC
="$ac_prog"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3981 if test -n "$ac_ct_CC"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3983 $as_echo "$ac_ct_CC" >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3990 test -n "$ac_ct_CC" && break
3993 if test "x$ac_ct_CC" = x
; then
3996 case $cross_compiling:$ac_tool_warned in
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000 ac_tool_warned
=yes ;;
4009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error $?
"no acceptable C compiler found in \$PATH
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 # Provide some information about the compiler.
4015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4018 for ac_option
in --version -v -V -qversion; do
4019 { { ac_try
="$ac_compiler $ac_option >&5"
4021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025 $as_echo "$ac_try_echo"; } >&5
4026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4028 if test -s conftest.err; then
4030 ... rest of stderr output deleted ...
4031 10q' conftest.err >conftest.er1
4032 cat conftest.er1 >&5
4034 rm -f conftest.er1 conftest.err
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4052 (eval $ac_link) 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4060 if test x$gcc_no_link = xyes; then
4061 # Setting cross_compile will disable run tests; it will
4062 # also disable AC_CHECK_FILE but that's generally
4063 # correct if we can't link.
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4078 ac_clean_files_save=$ac_clean_files
4079 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4080 # Try to create an executable without -o first, disregard a.out.
4081 # It will help us diagnose broken compilers, and finding out an intuition
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4084 $as_echo_n "checking whether the C compiler works... " >&6; }
4085 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4087 # The possible output files:
4088 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4091 for ac_file in $ac_files
4094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4095 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4100 if { { ac_try="$ac_link_default"
4102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4103 *) ac_try_echo
=$ac_try;;
4105 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_link_default") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4112 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4113 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4114 # so that the user can short-circuit this test for compilers unknown to
4116 for ac_file
in $ac_files ''
4118 test -f "$ac_file" ||
continue
4120 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4123 # We found the default executable, but exeext='' is most
4127 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4129 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4131 # We set ac_cv_exeext here because the later test for it is not
4132 # safe: cross compilers may not add the suffix if given an `-o'
4133 # argument, so we may need to know it at that point already.
4134 # Even if this section looks crufty: it has the advantage of
4141 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4146 if test -z "$ac_file"; then :
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4149 $as_echo "$as_me: failed program was:" >&5
4150 sed 's/^/| /' conftest.
$ac_ext >&5
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154 as_fn_error
77 "C compiler cannot create executables
4155 See \`config.log' for more details" "$LINENO" 5; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4158 $as_echo "yes" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4161 $as_echo_n "checking for C compiler default output file name... " >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4163 $as_echo "$ac_file" >&6; }
4164 ac_exeext
=$ac_cv_exeext
4166 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4167 ac_clean_files
=$ac_clean_files_save
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4169 $as_echo_n "checking for suffix of executables... " >&6; }
4170 if { { ac_try
="$ac_link"
4172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_link") 2>&5
4179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180 test $ac_status = 0; }; then :
4181 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4182 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4183 # work properly (i.e., refer to `conftest.exe'), while it won't with
4185 for ac_file
in conftest.exe conftest conftest.
*; do
4186 test -f "$ac_file" ||
continue
4188 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4189 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4198 See \`config.log' for more details" "$LINENO" 5; }
4200 rm -f conftest conftest
$ac_cv_exeext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4202 $as_echo "$ac_cv_exeext" >&6; }
4204 rm -f conftest.
$ac_ext
4205 EXEEXT
=$ac_cv_exeext
4207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4213 FILE *f = fopen ("conftest.out", "w");
4214 return ferror (f) || fclose (f) != 0;
4220 ac_clean_files
="$ac_clean_files conftest.out"
4221 # Check that the compiler produces executables we can run. If not, either
4222 # the compiler is broken, or we cross compile.
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4224 $as_echo_n "checking whether we are cross compiling... " >&6; }
4225 if test "$cross_compiling" != yes; then
4226 { { ac_try
="$ac_link"
4228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_link") 2>&5
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }
4237 if { ac_try='./conftest$ac_cv_exeext'
4238 { { case "(($ac_try" in
4239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4240 *) ac_try_echo
=$ac_try;;
4242 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_try") 2>&5
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; }; then
4250 if test "$cross_compiling" = maybe
; then
4253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255 as_fn_error $?
"cannot run C compiled programs.
4256 If you meant to cross compile, use \`--host'.
4257 See \`config.log' for more details" "$LINENO" 5; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4262 $as_echo "$cross_compiling" >&6; }
4264 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4265 ac_clean_files
=$ac_clean_files_save
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4268 $as_echo_n "checking for suffix of object files... " >&6; }
4269 if ${ac_cv_objext+:} false
; then :
4270 $as_echo_n "(cached) " >&6
4272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4283 rm -f conftest.o conftest.obj
4284 if { { ac_try
="$ac_compile"
4286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290 $as_echo "$ac_try_echo"; } >&5
4291 (eval "$ac_compile") 2>&5
4293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294 test $ac_status = 0; }; then :
4295 for ac_file in conftest.o conftest.obj conftest.*; do
4296 test -f "$ac_file" || continue;
4298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4299 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4304 $as_echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.$ac_ext >&5
4307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4310 See \
`config.log' for more details" "$LINENO" 5; }
4312 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4315 $as_echo "$ac_cv_objext" >&6; }
4316 OBJEXT=$ac_cv_objext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4319 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4320 if ${ac_cv_c_compiler_gnu+:} false; then :
4321 $as_echo_n "(cached) " >&6
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4337 if ac_fn_c_try_compile "$LINENO"; then :
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4347 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4348 if test $ac_compiler_gnu = yes; then
4353 ac_test_CFLAGS=${CFLAGS+set}
4354 ac_save_CFLAGS=$CFLAGS
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4356 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4357 if ${ac_cv_prog_cc_g+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 ac_save_c_werror_flag=$ac_c_werror_flag
4361 ac_c_werror_flag=yes
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4375 if ac_fn_c_try_compile "$LINENO"; then :
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 if ac_fn_c_try_compile "$LINENO"; then :
4393 ac_c_werror_flag=$ac_save_c_werror_flag
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4406 if ac_fn_c_try_compile "$LINENO"; then :
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 ac_c_werror_flag=$ac_save_c_werror_flag
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4417 $as_echo "$ac_cv_prog_cc_g" >&6; }
4418 if test "$ac_test_CFLAGS" = set; then
4419 CFLAGS=$ac_save_CFLAGS
4420 elif test $ac_cv_prog_cc_g = yes; then
4421 if test "$GCC" = yes; then
4427 if test "$GCC" = yes; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4434 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4435 if ${ac_cv_prog_cc_c89+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 ac_cv_prog_cc_c89=no
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4446 struct buf { int x; };
4447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4448 static char *e (p, i)
4454 static char *f (char * (*g) (char **, int), char **p, ...)
4459 s = g (p, va_arg (v,int));
4464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4465 function prototypes and stuff, but not '\xHH' hex character constants.
4466 These don't provoke an error unfortunately, instead are silently treated
4467 as 'x'. The following induces an error, until -std is added to get
4468 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4469 array size at least. It's necessary to write '\x00'==0 to get something
4470 that's true only with -std. */
4471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4474 inside strings and character constants. */
4476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4478 int test (int i, double x);
4479 struct s1 {int (*f) (int a);};
4480 struct s2 {int (*f) (double a);};
4481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4492 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4493 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4495 CC="$ac_save_CC $ac_arg"
4496 if ac_fn_c_try_compile "$LINENO"; then :
4497 ac_cv_prog_cc_c89=$ac_arg
4499 rm -f core conftest.err conftest.$ac_objext
4500 test "x$ac_cv_prog_cc_c89" != "xno" && break
4502 rm -f conftest.$ac_ext
4507 case "x$ac_cv_prog_cc_c89" in
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4510 $as_echo "none needed" >&6; } ;;
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4513 $as_echo "unsupported" >&6; } ;;
4515 CC="$CC $ac_cv_prog_cc_c89"
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4519 if test "x$ac_cv_prog_cc_c89" != xno; then :
4524 ac_cpp='$CPP $CPPFLAGS'
4525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4530 ac_cpp='$CPP $CPPFLAGS'
4531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4535 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4536 if ${am_cv_prog_cc_c_o+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 # Make sure it works both with $CC and with simple cc.
4551 # Following AC_PROG_CC_C_O, we do the test twice because some
4552 # compilers refuse to overwrite an existing .o file with -o,
4553 # though they will create one.
4554 am_cv_prog_cc_c_o=yes
4556 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4557 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } \
4561 && test -f conftest2.$ac_objext; then
4564 am_cv_prog_cc_c_o=no
4568 rm -f core conftest*
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4572 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4573 if test "$am_cv_prog_cc_c_o" != yes; then
4574 # Losing compiler, so override with the script.
4575 # FIXME: It is wrong to rewrite CC.
4576 # But if we don't then we get into trouble of one sort or another.
4577 # A longer-term fix would be to have automake use am__CC in this case,
4578 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4579 CC="$am_aux_dir/compile $CC"
4582 ac_cpp='$CPP $CPPFLAGS'
4583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588 depcc="$CC" am_compiler_list=
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4591 $as_echo_n "checking dependency style of $depcc... " >&6; }
4592 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4596 # We make a subdir and do the tests there. Otherwise we can end up
4597 # making bogus files that we don't know about and never remove. For
4598 # instance it was reported that on HP-UX the gcc test will end up
4599 # making a dummy file named 'D' -- because '-MD' means "put the output
4603 # Copy depcomp to subdir because otherwise we won't find it if we're
4604 # using a relative directory.
4605 cp "$am_depcomp" conftest.dir
4607 # We will build objects and dependencies in a subdirectory because
4608 # it helps to detect inapplicable dependency modes. For instance
4609 # both Tru64's cc and ICC support -MD to output dependencies as a
4610 # side effect of compilation, but ICC will put the dependencies in
4611 # the current directory while Tru64 will put them in the object
4615 am_cv_CC_dependencies_compiler_type=none
4616 if test "$am_compiler_list" = ""; then
4617 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4620 case " $depcc " in #(
4621 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4624 for depmode in $am_compiler_list; do
4625 # Setup a source with many dependencies, because some compilers
4626 # like to wrap large dependency lists on column 80 (with \), and
4627 # we should not choose a depcomp mode which is confused by this.
4629 # We need to recreate these files for each test, as the compiler may
4630 # overwrite some of them when testing with obscure command lines.
4631 # This happens at least with the AIX C compiler.
4633 for i in 1 2 3 4 5 6; do
4634 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4635 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4636 # Solaris 10 /bin/sh.
4637 echo '/* dummy */' > sub/conftst$i.h
4639 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4641 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4642 # mode. It turns out that the SunPro C++ compiler does not properly
4643 # handle '-M -o', and we need to detect this. Also, some Intel
4644 # versions had trouble with output in subdirs.
4645 am__obj=sub/conftest.${OBJEXT-o}
4646 am__minus_obj="-o $am__obj"
4649 # This depmode causes a compiler race in universal mode.
4650 test "$am__universal" = false || continue
4653 # After this tag, mechanisms are not by side-effect, so they'll
4654 # only be used when explicitly requested.
4655 if test "x$enable_dependency_tracking" = xyes; then
4661 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4662 # This compiler won't grok '-c -o', but also, the minuso test has
4663 # not run yet. These depmodes are late enough in the game, and
4664 # so weak that their functioning should not be impacted.
4665 am__obj=conftest.${OBJEXT-o}
4670 if depmode=$depmode \
4671 source=sub/conftest.c object=$am__obj \
4672 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4673 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4674 >/dev/null 2>conftest.err &&
4675 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4676 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4677 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4678 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4679 # icc doesn't choke on unknown options, it will just issue warnings
4680 # or remarks (even with -Werror). So we grep stderr for any message
4681 # that says an option was ignored or not supported.
4682 # When given -MP, icc 7.0 and 7.1 complain thusly:
4683 # icc: Command line warning: ignoring option '-M'; no argument required
4684 # The diagnosis changed in icc 8.0:
4685 # icc: Command line remark: option '-MP' not supported
4686 if (grep 'ignoring option' conftest.err ||
4687 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4688 am_cv_CC_dependencies_compiler_type=$depmode
4697 am_cv_CC_dependencies_compiler_type=none
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4702 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4703 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4706 test "x$enable_dependency_tracking" != xno \
4707 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4709 am__fastdepCC_FALSE='#'
4711 am__fastdepCC_TRUE='#'
4712 am__fastdepCC_FALSE=
4718 ac_cpp='$CPP $CPPFLAGS'
4719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4723 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4724 # On Suns, sometimes $CPP names a directory.
4725 if test -n "$CPP" && test -d "$CPP"; then
4728 if test -z "$CPP"; then
4729 if ${ac_cv_prog_CPP+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 # Double quotes because CPP needs to be expanded
4733 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4736 for ac_c_preproc_warn_flag in '' yes
4738 # Use a header file that comes with gcc, so configuring glibc
4739 # with a fresh cross-compiler works.
4740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4741 # <limits.h> exists even on freestanding compilers.
4742 # On the NeXT, cc -E runs the code through the compiler's parser,
4743 # not just through cpp. "Syntax error" is here to catch this case.
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4747 # include <limits.h>
4749 # include <assert.h>
4753 if ac_fn_c_try_cpp "$LINENO"; then :
4756 # Broken: fails on valid input.
4759 rm -f conftest.err conftest.i conftest.$ac_ext
4761 # OK, works on sane cases. Now check whether nonexistent headers
4762 # can be detected and how.
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4765 #include <ac_nonexistent.h>
4767 if ac_fn_c_try_cpp "$LINENO"; then :
4768 # Broken: success on invalid input.
4771 # Passes both tests.
4775 rm -f conftest.err conftest.i conftest.$ac_ext
4778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4779 rm -f conftest.i conftest.err conftest.
$ac_ext
4780 if $ac_preproc_ok; then :
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4793 $as_echo "$CPP" >&6; }
4795 for ac_c_preproc_warn_flag
in '' yes
4797 # Use a header file that comes with gcc, so configuring glibc
4798 # with a fresh cross-compiler works.
4799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4800 # <limits.h> exists even on freestanding compilers.
4801 # On the NeXT, cc -E runs the code through the compiler's parser,
4802 # not just through cpp. "Syntax error" is here to catch this case.
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4806 # include <limits.h>
4808 # include <assert.h>
4812 if ac_fn_c_try_cpp
"$LINENO"; then :
4815 # Broken: fails on valid input.
4818 rm -f conftest.err conftest.i conftest.
$ac_ext
4820 # OK, works on sane cases. Now check whether nonexistent headers
4821 # can be detected and how.
4822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4824 #include <ac_nonexistent.h>
4826 if ac_fn_c_try_cpp
"$LINENO"; then :
4827 # Broken: success on invalid input.
4830 # Passes both tests.
4834 rm -f conftest.err conftest.i conftest.
$ac_ext
4837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4838 rm -f conftest.i conftest.err conftest.
$ac_ext
4839 if $ac_preproc_ok; then :
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4845 See \`config.log' for more details" "$LINENO" 5; }
4849 ac_cpp
='$CPP $CPPFLAGS'
4850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4856 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4857 if ${ac_cv_path_GREP+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -z "$GREP"; then
4861 ac_path_GREP_found
=false
4862 # Loop through the user's path and test for each of PROGNAME-LIST
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4864 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_prog
in grep ggrep
; do
4869 for ac_exec_ext
in '' $ac_executable_extensions; do
4870 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4871 as_fn_executable_p
"$ac_path_GREP" ||
continue
4872 # Check for GNU ac_path_GREP and select it if it is found.
4873 # Check for GNU $ac_path_GREP
4874 case `"$ac_path_GREP" --version 2>&1` in
4876 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4879 $as_echo_n 0123456789 >"conftest.in"
4882 cat "conftest.in" "conftest.in" >"conftest.tmp"
4883 mv "conftest.tmp" "conftest.in"
4884 cp "conftest.in" "conftest.nl"
4885 $as_echo 'GREP' >> "conftest.nl"
4886 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4887 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4888 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4889 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4890 # Best one so far, save it but keep looking for a better one
4891 ac_cv_path_GREP
="$ac_path_GREP"
4892 ac_path_GREP_max
=$ac_count
4894 # 10*(2^10) chars as input seems more than enough
4895 test $ac_count -gt 10 && break
4897 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4900 $ac_path_GREP_found && break 3
4905 if test -z "$ac_cv_path_GREP"; then
4906 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4909 ac_cv_path_GREP
=$GREP
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4914 $as_echo "$ac_cv_path_GREP" >&6; }
4915 GREP
="$ac_cv_path_GREP"
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4919 $as_echo_n "checking for egrep... " >&6; }
4920 if ${ac_cv_path_EGREP+:} false
; then :
4921 $as_echo_n "(cached) " >&6
4923 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4924 then ac_cv_path_EGREP
="$GREP -E"
4926 if test -z "$EGREP"; then
4927 ac_path_EGREP_found
=false
4928 # Loop through the user's path and test for each of PROGNAME-LIST
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_prog
in egrep; do
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4937 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4938 # Check for GNU ac_path_EGREP and select it if it is found.
4939 # Check for GNU $ac_path_EGREP
4940 case `"$ac_path_EGREP" --version 2>&1` in
4942 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4945 $as_echo_n 0123456789 >"conftest.in"
4948 cat "conftest.in" "conftest.in" >"conftest.tmp"
4949 mv "conftest.tmp" "conftest.in"
4950 cp "conftest.in" "conftest.nl"
4951 $as_echo 'EGREP' >> "conftest.nl"
4952 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4953 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4954 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4955 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4956 # Best one so far, save it but keep looking for a better one
4957 ac_cv_path_EGREP
="$ac_path_EGREP"
4958 ac_path_EGREP_max
=$ac_count
4960 # 10*(2^10) chars as input seems more than enough
4961 test $ac_count -gt 10 && break
4963 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4966 $ac_path_EGREP_found && break 3
4971 if test -z "$ac_cv_path_EGREP"; then
4972 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4975 ac_cv_path_EGREP
=$EGREP
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4981 $as_echo "$ac_cv_path_EGREP" >&6; }
4982 EGREP
="$ac_cv_path_EGREP"
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4986 $as_echo_n "checking for ANSI C header files... " >&6; }
4987 if ${ac_cv_header_stdc+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
5005 if ac_fn_c_try_compile
"$LINENO"; then :
5006 ac_cv_header_stdc
=yes
5008 ac_cv_header_stdc
=no
5010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 if test $ac_cv_header_stdc = yes; then
5013 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5020 $EGREP "memchr" >/dev
/null
2>&1; then :
5023 ac_cv_header_stdc
=no
5029 if test $ac_cv_header_stdc = yes; then
5030 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5037 $EGREP "free" >/dev
/null
2>&1; then :
5040 ac_cv_header_stdc
=no
5046 if test $ac_cv_header_stdc = yes; then
5047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5048 if test "$cross_compiling" = yes; then :
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5055 #if ((' ' & 0x0FF) == 0x020)
5056 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5057 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5059 # define ISLOWER(c) \
5060 (('a' <= (c) && (c) <= 'i') \
5061 || ('j' <= (c) && (c) <= 'r') \
5062 || ('s' <= (c) && (c) <= 'z'))
5063 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5066 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5071 for (i = 0; i < 256; i++)
5072 if (XOR (islower (i), ISLOWER (i))
5073 || toupper (i) != TOUPPER (i))
5078 if ac_fn_c_try_run
"$LINENO"; then :
5081 ac_cv_header_stdc
=no
5083 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5084 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5090 $as_echo "$ac_cv_header_stdc" >&6; }
5091 if test $ac_cv_header_stdc = yes; then
5093 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5097 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5098 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5099 inttypes.h stdint.h unistd.h
5101 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5102 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5104 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5105 cat >>confdefs.h
<<_ACEOF
5106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5115 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5116 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5123 if test "$MINIX" = yes; then
5125 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5128 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5131 $as_echo "#define _MINIX 1" >>confdefs.h
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5137 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5138 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5139 $as_echo_n "(cached) " >&6
5141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5144 # define __EXTENSIONS__ 1
5145 $ac_includes_default
5154 if ac_fn_c_try_compile
"$LINENO"; then :
5155 ac_cv_safe_to_define___extensions__
=yes
5157 ac_cv_safe_to_define___extensions__
=no
5159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5162 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5163 test $ac_cv_safe_to_define___extensions__ = yes &&
5164 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5166 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5168 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5170 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5172 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5176 # Calculate toolexeclibdir
5177 # Also toolexecdir, though it's only used in toolexeclibdir
5178 case ${version_specific_libs} in
5180 # Need the gcc compiler version to know where to install libraries
5181 # and header files if --enable-version-specific-runtime-libs option
5183 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5184 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5187 if test -n "$with_cross_host" &&
5188 test x
"$with_cross_host" != x
"no"; then
5189 # Install a library built with a cross compiler in tooldir, not libdir.
5190 toolexecdir
='$(exec_prefix)/$(target_alias)'
5191 toolexeclibdir
='$(toolexecdir)/lib'
5193 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5194 toolexeclibdir
='$(libdir)'
5196 multi_os_directory
=`$CC -print-multi-os-directory`
5197 case $multi_os_directory in
5198 .
) ;; # Avoid trailing /.
5199 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5206 # Create a spec file, so that compile/link tests don't fail
5207 test -f libgfortran.spec ||
touch libgfortran.spec
5210 ac_cpp
='$CPP $CPPFLAGS'
5211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5215 # Check the compiler.
5216 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5217 # We must force CC to /not/ be precious variables; otherwise
5218 # the wrong, non-multilib-adjusted value will be used in multilibs.
5219 # As a side effect, we have to subst CFLAGS ourselves.
5224 ac_cpp
='$CPP $CPPFLAGS'
5225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5228 if test -n "$ac_tool_prefix"; then
5229 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5230 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5232 $as_echo_n "checking for $ac_word... " >&6; }
5233 if ${ac_cv_prog_CC+:} false
; then :
5234 $as_echo_n "(cached) " >&6
5236 if test -n "$CC"; then
5237 ac_cv_prog_CC
="$CC" # Let the user override the test.
5239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir
=.
5244 for ac_exec_ext
in '' $ac_executable_extensions; do
5245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5246 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 if test -n "$CC"; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5259 $as_echo "$CC" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 $as_echo "no" >&6; }
5267 if test -z "$ac_cv_prog_CC"; then
5269 # Extract the first word of "gcc", so it can be a program name with args.
5270 set dummy gcc
; ac_word
=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5274 $as_echo_n "(cached) " >&6
5276 if test -n "$ac_ct_CC"; then
5277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5283 test -z "$as_dir" && as_dir
=.
5284 for ac_exec_ext
in '' $ac_executable_extensions; do
5285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5286 ac_cv_prog_ac_ct_CC
="gcc"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5297 if test -n "$ac_ct_CC"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5299 $as_echo "$ac_ct_CC" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5305 if test "x$ac_ct_CC" = x
; then
5308 case $cross_compiling:$ac_tool_warned in
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5312 ac_tool_warned
=yes ;;
5320 if test -z "$CC"; then
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5323 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_CC+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -n "$CC"; then
5330 ac_cv_prog_CC
="$CC" # Let the user override the test.
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 if test -n "$CC"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5352 $as_echo "$CC" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5361 if test -z "$CC"; then
5362 # Extract the first word of "cc", so it can be a program name with args.
5363 set dummy cc
; ac_word
=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_CC+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$CC"; then
5370 ac_cv_prog_CC
="$CC" # Let the user override the test.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5380 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5381 ac_prog_rejected
=yes
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 if test $ac_prog_rejected = yes; then
5393 # We found a bogon in the path, so make sure we never use it.
5394 set dummy
$ac_cv_prog_CC
5396 if test $# != 0; then
5397 # We chose a different compiler from the bogus one.
5398 # However, it has the same basename, so the bogon will be chosen
5399 # first if we set CC to just the basename; use the full file name.
5401 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5407 if test -n "$CC"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5409 $as_echo "$CC" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5417 if test -z "$CC"; then
5418 if test -n "$ac_tool_prefix"; then
5419 for ac_prog
in cl.exe
5421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5422 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if ${ac_cv_prog_CC+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 if test -n "$CC"; then
5429 ac_cv_prog_CC
="$CC" # Let the user override the test.
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_exec_ext
in '' $ac_executable_extensions; do
5437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 if test -n "$CC"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5451 $as_echo "$CC" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5458 test -n "$CC" && break
5461 if test -z "$CC"; then
5463 for ac_prog
in cl.exe
5465 # Extract the first word of "$ac_prog", so it can be a program name with args.
5466 set dummy
$ac_prog; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$ac_ct_CC"; then
5473 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_CC
="$ac_prog"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5493 if test -n "$ac_ct_CC"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5495 $as_echo "$ac_ct_CC" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5502 test -n "$ac_ct_CC" && break
5505 if test "x$ac_ct_CC" = x
; then
5508 case $cross_compiling:$ac_tool_warned in
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned
=yes ;;
5521 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5523 as_fn_error $?
"no acceptable C compiler found in \$PATH
5524 See \`config.log' for more details" "$LINENO" 5; }
5526 # Provide some information about the compiler.
5527 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5530 for ac_option
in --version -v -V -qversion; do
5531 { { ac_try
="$ac_compiler $ac_option >&5"
5533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5534 *) ac_try_echo=$ac_try;;
5536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5537 $as_echo "$ac_try_echo"; } >&5
5538 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5540 if test -s conftest.err; then
5542 ... rest of stderr output deleted ...
5543 10q' conftest.err >conftest.er1
5544 cat conftest.er1 >&5
5546 rm -f conftest.er1 conftest.err
5547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5548 test $ac_status = 0; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5552 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5553 if ${ac_cv_c_compiler_gnu+:} false; then :
5554 $as_echo_n "(cached) " >&6
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5570 if ac_fn_c_try_compile "$LINENO"; then :
5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5576 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5580 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5581 if test $ac_compiler_gnu = yes; then
5586 ac_test_CFLAGS=${CFLAGS+set}
5587 ac_save_CFLAGS=$CFLAGS
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5589 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5590 if ${ac_cv_prog_cc_g+:} false; then :
5591 $as_echo_n "(cached) " >&6
5593 ac_save_c_werror_flag=$ac_c_werror_flag
5594 ac_c_werror_flag=yes
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5608 if ac_fn_c_try_compile "$LINENO"; then :
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5623 if ac_fn_c_try_compile "$LINENO"; then :
5626 ac_c_werror_flag=$ac_save_c_werror_flag
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5639 if ac_fn_c_try_compile "$LINENO"; then :
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647 ac_c_werror_flag=$ac_save_c_werror_flag
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5650 $as_echo "$ac_cv_prog_cc_g" >&6; }
5651 if test "$ac_test_CFLAGS" = set; then
5652 CFLAGS=$ac_save_CFLAGS
5653 elif test $ac_cv_prog_cc_g = yes; then
5654 if test "$GCC" = yes; then
5660 if test "$GCC" = yes; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5667 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5668 if ${ac_cv_prog_cc_c89+:} false; then :
5669 $as_echo_n "(cached) " >&6
5671 ac_cv_prog_cc_c89=no
5673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5679 struct buf { int x; };
5680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5681 static char *e (p, i)
5687 static char *f (char * (*g) (char **, int), char **p, ...)
5692 s = g (p, va_arg (v,int));
5697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5698 function prototypes and stuff, but not '\xHH' hex character constants.
5699 These don't provoke an error unfortunately, instead are silently treated
5700 as 'x'. The following induces an error, until -std is added to get
5701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5702 array size at least. It's necessary to write '\x00'==0 to get something
5703 that's true only with -std. */
5704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5706 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5707 inside strings and character constants. */
5709 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5711 int test (int i, double x);
5712 struct s1 {int (*f) (int a);};
5713 struct s2 {int (*f) (double a);};
5714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5720 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5725 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5728 CC="$ac_save_CC $ac_arg"
5729 if ac_fn_c_try_compile "$LINENO"; then :
5730 ac_cv_prog_cc_c89=$ac_arg
5732 rm -f core conftest.err conftest.$ac_objext
5733 test "x$ac_cv_prog_cc_c89" != "xno" && break
5735 rm -f conftest.$ac_ext
5740 case "x$ac_cv_prog_cc_c89" in
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5743 $as_echo "none needed" >&6; } ;;
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5746 $as_echo "unsupported" >&6; } ;;
5748 CC="$CC $ac_cv_prog_cc_c89"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5752 if test "x$ac_cv_prog_cc_c89" != xno; then :
5757 ac_cpp='$CPP $CPPFLAGS'
5758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5763 ac_cpp='$CPP $CPPFLAGS'
5764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5768 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5769 if ${am_cv_prog_cc_c_o+:} false; then :
5770 $as_echo_n "(cached) " >&6
5772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5783 # Make sure it works both with $CC and with simple cc.
5784 # Following AC_PROG_CC_C_O, we do the test twice because some
5785 # compilers refuse to overwrite an existing .o file with -o,
5786 # though they will create one.
5787 am_cv_prog_cc_c_o=yes
5789 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5790 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } \
5794 && test -f conftest2.$ac_objext; then
5797 am_cv_prog_cc_c_o=no
5801 rm -f core conftest*
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5805 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5806 if test "$am_cv_prog_cc_c_o" != yes; then
5807 # Losing compiler, so override with the script.
5808 # FIXME: It is wrong to rewrite CC.
5809 # But if we don't then we get into trouble of one sort or another.
5810 # A longer-term fix would be to have automake use am__CC in this case,
5811 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5812 CC="$am_aux_dir/compile $CC"
5815 ac_cpp='$CPP $CPPFLAGS'
5816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5821 depcc="$CC" am_compiler_list=
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5824 $as_echo_n "checking dependency style of $depcc... " >&6; }
5825 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5826 $as_echo_n "(cached) " >&6
5828 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5829 # We make a subdir and do the tests there. Otherwise we can end up
5830 # making bogus files that we don't know about and never remove. For
5831 # instance it was reported that on HP-UX the gcc test will end up
5832 # making a dummy file named 'D' -- because '-MD' means "put the output
5836 # Copy depcomp to subdir because otherwise we won't find it if we're
5837 # using a relative directory.
5838 cp "$am_depcomp" conftest.dir
5840 # We will build objects and dependencies in a subdirectory because
5841 # it helps to detect inapplicable dependency modes. For instance
5842 # both Tru64's cc and ICC support -MD to output dependencies as a
5843 # side effect of compilation, but ICC will put the dependencies in
5844 # the current directory while Tru64 will put them in the object
5848 am_cv_CC_dependencies_compiler_type=none
5849 if test "$am_compiler_list" = ""; then
5850 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5853 case " $depcc " in #(
5854 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5857 for depmode in $am_compiler_list; do
5858 # Setup a source with many dependencies, because some compilers
5859 # like to wrap large dependency lists on column 80 (with \), and
5860 # we should not choose a depcomp mode which is confused by this.
5862 # We need to recreate these files for each test, as the compiler may
5863 # overwrite some of them when testing with obscure command lines.
5864 # This happens at least with the AIX C compiler.
5866 for i in 1 2 3 4 5 6; do
5867 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5868 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5869 # Solaris 10 /bin/sh.
5870 echo '/* dummy */' > sub/conftst$i.h
5872 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5874 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5875 # mode. It turns out that the SunPro C++ compiler does not properly
5876 # handle '-M -o', and we need to detect this. Also, some Intel
5877 # versions had trouble with output in subdirs.
5878 am__obj=sub/conftest.${OBJEXT-o}
5879 am__minus_obj="-o $am__obj"
5882 # This depmode causes a compiler race in universal mode.
5883 test "$am__universal" = false || continue
5886 # After this tag, mechanisms are not by side-effect, so they'll
5887 # only be used when explicitly requested.
5888 if test "x$enable_dependency_tracking" = xyes; then
5894 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5895 # This compiler won't grok '-c -o', but also, the minuso test has
5896 # not run yet. These depmodes are late enough in the game, and
5897 # so weak that their functioning should not be impacted.
5898 am__obj=conftest.${OBJEXT-o}
5903 if depmode=$depmode \
5904 source=sub/conftest.c object=$am__obj \
5905 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5906 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5907 >/dev/null 2>conftest.err &&
5908 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5909 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5910 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5911 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5912 # icc doesn't choke on unknown options, it will just issue warnings
5913 # or remarks (even with -Werror). So we grep stderr for any message
5914 # that says an option was ignored or not supported.
5915 # When given -MP, icc 7.0 and 7.1 complain thusly:
5916 # icc: Command line warning: ignoring option '-M'; no argument required
5917 # The diagnosis changed in icc 8.0:
5918 # icc: Command line remark: option '-MP' not supported
5919 if (grep 'ignoring option' conftest.err ||
5920 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5921 am_cv_CC_dependencies_compiler_type=$depmode
5930 am_cv_CC_dependencies_compiler_type=none
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5935 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5936 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5939 test "x$enable_dependency_tracking" != xno \
5940 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5942 am__fastdepCC_FALSE='#'
5944 am__fastdepCC_TRUE='#'
5945 am__fastdepCC_FALSE=
5955 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5956 if test "x$GCC" = "xyes"; then
5957 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5958 ## We like to use C11 and C99 routines when available. This makes
5960 ## __STDC_VERSION__ is set such that libc includes make them available.
5961 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5962 ## Compile the following tests with the same system header contents
5963 ## that we'll encounter when compiling our own source files.
5964 CFLAGS="-std=gnu11 $CFLAGS"
5967 # Add CET specific flags if CET is enabled
5968 # Check whether --enable-cet was given.
5969 if test "${enable_cet+set}" = set; then :
5970 enableval=$enable_cet;
5971 case "$enableval" in
5973 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5982 $as_echo_n "checking for CET support... " >&6; }
5985 i[34567]86-*-linux* | x86_64-*-linux*)
5986 case "$enable_cet" in
5988 # Check if target supports multi-byte NOPs
5989 # and if assembler supports CET insn.
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5997 #if !defined(__SSE2__)
5998 #error target does not support multi-byte NOPs
6007 if ac_fn_c_try_compile "$LINENO"; then :
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6015 # Check if assembler supports CET.
6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6027 if ac_fn_c_try_compile "$LINENO"; then :
6030 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6040 if test x$enable_cet = xyes; then
6041 CET_FLAGS="-fcf-protection -mshstk"
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6043 $as_echo "yes" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6049 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6050 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6051 CFLAGS="$CFLAGS $CET_FLAGS"
6057 # Check for symbol versioning (copied from libssp).
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6059 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6060 # Check whether --enable-symvers was given.
6061 if test "${enable_symvers+set}" = set; then :
6062 enableval=$enable_symvers; gfortran_use_symver=$enableval
6064 gfortran_use_symver=yes
6067 if test "x$gfortran_use_symver" != xno; then
6068 save_LDFLAGS="$LDFLAGS"
6069 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6070 cat > conftest.map <<EOF
6072 global: *foo*; bar; local: *;
6075 if test x$gcc_no_link = xyes; then
6076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6089 if ac_fn_c_try_link "$LINENO"; then :
6090 gfortran_use_symver=gnu
6092 gfortran_use_symver=no
6094 rm -f core conftest.err conftest.$ac_objext \
6095 conftest$ac_exeext conftest.$ac_ext
6096 if test x$gfortran_use_symver = xno; then
6097 case "$target_os" in
6099 LDFLAGS="$save_LDFLAGS"
6100 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6101 # Sun ld cannot handle wildcards and treats all entries as undefined.
6102 cat > conftest.map <<EOF
6104 global: foo; local: *;
6107 if test x$gcc_no_link = xyes; then
6108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6121 if ac_fn_c_try_link "$LINENO"; then :
6122 gfortran_use_symver=sun
6124 gfortran_use_symver=no
6126 rm -f core conftest.err conftest.$ac_objext \
6127 conftest$ac_exeext conftest.$ac_ext
6131 LDFLAGS="$save_LDFLAGS"
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6134 $as_echo "$gfortran_use_symver" >&6; }
6135 if test "x$gfortran_use_symver" != xno; then
6136 LIBGFOR_USE_SYMVER_TRUE=
6137 LIBGFOR_USE_SYMVER_FALSE='#'
6139 LIBGFOR_USE_SYMVER_TRUE='#'
6140 LIBGFOR_USE_SYMVER_FALSE=
6143 if test "x$gfortran_use_symver" = xgnu; then
6144 LIBGFOR_USE_SYMVER_GNU_TRUE=
6145 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6147 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6148 LIBGFOR_USE_SYMVER_GNU_FALSE=
6151 if test "x$gfortran_use_symver" = xsun; then
6152 LIBGFOR_USE_SYMVER_SUN_TRUE=
6153 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6155 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6156 LIBGFOR_USE_SYMVER_SUN_FALSE=
6160 # For GPU offloading, not everything in libfortran can be supported.
6161 # Currently, the only target that has this problem is nvptx. The
6162 # following is a (partial) list of features that are unsupportable on
6163 # this particular target:
6166 # * C library support for I/O, with printf as the one notable exception
6167 # * C library support for other features such as signal, environment
6168 # variables, time functions
6170 if test "x${target_cpu}" = xnvptx; then
6171 LIBGFOR_MINIMAL_TRUE=
6172 LIBGFOR_MINIMAL_FALSE='#'
6174 LIBGFOR_MINIMAL_TRUE='#'
6175 LIBGFOR_MINIMAL_FALSE=
6179 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6180 # similarly to how libstdc++ does it
6181 ac_test_CFLAGS="${CFLAGS+set}"
6182 ac_save_CFLAGS="$CFLAGS"
6184 # Check for -ffunction-sections -fdata-sections
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6186 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6187 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6199 if ac_fn_c_try_compile "$LINENO"; then :
6204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6205 if test "$ac_test_CFLAGS" = set; then
6206 CFLAGS="$ac_save_CFLAGS"
6208 # this is the suspicious part
6211 if test x"$ac_fdsections" = x"yes"; then
6212 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6215 $as_echo "$ac_fdsections" >&6; }
6218 # Check linker hardware capability support.
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6220 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6221 if ${ac_cv_path_SED+:} false; then :
6222 $as_echo_n "(cached) " >&6
6224 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6225 for ac_i in 1 2 3 4 5 6 7; do
6226 ac_script="$ac_script$as_nl$ac_script"
6228 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6229 { ac_script=; unset ac_script;}
6230 if test -z "$SED"; then
6231 ac_path_SED_found=false
6232 # Loop through the user's path and test for each of PROGNAME-LIST
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_prog in sed gsed; do
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6241 as_fn_executable_p "$ac_path_SED" || continue
6242 # Check for GNU ac_path_SED and select it if it is found.
6243 # Check for GNU $ac_path_SED
6244 case `"$ac_path_SED" --version 2>&1` in
6246 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6249 $as_echo_n 0123456789 >"conftest.in"
6252 cat "conftest.in" "conftest.in" >"conftest.tmp"
6253 mv "conftest.tmp" "conftest.in"
6254 cp "conftest.in" "conftest.nl"
6255 $as_echo '' >> "conftest.nl"
6256 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6258 as_fn_arith $ac_count + 1 && ac_count=$as_val
6259 if test $ac_count -gt ${ac_path_SED_max-0}; then
6260 # Best one so far, save it but keep looking for a better one
6261 ac_cv_path_SED="$ac_path_SED"
6262 ac_path_SED_max=$ac_count
6264 # 10*(2^10) chars as input seems more than enough
6265 test $ac_count -gt 10 && break
6267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6270 $ac_path_SED_found && break 3
6275 if test -z "$ac_cv_path_SED"; then
6276 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6284 $as_echo "$ac_cv_path_SED" >&6; }
6285 SED="$ac_cv_path_SED"
6288 test -z "$SED" && SED=sed
6289 Xsed="$SED -e 1s/^X//"
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6302 $as_echo_n "checking for fgrep... " >&6; }
6303 if ${ac_cv_path_FGREP+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6307 then ac_cv_path_FGREP="$GREP -F"
6309 if test -z "$FGREP"; then
6310 ac_path_FGREP_found=false
6311 # Loop through the user's path and test for each of PROGNAME-LIST
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6316 test -z "$as_dir" && as_dir=.
6317 for ac_prog in fgrep; do
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6320 as_fn_executable_p "$ac_path_FGREP" || continue
6321 # Check for GNU ac_path_FGREP and select it if it is found.
6322 # Check for GNU $ac_path_FGREP
6323 case `"$ac_path_FGREP" --version 2>&1` in
6325 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6328 $as_echo_n 0123456789 >"conftest.in"
6331 cat "conftest.in" "conftest.in" >"conftest.tmp"
6332 mv "conftest.tmp" "conftest.in"
6333 cp "conftest.in" "conftest.nl"
6334 $as_echo 'FGREP' >> "conftest.nl"
6335 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6337 as_fn_arith $ac_count + 1 && ac_count=$as_val
6338 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6339 # Best one so far, save it but keep looking for a better one
6340 ac_cv_path_FGREP="$ac_path_FGREP"
6341 ac_path_FGREP_max=$ac_count
6343 # 10*(2^10) chars as input seems more than enough
6344 test $ac_count -gt 10 && break
6346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6349 $ac_path_FGREP_found && break 3
6354 if test -z "$ac_cv_path_FGREP"; then
6355 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6358 ac_cv_path_FGREP=$FGREP
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6364 $as_echo "$ac_cv_path_FGREP" >&6; }
6365 FGREP="$ac_cv_path_FGREP"
6368 test -z "$GREP" && GREP=grep
6386 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6387 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6388 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6391 $as_echo_n "checking how to print strings... " >&6; }
6392 # Test print first, because it will be a builtin if present.
6393 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6394 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6396 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6399 # Use this function as a fallback that always works.
6400 func_fallback_echo ()
6402 eval 'cat <<_LTECHO_EOF
6406 ECHO='func_fallback_echo'
6409 # func_echo_all arg...
6410 # Invoke $ECHO with all args, space-separated.
6417 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6418 $as_echo "printf" >&6; } ;;
6419 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6420 $as_echo "print -r" >&6; } ;;
6421 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6422 $as_echo "cat" >&6; } ;;
6440 # Check whether --with-gnu-ld was given.
6441 if test "${with_gnu_ld+set}" = set; then :
6442 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6448 if test "$GCC" = yes; then
6449 # Check if gcc -print-prog-name=ld gives a path.
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6451 $as_echo_n "checking for ld used by $CC... " >&6; }
6454 # gcc leaves a trailing carriage return which upsets mingw
6455 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6457 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6460 # Accept absolute paths.
6462 re_direlt='/[^/][^/]*/\.\./'
6463 # Canonicalize the pathname of ld
6464 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6465 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6466 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6468 test -z "$LD" && LD="$ac_prog"
6471 # If it fails, then pretend we aren't using GCC.
6475 # If it is relative, then search for the first ld in PATH.
6479 elif test "$with_gnu_ld" = yes; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6481 $as_echo_n "checking for GNU ld... " >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6484 $as_echo_n "checking for non-GNU ld... " >&6; }
6486 if ${lt_cv_path_LD+:} false; then :
6487 $as_echo_n "(cached) " >&6
6489 if test -z "$LD"; then
6490 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6491 for ac_dir in $PATH; do
6493 test -z "$ac_dir" && ac_dir=.
6494 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6495 lt_cv_path_LD="$ac_dir/$ac_prog"
6496 # Check to see if the program is GNU ld. I'd rather use --version,
6497 # but apparently some variants of GNU ld only accept -v.
6498 # Break only if it was the GNU/non-GNU ld that we prefer.
6499 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6500 *GNU* | *'with BFD'*)
6501 test "$with_gnu_ld" != no && break
6504 test "$with_gnu_ld" != yes && break
6511 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6516 if test -n "$LD"; then
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6518 $as_echo "$LD" >&6; }
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6521 $as_echo "no" >&6; }
6523 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6525 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6526 if ${lt_cv_prog_gnu_ld+:} false; then :
6527 $as_echo_n "(cached) " >&6
6529 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6530 case `$LD -v 2>&1 </dev
/null
` in
6531 *GNU* | *'with BFD'*)
6532 lt_cv_prog_gnu_ld=yes
6535 lt_cv_prog_gnu_ld=no
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6540 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6541 with_gnu_ld=$lt_cv_prog_gnu_ld
6552 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6555 ac_save_LDFLAGS="$LDFLAGS"
6556 LDFLAGS="$LFLAGS -mclear-hwcap"
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6559 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6560 if test x$gcc_no_link = xyes; then
6561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6574 if ac_fn_c_try_link "$LINENO"; then :
6575 ac_hwcap_ldflags=yes
6579 rm -f core conftest.err conftest.$ac_objext \
6580 conftest$ac_exeext conftest.$ac_ext
6581 if test "$ac_hwcap_ldflags" = "yes"; then
6582 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6585 $as_echo "$ac_hwcap_ldflags" >&6; }
6587 LDFLAGS="$ac_save_LDFLAGS"
6591 if test $ac_hwcap_ldflags != no; then
6593 HAVE_HWCAP_FALSE='#'
6601 # Find other programs we need.
6602 if test -n "$ac_tool_prefix"; then
6603 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6604 set dummy ${ac_tool_prefix}as; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_AS+:} false; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -n "$AS"; then
6611 ac_cv_prog_AS="$AS" # Let the user override the test.
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_AS="${ac_tool_prefix}as"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 if test -n "$AS"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6633 $as_echo "$AS" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6641 if test -z "$ac_cv_prog_AS"; then
6643 # Extract the first word of "as", so it can be a program name with args.
6644 set dummy as; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$ac_ct_AS"; then
6651 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_ac_ct_AS="as"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6671 if test -n "$ac_ct_AS"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6673 $as_echo "$ac_ct_AS" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6679 if test "x$ac_ct_AS" = x; then
6682 case $cross_compiling:$ac_tool_warned in
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned=yes ;;
6694 if test -n "$ac_tool_prefix"; then
6695 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6696 set dummy ${ac_tool_prefix}ar; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_AR+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 if test -n "$AR"; then
6703 ac_cv_prog_AR="$AR" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_AR="${ac_tool_prefix}ar"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 if test -n "$AR"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6725 $as_echo "$AR" >&6; }
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6733 if test -z "$ac_cv_prog_AR"; then
6735 # Extract the first word of "ar", so it can be a program name with args.
6736 set dummy ar; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6740 $as_echo_n "(cached) " >&6
6742 if test -n "$ac_ct_AR"; then
6743 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_ac_ct_AR="ar"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6763 if test -n "$ac_ct_AR"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6765 $as_echo "$ac_ct_AR" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6771 if test "x$ac_ct_AR" = x; then
6774 case $cross_compiling:$ac_tool_warned in
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6778 ac_tool_warned=yes ;;
6786 if test -n "$ac_tool_prefix"; then
6787 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6788 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_RANLIB+:} false; then :
6792 $as_echo_n "(cached) " >&6
6794 if test -n "$RANLIB"; then
6795 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 RANLIB=$ac_cv_prog_RANLIB
6815 if test -n "$RANLIB"; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6817 $as_echo "$RANLIB" >&6; }
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6825 if test -z "$ac_cv_prog_RANLIB"; then
6826 ac_ct_RANLIB=$RANLIB
6827 # Extract the first word of "ranlib", so it can be a program name with args.
6828 set dummy ranlib; ac_word=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 $as_echo_n "checking for $ac_word... " >&6; }
6831 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6832 $as_echo_n "(cached) " >&6
6834 if test -n "$ac_ct_RANLIB"; then
6835 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6844 ac_cv_prog_ac_ct_RANLIB="ranlib"
6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6855 if test -n "$ac_ct_RANLIB"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6857 $as_echo "$ac_ct_RANLIB" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 $as_echo "no" >&6; }
6863 if test "x$ac_ct_RANLIB" = x; then
6864 RANLIB="ranlib-not-found-in-path-error"
6866 case $cross_compiling:$ac_tool_warned in
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6870 ac_tool_warned=yes ;;
6872 RANLIB=$ac_ct_RANLIB
6875 RANLIB="$ac_cv_prog_RANLIB"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6879 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6881 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6882 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6883 $as_echo_n "(cached) " >&6
6885 cat >conftest.make <<\_ACEOF
6888 @echo '@@@%%%=$(MAKE)=@@@%%%'
6890 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6891 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6893 eval ac_cv_prog_make_${ac_make}_set=yes;;
6895 eval ac_cv_prog_make_${ac_make}_set=no;;
6899 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6901 $as_echo "yes" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6906 SET_MAKE="MAKE=${MAKE-make}"
6912 #AC_MSG_NOTICE([====== Starting libtool configuration])
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6920 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6925 macro_version='2.2.7a'
6926 macro_revision='1.3134'
6940 ltmain="$ac_aux_dir/ltmain.sh"
6942 # Backslashify metacharacters that are still active within
6943 # double-quoted strings.
6944 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6946 # Same as above, but do not quote variable references.
6947 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6949 # Sed substitution to delay expansion of an escaped shell variable in a
6950 # double_quote_subst'ed string.
6951 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6953 # Sed substitution to delay expansion of an escaped single quote.
6954 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6956 # Sed substitution to avoid accidental globbing in evaled expressions
6957 no_glob_subst='s/\*/\\\*/g'
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6960 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6961 if ${lt_cv_path_NM+:} false; then :
6962 $as_echo_n "(cached
) " >&6
6964 if test -n "$NM"; then
6965 # Let the user override the test.
6968 lt_nm_to_check="${ac_tool_prefix}nm
"
6969 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6970 lt_nm_to_check="$lt_nm_to_check nm
"
6972 for lt_tmp_nm in $lt_nm_to_check; do
6973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6974 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6976 test -z "$ac_dir" && ac_dir=.
6977 tmp_nm="$ac_dir/$lt_tmp_nm"
6978 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6979 # Check to see if the nm accepts a BSD-compat flag.
6980 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6981 # nm: unknown option "B
" ignored
6982 # Tru64's nm complains that /dev/null is an invalid object file
6983 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6984 */dev/null* | *'Invalid file or object type'*)
6985 lt_cv_path_NM="$tmp_nm -B"
6989 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6991 lt_cv_path_NM="$tmp_nm -p"
6995 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6996 continue # so that we can try to find one that supports BSD flags
7005 : ${lt_cv_path_NM=no}
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7009 $as_echo "$lt_cv_path_NM" >&6; }
7010 if test "$lt_cv_path_NM" != "no
"; then
7013 # Didn't find any BSD compatible name lister, look for dumpbin.
7014 if test -n "$DUMPBIN"; then :
7015 # Let the user override the test.
7017 if test -n "$ac_tool_prefix"; then
7018 for ac_prog in dumpbin "link
-dump"
7020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7021 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7023 $as_echo_n "checking
for $ac_word...
" >&6; }
7024 if ${ac_cv_prog_DUMPBIN+:} false; then :
7025 $as_echo_n "(cached
) " >&6
7027 if test -n "$DUMPBIN"; then
7028 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7047 DUMPBIN=$ac_cv_prog_DUMPBIN
7048 if test -n "$DUMPBIN"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7050 $as_echo "$DUMPBIN" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7053 $as_echo "no
" >&6; }
7057 test -n "$DUMPBIN" && break
7060 if test -z "$DUMPBIN"; then
7061 ac_ct_DUMPBIN=$DUMPBIN
7062 for ac_prog in dumpbin "link
-dump"
7064 # Extract the first word of "$ac_prog", so it can be a program name with args.
7065 set dummy $ac_prog; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7067 $as_echo_n "checking
for $ac_word...
" >&6; }
7068 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7069 $as_echo_n "(cached
) " >&6
7071 if test -n "$ac_ct_DUMPBIN"; then
7072 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7091 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7092 if test -n "$ac_ct_DUMPBIN"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7094 $as_echo "$ac_ct_DUMPBIN" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7097 $as_echo "no
" >&6; }
7101 test -n "$ac_ct_DUMPBIN" && break
7104 if test "x
$ac_ct_DUMPBIN" = x; then
7107 case $cross_compiling:$ac_tool_warned in
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7110 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7111 ac_tool_warned=yes ;;
7113 DUMPBIN=$ac_ct_DUMPBIN
7117 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7119 DUMPBIN="$DUMPBIN -symbols"
7127 if test "$DUMPBIN" != ":"; then
7131 test -z "$NM" && NM=nm
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7139 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7140 if ${lt_cv_nm_interface+:} false; then :
7141 $as_echo_n "(cached
) " >&6
7143 lt_cv_nm_interface="BSD nm
"
7144 echo "int some_variable
= 0;" > conftest.$ac_ext
7145 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7146 (eval "$ac_compile" 2>conftest.err)
7147 cat conftest.err >&5
7148 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7149 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7150 cat conftest.err >&5
7151 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7152 cat conftest.out >&5
7153 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7154 lt_cv_nm_interface="MS dumpbin
"
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7159 $as_echo "$lt_cv_nm_interface" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7162 $as_echo_n "checking whether
ln -s works...
" >&6; }
7164 if test "$LN_S" = "ln -s"; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7166 $as_echo "yes" >&6; }
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7169 $as_echo "no
, using
$LN_S" >&6; }
7172 # find the maximum length of command line arguments
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7174 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7175 if ${lt_cv_sys_max_cmd_len+:} false; then :
7176 $as_echo_n "(cached
) " >&6
7183 # On DJGPP, this test can blow up pretty badly due to problems in libc
7184 # (any single argument exceeding 2000 bytes causes a buffer overrun
7185 # during glob expansion). Even if it were fixed, the result of this
7186 # check would be larger than it should be.
7187 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7191 # Under GNU Hurd, this test is not required because there is
7192 # no limit to the length of command line arguments.
7193 # Libtool will interpret -1 as no limit whatsoever
7194 lt_cv_sys_max_cmd_len=-1;
7197 cygwin* | mingw* | cegcc*)
7198 # On Win9x/ME, this test blows up -- it succeeds, but takes
7199 # about 5 minutes as the teststring grows exponentially.
7200 # Worse, since 9x/ME are not pre-emptively multitasking,
7201 # you end up with a "frozen
" computer, even though with patience
7202 # the test eventually succeeds (with a max line length of 256k).
7203 # Instead, let's just punt: use the minimum linelength reported by
7204 # all of the supported platforms: 8192 (on NT/2K/XP).
7205 lt_cv_sys_max_cmd_len=8192;
7209 # On MiNT this can take a long time and run out of memory.
7210 lt_cv_sys_max_cmd_len=8192;
7214 # On AmigaOS with pdksh, this test takes hours, literally.
7215 # So we just punt and use a minimum line length of 8192.
7216 lt_cv_sys_max_cmd_len=8192;
7219 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7220 # This has been around since 386BSD, at least. Likely further.
7221 if test -x /sbin/sysctl; then
7222 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7223 elif test -x /usr/sbin/sysctl; then
7224 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7226 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7228 # And add a safety zone
7229 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7230 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7234 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7235 lt_cv_sys_max_cmd_len=196608
7239 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7240 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7241 # nice to cause kernel panics so lets avoid the loop below.
7242 # First set a reasonable default.
7243 lt_cv_sys_max_cmd_len=16384
7245 if test -x /sbin/sysconfig; then
7246 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7247 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7252 lt_cv_sys_max_cmd_len=102400
7254 sysv5* | sco5v6* | sysv4.2uw2*)
7255 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7256 if test -n "$kargmax"; then
7257 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7259 lt_cv_sys_max_cmd_len=32768
7263 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7264 if test -n "$lt_cv_sys_max_cmd_len"; then
7265 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7266 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7268 # Make teststring a little bigger before we do anything with it.
7269 # a 1K string should be a reasonable start.
7270 for i in 1 2 3 4 5 6 7 8 ; do
7271 teststring=$teststring$teststring
7273 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7274 # If test is not a shell built-in, we'll probably end up computing a
7275 # maximum length that is only half of the actual maximum length, but
7277 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7278 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7279 test $i != 17 # 1/2 MB should be enough
7282 teststring=$teststring$teststring
7284 # Only check the string length outside the loop.
7285 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7287 # Add a significant safety factor because C++ compilers can tack on
7288 # massive amounts of additional arguments before passing them to the
7289 # linker. It appears as though 1/2 is a usable value.
7290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7297 if test -n $lt_cv_sys_max_cmd_len ; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7299 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7302 $as_echo "none
" >&6; }
7304 max_cmd_len=$lt_cv_sys_max_cmd_len
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7316 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7317 # Try some XSI features
7320 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7322 && eval 'test $(( 1 + 1 )) -eq 2 \
7323 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7326 $as_echo "$xsi_shell" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7330 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7332 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7334 && lt_shell_append
=yes
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7336 $as_echo "$lt_shell_append" >&6; }
7339 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7349 # test EBCDIC or ASCII
7350 case `echo X|tr X '\101'` in
7351 A
) # ASCII based system
7352 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7353 lt_SP2NL
='tr \040 \012'
7354 lt_NL2SP
='tr \015\012 \040\040'
7356 *) # EBCDIC based system
7357 lt_SP2NL
='tr \100 \n'
7358 lt_NL2SP
='tr \r\n \100\100'
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7371 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7372 if ${lt_cv_ld_reload_flag+:} false
; then :
7373 $as_echo_n "(cached) " >&6
7375 lt_cv_ld_reload_flag
='-r'
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7378 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7379 reload_flag
=$lt_cv_ld_reload_flag
7380 case $reload_flag in
7382 *) reload_flag
=" $reload_flag" ;;
7384 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7387 if test "$GCC" = yes; then
7388 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7390 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7403 if test -n "$ac_tool_prefix"; then
7404 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7405 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7409 $as_echo_n "(cached) " >&6
7411 if test -n "$OBJDUMP"; then
7412 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir
=.
7419 for ac_exec_ext
in '' $ac_executable_extensions; do
7420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7421 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 OBJDUMP
=$ac_cv_prog_OBJDUMP
7432 if test -n "$OBJDUMP"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7434 $as_echo "$OBJDUMP" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7442 if test -z "$ac_cv_prog_OBJDUMP"; then
7443 ac_ct_OBJDUMP
=$OBJDUMP
7444 # Extract the first word of "objdump", so it can be a program name with args.
7445 set dummy objdump
; ac_word
=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447 $as_echo_n "checking for $ac_word... " >&6; }
7448 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7449 $as_echo_n "(cached) " >&6
7451 if test -n "$ac_ct_OBJDUMP"; then
7452 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir
=.
7459 for ac_exec_ext
in '' $ac_executable_extensions; do
7460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7461 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7472 if test -n "$ac_ct_OBJDUMP"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7474 $as_echo "$ac_ct_OBJDUMP" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7477 $as_echo "no" >&6; }
7480 if test "x$ac_ct_OBJDUMP" = x
; then
7483 case $cross_compiling:$ac_tool_warned in
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7487 ac_tool_warned
=yes ;;
7489 OBJDUMP
=$ac_ct_OBJDUMP
7492 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7495 test -z "$OBJDUMP" && OBJDUMP
=objdump
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7506 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7507 if ${lt_cv_deplibs_check_method+:} false
; then :
7508 $as_echo_n "(cached) " >&6
7510 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7511 lt_cv_file_magic_test_file
=
7512 lt_cv_deplibs_check_method
='unknown'
7513 # Need to set the preceding variable on all platforms that support
7514 # interlibrary dependencies.
7515 # 'none' -- dependencies not supported.
7516 # `unknown' -- same as none, but documents that we really don't know.
7517 # 'pass_all' -- all dependencies passed with no checks.
7518 # 'test_compile' -- check by making test program.
7519 # 'file_magic [[regex]]' -- check by looking for files in library path
7520 # which responds to the $file_magic_cmd with a given extended regex.
7521 # If you have `file' or equivalent on your system and you're not sure
7522 # whether `pass_all' will *always* work, you probably want this one.
7526 lt_cv_deplibs_check_method
=pass_all
7530 lt_cv_deplibs_check_method
=pass_all
7534 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7535 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7536 lt_cv_file_magic_test_file
=/shlib
/libc.so
7540 # func_win32_libid is a shell function defined in ltmain.sh
7541 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7542 lt_cv_file_magic_cmd
='func_win32_libid'
7546 # Base MSYS/MinGW do not provide the 'file' command needed by
7547 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7548 # unless we find 'file', for example because we are cross-compiling.
7549 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7550 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7551 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7552 lt_cv_file_magic_cmd
='func_win32_libid'
7554 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7555 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7560 # use the weaker test based on 'objdump'. See mingw*.
7561 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7562 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7565 darwin
* | rhapsody
*)
7566 lt_cv_deplibs_check_method
=pass_all
7569 freebsd
* | dragonfly
*)
7570 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7573 # Not sure whether the presence of OpenBSD here was a mistake.
7574 # Let's accept both of them until this is cleared up.
7575 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7576 lt_cv_file_magic_cmd
=/usr
/bin
/file
7577 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7581 lt_cv_deplibs_check_method
=pass_all
7586 lt_cv_deplibs_check_method
=pass_all
7590 lt_cv_deplibs_check_method
=pass_all
7593 hpux10.20
* | hpux11
*)
7594 lt_cv_file_magic_cmd
=/usr
/bin
/file
7597 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7598 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7601 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]'
7602 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7605 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7606 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7612 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7613 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7616 irix5
* | irix6
* | nonstopux
*)
7618 *-32|
*"-32 ") libmagic
=32-bit;;
7619 *-n32|
*"-n32 ") libmagic
=N32
;;
7620 *-64|
*"-64 ") libmagic
=64-bit;;
7621 *) libmagic
=never-match
;;
7623 lt_cv_deplibs_check_method
=pass_all
7626 # This must be Linux ELF.
7627 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7628 lt_cv_deplibs_check_method
=pass_all
7632 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7633 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7635 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7640 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7641 lt_cv_file_magic_cmd
=/usr
/bin
/file
7642 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7646 lt_cv_deplibs_check_method
=pass_all
7650 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7651 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7653 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7657 osf3
* | osf4
* | osf5
*)
7658 lt_cv_deplibs_check_method
=pass_all
7662 lt_cv_deplibs_check_method
=pass_all
7666 lt_cv_deplibs_check_method
=pass_all
7669 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7670 lt_cv_deplibs_check_method
=pass_all
7674 case $host_vendor in
7676 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]'
7677 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7680 lt_cv_deplibs_check_method
=pass_all
7683 lt_cv_file_magic_cmd
='/bin/file'
7684 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7687 lt_cv_file_magic_cmd
='/bin/file'
7688 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7689 lt_cv_file_magic_test_file
=/lib
/libc.so
7692 lt_cv_deplibs_check_method
=pass_all
7695 lt_cv_deplibs_check_method
=pass_all
7701 lt_cv_deplibs_check_method
=pass_all
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7707 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7708 file_magic_cmd
=$lt_cv_file_magic_cmd
7709 deplibs_check_method
=$lt_cv_deplibs_check_method
7710 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7723 if test -n "$ac_tool_prefix"; then
7724 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7725 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7727 $as_echo_n "checking for $ac_word... " >&6; }
7728 if ${ac_cv_prog_AR+:} false
; then :
7729 $as_echo_n "(cached) " >&6
7731 if test -n "$AR"; then
7732 ac_cv_prog_AR
="$AR" # Let the user override the test.
7734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7738 test -z "$as_dir" && as_dir
=.
7739 for ac_exec_ext
in '' $ac_executable_extensions; do
7740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7741 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7752 if test -n "$AR"; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7754 $as_echo "$AR" >&6; }
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7757 $as_echo "no" >&6; }
7762 if test -z "$ac_cv_prog_AR"; then
7764 # Extract the first word of "ar", so it can be a program name with args.
7765 set dummy
ar; ac_word
=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 $as_echo_n "checking for $ac_word... " >&6; }
7768 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7769 $as_echo_n "(cached) " >&6
7771 if test -n "$ac_ct_AR"; then
7772 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir
=.
7779 for ac_exec_ext
in '' $ac_executable_extensions; do
7780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7781 ac_cv_prog_ac_ct_AR
="ar"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7792 if test -n "$ac_ct_AR"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7794 $as_echo "$ac_ct_AR" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7797 $as_echo "no" >&6; }
7800 if test "x$ac_ct_AR" = x
; then
7803 case $cross_compiling:$ac_tool_warned in
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7807 ac_tool_warned
=yes ;;
7815 test -z "$AR" && AR
=ar
7816 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7830 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_STRIP+:} false
; then :
7834 $as_echo_n "(cached) " >&6
7836 if test -n "$STRIP"; then
7837 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir
=.
7844 for ac_exec_ext
in '' $ac_executable_extensions; do
7845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 STRIP
=$ac_cv_prog_STRIP
7857 if test -n "$STRIP"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7859 $as_echo "$STRIP" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7867 if test -z "$ac_cv_prog_STRIP"; then
7869 # Extract the first word of "strip", so it can be a program name with args.
7870 set dummy strip
; ac_word
=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7874 $as_echo_n "(cached) " >&6
7876 if test -n "$ac_ct_STRIP"; then
7877 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7883 test -z "$as_dir" && as_dir
=.
7884 for ac_exec_ext
in '' $ac_executable_extensions; do
7885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_ac_ct_STRIP
="strip"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7897 if test -n "$ac_ct_STRIP"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7899 $as_echo "$ac_ct_STRIP" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7905 if test "x$ac_ct_STRIP" = x
; then
7908 case $cross_compiling:$ac_tool_warned in
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912 ac_tool_warned
=yes ;;
7917 STRIP
="$ac_cv_prog_STRIP"
7920 test -z "$STRIP" && STRIP
=:
7927 if test -n "$ac_tool_prefix"; then
7928 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7929 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931 $as_echo_n "checking for $ac_word... " >&6; }
7932 if ${ac_cv_prog_RANLIB+:} false
; then :
7933 $as_echo_n "(cached) " >&6
7935 if test -n "$RANLIB"; then
7936 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir
=.
7943 for ac_exec_ext
in '' $ac_executable_extensions; do
7944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 RANLIB
=$ac_cv_prog_RANLIB
7956 if test -n "$RANLIB"; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7958 $as_echo "$RANLIB" >&6; }
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7961 $as_echo "no" >&6; }
7966 if test -z "$ac_cv_prog_RANLIB"; then
7967 ac_ct_RANLIB
=$RANLIB
7968 # Extract the first word of "ranlib", so it can be a program name with args.
7969 set dummy ranlib
; ac_word
=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7975 if test -n "$ac_ct_RANLIB"; then
7976 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir
=.
7983 for ac_exec_ext
in '' $ac_executable_extensions; do
7984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7996 if test -n "$ac_ct_RANLIB"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7998 $as_echo "$ac_ct_RANLIB" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8004 if test "x$ac_ct_RANLIB" = x
; then
8007 case $cross_compiling:$ac_tool_warned in
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8011 ac_tool_warned
=yes ;;
8013 RANLIB
=$ac_ct_RANLIB
8016 RANLIB
="$ac_cv_prog_RANLIB"
8019 test -z "$RANLIB" && RANLIB
=:
8026 # Determine commands to create old-style static archives.
8027 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8028 old_postinstall_cmds
='chmod 644 $oldlib'
8029 old_postuninstall_cmds
=
8031 if test -n "$RANLIB"; then
8034 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8037 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8040 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8045 lock_old_archive_extraction
=yes ;;
8047 lock_old_archive_extraction
=no
;;
8088 # If no C compiler was specified, use CC.
8091 # If no C compiler flags were specified, use CFLAGS.
8092 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8094 # Allow CC to be a program name with arguments.
8098 # Check for command to grab the raw symbol name followed by C symbol from nm.
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8100 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8101 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8102 $as_echo_n "(cached) " >&6
8105 # These are sane defaults that work on at least a few old systems.
8106 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8108 # Character class describing NM global symbol codes.
8109 symcode
='[BCDEGRST]'
8111 # Regexp to match symbols that can be accessed directly from C.
8112 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8114 # Define system-specific variables.
8119 cygwin
* | mingw
* | pw32
* | cegcc
*)
8120 symcode
='[ABCDGISTW]'
8123 if test "$host_cpu" = ia64
; then
8124 symcode
='[ABCDEGRST]'
8128 symcode
='[BCDEGRST]'
8131 symcode
='[BCDEGQRST]'
8142 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8150 # If we're using GNU nm, then use its standard symbol codes.
8151 case `$NM -V 2>&1` in
8152 *GNU
* |
*'with BFD'*)
8153 symcode
='[ABCDGIRSTW]' ;;
8156 # Transform an extracted symbol line into a proper C declaration.
8157 # Some systems (esp. on ia64) link data and code symbols differently,
8158 # so use this general approach.
8159 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8161 # Transform an extracted symbol line into symbol name and symbol address
8162 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8163 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'"
8165 # Handle CRLF in mingw tool chain
8169 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8173 # Try without a prefix underscore, then with it.
8174 for ac_symprfx
in "" "_"; do
8176 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8177 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8179 # Write the raw and C identifiers.
8180 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8181 # Fake it for dumpbin and say T for any non-static function
8182 # and D for any global variable.
8183 # Also find C++ and __fastcall symbols from MSVC++,
8184 # which start with @ or ?.
8185 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8186 " {last_section=section; section=\$ 3};"\
8187 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8188 " \$ 0!~/External *\|/{next};"\
8189 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8190 " {if(hide[section]) next};"\
8191 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8192 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8193 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8194 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8195 " ' prfx=^$ac_symprfx"
8197 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8200 # Check to see that the pipe works correctly.
8204 cat > conftest.
$ac_ext <<_LT_EOF
8209 void nm_test_func(void);
8210 void nm_test_func(void){}
8214 int main(){nm_test_var='a';nm_test_func();return(0);}
8217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8218 (eval $ac_compile) 2>&5
8220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8221 test $ac_status = 0; }; then
8222 # Now try to grab the symbols.
8224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8225 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8228 test $ac_status = 0; } && test -s "$nlist"; then
8229 # Try sorting and uniquifying the output.
8230 if sort "$nlist" |
uniq > "$nlist"T
; then
8231 mv -f "$nlist"T
"$nlist"
8236 # Make sure that we snagged all the symbols we need.
8237 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8238 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8239 cat <<_LT_EOF > conftest.$ac_ext
8245 # Now generate the symbol file.
8246 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8248 cat <<_LT_EOF >> conftest.$ac_ext
8250 /* The mapping between symbol names and symbols. */
8255 lt__PROGRAM__LTX_preloaded_symbols[] =
8257 { "@PROGRAM@", (void *) 0 },
8259 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8260 cat <<\_LT_EOF
>> conftest.
$ac_ext
8264 /* This works around a problem
in FreeBSD linker
*/
8265 #ifdef FREEBSD_WORKAROUND
8266 static const void
*lt_preloaded_setup
() {
8267 return lt__PROGRAM__LTX_preloaded_symbols
;
8275 # Now try linking the two files.
8276 mv conftest.
$ac_objext conftstm.
$ac_objext
8277 lt_save_LIBS
="$LIBS"
8278 lt_save_CFLAGS
="$CFLAGS"
8279 LIBS
="conftstm.$ac_objext"
8280 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8282 (eval $ac_link) 2>&5
8284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8285 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8288 LIBS
="$lt_save_LIBS"
8289 CFLAGS
="$lt_save_CFLAGS"
8291 echo "cannot find nm_test_func in $nlist" >&5
8294 echo "cannot find nm_test_var in $nlist" >&5
8297 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8300 echo "$progname: failed program was:" >&5
8301 cat conftest.
$ac_ext >&5
8303 rm -rf conftest
* conftst
*
8305 # Do not use the global_symbol_pipe unless it works.
8306 if test "$pipe_works" = yes; then
8309 lt_cv_sys_global_symbol_pipe
=
8315 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8316 lt_cv_sys_global_symbol_to_cdecl
=
8318 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8320 $as_echo "failed" >&6; }
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8323 $as_echo "ok" >&6; }
8347 # Check whether --enable-libtool-lock was given.
8348 if test "${enable_libtool_lock+set}" = set; then :
8349 enableval
=$enable_libtool_lock;
8352 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8354 # Some flags need to be propagated to the compiler or linker for good
8358 # Find out which ABI we are using.
8359 echo 'int i;' > conftest.
$ac_ext
8360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8361 (eval $ac_compile) 2>&5
8363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8364 test $ac_status = 0; }; then
8365 case `/usr/bin/file conftest.$ac_objext` in
8377 # Find out which ABI we are using.
8378 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8380 (eval $ac_compile) 2>&5
8382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8383 test $ac_status = 0; }; then
8384 if test "$lt_cv_prog_gnu_ld" = yes; then
8385 case `/usr/bin/file conftest.$ac_objext` in
8387 LD
="${LD-ld} -melf32bsmip"
8390 LD
="${LD-ld} -melf32bmipn32"
8393 LD
="${LD-ld} -melf64bmip"
8397 case `/usr/bin/file conftest.$ac_objext` in
8413 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8414 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8415 # Find out which ABI we are using.
8416 echo 'int i;' > conftest.
$ac_ext
8417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8418 (eval $ac_compile) 2>&5
8420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8421 test $ac_status = 0; }; then
8422 case `/usr/bin/file conftest.o` in
8425 x86_64-
*kfreebsd
*-gnu)
8426 LD
="${LD-ld} -m elf_i386_fbsd"
8429 case `/usr/bin/file conftest.o` in
8431 LD
="${LD-ld} -m elf32_x86_64"
8434 LD
="${LD-ld} -m elf_i386"
8438 powerpc64le-
*linux
*)
8439 LD
="${LD-ld} -m elf32lppclinux"
8442 LD
="${LD-ld} -m elf32ppclinux"
8445 LD
="${LD-ld} -m elf_s390"
8448 LD
="${LD-ld} -m elf32_sparc"
8454 x86_64-
*kfreebsd
*-gnu)
8455 LD
="${LD-ld} -m elf_x86_64_fbsd"
8458 LD
="${LD-ld} -m elf_x86_64"
8461 LD
="${LD-ld} -m elf64lppc"
8464 LD
="${LD-ld} -m elf64ppc"
8466 s390
*-*linux
*|s390
*-*tpf
*)
8467 LD
="${LD-ld} -m elf64_s390"
8470 LD
="${LD-ld} -m elf64_sparc"
8480 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8481 SAVE_CFLAGS
="$CFLAGS"
8482 CFLAGS
="$CFLAGS -belf"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8484 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8485 if ${lt_cv_cc_needs_belf+:} false
; then :
8486 $as_echo_n "(cached) " >&6
8489 ac_cpp
='$CPP $CPPFLAGS'
8490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8494 if test x
$gcc_no_link = xyes
; then
8495 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8508 if ac_fn_c_try_link
"$LINENO"; then :
8509 lt_cv_cc_needs_belf
=yes
8511 lt_cv_cc_needs_belf
=no
8513 rm -f core conftest.err conftest.
$ac_objext \
8514 conftest
$ac_exeext conftest.
$ac_ext
8516 ac_cpp
='$CPP $CPPFLAGS'
8517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8523 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8524 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8525 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8526 CFLAGS
="$SAVE_CFLAGS"
8530 # Find out which ABI we are using.
8531 echo 'int i;' > conftest.
$ac_ext
8532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8533 (eval $ac_compile) 2>&5
8535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8536 test $ac_status = 0; }; then
8537 case `/usr/bin/file conftest.o` in
8539 case $lt_cv_prog_gnu_ld in
8540 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8542 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8554 need_locks
="$enable_libtool_lock"
8558 rhapsody
* | darwin
*)
8559 if test -n "$ac_tool_prefix"; then
8560 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8561 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563 $as_echo_n "checking for $ac_word... " >&6; }
8564 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8565 $as_echo_n "(cached) " >&6
8567 if test -n "$DSYMUTIL"; then
8568 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8574 test -z "$as_dir" && as_dir
=.
8575 for ac_exec_ext
in '' $ac_executable_extensions; do
8576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8577 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8587 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8588 if test -n "$DSYMUTIL"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8590 $as_echo "$DSYMUTIL" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8598 if test -z "$ac_cv_prog_DSYMUTIL"; then
8599 ac_ct_DSYMUTIL
=$DSYMUTIL
8600 # Extract the first word of "dsymutil", so it can be a program name with args.
8601 set dummy dsymutil
; ac_word
=$2
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603 $as_echo_n "checking for $ac_word... " >&6; }
8604 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8605 $as_echo_n "(cached) " >&6
8607 if test -n "$ac_ct_DSYMUTIL"; then
8608 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8614 test -z "$as_dir" && as_dir
=.
8615 for ac_exec_ext
in '' $ac_executable_extensions; do
8616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8617 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8627 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8628 if test -n "$ac_ct_DSYMUTIL"; then
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8630 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8633 $as_echo "no" >&6; }
8636 if test "x$ac_ct_DSYMUTIL" = x
; then
8639 case $cross_compiling:$ac_tool_warned in
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8643 ac_tool_warned
=yes ;;
8645 DSYMUTIL
=$ac_ct_DSYMUTIL
8648 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8651 if test -n "$ac_tool_prefix"; then
8652 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8653 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8655 $as_echo_n "checking for $ac_word... " >&6; }
8656 if ${ac_cv_prog_NMEDIT+:} false
; then :
8657 $as_echo_n "(cached) " >&6
8659 if test -n "$NMEDIT"; then
8660 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8666 test -z "$as_dir" && as_dir
=.
8667 for ac_exec_ext
in '' $ac_executable_extensions; do
8668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8669 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8679 NMEDIT
=$ac_cv_prog_NMEDIT
8680 if test -n "$NMEDIT"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8682 $as_echo "$NMEDIT" >&6; }
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8685 $as_echo "no" >&6; }
8690 if test -z "$ac_cv_prog_NMEDIT"; then
8691 ac_ct_NMEDIT
=$NMEDIT
8692 # Extract the first word of "nmedit", so it can be a program name with args.
8693 set dummy nmedit
; ac_word
=$2
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8695 $as_echo_n "checking for $ac_word... " >&6; }
8696 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8697 $as_echo_n "(cached) " >&6
8699 if test -n "$ac_ct_NMEDIT"; then
8700 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8706 test -z "$as_dir" && as_dir
=.
8707 for ac_exec_ext
in '' $ac_executable_extensions; do
8708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8709 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8719 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8720 if test -n "$ac_ct_NMEDIT"; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8722 $as_echo "$ac_ct_NMEDIT" >&6; }
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8725 $as_echo "no" >&6; }
8728 if test "x$ac_ct_NMEDIT" = x
; then
8731 case $cross_compiling:$ac_tool_warned in
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8735 ac_tool_warned
=yes ;;
8737 NMEDIT
=$ac_ct_NMEDIT
8740 NMEDIT
="$ac_cv_prog_NMEDIT"
8743 if test -n "$ac_tool_prefix"; then
8744 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8745 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8747 $as_echo_n "checking for $ac_word... " >&6; }
8748 if ${ac_cv_prog_LIPO+:} false
; then :
8749 $as_echo_n "(cached) " >&6
8751 if test -n "$LIPO"; then
8752 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir
=.
8759 for ac_exec_ext
in '' $ac_executable_extensions; do
8760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 LIPO
=$ac_cv_prog_LIPO
8772 if test -n "$LIPO"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8774 $as_echo "$LIPO" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8782 if test -z "$ac_cv_prog_LIPO"; then
8784 # Extract the first word of "lipo", so it can be a program name with args.
8785 set dummy lipo
; ac_word
=$2
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8787 $as_echo_n "checking for $ac_word... " >&6; }
8788 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8789 $as_echo_n "(cached) " >&6
8791 if test -n "$ac_ct_LIPO"; then
8792 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8798 test -z "$as_dir" && as_dir
=.
8799 for ac_exec_ext
in '' $ac_executable_extensions; do
8800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8801 ac_cv_prog_ac_ct_LIPO
="lipo"
8802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8811 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8812 if test -n "$ac_ct_LIPO"; then
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8814 $as_echo "$ac_ct_LIPO" >&6; }
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8817 $as_echo "no" >&6; }
8820 if test "x$ac_ct_LIPO" = x
; then
8823 case $cross_compiling:$ac_tool_warned in
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8827 ac_tool_warned
=yes ;;
8832 LIPO
="$ac_cv_prog_LIPO"
8835 if test -n "$ac_tool_prefix"; then
8836 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8837 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8839 $as_echo_n "checking for $ac_word... " >&6; }
8840 if ${ac_cv_prog_OTOOL+:} false
; then :
8841 $as_echo_n "(cached) " >&6
8843 if test -n "$OTOOL"; then
8844 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8850 test -z "$as_dir" && as_dir
=.
8851 for ac_exec_ext
in '' $ac_executable_extensions; do
8852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8853 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8863 OTOOL
=$ac_cv_prog_OTOOL
8864 if test -n "$OTOOL"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8866 $as_echo "$OTOOL" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 $as_echo "no" >&6; }
8874 if test -z "$ac_cv_prog_OTOOL"; then
8876 # Extract the first word of "otool", so it can be a program name with args.
8877 set dummy otool
; ac_word
=$2
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8879 $as_echo_n "checking for $ac_word... " >&6; }
8880 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8881 $as_echo_n "(cached) " >&6
8883 if test -n "$ac_ct_OTOOL"; then
8884 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8890 test -z "$as_dir" && as_dir
=.
8891 for ac_exec_ext
in '' $ac_executable_extensions; do
8892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8893 ac_cv_prog_ac_ct_OTOOL
="otool"
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8903 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8904 if test -n "$ac_ct_OTOOL"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8906 $as_echo "$ac_ct_OTOOL" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 $as_echo "no" >&6; }
8912 if test "x$ac_ct_OTOOL" = x
; then
8915 case $cross_compiling:$ac_tool_warned in
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8919 ac_tool_warned
=yes ;;
8924 OTOOL
="$ac_cv_prog_OTOOL"
8927 if test -n "$ac_tool_prefix"; then
8928 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8929 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8931 $as_echo_n "checking for $ac_word... " >&6; }
8932 if ${ac_cv_prog_OTOOL64+:} false
; then :
8933 $as_echo_n "(cached) " >&6
8935 if test -n "$OTOOL64"; then
8936 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8942 test -z "$as_dir" && as_dir
=.
8943 for ac_exec_ext
in '' $ac_executable_extensions; do
8944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8945 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8955 OTOOL64
=$ac_cv_prog_OTOOL64
8956 if test -n "$OTOOL64"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8958 $as_echo "$OTOOL64" >&6; }
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8961 $as_echo "no" >&6; }
8966 if test -z "$ac_cv_prog_OTOOL64"; then
8967 ac_ct_OTOOL64
=$OTOOL64
8968 # Extract the first word of "otool64", so it can be a program name with args.
8969 set dummy otool64
; ac_word
=$2
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8971 $as_echo_n "checking for $ac_word... " >&6; }
8972 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8973 $as_echo_n "(cached) " >&6
8975 if test -n "$ac_ct_OTOOL64"; then
8976 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8982 test -z "$as_dir" && as_dir
=.
8983 for ac_exec_ext
in '' $ac_executable_extensions; do
8984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8985 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8995 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8996 if test -n "$ac_ct_OTOOL64"; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8998 $as_echo "$ac_ct_OTOOL64" >&6; }
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9001 $as_echo "no" >&6; }
9004 if test "x$ac_ct_OTOOL64" = x
; then
9007 case $cross_compiling:$ac_tool_warned in
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9011 ac_tool_warned
=yes ;;
9013 OTOOL64
=$ac_ct_OTOOL64
9016 OTOOL64
="$ac_cv_prog_OTOOL64"
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9046 $as_echo_n "checking for -single_module linker flag... " >&6; }
9047 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 lt_cv_apple_cc_single_mod
=no
9051 if test -z "${LT_MULTI_MODULE}"; then
9052 # By default we will add the -single_module flag. You can override
9053 # by either setting the environment variable LT_MULTI_MODULE
9054 # non-empty at configure time, or by adding -multi_module to the
9056 rm -rf libconftest.dylib
*
9057 echo "int foo(void){return 1;}" > conftest.c
9058 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9059 -dynamiclib -Wl,-single_module conftest.c" >&5
9060 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9061 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9063 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9064 lt_cv_apple_cc_single_mod
=yes
9066 cat conftest.err
>&5
9068 rm -rf libconftest.dylib
*
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9073 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9075 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9076 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9077 $as_echo_n "(cached) " >&6
9079 lt_cv_ld_exported_symbols_list
=no
9080 save_LDFLAGS
=$LDFLAGS
9081 echo "_main" > conftest.sym
9082 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9083 if test x
$gcc_no_link = xyes
; then
9084 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9097 if ac_fn_c_try_link
"$LINENO"; then :
9098 lt_cv_ld_exported_symbols_list
=yes
9100 lt_cv_ld_exported_symbols_list
=no
9102 rm -f core conftest.err conftest.
$ac_objext \
9103 conftest
$ac_exeext conftest.
$ac_ext
9104 LDFLAGS
="$save_LDFLAGS"
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9108 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9110 $as_echo_n "checking for -force_load linker flag... " >&6; }
9111 if ${lt_cv_ld_force_load+:} false
; then :
9112 $as_echo_n "(cached) " >&6
9114 lt_cv_ld_force_load
=no
9115 cat > conftest.c
<< _LT_EOF
9116 int forced_loaded() { return 2;}
9118 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9119 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9120 echo "$AR cru libconftest.a conftest.o" >&5
9121 $AR cru libconftest.a conftest.o
2>&5
9122 cat > conftest.c
<< _LT_EOF
9123 int main() { return 0;}
9125 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9126 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9128 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9129 lt_cv_ld_force_load
=yes
9131 cat conftest.err
>&5
9133 rm -f conftest.err libconftest.a conftest conftest.c
9134 rm -rf conftest.dSYM
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9138 $as_echo "$lt_cv_ld_force_load" >&6; }
9140 rhapsody
* | darwin1.
[012])
9141 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9143 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9144 darwin
*) # darwin 5.x on
9145 # if running on 10.5 or later, the deployment target defaults
9146 # to the OS version, if on x86, and 10.4, the deployment
9147 # target defaults to 10.4. Don't you love it?
9148 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9149 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9150 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9152 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9154 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9158 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9159 _lt_dar_single_mod
='$single_module'
9161 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9162 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9164 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9166 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9167 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9174 for ac_header
in dlfcn.h
9176 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9178 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9179 cat >>confdefs.h
<<_ACEOF
9180 #define HAVE_DLFCN_H 1
9199 # Check whether --enable-shared was given.
9200 if test "${enable_shared+set}" = set; then :
9201 enableval
=$enable_shared; p
=${PACKAGE-default}
9203 yes) enable_shared
=yes ;;
9204 no
) enable_shared
=no
;;
9207 # Look at the argument we got. We use all the common list separators.
9208 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9209 for pkg
in $enableval; do
9211 if test "X$pkg" = "X$p"; then
9230 # Check whether --enable-static was given.
9231 if test "${enable_static+set}" = set; then :
9232 enableval
=$enable_static; p
=${PACKAGE-default}
9234 yes) enable_static
=yes ;;
9235 no
) enable_static
=no
;;
9238 # Look at the argument we got. We use all the common list separators.
9239 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9240 for pkg
in $enableval; do
9242 if test "X$pkg" = "X$p"; then
9262 # Check whether --with-pic was given.
9263 if test "${with_pic+set}" = set; then :
9264 withval
=$with_pic; pic_mode
="$withval"
9270 test -z "$pic_mode" && pic_mode
=default
9278 # Check whether --enable-fast-install was given.
9279 if test "${enable_fast_install+set}" = set; then :
9280 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9282 yes) enable_fast_install
=yes ;;
9283 no
) enable_fast_install
=no
;;
9285 enable_fast_install
=no
9286 # Look at the argument we got. We use all the common list separators.
9287 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9288 for pkg
in $enableval; do
9290 if test "X$pkg" = "X$p"; then
9291 enable_fast_install
=yes
9298 enable_fast_install
=yes
9311 # This can be used to rebuild libtool when needed
9312 LIBTOOL_DEPS
="$ltmain"
9314 # Always use our own libtool.
9315 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9342 test -z "$LN_S" && LN_S
="ln -s"
9357 if test -n "${ZSH_VERSION+set}" ; then
9358 setopt NO_GLOB_SUBST
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9362 $as_echo_n "checking for objdir... " >&6; }
9363 if ${lt_cv_objdir+:} false
; then :
9364 $as_echo_n "(cached) " >&6
9366 rm -f .libs
2>/dev
/null
9367 mkdir .libs
2>/dev
/null
9368 if test -d .libs
; then
9371 # MS-DOS does not allow filenames that begin with a dot.
9374 rmdir .libs
2>/dev
/null
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9377 $as_echo "$lt_cv_objdir" >&6; }
9378 objdir
=$lt_cv_objdir
9384 cat >>confdefs.h
<<_ACEOF
9385 #define LT_OBJDIR "$lt_cv_objdir/"
9393 # AIX sometimes has problems with the GCC collect2 program. For some
9394 # reason, if we set the COLLECT_NAMES environment variable, the problems
9395 # vanish in a puff of smoke.
9396 if test "X${COLLECT_NAMES+set}" != Xset
; then
9398 export COLLECT_NAMES
9405 can_build_shared
=yes
9407 # All known linkers require a `.a' archive for static linking (except MSVC,
9408 # which needs '.lib').
9411 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9414 old_CFLAGS
="$CFLAGS"
9416 # Set sane defaults for various variables
9417 test -z "$CC" && CC
=cc
9418 test -z "$LTCC" && LTCC
=$CC
9419 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9420 test -z "$LD" && LD
=ld
9421 test -z "$ac_objext" && ac_objext
=o
9423 for cc_temp
in $compiler""; do
9425 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9426 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9431 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9434 # Only perform the check for file, if the check method requires it
9435 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9436 case $deplibs_check_method in
9438 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9440 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9441 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9446 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9449 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9450 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9451 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9452 for ac_dir
in $ac_dummy; do
9454 test -z "$ac_dir" && ac_dir
=.
9455 if test -f $ac_dir/${ac_tool_prefix}file; then
9456 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9457 if test -n "$file_magic_test_file"; then
9458 case $deplibs_check_method in
9460 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9461 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9462 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9463 $EGREP "$file_magic_regex" > /dev
/null
; then
9468 *** Warning: the command libtool uses to detect shared libraries,
9469 *** $file_magic_cmd, produces output that libtool cannot recognize.
9470 *** The result is that libtool may fail to recognize shared libraries
9471 *** as such. This will affect the creation of libtool libraries that
9472 *** depend on shared libraries, but programs linked with such libtool
9473 *** libraries will work regardless of this problem. Nevertheless, you
9474 *** may want to report the problem to your system manager and/or to
9475 *** bug-libtool@gnu.org
9485 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9490 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9491 if test -n "$MAGIC_CMD"; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9493 $as_echo "$MAGIC_CMD" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9496 $as_echo "no" >&6; }
9503 if test -z "$lt_cv_path_MAGIC_CMD"; then
9504 if test -n "$ac_tool_prefix"; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9506 $as_echo_n "checking for file... " >&6; }
9507 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9508 $as_echo_n "(cached) " >&6
9512 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9515 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9516 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9517 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9518 for ac_dir
in $ac_dummy; do
9520 test -z "$ac_dir" && ac_dir
=.
9521 if test -f $ac_dir/file; then
9522 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9523 if test -n "$file_magic_test_file"; then
9524 case $deplibs_check_method in
9526 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9527 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9528 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9529 $EGREP "$file_magic_regex" > /dev
/null
; then
9534 *** Warning: the command libtool uses to detect shared libraries,
9535 *** $file_magic_cmd, produces output that libtool cannot recognize.
9536 *** The result is that libtool may fail to recognize shared libraries
9537 *** as such. This will affect the creation of libtool libraries that
9538 *** depend on shared libraries, but programs linked with such libtool
9539 *** libraries will work regardless of this problem. Nevertheless, you
9540 *** may want to report the problem to your system manager and/or to
9541 *** bug-libtool@gnu.org
9551 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9556 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9557 if test -n "$MAGIC_CMD"; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9559 $as_echo "$MAGIC_CMD" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9562 $as_echo "no" >&6; }
9575 # Use C for the default configuration in the libtool script
9579 ac_cpp
='$CPP $CPPFLAGS'
9580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9585 # Source file extension for C test sources.
9588 # Object file extension for compiled C test sources.
9592 # Code to be used in simple compile tests
9593 lt_simple_compile_test_code
="int some_variable = 0;"
9595 # Code to be used in simple link tests
9596 lt_simple_link_test_code
='int main(){return(0);}'
9604 # If no C compiler was specified, use CC.
9607 # If no C compiler flags were specified, use CFLAGS.
9608 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9610 # Allow CC to be a program name with arguments.
9613 # Save the default compiler, since it gets overwritten when the other
9614 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9615 compiler_DEFAULT
=$CC
9617 # save warnings/boilerplate of simple test code
9618 ac_outfile
=conftest.
$ac_objext
9619 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9620 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9621 _lt_compiler_boilerplate
=`cat conftest.err`
9624 ac_outfile
=conftest.
$ac_objext
9625 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9626 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9627 _lt_linker_boilerplate
=`cat conftest.err`
9632 ## There is no encapsulation within the following macros, do not change
9633 ## the running order or otherwise move them around unless you know exactly
9634 ## what you are doing...
9635 if test -n "$compiler"; then
9637 lt_prog_compiler_no_builtin_flag
=
9639 if test "$GCC" = yes; then
9640 case $cc_basename in
9642 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9644 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9648 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9649 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9650 $as_echo_n "(cached) " >&6
9652 lt_cv_prog_compiler_rtti_exceptions
=no
9653 ac_outfile
=conftest.
$ac_objext
9654 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9655 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 # The option is referenced via a variable to avoid confusing sed.
9661 lt_compile
=`echo "$ac_compile" | $SED \
9662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9664 -e 's:$: $lt_compiler_flag:'`
9665 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9666 (eval "$lt_compile" 2>conftest.err
)
9668 cat conftest.err
>&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 if (exit $ac_status) && test -s "$ac_outfile"; then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings other than the usual output.
9673 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9674 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9675 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9676 lt_cv_prog_compiler_rtti_exceptions
=yes
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9683 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9685 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9686 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9698 lt_prog_compiler_wl
=
9699 lt_prog_compiler_pic
=
9700 lt_prog_compiler_static
=
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9703 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9705 if test "$GCC" = yes; then
9706 lt_prog_compiler_wl
='-Wl,'
9707 lt_prog_compiler_static
='-static'
9711 # All AIX code is PIC.
9712 if test "$host_cpu" = ia64
; then
9713 # AIX 5 now supports IA64 processor
9714 lt_prog_compiler_static
='-Bstatic'
9716 lt_prog_compiler_pic
='-fPIC'
9722 # see comment about AmigaOS4 .so support
9723 lt_prog_compiler_pic
='-fPIC'
9726 # FIXME: we need at least 68020 code to build shared libraries, but
9727 # adding the `-m68020' flag to GCC prevents building anything better,
9729 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9734 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9735 # PIC is the default for these OSes.
9738 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9739 # This hack is so that the source file can tell whether it is being
9740 # built for inclusion in a dll (and should export symbols for example).
9741 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9742 # (--disable-auto-import) libraries
9743 lt_prog_compiler_pic
='-DDLL_EXPORT'
9746 darwin
* | rhapsody
*)
9747 # PIC is the default on this platform
9748 # Common symbols not allowed in MH_DYLIB files
9749 lt_prog_compiler_pic
='-fno-common'
9753 # PIC is the default for Haiku.
9754 # The "-static" flag exists, but is broken.
9755 lt_prog_compiler_static
=
9759 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9760 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9761 # sets the default TLS model and affects inlining.
9767 lt_prog_compiler_pic
='-fPIC'
9773 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9774 # Instead, we relocate shared libraries at runtime.
9778 # Just because we use GCC doesn't mean we suddenly get shared libraries
9779 # on systems that don't support them.
9780 lt_prog_compiler_can_build_shared
=no
9785 # QNX uses GNU C++, but need to define -shared option too, otherwise
9787 lt_prog_compiler_pic
='-fPIC -shared'
9791 if test -d /usr
/nec
; then
9792 lt_prog_compiler_pic
=-Kconform_pic
9797 lt_prog_compiler_pic
='-fPIC'
9801 case $cc_basename in
9802 nvcc
*) # Cuda Compiler Driver 2.2
9803 lt_prog_compiler_wl
='-Xlinker '
9804 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9808 # PORTME Check for flag to pass linker flags through the system compiler.
9811 lt_prog_compiler_wl
='-Wl,'
9812 if test "$host_cpu" = ia64
; then
9813 # AIX 5 now supports IA64 processor
9814 lt_prog_compiler_static
='-Bstatic'
9816 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9820 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9821 # This hack is so that the source file can tell whether it is being
9822 # built for inclusion in a dll (and should export symbols for example).
9823 lt_prog_compiler_pic
='-DDLL_EXPORT'
9826 hpux9
* | hpux10
* | hpux11
*)
9827 lt_prog_compiler_wl
='-Wl,'
9828 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9835 lt_prog_compiler_pic
='+Z'
9838 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9839 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9842 irix5
* | irix6
* | nonstopux
*)
9843 lt_prog_compiler_wl
='-Wl,'
9844 # PIC (with -KPIC) is the default.
9845 lt_prog_compiler_static
='-non_shared'
9848 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9849 case $cc_basename in
9850 # old Intel for x86_64 which still supported -KPIC.
9852 lt_prog_compiler_wl
='-Wl,'
9853 lt_prog_compiler_pic
='-KPIC'
9854 lt_prog_compiler_static
='-static'
9856 # icc used to be incompatible with GCC.
9857 # ICC 10 doesn't accept -KPIC any more.
9859 lt_prog_compiler_wl
='-Wl,'
9860 lt_prog_compiler_pic
='-fPIC'
9861 lt_prog_compiler_static
='-static'
9863 # Lahey Fortran 8.1.
9865 lt_prog_compiler_wl
='-Wl,'
9866 lt_prog_compiler_pic
='--shared'
9867 lt_prog_compiler_static
='--static'
9869 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9870 # Portland Group compilers (*not* the Pentium gcc compiler,
9871 # which looks to be a dead project)
9872 lt_prog_compiler_wl
='-Wl,'
9873 lt_prog_compiler_pic
='-fpic'
9874 lt_prog_compiler_static
='-Bstatic'
9877 lt_prog_compiler_wl
='-Wl,'
9878 # All Alpha code is PIC.
9879 lt_prog_compiler_static
='-non_shared'
9881 xl
* | bgxl
* | bgf
* | mpixl
*)
9882 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9883 lt_prog_compiler_wl
='-Wl,'
9884 lt_prog_compiler_pic
='-qpic'
9885 lt_prog_compiler_static
='-qstaticlink'
9888 case `$CC -V 2>&1 | sed 5q` in
9889 *Sun\ F
* |
*Sun
*Fortran
*)
9890 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9891 lt_prog_compiler_pic
='-KPIC'
9892 lt_prog_compiler_static
='-Bstatic'
9893 lt_prog_compiler_wl
=''
9897 lt_prog_compiler_pic
='-KPIC'
9898 lt_prog_compiler_static
='-Bstatic'
9899 lt_prog_compiler_wl
='-Wl,'
9907 lt_prog_compiler_pic
='-KPIC'
9908 lt_prog_compiler_static
='-Bstatic'
9912 # QNX uses GNU C++, but need to define -shared option too, otherwise
9914 lt_prog_compiler_pic
='-fPIC -shared'
9917 osf3
* | osf4
* | osf5
*)
9918 lt_prog_compiler_wl
='-Wl,'
9919 # All OSF/1 code is PIC.
9920 lt_prog_compiler_static
='-non_shared'
9924 lt_prog_compiler_static
='-non_shared'
9928 lt_prog_compiler_pic
='-KPIC'
9929 lt_prog_compiler_static
='-Bstatic'
9930 case $cc_basename in
9932 lt_prog_compiler_wl
='-Qoption ld ';;
9934 lt_prog_compiler_wl
='-Wl,';;
9939 lt_prog_compiler_wl
='-Qoption ld '
9940 lt_prog_compiler_pic
='-PIC'
9941 lt_prog_compiler_static
='-Bstatic'
9944 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9945 lt_prog_compiler_wl
='-Wl,'
9946 lt_prog_compiler_pic
='-KPIC'
9947 lt_prog_compiler_static
='-Bstatic'
9951 if test -d /usr
/nec
;then
9952 lt_prog_compiler_pic
='-Kconform_pic'
9953 lt_prog_compiler_static
='-Bstatic'
9957 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9958 lt_prog_compiler_wl
='-Wl,'
9959 lt_prog_compiler_pic
='-KPIC'
9960 lt_prog_compiler_static
='-Bstatic'
9964 lt_prog_compiler_wl
='-Wl,'
9965 lt_prog_compiler_can_build_shared
=no
9969 lt_prog_compiler_pic
='-pic'
9970 lt_prog_compiler_static
='-Bstatic'
9974 lt_prog_compiler_can_build_shared
=no
9980 # For platforms which do not support PIC, -DPIC is meaningless:
9982 lt_prog_compiler_pic
=
9985 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9989 $as_echo "$lt_prog_compiler_pic" >&6; }
9997 # Check to make sure the PIC flag actually works.
9999 if test -n "$lt_prog_compiler_pic"; then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10001 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10002 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10003 $as_echo_n "(cached) " >&6
10005 lt_cv_prog_compiler_pic_works
=no
10006 ac_outfile
=conftest.
$ac_objext
10007 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10008 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10009 # Insert the option either (1) after the last *FLAGS variable, or
10010 # (2) before a word containing "conftest.", or (3) at the end.
10011 # Note that $ac_compile itself does not contain backslashes and begins
10012 # with a dollar sign (not a hyphen), so the echo should work correctly.
10013 # The option is referenced via a variable to avoid confusing sed.
10014 lt_compile
=`echo "$ac_compile" | $SED \
10015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10017 -e 's:$: $lt_compiler_flag:'`
10018 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10019 (eval "$lt_compile" 2>conftest.err
)
10021 cat conftest.err
>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 if (exit $ac_status) && test -s "$ac_outfile"; then
10024 # The compiler can only warn and ignore the option if not recognized
10025 # So say no if there are warnings other than the usual output.
10026 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10027 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10028 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10029 lt_cv_prog_compiler_pic_works
=yes
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10036 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10038 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10039 case $lt_prog_compiler_pic in
10041 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10044 lt_prog_compiler_pic
=
10045 lt_prog_compiler_can_build_shared
=no
10056 # Check to make sure the static flag actually works.
10058 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10060 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10061 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10062 $as_echo_n "(cached) " >&6
10064 lt_cv_prog_compiler_static_works
=no
10065 save_LDFLAGS
="$LDFLAGS"
10066 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10067 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10068 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10069 # The linker can only warn and ignore the option if not recognized
10070 # So say no if there are warnings
10071 if test -s conftest.err
; then
10072 # Append any errors to the config.log.
10073 cat conftest.err
1>&5
10074 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10075 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10076 if diff conftest.exp conftest.er2
>/dev
/null
; then
10077 lt_cv_prog_compiler_static_works
=yes
10080 lt_cv_prog_compiler_static_works
=yes
10084 LDFLAGS
="$save_LDFLAGS"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10088 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10090 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10093 lt_prog_compiler_static
=
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10103 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10104 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10105 $as_echo_n "(cached) " >&6
10107 lt_cv_prog_compiler_c_o
=no
10108 $RM -r conftest
2>/dev
/null
10112 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10114 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10115 # Insert the option either (1) after the last *FLAGS variable, or
10116 # (2) before a word containing "conftest.", or (3) at the end.
10117 # Note that $ac_compile itself does not contain backslashes and begins
10118 # with a dollar sign (not a hyphen), so the echo should work correctly.
10119 lt_compile
=`echo "$ac_compile" | $SED \
10120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10122 -e 's:$: $lt_compiler_flag:'`
10123 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10124 (eval "$lt_compile" 2>out
/conftest.err
)
10126 cat out
/conftest.err
>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10130 # The compiler can only warn and ignore the option if not recognized
10131 # So say no if there are warnings
10132 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10133 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10134 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10135 lt_cv_prog_compiler_c_o
=yes
10140 # SGI C++ compiler will create directory out/ii_files/ for
10141 # template instantiation
10142 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10143 $RM out
/* && rmdir out
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10150 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10158 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10159 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10160 $as_echo_n "(cached) " >&6
10162 lt_cv_prog_compiler_c_o
=no
10163 $RM -r conftest
2>/dev
/null
10167 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10169 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10170 # Insert the option either (1) after the last *FLAGS variable, or
10171 # (2) before a word containing "conftest.", or (3) at the end.
10172 # Note that $ac_compile itself does not contain backslashes and begins
10173 # with a dollar sign (not a hyphen), so the echo should work correctly.
10174 lt_compile
=`echo "$ac_compile" | $SED \
10175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10177 -e 's:$: $lt_compiler_flag:'`
10178 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10179 (eval "$lt_compile" 2>out
/conftest.err
)
10181 cat out
/conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10185 # The compiler can only warn and ignore the option if not recognized
10186 # So say no if there are warnings
10187 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10188 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10189 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10190 lt_cv_prog_compiler_c_o
=yes
10195 # SGI C++ compiler will create directory out/ii_files/ for
10196 # template instantiation
10197 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10198 $RM out
/* && rmdir out
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10205 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10210 hard_links
="nottested"
10211 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10212 # do not overwrite the value of need_locks provided by the user
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10214 $as_echo_n "checking if we can lock with hard links... " >&6; }
10217 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10219 ln conftest.a conftest.b
2>&5 || hard_links
=no
10220 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10222 $as_echo "$hard_links" >&6; }
10223 if test "$hard_links" = no
; then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10225 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10238 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10241 allow_undefined_flag
=
10242 always_export_symbols
=no
10244 archive_expsym_cmds
=
10245 compiler_needs_object
=no
10246 enable_shared_with_static_runtimes
=no
10247 export_dynamic_flag_spec
=
10248 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10249 hardcode_automatic
=no
10251 hardcode_direct_absolute
=no
10252 hardcode_libdir_flag_spec
=
10253 hardcode_libdir_flag_spec_ld
=
10254 hardcode_libdir_separator
=
10255 hardcode_minus_L
=no
10256 hardcode_shlibpath_var
=unsupported
10258 link_all_deplibs
=unknown
10260 module_expsym_cmds
=
10261 old_archive_from_new_cmds
=
10262 old_archive_from_expsyms_cmds
=
10263 thread_safe_flag_spec
=
10264 whole_archive_flag_spec
=
10265 # include_expsyms should be a list of space-separated symbols to be *always*
10266 # included in the symbol list
10268 # exclude_expsyms can be an extended regexp of symbols to exclude
10269 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10270 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10271 # as well as any symbol that contains `d'.
10272 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10273 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10274 # platforms (ab)use it in PIC code, but their linkers get confused if
10275 # the symbol is explicitly referenced. Since portable code cannot
10276 # rely on this symbol name, it's probably fine to never include it in
10277 # preloaded symbol tables.
10278 # Exclude shared library initialization/finalization symbols.
10279 extract_expsyms_cmds
=
10282 cygwin
* | mingw
* | pw32
* | cegcc
*)
10283 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10284 # When not using gcc, we currently assume that we are using
10285 # Microsoft Visual C++.
10286 if test "$GCC" != yes; then
10291 # we just hope/assume this is gcc and not c89 (= MSVC++)
10301 # On some targets, GNU ld is compatible enough with the native linker
10302 # that we're better off using the native interface for both.
10303 lt_use_gnu_ld_interface
=no
10304 if test "$with_gnu_ld" = yes; then
10307 # The AIX port of GNU ld has always aspired to compatibility
10308 # with the native linker. However, as the warning in the GNU ld
10309 # block says, versions before 2.19.5* couldn't really create working
10310 # shared libraries, regardless of the interface used.
10311 case `$LD -v 2>&1` in
10312 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10313 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10314 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10316 lt_use_gnu_ld_interface
=yes
10321 lt_use_gnu_ld_interface
=yes
10326 if test "$lt_use_gnu_ld_interface" = yes; then
10327 # If archive_cmds runs LD, not CC, wlarc should be empty
10330 # Set some defaults for GNU ld with shared library support. These
10331 # are reset later if shared libraries are not supported. Putting them
10332 # here allows them to be overridden if necessary.
10333 runpath_var
=LD_RUN_PATH
10334 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10335 export_dynamic_flag_spec
='${wl}--export-dynamic'
10336 # ancient GNU ld didn't support --whole-archive et. al.
10337 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10338 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10340 whole_archive_flag_spec
=
10342 supports_anon_versioning
=no
10343 case `$LD -v 2>&1` in
10344 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10345 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10346 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10347 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10348 *\
2.11.
*) ;; # other 2.11 versions
10349 *) supports_anon_versioning
=yes ;;
10352 # See if GNU ld supports shared libraries.
10355 # On AIX/PPC, the GNU linker is very broken
10356 if test "$host_cpu" != ia64
; then
10360 *** Warning: the GNU linker, at least up to release 2.19, is reported
10361 *** to be unable to reliably create shared libraries on AIX.
10362 *** Therefore, libtool is disabling shared libraries support. If you
10363 *** really care for shared libraries, you may want to install binutils
10364 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10365 *** You will then need to restart the configuration process.
10374 # see comment about AmigaOS4 .so support
10375 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10376 archive_expsym_cmds
=''
10379 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)'
10380 hardcode_libdir_flag_spec
='-L$libdir'
10381 hardcode_minus_L
=yes
10387 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10388 allow_undefined_flag
=unsupported
10389 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10390 # support --undefined. This deserves some investigation. FIXME
10391 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10397 cygwin
* | mingw
* | pw32
* | cegcc
*)
10398 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10399 # as there is no search path for DLLs.
10400 hardcode_libdir_flag_spec
='-L$libdir'
10401 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10402 allow_undefined_flag
=unsupported
10403 always_export_symbols
=no
10404 enable_shared_with_static_runtimes
=yes
10405 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10407 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10409 # If the export-symbols file already is a .def file (1st line
10410 # is EXPORTS), use it as is; otherwise, prepend...
10411 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10412 cp $export_symbols $output_objdir/$soname.def;
10414 echo EXPORTS > $output_objdir/$soname.def;
10415 cat $export_symbols >> $output_objdir/$soname.def;
10417 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10424 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10425 link_all_deplibs
=yes
10430 hardcode_shlibpath_var
=no
10431 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10432 export_dynamic_flag_spec
='${wl}-E'
10433 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10434 # Instead, shared libraries are loaded at an image base (0x10000000 by
10435 # default) and relocated if they conflict, which is a slow very memory
10436 # consuming and fragmenting process. To avoid this, we pick a random,
10437 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10438 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10439 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10440 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'
10443 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10445 if test "$host_os" = linux-dietlibc
; then
10446 case $cc_basename in
10447 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10450 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10451 && test "$tmp_diet" = no
10453 tmp_addflag
=' $pic_flag'
10454 tmp_sharedflag
='-shared'
10455 case $cc_basename,$host_cpu in
10456 pgcc
*) # Portland Group C compiler
10457 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'
10458 tmp_addflag
=' $pic_flag'
10460 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10461 # Portland Group f77 and f90 compilers
10462 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'
10463 tmp_addflag
=' $pic_flag -Mnomain' ;;
10464 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10465 tmp_addflag
=' -i_dynamic' ;;
10466 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10467 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10468 ifc
* | ifort
*) # Intel Fortran compiler
10469 tmp_addflag
=' -nofor_main' ;;
10470 lf95
*) # Lahey Fortran 8.1
10471 whole_archive_flag_spec
=
10472 tmp_sharedflag
='--shared' ;;
10473 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10474 tmp_sharedflag
='-qmkshrobj'
10476 nvcc
*) # Cuda Compiler Driver 2.2
10477 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'
10478 compiler_needs_object
=yes
10481 case `$CC -V 2>&1 | sed 5q` in
10482 *Sun\ C
*) # Sun C 5.9
10483 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'
10484 compiler_needs_object
=yes
10485 tmp_sharedflag
='-G' ;;
10486 *Sun\ F
*) # Sun Fortran 8.3
10487 tmp_sharedflag
='-G' ;;
10489 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10491 if test "x$supports_anon_versioning" = xyes
; then
10492 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10493 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10494 echo "local: *; };" >> $output_objdir/$libname.ver~
10495 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10498 case $cc_basename in
10499 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10500 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10501 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10502 hardcode_libdir_flag_spec
=
10503 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10504 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10505 if test "x$supports_anon_versioning" = xyes
; then
10506 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10507 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10508 echo "local: *; };" >> $output_objdir/$libname.ver~
10509 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10519 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10520 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10523 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10524 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10529 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10533 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10534 *** create shared libraries on Solaris systems. Therefore, libtool
10535 *** is disabling shared libraries support. We urge you to upgrade GNU
10536 *** binutils to release 2.9.1 or newer. Another option is to modify
10537 *** your PATH or compiler configuration so that the native linker is
10538 *** used, and then restart.
10541 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10543 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10549 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10550 case `$LD -v 2>&1` in
10551 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10555 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10556 *** reliably create shared libraries on SCO systems. Therefore, libtool
10557 *** is disabling shared libraries support. We urge you to upgrade GNU
10558 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10559 *** your PATH or compiler configuration so that the native linker is
10560 *** used, and then restart.
10565 # For security reasons, it is highly recommended that you always
10566 # use absolute paths for naming shared libraries, and exclude the
10567 # DT_RUNPATH tag from executables and libraries. But doing so
10568 # requires that you compile everything twice, which is a pain.
10569 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10570 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10571 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10572 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10581 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10583 hardcode_direct
=yes
10584 hardcode_shlibpath_var
=no
10588 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10589 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10590 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10597 if test "$ld_shlibs" = no
; then
10599 hardcode_libdir_flag_spec
=
10600 export_dynamic_flag_spec
=
10601 whole_archive_flag_spec
=
10604 # PORTME fill in a description of your system's linker (not GNU ld)
10607 allow_undefined_flag
=unsupported
10608 always_export_symbols
=yes
10609 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'
10610 # Note: this linker hardcodes the directories in LIBPATH if there
10611 # are no directories specified by -L.
10612 hardcode_minus_L
=yes
10613 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10614 # Neither direct hardcoding nor static linking is supported with a
10616 hardcode_direct
=unsupported
10621 if test "$host_cpu" = ia64
; then
10622 # On IA64, the linker does run time linking by default, so we don't
10623 # have to do anything special.
10624 aix_use_runtimelinking
=no
10625 exp_sym_flag
='-Bexport'
10628 # If we're using GNU nm, then we don't want the "-C" option.
10629 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10630 # Also, AIX nm treats weak defined symbols like other global
10631 # defined symbols, whereas GNU nm marks them as "W".
10632 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10633 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'
10635 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'
10637 aix_use_runtimelinking
=no
10639 # Test if we are trying to use run time linking or normal
10640 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10641 # need to do runtime linking.
10642 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10643 for ld_flag
in $LDFLAGS; do
10644 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10645 aix_use_runtimelinking
=yes
10652 exp_sym_flag
='-bexport'
10653 no_entry_flag
='-bnoentry'
10656 # When large executables or shared objects are built, AIX ld can
10657 # have problems creating the table of contents. If linking a library
10658 # or program results in "error TOC overflow" add -mminimal-toc to
10659 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10660 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10663 hardcode_direct
=yes
10664 hardcode_direct_absolute
=yes
10665 hardcode_libdir_separator
=':'
10666 link_all_deplibs
=yes
10667 file_list_spec
='${wl}-f,'
10669 if test "$GCC" = yes; then
10670 case $host_os in aix4.
[012]|aix4.
[012].
*)
10671 # We only want to do this on AIX 4.2 and lower, the check
10672 # below for broken collect2 doesn't work under 4.3+
10673 collect2name
=`${CC} -print-prog-name=collect2`
10674 if test -f "$collect2name" &&
10675 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10677 # We have reworked collect2
10680 # We have old collect2
10681 hardcode_direct
=unsupported
10682 # It fails to find uninstalled libraries when the uninstalled
10683 # path is not listed in the libpath. Setting hardcode_minus_L
10684 # to unsupported forces relinking
10685 hardcode_minus_L
=yes
10686 hardcode_libdir_flag_spec
='-L$libdir'
10687 hardcode_libdir_separator
=
10691 shared_flag
='-shared'
10692 if test "$aix_use_runtimelinking" = yes; then
10693 shared_flag
="$shared_flag "'${wl}-G'
10697 if test "$host_cpu" = ia64
; then
10698 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10699 # chokes on -Wl,-G. The following line is correct:
10702 if test "$aix_use_runtimelinking" = yes; then
10703 shared_flag
='${wl}-G'
10705 shared_flag
='${wl}-bM:SRE'
10710 export_dynamic_flag_spec
='${wl}-bexpall'
10711 # It seems that -bexpall does not export symbols beginning with
10712 # underscore (_), so it is better to generate a list of symbols to export.
10713 always_export_symbols
=yes
10714 if test "$aix_use_runtimelinking" = yes; then
10715 # Warning - without using the other runtime loading flags (-brtl),
10716 # -berok will link without error, but may produce a broken library.
10717 allow_undefined_flag
='-berok'
10718 # Determine the default libpath from the value encoded in an
10719 # empty executable.
10720 if test x
$gcc_no_link = xyes
; then
10721 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10734 if ac_fn_c_try_link
"$LINENO"; then :
10736 lt_aix_libpath_sed
='
10737 /Import File Strings/,/^$/ {
10743 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10744 # Check for a 64-bit object if we didn't find anything.
10745 if test -z "$aix_libpath"; then
10746 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10749 rm -f core conftest.err conftest.
$ac_objext \
10750 conftest
$ac_exeext conftest.
$ac_ext
10751 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10753 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10754 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"
10756 if test "$host_cpu" = ia64
; then
10757 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10758 allow_undefined_flag
="-z nodefs"
10759 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"
10761 # Determine the default libpath from the value encoded in an
10762 # empty executable.
10763 if test x
$gcc_no_link = xyes
; then
10764 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10777 if ac_fn_c_try_link
"$LINENO"; then :
10779 lt_aix_libpath_sed
='
10780 /Import File Strings/,/^$/ {
10786 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10787 # Check for a 64-bit object if we didn't find anything.
10788 if test -z "$aix_libpath"; then
10789 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10792 rm -f core conftest.err conftest.
$ac_objext \
10793 conftest
$ac_exeext conftest.
$ac_ext
10794 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10796 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10797 # Warning - without using the other run time loading flags,
10798 # -berok will link without error, but may produce a broken library.
10799 no_undefined_flag
=' ${wl}-bernotok'
10800 allow_undefined_flag
=' ${wl}-berok'
10801 if test "$with_gnu_ld" = yes; then
10802 # We only use this code for GNU lds that support --whole-archive.
10803 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10805 # Exported symbols can be pulled into shared objects from archives
10806 whole_archive_flag_spec
='$convenience'
10808 archive_cmds_need_lc
=yes
10809 # This is similar to how AIX traditionally builds its shared libraries.
10810 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'
10818 # see comment about AmigaOS4 .so support
10819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10820 archive_expsym_cmds
=''
10823 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)'
10824 hardcode_libdir_flag_spec
='-L$libdir'
10825 hardcode_minus_L
=yes
10831 export_dynamic_flag_spec
=-rdynamic
10834 cygwin
* | mingw
* | pw32
* | cegcc
*)
10835 # When not using gcc, we currently assume that we are using
10836 # Microsoft Visual C++.
10837 # hardcode_libdir_flag_spec is actually meaningless, as there is
10838 # no search path for DLLs.
10839 hardcode_libdir_flag_spec
=' '
10840 allow_undefined_flag
=unsupported
10841 # Tell ltmain to make .lib files, not .a files.
10843 # Tell ltmain to make .dll files, not .so files.
10845 # FIXME: Setting linknames here is a bad hack.
10846 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10847 # The linker will automatically build a .lib file if we build a DLL.
10848 old_archive_from_new_cmds
='true'
10849 # FIXME: Should let the user specify the lib program.
10850 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10851 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10852 enable_shared_with_static_runtimes
=yes
10855 darwin
* | rhapsody
*)
10858 archive_cmds_need_lc
=no
10860 hardcode_automatic
=yes
10861 hardcode_shlibpath_var
=unsupported
10862 if test "$lt_cv_ld_force_load" = "yes"; then
10863 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\"`'
10865 whole_archive_flag_spec
=''
10867 link_all_deplibs
=yes
10868 allow_undefined_flag
="$_lt_dar_allow_undefined"
10869 case $cc_basename in
10870 ifort
*) _lt_dar_can_shared
=yes ;;
10871 *) _lt_dar_can_shared
=$GCC ;;
10873 if test "$_lt_dar_can_shared" = "yes"; then
10874 output_verbose_link_cmd
=func_echo_all
10875 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10876 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10877 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}"
10878 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}"
10887 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10888 hardcode_libdir_flag_spec
='-L$libdir'
10889 hardcode_shlibpath_var
=no
10892 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10893 # support. Future versions do this automatically, but an explicit c++rt0.o
10894 # does not break anything, and helps significantly (at the cost of a little
10897 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10898 hardcode_libdir_flag_spec
='-R$libdir'
10899 hardcode_direct
=yes
10900 hardcode_shlibpath_var
=no
10903 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10905 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10906 hardcode_direct
=yes
10907 hardcode_minus_L
=yes
10908 hardcode_shlibpath_var
=no
10911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10912 freebsd
* | dragonfly
*)
10913 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10914 hardcode_libdir_flag_spec
='-R$libdir'
10915 hardcode_direct
=yes
10916 hardcode_shlibpath_var
=no
10920 if test "$GCC" = yes; then
10921 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'
10923 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'
10925 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10926 hardcode_libdir_separator
=:
10927 hardcode_direct
=yes
10929 # hardcode_minus_L: Not really in the search PATH,
10930 # but as the default location of the library.
10931 hardcode_minus_L
=yes
10932 export_dynamic_flag_spec
='${wl}-E'
10936 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10937 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10939 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10941 if test "$with_gnu_ld" = no
; then
10942 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10943 hardcode_libdir_flag_spec_ld
='+b $libdir'
10944 hardcode_libdir_separator
=:
10945 hardcode_direct
=yes
10946 hardcode_direct_absolute
=yes
10947 export_dynamic_flag_spec
='${wl}-E'
10948 # hardcode_minus_L: Not really in the search PATH,
10949 # but as the default location of the library.
10950 hardcode_minus_L
=yes
10955 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10958 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10964 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10970 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10973 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10977 # Older versions of the 11.00 compiler do not understand -b yet
10978 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10980 $as_echo_n "checking if $CC understands -b... " >&6; }
10981 if ${lt_cv_prog_compiler__b+:} false
; then :
10982 $as_echo_n "(cached) " >&6
10984 lt_cv_prog_compiler__b
=no
10985 save_LDFLAGS
="$LDFLAGS"
10986 LDFLAGS
="$LDFLAGS -b"
10987 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10988 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10989 # The linker can only warn and ignore the option if not recognized
10990 # So say no if there are warnings
10991 if test -s conftest.err
; then
10992 # Append any errors to the config.log.
10993 cat conftest.err
1>&5
10994 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10995 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10996 if diff conftest.exp conftest.er2
>/dev
/null
; then
10997 lt_cv_prog_compiler__b
=yes
11000 lt_cv_prog_compiler__b
=yes
11004 LDFLAGS
="$save_LDFLAGS"
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11008 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11010 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11011 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11013 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11019 if test "$with_gnu_ld" = no
; then
11020 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11021 hardcode_libdir_separator
=:
11026 hardcode_shlibpath_var
=no
11029 hardcode_direct
=yes
11030 hardcode_direct_absolute
=yes
11031 export_dynamic_flag_spec
='${wl}-E'
11033 # hardcode_minus_L: Not really in the search PATH,
11034 # but as the default location of the library.
11035 hardcode_minus_L
=yes
11041 irix5
* | irix6
* | nonstopux
*)
11042 if test "$GCC" = yes; then
11043 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'
11044 # Try to use the -exported_symbol ld option, if it does not
11045 # work, assume that -exports_file does not work either and
11046 # implicitly export all symbols.
11047 save_LDFLAGS
="$LDFLAGS"
11048 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11049 if test x
$gcc_no_link = xyes
; then
11050 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11056 if ac_fn_c_try_link
"$LINENO"; then :
11057 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'
11060 rm -f core conftest.err conftest.
$ac_objext \
11061 conftest
$ac_exeext conftest.
$ac_ext
11062 LDFLAGS
="$save_LDFLAGS"
11064 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'
11065 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'
11067 archive_cmds_need_lc
='no'
11068 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11069 hardcode_libdir_separator
=:
11071 link_all_deplibs
=yes
11075 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11076 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11078 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11080 hardcode_libdir_flag_spec
='-R$libdir'
11081 hardcode_direct
=yes
11082 hardcode_shlibpath_var
=no
11086 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11087 hardcode_direct
=yes
11088 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11089 hardcode_libdir_separator
=:
11090 hardcode_shlibpath_var
=no
11097 if test -f /usr
/libexec
/ld.so
; then
11098 hardcode_direct
=yes
11099 hardcode_shlibpath_var
=no
11100 hardcode_direct_absolute
=yes
11101 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11102 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11103 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11104 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11105 export_dynamic_flag_spec
='${wl}-E'
11108 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11109 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11110 hardcode_libdir_flag_spec
='-R$libdir'
11113 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11114 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11124 hardcode_libdir_flag_spec
='-L$libdir'
11125 hardcode_minus_L
=yes
11126 allow_undefined_flag
=unsupported
11127 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'
11128 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11132 if test "$GCC" = yes; then
11133 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11134 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'
11136 allow_undefined_flag
=' -expect_unresolved \*'
11137 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'
11139 archive_cmds_need_lc
='no'
11140 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11141 hardcode_libdir_separator
=:
11144 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11145 if test "$GCC" = yes; then
11146 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11147 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'
11148 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11150 allow_undefined_flag
=' -expect_unresolved \*'
11151 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'
11152 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~
11153 $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'
11155 # Both c and cxx compiler support -rpath directly
11156 hardcode_libdir_flag_spec
='-rpath $libdir'
11158 archive_cmds_need_lc
='no'
11159 hardcode_libdir_separator
=:
11163 no_undefined_flag
=' -z defs'
11164 if test "$GCC" = yes; then
11166 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11167 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11168 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11170 case `$CC -V 2>&1` in
11173 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11174 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11175 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11179 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11180 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11181 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11185 hardcode_libdir_flag_spec
='-R$libdir'
11186 hardcode_shlibpath_var
=no
11188 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11190 # The compiler driver will combine and reorder linker options,
11191 # but understands `-z linker_flag'. GCC discards it without `$wl',
11192 # but is careful enough not to reorder.
11193 # Supported since Solaris 2.6 (maybe 2.5.1?)
11194 if test "$GCC" = yes; then
11195 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11197 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11201 link_all_deplibs
=yes
11205 if test "x$host_vendor" = xsequent
; then
11206 # Use $CC to link under sequent, because it throws in some extra .o
11207 # files that make .init and .fini sections work.
11208 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11210 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11212 hardcode_libdir_flag_spec
='-L$libdir'
11213 hardcode_direct
=yes
11214 hardcode_minus_L
=yes
11215 hardcode_shlibpath_var
=no
11219 case $host_vendor in
11221 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11222 hardcode_direct
=yes # is this really true???
11225 ## LD is ld it makes a PLAMLIB
11226 ## CC just makes a GrossModule.
11227 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11228 reload_cmds
='$CC -r -o $output$reload_objs'
11232 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11233 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11236 runpath_var
='LD_RUN_PATH'
11237 hardcode_shlibpath_var
=no
11241 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11242 hardcode_shlibpath_var
=no
11243 export_dynamic_flag_spec
='-Bexport'
11247 if test -d /usr
/nec
; then
11248 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11249 hardcode_shlibpath_var
=no
11250 runpath_var
=LD_RUN_PATH
11251 hardcode_runpath_var
=yes
11256 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11257 no_undefined_flag
='${wl}-z,text'
11258 archive_cmds_need_lc
=no
11259 hardcode_shlibpath_var
=no
11260 runpath_var
='LD_RUN_PATH'
11262 if test "$GCC" = yes; then
11263 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11266 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11267 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11271 sysv5
* | sco3.2v5
* | sco5v6
*)
11272 # Note: We can NOT use -z defs as we might desire, because we do not
11273 # link with -lc, and that would cause any symbols used from libc to
11274 # always be unresolved, which means just about no library would
11275 # ever link correctly. If we're not using GNU ld we use -z text
11276 # though, which does catch some bad symbols but isn't as heavy-handed
11278 no_undefined_flag
='${wl}-z,text'
11279 allow_undefined_flag
='${wl}-z,nodefs'
11280 archive_cmds_need_lc
=no
11281 hardcode_shlibpath_var
=no
11282 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11283 hardcode_libdir_separator
=':'
11284 link_all_deplibs
=yes
11285 export_dynamic_flag_spec
='${wl}-Bexport'
11286 runpath_var
='LD_RUN_PATH'
11288 if test "$GCC" = yes; then
11289 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11290 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11292 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11293 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11298 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11299 hardcode_libdir_flag_spec
='-L$libdir'
11300 hardcode_shlibpath_var
=no
11308 if test x
$host_vendor = xsni
; then
11310 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11311 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11318 $as_echo "$ld_shlibs" >&6; }
11319 test "$ld_shlibs" = no
&& can_build_shared
=no
11321 with_gnu_ld
=$with_gnu_ld
11338 # Do we need to explicitly link libc?
11340 case "x$archive_cmds_need_lc" in
11342 # Assume -lc should be added
11343 archive_cmds_need_lc
=yes
11345 if test "$enable_shared" = yes && test "$GCC" = yes; then
11346 case $archive_cmds in
11348 # FIXME: we may have to deal with multi-command sequences.
11351 # Test whether the compiler implicitly links with -lc since on some
11352 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11353 # to ld, don't add -lc before -lgcc.
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11355 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11356 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11357 $as_echo_n "(cached) " >&6
11360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11363 (eval $ac_compile) 2>&5
11365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11366 test $ac_status = 0; } 2>conftest.err
; then
11369 libobjs
=conftest.
$ac_objext
11371 wl
=$lt_prog_compiler_wl
11372 pic_flag
=$lt_prog_compiler_pic
11378 lt_save_allow_undefined_flag
=$allow_undefined_flag
11379 allow_undefined_flag
=
11380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11381 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11384 test $ac_status = 0; }
11386 lt_cv_archive_cmds_need_lc
=no
11388 lt_cv_archive_cmds_need_lc
=yes
11390 allow_undefined_flag
=$lt_save_allow_undefined_flag
11392 cat conftest.err
1>&5
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11398 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11399 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11563 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11565 if test "$GCC" = yes; then
11567 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11568 *) lt_awk_arg
="/^libraries:/" ;;
11571 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11572 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11574 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11575 case $lt_search_path_spec in
11577 # if the path contains ";" then we assume it to be the separator
11578 # otherwise default to the standard path separator (i.e. ":") - it is
11579 # assumed that no part of a normal pathname contains ";" but that should
11580 # okay in the real world where ";" in dirpaths is itself problematic.
11581 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11584 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11587 # Ok, now we have the path, separated by spaces, we can step through it
11588 # and add multilib dir if necessary.
11589 lt_tmp_lt_search_path_spec
=
11590 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11591 for lt_sys_path
in $lt_search_path_spec; do
11592 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11593 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11595 test -d "$lt_sys_path" && \
11596 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11599 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11600 BEGIN {RS=" "; FS="/|\n";} {
11603 for (lt_i = NF; lt_i > 0; lt_i--) {
11604 if ($lt_i != "" && $lt_i != ".") {
11605 if ($lt_i == "..") {
11608 if (lt_count == 0) {
11609 lt_foo="/" $lt_i lt_foo;
11616 if (lt_foo != "") { lt_freq[lt_foo]++; }
11617 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11619 # AWK program above erroneously prepends '/' to C:/dos/paths
11622 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11623 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11625 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11627 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11629 library_names_spec
=
11630 libname_spec
='lib$name'
11634 postuninstall_cmds
=
11638 shlibpath_overrides_runpath
=unknown
11640 dynamic_linker
="$host_os ld.so"
11641 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11642 need_lib_prefix
=unknown
11643 hardcode_into_libs
=no
11645 # when you set need_version to no, make sure it does not cause -set_version
11646 # flags to be left without arguments
11647 need_version
=unknown
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11653 shlibpath_var
=LIBPATH
11655 # AIX 3 has no versioning support, so we append a major version to the name.
11656 soname_spec
='${libname}${release}${shared_ext}$major'
11663 hardcode_into_libs
=yes
11664 if test "$host_cpu" = ia64
; then
11665 # AIX 5 supports IA64
11666 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11667 shlibpath_var
=LD_LIBRARY_PATH
11669 # With GCC up to 2.95.x, collect2 would create an import file
11670 # for dependence libraries. The import file would start with
11671 # the line `#! .'. This would cause the generated library to
11672 # depend on `.', always an invalid library. This was fixed in
11673 # development snapshots of GCC prior to 3.0.
11675 aix4 | aix4.
[01] | aix4.
[01].
*)
11676 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11678 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11681 can_build_shared
=no
11685 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11686 # soname into executable. Probably we can add versioning support to
11687 # collect2, so additional links can be useful in future.
11688 if test "$aix_use_runtimelinking" = yes; then
11689 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11690 # instead of lib<name>.a to let people know that these are not
11691 # typical AIX shared libraries.
11692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694 # We preserve .a as extension for shared libraries through AIX4.2
11695 # and later when we are not doing run time linking.
11696 library_names_spec
='${libname}${release}.a $libname.a'
11697 soname_spec
='${libname}${release}${shared_ext}$major'
11699 shlibpath_var
=LIBPATH
11706 # Since July 2007 AmigaOS4 officially supports .so libraries.
11707 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 library_names_spec
='$libname.ixlibrary $libname.a'
11712 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11713 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'
11719 library_names_spec
='${libname}${shared_ext}'
11720 dynamic_linker
="$host_os ld.so"
11721 shlibpath_var
=LIBRARY_PATH
11727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 soname_spec
='${libname}${release}${shared_ext}$major'
11729 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11730 shlibpath_var
=LD_LIBRARY_PATH
11731 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11732 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11733 # the default ld.so.conf also contains /usr/contrib/lib and
11734 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11735 # libtool to hard-code these into programs
11738 cygwin
* | mingw
* | pw32
* | cegcc
*)
11739 version_type
=windows
11744 case $GCC,$host_os in
11745 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11746 library_names_spec
='$libname.dll.a'
11747 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11748 postinstall_cmds
='base_file=`basename \${file}`~
11749 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11750 dldir=$destdir/`dirname \$dlpath`~
11751 test -d \$dldir || mkdir -p \$dldir~
11752 $install_prog $dir/$dlname \$dldir/$dlname~
11753 chmod a+x \$dldir/$dlname~
11754 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11755 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11757 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11758 dlpath=$dir/\$dldll~
11760 shlibpath_overrides_runpath
=yes
11764 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11765 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11767 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11770 # MinGW DLLs use traditional 'lib' prefix
11771 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11774 # pw32 DLLs use 'pw' prefix rather than 'lib'
11775 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11781 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11784 dynamic_linker
='Win32 ld.exe'
11785 # FIXME: first we should search . and the directory the executable is in
11789 darwin
* | rhapsody
*)
11790 dynamic_linker
="$host_os dyld"
11791 version_type
=darwin
11794 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11795 soname_spec
='${libname}${release}${major}$shared_ext'
11796 shlibpath_overrides_runpath
=yes
11797 shlibpath_var
=DYLD_LIBRARY_PATH
11798 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11800 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11801 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11809 soname_spec
='${libname}${release}${shared_ext}$major'
11810 shlibpath_var
=LD_LIBRARY_PATH
11813 freebsd
* | dragonfly
*)
11814 # DragonFly does not have aout. When/if they implement a new
11815 # versioning mechanism, adjust this.
11816 if test -x /usr
/bin
/objformat
; then
11817 objformat
=`/usr/bin/objformat`
11820 freebsd
[23].
*) objformat
=aout
;;
11821 *) objformat
=elf
;;
11824 version_type
=freebsd-
$objformat
11825 case $version_type in
11827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11832 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11836 shlibpath_var
=LD_LIBRARY_PATH
11839 shlibpath_overrides_runpath
=yes
11841 freebsd3.
[01]* | freebsdelf3.
[01]*)
11842 shlibpath_overrides_runpath
=yes
11843 hardcode_into_libs
=yes
11845 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11846 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11847 shlibpath_overrides_runpath
=no
11848 hardcode_into_libs
=yes
11850 *) # from 4.6 on, and DragonFly
11851 shlibpath_overrides_runpath
=yes
11852 hardcode_into_libs
=yes
11861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11862 soname_spec
='${libname}${release}${shared_ext}$major'
11863 shlibpath_var
=LD_LIBRARY_PATH
11864 hardcode_into_libs
=yes
11871 dynamic_linker
="$host_os runtime_loader"
11872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11873 soname_spec
='${libname}${release}${shared_ext}$major'
11874 shlibpath_var
=LIBRARY_PATH
11875 shlibpath_overrides_runpath
=yes
11876 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11877 hardcode_into_libs
=yes
11880 hpux9
* | hpux10
* | hpux11
*)
11881 # Give a soname corresponding to the major version so that dld.sl refuses to
11882 # link against other versions.
11889 hardcode_into_libs
=yes
11890 dynamic_linker
="$host_os dld.so"
11891 shlibpath_var
=LD_LIBRARY_PATH
11892 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11894 soname_spec
='${libname}${release}${shared_ext}$major'
11895 if test "X$HPUX_IA64_MODE" = X32
; then
11896 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11898 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11900 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11904 hardcode_into_libs
=yes
11905 dynamic_linker
="$host_os dld.sl"
11906 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11907 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11909 soname_spec
='${libname}${release}${shared_ext}$major'
11910 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11911 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11915 dynamic_linker
="$host_os dld.sl"
11916 shlibpath_var
=SHLIB_PATH
11917 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11919 soname_spec
='${libname}${release}${shared_ext}$major'
11922 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11923 postinstall_cmds
='chmod 555 $lib'
11924 # or fails outright, so override atomically:
11925 install_override_mode
=555
11932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11933 soname_spec
='${libname}${release}${shared_ext}$major'
11934 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11935 shlibpath_var
=LD_LIBRARY_PATH
11936 shlibpath_overrides_runpath
=no
11937 hardcode_into_libs
=yes
11940 irix5
* | irix6
* | nonstopux
*)
11942 nonstopux
*) version_type
=nonstopux
;;
11944 if test "$lt_cv_prog_gnu_ld" = yes; then
11952 soname_spec
='${libname}${release}${shared_ext}$major'
11953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11955 irix5
* | nonstopux
*)
11956 libsuff
= shlibsuff
=
11959 case $LD in # libtool.m4 will add one of these switches to LD
11960 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11961 libsuff
= shlibsuff
= libmagic
=32-bit;;
11962 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11963 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11964 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11965 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11966 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11970 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11971 shlibpath_overrides_runpath
=no
11972 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11973 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11974 hardcode_into_libs
=yes
11977 # No shared lib support for Linux oldld, aout, or coff.
11978 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11982 # This must be Linux ELF.
11984 # uclinux* changes (here and below) have been submitted to the libtool
11985 # project, but have not yet been accepted: they are GCC-local changes
11986 # for the time being. (See
11987 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11988 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
11992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11993 soname_spec
='${libname}${release}${shared_ext}$major'
11994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11995 shlibpath_var
=LD_LIBRARY_PATH
11996 shlibpath_overrides_runpath
=no
11998 # Some binutils ld are patched to set DT_RUNPATH
11999 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12000 $as_echo_n "(cached) " >&6
12002 lt_cv_shlibpath_overrides_runpath
=no
12003 save_LDFLAGS
=$LDFLAGS
12004 save_libdir
=$libdir
12005 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12006 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12007 if test x
$gcc_no_link = xyes
; then
12008 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12021 if ac_fn_c_try_link
"$LINENO"; then :
12022 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12023 lt_cv_shlibpath_overrides_runpath
=yes
12026 rm -f core conftest.err conftest.
$ac_objext \
12027 conftest
$ac_exeext conftest.
$ac_ext
12028 LDFLAGS
=$save_LDFLAGS
12029 libdir
=$save_libdir
12033 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12035 # This implies no fast_install, which is unacceptable.
12036 # Some rework will be needed to allow for fast_install
12037 # before this can be enabled.
12038 hardcode_into_libs
=yes
12040 # Append ld.so.conf contents to the search path
12041 if test -f /etc
/ld.so.conf
; then
12042 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' ' '`
12043 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12046 # We used to test for /lib/ld.so.1 and disable shared libraries on
12047 # powerpc, because MkLinux only supported shared libraries with the
12048 # GNU dynamic linker. Since this was broken with cross compilers,
12049 # most powerpc-linux boxes support dynamic linking these days and
12050 # people can always --disable-shared, the test was removed, and we
12051 # assume the GNU/Linux dynamic linker is in use.
12052 dynamic_linker
='GNU/Linux ld.so'
12059 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12061 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12062 dynamic_linker
='NetBSD (a.out) ld.so'
12064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12065 soname_spec
='${libname}${release}${shared_ext}$major'
12066 dynamic_linker
='NetBSD ld.elf_so'
12068 shlibpath_var
=LD_LIBRARY_PATH
12069 shlibpath_overrides_runpath
=yes
12070 hardcode_into_libs
=yes
12075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12076 shlibpath_var
=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath
=yes
12084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12085 soname_spec
='${libname}${release}${shared_ext}$major'
12086 shlibpath_var
=LD_LIBRARY_PATH
12087 shlibpath_overrides_runpath
=no
12088 hardcode_into_libs
=yes
12089 dynamic_linker
='ldqnx.so'
12094 sys_lib_dlsearch_path_spec
="/usr/lib"
12096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12098 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12099 *) need_version
=no
;;
12101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12106 openbsd2.
[89] | openbsd2.
[89].
*)
12107 shlibpath_overrides_runpath
=no
12110 shlibpath_overrides_runpath
=yes
12114 shlibpath_overrides_runpath
=yes
12119 libname_spec
='$name'
12122 library_names_spec
='$libname${shared_ext} $libname.a'
12123 dynamic_linker
='OS/2 ld.exe'
12124 shlibpath_var
=LIBPATH
12127 osf3
* | osf4
* | osf5
*)
12131 soname_spec
='${libname}${release}${shared_ext}$major'
12132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12133 shlibpath_var
=LD_LIBRARY_PATH
12134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12147 soname_spec
='${libname}${release}${shared_ext}$major'
12148 shlibpath_var
=LD_LIBRARY_PATH
12149 shlibpath_overrides_runpath
=yes
12150 hardcode_into_libs
=yes
12151 # ldd complains unless libraries are executable
12152 postinstall_cmds
='chmod +x $lib'
12157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12158 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12159 shlibpath_var
=LD_LIBRARY_PATH
12160 shlibpath_overrides_runpath
=yes
12161 if test "$with_gnu_ld" = yes; then
12169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12170 soname_spec
='${libname}${release}${shared_ext}$major'
12171 shlibpath_var
=LD_LIBRARY_PATH
12172 case $host_vendor in
12174 shlibpath_overrides_runpath
=no
12176 runpath_var
=LD_RUN_PATH
12184 shlibpath_overrides_runpath
=no
12185 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12191 if test -d /usr
/nec
;then
12193 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12194 soname_spec
='$libname${shared_ext}.$major'
12195 shlibpath_var
=LD_LIBRARY_PATH
12199 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12200 version_type
=freebsd-elf
12203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12204 soname_spec
='${libname}${release}${shared_ext}$major'
12205 shlibpath_var
=LD_LIBRARY_PATH
12206 shlibpath_overrides_runpath
=yes
12207 hardcode_into_libs
=yes
12208 if test "$with_gnu_ld" = yes; then
12209 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12211 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12214 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12218 sys_lib_dlsearch_path_spec
='/usr/lib'
12222 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12227 shlibpath_var
=LD_LIBRARY_PATH
12228 shlibpath_overrides_runpath
=no
12229 hardcode_into_libs
=yes
12234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12235 soname_spec
='${libname}${release}${shared_ext}$major'
12236 shlibpath_var
=LD_LIBRARY_PATH
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12244 $as_echo "$dynamic_linker" >&6; }
12245 test "$dynamic_linker" = no
&& can_build_shared
=no
12247 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12248 if test "$GCC" = yes; then
12249 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12252 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12253 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12255 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12256 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12351 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12353 if test -n "$hardcode_libdir_flag_spec" ||
12354 test -n "$runpath_var" ||
12355 test "X$hardcode_automatic" = "Xyes" ; then
12357 # We can hardcode non-existent directories.
12358 if test "$hardcode_direct" != no
&&
12359 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12360 # have to relink, otherwise we might link with an installed library
12361 # when we should be linking with a yet-to-be-installed one
12362 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12363 test "$hardcode_minus_L" != no
; then
12364 # Linking always hardcodes the temporary library directory.
12365 hardcode_action
=relink
12367 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12368 hardcode_action
=immediate
12371 # We cannot hardcode anything, or else we can only hardcode existing
12373 hardcode_action
=unsupported
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12376 $as_echo "$hardcode_action" >&6; }
12378 if test "$hardcode_action" = relink ||
12379 test "$inherit_rpath" = yes; then
12380 # Fast installation is not supported
12381 enable_fast_install
=no
12382 elif test "$shlibpath_overrides_runpath" = yes ||
12383 test "$enable_shared" = no
; then
12384 # Fast installation is not necessary
12385 enable_fast_install
=needless
12393 if test "x$enable_dlopen" != xyes
; then
12394 enable_dlopen
=unknown
12395 enable_dlopen_self
=unknown
12396 enable_dlopen_self_static
=unknown
12403 lt_cv_dlopen
="load_add_on"
12405 lt_cv_dlopen_self
=yes
12408 mingw
* | pw32
* | cegcc
*)
12409 lt_cv_dlopen
="LoadLibrary"
12414 lt_cv_dlopen
="dlopen"
12419 # if libdl is installed we need to link against it
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12422 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12423 $as_echo_n "(cached) " >&6
12425 ac_check_lib_save_LIBS
=$LIBS
12427 if test x
$gcc_no_link = xyes
; then
12428 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12448 if ac_fn_c_try_link
"$LINENO"; then :
12449 ac_cv_lib_dl_dlopen
=yes
12451 ac_cv_lib_dl_dlopen
=no
12453 rm -f core conftest.err conftest.
$ac_objext \
12454 conftest
$ac_exeext conftest.
$ac_ext
12455 LIBS
=$ac_check_lib_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12458 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12459 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12460 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12463 lt_cv_dlopen
="dyld"
12465 lt_cv_dlopen_self
=yes
12472 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12473 if test "x$ac_cv_func_shl_load" = xyes
; then :
12474 lt_cv_dlopen
="shl_load"
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12477 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12478 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 ac_check_lib_save_LIBS
=$LIBS
12483 if test x
$gcc_no_link = xyes
; then
12484 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12499 return shl_load ();
12504 if ac_fn_c_try_link
"$LINENO"; then :
12505 ac_cv_lib_dld_shl_load
=yes
12507 ac_cv_lib_dld_shl_load
=no
12509 rm -f core conftest.err conftest.
$ac_objext \
12510 conftest
$ac_exeext conftest.
$ac_ext
12511 LIBS
=$ac_check_lib_save_LIBS
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12514 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12515 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12516 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12518 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12519 if test "x$ac_cv_func_dlopen" = xyes
; then :
12520 lt_cv_dlopen
="dlopen"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12523 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12524 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_lib_save_LIBS
=$LIBS
12529 if test x
$gcc_no_link = xyes
; then
12530 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12550 if ac_fn_c_try_link
"$LINENO"; then :
12551 ac_cv_lib_dl_dlopen
=yes
12553 ac_cv_lib_dl_dlopen
=no
12555 rm -f core conftest.err conftest.
$ac_objext \
12556 conftest
$ac_exeext conftest.
$ac_ext
12557 LIBS
=$ac_check_lib_save_LIBS
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12560 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12561 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12562 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12565 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12566 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12567 $as_echo_n "(cached) " >&6
12569 ac_check_lib_save_LIBS
=$LIBS
12570 LIBS
="-lsvld $LIBS"
12571 if test x
$gcc_no_link = xyes
; then
12572 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12592 if ac_fn_c_try_link
"$LINENO"; then :
12593 ac_cv_lib_svld_dlopen
=yes
12595 ac_cv_lib_svld_dlopen
=no
12597 rm -f core conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12599 LIBS
=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12602 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12603 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12604 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12607 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12608 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12609 $as_echo_n "(cached) " >&6
12611 ac_check_lib_save_LIBS
=$LIBS
12613 if test x
$gcc_no_link = xyes
; then
12614 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12629 return dld_link ();
12634 if ac_fn_c_try_link
"$LINENO"; then :
12635 ac_cv_lib_dld_dld_link
=yes
12637 ac_cv_lib_dld_dld_link
=no
12639 rm -f core conftest.err conftest.
$ac_objext \
12640 conftest
$ac_exeext conftest.
$ac_ext
12641 LIBS
=$ac_check_lib_save_LIBS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12644 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12645 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12646 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12667 if test "x$lt_cv_dlopen" != xno
; then
12673 case $lt_cv_dlopen in
12675 save_CPPFLAGS
="$CPPFLAGS"
12676 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12678 save_LDFLAGS
="$LDFLAGS"
12679 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12682 LIBS
="$lt_cv_dlopen_libs $LIBS"
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12685 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12686 if ${lt_cv_dlopen_self+:} false
; then :
12687 $as_echo_n "(cached) " >&6
12689 if test "$cross_compiling" = yes; then :
12690 lt_cv_dlopen_self
=cross
12692 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12693 lt_status
=$lt_dlunknown
12694 cat > conftest.
$ac_ext <<_LT_EOF
12695 #line 12695 "configure"
12696 #include "confdefs.h"
12705 # define LT_DLGLOBAL RTLD_GLOBAL
12708 # define LT_DLGLOBAL DL_GLOBAL
12710 # define LT_DLGLOBAL 0
12714 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12715 find out it does not work in some platform. */
12716 #ifndef LT_DLLAZY_OR_NOW
12718 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12721 # define LT_DLLAZY_OR_NOW DL_LAZY
12724 # define LT_DLLAZY_OR_NOW RTLD_NOW
12727 # define LT_DLLAZY_OR_NOW DL_NOW
12729 # define LT_DLLAZY_OR_NOW 0
12736 /* When -fvisbility=hidden is used, assume the code has been annotated
12737 correspondingly for the symbols needed. */
12738 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12739 void fnord () __attribute__((visibility("default")));
12742 void fnord () { int i=42; }
12745 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12746 int status = $lt_dlunknown;
12750 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12753 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12754 else puts (dlerror ());
12756 /* dlclose (self); */
12764 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12765 (eval $ac_link) 2>&5
12767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12768 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12769 (.
/conftest
; exit; ) >&5 2>/dev
/null
12771 case x
$lt_status in
12772 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12773 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12774 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12777 # compilation failed
12778 lt_cv_dlopen_self
=no
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12786 $as_echo "$lt_cv_dlopen_self" >&6; }
12788 if test "x$lt_cv_dlopen_self" = xyes
; then
12789 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12791 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12792 if ${lt_cv_dlopen_self_static+:} false
; then :
12793 $as_echo_n "(cached) " >&6
12795 if test "$cross_compiling" = yes; then :
12796 lt_cv_dlopen_self_static
=cross
12798 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12799 lt_status
=$lt_dlunknown
12800 cat > conftest.
$ac_ext <<_LT_EOF
12801 #line 12801 "configure"
12802 #include "confdefs.h"
12811 # define LT_DLGLOBAL RTLD_GLOBAL
12814 # define LT_DLGLOBAL DL_GLOBAL
12816 # define LT_DLGLOBAL 0
12820 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12821 find out it does not work in some platform. */
12822 #ifndef LT_DLLAZY_OR_NOW
12824 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12827 # define LT_DLLAZY_OR_NOW DL_LAZY
12830 # define LT_DLLAZY_OR_NOW RTLD_NOW
12833 # define LT_DLLAZY_OR_NOW DL_NOW
12835 # define LT_DLLAZY_OR_NOW 0
12842 /* When -fvisbility=hidden is used, assume the code has been annotated
12843 correspondingly for the symbols needed. */
12844 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12845 void fnord () __attribute__((visibility("default")));
12848 void fnord () { int i=42; }
12851 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12852 int status = $lt_dlunknown;
12856 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12859 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12860 else puts (dlerror ());
12862 /* dlclose (self); */
12870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12871 (eval $ac_link) 2>&5
12873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12874 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12875 (.
/conftest
; exit; ) >&5 2>/dev
/null
12877 case x
$lt_status in
12878 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12879 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12880 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12883 # compilation failed
12884 lt_cv_dlopen_self_static
=no
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12892 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12895 CPPFLAGS
="$save_CPPFLAGS"
12896 LDFLAGS
="$save_LDFLAGS"
12901 case $lt_cv_dlopen_self in
12902 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12903 *) enable_dlopen_self
=unknown
;;
12906 case $lt_cv_dlopen_self_static in
12907 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12908 *) enable_dlopen_self_static
=unknown
;;
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12931 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12932 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12933 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12934 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12936 $as_echo "yes" >&6; }
12938 # FIXME - insert some real tests, host_os isn't really good enough
12941 if test -n "$STRIP" ; then
12942 striplib
="$STRIP -x"
12943 old_striplib
="$STRIP -S"
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12945 $as_echo "yes" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12953 $as_echo "no" >&6; }
12969 # Report which library types will actually be built
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12971 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12973 $as_echo "$can_build_shared" >&6; }
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12976 $as_echo_n "checking whether to build shared libraries... " >&6; }
12977 test "$can_build_shared" = "no" && enable_shared
=no
12979 # On AIX, shared libraries and static libraries use the same namespace, and
12980 # are all built from PIC.
12983 test "$enable_shared" = yes && enable_static
=no
12984 if test -n "$RANLIB"; then
12985 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12986 postinstall_cmds
='$RANLIB $lib'
12991 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12992 test "$enable_shared" = yes && enable_static
=no
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12997 $as_echo "$enable_shared" >&6; }
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13000 $as_echo_n "checking whether to build static libraries... " >&6; }
13001 # Make sure either enable_shared or enable_static is yes.
13002 test "$enable_shared" = yes || enable_static
=yes
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13004 $as_echo "$enable_static" >&6; }
13011 ac_cpp
='$CPP $CPPFLAGS'
13012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13030 ac_config_commands
="$ac_config_commands libtool"
13035 # Only expand once:
13042 *-cygwin* |
*-mingw*)
13043 # 'host' will be top-level target in the case of a target lib,
13044 # we must compare to with_cross_host to decide if this is a native
13045 # or cross-compiler and select where to install dlls appropriately.
13046 if test -n "$with_cross_host" &&
13047 test x
"$with_cross_host" != x
"no"; then
13048 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13050 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13062 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13064 # We need gfortran to compile parts of the library
13065 #AC_PROG_FC(gfortran)
13067 ac_ext
=${ac_fc_srcext-f}
13068 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13069 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13071 if test -n "$ac_tool_prefix"; then
13072 for ac_prog
in gfortran
13074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13075 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13077 $as_echo_n "checking for $ac_word... " >&6; }
13078 if ${ac_cv_prog_FC+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 if test -n "$FC"; then
13082 ac_cv_prog_FC
="$FC" # Let the user override the test.
13084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13085 for as_dir
in $PATH
13088 test -z "$as_dir" && as_dir
=.
13089 for ac_exec_ext
in '' $ac_executable_extensions; do
13090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13091 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13102 if test -n "$FC"; then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13104 $as_echo "$FC" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13107 $as_echo "no" >&6; }
13111 test -n "$FC" && break
13114 if test -z "$FC"; then
13116 for ac_prog
in gfortran
13118 # Extract the first word of "$ac_prog", so it can be a program name with args.
13119 set dummy
$ac_prog; ac_word
=$2
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13121 $as_echo_n "checking for $ac_word... " >&6; }
13122 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13123 $as_echo_n "(cached) " >&6
13125 if test -n "$ac_ct_FC"; then
13126 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13129 for as_dir
in $PATH
13132 test -z "$as_dir" && as_dir
=.
13133 for ac_exec_ext
in '' $ac_executable_extensions; do
13134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13135 ac_cv_prog_ac_ct_FC
="$ac_prog"
13136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13145 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13146 if test -n "$ac_ct_FC"; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13148 $as_echo "$ac_ct_FC" >&6; }
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13151 $as_echo "no" >&6; }
13155 test -n "$ac_ct_FC" && break
13158 if test "x$ac_ct_FC" = x
; then
13161 case $cross_compiling:$ac_tool_warned in
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13165 ac_tool_warned
=yes ;;
13172 # Provide some information about the compiler.
13173 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13176 for ac_option
in --version -v -V -qversion; do
13177 { { ac_try
="$ac_compiler $ac_option >&5"
13178 case "(($ac_try" in
13179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13180 *) ac_try_echo=$ac_try;;
13182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13183 $as_echo "$ac_try_echo"; } >&5
13184 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13186 if test -s conftest.err; then
13188 ... rest of stderr output deleted ...
13189 10q' conftest.err >conftest.er1
13190 cat conftest.er1 >&5
13192 rm -f conftest.er1 conftest.err
13193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13194 test $ac_status = 0; }
13198 # If we don't use `.F
' as extension, the preprocessor is not run on the
13199 # input file. (Note that this only needs to work for GNU compilers.)
13200 ac_save_ext=$ac_ext
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13203 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13204 if ${ac_cv_fc_compiler_gnu+:} false; then :
13205 $as_echo_n "(cached) " >&6
13207 cat > conftest.$ac_ext <<_ACEOF
13215 if ac_fn_fc_try_compile "$LINENO"; then :
13216 ac_compiler_gnu=yes
13220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13221 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13225 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13226 ac_ext=$ac_save_ext
13227 ac_test_FCFLAGS=${FCFLAGS+set}
13228 ac_save_FCFLAGS=$FCFLAGS
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13231 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13232 if ${ac_cv_prog_fc_g+:} false; then :
13233 $as_echo_n "(cached) " >&6
13236 cat > conftest.$ac_ext <<_ACEOF
13241 if ac_fn_fc_try_compile "$LINENO"; then :
13242 ac_cv_prog_fc_g=yes
13246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13250 $as_echo "$ac_cv_prog_fc_g" >&6; }
13251 if test "$ac_test_FCFLAGS" = set; then
13252 FCFLAGS=$ac_save_FCFLAGS
13253 elif test $ac_cv_prog_fc_g = yes; then
13254 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13260 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13267 if test $ac_compiler_gnu = yes; then
13273 ac_cpp='$CPP $CPPFLAGS'
13274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13275 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13278 ac_ext=${ac_fc_srcext-f}
13279 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13280 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13281 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13284 if test -z "$FC" || test "X$FC" = "Xno"; then
13288 archive_cmds_need_lc_FC=no
13289 allow_undefined_flag_FC=
13290 always_export_symbols_FC=no
13291 archive_expsym_cmds_FC=
13292 export_dynamic_flag_spec_FC=
13293 hardcode_direct_FC=no
13294 hardcode_direct_absolute_FC=no
13295 hardcode_libdir_flag_spec_FC=
13296 hardcode_libdir_flag_spec_ld_FC=
13297 hardcode_libdir_separator_FC=
13298 hardcode_minus_L_FC=no
13299 hardcode_automatic_FC=no
13300 inherit_rpath_FC=no
13302 module_expsym_cmds_FC=
13303 link_all_deplibs_FC=unknown
13304 old_archive_cmds_FC=$old_archive_cmds
13305 reload_flag_FC=$reload_flag
13306 reload_cmds_FC=$reload_cmds
13307 no_undefined_flag_FC=
13308 whole_archive_flag_spec_FC=
13309 enable_shared_with_static_runtimes_FC=no
13311 # Source file extension for fc test sources.
13312 ac_ext=${ac_fc_srcext-f}
13314 # Object file extension for compiled fc test sources.
13318 # No sense in running all these tests if we already determined that
13319 # the FC compiler isn't working. Some variables
(like enable_shared
)
13320 # are currently assumed to apply to all compilers on this platform,
13321 # and will be corrupted by setting them based on a non-working compiler.
13322 if test "$_lt_disable_FC" != yes; then
13323 # Code to be used in simple compile tests
13324 lt_simple_compile_test_code
="\
13330 # Code to be used in simple link tests
13331 lt_simple_link_test_code
="\
13336 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13343 # If no C compiler was specified, use CC.
13346 # If no C compiler flags were specified, use CFLAGS.
13347 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13349 # Allow CC to be a program name with arguments.
13353 # save warnings/boilerplate of simple test code
13354 ac_outfile
=conftest.
$ac_objext
13355 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13356 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13357 _lt_compiler_boilerplate
=`cat conftest.err`
13360 ac_outfile
=conftest.
$ac_objext
13361 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13362 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13363 _lt_linker_boilerplate
=`cat conftest.err`
13367 # Allow CC to be a program name with arguments.
13372 GCC
=$ac_cv_fc_compiler_gnu
13375 for cc_temp
in $compiler""; do
13377 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13378 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13383 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13386 if test -n "$compiler"; then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13388 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13390 $as_echo "$can_build_shared" >&6; }
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13393 $as_echo_n "checking whether to build shared libraries... " >&6; }
13394 test "$can_build_shared" = "no" && enable_shared
=no
13396 # On AIX, shared libraries and static libraries use the same namespace, and
13397 # are all built from PIC.
13400 test "$enable_shared" = yes && enable_static
=no
13401 if test -n "$RANLIB"; then
13402 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13403 postinstall_cmds
='$RANLIB $lib'
13407 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13408 test "$enable_shared" = yes && enable_static
=no
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13413 $as_echo "$enable_shared" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13416 $as_echo_n "checking whether to build static libraries... " >&6; }
13417 # Make sure either enable_shared or enable_static is yes.
13418 test "$enable_shared" = yes || enable_static
=yes
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13420 $as_echo "$enable_static" >&6; }
13422 GCC_FC
="$ac_cv_fc_compiler_gnu"
13426 ## There is no encapsulation within the following macros, do not change
13427 ## the running order or otherwise move them around unless you know exactly
13428 ## what you are doing...
13429 # Dependencies to place before and after the object being linked:
13431 postdep_objects_FC
=
13434 compiler_lib_search_path_FC
=
13436 cat > conftest.
$ac_ext <<_LT_EOF
13445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13446 (eval $ac_compile) 2>&5
13448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13449 test $ac_status = 0; }; then
13450 # Parse the compiler output and extract the necessary
13451 # objects, libraries and library flags.
13453 # Sentinel used to keep track of whether or not we are before
13454 # the conftest object file.
13455 pre_test_object_deps_done
=no
13457 for p
in `eval "$output_verbose_link_cmd"`; do
13461 # Some compilers place space between "-{L,R}" and the path.
13462 # Remove the space.
13463 if test $p = "-L" ||
13464 test $p = "-R"; then
13471 if test "$pre_test_object_deps_done" = no
; then
13474 # Internal compiler library paths should come after those
13475 # provided the user. The postdeps already come after the
13476 # user supplied libs so there is no need to process them.
13477 if test -z "$compiler_lib_search_path_FC"; then
13478 compiler_lib_search_path_FC
="${prev}${p}"
13480 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13483 # The "-l" case would never come before the object being
13484 # linked, so don't bother handling this case.
13487 if test -z "$postdeps_FC"; then
13488 postdeps_FC
="${prev}${p}"
13490 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13496 # This assumes that the test object file only shows up
13497 # once in the compiler output.
13498 if test "$p" = "conftest.$objext"; then
13499 pre_test_object_deps_done
=yes
13503 if test "$pre_test_object_deps_done" = no
; then
13504 if test -z "$predep_objects_FC"; then
13505 predep_objects_FC
="$p"
13507 predep_objects_FC
="$predep_objects_FC $p"
13510 if test -z "$postdep_objects_FC"; then
13511 postdep_objects_FC
="$p"
13513 postdep_objects_FC
="$postdep_objects_FC $p"
13518 *) ;; # Ignore the rest.
13526 echo "libtool.m4: error: problem compiling FC test program"
13529 $RM -f confest.
$objext
13531 # PORTME: override above test on systems where it is broken
13534 case " $postdeps_FC " in
13535 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13537 compiler_lib_search_dirs_FC
=
13538 if test -n "${compiler_lib_search_path_FC}"; then
13539 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13572 lt_prog_compiler_wl_FC
=
13573 lt_prog_compiler_pic_FC
=
13574 lt_prog_compiler_static_FC
=
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13577 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13579 if test "$GCC" = yes; then
13580 lt_prog_compiler_wl_FC
='-Wl,'
13581 lt_prog_compiler_static_FC
='-static'
13585 # All AIX code is PIC.
13586 if test "$host_cpu" = ia64
; then
13587 # AIX 5 now supports IA64 processor
13588 lt_prog_compiler_static_FC
='-Bstatic'
13590 lt_prog_compiler_pic_FC
='-fPIC'
13596 # see comment about AmigaOS4 .so support
13597 lt_prog_compiler_pic_FC
='-fPIC'
13600 # FIXME: we need at least 68020 code to build shared libraries, but
13601 # adding the `-m68020' flag to GCC prevents building anything better,
13603 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13608 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13609 # PIC is the default for these OSes.
13612 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13613 # This hack is so that the source file can tell whether it is being
13614 # built for inclusion in a dll (and should export symbols for example).
13615 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13616 # (--disable-auto-import) libraries
13617 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13620 darwin
* | rhapsody
*)
13621 # PIC is the default on this platform
13622 # Common symbols not allowed in MH_DYLIB files
13623 lt_prog_compiler_pic_FC
='-fno-common'
13627 # PIC is the default for Haiku.
13628 # The "-static" flag exists, but is broken.
13629 lt_prog_compiler_static_FC
=
13633 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13634 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13635 # sets the default TLS model and affects inlining.
13641 lt_prog_compiler_pic_FC
='-fPIC'
13647 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13648 # Instead, we relocate shared libraries at runtime.
13652 # Just because we use GCC doesn't mean we suddenly get shared libraries
13653 # on systems that don't support them.
13654 lt_prog_compiler_can_build_shared_FC
=no
13659 # QNX uses GNU C++, but need to define -shared option too, otherwise
13660 # it will coredump.
13661 lt_prog_compiler_pic_FC
='-fPIC -shared'
13665 if test -d /usr
/nec
; then
13666 lt_prog_compiler_pic_FC
=-Kconform_pic
13671 lt_prog_compiler_pic_FC
='-fPIC'
13675 case $cc_basename in
13676 nvcc
*) # Cuda Compiler Driver 2.2
13677 lt_prog_compiler_wl_FC
='-Xlinker '
13678 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13682 # PORTME Check for flag to pass linker flags through the system compiler.
13685 lt_prog_compiler_wl_FC
='-Wl,'
13686 if test "$host_cpu" = ia64
; then
13687 # AIX 5 now supports IA64 processor
13688 lt_prog_compiler_static_FC
='-Bstatic'
13690 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13694 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13695 # This hack is so that the source file can tell whether it is being
13696 # built for inclusion in a dll (and should export symbols for example).
13697 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13700 hpux9
* | hpux10
* | hpux11
*)
13701 lt_prog_compiler_wl_FC
='-Wl,'
13702 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13703 # not for PA HP-UX.
13709 lt_prog_compiler_pic_FC
='+Z'
13712 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13713 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13716 irix5
* | irix6
* | nonstopux
*)
13717 lt_prog_compiler_wl_FC
='-Wl,'
13718 # PIC (with -KPIC) is the default.
13719 lt_prog_compiler_static_FC
='-non_shared'
13722 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13723 case $cc_basename in
13724 # old Intel for x86_64 which still supported -KPIC.
13726 lt_prog_compiler_wl_FC
='-Wl,'
13727 lt_prog_compiler_pic_FC
='-KPIC'
13728 lt_prog_compiler_static_FC
='-static'
13730 # icc used to be incompatible with GCC.
13731 # ICC 10 doesn't accept -KPIC any more.
13733 lt_prog_compiler_wl_FC
='-Wl,'
13734 lt_prog_compiler_pic_FC
='-fPIC'
13735 lt_prog_compiler_static_FC
='-static'
13737 # Lahey Fortran 8.1.
13739 lt_prog_compiler_wl_FC
='-Wl,'
13740 lt_prog_compiler_pic_FC
='--shared'
13741 lt_prog_compiler_static_FC
='--static'
13743 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13744 # Portland Group compilers (*not* the Pentium gcc compiler,
13745 # which looks to be a dead project)
13746 lt_prog_compiler_wl_FC
='-Wl,'
13747 lt_prog_compiler_pic_FC
='-fpic'
13748 lt_prog_compiler_static_FC
='-Bstatic'
13751 lt_prog_compiler_wl_FC
='-Wl,'
13752 # All Alpha code is PIC.
13753 lt_prog_compiler_static_FC
='-non_shared'
13755 xl
* | bgxl
* | bgf
* | mpixl
*)
13756 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13757 lt_prog_compiler_wl_FC
='-Wl,'
13758 lt_prog_compiler_pic_FC
='-qpic'
13759 lt_prog_compiler_static_FC
='-qstaticlink'
13762 case `$CC -V 2>&1 | sed 5q` in
13763 *Sun\ F
* |
*Sun
*Fortran
*)
13764 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13765 lt_prog_compiler_pic_FC
='-KPIC'
13766 lt_prog_compiler_static_FC
='-Bstatic'
13767 lt_prog_compiler_wl_FC
=''
13771 lt_prog_compiler_pic_FC
='-KPIC'
13772 lt_prog_compiler_static_FC
='-Bstatic'
13773 lt_prog_compiler_wl_FC
='-Wl,'
13781 lt_prog_compiler_pic_FC
='-KPIC'
13782 lt_prog_compiler_static_FC
='-Bstatic'
13786 # QNX uses GNU C++, but need to define -shared option too, otherwise
13787 # it will coredump.
13788 lt_prog_compiler_pic_FC
='-fPIC -shared'
13791 osf3
* | osf4
* | osf5
*)
13792 lt_prog_compiler_wl_FC
='-Wl,'
13793 # All OSF/1 code is PIC.
13794 lt_prog_compiler_static_FC
='-non_shared'
13798 lt_prog_compiler_static_FC
='-non_shared'
13802 lt_prog_compiler_pic_FC
='-KPIC'
13803 lt_prog_compiler_static_FC
='-Bstatic'
13804 case $cc_basename in
13805 f77
* | f90
* | f95
*)
13806 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13808 lt_prog_compiler_wl_FC
='-Wl,';;
13813 lt_prog_compiler_wl_FC
='-Qoption ld '
13814 lt_prog_compiler_pic_FC
='-PIC'
13815 lt_prog_compiler_static_FC
='-Bstatic'
13818 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13819 lt_prog_compiler_wl_FC
='-Wl,'
13820 lt_prog_compiler_pic_FC
='-KPIC'
13821 lt_prog_compiler_static_FC
='-Bstatic'
13825 if test -d /usr
/nec
;then
13826 lt_prog_compiler_pic_FC
='-Kconform_pic'
13827 lt_prog_compiler_static_FC
='-Bstatic'
13831 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13832 lt_prog_compiler_wl_FC
='-Wl,'
13833 lt_prog_compiler_pic_FC
='-KPIC'
13834 lt_prog_compiler_static_FC
='-Bstatic'
13838 lt_prog_compiler_wl_FC
='-Wl,'
13839 lt_prog_compiler_can_build_shared_FC
=no
13843 lt_prog_compiler_pic_FC
='-pic'
13844 lt_prog_compiler_static_FC
='-Bstatic'
13848 lt_prog_compiler_can_build_shared_FC
=no
13854 # For platforms which do not support PIC, -DPIC is meaningless:
13856 lt_prog_compiler_pic_FC
=
13859 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13863 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13868 # Check to make sure the PIC flag actually works.
13870 if test -n "$lt_prog_compiler_pic_FC"; then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13872 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13873 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
13874 $as_echo_n "(cached) " >&6
13876 lt_cv_prog_compiler_pic_works_FC
=no
13877 ac_outfile
=conftest.
$ac_objext
13878 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13879 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13880 # Insert the option either (1) after the last *FLAGS variable, or
13881 # (2) before a word containing "conftest.", or (3) at the end.
13882 # Note that $ac_compile itself does not contain backslashes and begins
13883 # with a dollar sign (not a hyphen), so the echo should work correctly.
13884 # The option is referenced via a variable to avoid confusing sed.
13885 lt_compile
=`echo "$ac_compile" | $SED \
13886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13888 -e 's:$: $lt_compiler_flag:'`
13889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13890 (eval "$lt_compile" 2>conftest.err
)
13892 cat conftest.err
>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 if (exit $ac_status) && test -s "$ac_outfile"; then
13895 # The compiler can only warn and ignore the option if not recognized
13896 # So say no if there are warnings other than the usual output.
13897 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13899 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13900 lt_cv_prog_compiler_pic_works_FC
=yes
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13907 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13909 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13910 case $lt_prog_compiler_pic_FC in
13912 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13915 lt_prog_compiler_pic_FC
=
13916 lt_prog_compiler_can_build_shared_FC
=no
13924 # Check to make sure the static flag actually works.
13926 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13928 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13929 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
13930 $as_echo_n "(cached) " >&6
13932 lt_cv_prog_compiler_static_works_FC
=no
13933 save_LDFLAGS
="$LDFLAGS"
13934 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13935 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13936 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13937 # The linker can only warn and ignore the option if not recognized
13938 # So say no if there are warnings
13939 if test -s conftest.err
; then
13940 # Append any errors to the config.log.
13941 cat conftest.err
1>&5
13942 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13943 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13944 if diff conftest.exp conftest.er2
>/dev
/null
; then
13945 lt_cv_prog_compiler_static_works_FC
=yes
13948 lt_cv_prog_compiler_static_works_FC
=yes
13952 LDFLAGS
="$save_LDFLAGS"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13956 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13958 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13961 lt_prog_compiler_static_FC
=
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13968 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13969 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 lt_cv_prog_compiler_c_o_FC
=no
13973 $RM -r conftest
2>/dev
/null
13977 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13979 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13980 # Insert the option either (1) after the last *FLAGS variable, or
13981 # (2) before a word containing "conftest.", or (3) at the end.
13982 # Note that $ac_compile itself does not contain backslashes and begins
13983 # with a dollar sign (not a hyphen), so the echo should work correctly.
13984 lt_compile
=`echo "$ac_compile" | $SED \
13985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13987 -e 's:$: $lt_compiler_flag:'`
13988 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13989 (eval "$lt_compile" 2>out
/conftest.err
)
13991 cat out
/conftest.err
>&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13995 # The compiler can only warn and ignore the option if not recognized
13996 # So say no if there are warnings
13997 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13998 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13999 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14000 lt_cv_prog_compiler_c_o_FC
=yes
14005 # SGI C++ compiler will create directory out/ii_files/ for
14006 # template instantiation
14007 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14008 $RM out
/* && rmdir out
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14015 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14020 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14021 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14022 $as_echo_n "(cached) " >&6
14024 lt_cv_prog_compiler_c_o_FC
=no
14025 $RM -r conftest
2>/dev
/null
14029 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14031 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14032 # Insert the option either (1) after the last *FLAGS variable, or
14033 # (2) before a word containing "conftest.", or (3) at the end.
14034 # Note that $ac_compile itself does not contain backslashes and begins
14035 # with a dollar sign (not a hyphen), so the echo should work correctly.
14036 lt_compile
=`echo "$ac_compile" | $SED \
14037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14039 -e 's:$: $lt_compiler_flag:'`
14040 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14041 (eval "$lt_compile" 2>out
/conftest.err
)
14043 cat out
/conftest.err
>&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14047 # The compiler can only warn and ignore the option if not recognized
14048 # So say no if there are warnings
14049 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14050 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14051 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14052 lt_cv_prog_compiler_c_o_FC
=yes
14057 # SGI C++ compiler will create directory out/ii_files/ for
14058 # template instantiation
14059 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14060 $RM out
/* && rmdir out
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14067 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14072 hard_links
="nottested"
14073 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14074 # do not overwrite the value of need_locks provided by the user
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14076 $as_echo_n "checking if we can lock with hard links... " >&6; }
14079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14081 ln conftest.a conftest.b
2>&5 || hard_links
=no
14082 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14084 $as_echo "$hard_links" >&6; }
14085 if test "$hard_links" = no
; then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14087 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14097 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14100 allow_undefined_flag_FC
=
14101 always_export_symbols_FC
=no
14103 archive_expsym_cmds_FC
=
14104 compiler_needs_object_FC
=no
14105 enable_shared_with_static_runtimes_FC
=no
14106 export_dynamic_flag_spec_FC
=
14107 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14108 hardcode_automatic_FC
=no
14109 hardcode_direct_FC
=no
14110 hardcode_direct_absolute_FC
=no
14111 hardcode_libdir_flag_spec_FC
=
14112 hardcode_libdir_flag_spec_ld_FC
=
14113 hardcode_libdir_separator_FC
=
14114 hardcode_minus_L_FC
=no
14115 hardcode_shlibpath_var_FC
=unsupported
14116 inherit_rpath_FC
=no
14117 link_all_deplibs_FC
=unknown
14119 module_expsym_cmds_FC
=
14120 old_archive_from_new_cmds_FC
=
14121 old_archive_from_expsyms_cmds_FC
=
14122 thread_safe_flag_spec_FC
=
14123 whole_archive_flag_spec_FC
=
14124 # include_expsyms should be a list of space-separated symbols to be *always*
14125 # included in the symbol list
14126 include_expsyms_FC
=
14127 # exclude_expsyms can be an extended regexp of symbols to exclude
14128 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14129 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14130 # as well as any symbol that contains `d'.
14131 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14132 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14133 # platforms (ab)use it in PIC code, but their linkers get confused if
14134 # the symbol is explicitly referenced. Since portable code cannot
14135 # rely on this symbol name, it's probably fine to never include it in
14136 # preloaded symbol tables.
14137 # Exclude shared library initialization/finalization symbols.
14138 extract_expsyms_cmds
=
14141 cygwin
* | mingw
* | pw32
* | cegcc
*)
14142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14143 # When not using gcc, we currently assume that we are using
14144 # Microsoft Visual C++.
14145 if test "$GCC" != yes; then
14150 # we just hope/assume this is gcc and not c89 (= MSVC++)
14160 # On some targets, GNU ld is compatible enough with the native linker
14161 # that we're better off using the native interface for both.
14162 lt_use_gnu_ld_interface
=no
14163 if test "$with_gnu_ld" = yes; then
14166 # The AIX port of GNU ld has always aspired to compatibility
14167 # with the native linker. However, as the warning in the GNU ld
14168 # block says, versions before 2.19.5* couldn't really create working
14169 # shared libraries, regardless of the interface used.
14170 case `$LD -v 2>&1` in
14171 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14172 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14173 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14175 lt_use_gnu_ld_interface
=yes
14180 lt_use_gnu_ld_interface
=yes
14185 if test "$lt_use_gnu_ld_interface" = yes; then
14186 # If archive_cmds runs LD, not CC, wlarc should be empty
14189 # Set some defaults for GNU ld with shared library support. These
14190 # are reset later if shared libraries are not supported. Putting them
14191 # here allows them to be overridden if necessary.
14192 runpath_var
=LD_RUN_PATH
14193 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14194 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14195 # ancient GNU ld didn't support --whole-archive et. al.
14196 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14197 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14199 whole_archive_flag_spec_FC
=
14201 supports_anon_versioning
=no
14202 case `$LD -v 2>&1` in
14203 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14204 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14205 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14206 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14207 *\
2.11.
*) ;; # other 2.11 versions
14208 *) supports_anon_versioning
=yes ;;
14211 # See if GNU ld supports shared libraries.
14214 # On AIX/PPC, the GNU linker is very broken
14215 if test "$host_cpu" != ia64
; then
14219 *** Warning: the GNU linker, at least up to release 2.19, is reported
14220 *** to be unable to reliably create shared libraries on AIX.
14221 *** Therefore, libtool is disabling shared libraries support. If you
14222 *** really care for shared libraries, you may want to install binutils
14223 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14224 *** You will then need to restart the configuration process.
14233 # see comment about AmigaOS4 .so support
14234 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14235 archive_expsym_cmds_FC
=''
14238 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)'
14239 hardcode_libdir_flag_spec_FC
='-L$libdir'
14240 hardcode_minus_L_FC
=yes
14246 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14247 allow_undefined_flag_FC
=unsupported
14248 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14249 # support --undefined. This deserves some investigation. FIXME
14250 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14256 cygwin
* | mingw
* | pw32
* | cegcc
*)
14257 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14258 # as there is no search path for DLLs.
14259 hardcode_libdir_flag_spec_FC
='-L$libdir'
14260 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14261 allow_undefined_flag_FC
=unsupported
14262 always_export_symbols_FC
=no
14263 enable_shared_with_static_runtimes_FC
=yes
14264 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14266 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14267 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14268 # If the export-symbols file already is a .def file (1st line
14269 # is EXPORTS), use it as is; otherwise, prepend...
14270 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14271 cp $export_symbols $output_objdir/$soname.def;
14273 echo EXPORTS > $output_objdir/$soname.def;
14274 cat $export_symbols >> $output_objdir/$soname.def;
14276 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14283 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14284 link_all_deplibs_FC
=yes
14288 hardcode_direct_FC
=no
14289 hardcode_shlibpath_var_FC
=no
14290 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14291 export_dynamic_flag_spec_FC
='${wl}-E'
14292 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14293 # Instead, shared libraries are loaded at an image base (0x10000000 by
14294 # default) and relocated if they conflict, which is a slow very memory
14295 # consuming and fragmenting process. To avoid this, we pick a random,
14296 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14297 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14298 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'
14299 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'
14302 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14304 if test "$host_os" = linux-dietlibc
; then
14305 case $cc_basename in
14306 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14309 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14310 && test "$tmp_diet" = no
14312 tmp_addflag
=' $pic_flag'
14313 tmp_sharedflag
='-shared'
14314 case $cc_basename,$host_cpu in
14315 pgcc
*) # Portland Group C compiler
14316 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'
14317 tmp_addflag
=' $pic_flag'
14319 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14320 # Portland Group f77 and f90 compilers
14321 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'
14322 tmp_addflag
=' $pic_flag -Mnomain' ;;
14323 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14324 tmp_addflag
=' -i_dynamic' ;;
14325 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14326 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14327 ifc
* | ifort
*) # Intel Fortran compiler
14328 tmp_addflag
=' -nofor_main' ;;
14329 lf95
*) # Lahey Fortran 8.1
14330 whole_archive_flag_spec_FC
=
14331 tmp_sharedflag
='--shared' ;;
14332 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14333 tmp_sharedflag
='-qmkshrobj'
14335 nvcc
*) # Cuda Compiler Driver 2.2
14336 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'
14337 compiler_needs_object_FC
=yes
14340 case `$CC -V 2>&1 | sed 5q` in
14341 *Sun\ C
*) # Sun C 5.9
14342 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'
14343 compiler_needs_object_FC
=yes
14344 tmp_sharedflag
='-G' ;;
14345 *Sun\ F
*) # Sun Fortran 8.3
14346 tmp_sharedflag
='-G' ;;
14348 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14350 if test "x$supports_anon_versioning" = xyes
; then
14351 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14352 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14353 echo "local: *; };" >> $output_objdir/$libname.ver~
14354 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14357 case $cc_basename in
14358 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14359 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14360 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14361 hardcode_libdir_flag_spec_FC
=
14362 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14363 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14364 if test "x$supports_anon_versioning" = xyes
; then
14365 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14366 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14367 echo "local: *; };" >> $output_objdir/$libname.ver~
14368 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14378 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14379 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14382 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14383 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14388 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14392 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14393 *** create shared libraries on Solaris systems. Therefore, libtool
14394 *** is disabling shared libraries support. We urge you to upgrade GNU
14395 *** binutils to release 2.9.1 or newer. Another option is to modify
14396 *** your PATH or compiler configuration so that the native linker is
14397 *** used, and then restart.
14400 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14401 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14402 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14408 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14409 case `$LD -v 2>&1` in
14410 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14414 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14415 *** reliably create shared libraries on SCO systems. Therefore, libtool
14416 *** is disabling shared libraries support. We urge you to upgrade GNU
14417 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14418 *** your PATH or compiler configuration so that the native linker is
14419 *** used, and then restart.
14424 # For security reasons, it is highly recommended that you always
14425 # use absolute paths for naming shared libraries, and exclude the
14426 # DT_RUNPATH tag from executables and libraries. But doing so
14427 # requires that you compile everything twice, which is a pain.
14428 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14429 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14430 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14431 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14440 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14442 hardcode_direct_FC
=yes
14443 hardcode_shlibpath_var_FC
=no
14447 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14448 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14449 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14456 if test "$ld_shlibs_FC" = no
; then
14458 hardcode_libdir_flag_spec_FC
=
14459 export_dynamic_flag_spec_FC
=
14460 whole_archive_flag_spec_FC
=
14463 # PORTME fill in a description of your system's linker (not GNU ld)
14466 allow_undefined_flag_FC
=unsupported
14467 always_export_symbols_FC
=yes
14468 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'
14469 # Note: this linker hardcodes the directories in LIBPATH if there
14470 # are no directories specified by -L.
14471 hardcode_minus_L_FC
=yes
14472 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14473 # Neither direct hardcoding nor static linking is supported with a
14475 hardcode_direct_FC
=unsupported
14480 if test "$host_cpu" = ia64
; then
14481 # On IA64, the linker does run time linking by default, so we don't
14482 # have to do anything special.
14483 aix_use_runtimelinking
=no
14484 exp_sym_flag
='-Bexport'
14487 # If we're using GNU nm, then we don't want the "-C" option.
14488 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14489 # Also, AIX nm treats weak defined symbols like other global
14490 # defined symbols, whereas GNU nm marks them as "W".
14491 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14492 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'
14494 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'
14496 aix_use_runtimelinking
=no
14498 # Test if we are trying to use run time linking or normal
14499 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14500 # need to do runtime linking.
14501 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14502 for ld_flag
in $LDFLAGS; do
14503 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14504 aix_use_runtimelinking
=yes
14511 exp_sym_flag
='-bexport'
14512 no_entry_flag
='-bnoentry'
14515 # When large executables or shared objects are built, AIX ld can
14516 # have problems creating the table of contents. If linking a library
14517 # or program results in "error TOC overflow" add -mminimal-toc to
14518 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14519 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14522 hardcode_direct_FC
=yes
14523 hardcode_direct_absolute_FC
=yes
14524 hardcode_libdir_separator_FC
=':'
14525 link_all_deplibs_FC
=yes
14526 file_list_spec_FC
='${wl}-f,'
14528 if test "$GCC" = yes; then
14529 case $host_os in aix4.
[012]|aix4.
[012].
*)
14530 # We only want to do this on AIX 4.2 and lower, the check
14531 # below for broken collect2 doesn't work under 4.3+
14532 collect2name
=`${CC} -print-prog-name=collect2`
14533 if test -f "$collect2name" &&
14534 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14536 # We have reworked collect2
14539 # We have old collect2
14540 hardcode_direct_FC
=unsupported
14541 # It fails to find uninstalled libraries when the uninstalled
14542 # path is not listed in the libpath. Setting hardcode_minus_L
14543 # to unsupported forces relinking
14544 hardcode_minus_L_FC
=yes
14545 hardcode_libdir_flag_spec_FC
='-L$libdir'
14546 hardcode_libdir_separator_FC
=
14550 shared_flag
='-shared'
14551 if test "$aix_use_runtimelinking" = yes; then
14552 shared_flag
="$shared_flag "'${wl}-G'
14556 if test "$host_cpu" = ia64
; then
14557 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14558 # chokes on -Wl,-G. The following line is correct:
14561 if test "$aix_use_runtimelinking" = yes; then
14562 shared_flag
='${wl}-G'
14564 shared_flag
='${wl}-bM:SRE'
14569 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14570 # It seems that -bexpall does not export symbols beginning with
14571 # underscore (_), so it is better to generate a list of symbols to export.
14572 always_export_symbols_FC
=yes
14573 if test "$aix_use_runtimelinking" = yes; then
14574 # Warning - without using the other runtime loading flags (-brtl),
14575 # -berok will link without error, but may produce a broken library.
14576 allow_undefined_flag_FC
='-berok'
14577 # Determine the default libpath from the value encoded in an
14578 # empty executable.
14579 if test x
$gcc_no_link = xyes
; then
14580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14582 cat > conftest.
$ac_ext <<_ACEOF
14587 if ac_fn_fc_try_link
"$LINENO"; then :
14589 lt_aix_libpath_sed
='
14590 /Import File Strings/,/^$/ {
14596 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14597 # Check for a 64-bit object if we didn't find anything.
14598 if test -z "$aix_libpath"; then
14599 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14602 rm -f core conftest.err conftest.
$ac_objext \
14603 conftest
$ac_exeext conftest.
$ac_ext
14604 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14606 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14607 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"
14609 if test "$host_cpu" = ia64
; then
14610 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14611 allow_undefined_flag_FC
="-z nodefs"
14612 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"
14614 # Determine the default libpath from the value encoded in an
14615 # empty executable.
14616 if test x
$gcc_no_link = xyes
; then
14617 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14619 cat > conftest.
$ac_ext <<_ACEOF
14624 if ac_fn_fc_try_link
"$LINENO"; then :
14626 lt_aix_libpath_sed
='
14627 /Import File Strings/,/^$/ {
14633 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14634 # Check for a 64-bit object if we didn't find anything.
14635 if test -z "$aix_libpath"; then
14636 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14639 rm -f core conftest.err conftest.
$ac_objext \
14640 conftest
$ac_exeext conftest.
$ac_ext
14641 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14643 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14644 # Warning - without using the other run time loading flags,
14645 # -berok will link without error, but may produce a broken library.
14646 no_undefined_flag_FC
=' ${wl}-bernotok'
14647 allow_undefined_flag_FC
=' ${wl}-berok'
14648 if test "$with_gnu_ld" = yes; then
14649 # We only use this code for GNU lds that support --whole-archive.
14650 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14652 # Exported symbols can be pulled into shared objects from archives
14653 whole_archive_flag_spec_FC
='$convenience'
14655 archive_cmds_need_lc_FC
=yes
14656 # This is similar to how AIX traditionally builds its shared libraries.
14657 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'
14665 # see comment about AmigaOS4 .so support
14666 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14667 archive_expsym_cmds_FC
=''
14670 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)'
14671 hardcode_libdir_flag_spec_FC
='-L$libdir'
14672 hardcode_minus_L_FC
=yes
14678 export_dynamic_flag_spec_FC
=-rdynamic
14681 cygwin
* | mingw
* | pw32
* | cegcc
*)
14682 # When not using gcc, we currently assume that we are using
14683 # Microsoft Visual C++.
14684 # hardcode_libdir_flag_spec is actually meaningless, as there is
14685 # no search path for DLLs.
14686 hardcode_libdir_flag_spec_FC
=' '
14687 allow_undefined_flag_FC
=unsupported
14688 # Tell ltmain to make .lib files, not .a files.
14690 # Tell ltmain to make .dll files, not .so files.
14692 # FIXME: Setting linknames here is a bad hack.
14693 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14694 # The linker will automatically build a .lib file if we build a DLL.
14695 old_archive_from_new_cmds_FC
='true'
14696 # FIXME: Should let the user specify the lib program.
14697 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14698 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14699 enable_shared_with_static_runtimes_FC
=yes
14702 darwin
* | rhapsody
*)
14705 archive_cmds_need_lc_FC
=no
14706 hardcode_direct_FC
=no
14707 hardcode_automatic_FC
=yes
14708 hardcode_shlibpath_var_FC
=unsupported
14709 if test "$lt_cv_ld_force_load" = "yes"; then
14710 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\"`'
14712 whole_archive_flag_spec_FC
=''
14714 link_all_deplibs_FC
=yes
14715 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14716 case $cc_basename in
14717 ifort
*) _lt_dar_can_shared
=yes ;;
14718 *) _lt_dar_can_shared
=$GCC ;;
14720 if test "$_lt_dar_can_shared" = "yes"; then
14721 output_verbose_link_cmd
=func_echo_all
14722 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}"
14723 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14724 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}"
14725 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}"
14734 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14735 hardcode_libdir_flag_spec_FC
='-L$libdir'
14736 hardcode_shlibpath_var_FC
=no
14739 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14740 # support. Future versions do this automatically, but an explicit c++rt0.o
14741 # does not break anything, and helps significantly (at the cost of a little
14744 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14745 hardcode_libdir_flag_spec_FC
='-R$libdir'
14746 hardcode_direct_FC
=yes
14747 hardcode_shlibpath_var_FC
=no
14750 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14752 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14753 hardcode_direct_FC
=yes
14754 hardcode_minus_L_FC
=yes
14755 hardcode_shlibpath_var_FC
=no
14758 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14759 freebsd
* | dragonfly
*)
14760 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14761 hardcode_libdir_flag_spec_FC
='-R$libdir'
14762 hardcode_direct_FC
=yes
14763 hardcode_shlibpath_var_FC
=no
14767 if test "$GCC" = yes; then
14768 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'
14770 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'
14772 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14773 hardcode_libdir_separator_FC
=:
14774 hardcode_direct_FC
=yes
14776 # hardcode_minus_L: Not really in the search PATH,
14777 # but as the default location of the library.
14778 hardcode_minus_L_FC
=yes
14779 export_dynamic_flag_spec_FC
='${wl}-E'
14783 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14784 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14786 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14788 if test "$with_gnu_ld" = no
; then
14789 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14790 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14791 hardcode_libdir_separator_FC
=:
14792 hardcode_direct_FC
=yes
14793 hardcode_direct_absolute_FC
=yes
14794 export_dynamic_flag_spec_FC
='${wl}-E'
14795 # hardcode_minus_L: Not really in the search PATH,
14796 # but as the default location of the library.
14797 hardcode_minus_L_FC
=yes
14802 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14805 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14808 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14811 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14817 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14820 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14827 if test "$with_gnu_ld" = no
; then
14828 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14829 hardcode_libdir_separator_FC
=:
14833 hardcode_direct_FC
=no
14834 hardcode_shlibpath_var_FC
=no
14837 hardcode_direct_FC
=yes
14838 hardcode_direct_absolute_FC
=yes
14839 export_dynamic_flag_spec_FC
='${wl}-E'
14841 # hardcode_minus_L: Not really in the search PATH,
14842 # but as the default location of the library.
14843 hardcode_minus_L_FC
=yes
14849 irix5
* | irix6
* | nonstopux
*)
14850 if test "$GCC" = yes; then
14851 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'
14852 # Try to use the -exported_symbol ld option, if it does not
14853 # work, assume that -exports_file does not work either and
14854 # implicitly export all symbols.
14855 save_LDFLAGS
="$LDFLAGS"
14856 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14857 if test x
$gcc_no_link = xyes
; then
14858 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14860 cat > conftest.
$ac_ext <<_ACEOF
14863 if ac_fn_fc_try_link
"$LINENO"; then :
14864 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'
14867 rm -f core conftest.err conftest.
$ac_objext \
14868 conftest
$ac_exeext conftest.
$ac_ext
14869 LDFLAGS
="$save_LDFLAGS"
14871 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'
14872 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'
14874 archive_cmds_need_lc_FC
='no'
14875 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14876 hardcode_libdir_separator_FC
=:
14877 inherit_rpath_FC
=yes
14878 link_all_deplibs_FC
=yes
14882 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14883 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14885 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14887 hardcode_libdir_flag_spec_FC
='-R$libdir'
14888 hardcode_direct_FC
=yes
14889 hardcode_shlibpath_var_FC
=no
14893 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14894 hardcode_direct_FC
=yes
14895 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14896 hardcode_libdir_separator_FC
=:
14897 hardcode_shlibpath_var_FC
=no
14904 if test -f /usr
/libexec
/ld.so
; then
14905 hardcode_direct_FC
=yes
14906 hardcode_shlibpath_var_FC
=no
14907 hardcode_direct_absolute_FC
=yes
14908 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14909 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14910 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14911 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14912 export_dynamic_flag_spec_FC
='${wl}-E'
14915 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14916 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14917 hardcode_libdir_flag_spec_FC
='-R$libdir'
14920 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14921 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14931 hardcode_libdir_flag_spec_FC
='-L$libdir'
14932 hardcode_minus_L_FC
=yes
14933 allow_undefined_flag_FC
=unsupported
14934 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'
14935 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14939 if test "$GCC" = yes; then
14940 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14941 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'
14943 allow_undefined_flag_FC
=' -expect_unresolved \*'
14944 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'
14946 archive_cmds_need_lc_FC
='no'
14947 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14948 hardcode_libdir_separator_FC
=:
14951 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14952 if test "$GCC" = yes; then
14953 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14954 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'
14955 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14957 allow_undefined_flag_FC
=' -expect_unresolved \*'
14958 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'
14959 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~
14960 $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'
14962 # Both c and cxx compiler support -rpath directly
14963 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14965 archive_cmds_need_lc_FC
='no'
14966 hardcode_libdir_separator_FC
=:
14970 no_undefined_flag_FC
=' -z defs'
14971 if test "$GCC" = yes; then
14973 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14974 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14975 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14977 case `$CC -V 2>&1` in
14980 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14981 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14982 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14986 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14987 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14988 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14992 hardcode_libdir_flag_spec_FC
='-R$libdir'
14993 hardcode_shlibpath_var_FC
=no
14995 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14997 # The compiler driver will combine and reorder linker options,
14998 # but understands `-z linker_flag'. GCC discards it without `$wl',
14999 # but is careful enough not to reorder.
15000 # Supported since Solaris 2.6 (maybe 2.5.1?)
15001 if test "$GCC" = yes; then
15002 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15004 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15008 link_all_deplibs_FC
=yes
15012 if test "x$host_vendor" = xsequent
; then
15013 # Use $CC to link under sequent, because it throws in some extra .o
15014 # files that make .init and .fini sections work.
15015 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15017 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15019 hardcode_libdir_flag_spec_FC
='-L$libdir'
15020 hardcode_direct_FC
=yes
15021 hardcode_minus_L_FC
=yes
15022 hardcode_shlibpath_var_FC
=no
15026 case $host_vendor in
15028 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15029 hardcode_direct_FC
=yes # is this really true???
15032 ## LD is ld it makes a PLAMLIB
15033 ## CC just makes a GrossModule.
15034 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15035 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15036 hardcode_direct_FC
=no
15039 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15040 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15043 runpath_var
='LD_RUN_PATH'
15044 hardcode_shlibpath_var_FC
=no
15048 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15049 hardcode_shlibpath_var_FC
=no
15050 export_dynamic_flag_spec_FC
='-Bexport'
15054 if test -d /usr
/nec
; then
15055 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15056 hardcode_shlibpath_var_FC
=no
15057 runpath_var
=LD_RUN_PATH
15058 hardcode_runpath_var
=yes
15063 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15064 no_undefined_flag_FC
='${wl}-z,text'
15065 archive_cmds_need_lc_FC
=no
15066 hardcode_shlibpath_var_FC
=no
15067 runpath_var
='LD_RUN_PATH'
15069 if test "$GCC" = yes; then
15070 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15071 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15073 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15074 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15078 sysv5
* | sco3.2v5
* | sco5v6
*)
15079 # Note: We can NOT use -z defs as we might desire, because we do not
15080 # link with -lc, and that would cause any symbols used from libc to
15081 # always be unresolved, which means just about no library would
15082 # ever link correctly. If we're not using GNU ld we use -z text
15083 # though, which does catch some bad symbols but isn't as heavy-handed
15085 no_undefined_flag_FC
='${wl}-z,text'
15086 allow_undefined_flag_FC
='${wl}-z,nodefs'
15087 archive_cmds_need_lc_FC
=no
15088 hardcode_shlibpath_var_FC
=no
15089 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15090 hardcode_libdir_separator_FC
=':'
15091 link_all_deplibs_FC
=yes
15092 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15093 runpath_var
='LD_RUN_PATH'
15095 if test "$GCC" = yes; then
15096 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15097 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15099 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15100 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15105 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15106 hardcode_libdir_flag_spec_FC
='-L$libdir'
15107 hardcode_shlibpath_var_FC
=no
15115 if test x
$host_vendor = xsni
; then
15117 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15118 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15125 $as_echo "$ld_shlibs_FC" >&6; }
15126 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15128 with_gnu_ld_FC
=$with_gnu_ld
15136 # Do we need to explicitly link libc?
15138 case "x$archive_cmds_need_lc_FC" in
15140 # Assume -lc should be added
15141 archive_cmds_need_lc_FC
=yes
15143 if test "$enable_shared" = yes && test "$GCC" = yes; then
15144 case $archive_cmds_FC in
15146 # FIXME: we may have to deal with multi-command sequences.
15149 # Test whether the compiler implicitly links with -lc since on some
15150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15151 # to ld, don't add -lc before -lgcc.
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15154 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15155 $as_echo_n "(cached) " >&6
15158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15161 (eval $ac_compile) 2>&5
15163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15164 test $ac_status = 0; } 2>conftest.err
; then
15167 libobjs
=conftest.
$ac_objext
15169 wl
=$lt_prog_compiler_wl_FC
15170 pic_flag
=$lt_prog_compiler_pic_FC
15176 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15177 allow_undefined_flag_FC
=
15178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15179 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15182 test $ac_status = 0; }
15184 lt_cv_archive_cmds_need_lc_FC
=no
15186 lt_cv_archive_cmds_need_lc_FC
=yes
15188 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15190 cat conftest.err
1>&5
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15196 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15197 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15268 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15270 library_names_spec
=
15271 libname_spec
='lib$name'
15275 postuninstall_cmds
=
15279 shlibpath_overrides_runpath
=unknown
15281 dynamic_linker
="$host_os ld.so"
15282 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15283 need_lib_prefix
=unknown
15284 hardcode_into_libs
=no
15286 # when you set need_version to no, make sure it does not cause -set_version
15287 # flags to be left without arguments
15288 need_version
=unknown
15293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15294 shlibpath_var
=LIBPATH
15296 # AIX 3 has no versioning support, so we append a major version to the name.
15297 soname_spec
='${libname}${release}${shared_ext}$major'
15304 hardcode_into_libs
=yes
15305 if test "$host_cpu" = ia64
; then
15306 # AIX 5 supports IA64
15307 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15308 shlibpath_var
=LD_LIBRARY_PATH
15310 # With GCC up to 2.95.x, collect2 would create an import file
15311 # for dependence libraries. The import file would start with
15312 # the line `#! .'. This would cause the generated library to
15313 # depend on `.', always an invalid library. This was fixed in
15314 # development snapshots of GCC prior to 3.0.
15316 aix4 | aix4.
[01] | aix4.
[01].
*)
15317 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15319 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15322 can_build_shared
=no
15326 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15327 # soname into executable. Probably we can add versioning support to
15328 # collect2, so additional links can be useful in future.
15329 if test "$aix_use_runtimelinking" = yes; then
15330 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15331 # instead of lib<name>.a to let people know that these are not
15332 # typical AIX shared libraries.
15333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15335 # We preserve .a as extension for shared libraries through AIX4.2
15336 # and later when we are not doing run time linking.
15337 library_names_spec
='${libname}${release}.a $libname.a'
15338 soname_spec
='${libname}${release}${shared_ext}$major'
15340 shlibpath_var
=LIBPATH
15347 # Since July 2007 AmigaOS4 officially supports .so libraries.
15348 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15352 library_names_spec
='$libname.ixlibrary $libname.a'
15353 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15354 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'
15360 library_names_spec
='${libname}${shared_ext}'
15361 dynamic_linker
="$host_os ld.so"
15362 shlibpath_var
=LIBRARY_PATH
15368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369 soname_spec
='${libname}${release}${shared_ext}$major'
15370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15373 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15374 # the default ld.so.conf also contains /usr/contrib/lib and
15375 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15376 # libtool to hard-code these into programs
15379 cygwin
* | mingw
* | pw32
* | cegcc
*)
15380 version_type
=windows
15385 case $GCC,$host_os in
15386 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15387 library_names_spec
='$libname.dll.a'
15388 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15389 postinstall_cmds
='base_file=`basename \${file}`~
15390 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15391 dldir=$destdir/`dirname \$dlpath`~
15392 test -d \$dldir || mkdir -p \$dldir~
15393 $install_prog $dir/$dlname \$dldir/$dlname~
15394 chmod a+x \$dldir/$dlname~
15395 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15396 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15398 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15399 dlpath=$dir/\$dldll~
15401 shlibpath_overrides_runpath
=yes
15405 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15406 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15410 # MinGW DLLs use traditional 'lib' prefix
15411 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15414 # pw32 DLLs use 'pw' prefix rather than 'lib'
15415 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15421 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15424 dynamic_linker
='Win32 ld.exe'
15425 # FIXME: first we should search . and the directory the executable is in
15429 darwin
* | rhapsody
*)
15430 dynamic_linker
="$host_os dyld"
15431 version_type
=darwin
15434 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15435 soname_spec
='${libname}${release}${major}$shared_ext'
15436 shlibpath_overrides_runpath
=yes
15437 shlibpath_var
=DYLD_LIBRARY_PATH
15438 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15440 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15448 soname_spec
='${libname}${release}${shared_ext}$major'
15449 shlibpath_var
=LD_LIBRARY_PATH
15452 freebsd
* | dragonfly
*)
15453 # DragonFly does not have aout. When/if they implement a new
15454 # versioning mechanism, adjust this.
15455 if test -x /usr
/bin
/objformat
; then
15456 objformat
=`/usr/bin/objformat`
15459 freebsd
[23].
*) objformat
=aout
;;
15460 *) objformat
=elf
;;
15463 version_type
=freebsd-
$objformat
15464 case $version_type in
15466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15471 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15475 shlibpath_var
=LD_LIBRARY_PATH
15478 shlibpath_overrides_runpath
=yes
15480 freebsd3.
[01]* | freebsdelf3.
[01]*)
15481 shlibpath_overrides_runpath
=yes
15482 hardcode_into_libs
=yes
15484 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15485 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15486 shlibpath_overrides_runpath
=no
15487 hardcode_into_libs
=yes
15489 *) # from 4.6 on, and DragonFly
15490 shlibpath_overrides_runpath
=yes
15491 hardcode_into_libs
=yes
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15502 shlibpath_var
=LD_LIBRARY_PATH
15503 hardcode_into_libs
=yes
15510 dynamic_linker
="$host_os runtime_loader"
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15513 shlibpath_var
=LIBRARY_PATH
15514 shlibpath_overrides_runpath
=yes
15515 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15516 hardcode_into_libs
=yes
15519 hpux9
* | hpux10
* | hpux11
*)
15520 # Give a soname corresponding to the major version so that dld.sl refuses to
15521 # link against other versions.
15528 hardcode_into_libs
=yes
15529 dynamic_linker
="$host_os dld.so"
15530 shlibpath_var
=LD_LIBRARY_PATH
15531 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15533 soname_spec
='${libname}${release}${shared_ext}$major'
15534 if test "X$HPUX_IA64_MODE" = X32
; then
15535 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15537 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15539 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15543 hardcode_into_libs
=yes
15544 dynamic_linker
="$host_os dld.sl"
15545 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15546 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15548 soname_spec
='${libname}${release}${shared_ext}$major'
15549 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15550 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15554 dynamic_linker
="$host_os dld.sl"
15555 shlibpath_var
=SHLIB_PATH
15556 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15558 soname_spec
='${libname}${release}${shared_ext}$major'
15561 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15562 postinstall_cmds
='chmod 555 $lib'
15563 # or fails outright, so override atomically:
15564 install_override_mode
=555
15571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15572 soname_spec
='${libname}${release}${shared_ext}$major'
15573 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15574 shlibpath_var
=LD_LIBRARY_PATH
15575 shlibpath_overrides_runpath
=no
15576 hardcode_into_libs
=yes
15579 irix5
* | irix6
* | nonstopux
*)
15581 nonstopux
*) version_type
=nonstopux
;;
15583 if test "$lt_cv_prog_gnu_ld" = yes; then
15591 soname_spec
='${libname}${release}${shared_ext}$major'
15592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15594 irix5
* | nonstopux
*)
15595 libsuff
= shlibsuff
=
15598 case $LD in # libtool.m4 will add one of these switches to LD
15599 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15600 libsuff
= shlibsuff
= libmagic
=32-bit;;
15601 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15602 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15603 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15604 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15605 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15609 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15610 shlibpath_overrides_runpath
=no
15611 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15612 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15613 hardcode_into_libs
=yes
15616 # No shared lib support for Linux oldld, aout, or coff.
15617 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15621 # This must be Linux ELF.
15623 # uclinux* changes (here and below) have been submitted to the libtool
15624 # project, but have not yet been accepted: they are GCC-local changes
15625 # for the time being. (See
15626 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15627 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
15631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15632 soname_spec
='${libname}${release}${shared_ext}$major'
15633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15634 shlibpath_var
=LD_LIBRARY_PATH
15635 shlibpath_overrides_runpath
=no
15637 # Some binutils ld are patched to set DT_RUNPATH
15638 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15639 $as_echo_n "(cached) " >&6
15641 lt_cv_shlibpath_overrides_runpath
=no
15642 save_LDFLAGS
=$LDFLAGS
15643 save_libdir
=$libdir
15644 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15645 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15646 if test x
$gcc_no_link = xyes
; then
15647 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15649 cat > conftest.
$ac_ext <<_ACEOF
15654 if ac_fn_fc_try_link
"$LINENO"; then :
15655 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15656 lt_cv_shlibpath_overrides_runpath
=yes
15659 rm -f core conftest.err conftest.
$ac_objext \
15660 conftest
$ac_exeext conftest.
$ac_ext
15661 LDFLAGS
=$save_LDFLAGS
15662 libdir
=$save_libdir
15666 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15668 # This implies no fast_install, which is unacceptable.
15669 # Some rework will be needed to allow for fast_install
15670 # before this can be enabled.
15671 hardcode_into_libs
=yes
15673 # Append ld.so.conf contents to the search path
15674 if test -f /etc
/ld.so.conf
; then
15675 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' ' '`
15676 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15679 # We used to test for /lib/ld.so.1 and disable shared libraries on
15680 # powerpc, because MkLinux only supported shared libraries with the
15681 # GNU dynamic linker. Since this was broken with cross compilers,
15682 # most powerpc-linux boxes support dynamic linking these days and
15683 # people can always --disable-shared, the test was removed, and we
15684 # assume the GNU/Linux dynamic linker is in use.
15685 dynamic_linker
='GNU/Linux ld.so'
15692 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15694 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15695 dynamic_linker
='NetBSD (a.out) ld.so'
15697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15698 soname_spec
='${libname}${release}${shared_ext}$major'
15699 dynamic_linker
='NetBSD ld.elf_so'
15701 shlibpath_var
=LD_LIBRARY_PATH
15702 shlibpath_overrides_runpath
=yes
15703 hardcode_into_libs
=yes
15708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15709 shlibpath_var
=LD_LIBRARY_PATH
15710 shlibpath_overrides_runpath
=yes
15717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15718 soname_spec
='${libname}${release}${shared_ext}$major'
15719 shlibpath_var
=LD_LIBRARY_PATH
15720 shlibpath_overrides_runpath
=no
15721 hardcode_into_libs
=yes
15722 dynamic_linker
='ldqnx.so'
15727 sys_lib_dlsearch_path_spec
="/usr/lib"
15729 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15731 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15732 *) need_version
=no
;;
15734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15735 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15736 shlibpath_var
=LD_LIBRARY_PATH
15737 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15739 openbsd2.
[89] | openbsd2.
[89].
*)
15740 shlibpath_overrides_runpath
=no
15743 shlibpath_overrides_runpath
=yes
15747 shlibpath_overrides_runpath
=yes
15752 libname_spec
='$name'
15755 library_names_spec
='$libname${shared_ext} $libname.a'
15756 dynamic_linker
='OS/2 ld.exe'
15757 shlibpath_var
=LIBPATH
15760 osf3
* | osf4
* | osf5
*)
15764 soname_spec
='${libname}${release}${shared_ext}$major'
15765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15766 shlibpath_var
=LD_LIBRARY_PATH
15767 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15768 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15780 soname_spec
='${libname}${release}${shared_ext}$major'
15781 shlibpath_var
=LD_LIBRARY_PATH
15782 shlibpath_overrides_runpath
=yes
15783 hardcode_into_libs
=yes
15784 # ldd complains unless libraries are executable
15785 postinstall_cmds
='chmod +x $lib'
15790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15791 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15792 shlibpath_var
=LD_LIBRARY_PATH
15793 shlibpath_overrides_runpath
=yes
15794 if test "$with_gnu_ld" = yes; then
15802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15803 soname_spec
='${libname}${release}${shared_ext}$major'
15804 shlibpath_var
=LD_LIBRARY_PATH
15805 case $host_vendor in
15807 shlibpath_overrides_runpath
=no
15809 runpath_var
=LD_RUN_PATH
15817 shlibpath_overrides_runpath
=no
15818 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15824 if test -d /usr
/nec
;then
15826 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15827 soname_spec
='$libname${shared_ext}.$major'
15828 shlibpath_var
=LD_LIBRARY_PATH
15832 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15833 version_type
=freebsd-elf
15836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15837 soname_spec
='${libname}${release}${shared_ext}$major'
15838 shlibpath_var
=LD_LIBRARY_PATH
15839 shlibpath_overrides_runpath
=yes
15840 hardcode_into_libs
=yes
15841 if test "$with_gnu_ld" = yes; then
15842 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15844 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15847 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15851 sys_lib_dlsearch_path_spec
='/usr/lib'
15855 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860 shlibpath_var
=LD_LIBRARY_PATH
15861 shlibpath_overrides_runpath
=no
15862 hardcode_into_libs
=yes
15867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15868 soname_spec
='${libname}${release}${shared_ext}$major'
15869 shlibpath_var
=LD_LIBRARY_PATH
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15877 $as_echo "$dynamic_linker" >&6; }
15878 test "$dynamic_linker" = no
&& can_build_shared
=no
15880 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15881 if test "$GCC" = yes; then
15882 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15885 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15886 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15888 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15889 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15930 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15931 hardcode_action_FC
=
15932 if test -n "$hardcode_libdir_flag_spec_FC" ||
15933 test -n "$runpath_var_FC" ||
15934 test "X$hardcode_automatic_FC" = "Xyes" ; then
15936 # We can hardcode non-existent directories.
15937 if test "$hardcode_direct_FC" != no
&&
15938 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15939 # have to relink, otherwise we might link with an installed library
15940 # when we should be linking with a yet-to-be-installed one
15941 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15942 test "$hardcode_minus_L_FC" != no
; then
15943 # Linking always hardcodes the temporary library directory.
15944 hardcode_action_FC
=relink
15946 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15947 hardcode_action_FC
=immediate
15950 # We cannot hardcode anything, or else we can only hardcode existing
15952 hardcode_action_FC
=unsupported
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15955 $as_echo "$hardcode_action_FC" >&6; }
15957 if test "$hardcode_action_FC" = relink ||
15958 test "$inherit_rpath_FC" = yes; then
15959 # Fast installation is not supported
15960 enable_fast_install
=no
15961 elif test "$shlibpath_overrides_runpath" = yes ||
15962 test "$enable_shared" = no
; then
15963 # Fast installation is not necessary
15964 enable_fast_install
=needless
15973 fi # test -n "$compiler"
15977 fi # test "$_lt_disable_FC" != yes
15980 ac_cpp
='$CPP $CPPFLAGS'
15981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15987 # extra LD Flags which are required for targets
15990 # Darwin needs -single_module when linking libgfortran
15991 extra_ldflags_libgfortran
=-Wl,-single_module
15996 # We need a working compiler at that point, otherwise give a clear
15997 # error message and bail out.
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16000 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16001 ac_ext
=${ac_fc_srcext-f}
16002 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16003 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16004 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16006 cat > conftest.
$ac_ext <<_ACEOF
16009 real, parameter :: bar = sin (12.34 / 2.5)
16012 if ac_fn_fc_try_compile
"$LINENO"; then :
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16014 $as_echo "yes" >&6; }
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16017 $as_echo "no" >&6; }
16018 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16023 ac_cpp
='$CPP $CPPFLAGS'
16024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16030 # Check whether --enable-largefile was given.
16031 if test "${enable_largefile+set}" = set; then :
16032 enableval
=$enable_largefile;
16035 if test "$enable_largefile" != no
; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16038 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16039 if ${ac_cv_sys_largefile_CC+:} false
; then :
16040 $as_echo_n "(cached) " >&6
16042 ac_cv_sys_largefile_CC
=no
16043 if test "$GCC" != yes; then
16046 # IRIX 6.2 and later do not support large files by default,
16047 # so use the C compiler's -n32 option if that helps.
16048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16050 #include <sys/types.h>
16051 /* Check that off_t can represent 2**63 - 1 correctly.
16052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16053 since some C++ compilers masquerading as C compilers
16054 incorrectly reject 9223372036854775807. */
16055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16057 && LARGE_OFF_T % 2147483647 == 1)
16067 if ac_fn_c_try_compile
"$LINENO"; then :
16070 rm -f core conftest.err conftest.
$ac_objext
16072 if ac_fn_c_try_compile
"$LINENO"; then :
16073 ac_cv_sys_largefile_CC
=' -n32'; break
16075 rm -f core conftest.err conftest.
$ac_objext
16079 rm -f conftest.
$ac_ext
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16083 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16084 if test "$ac_cv_sys_largefile_CC" != no
; then
16085 CC
=$CC$ac_cv_sys_largefile_CC
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16089 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16090 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16091 $as_echo_n "(cached) " >&6
16094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16095 /* end confdefs.h. */
16096 #include <sys/types.h>
16097 /* Check that off_t can represent 2**63 - 1 correctly.
16098 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16099 since some C++ compilers masquerading as C compilers
16100 incorrectly reject 9223372036854775807. */
16101 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16102 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16103 && LARGE_OFF_T % 2147483647 == 1)
16113 if ac_fn_c_try_compile
"$LINENO"; then :
16114 ac_cv_sys_file_offset_bits
=no
; break
16116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h. */
16119 #define _FILE_OFFSET_BITS 64
16120 #include <sys/types.h>
16121 /* Check that off_t can represent 2**63 - 1 correctly.
16122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16123 since some C++ compilers masquerading as C compilers
16124 incorrectly reject 9223372036854775807. */
16125 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16127 && LARGE_OFF_T % 2147483647 == 1)
16137 if ac_fn_c_try_compile
"$LINENO"; then :
16138 ac_cv_sys_file_offset_bits
=64; break
16140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16141 ac_cv_sys_file_offset_bits
=unknown
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16146 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16147 case $ac_cv_sys_file_offset_bits in #(
16150 cat >>confdefs.h
<<_ACEOF
16151 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16156 if test $ac_cv_sys_file_offset_bits = unknown
; then
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16158 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16159 if ${ac_cv_sys_large_files+:} false
; then :
16160 $as_echo_n "(cached) " >&6
16163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16165 #include <sys/types.h>
16166 /* Check that off_t can represent 2**63 - 1 correctly.
16167 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16168 since some C++ compilers masquerading as C compilers
16169 incorrectly reject 9223372036854775807. */
16170 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16171 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16172 && LARGE_OFF_T % 2147483647 == 1)
16182 if ac_fn_c_try_compile
"$LINENO"; then :
16183 ac_cv_sys_large_files
=no
; break
16185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16188 #define _LARGE_FILES 1
16189 #include <sys/types.h>
16190 /* Check that off_t can represent 2**63 - 1 correctly.
16191 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16192 since some C++ compilers masquerading as C compilers
16193 incorrectly reject 9223372036854775807. */
16194 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16195 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16196 && LARGE_OFF_T % 2147483647 == 1)
16206 if ac_fn_c_try_compile
"$LINENO"; then :
16207 ac_cv_sys_large_files
=1; break
16209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16210 ac_cv_sys_large_files
=unknown
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16215 $as_echo "$ac_cv_sys_large_files" >&6; }
16216 case $ac_cv_sys_large_files in #(
16219 cat >>confdefs.h
<<_ACEOF
16220 #define _LARGE_FILES $ac_cv_sys_large_files
16232 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16233 if test "x$ac_cv_type_off_t" = xyes
; then :
16237 cat >>confdefs.h
<<_ACEOF
16238 #define off_t long int
16244 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16245 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16247 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16250 for ac_type
in 'int' 'long int' 'long long int'; do
16251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16253 $ac_includes_default
16257 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16258 test_array [0] = 0;
16259 return test_array [0];
16265 if ac_fn_c_try_compile
"$LINENO"; then :
16267 cat >>confdefs.h
<<_ACEOF
16268 #define intptr_t $ac_type
16273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16274 test -z "$ac_type" && break
16280 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16281 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16283 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16286 for ac_type
in 'unsigned int' 'unsigned long int' \
16287 'unsigned long long int'; do
16288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 $ac_includes_default
16294 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16295 test_array [0] = 0;
16296 return test_array [0];
16302 if ac_fn_c_try_compile
"$LINENO"; then :
16304 cat >>confdefs.h
<<_ACEOF
16305 #define uintptr_t $ac_type
16310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16311 test -z "$ac_type" && break
16316 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16317 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16319 cat >>confdefs.h
<<_ACEOF
16320 #define HAVE_PTRDIFF_T 1
16327 # check header files (we assume C89 is available, so don't check for that)
16331 for ac_header
in $ac_header_list
16333 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16334 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16336 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16337 cat >>confdefs.h
<<_ACEOF
16338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16383 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16385 acx_cv_header_stdint
=stddef.h
16386 acx_cv_header_stdint_kind
="(already complete)"
16387 for i
in stdint.h
$inttype_headers; do
16388 unset ac_cv_type_uintptr_t
16389 unset ac_cv_type_uintmax_t
16390 unset ac_cv_type_int_least32_t
16391 unset ac_cv_type_int_fast32_t
16392 unset ac_cv_type_uint64_t
16393 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16394 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16397 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16398 acx_cv_header_stdint
=$i
16403 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16406 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16409 acx_cv_header_stdint_kind
="(mostly complete)"
16412 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16415 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16418 acx_cv_header_stdint_kind
="(mostly complete)"
16421 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16424 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16427 acx_cv_header_stdint_kind
="(mostly complete)"
16430 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16433 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16436 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16441 if test "$acx_cv_header_stdint" = stddef.h
; then
16442 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16443 for i
in stdint.h
$inttype_headers; do
16444 unset ac_cv_type_uintptr_t
16445 unset ac_cv_type_uint32_t
16446 unset ac_cv_type_uint64_t
16447 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16448 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16451 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16452 acx_cv_header_stdint
=$i
16457 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16460 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16464 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16467 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16474 if test "$acx_cv_header_stdint" = stddef.h
; then
16475 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16476 for i
in sys
/types.h
$inttype_headers; do
16477 unset ac_cv_type_u_int32_t
16478 unset ac_cv_type_u_int64_t
16479 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16480 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16483 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16484 acx_cv_header_stdint
=$i
16489 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16492 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16499 if test "$acx_cv_header_stdint" = stddef.h
; then
16500 acx_cv_header_stdint_kind
="(using manual detection)"
16503 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16504 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16505 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16506 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16507 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16509 # ----------------- Summarize what we found so far
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16512 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16514 case `$as_basename -- gstdint.h ||
16515 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16516 Xgstdint.h : 'X\(//\)$' \| \
16517 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16518 $as_echo X/gstdint.h |
16519 sed '/^.*\/\([^/][^/]*\)\/*$/{
16532 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16533 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16534 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16535 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16540 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16542 # ----------------- done included file, check C basic types --------
16544 # Lacking an uintptr_t? Test size of void *
16545 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16546 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16549 # This bug is HP SR number 8606223364.
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16551 $as_echo_n "checking size of void *... " >&6; }
16552 if ${ac_cv_sizeof_void_p+:} false
; then :
16553 $as_echo_n "(cached) " >&6
16555 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16558 if test "$ac_cv_type_void_p" = yes; then
16559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16561 as_fn_error
77 "cannot compute sizeof (void *)
16562 See \`config.log' for more details" "$LINENO" 5; }
16564 ac_cv_sizeof_void_p
=0
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16570 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16574 cat >>confdefs.h
<<_ACEOF
16575 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16581 # Lacking an uint64_t? Test size of long
16582 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16583 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16586 # This bug is HP SR number 8606223364.
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16588 $as_echo_n "checking size of long... " >&6; }
16589 if ${ac_cv_sizeof_long+:} false
; then :
16590 $as_echo_n "(cached) " >&6
16592 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16595 if test "$ac_cv_type_long" = yes; then
16596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16598 as_fn_error
77 "cannot compute sizeof (long)
16599 See \`config.log' for more details" "$LINENO" 5; }
16601 ac_cv_sizeof_long
=0
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16607 $as_echo "$ac_cv_sizeof_long" >&6; }
16611 cat >>confdefs.h
<<_ACEOF
16612 #define SIZEOF_LONG $ac_cv_sizeof_long
16618 if test $acx_cv_header_stdint = stddef.h
; then
16619 # Lacking a good header? Test size of everything and deduce all types.
16620 # The cast to long int works around a bug in the HP C Compiler
16621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16623 # This bug is HP SR number 8606223364.
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16625 $as_echo_n "checking size of int... " >&6; }
16626 if ${ac_cv_sizeof_int+:} false
; then :
16627 $as_echo_n "(cached) " >&6
16629 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16632 if test "$ac_cv_type_int" = yes; then
16633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16635 as_fn_error
77 "cannot compute sizeof (int)
16636 See \`config.log' for more details" "$LINENO" 5; }
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16644 $as_echo "$ac_cv_sizeof_int" >&6; }
16648 cat >>confdefs.h
<<_ACEOF
16649 #define SIZEOF_INT $ac_cv_sizeof_int
16653 # The cast to long int works around a bug in the HP C Compiler
16654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16656 # This bug is HP SR number 8606223364.
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16658 $as_echo_n "checking size of short... " >&6; }
16659 if ${ac_cv_sizeof_short+:} false
; then :
16660 $as_echo_n "(cached) " >&6
16662 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16665 if test "$ac_cv_type_short" = yes; then
16666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16668 as_fn_error
77 "cannot compute sizeof (short)
16669 See \`config.log' for more details" "$LINENO" 5; }
16671 ac_cv_sizeof_short
=0
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16677 $as_echo "$ac_cv_sizeof_short" >&6; }
16681 cat >>confdefs.h
<<_ACEOF
16682 #define SIZEOF_SHORT $ac_cv_sizeof_short
16686 # The cast to long int works around a bug in the HP C Compiler
16687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16689 # This bug is HP SR number 8606223364.
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16691 $as_echo_n "checking size of char... " >&6; }
16692 if ${ac_cv_sizeof_char+:} false
; then :
16693 $as_echo_n "(cached) " >&6
16695 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16698 if test "$ac_cv_type_char" = yes; then
16699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16701 as_fn_error
77 "cannot compute sizeof (char)
16702 See \`config.log' for more details" "$LINENO" 5; }
16704 ac_cv_sizeof_char
=0
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16710 $as_echo "$ac_cv_sizeof_char" >&6; }
16714 cat >>confdefs.h
<<_ACEOF
16715 #define SIZEOF_CHAR $ac_cv_sizeof_char
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16721 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16722 case "$ac_cv_sizeof_char" in
16723 1) acx_cv_type_int8_t
=char
;;
16724 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16727 $as_echo "$acx_cv_type_int8_t" >&6; }
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16730 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16731 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16732 2:*) acx_cv_type_int16_t
=int
;;
16733 *:2) acx_cv_type_int16_t
=short
;;
16734 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16737 $as_echo "$acx_cv_type_int16_t" >&6; }
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16740 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16741 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16742 4:*) acx_cv_type_int32_t
=int
;;
16743 *:4) acx_cv_type_int32_t
=long
;;
16744 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16747 $as_echo "$acx_cv_type_int32_t" >&6; }
16750 # These tests are here to make the output prettier
16752 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16753 case "$ac_cv_sizeof_long" in
16754 8) acx_cv_type_int64_t
=long
;;
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16757 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16759 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16762 # Now we can use the above types
16764 if test "$ac_cv_type_uintptr_t" != yes; then
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16766 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16767 case $ac_cv_sizeof_void_p in
16768 2) acx_cv_type_intptr_t
=int16_t
;;
16769 4) acx_cv_type_intptr_t
=int32_t
;;
16770 8) acx_cv_type_intptr_t
=int64_t
;;
16771 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16774 $as_echo "$acx_cv_type_intptr_t" >&6; }
16777 # ----------------- done all checks, emit header -------------
16778 ac_config_commands
="$ac_config_commands gstdint.h"
16783 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16784 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16786 cat >>confdefs.h
<<_ACEOF
16787 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16792 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16793 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16795 cat >>confdefs.h
<<_ACEOF
16796 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16801 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16802 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
16804 cat >>confdefs.h
<<_ACEOF
16805 #define HAVE_STRUCT_STAT_ST_RDEV 1
16812 case "${host}--x${with_newlib}" in
16814 hardwire_newlib
=1;;
16816 hardwire_newlib
=1;;
16819 # Check for library functions.
16820 if test "${hardwire_newlib:-0}" -eq 1; then
16821 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16822 # may not work correctly, because the compiler may not be able to
16823 # link executables.
16825 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16828 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16831 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16834 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16837 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16840 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16843 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16846 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16849 # At some point, we should differentiate between architectures
16850 # like x86, which have long double versions, and alpha/powerpc/etc.,
16851 # which don't. For the time being, punt.
16852 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16854 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16861 for ac_func
in $ac_func_list
16863 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16864 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16865 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16866 cat >>confdefs.h
<<_ACEOF
16867 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16984 # Check strerror_r, cannot be above as versions with two and three arguments exist
16986 ac_save_CFLAGS
="$CFLAGS"
16987 CFLAGS
="-Wimplicit-function-declaration -Werror"
16988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #define _GNU_SOURCE 1
16991 #include <string.h>
16992 #include <locale.h>
16996 char s[128]; strerror_r(5, s, 128);
17001 if ac_fn_c_try_compile
"$LINENO"; then :
17003 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17007 CFLAGS
="$ac_save_CFLAGS"
17009 ac_save_CFLAGS
="$CFLAGS"
17010 CFLAGS
="-Wimplicit-function-declaration -Werror"
17011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #define _GNU_SOURCE 1
17014 #include <string.h>
17015 #include <locale.h>
17019 char s[128]; strerror_r(5, s);
17024 if ac_fn_c_try_compile
"$LINENO"; then :
17026 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17030 CFLAGS
="$ac_save_CFLAGS"
17033 # Check for C99 (and other IEEE) math functions
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17035 $as_echo_n "checking for sin in -lm... " >&6; }
17036 if ${ac_cv_lib_m_sin+:} false
; then :
17037 $as_echo_n "(cached) " >&6
17039 ac_check_lib_save_LIBS
=$LIBS
17041 if test x
$gcc_no_link = xyes
; then
17042 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17047 /* Override any GCC internal prototype to avoid an error.
17048 Use char because int might match the return type of a GCC
17049 builtin and then its argument prototype would still apply. */
17062 if ac_fn_c_try_link
"$LINENO"; then :
17063 ac_cv_lib_m_sin
=yes
17067 rm -f core conftest.err conftest.
$ac_objext \
17068 conftest
$ac_exeext conftest.
$ac_ext
17069 LIBS
=$ac_check_lib_save_LIBS
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17072 $as_echo "$ac_cv_lib_m_sin" >&6; }
17073 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17074 cat >>confdefs.h
<<_ACEOF
17075 #define HAVE_LIBM 1
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17089 $as_echo_n "checking for acosf... " >&6; }
17090 if ${gcc_cv_math_func_acosf+:} false
; then :
17091 $as_echo_n "(cached) " >&6
17093 if test x
$gcc_no_link = xyes
; then
17094 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17099 #ifdef HAVE_COMPLEX_H
17100 #include <complex.h>
17106 int (*ptr)() = (int (*)())acosf;
17115 if ac_fn_c_try_link
"$LINENO"; then :
17116 gcc_cv_math_func_acosf
=yes
17118 gcc_cv_math_func_acosf
=no
17120 rm -f core conftest.err conftest.
$ac_objext \
17121 conftest
$ac_exeext conftest.
$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17124 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17125 if test $gcc_cv_math_func_acosf = yes; then
17127 cat >>confdefs.h
<<_ACEOF
17128 #define HAVE_ACOSF 1
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17137 $as_echo_n "checking for acos... " >&6; }
17138 if ${gcc_cv_math_func_acos+:} false
; then :
17139 $as_echo_n "(cached) " >&6
17141 if test x
$gcc_no_link = xyes
; then
17142 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17147 #ifdef HAVE_COMPLEX_H
17148 #include <complex.h>
17154 int (*ptr)() = (int (*)())acos;
17163 if ac_fn_c_try_link
"$LINENO"; then :
17164 gcc_cv_math_func_acos
=yes
17166 gcc_cv_math_func_acos
=no
17168 rm -f core conftest.err conftest.
$ac_objext \
17169 conftest
$ac_exeext conftest.
$ac_ext
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17172 $as_echo "$gcc_cv_math_func_acos" >&6; }
17173 if test $gcc_cv_math_func_acos = yes; then
17175 cat >>confdefs.h
<<_ACEOF
17176 #define HAVE_ACOS 1
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17185 $as_echo_n "checking for acosl... " >&6; }
17186 if ${gcc_cv_math_func_acosl+:} false
; then :
17187 $as_echo_n "(cached) " >&6
17189 if test x
$gcc_no_link = xyes
; then
17190 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17195 #ifdef HAVE_COMPLEX_H
17196 #include <complex.h>
17202 int (*ptr)() = (int (*)())acosl;
17211 if ac_fn_c_try_link
"$LINENO"; then :
17212 gcc_cv_math_func_acosl
=yes
17214 gcc_cv_math_func_acosl
=no
17216 rm -f core conftest.err conftest.
$ac_objext \
17217 conftest
$ac_exeext conftest.
$ac_ext
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17220 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17221 if test $gcc_cv_math_func_acosl = yes; then
17223 cat >>confdefs.h
<<_ACEOF
17224 #define HAVE_ACOSL 1
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17233 $as_echo_n "checking for acoshf... " >&6; }
17234 if ${gcc_cv_math_func_acoshf+:} false
; then :
17235 $as_echo_n "(cached) " >&6
17237 if test x
$gcc_no_link = xyes
; then
17238 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17243 #ifdef HAVE_COMPLEX_H
17244 #include <complex.h>
17250 int (*ptr)() = (int (*)())acoshf;
17259 if ac_fn_c_try_link
"$LINENO"; then :
17260 gcc_cv_math_func_acoshf
=yes
17262 gcc_cv_math_func_acoshf
=no
17264 rm -f core conftest.err conftest.
$ac_objext \
17265 conftest
$ac_exeext conftest.
$ac_ext
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17268 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17269 if test $gcc_cv_math_func_acoshf = yes; then
17271 cat >>confdefs.h
<<_ACEOF
17272 #define HAVE_ACOSHF 1
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17281 $as_echo_n "checking for acosh... " >&6; }
17282 if ${gcc_cv_math_func_acosh+:} false
; then :
17283 $as_echo_n "(cached) " >&6
17285 if test x
$gcc_no_link = xyes
; then
17286 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17291 #ifdef HAVE_COMPLEX_H
17292 #include <complex.h>
17298 int (*ptr)() = (int (*)())acosh;
17307 if ac_fn_c_try_link
"$LINENO"; then :
17308 gcc_cv_math_func_acosh
=yes
17310 gcc_cv_math_func_acosh
=no
17312 rm -f core conftest.err conftest.
$ac_objext \
17313 conftest
$ac_exeext conftest.
$ac_ext
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17316 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17317 if test $gcc_cv_math_func_acosh = yes; then
17319 cat >>confdefs.h
<<_ACEOF
17320 #define HAVE_ACOSH 1
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17329 $as_echo_n "checking for acoshl... " >&6; }
17330 if ${gcc_cv_math_func_acoshl+:} false
; then :
17331 $as_echo_n "(cached) " >&6
17333 if test x
$gcc_no_link = xyes
; then
17334 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17339 #ifdef HAVE_COMPLEX_H
17340 #include <complex.h>
17346 int (*ptr)() = (int (*)())acoshl;
17355 if ac_fn_c_try_link
"$LINENO"; then :
17356 gcc_cv_math_func_acoshl
=yes
17358 gcc_cv_math_func_acoshl
=no
17360 rm -f core conftest.err conftest.
$ac_objext \
17361 conftest
$ac_exeext conftest.
$ac_ext
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17364 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17365 if test $gcc_cv_math_func_acoshl = yes; then
17367 cat >>confdefs.h
<<_ACEOF
17368 #define HAVE_ACOSHL 1
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17377 $as_echo_n "checking for asinf... " >&6; }
17378 if ${gcc_cv_math_func_asinf+:} false
; then :
17379 $as_echo_n "(cached) " >&6
17381 if test x
$gcc_no_link = xyes
; then
17382 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17387 #ifdef HAVE_COMPLEX_H
17388 #include <complex.h>
17394 int (*ptr)() = (int (*)())asinf;
17403 if ac_fn_c_try_link
"$LINENO"; then :
17404 gcc_cv_math_func_asinf
=yes
17406 gcc_cv_math_func_asinf
=no
17408 rm -f core conftest.err conftest.
$ac_objext \
17409 conftest
$ac_exeext conftest.
$ac_ext
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17412 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17413 if test $gcc_cv_math_func_asinf = yes; then
17415 cat >>confdefs.h
<<_ACEOF
17416 #define HAVE_ASINF 1
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17425 $as_echo_n "checking for asin... " >&6; }
17426 if ${gcc_cv_math_func_asin+:} false
; then :
17427 $as_echo_n "(cached) " >&6
17429 if test x
$gcc_no_link = xyes
; then
17430 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17435 #ifdef HAVE_COMPLEX_H
17436 #include <complex.h>
17442 int (*ptr)() = (int (*)())asin;
17451 if ac_fn_c_try_link
"$LINENO"; then :
17452 gcc_cv_math_func_asin
=yes
17454 gcc_cv_math_func_asin
=no
17456 rm -f core conftest.err conftest.
$ac_objext \
17457 conftest
$ac_exeext conftest.
$ac_ext
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17460 $as_echo "$gcc_cv_math_func_asin" >&6; }
17461 if test $gcc_cv_math_func_asin = yes; then
17463 cat >>confdefs.h
<<_ACEOF
17464 #define HAVE_ASIN 1
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17473 $as_echo_n "checking for asinl... " >&6; }
17474 if ${gcc_cv_math_func_asinl+:} false
; then :
17475 $as_echo_n "(cached) " >&6
17477 if test x
$gcc_no_link = xyes
; then
17478 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17483 #ifdef HAVE_COMPLEX_H
17484 #include <complex.h>
17490 int (*ptr)() = (int (*)())asinl;
17499 if ac_fn_c_try_link
"$LINENO"; then :
17500 gcc_cv_math_func_asinl
=yes
17502 gcc_cv_math_func_asinl
=no
17504 rm -f core conftest.err conftest.
$ac_objext \
17505 conftest
$ac_exeext conftest.
$ac_ext
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17508 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17509 if test $gcc_cv_math_func_asinl = yes; then
17511 cat >>confdefs.h
<<_ACEOF
17512 #define HAVE_ASINL 1
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17521 $as_echo_n "checking for asinhf... " >&6; }
17522 if ${gcc_cv_math_func_asinhf+:} false
; then :
17523 $as_echo_n "(cached) " >&6
17525 if test x
$gcc_no_link = xyes
; then
17526 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17531 #ifdef HAVE_COMPLEX_H
17532 #include <complex.h>
17538 int (*ptr)() = (int (*)())asinhf;
17547 if ac_fn_c_try_link
"$LINENO"; then :
17548 gcc_cv_math_func_asinhf
=yes
17550 gcc_cv_math_func_asinhf
=no
17552 rm -f core conftest.err conftest.
$ac_objext \
17553 conftest
$ac_exeext conftest.
$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17556 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17557 if test $gcc_cv_math_func_asinhf = yes; then
17559 cat >>confdefs.h
<<_ACEOF
17560 #define HAVE_ASINHF 1
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17569 $as_echo_n "checking for asinh... " >&6; }
17570 if ${gcc_cv_math_func_asinh+:} false
; then :
17571 $as_echo_n "(cached) " >&6
17573 if test x
$gcc_no_link = xyes
; then
17574 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17579 #ifdef HAVE_COMPLEX_H
17580 #include <complex.h>
17586 int (*ptr)() = (int (*)())asinh;
17595 if ac_fn_c_try_link
"$LINENO"; then :
17596 gcc_cv_math_func_asinh
=yes
17598 gcc_cv_math_func_asinh
=no
17600 rm -f core conftest.err conftest.
$ac_objext \
17601 conftest
$ac_exeext conftest.
$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17604 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17605 if test $gcc_cv_math_func_asinh = yes; then
17607 cat >>confdefs.h
<<_ACEOF
17608 #define HAVE_ASINH 1
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17617 $as_echo_n "checking for asinhl... " >&6; }
17618 if ${gcc_cv_math_func_asinhl+:} false
; then :
17619 $as_echo_n "(cached) " >&6
17621 if test x
$gcc_no_link = xyes
; then
17622 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17627 #ifdef HAVE_COMPLEX_H
17628 #include <complex.h>
17634 int (*ptr)() = (int (*)())asinhl;
17643 if ac_fn_c_try_link
"$LINENO"; then :
17644 gcc_cv_math_func_asinhl
=yes
17646 gcc_cv_math_func_asinhl
=no
17648 rm -f core conftest.err conftest.
$ac_objext \
17649 conftest
$ac_exeext conftest.
$ac_ext
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17652 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17653 if test $gcc_cv_math_func_asinhl = yes; then
17655 cat >>confdefs.h
<<_ACEOF
17656 #define HAVE_ASINHL 1
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17665 $as_echo_n "checking for atan2f... " >&6; }
17666 if ${gcc_cv_math_func_atan2f+:} false
; then :
17667 $as_echo_n "(cached) " >&6
17669 if test x
$gcc_no_link = xyes
; then
17670 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17675 #ifdef HAVE_COMPLEX_H
17676 #include <complex.h>
17682 int (*ptr)() = (int (*)())atan2f;
17691 if ac_fn_c_try_link
"$LINENO"; then :
17692 gcc_cv_math_func_atan2f
=yes
17694 gcc_cv_math_func_atan2f
=no
17696 rm -f core conftest.err conftest.
$ac_objext \
17697 conftest
$ac_exeext conftest.
$ac_ext
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17700 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17701 if test $gcc_cv_math_func_atan2f = yes; then
17703 cat >>confdefs.h
<<_ACEOF
17704 #define HAVE_ATAN2F 1
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17713 $as_echo_n "checking for atan2... " >&6; }
17714 if ${gcc_cv_math_func_atan2+:} false
; then :
17715 $as_echo_n "(cached) " >&6
17717 if test x
$gcc_no_link = xyes
; then
17718 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17723 #ifdef HAVE_COMPLEX_H
17724 #include <complex.h>
17730 int (*ptr)() = (int (*)())atan2;
17739 if ac_fn_c_try_link
"$LINENO"; then :
17740 gcc_cv_math_func_atan2
=yes
17742 gcc_cv_math_func_atan2
=no
17744 rm -f core conftest.err conftest.
$ac_objext \
17745 conftest
$ac_exeext conftest.
$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17748 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17749 if test $gcc_cv_math_func_atan2 = yes; then
17751 cat >>confdefs.h
<<_ACEOF
17752 #define HAVE_ATAN2 1
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17761 $as_echo_n "checking for atan2l... " >&6; }
17762 if ${gcc_cv_math_func_atan2l+:} false
; then :
17763 $as_echo_n "(cached) " >&6
17765 if test x
$gcc_no_link = xyes
; then
17766 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17771 #ifdef HAVE_COMPLEX_H
17772 #include <complex.h>
17778 int (*ptr)() = (int (*)())atan2l;
17787 if ac_fn_c_try_link
"$LINENO"; then :
17788 gcc_cv_math_func_atan2l
=yes
17790 gcc_cv_math_func_atan2l
=no
17792 rm -f core conftest.err conftest.
$ac_objext \
17793 conftest
$ac_exeext conftest.
$ac_ext
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17796 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17797 if test $gcc_cv_math_func_atan2l = yes; then
17799 cat >>confdefs.h
<<_ACEOF
17800 #define HAVE_ATAN2L 1
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17809 $as_echo_n "checking for atanf... " >&6; }
17810 if ${gcc_cv_math_func_atanf+:} false
; then :
17811 $as_echo_n "(cached) " >&6
17813 if test x
$gcc_no_link = xyes
; then
17814 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17819 #ifdef HAVE_COMPLEX_H
17820 #include <complex.h>
17826 int (*ptr)() = (int (*)())atanf;
17835 if ac_fn_c_try_link
"$LINENO"; then :
17836 gcc_cv_math_func_atanf
=yes
17838 gcc_cv_math_func_atanf
=no
17840 rm -f core conftest.err conftest.
$ac_objext \
17841 conftest
$ac_exeext conftest.
$ac_ext
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17844 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17845 if test $gcc_cv_math_func_atanf = yes; then
17847 cat >>confdefs.h
<<_ACEOF
17848 #define HAVE_ATANF 1
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17857 $as_echo_n "checking for atan... " >&6; }
17858 if ${gcc_cv_math_func_atan+:} false
; then :
17859 $as_echo_n "(cached) " >&6
17861 if test x
$gcc_no_link = xyes
; then
17862 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17867 #ifdef HAVE_COMPLEX_H
17868 #include <complex.h>
17874 int (*ptr)() = (int (*)())atan;
17883 if ac_fn_c_try_link
"$LINENO"; then :
17884 gcc_cv_math_func_atan
=yes
17886 gcc_cv_math_func_atan
=no
17888 rm -f core conftest.err conftest.
$ac_objext \
17889 conftest
$ac_exeext conftest.
$ac_ext
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17892 $as_echo "$gcc_cv_math_func_atan" >&6; }
17893 if test $gcc_cv_math_func_atan = yes; then
17895 cat >>confdefs.h
<<_ACEOF
17896 #define HAVE_ATAN 1
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17905 $as_echo_n "checking for atanl... " >&6; }
17906 if ${gcc_cv_math_func_atanl+:} false
; then :
17907 $as_echo_n "(cached) " >&6
17909 if test x
$gcc_no_link = xyes
; then
17910 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 #ifdef HAVE_COMPLEX_H
17916 #include <complex.h>
17922 int (*ptr)() = (int (*)())atanl;
17931 if ac_fn_c_try_link
"$LINENO"; then :
17932 gcc_cv_math_func_atanl
=yes
17934 gcc_cv_math_func_atanl
=no
17936 rm -f core conftest.err conftest.
$ac_objext \
17937 conftest
$ac_exeext conftest.
$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17940 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17941 if test $gcc_cv_math_func_atanl = yes; then
17943 cat >>confdefs.h
<<_ACEOF
17944 #define HAVE_ATANL 1
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17953 $as_echo_n "checking for atanhf... " >&6; }
17954 if ${gcc_cv_math_func_atanhf+:} false
; then :
17955 $as_echo_n "(cached) " >&6
17957 if test x
$gcc_no_link = xyes
; then
17958 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17963 #ifdef HAVE_COMPLEX_H
17964 #include <complex.h>
17970 int (*ptr)() = (int (*)())atanhf;
17979 if ac_fn_c_try_link
"$LINENO"; then :
17980 gcc_cv_math_func_atanhf
=yes
17982 gcc_cv_math_func_atanhf
=no
17984 rm -f core conftest.err conftest.
$ac_objext \
17985 conftest
$ac_exeext conftest.
$ac_ext
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17988 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17989 if test $gcc_cv_math_func_atanhf = yes; then
17991 cat >>confdefs.h
<<_ACEOF
17992 #define HAVE_ATANHF 1
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18001 $as_echo_n "checking for atanh... " >&6; }
18002 if ${gcc_cv_math_func_atanh+:} false
; then :
18003 $as_echo_n "(cached) " >&6
18005 if test x
$gcc_no_link = xyes
; then
18006 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18011 #ifdef HAVE_COMPLEX_H
18012 #include <complex.h>
18018 int (*ptr)() = (int (*)())atanh;
18027 if ac_fn_c_try_link
"$LINENO"; then :
18028 gcc_cv_math_func_atanh
=yes
18030 gcc_cv_math_func_atanh
=no
18032 rm -f core conftest.err conftest.
$ac_objext \
18033 conftest
$ac_exeext conftest.
$ac_ext
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18036 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18037 if test $gcc_cv_math_func_atanh = yes; then
18039 cat >>confdefs.h
<<_ACEOF
18040 #define HAVE_ATANH 1
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18049 $as_echo_n "checking for atanhl... " >&6; }
18050 if ${gcc_cv_math_func_atanhl+:} false
; then :
18051 $as_echo_n "(cached) " >&6
18053 if test x
$gcc_no_link = xyes
; then
18054 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 #ifdef HAVE_COMPLEX_H
18060 #include <complex.h>
18066 int (*ptr)() = (int (*)())atanhl;
18075 if ac_fn_c_try_link
"$LINENO"; then :
18076 gcc_cv_math_func_atanhl
=yes
18078 gcc_cv_math_func_atanhl
=no
18080 rm -f core conftest.err conftest.
$ac_objext \
18081 conftest
$ac_exeext conftest.
$ac_ext
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18084 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18085 if test $gcc_cv_math_func_atanhl = yes; then
18087 cat >>confdefs.h
<<_ACEOF
18088 #define HAVE_ATANHL 1
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18097 $as_echo_n "checking for cargf... " >&6; }
18098 if ${gcc_cv_math_func_cargf+:} false
; then :
18099 $as_echo_n "(cached) " >&6
18101 if test x
$gcc_no_link = xyes
; then
18102 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 #ifdef HAVE_COMPLEX_H
18108 #include <complex.h>
18114 int (*ptr)() = (int (*)())cargf;
18123 if ac_fn_c_try_link
"$LINENO"; then :
18124 gcc_cv_math_func_cargf
=yes
18126 gcc_cv_math_func_cargf
=no
18128 rm -f core conftest.err conftest.
$ac_objext \
18129 conftest
$ac_exeext conftest.
$ac_ext
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18132 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18133 if test $gcc_cv_math_func_cargf = yes; then
18135 cat >>confdefs.h
<<_ACEOF
18136 #define HAVE_CARGF 1
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18145 $as_echo_n "checking for carg... " >&6; }
18146 if ${gcc_cv_math_func_carg+:} false
; then :
18147 $as_echo_n "(cached) " >&6
18149 if test x
$gcc_no_link = xyes
; then
18150 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18155 #ifdef HAVE_COMPLEX_H
18156 #include <complex.h>
18162 int (*ptr)() = (int (*)())carg;
18171 if ac_fn_c_try_link
"$LINENO"; then :
18172 gcc_cv_math_func_carg
=yes
18174 gcc_cv_math_func_carg
=no
18176 rm -f core conftest.err conftest.
$ac_objext \
18177 conftest
$ac_exeext conftest.
$ac_ext
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18180 $as_echo "$gcc_cv_math_func_carg" >&6; }
18181 if test $gcc_cv_math_func_carg = yes; then
18183 cat >>confdefs.h
<<_ACEOF
18184 #define HAVE_CARG 1
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18193 $as_echo_n "checking for cargl... " >&6; }
18194 if ${gcc_cv_math_func_cargl+:} false
; then :
18195 $as_echo_n "(cached) " >&6
18197 if test x
$gcc_no_link = xyes
; then
18198 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18203 #ifdef HAVE_COMPLEX_H
18204 #include <complex.h>
18210 int (*ptr)() = (int (*)())cargl;
18219 if ac_fn_c_try_link
"$LINENO"; then :
18220 gcc_cv_math_func_cargl
=yes
18222 gcc_cv_math_func_cargl
=no
18224 rm -f core conftest.err conftest.
$ac_objext \
18225 conftest
$ac_exeext conftest.
$ac_ext
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18228 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18229 if test $gcc_cv_math_func_cargl = yes; then
18231 cat >>confdefs.h
<<_ACEOF
18232 #define HAVE_CARGL 1
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18241 $as_echo_n "checking for ceilf... " >&6; }
18242 if ${gcc_cv_math_func_ceilf+:} false
; then :
18243 $as_echo_n "(cached) " >&6
18245 if test x
$gcc_no_link = xyes
; then
18246 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18251 #ifdef HAVE_COMPLEX_H
18252 #include <complex.h>
18258 int (*ptr)() = (int (*)())ceilf;
18267 if ac_fn_c_try_link
"$LINENO"; then :
18268 gcc_cv_math_func_ceilf
=yes
18270 gcc_cv_math_func_ceilf
=no
18272 rm -f core conftest.err conftest.
$ac_objext \
18273 conftest
$ac_exeext conftest.
$ac_ext
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18276 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18277 if test $gcc_cv_math_func_ceilf = yes; then
18279 cat >>confdefs.h
<<_ACEOF
18280 #define HAVE_CEILF 1
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18289 $as_echo_n "checking for ceil... " >&6; }
18290 if ${gcc_cv_math_func_ceil+:} false
; then :
18291 $as_echo_n "(cached) " >&6
18293 if test x
$gcc_no_link = xyes
; then
18294 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18297 /* end confdefs.h. */
18299 #ifdef HAVE_COMPLEX_H
18300 #include <complex.h>
18306 int (*ptr)() = (int (*)())ceil;
18315 if ac_fn_c_try_link
"$LINENO"; then :
18316 gcc_cv_math_func_ceil
=yes
18318 gcc_cv_math_func_ceil
=no
18320 rm -f core conftest.err conftest.
$ac_objext \
18321 conftest
$ac_exeext conftest.
$ac_ext
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18324 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18325 if test $gcc_cv_math_func_ceil = yes; then
18327 cat >>confdefs.h
<<_ACEOF
18328 #define HAVE_CEIL 1
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18337 $as_echo_n "checking for ceill... " >&6; }
18338 if ${gcc_cv_math_func_ceill+:} false
; then :
18339 $as_echo_n "(cached) " >&6
18341 if test x
$gcc_no_link = xyes
; then
18342 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18347 #ifdef HAVE_COMPLEX_H
18348 #include <complex.h>
18354 int (*ptr)() = (int (*)())ceill;
18363 if ac_fn_c_try_link
"$LINENO"; then :
18364 gcc_cv_math_func_ceill
=yes
18366 gcc_cv_math_func_ceill
=no
18368 rm -f core conftest.err conftest.
$ac_objext \
18369 conftest
$ac_exeext conftest.
$ac_ext
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18372 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18373 if test $gcc_cv_math_func_ceill = yes; then
18375 cat >>confdefs.h
<<_ACEOF
18376 #define HAVE_CEILL 1
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18385 $as_echo_n "checking for copysignf... " >&6; }
18386 if ${gcc_cv_math_func_copysignf+:} false
; then :
18387 $as_echo_n "(cached) " >&6
18389 if test x
$gcc_no_link = xyes
; then
18390 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18395 #ifdef HAVE_COMPLEX_H
18396 #include <complex.h>
18402 int (*ptr)() = (int (*)())copysignf;
18411 if ac_fn_c_try_link
"$LINENO"; then :
18412 gcc_cv_math_func_copysignf
=yes
18414 gcc_cv_math_func_copysignf
=no
18416 rm -f core conftest.err conftest.
$ac_objext \
18417 conftest
$ac_exeext conftest.
$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18420 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18421 if test $gcc_cv_math_func_copysignf = yes; then
18423 cat >>confdefs.h
<<_ACEOF
18424 #define HAVE_COPYSIGNF 1
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18433 $as_echo_n "checking for copysign... " >&6; }
18434 if ${gcc_cv_math_func_copysign+:} false
; then :
18435 $as_echo_n "(cached) " >&6
18437 if test x
$gcc_no_link = xyes
; then
18438 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18441 /* end confdefs.h. */
18443 #ifdef HAVE_COMPLEX_H
18444 #include <complex.h>
18450 int (*ptr)() = (int (*)())copysign;
18459 if ac_fn_c_try_link
"$LINENO"; then :
18460 gcc_cv_math_func_copysign
=yes
18462 gcc_cv_math_func_copysign
=no
18464 rm -f core conftest.err conftest.
$ac_objext \
18465 conftest
$ac_exeext conftest.
$ac_ext
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18468 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18469 if test $gcc_cv_math_func_copysign = yes; then
18471 cat >>confdefs.h
<<_ACEOF
18472 #define HAVE_COPYSIGN 1
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18481 $as_echo_n "checking for copysignl... " >&6; }
18482 if ${gcc_cv_math_func_copysignl+:} false
; then :
18483 $as_echo_n "(cached) " >&6
18485 if test x
$gcc_no_link = xyes
; then
18486 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18491 #ifdef HAVE_COMPLEX_H
18492 #include <complex.h>
18498 int (*ptr)() = (int (*)())copysignl;
18507 if ac_fn_c_try_link
"$LINENO"; then :
18508 gcc_cv_math_func_copysignl
=yes
18510 gcc_cv_math_func_copysignl
=no
18512 rm -f core conftest.err conftest.
$ac_objext \
18513 conftest
$ac_exeext conftest.
$ac_ext
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18516 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18517 if test $gcc_cv_math_func_copysignl = yes; then
18519 cat >>confdefs.h
<<_ACEOF
18520 #define HAVE_COPYSIGNL 1
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18529 $as_echo_n "checking for cosf... " >&6; }
18530 if ${gcc_cv_math_func_cosf+:} false
; then :
18531 $as_echo_n "(cached) " >&6
18533 if test x
$gcc_no_link = xyes
; then
18534 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18539 #ifdef HAVE_COMPLEX_H
18540 #include <complex.h>
18546 int (*ptr)() = (int (*)())cosf;
18555 if ac_fn_c_try_link
"$LINENO"; then :
18556 gcc_cv_math_func_cosf
=yes
18558 gcc_cv_math_func_cosf
=no
18560 rm -f core conftest.err conftest.
$ac_objext \
18561 conftest
$ac_exeext conftest.
$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18564 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18565 if test $gcc_cv_math_func_cosf = yes; then
18567 cat >>confdefs.h
<<_ACEOF
18568 #define HAVE_COSF 1
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18577 $as_echo_n "checking for cos... " >&6; }
18578 if ${gcc_cv_math_func_cos+:} false
; then :
18579 $as_echo_n "(cached) " >&6
18581 if test x
$gcc_no_link = xyes
; then
18582 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18587 #ifdef HAVE_COMPLEX_H
18588 #include <complex.h>
18594 int (*ptr)() = (int (*)())cos;
18603 if ac_fn_c_try_link
"$LINENO"; then :
18604 gcc_cv_math_func_cos
=yes
18606 gcc_cv_math_func_cos
=no
18608 rm -f core conftest.err conftest.
$ac_objext \
18609 conftest
$ac_exeext conftest.
$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18612 $as_echo "$gcc_cv_math_func_cos" >&6; }
18613 if test $gcc_cv_math_func_cos = yes; then
18615 cat >>confdefs.h
<<_ACEOF
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18625 $as_echo_n "checking for cosl... " >&6; }
18626 if ${gcc_cv_math_func_cosl+:} false
; then :
18627 $as_echo_n "(cached) " >&6
18629 if test x
$gcc_no_link = xyes
; then
18630 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18635 #ifdef HAVE_COMPLEX_H
18636 #include <complex.h>
18642 int (*ptr)() = (int (*)())cosl;
18651 if ac_fn_c_try_link
"$LINENO"; then :
18652 gcc_cv_math_func_cosl
=yes
18654 gcc_cv_math_func_cosl
=no
18656 rm -f core conftest.err conftest.
$ac_objext \
18657 conftest
$ac_exeext conftest.
$ac_ext
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18660 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18661 if test $gcc_cv_math_func_cosl = yes; then
18663 cat >>confdefs.h
<<_ACEOF
18664 #define HAVE_COSL 1
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18673 $as_echo_n "checking for ccosf... " >&6; }
18674 if ${gcc_cv_math_func_ccosf+:} false
; then :
18675 $as_echo_n "(cached) " >&6
18677 if test x
$gcc_no_link = xyes
; then
18678 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18683 #ifdef HAVE_COMPLEX_H
18684 #include <complex.h>
18690 int (*ptr)() = (int (*)())ccosf;
18699 if ac_fn_c_try_link
"$LINENO"; then :
18700 gcc_cv_math_func_ccosf
=yes
18702 gcc_cv_math_func_ccosf
=no
18704 rm -f core conftest.err conftest.
$ac_objext \
18705 conftest
$ac_exeext conftest.
$ac_ext
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18708 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18709 if test $gcc_cv_math_func_ccosf = yes; then
18711 cat >>confdefs.h
<<_ACEOF
18712 #define HAVE_CCOSF 1
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18721 $as_echo_n "checking for ccos... " >&6; }
18722 if ${gcc_cv_math_func_ccos+:} false
; then :
18723 $as_echo_n "(cached) " >&6
18725 if test x
$gcc_no_link = xyes
; then
18726 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 #ifdef HAVE_COMPLEX_H
18732 #include <complex.h>
18738 int (*ptr)() = (int (*)())ccos;
18747 if ac_fn_c_try_link
"$LINENO"; then :
18748 gcc_cv_math_func_ccos
=yes
18750 gcc_cv_math_func_ccos
=no
18752 rm -f core conftest.err conftest.
$ac_objext \
18753 conftest
$ac_exeext conftest.
$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18756 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18757 if test $gcc_cv_math_func_ccos = yes; then
18759 cat >>confdefs.h
<<_ACEOF
18760 #define HAVE_CCOS 1
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18769 $as_echo_n "checking for ccosl... " >&6; }
18770 if ${gcc_cv_math_func_ccosl+:} false
; then :
18771 $as_echo_n "(cached) " >&6
18773 if test x
$gcc_no_link = xyes
; then
18774 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18779 #ifdef HAVE_COMPLEX_H
18780 #include <complex.h>
18786 int (*ptr)() = (int (*)())ccosl;
18795 if ac_fn_c_try_link
"$LINENO"; then :
18796 gcc_cv_math_func_ccosl
=yes
18798 gcc_cv_math_func_ccosl
=no
18800 rm -f core conftest.err conftest.
$ac_objext \
18801 conftest
$ac_exeext conftest.
$ac_ext
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18804 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18805 if test $gcc_cv_math_func_ccosl = yes; then
18807 cat >>confdefs.h
<<_ACEOF
18808 #define HAVE_CCOSL 1
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18817 $as_echo_n "checking for coshf... " >&6; }
18818 if ${gcc_cv_math_func_coshf+:} false
; then :
18819 $as_echo_n "(cached) " >&6
18821 if test x
$gcc_no_link = xyes
; then
18822 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18827 #ifdef HAVE_COMPLEX_H
18828 #include <complex.h>
18834 int (*ptr)() = (int (*)())coshf;
18843 if ac_fn_c_try_link
"$LINENO"; then :
18844 gcc_cv_math_func_coshf
=yes
18846 gcc_cv_math_func_coshf
=no
18848 rm -f core conftest.err conftest.
$ac_objext \
18849 conftest
$ac_exeext conftest.
$ac_ext
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18852 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18853 if test $gcc_cv_math_func_coshf = yes; then
18855 cat >>confdefs.h
<<_ACEOF
18856 #define HAVE_COSHF 1
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18865 $as_echo_n "checking for cosh... " >&6; }
18866 if ${gcc_cv_math_func_cosh+:} false
; then :
18867 $as_echo_n "(cached) " >&6
18869 if test x
$gcc_no_link = xyes
; then
18870 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18875 #ifdef HAVE_COMPLEX_H
18876 #include <complex.h>
18882 int (*ptr)() = (int (*)())cosh;
18891 if ac_fn_c_try_link
"$LINENO"; then :
18892 gcc_cv_math_func_cosh
=yes
18894 gcc_cv_math_func_cosh
=no
18896 rm -f core conftest.err conftest.
$ac_objext \
18897 conftest
$ac_exeext conftest.
$ac_ext
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18900 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18901 if test $gcc_cv_math_func_cosh = yes; then
18903 cat >>confdefs.h
<<_ACEOF
18904 #define HAVE_COSH 1
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18913 $as_echo_n "checking for coshl... " >&6; }
18914 if ${gcc_cv_math_func_coshl+:} false
; then :
18915 $as_echo_n "(cached) " >&6
18917 if test x
$gcc_no_link = xyes
; then
18918 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18923 #ifdef HAVE_COMPLEX_H
18924 #include <complex.h>
18930 int (*ptr)() = (int (*)())coshl;
18939 if ac_fn_c_try_link
"$LINENO"; then :
18940 gcc_cv_math_func_coshl
=yes
18942 gcc_cv_math_func_coshl
=no
18944 rm -f core conftest.err conftest.
$ac_objext \
18945 conftest
$ac_exeext conftest.
$ac_ext
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18948 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18949 if test $gcc_cv_math_func_coshl = yes; then
18951 cat >>confdefs.h
<<_ACEOF
18952 #define HAVE_COSHL 1
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18961 $as_echo_n "checking for ccoshf... " >&6; }
18962 if ${gcc_cv_math_func_ccoshf+:} false
; then :
18963 $as_echo_n "(cached) " >&6
18965 if test x
$gcc_no_link = xyes
; then
18966 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18971 #ifdef HAVE_COMPLEX_H
18972 #include <complex.h>
18978 int (*ptr)() = (int (*)())ccoshf;
18987 if ac_fn_c_try_link
"$LINENO"; then :
18988 gcc_cv_math_func_ccoshf
=yes
18990 gcc_cv_math_func_ccoshf
=no
18992 rm -f core conftest.err conftest.
$ac_objext \
18993 conftest
$ac_exeext conftest.
$ac_ext
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18996 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18997 if test $gcc_cv_math_func_ccoshf = yes; then
18999 cat >>confdefs.h
<<_ACEOF
19000 #define HAVE_CCOSHF 1
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19009 $as_echo_n "checking for ccosh... " >&6; }
19010 if ${gcc_cv_math_func_ccosh+:} false
; then :
19011 $as_echo_n "(cached) " >&6
19013 if test x
$gcc_no_link = xyes
; then
19014 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19017 /* end confdefs.h. */
19019 #ifdef HAVE_COMPLEX_H
19020 #include <complex.h>
19026 int (*ptr)() = (int (*)())ccosh;
19035 if ac_fn_c_try_link
"$LINENO"; then :
19036 gcc_cv_math_func_ccosh
=yes
19038 gcc_cv_math_func_ccosh
=no
19040 rm -f core conftest.err conftest.
$ac_objext \
19041 conftest
$ac_exeext conftest.
$ac_ext
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19044 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19045 if test $gcc_cv_math_func_ccosh = yes; then
19047 cat >>confdefs.h
<<_ACEOF
19048 #define HAVE_CCOSH 1
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19057 $as_echo_n "checking for ccoshl... " >&6; }
19058 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19059 $as_echo_n "(cached) " >&6
19061 if test x
$gcc_no_link = xyes
; then
19062 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 #ifdef HAVE_COMPLEX_H
19068 #include <complex.h>
19074 int (*ptr)() = (int (*)())ccoshl;
19083 if ac_fn_c_try_link
"$LINENO"; then :
19084 gcc_cv_math_func_ccoshl
=yes
19086 gcc_cv_math_func_ccoshl
=no
19088 rm -f core conftest.err conftest.
$ac_objext \
19089 conftest
$ac_exeext conftest.
$ac_ext
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19092 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19093 if test $gcc_cv_math_func_ccoshl = yes; then
19095 cat >>confdefs.h
<<_ACEOF
19096 #define HAVE_CCOSHL 1
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19105 $as_echo_n "checking for expf... " >&6; }
19106 if ${gcc_cv_math_func_expf+:} false
; then :
19107 $as_echo_n "(cached) " >&6
19109 if test x
$gcc_no_link = xyes
; then
19110 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19115 #ifdef HAVE_COMPLEX_H
19116 #include <complex.h>
19122 int (*ptr)() = (int (*)())expf;
19131 if ac_fn_c_try_link
"$LINENO"; then :
19132 gcc_cv_math_func_expf
=yes
19134 gcc_cv_math_func_expf
=no
19136 rm -f core conftest.err conftest.
$ac_objext \
19137 conftest
$ac_exeext conftest.
$ac_ext
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19140 $as_echo "$gcc_cv_math_func_expf" >&6; }
19141 if test $gcc_cv_math_func_expf = yes; then
19143 cat >>confdefs.h
<<_ACEOF
19144 #define HAVE_EXPF 1
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19153 $as_echo_n "checking for exp... " >&6; }
19154 if ${gcc_cv_math_func_exp+:} false
; then :
19155 $as_echo_n "(cached) " >&6
19157 if test x
$gcc_no_link = xyes
; then
19158 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19163 #ifdef HAVE_COMPLEX_H
19164 #include <complex.h>
19170 int (*ptr)() = (int (*)())exp;
19179 if ac_fn_c_try_link
"$LINENO"; then :
19180 gcc_cv_math_func_exp
=yes
19182 gcc_cv_math_func_exp
=no
19184 rm -f core conftest.err conftest.
$ac_objext \
19185 conftest
$ac_exeext conftest.
$ac_ext
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19188 $as_echo "$gcc_cv_math_func_exp" >&6; }
19189 if test $gcc_cv_math_func_exp = yes; then
19191 cat >>confdefs.h
<<_ACEOF
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19201 $as_echo_n "checking for expl... " >&6; }
19202 if ${gcc_cv_math_func_expl+:} false
; then :
19203 $as_echo_n "(cached) " >&6
19205 if test x
$gcc_no_link = xyes
; then
19206 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19211 #ifdef HAVE_COMPLEX_H
19212 #include <complex.h>
19218 int (*ptr)() = (int (*)())expl;
19227 if ac_fn_c_try_link
"$LINENO"; then :
19228 gcc_cv_math_func_expl
=yes
19230 gcc_cv_math_func_expl
=no
19232 rm -f core conftest.err conftest.
$ac_objext \
19233 conftest
$ac_exeext conftest.
$ac_ext
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19236 $as_echo "$gcc_cv_math_func_expl" >&6; }
19237 if test $gcc_cv_math_func_expl = yes; then
19239 cat >>confdefs.h
<<_ACEOF
19240 #define HAVE_EXPL 1
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19249 $as_echo_n "checking for cexpf... " >&6; }
19250 if ${gcc_cv_math_func_cexpf+:} false
; then :
19251 $as_echo_n "(cached) " >&6
19253 if test x
$gcc_no_link = xyes
; then
19254 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19259 #ifdef HAVE_COMPLEX_H
19260 #include <complex.h>
19266 int (*ptr)() = (int (*)())cexpf;
19275 if ac_fn_c_try_link
"$LINENO"; then :
19276 gcc_cv_math_func_cexpf
=yes
19278 gcc_cv_math_func_cexpf
=no
19280 rm -f core conftest.err conftest.
$ac_objext \
19281 conftest
$ac_exeext conftest.
$ac_ext
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19284 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19285 if test $gcc_cv_math_func_cexpf = yes; then
19287 cat >>confdefs.h
<<_ACEOF
19288 #define HAVE_CEXPF 1
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19297 $as_echo_n "checking for cexp... " >&6; }
19298 if ${gcc_cv_math_func_cexp+:} false
; then :
19299 $as_echo_n "(cached) " >&6
19301 if test x
$gcc_no_link = xyes
; then
19302 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19307 #ifdef HAVE_COMPLEX_H
19308 #include <complex.h>
19314 int (*ptr)() = (int (*)())cexp;
19323 if ac_fn_c_try_link
"$LINENO"; then :
19324 gcc_cv_math_func_cexp
=yes
19326 gcc_cv_math_func_cexp
=no
19328 rm -f core conftest.err conftest.
$ac_objext \
19329 conftest
$ac_exeext conftest.
$ac_ext
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19332 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19333 if test $gcc_cv_math_func_cexp = yes; then
19335 cat >>confdefs.h
<<_ACEOF
19336 #define HAVE_CEXP 1
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19345 $as_echo_n "checking for cexpl... " >&6; }
19346 if ${gcc_cv_math_func_cexpl+:} false
; then :
19347 $as_echo_n "(cached) " >&6
19349 if test x
$gcc_no_link = xyes
; then
19350 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19355 #ifdef HAVE_COMPLEX_H
19356 #include <complex.h>
19362 int (*ptr)() = (int (*)())cexpl;
19371 if ac_fn_c_try_link
"$LINENO"; then :
19372 gcc_cv_math_func_cexpl
=yes
19374 gcc_cv_math_func_cexpl
=no
19376 rm -f core conftest.err conftest.
$ac_objext \
19377 conftest
$ac_exeext conftest.
$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19380 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19381 if test $gcc_cv_math_func_cexpl = yes; then
19383 cat >>confdefs.h
<<_ACEOF
19384 #define HAVE_CEXPL 1
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19393 $as_echo_n "checking for fabsf... " >&6; }
19394 if ${gcc_cv_math_func_fabsf+:} false
; then :
19395 $as_echo_n "(cached) " >&6
19397 if test x
$gcc_no_link = xyes
; then
19398 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19403 #ifdef HAVE_COMPLEX_H
19404 #include <complex.h>
19410 int (*ptr)() = (int (*)())fabsf;
19419 if ac_fn_c_try_link
"$LINENO"; then :
19420 gcc_cv_math_func_fabsf
=yes
19422 gcc_cv_math_func_fabsf
=no
19424 rm -f core conftest.err conftest.
$ac_objext \
19425 conftest
$ac_exeext conftest.
$ac_ext
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19428 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19429 if test $gcc_cv_math_func_fabsf = yes; then
19431 cat >>confdefs.h
<<_ACEOF
19432 #define HAVE_FABSF 1
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19441 $as_echo_n "checking for fabs... " >&6; }
19442 if ${gcc_cv_math_func_fabs+:} false
; then :
19443 $as_echo_n "(cached) " >&6
19445 if test x
$gcc_no_link = xyes
; then
19446 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19451 #ifdef HAVE_COMPLEX_H
19452 #include <complex.h>
19458 int (*ptr)() = (int (*)())fabs;
19467 if ac_fn_c_try_link
"$LINENO"; then :
19468 gcc_cv_math_func_fabs
=yes
19470 gcc_cv_math_func_fabs
=no
19472 rm -f core conftest.err conftest.
$ac_objext \
19473 conftest
$ac_exeext conftest.
$ac_ext
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19476 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19477 if test $gcc_cv_math_func_fabs = yes; then
19479 cat >>confdefs.h
<<_ACEOF
19480 #define HAVE_FABS 1
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19489 $as_echo_n "checking for fabsl... " >&6; }
19490 if ${gcc_cv_math_func_fabsl+:} false
; then :
19491 $as_echo_n "(cached) " >&6
19493 if test x
$gcc_no_link = xyes
; then
19494 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19499 #ifdef HAVE_COMPLEX_H
19500 #include <complex.h>
19506 int (*ptr)() = (int (*)())fabsl;
19515 if ac_fn_c_try_link
"$LINENO"; then :
19516 gcc_cv_math_func_fabsl
=yes
19518 gcc_cv_math_func_fabsl
=no
19520 rm -f core conftest.err conftest.
$ac_objext \
19521 conftest
$ac_exeext conftest.
$ac_ext
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19524 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19525 if test $gcc_cv_math_func_fabsl = yes; then
19527 cat >>confdefs.h
<<_ACEOF
19528 #define HAVE_FABSL 1
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19537 $as_echo_n "checking for cabsf... " >&6; }
19538 if ${gcc_cv_math_func_cabsf+:} false
; then :
19539 $as_echo_n "(cached) " >&6
19541 if test x
$gcc_no_link = xyes
; then
19542 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19547 #ifdef HAVE_COMPLEX_H
19548 #include <complex.h>
19554 int (*ptr)() = (int (*)())cabsf;
19563 if ac_fn_c_try_link
"$LINENO"; then :
19564 gcc_cv_math_func_cabsf
=yes
19566 gcc_cv_math_func_cabsf
=no
19568 rm -f core conftest.err conftest.
$ac_objext \
19569 conftest
$ac_exeext conftest.
$ac_ext
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19572 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19573 if test $gcc_cv_math_func_cabsf = yes; then
19575 cat >>confdefs.h
<<_ACEOF
19576 #define HAVE_CABSF 1
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19585 $as_echo_n "checking for cabs... " >&6; }
19586 if ${gcc_cv_math_func_cabs+:} false
; then :
19587 $as_echo_n "(cached) " >&6
19589 if test x
$gcc_no_link = xyes
; then
19590 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h. */
19595 #ifdef HAVE_COMPLEX_H
19596 #include <complex.h>
19602 int (*ptr)() = (int (*)())cabs;
19611 if ac_fn_c_try_link
"$LINENO"; then :
19612 gcc_cv_math_func_cabs
=yes
19614 gcc_cv_math_func_cabs
=no
19616 rm -f core conftest.err conftest.
$ac_objext \
19617 conftest
$ac_exeext conftest.
$ac_ext
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19620 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19621 if test $gcc_cv_math_func_cabs = yes; then
19623 cat >>confdefs.h
<<_ACEOF
19624 #define HAVE_CABS 1
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19633 $as_echo_n "checking for cabsl... " >&6; }
19634 if ${gcc_cv_math_func_cabsl+:} false
; then :
19635 $as_echo_n "(cached) " >&6
19637 if test x
$gcc_no_link = xyes
; then
19638 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19643 #ifdef HAVE_COMPLEX_H
19644 #include <complex.h>
19650 int (*ptr)() = (int (*)())cabsl;
19659 if ac_fn_c_try_link
"$LINENO"; then :
19660 gcc_cv_math_func_cabsl
=yes
19662 gcc_cv_math_func_cabsl
=no
19664 rm -f core conftest.err conftest.
$ac_objext \
19665 conftest
$ac_exeext conftest.
$ac_ext
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19668 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19669 if test $gcc_cv_math_func_cabsl = yes; then
19671 cat >>confdefs.h
<<_ACEOF
19672 #define HAVE_CABSL 1
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19681 $as_echo_n "checking for floorf... " >&6; }
19682 if ${gcc_cv_math_func_floorf+:} false
; then :
19683 $as_echo_n "(cached) " >&6
19685 if test x
$gcc_no_link = xyes
; then
19686 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19691 #ifdef HAVE_COMPLEX_H
19692 #include <complex.h>
19698 int (*ptr)() = (int (*)())floorf;
19707 if ac_fn_c_try_link
"$LINENO"; then :
19708 gcc_cv_math_func_floorf
=yes
19710 gcc_cv_math_func_floorf
=no
19712 rm -f core conftest.err conftest.
$ac_objext \
19713 conftest
$ac_exeext conftest.
$ac_ext
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19716 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19717 if test $gcc_cv_math_func_floorf = yes; then
19719 cat >>confdefs.h
<<_ACEOF
19720 #define HAVE_FLOORF 1
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19729 $as_echo_n "checking for floor... " >&6; }
19730 if ${gcc_cv_math_func_floor+:} false
; then :
19731 $as_echo_n "(cached) " >&6
19733 if test x
$gcc_no_link = xyes
; then
19734 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19739 #ifdef HAVE_COMPLEX_H
19740 #include <complex.h>
19746 int (*ptr)() = (int (*)())floor;
19755 if ac_fn_c_try_link
"$LINENO"; then :
19756 gcc_cv_math_func_floor
=yes
19758 gcc_cv_math_func_floor
=no
19760 rm -f core conftest.err conftest.
$ac_objext \
19761 conftest
$ac_exeext conftest.
$ac_ext
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19764 $as_echo "$gcc_cv_math_func_floor" >&6; }
19765 if test $gcc_cv_math_func_floor = yes; then
19767 cat >>confdefs.h
<<_ACEOF
19768 #define HAVE_FLOOR 1
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19777 $as_echo_n "checking for floorl... " >&6; }
19778 if ${gcc_cv_math_func_floorl+:} false
; then :
19779 $as_echo_n "(cached) " >&6
19781 if test x
$gcc_no_link = xyes
; then
19782 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h. */
19787 #ifdef HAVE_COMPLEX_H
19788 #include <complex.h>
19794 int (*ptr)() = (int (*)())floorl;
19803 if ac_fn_c_try_link
"$LINENO"; then :
19804 gcc_cv_math_func_floorl
=yes
19806 gcc_cv_math_func_floorl
=no
19808 rm -f core conftest.err conftest.
$ac_objext \
19809 conftest
$ac_exeext conftest.
$ac_ext
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19812 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19813 if test $gcc_cv_math_func_floorl = yes; then
19815 cat >>confdefs.h
<<_ACEOF
19816 #define HAVE_FLOORL 1
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19825 $as_echo_n "checking for fmodf... " >&6; }
19826 if ${gcc_cv_math_func_fmodf+:} false
; then :
19827 $as_echo_n "(cached) " >&6
19829 if test x
$gcc_no_link = xyes
; then
19830 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19835 #ifdef HAVE_COMPLEX_H
19836 #include <complex.h>
19842 int (*ptr)() = (int (*)())fmodf;
19851 if ac_fn_c_try_link
"$LINENO"; then :
19852 gcc_cv_math_func_fmodf
=yes
19854 gcc_cv_math_func_fmodf
=no
19856 rm -f core conftest.err conftest.
$ac_objext \
19857 conftest
$ac_exeext conftest.
$ac_ext
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19860 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19861 if test $gcc_cv_math_func_fmodf = yes; then
19863 cat >>confdefs.h
<<_ACEOF
19864 #define HAVE_FMODF 1
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19873 $as_echo_n "checking for fmod... " >&6; }
19874 if ${gcc_cv_math_func_fmod+:} false
; then :
19875 $as_echo_n "(cached) " >&6
19877 if test x
$gcc_no_link = xyes
; then
19878 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19883 #ifdef HAVE_COMPLEX_H
19884 #include <complex.h>
19890 int (*ptr)() = (int (*)())fmod;
19899 if ac_fn_c_try_link
"$LINENO"; then :
19900 gcc_cv_math_func_fmod
=yes
19902 gcc_cv_math_func_fmod
=no
19904 rm -f core conftest.err conftest.
$ac_objext \
19905 conftest
$ac_exeext conftest.
$ac_ext
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19908 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19909 if test $gcc_cv_math_func_fmod = yes; then
19911 cat >>confdefs.h
<<_ACEOF
19912 #define HAVE_FMOD 1
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19921 $as_echo_n "checking for fmodl... " >&6; }
19922 if ${gcc_cv_math_func_fmodl+:} false
; then :
19923 $as_echo_n "(cached) " >&6
19925 if test x
$gcc_no_link = xyes
; then
19926 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19931 #ifdef HAVE_COMPLEX_H
19932 #include <complex.h>
19938 int (*ptr)() = (int (*)())fmodl;
19947 if ac_fn_c_try_link
"$LINENO"; then :
19948 gcc_cv_math_func_fmodl
=yes
19950 gcc_cv_math_func_fmodl
=no
19952 rm -f core conftest.err conftest.
$ac_objext \
19953 conftest
$ac_exeext conftest.
$ac_ext
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19956 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19957 if test $gcc_cv_math_func_fmodl = yes; then
19959 cat >>confdefs.h
<<_ACEOF
19960 #define HAVE_FMODL 1
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19969 $as_echo_n "checking for frexpf... " >&6; }
19970 if ${gcc_cv_math_func_frexpf+:} false
; then :
19971 $as_echo_n "(cached) " >&6
19973 if test x
$gcc_no_link = xyes
; then
19974 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19979 #ifdef HAVE_COMPLEX_H
19980 #include <complex.h>
19986 int (*ptr)() = (int (*)())frexpf;
19995 if ac_fn_c_try_link
"$LINENO"; then :
19996 gcc_cv_math_func_frexpf
=yes
19998 gcc_cv_math_func_frexpf
=no
20000 rm -f core conftest.err conftest.
$ac_objext \
20001 conftest
$ac_exeext conftest.
$ac_ext
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20004 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20005 if test $gcc_cv_math_func_frexpf = yes; then
20007 cat >>confdefs.h
<<_ACEOF
20008 #define HAVE_FREXPF 1
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20017 $as_echo_n "checking for frexp... " >&6; }
20018 if ${gcc_cv_math_func_frexp+:} false
; then :
20019 $as_echo_n "(cached) " >&6
20021 if test x
$gcc_no_link = xyes
; then
20022 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20027 #ifdef HAVE_COMPLEX_H
20028 #include <complex.h>
20034 int (*ptr)() = (int (*)())frexp;
20043 if ac_fn_c_try_link
"$LINENO"; then :
20044 gcc_cv_math_func_frexp
=yes
20046 gcc_cv_math_func_frexp
=no
20048 rm -f core conftest.err conftest.
$ac_objext \
20049 conftest
$ac_exeext conftest.
$ac_ext
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20052 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20053 if test $gcc_cv_math_func_frexp = yes; then
20055 cat >>confdefs.h
<<_ACEOF
20056 #define HAVE_FREXP 1
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20065 $as_echo_n "checking for frexpl... " >&6; }
20066 if ${gcc_cv_math_func_frexpl+:} false
; then :
20067 $as_echo_n "(cached) " >&6
20069 if test x
$gcc_no_link = xyes
; then
20070 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20073 /* end confdefs.h. */
20075 #ifdef HAVE_COMPLEX_H
20076 #include <complex.h>
20082 int (*ptr)() = (int (*)())frexpl;
20091 if ac_fn_c_try_link
"$LINENO"; then :
20092 gcc_cv_math_func_frexpl
=yes
20094 gcc_cv_math_func_frexpl
=no
20096 rm -f core conftest.err conftest.
$ac_objext \
20097 conftest
$ac_exeext conftest.
$ac_ext
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20100 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20101 if test $gcc_cv_math_func_frexpl = yes; then
20103 cat >>confdefs.h
<<_ACEOF
20104 #define HAVE_FREXPL 1
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20113 $as_echo_n "checking for hypotf... " >&6; }
20114 if ${gcc_cv_math_func_hypotf+:} false
; then :
20115 $as_echo_n "(cached) " >&6
20117 if test x
$gcc_no_link = xyes
; then
20118 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20121 /* end confdefs.h. */
20123 #ifdef HAVE_COMPLEX_H
20124 #include <complex.h>
20130 int (*ptr)() = (int (*)())hypotf;
20139 if ac_fn_c_try_link
"$LINENO"; then :
20140 gcc_cv_math_func_hypotf
=yes
20142 gcc_cv_math_func_hypotf
=no
20144 rm -f core conftest.err conftest.
$ac_objext \
20145 conftest
$ac_exeext conftest.
$ac_ext
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20148 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20149 if test $gcc_cv_math_func_hypotf = yes; then
20151 cat >>confdefs.h
<<_ACEOF
20152 #define HAVE_HYPOTF 1
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20161 $as_echo_n "checking for hypot... " >&6; }
20162 if ${gcc_cv_math_func_hypot+:} false
; then :
20163 $as_echo_n "(cached) " >&6
20165 if test x
$gcc_no_link = xyes
; then
20166 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20171 #ifdef HAVE_COMPLEX_H
20172 #include <complex.h>
20178 int (*ptr)() = (int (*)())hypot;
20187 if ac_fn_c_try_link
"$LINENO"; then :
20188 gcc_cv_math_func_hypot
=yes
20190 gcc_cv_math_func_hypot
=no
20192 rm -f core conftest.err conftest.
$ac_objext \
20193 conftest
$ac_exeext conftest.
$ac_ext
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20196 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20197 if test $gcc_cv_math_func_hypot = yes; then
20199 cat >>confdefs.h
<<_ACEOF
20200 #define HAVE_HYPOT 1
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20209 $as_echo_n "checking for hypotl... " >&6; }
20210 if ${gcc_cv_math_func_hypotl+:} false
; then :
20211 $as_echo_n "(cached) " >&6
20213 if test x
$gcc_no_link = xyes
; then
20214 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20219 #ifdef HAVE_COMPLEX_H
20220 #include <complex.h>
20226 int (*ptr)() = (int (*)())hypotl;
20235 if ac_fn_c_try_link
"$LINENO"; then :
20236 gcc_cv_math_func_hypotl
=yes
20238 gcc_cv_math_func_hypotl
=no
20240 rm -f core conftest.err conftest.
$ac_objext \
20241 conftest
$ac_exeext conftest.
$ac_ext
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20244 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20245 if test $gcc_cv_math_func_hypotl = yes; then
20247 cat >>confdefs.h
<<_ACEOF
20248 #define HAVE_HYPOTL 1
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20257 $as_echo_n "checking for ldexpf... " >&6; }
20258 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20259 $as_echo_n "(cached) " >&6
20261 if test x
$gcc_no_link = xyes
; then
20262 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20267 #ifdef HAVE_COMPLEX_H
20268 #include <complex.h>
20274 int (*ptr)() = (int (*)())ldexpf;
20283 if ac_fn_c_try_link
"$LINENO"; then :
20284 gcc_cv_math_func_ldexpf
=yes
20286 gcc_cv_math_func_ldexpf
=no
20288 rm -f core conftest.err conftest.
$ac_objext \
20289 conftest
$ac_exeext conftest.
$ac_ext
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20292 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20293 if test $gcc_cv_math_func_ldexpf = yes; then
20295 cat >>confdefs.h
<<_ACEOF
20296 #define HAVE_LDEXPF 1
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20305 $as_echo_n "checking for ldexp... " >&6; }
20306 if ${gcc_cv_math_func_ldexp+:} false
; then :
20307 $as_echo_n "(cached) " >&6
20309 if test x
$gcc_no_link = xyes
; then
20310 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20315 #ifdef HAVE_COMPLEX_H
20316 #include <complex.h>
20322 int (*ptr)() = (int (*)())ldexp;
20331 if ac_fn_c_try_link
"$LINENO"; then :
20332 gcc_cv_math_func_ldexp
=yes
20334 gcc_cv_math_func_ldexp
=no
20336 rm -f core conftest.err conftest.
$ac_objext \
20337 conftest
$ac_exeext conftest.
$ac_ext
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20340 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20341 if test $gcc_cv_math_func_ldexp = yes; then
20343 cat >>confdefs.h
<<_ACEOF
20344 #define HAVE_LDEXP 1
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20353 $as_echo_n "checking for ldexpl... " >&6; }
20354 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20355 $as_echo_n "(cached) " >&6
20357 if test x
$gcc_no_link = xyes
; then
20358 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h. */
20363 #ifdef HAVE_COMPLEX_H
20364 #include <complex.h>
20370 int (*ptr)() = (int (*)())ldexpl;
20379 if ac_fn_c_try_link
"$LINENO"; then :
20380 gcc_cv_math_func_ldexpl
=yes
20382 gcc_cv_math_func_ldexpl
=no
20384 rm -f core conftest.err conftest.
$ac_objext \
20385 conftest
$ac_exeext conftest.
$ac_ext
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20388 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20389 if test $gcc_cv_math_func_ldexpl = yes; then
20391 cat >>confdefs.h
<<_ACEOF
20392 #define HAVE_LDEXPL 1
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20401 $as_echo_n "checking for logf... " >&6; }
20402 if ${gcc_cv_math_func_logf+:} false
; then :
20403 $as_echo_n "(cached) " >&6
20405 if test x
$gcc_no_link = xyes
; then
20406 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20409 /* end confdefs.h. */
20411 #ifdef HAVE_COMPLEX_H
20412 #include <complex.h>
20418 int (*ptr)() = (int (*)())logf;
20427 if ac_fn_c_try_link
"$LINENO"; then :
20428 gcc_cv_math_func_logf
=yes
20430 gcc_cv_math_func_logf
=no
20432 rm -f core conftest.err conftest.
$ac_objext \
20433 conftest
$ac_exeext conftest.
$ac_ext
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20436 $as_echo "$gcc_cv_math_func_logf" >&6; }
20437 if test $gcc_cv_math_func_logf = yes; then
20439 cat >>confdefs.h
<<_ACEOF
20440 #define HAVE_LOGF 1
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20449 $as_echo_n "checking for log... " >&6; }
20450 if ${gcc_cv_math_func_log+:} false
; then :
20451 $as_echo_n "(cached) " >&6
20453 if test x
$gcc_no_link = xyes
; then
20454 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20459 #ifdef HAVE_COMPLEX_H
20460 #include <complex.h>
20466 int (*ptr)() = (int (*)())log;
20475 if ac_fn_c_try_link
"$LINENO"; then :
20476 gcc_cv_math_func_log
=yes
20478 gcc_cv_math_func_log
=no
20480 rm -f core conftest.err conftest.
$ac_objext \
20481 conftest
$ac_exeext conftest.
$ac_ext
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20484 $as_echo "$gcc_cv_math_func_log" >&6; }
20485 if test $gcc_cv_math_func_log = yes; then
20487 cat >>confdefs.h
<<_ACEOF
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20497 $as_echo_n "checking for logl... " >&6; }
20498 if ${gcc_cv_math_func_logl+:} false
; then :
20499 $as_echo_n "(cached) " >&6
20501 if test x
$gcc_no_link = xyes
; then
20502 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20505 /* end confdefs.h. */
20507 #ifdef HAVE_COMPLEX_H
20508 #include <complex.h>
20514 int (*ptr)() = (int (*)())logl;
20523 if ac_fn_c_try_link
"$LINENO"; then :
20524 gcc_cv_math_func_logl
=yes
20526 gcc_cv_math_func_logl
=no
20528 rm -f core conftest.err conftest.
$ac_objext \
20529 conftest
$ac_exeext conftest.
$ac_ext
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20532 $as_echo "$gcc_cv_math_func_logl" >&6; }
20533 if test $gcc_cv_math_func_logl = yes; then
20535 cat >>confdefs.h
<<_ACEOF
20536 #define HAVE_LOGL 1
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20545 $as_echo_n "checking for clogf... " >&6; }
20546 if ${gcc_cv_math_func_clogf+:} false
; then :
20547 $as_echo_n "(cached) " >&6
20549 if test x
$gcc_no_link = xyes
; then
20550 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h. */
20555 #ifdef HAVE_COMPLEX_H
20556 #include <complex.h>
20562 int (*ptr)() = (int (*)())clogf;
20571 if ac_fn_c_try_link
"$LINENO"; then :
20572 gcc_cv_math_func_clogf
=yes
20574 gcc_cv_math_func_clogf
=no
20576 rm -f core conftest.err conftest.
$ac_objext \
20577 conftest
$ac_exeext conftest.
$ac_ext
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20580 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20581 if test $gcc_cv_math_func_clogf = yes; then
20583 cat >>confdefs.h
<<_ACEOF
20584 #define HAVE_CLOGF 1
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20593 $as_echo_n "checking for clog... " >&6; }
20594 if ${gcc_cv_math_func_clog+:} false
; then :
20595 $as_echo_n "(cached) " >&6
20597 if test x
$gcc_no_link = xyes
; then
20598 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20603 #ifdef HAVE_COMPLEX_H
20604 #include <complex.h>
20610 int (*ptr)() = (int (*)())clog;
20619 if ac_fn_c_try_link
"$LINENO"; then :
20620 gcc_cv_math_func_clog
=yes
20622 gcc_cv_math_func_clog
=no
20624 rm -f core conftest.err conftest.
$ac_objext \
20625 conftest
$ac_exeext conftest.
$ac_ext
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20628 $as_echo "$gcc_cv_math_func_clog" >&6; }
20629 if test $gcc_cv_math_func_clog = yes; then
20631 cat >>confdefs.h
<<_ACEOF
20632 #define HAVE_CLOG 1
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20641 $as_echo_n "checking for clogl... " >&6; }
20642 if ${gcc_cv_math_func_clogl+:} false
; then :
20643 $as_echo_n "(cached) " >&6
20645 if test x
$gcc_no_link = xyes
; then
20646 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20651 #ifdef HAVE_COMPLEX_H
20652 #include <complex.h>
20658 int (*ptr)() = (int (*)())clogl;
20667 if ac_fn_c_try_link
"$LINENO"; then :
20668 gcc_cv_math_func_clogl
=yes
20670 gcc_cv_math_func_clogl
=no
20672 rm -f core conftest.err conftest.
$ac_objext \
20673 conftest
$ac_exeext conftest.
$ac_ext
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20676 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20677 if test $gcc_cv_math_func_clogl = yes; then
20679 cat >>confdefs.h
<<_ACEOF
20680 #define HAVE_CLOGL 1
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20689 $as_echo_n "checking for log10f... " >&6; }
20690 if ${gcc_cv_math_func_log10f+:} false
; then :
20691 $as_echo_n "(cached) " >&6
20693 if test x
$gcc_no_link = xyes
; then
20694 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h. */
20699 #ifdef HAVE_COMPLEX_H
20700 #include <complex.h>
20706 int (*ptr)() = (int (*)())log10f;
20715 if ac_fn_c_try_link
"$LINENO"; then :
20716 gcc_cv_math_func_log10f
=yes
20718 gcc_cv_math_func_log10f
=no
20720 rm -f core conftest.err conftest.
$ac_objext \
20721 conftest
$ac_exeext conftest.
$ac_ext
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20724 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20725 if test $gcc_cv_math_func_log10f = yes; then
20727 cat >>confdefs.h
<<_ACEOF
20728 #define HAVE_LOG10F 1
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20737 $as_echo_n "checking for log10... " >&6; }
20738 if ${gcc_cv_math_func_log10+:} false
; then :
20739 $as_echo_n "(cached) " >&6
20741 if test x
$gcc_no_link = xyes
; then
20742 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20747 #ifdef HAVE_COMPLEX_H
20748 #include <complex.h>
20754 int (*ptr)() = (int (*)())log10;
20763 if ac_fn_c_try_link
"$LINENO"; then :
20764 gcc_cv_math_func_log10
=yes
20766 gcc_cv_math_func_log10
=no
20768 rm -f core conftest.err conftest.
$ac_objext \
20769 conftest
$ac_exeext conftest.
$ac_ext
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20772 $as_echo "$gcc_cv_math_func_log10" >&6; }
20773 if test $gcc_cv_math_func_log10 = yes; then
20775 cat >>confdefs.h
<<_ACEOF
20776 #define HAVE_LOG10 1
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20785 $as_echo_n "checking for log10l... " >&6; }
20786 if ${gcc_cv_math_func_log10l+:} false
; then :
20787 $as_echo_n "(cached) " >&6
20789 if test x
$gcc_no_link = xyes
; then
20790 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20793 /* end confdefs.h. */
20795 #ifdef HAVE_COMPLEX_H
20796 #include <complex.h>
20802 int (*ptr)() = (int (*)())log10l;
20811 if ac_fn_c_try_link
"$LINENO"; then :
20812 gcc_cv_math_func_log10l
=yes
20814 gcc_cv_math_func_log10l
=no
20816 rm -f core conftest.err conftest.
$ac_objext \
20817 conftest
$ac_exeext conftest.
$ac_ext
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20820 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20821 if test $gcc_cv_math_func_log10l = yes; then
20823 cat >>confdefs.h
<<_ACEOF
20824 #define HAVE_LOG10L 1
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20833 $as_echo_n "checking for clog10f... " >&6; }
20834 if ${gcc_cv_math_func_clog10f+:} false
; then :
20835 $as_echo_n "(cached) " >&6
20837 if test x
$gcc_no_link = xyes
; then
20838 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20843 #ifdef HAVE_COMPLEX_H
20844 #include <complex.h>
20850 int (*ptr)() = (int (*)())clog10f;
20859 if ac_fn_c_try_link
"$LINENO"; then :
20860 gcc_cv_math_func_clog10f
=yes
20862 gcc_cv_math_func_clog10f
=no
20864 rm -f core conftest.err conftest.
$ac_objext \
20865 conftest
$ac_exeext conftest.
$ac_ext
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20868 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20869 if test $gcc_cv_math_func_clog10f = yes; then
20871 cat >>confdefs.h
<<_ACEOF
20872 #define HAVE_CLOG10F 1
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20881 $as_echo_n "checking for clog10... " >&6; }
20882 if ${gcc_cv_math_func_clog10+:} false
; then :
20883 $as_echo_n "(cached) " >&6
20885 if test x
$gcc_no_link = xyes
; then
20886 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20891 #ifdef HAVE_COMPLEX_H
20892 #include <complex.h>
20898 int (*ptr)() = (int (*)())clog10;
20907 if ac_fn_c_try_link
"$LINENO"; then :
20908 gcc_cv_math_func_clog10
=yes
20910 gcc_cv_math_func_clog10
=no
20912 rm -f core conftest.err conftest.
$ac_objext \
20913 conftest
$ac_exeext conftest.
$ac_ext
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20916 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20917 if test $gcc_cv_math_func_clog10 = yes; then
20919 cat >>confdefs.h
<<_ACEOF
20920 #define HAVE_CLOG10 1
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20929 $as_echo_n "checking for clog10l... " >&6; }
20930 if ${gcc_cv_math_func_clog10l+:} false
; then :
20931 $as_echo_n "(cached) " >&6
20933 if test x
$gcc_no_link = xyes
; then
20934 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20939 #ifdef HAVE_COMPLEX_H
20940 #include <complex.h>
20946 int (*ptr)() = (int (*)())clog10l;
20955 if ac_fn_c_try_link
"$LINENO"; then :
20956 gcc_cv_math_func_clog10l
=yes
20958 gcc_cv_math_func_clog10l
=no
20960 rm -f core conftest.err conftest.
$ac_objext \
20961 conftest
$ac_exeext conftest.
$ac_ext
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20964 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20965 if test $gcc_cv_math_func_clog10l = yes; then
20967 cat >>confdefs.h
<<_ACEOF
20968 #define HAVE_CLOG10L 1
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20977 $as_echo_n "checking for nextafterf... " >&6; }
20978 if ${gcc_cv_math_func_nextafterf+:} false
; then :
20979 $as_echo_n "(cached) " >&6
20981 if test x
$gcc_no_link = xyes
; then
20982 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20985 /* end confdefs.h. */
20987 #ifdef HAVE_COMPLEX_H
20988 #include <complex.h>
20994 int (*ptr)() = (int (*)())nextafterf;
21003 if ac_fn_c_try_link
"$LINENO"; then :
21004 gcc_cv_math_func_nextafterf
=yes
21006 gcc_cv_math_func_nextafterf
=no
21008 rm -f core conftest.err conftest.
$ac_objext \
21009 conftest
$ac_exeext conftest.
$ac_ext
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21012 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21013 if test $gcc_cv_math_func_nextafterf = yes; then
21015 cat >>confdefs.h
<<_ACEOF
21016 #define HAVE_NEXTAFTERF 1
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21025 $as_echo_n "checking for nextafter... " >&6; }
21026 if ${gcc_cv_math_func_nextafter+:} false
; then :
21027 $as_echo_n "(cached) " >&6
21029 if test x
$gcc_no_link = xyes
; then
21030 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21035 #ifdef HAVE_COMPLEX_H
21036 #include <complex.h>
21042 int (*ptr)() = (int (*)())nextafter;
21051 if ac_fn_c_try_link
"$LINENO"; then :
21052 gcc_cv_math_func_nextafter
=yes
21054 gcc_cv_math_func_nextafter
=no
21056 rm -f core conftest.err conftest.
$ac_objext \
21057 conftest
$ac_exeext conftest.
$ac_ext
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21060 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21061 if test $gcc_cv_math_func_nextafter = yes; then
21063 cat >>confdefs.h
<<_ACEOF
21064 #define HAVE_NEXTAFTER 1
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21073 $as_echo_n "checking for nextafterl... " >&6; }
21074 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21075 $as_echo_n "(cached) " >&6
21077 if test x
$gcc_no_link = xyes
; then
21078 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21081 /* end confdefs.h. */
21083 #ifdef HAVE_COMPLEX_H
21084 #include <complex.h>
21090 int (*ptr)() = (int (*)())nextafterl;
21099 if ac_fn_c_try_link
"$LINENO"; then :
21100 gcc_cv_math_func_nextafterl
=yes
21102 gcc_cv_math_func_nextafterl
=no
21104 rm -f core conftest.err conftest.
$ac_objext \
21105 conftest
$ac_exeext conftest.
$ac_ext
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21108 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21109 if test $gcc_cv_math_func_nextafterl = yes; then
21111 cat >>confdefs.h
<<_ACEOF
21112 #define HAVE_NEXTAFTERL 1
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21121 $as_echo_n "checking for powf... " >&6; }
21122 if ${gcc_cv_math_func_powf+:} false
; then :
21123 $as_echo_n "(cached) " >&6
21125 if test x
$gcc_no_link = xyes
; then
21126 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21131 #ifdef HAVE_COMPLEX_H
21132 #include <complex.h>
21138 int (*ptr)() = (int (*)())powf;
21147 if ac_fn_c_try_link
"$LINENO"; then :
21148 gcc_cv_math_func_powf
=yes
21150 gcc_cv_math_func_powf
=no
21152 rm -f core conftest.err conftest.
$ac_objext \
21153 conftest
$ac_exeext conftest.
$ac_ext
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21156 $as_echo "$gcc_cv_math_func_powf" >&6; }
21157 if test $gcc_cv_math_func_powf = yes; then
21159 cat >>confdefs.h
<<_ACEOF
21160 #define HAVE_POWF 1
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21169 $as_echo_n "checking for pow... " >&6; }
21170 if ${gcc_cv_math_func_pow+:} false
; then :
21171 $as_echo_n "(cached) " >&6
21173 if test x
$gcc_no_link = xyes
; then
21174 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h. */
21179 #ifdef HAVE_COMPLEX_H
21180 #include <complex.h>
21186 int (*ptr)() = (int (*)())pow;
21195 if ac_fn_c_try_link
"$LINENO"; then :
21196 gcc_cv_math_func_pow
=yes
21198 gcc_cv_math_func_pow
=no
21200 rm -f core conftest.err conftest.
$ac_objext \
21201 conftest
$ac_exeext conftest.
$ac_ext
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21204 $as_echo "$gcc_cv_math_func_pow" >&6; }
21205 if test $gcc_cv_math_func_pow = yes; then
21207 cat >>confdefs.h
<<_ACEOF
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21217 $as_echo_n "checking for cpowf... " >&6; }
21218 if ${gcc_cv_math_func_cpowf+:} false
; then :
21219 $as_echo_n "(cached) " >&6
21221 if test x
$gcc_no_link = xyes
; then
21222 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21227 #ifdef HAVE_COMPLEX_H
21228 #include <complex.h>
21234 int (*ptr)() = (int (*)())cpowf;
21243 if ac_fn_c_try_link
"$LINENO"; then :
21244 gcc_cv_math_func_cpowf
=yes
21246 gcc_cv_math_func_cpowf
=no
21248 rm -f core conftest.err conftest.
$ac_objext \
21249 conftest
$ac_exeext conftest.
$ac_ext
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21252 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21253 if test $gcc_cv_math_func_cpowf = yes; then
21255 cat >>confdefs.h
<<_ACEOF
21256 #define HAVE_CPOWF 1
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21265 $as_echo_n "checking for cpow... " >&6; }
21266 if ${gcc_cv_math_func_cpow+:} false
; then :
21267 $as_echo_n "(cached) " >&6
21269 if test x
$gcc_no_link = xyes
; then
21270 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21275 #ifdef HAVE_COMPLEX_H
21276 #include <complex.h>
21282 int (*ptr)() = (int (*)())cpow;
21291 if ac_fn_c_try_link
"$LINENO"; then :
21292 gcc_cv_math_func_cpow
=yes
21294 gcc_cv_math_func_cpow
=no
21296 rm -f core conftest.err conftest.
$ac_objext \
21297 conftest
$ac_exeext conftest.
$ac_ext
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21300 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21301 if test $gcc_cv_math_func_cpow = yes; then
21303 cat >>confdefs.h
<<_ACEOF
21304 #define HAVE_CPOW 1
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21313 $as_echo_n "checking for cpowl... " >&6; }
21314 if ${gcc_cv_math_func_cpowl+:} false
; then :
21315 $as_echo_n "(cached) " >&6
21317 if test x
$gcc_no_link = xyes
; then
21318 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21321 /* end confdefs.h. */
21323 #ifdef HAVE_COMPLEX_H
21324 #include <complex.h>
21330 int (*ptr)() = (int (*)())cpowl;
21339 if ac_fn_c_try_link
"$LINENO"; then :
21340 gcc_cv_math_func_cpowl
=yes
21342 gcc_cv_math_func_cpowl
=no
21344 rm -f core conftest.err conftest.
$ac_objext \
21345 conftest
$ac_exeext conftest.
$ac_ext
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21348 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21349 if test $gcc_cv_math_func_cpowl = yes; then
21351 cat >>confdefs.h
<<_ACEOF
21352 #define HAVE_CPOWL 1
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21361 $as_echo_n "checking for roundf... " >&6; }
21362 if ${gcc_cv_math_func_roundf+:} false
; then :
21363 $as_echo_n "(cached) " >&6
21365 if test x
$gcc_no_link = xyes
; then
21366 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21371 #ifdef HAVE_COMPLEX_H
21372 #include <complex.h>
21378 int (*ptr)() = (int (*)())roundf;
21387 if ac_fn_c_try_link
"$LINENO"; then :
21388 gcc_cv_math_func_roundf
=yes
21390 gcc_cv_math_func_roundf
=no
21392 rm -f core conftest.err conftest.
$ac_objext \
21393 conftest
$ac_exeext conftest.
$ac_ext
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21396 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21397 if test $gcc_cv_math_func_roundf = yes; then
21399 cat >>confdefs.h
<<_ACEOF
21400 #define HAVE_ROUNDF 1
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21409 $as_echo_n "checking for round... " >&6; }
21410 if ${gcc_cv_math_func_round+:} false
; then :
21411 $as_echo_n "(cached) " >&6
21413 if test x
$gcc_no_link = xyes
; then
21414 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21417 /* end confdefs.h. */
21419 #ifdef HAVE_COMPLEX_H
21420 #include <complex.h>
21426 int (*ptr)() = (int (*)())round;
21435 if ac_fn_c_try_link
"$LINENO"; then :
21436 gcc_cv_math_func_round
=yes
21438 gcc_cv_math_func_round
=no
21440 rm -f core conftest.err conftest.
$ac_objext \
21441 conftest
$ac_exeext conftest.
$ac_ext
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21444 $as_echo "$gcc_cv_math_func_round" >&6; }
21445 if test $gcc_cv_math_func_round = yes; then
21447 cat >>confdefs.h
<<_ACEOF
21448 #define HAVE_ROUND 1
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21457 $as_echo_n "checking for roundl... " >&6; }
21458 if ${gcc_cv_math_func_roundl+:} false
; then :
21459 $as_echo_n "(cached) " >&6
21461 if test x
$gcc_no_link = xyes
; then
21462 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21467 #ifdef HAVE_COMPLEX_H
21468 #include <complex.h>
21474 int (*ptr)() = (int (*)())roundl;
21483 if ac_fn_c_try_link
"$LINENO"; then :
21484 gcc_cv_math_func_roundl
=yes
21486 gcc_cv_math_func_roundl
=no
21488 rm -f core conftest.err conftest.
$ac_objext \
21489 conftest
$ac_exeext conftest.
$ac_ext
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21492 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21493 if test $gcc_cv_math_func_roundl = yes; then
21495 cat >>confdefs.h
<<_ACEOF
21496 #define HAVE_ROUNDL 1
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21505 $as_echo_n "checking for lroundf... " >&6; }
21506 if ${gcc_cv_math_func_lroundf+:} false
; then :
21507 $as_echo_n "(cached) " >&6
21509 if test x
$gcc_no_link = xyes
; then
21510 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21515 #ifdef HAVE_COMPLEX_H
21516 #include <complex.h>
21522 int (*ptr)() = (int (*)())lroundf;
21531 if ac_fn_c_try_link
"$LINENO"; then :
21532 gcc_cv_math_func_lroundf
=yes
21534 gcc_cv_math_func_lroundf
=no
21536 rm -f core conftest.err conftest.
$ac_objext \
21537 conftest
$ac_exeext conftest.
$ac_ext
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21540 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21541 if test $gcc_cv_math_func_lroundf = yes; then
21543 cat >>confdefs.h
<<_ACEOF
21544 #define HAVE_LROUNDF 1
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21553 $as_echo_n "checking for lround... " >&6; }
21554 if ${gcc_cv_math_func_lround+:} false
; then :
21555 $as_echo_n "(cached) " >&6
21557 if test x
$gcc_no_link = xyes
; then
21558 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21563 #ifdef HAVE_COMPLEX_H
21564 #include <complex.h>
21570 int (*ptr)() = (int (*)())lround;
21579 if ac_fn_c_try_link
"$LINENO"; then :
21580 gcc_cv_math_func_lround
=yes
21582 gcc_cv_math_func_lround
=no
21584 rm -f core conftest.err conftest.
$ac_objext \
21585 conftest
$ac_exeext conftest.
$ac_ext
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21588 $as_echo "$gcc_cv_math_func_lround" >&6; }
21589 if test $gcc_cv_math_func_lround = yes; then
21591 cat >>confdefs.h
<<_ACEOF
21592 #define HAVE_LROUND 1
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21601 $as_echo_n "checking for lroundl... " >&6; }
21602 if ${gcc_cv_math_func_lroundl+:} false
; then :
21603 $as_echo_n "(cached) " >&6
21605 if test x
$gcc_no_link = xyes
; then
21606 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21611 #ifdef HAVE_COMPLEX_H
21612 #include <complex.h>
21618 int (*ptr)() = (int (*)())lroundl;
21627 if ac_fn_c_try_link
"$LINENO"; then :
21628 gcc_cv_math_func_lroundl
=yes
21630 gcc_cv_math_func_lroundl
=no
21632 rm -f core conftest.err conftest.
$ac_objext \
21633 conftest
$ac_exeext conftest.
$ac_ext
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21636 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21637 if test $gcc_cv_math_func_lroundl = yes; then
21639 cat >>confdefs.h
<<_ACEOF
21640 #define HAVE_LROUNDL 1
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21649 $as_echo_n "checking for llroundf... " >&6; }
21650 if ${gcc_cv_math_func_llroundf+:} false
; then :
21651 $as_echo_n "(cached) " >&6
21653 if test x
$gcc_no_link = xyes
; then
21654 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21659 #ifdef HAVE_COMPLEX_H
21660 #include <complex.h>
21666 int (*ptr)() = (int (*)())llroundf;
21675 if ac_fn_c_try_link
"$LINENO"; then :
21676 gcc_cv_math_func_llroundf
=yes
21678 gcc_cv_math_func_llroundf
=no
21680 rm -f core conftest.err conftest.
$ac_objext \
21681 conftest
$ac_exeext conftest.
$ac_ext
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21684 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21685 if test $gcc_cv_math_func_llroundf = yes; then
21687 cat >>confdefs.h
<<_ACEOF
21688 #define HAVE_LLROUNDF 1
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21697 $as_echo_n "checking for llround... " >&6; }
21698 if ${gcc_cv_math_func_llround+:} false
; then :
21699 $as_echo_n "(cached) " >&6
21701 if test x
$gcc_no_link = xyes
; then
21702 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21705 /* end confdefs.h. */
21707 #ifdef HAVE_COMPLEX_H
21708 #include <complex.h>
21714 int (*ptr)() = (int (*)())llround;
21723 if ac_fn_c_try_link
"$LINENO"; then :
21724 gcc_cv_math_func_llround
=yes
21726 gcc_cv_math_func_llround
=no
21728 rm -f core conftest.err conftest.
$ac_objext \
21729 conftest
$ac_exeext conftest.
$ac_ext
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21732 $as_echo "$gcc_cv_math_func_llround" >&6; }
21733 if test $gcc_cv_math_func_llround = yes; then
21735 cat >>confdefs.h
<<_ACEOF
21736 #define HAVE_LLROUND 1
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21745 $as_echo_n "checking for llroundl... " >&6; }
21746 if ${gcc_cv_math_func_llroundl+:} false
; then :
21747 $as_echo_n "(cached) " >&6
21749 if test x
$gcc_no_link = xyes
; then
21750 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21753 /* end confdefs.h. */
21755 #ifdef HAVE_COMPLEX_H
21756 #include <complex.h>
21762 int (*ptr)() = (int (*)())llroundl;
21771 if ac_fn_c_try_link
"$LINENO"; then :
21772 gcc_cv_math_func_llroundl
=yes
21774 gcc_cv_math_func_llroundl
=no
21776 rm -f core conftest.err conftest.
$ac_objext \
21777 conftest
$ac_exeext conftest.
$ac_ext
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21780 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21781 if test $gcc_cv_math_func_llroundl = yes; then
21783 cat >>confdefs.h
<<_ACEOF
21784 #define HAVE_LLROUNDL 1
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21793 $as_echo_n "checking for scalbnf... " >&6; }
21794 if ${gcc_cv_math_func_scalbnf+:} false
; then :
21795 $as_echo_n "(cached) " >&6
21797 if test x
$gcc_no_link = xyes
; then
21798 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21801 /* end confdefs.h. */
21803 #ifdef HAVE_COMPLEX_H
21804 #include <complex.h>
21810 int (*ptr)() = (int (*)())scalbnf;
21819 if ac_fn_c_try_link
"$LINENO"; then :
21820 gcc_cv_math_func_scalbnf
=yes
21822 gcc_cv_math_func_scalbnf
=no
21824 rm -f core conftest.err conftest.
$ac_objext \
21825 conftest
$ac_exeext conftest.
$ac_ext
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21828 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21829 if test $gcc_cv_math_func_scalbnf = yes; then
21831 cat >>confdefs.h
<<_ACEOF
21832 #define HAVE_SCALBNF 1
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21841 $as_echo_n "checking for scalbn... " >&6; }
21842 if ${gcc_cv_math_func_scalbn+:} false
; then :
21843 $as_echo_n "(cached) " >&6
21845 if test x
$gcc_no_link = xyes
; then
21846 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21851 #ifdef HAVE_COMPLEX_H
21852 #include <complex.h>
21858 int (*ptr)() = (int (*)())scalbn;
21867 if ac_fn_c_try_link
"$LINENO"; then :
21868 gcc_cv_math_func_scalbn
=yes
21870 gcc_cv_math_func_scalbn
=no
21872 rm -f core conftest.err conftest.
$ac_objext \
21873 conftest
$ac_exeext conftest.
$ac_ext
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21876 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21877 if test $gcc_cv_math_func_scalbn = yes; then
21879 cat >>confdefs.h
<<_ACEOF
21880 #define HAVE_SCALBN 1
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21889 $as_echo_n "checking for scalbnl... " >&6; }
21890 if ${gcc_cv_math_func_scalbnl+:} false
; then :
21891 $as_echo_n "(cached) " >&6
21893 if test x
$gcc_no_link = xyes
; then
21894 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21897 /* end confdefs.h. */
21899 #ifdef HAVE_COMPLEX_H
21900 #include <complex.h>
21906 int (*ptr)() = (int (*)())scalbnl;
21915 if ac_fn_c_try_link
"$LINENO"; then :
21916 gcc_cv_math_func_scalbnl
=yes
21918 gcc_cv_math_func_scalbnl
=no
21920 rm -f core conftest.err conftest.
$ac_objext \
21921 conftest
$ac_exeext conftest.
$ac_ext
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21924 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21925 if test $gcc_cv_math_func_scalbnl = yes; then
21927 cat >>confdefs.h
<<_ACEOF
21928 #define HAVE_SCALBNL 1
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21937 $as_echo_n "checking for sinf... " >&6; }
21938 if ${gcc_cv_math_func_sinf+:} false
; then :
21939 $as_echo_n "(cached) " >&6
21941 if test x
$gcc_no_link = xyes
; then
21942 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21945 /* end confdefs.h. */
21947 #ifdef HAVE_COMPLEX_H
21948 #include <complex.h>
21954 int (*ptr)() = (int (*)())sinf;
21963 if ac_fn_c_try_link
"$LINENO"; then :
21964 gcc_cv_math_func_sinf
=yes
21966 gcc_cv_math_func_sinf
=no
21968 rm -f core conftest.err conftest.
$ac_objext \
21969 conftest
$ac_exeext conftest.
$ac_ext
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21972 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21973 if test $gcc_cv_math_func_sinf = yes; then
21975 cat >>confdefs.h
<<_ACEOF
21976 #define HAVE_SINF 1
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21985 $as_echo_n "checking for sin... " >&6; }
21986 if ${gcc_cv_math_func_sin+:} false
; then :
21987 $as_echo_n "(cached) " >&6
21989 if test x
$gcc_no_link = xyes
; then
21990 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21993 /* end confdefs.h. */
21995 #ifdef HAVE_COMPLEX_H
21996 #include <complex.h>
22002 int (*ptr)() = (int (*)())sin;
22011 if ac_fn_c_try_link
"$LINENO"; then :
22012 gcc_cv_math_func_sin
=yes
22014 gcc_cv_math_func_sin
=no
22016 rm -f core conftest.err conftest.
$ac_objext \
22017 conftest
$ac_exeext conftest.
$ac_ext
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22020 $as_echo "$gcc_cv_math_func_sin" >&6; }
22021 if test $gcc_cv_math_func_sin = yes; then
22023 cat >>confdefs.h
<<_ACEOF
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22033 $as_echo_n "checking for sinl... " >&6; }
22034 if ${gcc_cv_math_func_sinl+:} false
; then :
22035 $as_echo_n "(cached) " >&6
22037 if test x
$gcc_no_link = xyes
; then
22038 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h. */
22043 #ifdef HAVE_COMPLEX_H
22044 #include <complex.h>
22050 int (*ptr)() = (int (*)())sinl;
22059 if ac_fn_c_try_link
"$LINENO"; then :
22060 gcc_cv_math_func_sinl
=yes
22062 gcc_cv_math_func_sinl
=no
22064 rm -f core conftest.err conftest.
$ac_objext \
22065 conftest
$ac_exeext conftest.
$ac_ext
22067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22068 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22069 if test $gcc_cv_math_func_sinl = yes; then
22071 cat >>confdefs.h
<<_ACEOF
22072 #define HAVE_SINL 1
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22081 $as_echo_n "checking for csinf... " >&6; }
22082 if ${gcc_cv_math_func_csinf+:} false
; then :
22083 $as_echo_n "(cached) " >&6
22085 if test x
$gcc_no_link = xyes
; then
22086 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22089 /* end confdefs.h. */
22091 #ifdef HAVE_COMPLEX_H
22092 #include <complex.h>
22098 int (*ptr)() = (int (*)())csinf;
22107 if ac_fn_c_try_link
"$LINENO"; then :
22108 gcc_cv_math_func_csinf
=yes
22110 gcc_cv_math_func_csinf
=no
22112 rm -f core conftest.err conftest.
$ac_objext \
22113 conftest
$ac_exeext conftest.
$ac_ext
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22116 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22117 if test $gcc_cv_math_func_csinf = yes; then
22119 cat >>confdefs.h
<<_ACEOF
22120 #define HAVE_CSINF 1
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22129 $as_echo_n "checking for csin... " >&6; }
22130 if ${gcc_cv_math_func_csin+:} false
; then :
22131 $as_echo_n "(cached) " >&6
22133 if test x
$gcc_no_link = xyes
; then
22134 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22137 /* end confdefs.h. */
22139 #ifdef HAVE_COMPLEX_H
22140 #include <complex.h>
22146 int (*ptr)() = (int (*)())csin;
22155 if ac_fn_c_try_link
"$LINENO"; then :
22156 gcc_cv_math_func_csin
=yes
22158 gcc_cv_math_func_csin
=no
22160 rm -f core conftest.err conftest.
$ac_objext \
22161 conftest
$ac_exeext conftest.
$ac_ext
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22164 $as_echo "$gcc_cv_math_func_csin" >&6; }
22165 if test $gcc_cv_math_func_csin = yes; then
22167 cat >>confdefs.h
<<_ACEOF
22168 #define HAVE_CSIN 1
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22177 $as_echo_n "checking for csinl... " >&6; }
22178 if ${gcc_cv_math_func_csinl+:} false
; then :
22179 $as_echo_n "(cached) " >&6
22181 if test x
$gcc_no_link = xyes
; then
22182 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22187 #ifdef HAVE_COMPLEX_H
22188 #include <complex.h>
22194 int (*ptr)() = (int (*)())csinl;
22203 if ac_fn_c_try_link
"$LINENO"; then :
22204 gcc_cv_math_func_csinl
=yes
22206 gcc_cv_math_func_csinl
=no
22208 rm -f core conftest.err conftest.
$ac_objext \
22209 conftest
$ac_exeext conftest.
$ac_ext
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22212 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22213 if test $gcc_cv_math_func_csinl = yes; then
22215 cat >>confdefs.h
<<_ACEOF
22216 #define HAVE_CSINL 1
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22225 $as_echo_n "checking for sinhf... " >&6; }
22226 if ${gcc_cv_math_func_sinhf+:} false
; then :
22227 $as_echo_n "(cached) " >&6
22229 if test x
$gcc_no_link = xyes
; then
22230 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22233 /* end confdefs.h. */
22235 #ifdef HAVE_COMPLEX_H
22236 #include <complex.h>
22242 int (*ptr)() = (int (*)())sinhf;
22251 if ac_fn_c_try_link
"$LINENO"; then :
22252 gcc_cv_math_func_sinhf
=yes
22254 gcc_cv_math_func_sinhf
=no
22256 rm -f core conftest.err conftest.
$ac_objext \
22257 conftest
$ac_exeext conftest.
$ac_ext
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22260 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22261 if test $gcc_cv_math_func_sinhf = yes; then
22263 cat >>confdefs.h
<<_ACEOF
22264 #define HAVE_SINHF 1
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22273 $as_echo_n "checking for sinh... " >&6; }
22274 if ${gcc_cv_math_func_sinh+:} false
; then :
22275 $as_echo_n "(cached) " >&6
22277 if test x
$gcc_no_link = xyes
; then
22278 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22281 /* end confdefs.h. */
22283 #ifdef HAVE_COMPLEX_H
22284 #include <complex.h>
22290 int (*ptr)() = (int (*)())sinh;
22299 if ac_fn_c_try_link
"$LINENO"; then :
22300 gcc_cv_math_func_sinh
=yes
22302 gcc_cv_math_func_sinh
=no
22304 rm -f core conftest.err conftest.
$ac_objext \
22305 conftest
$ac_exeext conftest.
$ac_ext
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22308 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22309 if test $gcc_cv_math_func_sinh = yes; then
22311 cat >>confdefs.h
<<_ACEOF
22312 #define HAVE_SINH 1
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22321 $as_echo_n "checking for sinhl... " >&6; }
22322 if ${gcc_cv_math_func_sinhl+:} false
; then :
22323 $as_echo_n "(cached) " >&6
22325 if test x
$gcc_no_link = xyes
; then
22326 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22329 /* end confdefs.h. */
22331 #ifdef HAVE_COMPLEX_H
22332 #include <complex.h>
22338 int (*ptr)() = (int (*)())sinhl;
22347 if ac_fn_c_try_link
"$LINENO"; then :
22348 gcc_cv_math_func_sinhl
=yes
22350 gcc_cv_math_func_sinhl
=no
22352 rm -f core conftest.err conftest.
$ac_objext \
22353 conftest
$ac_exeext conftest.
$ac_ext
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22356 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22357 if test $gcc_cv_math_func_sinhl = yes; then
22359 cat >>confdefs.h
<<_ACEOF
22360 #define HAVE_SINHL 1
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22369 $as_echo_n "checking for csinhf... " >&6; }
22370 if ${gcc_cv_math_func_csinhf+:} false
; then :
22371 $as_echo_n "(cached) " >&6
22373 if test x
$gcc_no_link = xyes
; then
22374 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h. */
22379 #ifdef HAVE_COMPLEX_H
22380 #include <complex.h>
22386 int (*ptr)() = (int (*)())csinhf;
22395 if ac_fn_c_try_link
"$LINENO"; then :
22396 gcc_cv_math_func_csinhf
=yes
22398 gcc_cv_math_func_csinhf
=no
22400 rm -f core conftest.err conftest.
$ac_objext \
22401 conftest
$ac_exeext conftest.
$ac_ext
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22404 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22405 if test $gcc_cv_math_func_csinhf = yes; then
22407 cat >>confdefs.h
<<_ACEOF
22408 #define HAVE_CSINHF 1
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22417 $as_echo_n "checking for csinh... " >&6; }
22418 if ${gcc_cv_math_func_csinh+:} false
; then :
22419 $as_echo_n "(cached) " >&6
22421 if test x
$gcc_no_link = xyes
; then
22422 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22425 /* end confdefs.h. */
22427 #ifdef HAVE_COMPLEX_H
22428 #include <complex.h>
22434 int (*ptr)() = (int (*)())csinh;
22443 if ac_fn_c_try_link
"$LINENO"; then :
22444 gcc_cv_math_func_csinh
=yes
22446 gcc_cv_math_func_csinh
=no
22448 rm -f core conftest.err conftest.
$ac_objext \
22449 conftest
$ac_exeext conftest.
$ac_ext
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22452 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22453 if test $gcc_cv_math_func_csinh = yes; then
22455 cat >>confdefs.h
<<_ACEOF
22456 #define HAVE_CSINH 1
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22465 $as_echo_n "checking for csinhl... " >&6; }
22466 if ${gcc_cv_math_func_csinhl+:} false
; then :
22467 $as_echo_n "(cached) " >&6
22469 if test x
$gcc_no_link = xyes
; then
22470 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22473 /* end confdefs.h. */
22475 #ifdef HAVE_COMPLEX_H
22476 #include <complex.h>
22482 int (*ptr)() = (int (*)())csinhl;
22491 if ac_fn_c_try_link
"$LINENO"; then :
22492 gcc_cv_math_func_csinhl
=yes
22494 gcc_cv_math_func_csinhl
=no
22496 rm -f core conftest.err conftest.
$ac_objext \
22497 conftest
$ac_exeext conftest.
$ac_ext
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22500 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22501 if test $gcc_cv_math_func_csinhl = yes; then
22503 cat >>confdefs.h
<<_ACEOF
22504 #define HAVE_CSINHL 1
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22513 $as_echo_n "checking for sqrtf... " >&6; }
22514 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22515 $as_echo_n "(cached) " >&6
22517 if test x
$gcc_no_link = xyes
; then
22518 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22523 #ifdef HAVE_COMPLEX_H
22524 #include <complex.h>
22530 int (*ptr)() = (int (*)())sqrtf;
22539 if ac_fn_c_try_link
"$LINENO"; then :
22540 gcc_cv_math_func_sqrtf
=yes
22542 gcc_cv_math_func_sqrtf
=no
22544 rm -f core conftest.err conftest.
$ac_objext \
22545 conftest
$ac_exeext conftest.
$ac_ext
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22548 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22549 if test $gcc_cv_math_func_sqrtf = yes; then
22551 cat >>confdefs.h
<<_ACEOF
22552 #define HAVE_SQRTF 1
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22561 $as_echo_n "checking for sqrt... " >&6; }
22562 if ${gcc_cv_math_func_sqrt+:} false
; then :
22563 $as_echo_n "(cached) " >&6
22565 if test x
$gcc_no_link = xyes
; then
22566 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22569 /* end confdefs.h. */
22571 #ifdef HAVE_COMPLEX_H
22572 #include <complex.h>
22578 int (*ptr)() = (int (*)())sqrt;
22587 if ac_fn_c_try_link
"$LINENO"; then :
22588 gcc_cv_math_func_sqrt
=yes
22590 gcc_cv_math_func_sqrt
=no
22592 rm -f core conftest.err conftest.
$ac_objext \
22593 conftest
$ac_exeext conftest.
$ac_ext
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22596 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22597 if test $gcc_cv_math_func_sqrt = yes; then
22599 cat >>confdefs.h
<<_ACEOF
22600 #define HAVE_SQRT 1
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22609 $as_echo_n "checking for sqrtl... " >&6; }
22610 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22611 $as_echo_n "(cached) " >&6
22613 if test x
$gcc_no_link = xyes
; then
22614 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h. */
22619 #ifdef HAVE_COMPLEX_H
22620 #include <complex.h>
22626 int (*ptr)() = (int (*)())sqrtl;
22635 if ac_fn_c_try_link
"$LINENO"; then :
22636 gcc_cv_math_func_sqrtl
=yes
22638 gcc_cv_math_func_sqrtl
=no
22640 rm -f core conftest.err conftest.
$ac_objext \
22641 conftest
$ac_exeext conftest.
$ac_ext
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22644 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22645 if test $gcc_cv_math_func_sqrtl = yes; then
22647 cat >>confdefs.h
<<_ACEOF
22648 #define HAVE_SQRTL 1
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22657 $as_echo_n "checking for csqrtf... " >&6; }
22658 if ${gcc_cv_math_func_csqrtf+:} false
; then :
22659 $as_echo_n "(cached) " >&6
22661 if test x
$gcc_no_link = xyes
; then
22662 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h. */
22667 #ifdef HAVE_COMPLEX_H
22668 #include <complex.h>
22674 int (*ptr)() = (int (*)())csqrtf;
22683 if ac_fn_c_try_link
"$LINENO"; then :
22684 gcc_cv_math_func_csqrtf
=yes
22686 gcc_cv_math_func_csqrtf
=no
22688 rm -f core conftest.err conftest.
$ac_objext \
22689 conftest
$ac_exeext conftest.
$ac_ext
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22692 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22693 if test $gcc_cv_math_func_csqrtf = yes; then
22695 cat >>confdefs.h
<<_ACEOF
22696 #define HAVE_CSQRTF 1
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22705 $as_echo_n "checking for csqrt... " >&6; }
22706 if ${gcc_cv_math_func_csqrt+:} false
; then :
22707 $as_echo_n "(cached) " >&6
22709 if test x
$gcc_no_link = xyes
; then
22710 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22713 /* end confdefs.h. */
22715 #ifdef HAVE_COMPLEX_H
22716 #include <complex.h>
22722 int (*ptr)() = (int (*)())csqrt;
22731 if ac_fn_c_try_link
"$LINENO"; then :
22732 gcc_cv_math_func_csqrt
=yes
22734 gcc_cv_math_func_csqrt
=no
22736 rm -f core conftest.err conftest.
$ac_objext \
22737 conftest
$ac_exeext conftest.
$ac_ext
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22740 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22741 if test $gcc_cv_math_func_csqrt = yes; then
22743 cat >>confdefs.h
<<_ACEOF
22744 #define HAVE_CSQRT 1
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22753 $as_echo_n "checking for csqrtl... " >&6; }
22754 if ${gcc_cv_math_func_csqrtl+:} false
; then :
22755 $as_echo_n "(cached) " >&6
22757 if test x
$gcc_no_link = xyes
; then
22758 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22761 /* end confdefs.h. */
22763 #ifdef HAVE_COMPLEX_H
22764 #include <complex.h>
22770 int (*ptr)() = (int (*)())csqrtl;
22779 if ac_fn_c_try_link
"$LINENO"; then :
22780 gcc_cv_math_func_csqrtl
=yes
22782 gcc_cv_math_func_csqrtl
=no
22784 rm -f core conftest.err conftest.
$ac_objext \
22785 conftest
$ac_exeext conftest.
$ac_ext
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22788 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22789 if test $gcc_cv_math_func_csqrtl = yes; then
22791 cat >>confdefs.h
<<_ACEOF
22792 #define HAVE_CSQRTL 1
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22801 $as_echo_n "checking for tanf... " >&6; }
22802 if ${gcc_cv_math_func_tanf+:} false
; then :
22803 $as_echo_n "(cached) " >&6
22805 if test x
$gcc_no_link = xyes
; then
22806 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22809 /* end confdefs.h. */
22811 #ifdef HAVE_COMPLEX_H
22812 #include <complex.h>
22818 int (*ptr)() = (int (*)())tanf;
22827 if ac_fn_c_try_link
"$LINENO"; then :
22828 gcc_cv_math_func_tanf
=yes
22830 gcc_cv_math_func_tanf
=no
22832 rm -f core conftest.err conftest.
$ac_objext \
22833 conftest
$ac_exeext conftest.
$ac_ext
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22836 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22837 if test $gcc_cv_math_func_tanf = yes; then
22839 cat >>confdefs.h
<<_ACEOF
22840 #define HAVE_TANF 1
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22849 $as_echo_n "checking for tan... " >&6; }
22850 if ${gcc_cv_math_func_tan+:} false
; then :
22851 $as_echo_n "(cached) " >&6
22853 if test x
$gcc_no_link = xyes
; then
22854 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22859 #ifdef HAVE_COMPLEX_H
22860 #include <complex.h>
22866 int (*ptr)() = (int (*)())tan;
22875 if ac_fn_c_try_link
"$LINENO"; then :
22876 gcc_cv_math_func_tan
=yes
22878 gcc_cv_math_func_tan
=no
22880 rm -f core conftest.err conftest.
$ac_objext \
22881 conftest
$ac_exeext conftest.
$ac_ext
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22884 $as_echo "$gcc_cv_math_func_tan" >&6; }
22885 if test $gcc_cv_math_func_tan = yes; then
22887 cat >>confdefs.h
<<_ACEOF
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22897 $as_echo_n "checking for tanl... " >&6; }
22898 if ${gcc_cv_math_func_tanl+:} false
; then :
22899 $as_echo_n "(cached) " >&6
22901 if test x
$gcc_no_link = xyes
; then
22902 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22907 #ifdef HAVE_COMPLEX_H
22908 #include <complex.h>
22914 int (*ptr)() = (int (*)())tanl;
22923 if ac_fn_c_try_link
"$LINENO"; then :
22924 gcc_cv_math_func_tanl
=yes
22926 gcc_cv_math_func_tanl
=no
22928 rm -f core conftest.err conftest.
$ac_objext \
22929 conftest
$ac_exeext conftest.
$ac_ext
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22932 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22933 if test $gcc_cv_math_func_tanl = yes; then
22935 cat >>confdefs.h
<<_ACEOF
22936 #define HAVE_TANL 1
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22945 $as_echo_n "checking for ctanf... " >&6; }
22946 if ${gcc_cv_math_func_ctanf+:} false
; then :
22947 $as_echo_n "(cached) " >&6
22949 if test x
$gcc_no_link = xyes
; then
22950 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22953 /* end confdefs.h. */
22955 #ifdef HAVE_COMPLEX_H
22956 #include <complex.h>
22962 int (*ptr)() = (int (*)())ctanf;
22971 if ac_fn_c_try_link
"$LINENO"; then :
22972 gcc_cv_math_func_ctanf
=yes
22974 gcc_cv_math_func_ctanf
=no
22976 rm -f core conftest.err conftest.
$ac_objext \
22977 conftest
$ac_exeext conftest.
$ac_ext
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22980 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22981 if test $gcc_cv_math_func_ctanf = yes; then
22983 cat >>confdefs.h
<<_ACEOF
22984 #define HAVE_CTANF 1
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22993 $as_echo_n "checking for ctan... " >&6; }
22994 if ${gcc_cv_math_func_ctan+:} false
; then :
22995 $as_echo_n "(cached) " >&6
22997 if test x
$gcc_no_link = xyes
; then
22998 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23003 #ifdef HAVE_COMPLEX_H
23004 #include <complex.h>
23010 int (*ptr)() = (int (*)())ctan;
23019 if ac_fn_c_try_link
"$LINENO"; then :
23020 gcc_cv_math_func_ctan
=yes
23022 gcc_cv_math_func_ctan
=no
23024 rm -f core conftest.err conftest.
$ac_objext \
23025 conftest
$ac_exeext conftest.
$ac_ext
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23028 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23029 if test $gcc_cv_math_func_ctan = yes; then
23031 cat >>confdefs.h
<<_ACEOF
23032 #define HAVE_CTAN 1
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23041 $as_echo_n "checking for ctanl... " >&6; }
23042 if ${gcc_cv_math_func_ctanl+:} false
; then :
23043 $as_echo_n "(cached) " >&6
23045 if test x
$gcc_no_link = xyes
; then
23046 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23049 /* end confdefs.h. */
23051 #ifdef HAVE_COMPLEX_H
23052 #include <complex.h>
23058 int (*ptr)() = (int (*)())ctanl;
23067 if ac_fn_c_try_link
"$LINENO"; then :
23068 gcc_cv_math_func_ctanl
=yes
23070 gcc_cv_math_func_ctanl
=no
23072 rm -f core conftest.err conftest.
$ac_objext \
23073 conftest
$ac_exeext conftest.
$ac_ext
23075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23076 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23077 if test $gcc_cv_math_func_ctanl = yes; then
23079 cat >>confdefs.h
<<_ACEOF
23080 #define HAVE_CTANL 1
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23089 $as_echo_n "checking for tanhf... " >&6; }
23090 if ${gcc_cv_math_func_tanhf+:} false
; then :
23091 $as_echo_n "(cached) " >&6
23093 if test x
$gcc_no_link = xyes
; then
23094 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23097 /* end confdefs.h. */
23099 #ifdef HAVE_COMPLEX_H
23100 #include <complex.h>
23106 int (*ptr)() = (int (*)())tanhf;
23115 if ac_fn_c_try_link
"$LINENO"; then :
23116 gcc_cv_math_func_tanhf
=yes
23118 gcc_cv_math_func_tanhf
=no
23120 rm -f core conftest.err conftest.
$ac_objext \
23121 conftest
$ac_exeext conftest.
$ac_ext
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23124 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23125 if test $gcc_cv_math_func_tanhf = yes; then
23127 cat >>confdefs.h
<<_ACEOF
23128 #define HAVE_TANHF 1
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23137 $as_echo_n "checking for tanh... " >&6; }
23138 if ${gcc_cv_math_func_tanh+:} false
; then :
23139 $as_echo_n "(cached) " >&6
23141 if test x
$gcc_no_link = xyes
; then
23142 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23147 #ifdef HAVE_COMPLEX_H
23148 #include <complex.h>
23154 int (*ptr)() = (int (*)())tanh;
23163 if ac_fn_c_try_link
"$LINENO"; then :
23164 gcc_cv_math_func_tanh
=yes
23166 gcc_cv_math_func_tanh
=no
23168 rm -f core conftest.err conftest.
$ac_objext \
23169 conftest
$ac_exeext conftest.
$ac_ext
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23172 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23173 if test $gcc_cv_math_func_tanh = yes; then
23175 cat >>confdefs.h
<<_ACEOF
23176 #define HAVE_TANH 1
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23185 $as_echo_n "checking for tanhl... " >&6; }
23186 if ${gcc_cv_math_func_tanhl+:} false
; then :
23187 $as_echo_n "(cached) " >&6
23189 if test x
$gcc_no_link = xyes
; then
23190 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23193 /* end confdefs.h. */
23195 #ifdef HAVE_COMPLEX_H
23196 #include <complex.h>
23202 int (*ptr)() = (int (*)())tanhl;
23211 if ac_fn_c_try_link
"$LINENO"; then :
23212 gcc_cv_math_func_tanhl
=yes
23214 gcc_cv_math_func_tanhl
=no
23216 rm -f core conftest.err conftest.
$ac_objext \
23217 conftest
$ac_exeext conftest.
$ac_ext
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23220 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23221 if test $gcc_cv_math_func_tanhl = yes; then
23223 cat >>confdefs.h
<<_ACEOF
23224 #define HAVE_TANHL 1
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23233 $as_echo_n "checking for ctanhf... " >&6; }
23234 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23235 $as_echo_n "(cached) " >&6
23237 if test x
$gcc_no_link = xyes
; then
23238 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23243 #ifdef HAVE_COMPLEX_H
23244 #include <complex.h>
23250 int (*ptr)() = (int (*)())ctanhf;
23259 if ac_fn_c_try_link
"$LINENO"; then :
23260 gcc_cv_math_func_ctanhf
=yes
23262 gcc_cv_math_func_ctanhf
=no
23264 rm -f core conftest.err conftest.
$ac_objext \
23265 conftest
$ac_exeext conftest.
$ac_ext
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23268 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23269 if test $gcc_cv_math_func_ctanhf = yes; then
23271 cat >>confdefs.h
<<_ACEOF
23272 #define HAVE_CTANHF 1
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23281 $as_echo_n "checking for ctanh... " >&6; }
23282 if ${gcc_cv_math_func_ctanh+:} false
; then :
23283 $as_echo_n "(cached) " >&6
23285 if test x
$gcc_no_link = xyes
; then
23286 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23289 /* end confdefs.h. */
23291 #ifdef HAVE_COMPLEX_H
23292 #include <complex.h>
23298 int (*ptr)() = (int (*)())ctanh;
23307 if ac_fn_c_try_link
"$LINENO"; then :
23308 gcc_cv_math_func_ctanh
=yes
23310 gcc_cv_math_func_ctanh
=no
23312 rm -f core conftest.err conftest.
$ac_objext \
23313 conftest
$ac_exeext conftest.
$ac_ext
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23316 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23317 if test $gcc_cv_math_func_ctanh = yes; then
23319 cat >>confdefs.h
<<_ACEOF
23320 #define HAVE_CTANH 1
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23329 $as_echo_n "checking for ctanhl... " >&6; }
23330 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23331 $as_echo_n "(cached) " >&6
23333 if test x
$gcc_no_link = xyes
; then
23334 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23337 /* end confdefs.h. */
23339 #ifdef HAVE_COMPLEX_H
23340 #include <complex.h>
23346 int (*ptr)() = (int (*)())ctanhl;
23355 if ac_fn_c_try_link
"$LINENO"; then :
23356 gcc_cv_math_func_ctanhl
=yes
23358 gcc_cv_math_func_ctanhl
=no
23360 rm -f core conftest.err conftest.
$ac_objext \
23361 conftest
$ac_exeext conftest.
$ac_ext
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23364 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23365 if test $gcc_cv_math_func_ctanhl = yes; then
23367 cat >>confdefs.h
<<_ACEOF
23368 #define HAVE_CTANHL 1
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23377 $as_echo_n "checking for truncf... " >&6; }
23378 if ${gcc_cv_math_func_truncf+:} false
; then :
23379 $as_echo_n "(cached) " >&6
23381 if test x
$gcc_no_link = xyes
; then
23382 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23385 /* end confdefs.h. */
23387 #ifdef HAVE_COMPLEX_H
23388 #include <complex.h>
23394 int (*ptr)() = (int (*)())truncf;
23403 if ac_fn_c_try_link
"$LINENO"; then :
23404 gcc_cv_math_func_truncf
=yes
23406 gcc_cv_math_func_truncf
=no
23408 rm -f core conftest.err conftest.
$ac_objext \
23409 conftest
$ac_exeext conftest.
$ac_ext
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23412 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23413 if test $gcc_cv_math_func_truncf = yes; then
23415 cat >>confdefs.h
<<_ACEOF
23416 #define HAVE_TRUNCF 1
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23425 $as_echo_n "checking for trunc... " >&6; }
23426 if ${gcc_cv_math_func_trunc+:} false
; then :
23427 $as_echo_n "(cached) " >&6
23429 if test x
$gcc_no_link = xyes
; then
23430 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23435 #ifdef HAVE_COMPLEX_H
23436 #include <complex.h>
23442 int (*ptr)() = (int (*)())trunc;
23451 if ac_fn_c_try_link
"$LINENO"; then :
23452 gcc_cv_math_func_trunc
=yes
23454 gcc_cv_math_func_trunc
=no
23456 rm -f core conftest.err conftest.
$ac_objext \
23457 conftest
$ac_exeext conftest.
$ac_ext
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23460 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23461 if test $gcc_cv_math_func_trunc = yes; then
23463 cat >>confdefs.h
<<_ACEOF
23464 #define HAVE_TRUNC 1
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23473 $as_echo_n "checking for truncl... " >&6; }
23474 if ${gcc_cv_math_func_truncl+:} false
; then :
23475 $as_echo_n "(cached) " >&6
23477 if test x
$gcc_no_link = xyes
; then
23478 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h. */
23483 #ifdef HAVE_COMPLEX_H
23484 #include <complex.h>
23490 int (*ptr)() = (int (*)())truncl;
23499 if ac_fn_c_try_link
"$LINENO"; then :
23500 gcc_cv_math_func_truncl
=yes
23502 gcc_cv_math_func_truncl
=no
23504 rm -f core conftest.err conftest.
$ac_objext \
23505 conftest
$ac_exeext conftest.
$ac_ext
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23508 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23509 if test $gcc_cv_math_func_truncl = yes; then
23511 cat >>confdefs.h
<<_ACEOF
23512 #define HAVE_TRUNCL 1
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23521 $as_echo_n "checking for erff... " >&6; }
23522 if ${gcc_cv_math_func_erff+:} false
; then :
23523 $as_echo_n "(cached) " >&6
23525 if test x
$gcc_no_link = xyes
; then
23526 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h. */
23531 #ifdef HAVE_COMPLEX_H
23532 #include <complex.h>
23538 int (*ptr)() = (int (*)())erff;
23547 if ac_fn_c_try_link
"$LINENO"; then :
23548 gcc_cv_math_func_erff
=yes
23550 gcc_cv_math_func_erff
=no
23552 rm -f core conftest.err conftest.
$ac_objext \
23553 conftest
$ac_exeext conftest.
$ac_ext
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23556 $as_echo "$gcc_cv_math_func_erff" >&6; }
23557 if test $gcc_cv_math_func_erff = yes; then
23559 cat >>confdefs.h
<<_ACEOF
23560 #define HAVE_ERFF 1
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23569 $as_echo_n "checking for erf... " >&6; }
23570 if ${gcc_cv_math_func_erf+:} false
; then :
23571 $as_echo_n "(cached) " >&6
23573 if test x
$gcc_no_link = xyes
; then
23574 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23577 /* end confdefs.h. */
23579 #ifdef HAVE_COMPLEX_H
23580 #include <complex.h>
23586 int (*ptr)() = (int (*)())erf;
23595 if ac_fn_c_try_link
"$LINENO"; then :
23596 gcc_cv_math_func_erf
=yes
23598 gcc_cv_math_func_erf
=no
23600 rm -f core conftest.err conftest.
$ac_objext \
23601 conftest
$ac_exeext conftest.
$ac_ext
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23604 $as_echo "$gcc_cv_math_func_erf" >&6; }
23605 if test $gcc_cv_math_func_erf = yes; then
23607 cat >>confdefs.h
<<_ACEOF
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23617 $as_echo_n "checking for erfcf... " >&6; }
23618 if ${gcc_cv_math_func_erfcf+:} false
; then :
23619 $as_echo_n "(cached) " >&6
23621 if test x
$gcc_no_link = xyes
; then
23622 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23625 /* end confdefs.h. */
23627 #ifdef HAVE_COMPLEX_H
23628 #include <complex.h>
23634 int (*ptr)() = (int (*)())erfcf;
23643 if ac_fn_c_try_link
"$LINENO"; then :
23644 gcc_cv_math_func_erfcf
=yes
23646 gcc_cv_math_func_erfcf
=no
23648 rm -f core conftest.err conftest.
$ac_objext \
23649 conftest
$ac_exeext conftest.
$ac_ext
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23652 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23653 if test $gcc_cv_math_func_erfcf = yes; then
23655 cat >>confdefs.h
<<_ACEOF
23656 #define HAVE_ERFCF 1
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23665 $as_echo_n "checking for erfc... " >&6; }
23666 if ${gcc_cv_math_func_erfc+:} false
; then :
23667 $as_echo_n "(cached) " >&6
23669 if test x
$gcc_no_link = xyes
; then
23670 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23673 /* end confdefs.h. */
23675 #ifdef HAVE_COMPLEX_H
23676 #include <complex.h>
23682 int (*ptr)() = (int (*)())erfc;
23691 if ac_fn_c_try_link
"$LINENO"; then :
23692 gcc_cv_math_func_erfc
=yes
23694 gcc_cv_math_func_erfc
=no
23696 rm -f core conftest.err conftest.
$ac_objext \
23697 conftest
$ac_exeext conftest.
$ac_ext
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23700 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23701 if test $gcc_cv_math_func_erfc = yes; then
23703 cat >>confdefs.h
<<_ACEOF
23704 #define HAVE_ERFC 1
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23713 $as_echo_n "checking for erfcl... " >&6; }
23714 if ${gcc_cv_math_func_erfcl+:} false
; then :
23715 $as_echo_n "(cached) " >&6
23717 if test x
$gcc_no_link = xyes
; then
23718 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23721 /* end confdefs.h. */
23723 #ifdef HAVE_COMPLEX_H
23724 #include <complex.h>
23730 int (*ptr)() = (int (*)())erfcl;
23739 if ac_fn_c_try_link
"$LINENO"; then :
23740 gcc_cv_math_func_erfcl
=yes
23742 gcc_cv_math_func_erfcl
=no
23744 rm -f core conftest.err conftest.
$ac_objext \
23745 conftest
$ac_exeext conftest.
$ac_ext
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23748 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23749 if test $gcc_cv_math_func_erfcl = yes; then
23751 cat >>confdefs.h
<<_ACEOF
23752 #define HAVE_ERFCL 1
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23761 $as_echo_n "checking for j0f... " >&6; }
23762 if ${gcc_cv_math_func_j0f+:} false
; then :
23763 $as_echo_n "(cached) " >&6
23765 if test x
$gcc_no_link = xyes
; then
23766 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23769 /* end confdefs.h. */
23771 #ifdef HAVE_COMPLEX_H
23772 #include <complex.h>
23778 int (*ptr)() = (int (*)())j0f;
23787 if ac_fn_c_try_link
"$LINENO"; then :
23788 gcc_cv_math_func_j0f
=yes
23790 gcc_cv_math_func_j0f
=no
23792 rm -f core conftest.err conftest.
$ac_objext \
23793 conftest
$ac_exeext conftest.
$ac_ext
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23796 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23797 if test $gcc_cv_math_func_j0f = yes; then
23799 cat >>confdefs.h
<<_ACEOF
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23809 $as_echo_n "checking for j0... " >&6; }
23810 if ${gcc_cv_math_func_j0+:} false
; then :
23811 $as_echo_n "(cached) " >&6
23813 if test x
$gcc_no_link = xyes
; then
23814 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23817 /* end confdefs.h. */
23819 #ifdef HAVE_COMPLEX_H
23820 #include <complex.h>
23826 int (*ptr)() = (int (*)())j0;
23835 if ac_fn_c_try_link
"$LINENO"; then :
23836 gcc_cv_math_func_j0
=yes
23838 gcc_cv_math_func_j0
=no
23840 rm -f core conftest.err conftest.
$ac_objext \
23841 conftest
$ac_exeext conftest.
$ac_ext
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23844 $as_echo "$gcc_cv_math_func_j0" >&6; }
23845 if test $gcc_cv_math_func_j0 = yes; then
23847 cat >>confdefs.h
<<_ACEOF
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23857 $as_echo_n "checking for j1f... " >&6; }
23858 if ${gcc_cv_math_func_j1f+:} false
; then :
23859 $as_echo_n "(cached) " >&6
23861 if test x
$gcc_no_link = xyes
; then
23862 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23865 /* end confdefs.h. */
23867 #ifdef HAVE_COMPLEX_H
23868 #include <complex.h>
23874 int (*ptr)() = (int (*)())j1f;
23883 if ac_fn_c_try_link
"$LINENO"; then :
23884 gcc_cv_math_func_j1f
=yes
23886 gcc_cv_math_func_j1f
=no
23888 rm -f core conftest.err conftest.
$ac_objext \
23889 conftest
$ac_exeext conftest.
$ac_ext
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23892 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23893 if test $gcc_cv_math_func_j1f = yes; then
23895 cat >>confdefs.h
<<_ACEOF
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23905 $as_echo_n "checking for j1... " >&6; }
23906 if ${gcc_cv_math_func_j1+:} false
; then :
23907 $as_echo_n "(cached) " >&6
23909 if test x
$gcc_no_link = xyes
; then
23910 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23913 /* end confdefs.h. */
23915 #ifdef HAVE_COMPLEX_H
23916 #include <complex.h>
23922 int (*ptr)() = (int (*)())j1;
23931 if ac_fn_c_try_link
"$LINENO"; then :
23932 gcc_cv_math_func_j1
=yes
23934 gcc_cv_math_func_j1
=no
23936 rm -f core conftest.err conftest.
$ac_objext \
23937 conftest
$ac_exeext conftest.
$ac_ext
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23940 $as_echo "$gcc_cv_math_func_j1" >&6; }
23941 if test $gcc_cv_math_func_j1 = yes; then
23943 cat >>confdefs.h
<<_ACEOF
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23953 $as_echo_n "checking for jnf... " >&6; }
23954 if ${gcc_cv_math_func_jnf+:} false
; then :
23955 $as_echo_n "(cached) " >&6
23957 if test x
$gcc_no_link = xyes
; then
23958 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23961 /* end confdefs.h. */
23963 #ifdef HAVE_COMPLEX_H
23964 #include <complex.h>
23970 int (*ptr)() = (int (*)())jnf;
23979 if ac_fn_c_try_link
"$LINENO"; then :
23980 gcc_cv_math_func_jnf
=yes
23982 gcc_cv_math_func_jnf
=no
23984 rm -f core conftest.err conftest.
$ac_objext \
23985 conftest
$ac_exeext conftest.
$ac_ext
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23988 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23989 if test $gcc_cv_math_func_jnf = yes; then
23991 cat >>confdefs.h
<<_ACEOF
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24001 $as_echo_n "checking for jn... " >&6; }
24002 if ${gcc_cv_math_func_jn+:} false
; then :
24003 $as_echo_n "(cached) " >&6
24005 if test x
$gcc_no_link = xyes
; then
24006 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24009 /* end confdefs.h. */
24011 #ifdef HAVE_COMPLEX_H
24012 #include <complex.h>
24018 int (*ptr)() = (int (*)())jn;
24027 if ac_fn_c_try_link
"$LINENO"; then :
24028 gcc_cv_math_func_jn
=yes
24030 gcc_cv_math_func_jn
=no
24032 rm -f core conftest.err conftest.
$ac_objext \
24033 conftest
$ac_exeext conftest.
$ac_ext
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24036 $as_echo "$gcc_cv_math_func_jn" >&6; }
24037 if test $gcc_cv_math_func_jn = yes; then
24039 cat >>confdefs.h
<<_ACEOF
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24049 $as_echo_n "checking for jnl... " >&6; }
24050 if ${gcc_cv_math_func_jnl+:} false
; then :
24051 $as_echo_n "(cached) " >&6
24053 if test x
$gcc_no_link = xyes
; then
24054 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24057 /* end confdefs.h. */
24059 #ifdef HAVE_COMPLEX_H
24060 #include <complex.h>
24066 int (*ptr)() = (int (*)())jnl;
24075 if ac_fn_c_try_link
"$LINENO"; then :
24076 gcc_cv_math_func_jnl
=yes
24078 gcc_cv_math_func_jnl
=no
24080 rm -f core conftest.err conftest.
$ac_objext \
24081 conftest
$ac_exeext conftest.
$ac_ext
24083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24084 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24085 if test $gcc_cv_math_func_jnl = yes; then
24087 cat >>confdefs.h
<<_ACEOF
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24097 $as_echo_n "checking for y0f... " >&6; }
24098 if ${gcc_cv_math_func_y0f+:} false
; then :
24099 $as_echo_n "(cached) " >&6
24101 if test x
$gcc_no_link = xyes
; then
24102 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24105 /* end confdefs.h. */
24107 #ifdef HAVE_COMPLEX_H
24108 #include <complex.h>
24114 int (*ptr)() = (int (*)())y0f;
24123 if ac_fn_c_try_link
"$LINENO"; then :
24124 gcc_cv_math_func_y0f
=yes
24126 gcc_cv_math_func_y0f
=no
24128 rm -f core conftest.err conftest.
$ac_objext \
24129 conftest
$ac_exeext conftest.
$ac_ext
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24132 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24133 if test $gcc_cv_math_func_y0f = yes; then
24135 cat >>confdefs.h
<<_ACEOF
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24145 $as_echo_n "checking for y0... " >&6; }
24146 if ${gcc_cv_math_func_y0+:} false
; then :
24147 $as_echo_n "(cached) " >&6
24149 if test x
$gcc_no_link = xyes
; then
24150 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24155 #ifdef HAVE_COMPLEX_H
24156 #include <complex.h>
24162 int (*ptr)() = (int (*)())y0;
24171 if ac_fn_c_try_link
"$LINENO"; then :
24172 gcc_cv_math_func_y0
=yes
24174 gcc_cv_math_func_y0
=no
24176 rm -f core conftest.err conftest.
$ac_objext \
24177 conftest
$ac_exeext conftest.
$ac_ext
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24180 $as_echo "$gcc_cv_math_func_y0" >&6; }
24181 if test $gcc_cv_math_func_y0 = yes; then
24183 cat >>confdefs.h
<<_ACEOF
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24193 $as_echo_n "checking for y1f... " >&6; }
24194 if ${gcc_cv_math_func_y1f+:} false
; then :
24195 $as_echo_n "(cached) " >&6
24197 if test x
$gcc_no_link = xyes
; then
24198 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24201 /* end confdefs.h. */
24203 #ifdef HAVE_COMPLEX_H
24204 #include <complex.h>
24210 int (*ptr)() = (int (*)())y1f;
24219 if ac_fn_c_try_link
"$LINENO"; then :
24220 gcc_cv_math_func_y1f
=yes
24222 gcc_cv_math_func_y1f
=no
24224 rm -f core conftest.err conftest.
$ac_objext \
24225 conftest
$ac_exeext conftest.
$ac_ext
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24228 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24229 if test $gcc_cv_math_func_y1f = yes; then
24231 cat >>confdefs.h
<<_ACEOF
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24241 $as_echo_n "checking for y1... " >&6; }
24242 if ${gcc_cv_math_func_y1+:} false
; then :
24243 $as_echo_n "(cached) " >&6
24245 if test x
$gcc_no_link = xyes
; then
24246 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h. */
24251 #ifdef HAVE_COMPLEX_H
24252 #include <complex.h>
24258 int (*ptr)() = (int (*)())y1;
24267 if ac_fn_c_try_link
"$LINENO"; then :
24268 gcc_cv_math_func_y1
=yes
24270 gcc_cv_math_func_y1
=no
24272 rm -f core conftest.err conftest.
$ac_objext \
24273 conftest
$ac_exeext conftest.
$ac_ext
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24276 $as_echo "$gcc_cv_math_func_y1" >&6; }
24277 if test $gcc_cv_math_func_y1 = yes; then
24279 cat >>confdefs.h
<<_ACEOF
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24289 $as_echo_n "checking for ynf... " >&6; }
24290 if ${gcc_cv_math_func_ynf+:} false
; then :
24291 $as_echo_n "(cached) " >&6
24293 if test x
$gcc_no_link = xyes
; then
24294 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24297 /* end confdefs.h. */
24299 #ifdef HAVE_COMPLEX_H
24300 #include <complex.h>
24306 int (*ptr)() = (int (*)())ynf;
24315 if ac_fn_c_try_link
"$LINENO"; then :
24316 gcc_cv_math_func_ynf
=yes
24318 gcc_cv_math_func_ynf
=no
24320 rm -f core conftest.err conftest.
$ac_objext \
24321 conftest
$ac_exeext conftest.
$ac_ext
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24324 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24325 if test $gcc_cv_math_func_ynf = yes; then
24327 cat >>confdefs.h
<<_ACEOF
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24337 $as_echo_n "checking for yn... " >&6; }
24338 if ${gcc_cv_math_func_yn+:} false
; then :
24339 $as_echo_n "(cached) " >&6
24341 if test x
$gcc_no_link = xyes
; then
24342 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24345 /* end confdefs.h. */
24347 #ifdef HAVE_COMPLEX_H
24348 #include <complex.h>
24354 int (*ptr)() = (int (*)())yn;
24363 if ac_fn_c_try_link
"$LINENO"; then :
24364 gcc_cv_math_func_yn
=yes
24366 gcc_cv_math_func_yn
=no
24368 rm -f core conftest.err conftest.
$ac_objext \
24369 conftest
$ac_exeext conftest.
$ac_ext
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24372 $as_echo "$gcc_cv_math_func_yn" >&6; }
24373 if test $gcc_cv_math_func_yn = yes; then
24375 cat >>confdefs.h
<<_ACEOF
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24385 $as_echo_n "checking for ynl... " >&6; }
24386 if ${gcc_cv_math_func_ynl+:} false
; then :
24387 $as_echo_n "(cached) " >&6
24389 if test x
$gcc_no_link = xyes
; then
24390 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24395 #ifdef HAVE_COMPLEX_H
24396 #include <complex.h>
24402 int (*ptr)() = (int (*)())ynl;
24411 if ac_fn_c_try_link
"$LINENO"; then :
24412 gcc_cv_math_func_ynl
=yes
24414 gcc_cv_math_func_ynl
=no
24416 rm -f core conftest.err conftest.
$ac_objext \
24417 conftest
$ac_exeext conftest.
$ac_ext
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24420 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24421 if test $gcc_cv_math_func_ynl = yes; then
24423 cat >>confdefs.h
<<_ACEOF
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24433 $as_echo_n "checking for tgamma... " >&6; }
24434 if ${gcc_cv_math_func_tgamma+:} false
; then :
24435 $as_echo_n "(cached) " >&6
24437 if test x
$gcc_no_link = xyes
; then
24438 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h. */
24443 #ifdef HAVE_COMPLEX_H
24444 #include <complex.h>
24450 int (*ptr)() = (int (*)())tgamma;
24459 if ac_fn_c_try_link
"$LINENO"; then :
24460 gcc_cv_math_func_tgamma
=yes
24462 gcc_cv_math_func_tgamma
=no
24464 rm -f core conftest.err conftest.
$ac_objext \
24465 conftest
$ac_exeext conftest.
$ac_ext
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24468 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24469 if test $gcc_cv_math_func_tgamma = yes; then
24471 cat >>confdefs.h
<<_ACEOF
24472 #define HAVE_TGAMMA 1
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24481 $as_echo_n "checking for tgammaf... " >&6; }
24482 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24483 $as_echo_n "(cached) " >&6
24485 if test x
$gcc_no_link = xyes
; then
24486 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24489 /* end confdefs.h. */
24491 #ifdef HAVE_COMPLEX_H
24492 #include <complex.h>
24498 int (*ptr)() = (int (*)())tgammaf;
24507 if ac_fn_c_try_link
"$LINENO"; then :
24508 gcc_cv_math_func_tgammaf
=yes
24510 gcc_cv_math_func_tgammaf
=no
24512 rm -f core conftest.err conftest.
$ac_objext \
24513 conftest
$ac_exeext conftest.
$ac_ext
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24516 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24517 if test $gcc_cv_math_func_tgammaf = yes; then
24519 cat >>confdefs.h
<<_ACEOF
24520 #define HAVE_TGAMMAF 1
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24529 $as_echo_n "checking for lgamma... " >&6; }
24530 if ${gcc_cv_math_func_lgamma+:} false
; then :
24531 $as_echo_n "(cached) " >&6
24533 if test x
$gcc_no_link = xyes
; then
24534 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24537 /* end confdefs.h. */
24539 #ifdef HAVE_COMPLEX_H
24540 #include <complex.h>
24546 int (*ptr)() = (int (*)())lgamma;
24555 if ac_fn_c_try_link
"$LINENO"; then :
24556 gcc_cv_math_func_lgamma
=yes
24558 gcc_cv_math_func_lgamma
=no
24560 rm -f core conftest.err conftest.
$ac_objext \
24561 conftest
$ac_exeext conftest.
$ac_ext
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24564 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24565 if test $gcc_cv_math_func_lgamma = yes; then
24567 cat >>confdefs.h
<<_ACEOF
24568 #define HAVE_LGAMMA 1
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24577 $as_echo_n "checking for lgammaf... " >&6; }
24578 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24579 $as_echo_n "(cached) " >&6
24581 if test x
$gcc_no_link = xyes
; then
24582 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24585 /* end confdefs.h. */
24587 #ifdef HAVE_COMPLEX_H
24588 #include <complex.h>
24594 int (*ptr)() = (int (*)())lgammaf;
24603 if ac_fn_c_try_link
"$LINENO"; then :
24604 gcc_cv_math_func_lgammaf
=yes
24606 gcc_cv_math_func_lgammaf
=no
24608 rm -f core conftest.err conftest.
$ac_objext \
24609 conftest
$ac_exeext conftest.
$ac_ext
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24612 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24613 if test $gcc_cv_math_func_lgammaf = yes; then
24615 cat >>confdefs.h
<<_ACEOF
24616 #define HAVE_LGAMMAF 1
24622 # Check for GFORTRAN_C99_1.1 funcs
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24627 $as_echo_n "checking for cacos... " >&6; }
24628 if ${gcc_cv_math_func_cacos+:} false
; then :
24629 $as_echo_n "(cached) " >&6
24631 if test x
$gcc_no_link = xyes
; then
24632 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24635 /* end confdefs.h. */
24637 #ifdef HAVE_COMPLEX_H
24638 #include <complex.h>
24644 int (*ptr)() = (int (*)())cacos;
24653 if ac_fn_c_try_link
"$LINENO"; then :
24654 gcc_cv_math_func_cacos
=yes
24656 gcc_cv_math_func_cacos
=no
24658 rm -f core conftest.err conftest.
$ac_objext \
24659 conftest
$ac_exeext conftest.
$ac_ext
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24662 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24663 if test $gcc_cv_math_func_cacos = yes; then
24665 cat >>confdefs.h
<<_ACEOF
24666 #define HAVE_CACOS 1
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24675 $as_echo_n "checking for cacosf... " >&6; }
24676 if ${gcc_cv_math_func_cacosf+:} false
; then :
24677 $as_echo_n "(cached) " >&6
24679 if test x
$gcc_no_link = xyes
; then
24680 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24683 /* end confdefs.h. */
24685 #ifdef HAVE_COMPLEX_H
24686 #include <complex.h>
24692 int (*ptr)() = (int (*)())cacosf;
24701 if ac_fn_c_try_link
"$LINENO"; then :
24702 gcc_cv_math_func_cacosf
=yes
24704 gcc_cv_math_func_cacosf
=no
24706 rm -f core conftest.err conftest.
$ac_objext \
24707 conftest
$ac_exeext conftest.
$ac_ext
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24710 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24711 if test $gcc_cv_math_func_cacosf = yes; then
24713 cat >>confdefs.h
<<_ACEOF
24714 #define HAVE_CACOSF 1
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24723 $as_echo_n "checking for cacosh... " >&6; }
24724 if ${gcc_cv_math_func_cacosh+:} false
; then :
24725 $as_echo_n "(cached) " >&6
24727 if test x
$gcc_no_link = xyes
; then
24728 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24731 /* end confdefs.h. */
24733 #ifdef HAVE_COMPLEX_H
24734 #include <complex.h>
24740 int (*ptr)() = (int (*)())cacosh;
24749 if ac_fn_c_try_link
"$LINENO"; then :
24750 gcc_cv_math_func_cacosh
=yes
24752 gcc_cv_math_func_cacosh
=no
24754 rm -f core conftest.err conftest.
$ac_objext \
24755 conftest
$ac_exeext conftest.
$ac_ext
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24758 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24759 if test $gcc_cv_math_func_cacosh = yes; then
24761 cat >>confdefs.h
<<_ACEOF
24762 #define HAVE_CACOSH 1
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24771 $as_echo_n "checking for cacoshf... " >&6; }
24772 if ${gcc_cv_math_func_cacoshf+:} false
; then :
24773 $as_echo_n "(cached) " >&6
24775 if test x
$gcc_no_link = xyes
; then
24776 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24781 #ifdef HAVE_COMPLEX_H
24782 #include <complex.h>
24788 int (*ptr)() = (int (*)())cacoshf;
24797 if ac_fn_c_try_link
"$LINENO"; then :
24798 gcc_cv_math_func_cacoshf
=yes
24800 gcc_cv_math_func_cacoshf
=no
24802 rm -f core conftest.err conftest.
$ac_objext \
24803 conftest
$ac_exeext conftest.
$ac_ext
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24806 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24807 if test $gcc_cv_math_func_cacoshf = yes; then
24809 cat >>confdefs.h
<<_ACEOF
24810 #define HAVE_CACOSHF 1
24818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24819 $as_echo_n "checking for cacoshl... " >&6; }
24820 if ${gcc_cv_math_func_cacoshl+:} false
; then :
24821 $as_echo_n "(cached) " >&6
24823 if test x
$gcc_no_link = xyes
; then
24824 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24829 #ifdef HAVE_COMPLEX_H
24830 #include <complex.h>
24836 int (*ptr)() = (int (*)())cacoshl;
24845 if ac_fn_c_try_link
"$LINENO"; then :
24846 gcc_cv_math_func_cacoshl
=yes
24848 gcc_cv_math_func_cacoshl
=no
24850 rm -f core conftest.err conftest.
$ac_objext \
24851 conftest
$ac_exeext conftest.
$ac_ext
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24854 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24855 if test $gcc_cv_math_func_cacoshl = yes; then
24857 cat >>confdefs.h
<<_ACEOF
24858 #define HAVE_CACOSHL 1
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24867 $as_echo_n "checking for cacosl... " >&6; }
24868 if ${gcc_cv_math_func_cacosl+:} false
; then :
24869 $as_echo_n "(cached) " >&6
24871 if test x
$gcc_no_link = xyes
; then
24872 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24875 /* end confdefs.h. */
24877 #ifdef HAVE_COMPLEX_H
24878 #include <complex.h>
24884 int (*ptr)() = (int (*)())cacosl;
24893 if ac_fn_c_try_link
"$LINENO"; then :
24894 gcc_cv_math_func_cacosl
=yes
24896 gcc_cv_math_func_cacosl
=no
24898 rm -f core conftest.err conftest.
$ac_objext \
24899 conftest
$ac_exeext conftest.
$ac_ext
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24902 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24903 if test $gcc_cv_math_func_cacosl = yes; then
24905 cat >>confdefs.h
<<_ACEOF
24906 #define HAVE_CACOSL 1
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24915 $as_echo_n "checking for casin... " >&6; }
24916 if ${gcc_cv_math_func_casin+:} false
; then :
24917 $as_echo_n "(cached) " >&6
24919 if test x
$gcc_no_link = xyes
; then
24920 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24923 /* end confdefs.h. */
24925 #ifdef HAVE_COMPLEX_H
24926 #include <complex.h>
24932 int (*ptr)() = (int (*)())casin;
24941 if ac_fn_c_try_link
"$LINENO"; then :
24942 gcc_cv_math_func_casin
=yes
24944 gcc_cv_math_func_casin
=no
24946 rm -f core conftest.err conftest.
$ac_objext \
24947 conftest
$ac_exeext conftest.
$ac_ext
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24950 $as_echo "$gcc_cv_math_func_casin" >&6; }
24951 if test $gcc_cv_math_func_casin = yes; then
24953 cat >>confdefs.h
<<_ACEOF
24954 #define HAVE_CASIN 1
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24963 $as_echo_n "checking for casinf... " >&6; }
24964 if ${gcc_cv_math_func_casinf+:} false
; then :
24965 $as_echo_n "(cached) " >&6
24967 if test x
$gcc_no_link = xyes
; then
24968 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24971 /* end confdefs.h. */
24973 #ifdef HAVE_COMPLEX_H
24974 #include <complex.h>
24980 int (*ptr)() = (int (*)())casinf;
24989 if ac_fn_c_try_link
"$LINENO"; then :
24990 gcc_cv_math_func_casinf
=yes
24992 gcc_cv_math_func_casinf
=no
24994 rm -f core conftest.err conftest.
$ac_objext \
24995 conftest
$ac_exeext conftest.
$ac_ext
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24998 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24999 if test $gcc_cv_math_func_casinf = yes; then
25001 cat >>confdefs.h
<<_ACEOF
25002 #define HAVE_CASINF 1
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25011 $as_echo_n "checking for casinh... " >&6; }
25012 if ${gcc_cv_math_func_casinh+:} false
; then :
25013 $as_echo_n "(cached) " >&6
25015 if test x
$gcc_no_link = xyes
; then
25016 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25021 #ifdef HAVE_COMPLEX_H
25022 #include <complex.h>
25028 int (*ptr)() = (int (*)())casinh;
25037 if ac_fn_c_try_link
"$LINENO"; then :
25038 gcc_cv_math_func_casinh
=yes
25040 gcc_cv_math_func_casinh
=no
25042 rm -f core conftest.err conftest.
$ac_objext \
25043 conftest
$ac_exeext conftest.
$ac_ext
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25046 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25047 if test $gcc_cv_math_func_casinh = yes; then
25049 cat >>confdefs.h
<<_ACEOF
25050 #define HAVE_CASINH 1
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25059 $as_echo_n "checking for casinhf... " >&6; }
25060 if ${gcc_cv_math_func_casinhf+:} false
; then :
25061 $as_echo_n "(cached) " >&6
25063 if test x
$gcc_no_link = xyes
; then
25064 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25067 /* end confdefs.h. */
25069 #ifdef HAVE_COMPLEX_H
25070 #include <complex.h>
25076 int (*ptr)() = (int (*)())casinhf;
25085 if ac_fn_c_try_link
"$LINENO"; then :
25086 gcc_cv_math_func_casinhf
=yes
25088 gcc_cv_math_func_casinhf
=no
25090 rm -f core conftest.err conftest.
$ac_objext \
25091 conftest
$ac_exeext conftest.
$ac_ext
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25094 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25095 if test $gcc_cv_math_func_casinhf = yes; then
25097 cat >>confdefs.h
<<_ACEOF
25098 #define HAVE_CASINHF 1
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25107 $as_echo_n "checking for casinhl... " >&6; }
25108 if ${gcc_cv_math_func_casinhl+:} false
; then :
25109 $as_echo_n "(cached) " >&6
25111 if test x
$gcc_no_link = xyes
; then
25112 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25115 /* end confdefs.h. */
25117 #ifdef HAVE_COMPLEX_H
25118 #include <complex.h>
25124 int (*ptr)() = (int (*)())casinhl;
25133 if ac_fn_c_try_link
"$LINENO"; then :
25134 gcc_cv_math_func_casinhl
=yes
25136 gcc_cv_math_func_casinhl
=no
25138 rm -f core conftest.err conftest.
$ac_objext \
25139 conftest
$ac_exeext conftest.
$ac_ext
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25142 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25143 if test $gcc_cv_math_func_casinhl = yes; then
25145 cat >>confdefs.h
<<_ACEOF
25146 #define HAVE_CASINHL 1
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25155 $as_echo_n "checking for casinl... " >&6; }
25156 if ${gcc_cv_math_func_casinl+:} false
; then :
25157 $as_echo_n "(cached) " >&6
25159 if test x
$gcc_no_link = xyes
; then
25160 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25163 /* end confdefs.h. */
25165 #ifdef HAVE_COMPLEX_H
25166 #include <complex.h>
25172 int (*ptr)() = (int (*)())casinl;
25181 if ac_fn_c_try_link
"$LINENO"; then :
25182 gcc_cv_math_func_casinl
=yes
25184 gcc_cv_math_func_casinl
=no
25186 rm -f core conftest.err conftest.
$ac_objext \
25187 conftest
$ac_exeext conftest.
$ac_ext
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25190 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25191 if test $gcc_cv_math_func_casinl = yes; then
25193 cat >>confdefs.h
<<_ACEOF
25194 #define HAVE_CASINL 1
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25203 $as_echo_n "checking for catan... " >&6; }
25204 if ${gcc_cv_math_func_catan+:} false
; then :
25205 $as_echo_n "(cached) " >&6
25207 if test x
$gcc_no_link = xyes
; then
25208 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25211 /* end confdefs.h. */
25213 #ifdef HAVE_COMPLEX_H
25214 #include <complex.h>
25220 int (*ptr)() = (int (*)())catan;
25229 if ac_fn_c_try_link
"$LINENO"; then :
25230 gcc_cv_math_func_catan
=yes
25232 gcc_cv_math_func_catan
=no
25234 rm -f core conftest.err conftest.
$ac_objext \
25235 conftest
$ac_exeext conftest.
$ac_ext
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25238 $as_echo "$gcc_cv_math_func_catan" >&6; }
25239 if test $gcc_cv_math_func_catan = yes; then
25241 cat >>confdefs.h
<<_ACEOF
25242 #define HAVE_CATAN 1
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25251 $as_echo_n "checking for catanf... " >&6; }
25252 if ${gcc_cv_math_func_catanf+:} false
; then :
25253 $as_echo_n "(cached) " >&6
25255 if test x
$gcc_no_link = xyes
; then
25256 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25261 #ifdef HAVE_COMPLEX_H
25262 #include <complex.h>
25268 int (*ptr)() = (int (*)())catanf;
25277 if ac_fn_c_try_link
"$LINENO"; then :
25278 gcc_cv_math_func_catanf
=yes
25280 gcc_cv_math_func_catanf
=no
25282 rm -f core conftest.err conftest.
$ac_objext \
25283 conftest
$ac_exeext conftest.
$ac_ext
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25286 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25287 if test $gcc_cv_math_func_catanf = yes; then
25289 cat >>confdefs.h
<<_ACEOF
25290 #define HAVE_CATANF 1
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25299 $as_echo_n "checking for catanh... " >&6; }
25300 if ${gcc_cv_math_func_catanh+:} false
; then :
25301 $as_echo_n "(cached) " >&6
25303 if test x
$gcc_no_link = xyes
; then
25304 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25307 /* end confdefs.h. */
25309 #ifdef HAVE_COMPLEX_H
25310 #include <complex.h>
25316 int (*ptr)() = (int (*)())catanh;
25325 if ac_fn_c_try_link
"$LINENO"; then :
25326 gcc_cv_math_func_catanh
=yes
25328 gcc_cv_math_func_catanh
=no
25330 rm -f core conftest.err conftest.
$ac_objext \
25331 conftest
$ac_exeext conftest.
$ac_ext
25333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25334 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25335 if test $gcc_cv_math_func_catanh = yes; then
25337 cat >>confdefs.h
<<_ACEOF
25338 #define HAVE_CATANH 1
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25347 $as_echo_n "checking for catanhf... " >&6; }
25348 if ${gcc_cv_math_func_catanhf+:} false
; then :
25349 $as_echo_n "(cached) " >&6
25351 if test x
$gcc_no_link = xyes
; then
25352 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25355 /* end confdefs.h. */
25357 #ifdef HAVE_COMPLEX_H
25358 #include <complex.h>
25364 int (*ptr)() = (int (*)())catanhf;
25373 if ac_fn_c_try_link
"$LINENO"; then :
25374 gcc_cv_math_func_catanhf
=yes
25376 gcc_cv_math_func_catanhf
=no
25378 rm -f core conftest.err conftest.
$ac_objext \
25379 conftest
$ac_exeext conftest.
$ac_ext
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25382 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25383 if test $gcc_cv_math_func_catanhf = yes; then
25385 cat >>confdefs.h
<<_ACEOF
25386 #define HAVE_CATANHF 1
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25395 $as_echo_n "checking for catanhl... " >&6; }
25396 if ${gcc_cv_math_func_catanhl+:} false
; then :
25397 $as_echo_n "(cached) " >&6
25399 if test x
$gcc_no_link = xyes
; then
25400 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25405 #ifdef HAVE_COMPLEX_H
25406 #include <complex.h>
25412 int (*ptr)() = (int (*)())catanhl;
25421 if ac_fn_c_try_link
"$LINENO"; then :
25422 gcc_cv_math_func_catanhl
=yes
25424 gcc_cv_math_func_catanhl
=no
25426 rm -f core conftest.err conftest.
$ac_objext \
25427 conftest
$ac_exeext conftest.
$ac_ext
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25430 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25431 if test $gcc_cv_math_func_catanhl = yes; then
25433 cat >>confdefs.h
<<_ACEOF
25434 #define HAVE_CATANHL 1
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25443 $as_echo_n "checking for catanl... " >&6; }
25444 if ${gcc_cv_math_func_catanl+:} false
; then :
25445 $as_echo_n "(cached) " >&6
25447 if test x
$gcc_no_link = xyes
; then
25448 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25451 /* end confdefs.h. */
25453 #ifdef HAVE_COMPLEX_H
25454 #include <complex.h>
25460 int (*ptr)() = (int (*)())catanl;
25469 if ac_fn_c_try_link
"$LINENO"; then :
25470 gcc_cv_math_func_catanl
=yes
25472 gcc_cv_math_func_catanl
=no
25474 rm -f core conftest.err conftest.
$ac_objext \
25475 conftest
$ac_exeext conftest.
$ac_ext
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25478 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25479 if test $gcc_cv_math_func_catanl = yes; then
25481 cat >>confdefs.h
<<_ACEOF
25482 #define HAVE_CATANL 1
25488 # On AIX, clog is present in libm as __clog
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25490 $as_echo_n "checking for __clog in -lm... " >&6; }
25491 if ${ac_cv_lib_m___clog+:} false
; then :
25492 $as_echo_n "(cached) " >&6
25494 ac_check_lib_save_LIBS
=$LIBS
25496 if test x
$gcc_no_link = xyes
; then
25497 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h. */
25502 /* Override any GCC internal prototype to avoid an error.
25503 Use char because int might match the return type of a GCC
25504 builtin and then its argument prototype would still apply. */
25517 if ac_fn_c_try_link
"$LINENO"; then :
25518 ac_cv_lib_m___clog
=yes
25520 ac_cv_lib_m___clog
=no
25522 rm -f core conftest.err conftest.
$ac_objext \
25523 conftest
$ac_exeext conftest.
$ac_ext
25524 LIBS
=$ac_check_lib_save_LIBS
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25527 $as_echo "$ac_cv_lib_m___clog" >&6; }
25528 if test "x$ac_cv_lib_m___clog" = xyes
; then :
25530 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25535 # Check whether the system has a working stat()
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25538 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25539 if ${libgfor_cv_have_working_stat+:} false
; then :
25540 $as_echo_n "(cached) " >&6
25543 if test "$cross_compiling" = yes; then :
25545 case "${target}" in
25546 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25547 *) libgfor_cv_have_working_stat
=yes;;
25550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25551 /* end confdefs.h. */
25554 #include <sys/types.h>
25555 #include <sys/stat.h>
25556 #include <unistd.h>
25561 struct stat st1, st2;
25563 f = fopen ("foo", "w");
25564 g = fopen ("bar", "w");
25565 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25567 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25574 if ac_fn_c_try_run
"$LINENO"; then :
25575 libgfor_cv_have_working_stat
=yes
25577 libgfor_cv_have_working_stat
=no
25579 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25580 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25585 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25586 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25588 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25592 # Check whether __mingw_snprintf() is present
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25595 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25596 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
25597 $as_echo_n "(cached) " >&6
25600 if test x
$gcc_no_link = xyes
; then
25601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25604 /* end confdefs.h. */
25607 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25613 __mingw_snprintf (NULL, 0, "%d\n", 1);
25619 if ac_fn_c_try_link
"$LINENO"; then :
25620 eval "libgfor_cv_have_mingw_snprintf=yes"
25622 eval "libgfor_cv_have_mingw_snprintf=no"
25624 rm -f core conftest.err conftest.
$ac_objext \
25625 conftest
$ac_exeext conftest.
$ac_ext
25628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25629 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25630 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25632 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25637 # Check whether libquadmath should be used
25638 # Check whether --enable-libquadmath-support was given.
25639 if test "${enable_libquadmath_support+set}" = set; then :
25640 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25642 ENABLE_LIBQUADMATH_SUPPORT
=yes
25645 enable_libquadmath_support
=
25646 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25647 enable_libquadmath_support
=no
25650 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25654 if test "x$enable_libquadmath_support" != xno
; then
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25657 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25658 if ${libgfor_cv_have_float128+:} false
; then :
25659 $as_echo_n "(cached) " >&6
25662 if test x
$gcc_no_link = xyes
; then
25663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25664 /* end confdefs.h. */
25666 typedef _Complex float __attribute__((mode(TC))) __complex128;
25668 __float128 foo (__float128 x)
25671 __complex128 z1, z2;
25677 return (__float128) z2;
25680 __float128 bar (__float128 x)
25682 return x * __builtin_huge_valq ();
25696 if ac_fn_c_try_compile
"$LINENO"; then :
25698 libgfor_cv_have_float128
=yes
25702 libgfor_cv_have_float128
=no
25705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25707 if test x
$gcc_no_link = xyes
; then
25708 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25711 /* end confdefs.h. */
25713 typedef _Complex float __attribute__((mode(TC))) __complex128;
25715 __float128 foo (__float128 x)
25718 __complex128 z1, z2;
25724 return (__float128) z2;
25727 __float128 bar (__float128 x)
25729 return x * __builtin_huge_valq ();
25743 if ac_fn_c_try_link
"$LINENO"; then :
25745 libgfor_cv_have_float128
=yes
25749 libgfor_cv_have_float128
=no
25752 rm -f core conftest.err conftest.
$ac_objext \
25753 conftest
$ac_exeext conftest.
$ac_ext
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25757 $as_echo "$libgfor_cv_have_float128" >&6; }
25759 if test "x$libgfor_cv_have_float128" = xyes
; then
25761 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25764 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25766 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25767 if ${libgfor_cv_have_as_needed+:} false
; then :
25768 $as_echo_n "(cached) " >&6
25771 # Test for native Solaris options first.
25772 # No whitespace after -z to pass it through -Wl.
25773 libgfor_cv_as_needed_option
="-zignore"
25774 libgfor_cv_no_as_needed_option
="-zrecord"
25775 save_LDFLAGS
="$LDFLAGS"
25776 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25777 libgfor_cv_have_as_needed
=no
25779 ac_c_werror_flag
=yes
25780 if test x
$gcc_no_link = xyes
; then
25781 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25784 /* end confdefs.h. */
25794 if ac_fn_c_try_link
"$LINENO"; then :
25795 libgfor_cv_have_as_needed
=yes
25797 libgfor_cv_have_as_needed
=no
25799 rm -f core conftest.err conftest.
$ac_objext \
25800 conftest
$ac_exeext conftest.
$ac_ext
25801 LDFLAGS
="$save_LDFLAGS"
25802 if test "x$libgfor_cv_have_as_needed" = xno
; then
25803 libgfor_cv_as_needed_option
="--as-needed"
25804 libgfor_cv_no_as_needed_option
="--no-as-needed"
25805 save_LDFLAGS
="$LDFLAGS"
25806 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25807 libgfor_cv_have_as_needed
=no
25809 ac_c_werror_flag
=yes
25810 if test x
$gcc_no_link = xyes
; then
25811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25824 if ac_fn_c_try_link
"$LINENO"; then :
25825 libgfor_cv_have_as_needed
=yes
25827 libgfor_cv_have_as_needed
=no
25829 rm -f core conftest.err conftest.
$ac_objext \
25830 conftest
$ac_exeext conftest.
$ac_ext
25831 LDFLAGS
="$save_LDFLAGS"
25833 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25837 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25839 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25840 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25842 LIBQUADSPEC
="-lquadmath"
25844 if test -f ..
/libquadmath
/libquadmath.la
; then
25845 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25846 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25847 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25849 LIBQUADLIB
="-lquadmath"
25855 # for --disable-quadmath
25866 if test "x$libgfor_cv_have_float128" = xyes
; then
25867 LIBGFOR_BUILD_QUAD_TRUE
=
25868 LIBGFOR_BUILD_QUAD_FALSE
='#'
25870 LIBGFOR_BUILD_QUAD_TRUE
='#'
25871 LIBGFOR_BUILD_QUAD_FALSE
=
25876 # Check for GNU libc feenableexcept
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25878 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25879 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
25880 $as_echo_n "(cached) " >&6
25882 ac_check_lib_save_LIBS
=$LIBS
25884 if test x
$gcc_no_link = xyes
; then
25885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25888 /* end confdefs.h. */
25890 /* Override any GCC internal prototype to avoid an error.
25891 Use char because int might match the return type of a GCC
25892 builtin and then its argument prototype would still apply. */
25896 char feenableexcept ();
25900 return feenableexcept ();
25905 if ac_fn_c_try_link
"$LINENO"; then :
25906 ac_cv_lib_m_feenableexcept
=yes
25908 ac_cv_lib_m_feenableexcept
=no
25910 rm -f core conftest.err conftest.
$ac_objext \
25911 conftest
$ac_exeext conftest.
$ac_ext
25912 LIBS
=$ac_check_lib_save_LIBS
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25915 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25916 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
25917 have_feenableexcept
=yes
25918 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25923 # At least for glibc, clock_gettime is in librt. But don't
25924 # pull that in if it still doesn't give us the function we want. This
25925 # test is copied from libgomp, and modified to not link in -lrt as
25926 # libgfortran calls clock_gettime via a weak reference if it's found
25928 if test "$ac_cv_func_clock_gettime" = no
; then
25929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25930 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25931 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
25932 $as_echo_n "(cached) " >&6
25934 ac_check_lib_save_LIBS
=$LIBS
25936 if test x
$gcc_no_link = xyes
; then
25937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25940 /* end confdefs.h. */
25942 /* Override any GCC internal prototype to avoid an error.
25943 Use char because int might match the return type of a GCC
25944 builtin and then its argument prototype would still apply. */
25948 char clock_gettime ();
25952 return clock_gettime ();
25957 if ac_fn_c_try_link
"$LINENO"; then :
25958 ac_cv_lib_rt_clock_gettime
=yes
25960 ac_cv_lib_rt_clock_gettime
=no
25962 rm -f core conftest.err conftest.
$ac_objext \
25963 conftest
$ac_exeext conftest.
$ac_ext
25964 LIBS
=$ac_check_lib_save_LIBS
25966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25967 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25968 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
25970 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25976 # Check for SysV fpsetmask
25978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25979 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25980 if ${libgfor_cv_have_fpsetmask+:} false
; then :
25981 $as_echo_n "(cached) " >&6
25984 if test x
$gcc_no_link = xyes
; then
25985 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25988 /* end confdefs.h. */
25990 #if HAVE_FLOATINGPOINT_H
25991 # include <floatingpoint.h>
25992 #endif /* HAVE_FLOATINGPOINT_H */
25994 # include <ieeefp.h>
25995 #endif /* HAVE_IEEEFP_H */
26004 if ac_fn_c_try_link
"$LINENO"; then :
26005 eval "libgfor_cv_have_fpsetmask=yes"
26007 eval "libgfor_cv_have_fpsetmask=no"
26009 rm -f core conftest.err conftest.
$ac_objext \
26010 conftest
$ac_exeext conftest.
$ac_ext
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26014 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26015 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26018 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26022 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26023 #ifdef HAVE_IEEEFP_H
26024 #include <ieeefp.h>
26029 if test "x$ac_cv_type_fp_except" = xyes
; then :
26031 cat >>confdefs.h
<<_ACEOF
26032 #define HAVE_FP_EXCEPT 1
26037 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26038 #ifdef HAVE_IEEEFP_H
26039 #include <ieeefp.h>
26044 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
26046 cat >>confdefs.h
<<_ACEOF
26047 #define HAVE_FP_EXCEPT_T 1
26053 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26054 #ifdef HAVE_IEEEFP_H
26055 #include <ieeefp.h>
26060 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
26062 cat >>confdefs.h
<<_ACEOF
26063 #define HAVE_FP_RND 1
26068 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26069 #ifdef HAVE_IEEEFP_H
26070 #include <ieeefp.h>
26075 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
26077 cat >>confdefs.h
<<_ACEOF
26078 #define HAVE_FP_RND_T 1
26085 # Check whether we have fpsetsticky or fpresetsticky
26086 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26087 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
26088 have_fpsetsticky
=yes
26089 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26093 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26094 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
26095 have_fpresetsticky
=yes
26096 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26101 # Check for AIX fp_trap and fp_enable
26102 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26103 if test "x$ac_cv_func_fp_trap" = xyes
; then :
26105 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26109 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26110 if test "x$ac_cv_func_fp_enable" = xyes
; then :
26112 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26117 # Check if _SOFT_FLOAT is defined
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26120 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26121 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
26122 $as_echo_n "(cached) " >&6
26124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26125 /* end confdefs.h. */
26141 if ac_fn_c_try_compile
"$LINENO"; then :
26142 ac_cv_defined__SOFT_FLOAT
=yes
26144 ac_cv_defined__SOFT_FLOAT
=no
26146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26149 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26150 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26151 have_soft_float
=yes
26154 # Runs configure.host to set up necessary host-dependent shell variables.
26155 # We then display a message about it, and propagate them through the
26157 .
${srcdir}/configure.
host
26158 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26159 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26160 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26161 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26162 FPU_HOST_HEADER
=config
/${fpu_host}.h
26165 # Whether we will build the IEEE modules
26166 if test x
${ieee_support} = xyes
; then
26168 IEEE_SUPPORT_FALSE
='#'
26170 IEEE_SUPPORT_TRUE
='#'
26171 IEEE_SUPPORT_FALSE
=
26176 # Some targets require additional compiler options for IEEE compatibility.
26177 IEEE_FLAGS
="${ieee_flags}"
26181 # Check for POSIX getpwuid_r
26183 # There are two versions of getpwuid_r, the POSIX one with 5
26184 # arguments, and another one with 4 arguments used by at least HP-UX
26186 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26188 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26189 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
26190 $as_echo_n "(cached) " >&6
26193 if test x
$gcc_no_link = xyes
; then
26194 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26200 #include <sys/types.h>
26206 getpwuid_r(0, NULL, NULL, 0, NULL);
26212 if ac_fn_c_try_link
"$LINENO"; then :
26213 libgfor_cv_posix_getpwuid_r
="yes"
26215 libgfor_cv_posix_getpwuid_r
="no"
26217 rm -f core conftest.err conftest.
$ac_objext \
26218 conftest
$ac_exeext conftest.
$ac_ext
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26221 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26223 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26225 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26230 # Check out attribute support.
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26233 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26234 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
26235 $as_echo_n "(cached) " >&6
26238 save_CFLAGS
="$CFLAGS"
26239 CFLAGS
="$CFLAGS -Werror"
26240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26242 void __attribute__((visibility("hidden"))) foo(void) { }
26251 if ac_fn_c_try_compile
"$LINENO"; then :
26252 libgfor_cv_have_attribute_visibility
=yes
26254 libgfor_cv_have_attribute_visibility
=no
26256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26257 CFLAGS
="$save_CFLAGS"
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26260 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26261 if test $libgfor_cv_have_attribute_visibility = yes; then
26263 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26268 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26269 if ${libgfor_cv_have_attribute_alias+:} false
; then :
26270 $as_echo_n "(cached) " >&6
26273 if test x
$gcc_no_link = xyes
; then
26274 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26280 extern void bar(void) __attribute__((alias("foo")));
26289 if ac_fn_c_try_link
"$LINENO"; then :
26290 libgfor_cv_have_attribute_alias
=yes
26292 libgfor_cv_have_attribute_alias
=no
26294 rm -f core conftest.err conftest.
$ac_objext \
26295 conftest
$ac_exeext conftest.
$ac_ext
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26298 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26299 if test $libgfor_cv_have_attribute_alias = yes; then
26301 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26305 # Check out atomic builtins support.
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26308 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26309 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
26310 $as_echo_n "(cached) " >&6
26313 if test x
$gcc_no_link = xyes
; then
26314 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26317 /* end confdefs.h. */
26323 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26324 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26329 if ac_fn_c_try_link
"$LINENO"; then :
26330 libgfor_cv_have_atomic_fetch_add
=yes
26332 libgfor_cv_have_atomic_fetch_add
=no
26334 rm -f core conftest.err conftest.
$ac_objext \
26335 conftest
$ac_exeext conftest.
$ac_ext
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26338 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26339 if test $libgfor_cv_have_atomic_fetch_add = yes; then
26341 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26345 # Check out #pragma weak.
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26348 $as_echo_n "checking whether pragma weak works... " >&6; }
26349 if ${libgfor_cv_have_pragma_weak+:} false
; then :
26350 $as_echo_n "(cached) " >&6
26353 gfor_save_CFLAGS
="$CFLAGS"
26354 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h. */
26369 if ac_fn_c_try_compile
"$LINENO"; then :
26370 libgfor_cv_have_pragma_weak
=yes
26372 libgfor_cv_have_pragma_weak
=no
26374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26377 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26378 if test $libgfor_cv_have_pragma_weak = yes; then
26380 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26384 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26386 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26391 # Check out weakref support.
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26394 $as_echo_n "checking whether the target supports weakref... " >&6; }
26395 if ${libgfor_cv_have_weakref+:} false
; then :
26396 $as_echo_n "(cached) " >&6
26399 save_CFLAGS
="$CFLAGS"
26400 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26401 if test x
$gcc_no_link = xyes
; then
26402 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26405 /* end confdefs.h. */
26407 static int mytoto (int) __attribute__((__weakref__("toto")));
26412 return (mytoto != 0);
26417 if ac_fn_c_try_link
"$LINENO"; then :
26418 libgfor_cv_have_weakref
=yes
26420 libgfor_cv_have_weakref
=no
26422 rm -f core conftest.err conftest.
$ac_objext \
26423 conftest
$ac_exeext conftest.
$ac_ext
26424 CFLAGS
="$save_CFLAGS"
26426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26427 $as_echo "$libgfor_cv_have_weakref" >&6; }
26428 if test $libgfor_cv_have_weakref = yes; then
26430 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26434 # Various other checks on target
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26437 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26438 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
26439 $as_echo_n "(cached) " >&6
26442 if test "$cross_compiling" = yes; then :
26444 case "${target}" in
26445 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26446 *) libgfor_cv_have_unlink_open_file
=yes;;
26449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26454 #include <unistd.h>
26455 #include <sys/stat.h>
26461 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26464 if (unlink ("testfile") == -1)
26466 write (fd, "This is a test\n", 15);
26469 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26475 if ac_fn_c_try_run
"$LINENO"; then :
26476 libgfor_cv_have_unlink_open_file
=yes
26478 libgfor_cv_have_unlink_open_file
=no
26480 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26481 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26486 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26487 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26489 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26493 # Check whether line terminator is LF or CRLF
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26496 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26497 if ${libgfor_cv_have_crlf+:} false
; then :
26498 $as_echo_n "(cached) " >&6
26501 if test "$cross_compiling" = yes; then :
26503 case "${target}" in
26504 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26505 *) libgfor_cv_have_crlf
=no
;;
26508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26509 /* end confdefs.h. */
26511 /* This test program should exit with status 0 if system uses a CRLF as
26512 line terminator, and status 1 otherwise.
26513 Since it is used to check for mingw systems, and should return 0 in any
26514 other case, in case of a failure we will not use CRLF. */
26515 #include <sys/stat.h>
26516 #include <stdlib.h>
26528 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26531 if (write (fd, "\n", 1) < 0)
26536 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26538 bytes = read (fd, buff, 5);
26539 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26546 if ac_fn_c_try_run
"$LINENO"; then :
26547 libgfor_cv_have_crlf
=yes
26549 libgfor_cv_have_crlf
=no
26551 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26552 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26557 $as_echo "$libgfor_cv_have_crlf" >&6; }
26558 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26560 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26564 # Check whether we support AVX extensions
26566 ac_save_CFLAGS
="$CFLAGS"
26568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26571 void _mm256_zeroall (void)
26573 __builtin_ia32_vzeroall ();
26583 if ac_fn_c_try_compile
"$LINENO"; then :
26585 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26589 CFLAGS
="$ac_save_CFLAGS"
26592 # Check wether we support AVX2 extensions
26594 ac_save_CFLAGS
="$CFLAGS"
26595 CFLAGS
="-O2 -mavx2"
26596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26597 /* end confdefs.h. */
26599 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26601 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26603 return __builtin_ia32_andnotsi256 (__X, __Y);
26613 if ac_fn_c_try_compile
"$LINENO"; then :
26615 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26619 CFLAGS
="$ac_save_CFLAGS"
26622 # Check wether we support AVX512f extensions
26624 ac_save_CFLAGS
="$CFLAGS"
26625 CFLAGS
="-O2 -mavx512f"
26626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26627 /* end confdefs.h. */
26629 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26630 __m512d _mm512_add (__m512d a)
26632 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26633 /* For -m64/-mx32 also verify that code will work even if
26634 the target uses call saved zmm16+ and needs to emit
26635 unwind info for them (e.g. on mingw). See PR79127. */
26637 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26649 if ac_fn_c_try_compile
"$LINENO"; then :
26651 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26655 CFLAGS
="$ac_save_CFLAGS"
26658 # Check for FMA3 extensions
26660 ac_save_CFLAGS
="$CFLAGS"
26661 CFLAGS
="-O2 -mfma -mno-fma4"
26662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26663 /* end confdefs.h. */
26665 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26666 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26667 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26669 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26681 if ac_fn_c_try_compile
"$LINENO"; then :
26683 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26687 CFLAGS
="$ac_save_CFLAGS"
26690 # Check for FMA4 extensions
26692 ac_save_CFLAGS
="$CFLAGS"
26693 CFLAGS
="-O2 -mfma4 -mno-fma"
26694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26697 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26698 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26699 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26701 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26713 if ac_fn_c_try_compile
"$LINENO"; then :
26715 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26719 CFLAGS
="$ac_save_CFLAGS"
26722 # Check if AVX128 works
26724 ac_save_CFLAGS
="$CFLAGS"
26725 CFLAGS
="-O2 -mavx -mprefer-avx128"
26726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26727 /* end confdefs.h. */
26740 if ac_fn_c_try_compile
"$LINENO"; then :
26742 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26746 HAVE_AVX128_FALSE
='#'
26748 HAVE_AVX128_TRUE
='#'
26755 HAVE_AVX128_FALSE
='#'
26757 HAVE_AVX128_TRUE
='#'
26762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26763 CFLAGS
="$ac_save_CFLAGS"
26766 # Determine what GCC version number to use in filesystem paths.
26768 get_gcc_base_ver
="cat"
26770 # Check whether --with-gcc-major-version-only was given.
26771 if test "${with_gcc_major_version_only+set}" = set; then :
26772 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26773 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
26781 cat >confcache
<<\_ACEOF
26782 # This file is a shell script that caches the results of configure
26783 # tests run on this system so they can be shared between configure
26784 # scripts and configure runs, see configure's option --config-cache.
26785 # It is not useful on other systems. If it contains results you don't
26786 # want to keep, you may remove or edit it.
26788 # config.status only pays attention to the cache file if you give it
26789 # the --recheck option to rerun configure.
26791 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26792 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26793 # following values.
26797 # The following way of writing the cache mishandles newlines in values,
26798 # but we know of no workaround that is simple, portable, and efficient.
26799 # So, we kill variables containing newlines.
26800 # Ultrix sh set writes to stderr and can't be redirected directly,
26801 # and sets the high bit in the cache file unless we assign to the vars.
26803 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26804 eval ac_val
=\$
$ac_var
26808 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26809 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26812 _ | IFS | as_nl
) ;; #(
26813 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26814 *) { eval $ac_var=; unset $ac_var;} ;;
26820 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26821 *${as_nl}ac_space
=\
*)
26822 # `set' does not quote correctly, so add quotes: double-quote
26823 # substitution turns \\\\ into \\, and sed turns \\ into \.
26826 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26829 # `set' quotes correctly as required by POSIX, so do not add quotes.
26830 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26839 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26841 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26843 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26844 if test -w "$cache_file"; then
26845 if test "x$cache_file" != "x/dev/null"; then
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26847 $as_echo "$as_me: updating cache $cache_file" >&6;}
26848 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26849 cat confcache
>"$cache_file"
26851 case $cache_file in #(
26853 mv -f confcache
"$cache_file"$$
&&
26854 mv -f "$cache_file"$$
"$cache_file" ;; #(
26856 mv -f confcache
"$cache_file" ;;
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26862 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26867 if test ${multilib} = yes; then
26868 multilib_arg
="--enable-multilib"
26873 # Write our Makefile and spec file.
26874 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26876 cat >confcache
<<\_ACEOF
26877 # This file is a shell script that caches the results of configure
26878 # tests run on this system so they can be shared between configure
26879 # scripts and configure runs, see configure's option --config-cache.
26880 # It is not useful on other systems. If it contains results you don't
26881 # want to keep, you may remove or edit it.
26883 # config.status only pays attention to the cache file if you give it
26884 # the --recheck option to rerun configure.
26886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26888 # following values.
26892 # The following way of writing the cache mishandles newlines in values,
26893 # but we know of no workaround that is simple, portable, and efficient.
26894 # So, we kill variables containing newlines.
26895 # Ultrix sh set writes to stderr and can't be redirected directly,
26896 # and sets the high bit in the cache file unless we assign to the vars.
26898 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26899 eval ac_val
=\$
$ac_var
26903 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26907 _ | IFS | as_nl
) ;; #(
26908 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26909 *) { eval $ac_var=; unset $ac_var;} ;;
26915 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26916 *${as_nl}ac_space
=\
*)
26917 # `set' does not quote correctly, so add quotes: double-quote
26918 # substitution turns \\\\ into \\, and sed turns \\ into \.
26921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26924 # `set' quotes correctly as required by POSIX, so do not add quotes.
26925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26938 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26939 if test -w "$cache_file"; then
26940 if test "x$cache_file" != "x/dev/null"; then
26941 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26942 $as_echo "$as_me: updating cache $cache_file" >&6;}
26943 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26944 cat confcache
>"$cache_file"
26946 case $cache_file in #(
26948 mv -f confcache
"$cache_file"$$
&&
26949 mv -f "$cache_file"$$
"$cache_file" ;; #(
26951 mv -f confcache
"$cache_file" ;;
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26957 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26962 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26963 # Let make expand exec_prefix.
26964 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26966 DEFS
=-DHAVE_CONFIG_H
26971 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26972 # 1. Remove the extension, and $U if already installed.
26973 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26974 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26975 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26976 # will be set to the directory where LIBOBJS objects are built.
26977 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26978 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26980 LIBOBJS
=$ac_libobjs
26982 LTLIBOBJS
=$ac_ltlibobjs
26985 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26986 as_fn_error $?
"conditional \"onestep\" was never defined.
26987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26990 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26991 if test -n "$am_sleep_pid"; then
26992 # Hide warnings about reused PIDs.
26993 wait $am_sleep_pid 2>/dev
/null
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26996 $as_echo "done" >&6; }
26997 if test -n "$EXEEXT"; then
26999 am__EXEEXT_FALSE
='#'
27001 am__EXEEXT_TRUE
='#'
27005 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27006 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
27007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27009 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27010 as_fn_error $?
"conditional \"AMDEP\" was never defined.
27011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27013 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27014 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27017 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27018 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27021 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27022 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27025 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27026 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27029 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27030 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27033 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27034 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
27035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27037 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27038 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
27039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27041 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27042 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27045 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27046 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
27047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27049 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27050 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27053 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27054 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27058 : "${CONFIG_STATUS=./config.status}"
27060 ac_clean_files_save
=$ac_clean_files
27061 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27063 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27065 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27067 # Generated by $as_me.
27068 # Run this file to recreate the current configuration.
27069 # Compiler output produced by configure, useful for debugging
27070 # configure, is in config.log if it exists.
27073 ac_cs_recheck=false
27076 SHELL=\${CONFIG_SHELL-$SHELL}
27079 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
27080 ## -------------------- ##
27081 ## M4sh Initialization. ##
27082 ## -------------------- ##
27084 # Be more Bourne compatible
27085 DUALCASE
=1; export DUALCASE
# for MKS sh
27086 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27089 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27090 # is contrary to our usage. Disable this feature.
27091 alias -g '${1+"$@"}'='"$@"'
27092 setopt NO_GLOB_SUBST
27094 case `(set -o) 2>/dev/null` in #(
27106 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27107 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27108 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27109 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27110 # Prefer a ksh shell builtin over an external printf program on Solaris,
27111 # but without wasting forks for bash or zsh.
27112 if test -z "$BASH_VERSION$ZSH_VERSION" \
27113 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27114 as_echo='print
-r --'
27115 as_echo_n='print
-rn --'
27116 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27117 as_echo='printf %s
\n'
27118 as_echo_n='printf %s
'
27120 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27121 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27122 as_echo_n='/usr
/ucb
/echo -n'
27124 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27125 as_echo_n_body='eval
27129 expr "X$arg" : "X\\(.*\\)$as_nl";
27130 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27132 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27134 export as_echo_n_body
27135 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27137 export as_echo_body
27138 as_echo='sh
-c $as_echo_body as_echo
'
27141 # The user is always right.
27142 if test "${PATH_SEPARATOR+set}" != set; then
27144 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27145 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27152 # We need space, tab and new line, in precisely that order. Quoting is
27153 # there to prevent editors from complaining about space-tab.
27154 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27155 # splitting by setting IFS to empty value.)
27158 # Find who we are. Look in the path if we contain no directory separator.
27161 *[\\/]* ) as_myself=$0 ;;
27162 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27163 for as_dir in $PATH
27166 test -z "$as_dir" && as_dir=.
27167 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27173 # We did not find ourselves, most probably we were run as `sh COMMAND'
27174 # in which case we are not to be found in the path.
27175 if test "x$as_myself" = x
; then
27178 if test ! -f "$as_myself"; then
27179 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27183 # Unset variables that we do not need and which cause bugs (e.g. in
27184 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27185 # suppresses any "Segmentation fault" message there. '((' could
27186 # trigger a bug in pdksh 5.2.14.
27187 for as_var
in BASH_ENV ENV MAIL MAILPATH
27188 do eval test x\
${$as_var+set} = xset \
27189 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
27202 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
27205 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27206 # ----------------------------------------
27207 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27208 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27209 # script with STATUS, using 1 if that was 0.
27212 as_status
=$1; test $as_status -eq 0 && as_status
=1
27214 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
27215 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27217 $as_echo "$as_me: error: $2" >&2
27218 as_fn_exit
$as_status
27222 # as_fn_set_status STATUS
27223 # -----------------------
27224 # Set $? to STATUS, without forking.
27225 as_fn_set_status
()
27228 } # as_fn_set_status
27230 # as_fn_exit STATUS
27231 # -----------------
27232 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27236 as_fn_set_status
$1
27242 # Portably unset VAR.
27245 { eval $1=; unset $1;}
27247 as_unset
=as_fn_unset
27248 # as_fn_append VAR VALUE
27249 # ----------------------
27250 # Append the text in VALUE to the end of the definition contained in VAR. Take
27251 # advantage of any shell optimizations that allow amortized linear growth over
27252 # repeated appends, instead of the typical quadratic growth present in naive
27254 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27255 eval 'as_fn_append ()
27266 # as_fn_arith ARG...
27267 # ------------------
27268 # Perform arithmetic evaluation on the ARGs, and store the result in the
27269 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27270 # must be portable across $(()) and expr.
27271 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27272 eval 'as_fn_arith ()
27279 as_val
=`expr "$@" || test $? -eq 1`
27284 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27285 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27291 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27292 as_basename
=basename
27297 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27303 as_me
=`$as_basename -- "$0" ||
27304 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27305 X"$0" : 'X\(//\)$' \| \
27306 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27308 sed '/^.*\/\([^/][^/]*\)\/*$/{
27322 # Avoid depending upon Character Ranges.
27323 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27324 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27325 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27326 as_cr_digits
='0123456789'
27327 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27329 ECHO_C
= ECHO_N
= ECHO_T
=
27330 case `echo -n x` in #(((((
27332 case `echo 'xy\c'` in
27333 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27335 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27342 rm -f conf$$ conf$$.exe conf$$.
file
27343 if test -d conf$$.dir
; then
27344 rm -f conf$$.dir
/conf$$.
file
27347 mkdir conf$$.dir
2>/dev
/null
27349 if (echo >conf$$.
file) 2>/dev
/null
; then
27350 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27352 # ... but there are two gotchas:
27353 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27354 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27355 # In both cases, we have to default to `cp -pR'.
27356 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27358 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27366 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27367 rmdir conf$$.dir
2>/dev
/null
27372 # Create "$as_dir" as a directory, including parents if necessary.
27377 -*) as_dir
=.
/$as_dir;;
27379 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27383 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27384 *) as_qdir
=$as_dir;;
27386 as_dirs
="'$as_qdir' $as_dirs"
27387 as_dir
=`$as_dirname -- "$as_dir" ||
27388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27389 X"$as_dir" : 'X\(//\)[^/]' \| \
27390 X"$as_dir" : 'X\(//\)$' \| \
27391 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27392 $as_echo X"$as_dir" |
27393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27397 /^X\(\/\/\)[^/].*/{
27410 test -d "$as_dir" && break
27412 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27413 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
27417 if mkdir
-p .
2>/dev
/null
; then
27418 as_mkdir_p
='mkdir -p "$as_dir"'
27420 test -d .
/-p && rmdir .
/-p
27425 # as_fn_executable_p FILE
27426 # -----------------------
27427 # Test if FILE is an executable regular file.
27428 as_fn_executable_p
()
27430 test -f "$1" && test -x "$1"
27431 } # as_fn_executable_p
27432 as_test_x
='test -x'
27433 as_executable_p
=as_fn_executable_p
27435 # Sed expression to map a string onto a valid CPP name.
27436 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27438 # Sed expression to map a string onto a valid variable name.
27439 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27443 ## ----------------------------------- ##
27444 ## Main body of $CONFIG_STATUS script. ##
27445 ## ----------------------------------- ##
27447 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27450 # Save the log message, to keep $0 and so on meaningful, and to
27451 # report actual input values of CONFIG_FILES etc. instead of their
27452 # values after options handling.
27454 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27455 generated by GNU Autoconf 2.69. Invocation command line was
27457 CONFIG_FILES = $CONFIG_FILES
27458 CONFIG_HEADERS = $CONFIG_HEADERS
27459 CONFIG_LINKS = $CONFIG_LINKS
27460 CONFIG_COMMANDS = $CONFIG_COMMANDS
27463 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27468 case $ac_config_files in *"
27469 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27472 case $ac_config_headers in *"
27473 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27478 # Files that config.status was made for.
27479 config_files="$ac_config_files"
27480 config_headers="$ac_config_headers"
27481 config_commands="$ac_config_commands"
27485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27487 \`$as_me' instantiates files and other configuration actions
27488 from templates according to the current configuration. Unless the files
27489 and actions are specified as TAGs, all are instantiated by default.
27491 Usage: $0 [OPTION]... [TAG]...
27493 -h, --help print this help, then exit
27494 -V, --version print version number and configuration settings, then exit
27495 --config print configuration, then exit
27496 -q, --quiet, --silent
27497 do not print progress messages
27498 -d, --debug don't remove temporary files
27499 --recheck update $as_me by reconfiguring in the same conditions
27500 --file=FILE[:TEMPLATE]
27501 instantiate the configuration file FILE
27502 --header=FILE[:TEMPLATE]
27503 instantiate the configuration header FILE
27505 Configuration files:
27508 Configuration headers:
27511 Configuration commands:
27514 Report bugs to the package provider.
27515 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27516 General help using GNU software: <http://www.gnu.org/gethelp/>."
27519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27520 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27522 GNU Fortran Runtime Library config.status 0.3
27523 configured by $0, generated by GNU Autoconf 2.69,
27524 with options \\"\$ac_cs_config\\"
27526 Copyright (C) 2012 Free Software Foundation, Inc.
27527 This config.status script is free software; the Free Software Foundation
27528 gives unlimited permission to copy, distribute and modify it."
27535 test -n "\$AWK" || AWK=awk
27538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27539 # The default lists apply if the user does not specify any file.
27545 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27546 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27550 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27562 # Handling of the options.
27563 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27565 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27566 $as_echo "$ac_cs_version"; exit ;;
27567 --config |
--confi |
--conf |
--con |
--co |
--c )
27568 $as_echo "$ac_cs_config"; exit ;;
27569 --debug |
--debu |
--deb |
--de |
--d |
-d )
27571 --file |
--fil |
--fi |
--f )
27574 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27575 '') as_fn_error $?
"missing file argument" ;;
27577 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27578 ac_need_defaults
=false
;;
27579 --header |
--heade |
--head |
--hea )
27582 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27584 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27585 ac_need_defaults
=false
;;
27587 # Conflict between --help and --header
27588 as_fn_error $?
"ambiguous option: \`$1'
27589 Try \`$0 --help' for more information.";;
27590 --help |
--hel |
-h )
27591 $as_echo "$ac_cs_usage"; exit ;;
27592 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27593 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27596 # This is an error.
27597 -*) as_fn_error $?
"unrecognized option: \`$1'
27598 Try \`$0 --help' for more information." ;;
27600 *) as_fn_append ac_config_targets
" $1"
27601 ac_need_defaults
=false
;;
27607 ac_configure_extra_args
=
27609 if $ac_cs_silent; then
27611 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27616 if \$ac_cs_recheck; then
27617 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27619 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27620 CONFIG_SHELL='$SHELL'
27621 export CONFIG_SHELL
27626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27631 ## Running $as_me. ##
27637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27645 with_multisubdir="$with_multisubdir"
27646 with_multisrctop="$with_multisrctop"
27647 with_target_subdir="$with_target_subdir"
27648 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27649 multi_basedir="$multi_basedir"
27650 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27653 GFORTRAN="$GFORTRAN"
27655 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27658 # The HP-UX ksh and POSIX shell print the target directory to stdout
27659 # if CDPATH is set.
27660 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27662 sed_quote_subst='$sed_quote_subst'
27663 double_quote_subst='$double_quote_subst'
27664 delay_variable_subst='$delay_variable_subst'
27665 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27666 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27667 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27668 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27669 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27670 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27671 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27672 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27673 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27674 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27675 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27676 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27677 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27678 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27679 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27680 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27681 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27682 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27683 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27684 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27685 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27686 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27687 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27688 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27689 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27690 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27691 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27692 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27693 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27694 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27695 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27696 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27697 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27698 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27699 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27700 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27701 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27702 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27703 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27704 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27705 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27706 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27707 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27708 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27709 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27710 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27711 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27712 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27713 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"`'
27714 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27715 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27716 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27717 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27718 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27719 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27720 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27721 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27722 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27723 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27724 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27725 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27726 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27727 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27728 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27729 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27730 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27731 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27732 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27733 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27734 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27735 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27736 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27737 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27738 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27739 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27740 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27741 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27742 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27743 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27744 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27745 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27746 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27747 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27748 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27749 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27750 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27751 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27752 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27753 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27754 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27755 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27756 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27757 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27758 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27759 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27760 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27761 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27762 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27763 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27764 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27765 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27766 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27767 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27768 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27769 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27770 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27771 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27772 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27773 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27774 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27775 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27776 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27777 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27778 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27779 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27780 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27781 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27782 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27783 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27784 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27785 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27786 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27787 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27788 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27789 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27790 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27791 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27792 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27793 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27794 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27795 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27796 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27797 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27798 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27799 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27800 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27801 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27802 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27803 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27804 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27805 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27806 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27807 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27808 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27809 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27810 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27811 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27812 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27813 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27814 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27815 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27816 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27817 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27818 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27819 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27820 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27821 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27822 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27823 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27824 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27825 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27826 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27827 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27828 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27829 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27830 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27831 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27832 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27833 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27834 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27835 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27836 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27837 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27838 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27839 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27842 LTCFLAGS='$LTCFLAGS'
27843 compiler='$compiler_DEFAULT'
27845 # A function that is used when there is no print builtin or printf.
27846 func_fallback_echo ()
27848 eval 'cat <<_LTECHO_EOF
27853 # Quote evaled strings.
27867 deplibs_check_method \
27876 lt_cv_sys_global_symbol_pipe \
27877 lt_cv_sys_global_symbol_to_cdecl \
27878 lt_cv_sys_global_symbol_to_c_name_address \
27879 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27880 lt_prog_compiler_no_builtin_flag \
27881 lt_prog_compiler_wl \
27882 lt_prog_compiler_pic \
27883 lt_prog_compiler_static \
27884 lt_cv_prog_compiler_c_o \
27892 export_dynamic_flag_spec \
27893 whole_archive_flag_spec \
27894 compiler_needs_object \
27896 allow_undefined_flag \
27897 no_undefined_flag \
27898 hardcode_libdir_flag_spec \
27899 hardcode_libdir_flag_spec_ld \
27900 hardcode_libdir_separator \
27905 variables_saved_for_relink \
27907 library_names_spec \
27909 install_override_mode \
27913 compiler_lib_search_dirs \
27918 compiler_lib_search_path \
27922 lt_prog_compiler_no_builtin_flag_FC \
27923 lt_prog_compiler_wl_FC \
27924 lt_prog_compiler_pic_FC \
27925 lt_prog_compiler_static_FC \
27926 lt_cv_prog_compiler_c_o_FC \
27927 export_dynamic_flag_spec_FC \
27928 whole_archive_flag_spec_FC \
27929 compiler_needs_object_FC \
27931 allow_undefined_flag_FC \
27932 no_undefined_flag_FC \
27933 hardcode_libdir_flag_spec_FC \
27934 hardcode_libdir_flag_spec_ld_FC \
27935 hardcode_libdir_separator_FC \
27936 fix_srcfile_path_FC \
27937 exclude_expsyms_FC \
27938 include_expsyms_FC \
27939 file_list_spec_FC \
27940 compiler_lib_search_dirs_FC \
27941 predep_objects_FC \
27942 postdep_objects_FC \
27945 compiler_lib_search_path_FC; do
27946 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27947 *[\\\\\\\`\\"\\\$]*)
27948 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27951 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27956 # Double-quote double-evaled strings.
27957 for var in reload_cmds \
27958 old_postinstall_cmds \
27959 old_postuninstall_cmds \
27961 extract_expsyms_cmds \
27962 old_archive_from_new_cmds \
27963 old_archive_from_expsyms_cmds \
27965 archive_expsym_cmds \
27967 module_expsym_cmds \
27968 export_symbols_cmds \
27971 postuninstall_cmds \
27973 sys_lib_search_path_spec \
27974 sys_lib_dlsearch_path_spec \
27976 old_archive_cmds_FC \
27977 old_archive_from_new_cmds_FC \
27978 old_archive_from_expsyms_cmds_FC \
27980 archive_expsym_cmds_FC \
27982 module_expsym_cmds_FC \
27983 export_symbols_cmds_FC \
27984 prelink_cmds_FC; do
27985 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27986 *[\\\\\\\`\\"\\\$]*)
27987 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27990 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27995 ac_aux_dir='$ac_aux_dir'
27996 xsi_shell='$xsi_shell'
27997 lt_shell_append='$lt_shell_append'
27999 # See if we are running on zsh, and set the options which allow our
28000 # commands through without removal of \ escapes INIT.
28001 if test -n "\${ZSH_VERSION+set}" ; then
28002 setopt NO_GLOB_SUBST
28008 TIMESTAMP='$TIMESTAMP'
28019 acx_cv_header_stdint="$acx_cv_header_stdint"
28020 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28021 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28022 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28023 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28024 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28025 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28026 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28027 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28028 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28029 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28030 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28031 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28032 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28039 # Handling of arguments.
28040 for ac_config_target
in $ac_config_targets
28042 case $ac_config_target in
28043 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
28044 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28045 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28046 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28047 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
28048 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28049 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
28051 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28056 # If the user did not use the arguments to specify the items to instantiate,
28057 # then the envvar interface is used. Set only those that are not.
28058 # We use the long form for the default assignment because of an extremely
28059 # bizarre bug on SunOS 4.1.3.
28060 if $ac_need_defaults; then
28061 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28062 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28063 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28066 # Have a temporary directory for convenience. Make it in the build tree
28067 # simply because there is no reason against having it here, and in addition,
28068 # creating and moving files from /tmp can sometimes cause problems.
28069 # Hook for its removal unless debugging.
28070 # Note that there is a small window in which the directory will not be cleaned:
28071 # after its creation but before its name has been assigned to `$tmp'.
28075 trap 'exit_status=$?
28076 : "${ac_tmp:=$tmp}"
28077 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28079 trap 'as_fn_exit 1' 1 2 13 15
28081 # Create a (secure) tmp directory for tmp files.
28084 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28088 tmp
=.
/conf$$
-$RANDOM
28089 (umask 077 && mkdir
"$tmp")
28090 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
28093 # Set up the scripts for CONFIG_FILES section.
28094 # No need to generate them if there are no CONFIG_FILES.
28095 # This happens for instance with `./config.status config.h'.
28096 if test -n "$CONFIG_FILES"; then
28099 ac_cr
=`echo X | tr X '\015'`
28100 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28101 # But we know of no other shell where ac_cr would be empty at this
28102 # point, so we can use a bashism as a fallback.
28103 if test "x$ac_cr" = x
; then
28104 eval ac_cr
=\$
\'\\r
\'
28106 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28107 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28110 ac_cs_awk_cr
=$ac_cr
28113 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28118 echo "cat >conf$$subs.awk <<_ACEOF" &&
28119 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28121 } >conf$$subs.sh ||
28122 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28123 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28125 for ac_last_try in false false false false false :; do
28126 . ./conf$$subs.sh ||
28127 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28129 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28130 if test $ac_delim_n = $ac_delim_num; then
28132 elif $ac_last_try; then
28133 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28135 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28138 rm -f conf$$subs.sh
28140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28141 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
28145 s/^/S["/; s
/!.
*/"]=/
28155 s/\(.\{148\}\)..*/\1/
28157 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28162 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28169 s/\(.\{148\}\)..*/\1/
28171 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28175 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28180 ' <conf$$subs.awk | sed '
28185 ' >>$CONFIG_STATUS || ac_write_fail=1
28186 rm -f conf$$subs.awk
28187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28189 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
28190 for (key in S) S_is_set[key] = 1
28196 nfields = split(line, field, "@
")
28198 len = length(field[1])
28199 for (i = 2; i < nfields; i++) {
28201 keylen = length(key)
28202 if (S_is_set[key]) {
28204 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28205 len += length(value) + length(field[++i])
28216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28217 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28218 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28221 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
28222 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
28225 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28226 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
28227 # trailing colons and then remove the whole line if VPATH becomes empty
28228 # (actually we leave an empty line to preserve line numbers).
28229 if test "x
$srcdir" = x.; then
28230 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28249 fi # test -n "$CONFIG_FILES"
28251 # Set up the scripts for CONFIG_HEADERS section.
28252 # No need to generate them if there are no CONFIG_HEADERS.
28253 # This happens for instance with `./config.status Makefile'.
28254 if test -n "$CONFIG_HEADERS"; then
28255 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
28259 # Transform confdefs.h into an awk script `defines.awk', embedded as
28260 # here-document in config.status, that substitutes the proper values into
28261 # config.h.in to produce config.h.
28263 # Create a delimiter string that does not exist in confdefs.h, to ease
28264 # handling of long lines.
28266 for ac_last_try in false false :; do
28267 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
28268 if test -z "$ac_tt"; then
28270 elif $ac_last_try; then
28271 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
28273 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28277 # For the awk script, D is an array of macro values keyed by name,
28278 # likewise P contains macro parameters if any. Preserve backslash
28279 # newline sequences.
28281 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28283 s/.\{148\}/&'"$ac_delim"'/g
28286 s/^[ ]*#[ ]*define[ ][ ]*/ /
28293 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28295 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28300 D["\
1"]=" \
3\\\\\\n
"\\/p
28302 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28307 s/.\{148\}/&'"$ac_delim"'/g
28312 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28315 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28317 ' <confdefs.h | sed '
28318 s/'"$ac_delim"'/"\\\
28319 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28322 for (key in D) D_is_set[key] = 1
28325 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28327 split(line, arg, " ")
28328 if (arg[1] == "#") {
28332 defundef
= substr
(arg
[1], 2)
28335 split(mac1
, mac2
, "(") #)
28337 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28338 if (D_is_set
[macro
]) {
28339 # Preserve the white space surrounding the "#".
28340 print prefix
"define", macro P
[macro
] D
[macro
]
28343 # Replace #undef with comments. This is necessary, for example,
28344 # in the case of _POSIX_SOURCE, which is predefined and required
28345 # on some systems where configure will not decide to define it.
28346 if (defundef
== "undef") {
28347 print
"/*", prefix defundef
, macro
, "*/"
28355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28356 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
28357 fi # test -n "$CONFIG_HEADERS"
28360 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28365 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28367 case $ac_mode$ac_tag in
28369 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28370 :[FH
]-) ac_tag
=-:-;;
28371 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28388 -) ac_f
="$ac_tmp/stdin";;
28389 *) # Look for the file first in the build tree, then in the source tree
28390 # (if the path is not absolute). The absolute path cannot be DOS-style,
28391 # because $ac_f cannot contain `:'.
28395 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28397 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28399 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28400 as_fn_append ac_file_inputs
" '$ac_f'"
28403 # Let's still pretend it is `configure' which instantiates (i.e., don't
28404 # use $as_me), people would be surprised to read:
28405 # /* config.h. Generated by config.status. */
28406 configure_input
='Generated from '`
28407 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28409 if test x
"$ac_file" != x-
; then
28410 configure_input
="$ac_file. $configure_input"
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28412 $as_echo "$as_me: creating $ac_file" >&6;}
28414 # Neutralize special characters interpreted by sed in replacement strings.
28415 case $configure_input in #(
28416 *\
&* |
*\|
* |
*\\* )
28417 ac_sed_conf_input
=`$as_echo "$configure_input" |
28418 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28419 *) ac_sed_conf_input
=$configure_input;;
28423 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
28424 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
28429 ac_dir
=`$as_dirname -- "$ac_file" ||
28430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28431 X"$ac_file" : 'X\(//\)[^/]' \| \
28432 X"$ac_file" : 'X\(//\)$' \| \
28433 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28434 $as_echo X"$ac_file" |
28435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28439 /^X\(\/\/\)[^/].*/{
28452 as_dir
="$ac_dir"; as_fn_mkdir_p
28456 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28458 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28459 # A ".." for each directory in $ac_dir_suffix.
28460 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28461 case $ac_top_builddir_sub in
28462 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28463 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28466 ac_abs_top_builddir
=$ac_pwd
28467 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28468 # for backward compatibility:
28469 ac_top_builddir
=$ac_top_build_prefix
28472 .
) # We are building in place.
28474 ac_top_srcdir
=$ac_top_builddir_sub
28475 ac_abs_top_srcdir
=$ac_pwd ;;
28476 [\\/]* | ?
:[\\/]* ) # Absolute name.
28477 ac_srcdir
=$srcdir$ac_dir_suffix;
28478 ac_top_srcdir
=$srcdir
28479 ac_abs_top_srcdir
=$srcdir ;;
28480 *) # Relative name.
28481 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28482 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28483 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28485 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28495 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28496 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28498 ac_MKDIR_P
=$MKDIR_P
28500 [\\/$
]* | ?
:[\\/]* ) ;;
28501 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28506 # If the template does not know about datarootdir, expand it.
28507 # FIXME: This hack should be removed a few years after 2.60.
28508 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28519 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28520 *datarootdir
*) ac_datarootdir_seen
=yes;;
28521 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28523 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28526 ac_datarootdir_hack='
28527 s&@datadir@&$datadir&g
28528 s&@docdir@&$docdir&g
28529 s&@infodir@&$infodir&g
28530 s&@localedir@&$localedir&g
28531 s&@mandir@&$mandir&g
28532 s&\\\${datarootdir}&$datarootdir&g' ;;
28536 # Neutralize VPATH when `$srcdir' = `.'.
28537 # Shell code in configure.ac might set extrasub.
28538 # FIXME: do we really want to maintain this feature?
28539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28540 ac_sed_extra="$ac_vpsub
28543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28545 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28546 s|@configure_input@|
$ac_sed_conf_input|
;t t
28547 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28548 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28549 s
&@srcdir@
&$ac_srcdir&;t t
28550 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28551 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28552 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28553 s
&@builddir@
&$ac_builddir&;t t
28554 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28555 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28556 s
&@INSTALL@
&$ac_INSTALL&;t t
28557 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28558 $ac_datarootdir_hack
28560 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
28561 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
28563 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28564 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
28565 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28566 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28568 which seems to be undefined. Please make sure it is defined" >&5
28569 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28570 which seems to be undefined. Please make sure it is defined" >&2;}
28572 rm -f "$ac_tmp/stdin"
28574 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28575 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28583 if test x"$ac_file" != x-; then
28585 $as_echo "/* $configure_input */" \
28586 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28587 } >"$ac_tmp/config.h" \
28588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28589 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28591 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28594 mv "$ac_tmp/config.h" "$ac_file" \
28595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28598 $as_echo "/* $configure_input */" \
28599 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28600 || as_fn_error $? "could not create -" "$LINENO" 5
28602 # Compute "$ac_file"'s index
in $config_headers.
28605 for _am_header
in $config_headers :; do
28606 case $_am_header in
28607 $_am_arg |
$_am_arg:* )
28610 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28613 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28614 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28615 X"$_am_arg" : 'X\(//\)[^/]' \| \
28616 X"$_am_arg" : 'X\(//\)$' \| \
28617 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28618 $as_echo X"$_am_arg" |
28619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28623 /^X\(\/\/\)[^/].*/{
28635 s/.*/./; q'`/stamp-h
$_am_stamp_count
28638 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28639 $as_echo "$as_me: executing $ac_file commands" >&6;}
28644 case $ac_file$ac_mode in
28646 # Only add multilib support code if we just rebuilt the top-level
28648 case " $CONFIG_FILES " in
28650 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28653 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28654 # Older Autoconf quotes --file arguments for eval, but not when files
28655 # are listed without --file. Let's play safe and only enable the eval
28656 # if we detect the quoting.
28657 case $CONFIG_FILES in
28658 *\'*) eval set x
"$CONFIG_FILES" ;;
28659 *) set x
$CONFIG_FILES ;;
28664 # Strip MF so we end up with the name of the file.
28665 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28666 # Check whether this is an Automake generated Makefile or not.
28667 # We used to match only the files named 'Makefile.in', but
28668 # some people rename them; so instead we look at the file content.
28669 # Grep'ing the first line is not enough: some people post-process
28670 # each Makefile.in and add a new line on top of each file to say so.
28671 # Grep'ing the whole file is not good either: AIX grep has a line
28672 # limit of 2048, but all sed's we know have understand at least 4000.
28673 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28674 dirpart
=`$as_dirname -- "$mf" ||
28675 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28676 X"$mf" : 'X\(//\)[^/]' \| \
28677 X"$mf" : 'X\(//\)$' \| \
28678 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28684 /^X\(\/\/\)[^/].*/{
28700 # Extract the definition of DEPDIR, am__include, and am__quote
28701 # from the Makefile without running 'make'.
28702 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28703 test -z "$DEPDIR" && continue
28704 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28705 test -z "$am__include" && continue
28706 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28707 # Find all dependency output files, they are included files with
28708 # $(DEPDIR) in their names. We invoke sed twice because it is the
28709 # simplest approach to changing $(DEPDIR) to its actual value in the
28711 for file in `sed -n "
28712 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28713 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28714 # Make sure the directory exists.
28715 test -f "$dirpart/$file" && continue
28716 fdir
=`$as_dirname -- "$file" ||
28717 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28718 X"$file" : 'X\(//\)[^/]' \| \
28719 X"$file" : 'X\(//\)$' \| \
28720 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28721 $as_echo X"$file" |
28722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28726 /^X\(\/\/\)[^/].*/{
28739 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28740 # echo "creating $dirpart/$file"
28741 echo '# dummy' > "$dirpart/$file"
28748 # See if we are running on zsh, and set the options which allow our
28749 # commands through without removal of \ escapes.
28750 if test -n "${ZSH_VERSION+set}" ; then
28751 setopt NO_GLOB_SUBST
28754 cfgfile
="${ofile}T"
28755 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28758 cat <<_LT_EOF >> "$cfgfile"
28761 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28762 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28763 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28764 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28766 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28767 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28768 # Written by Gordon Matzigkeit, 1996
28770 # This file is part of GNU Libtool.
28772 # GNU Libtool is free software; you can redistribute it and/or
28773 # modify it under the terms of the GNU General Public License as
28774 # published by the Free Software Foundation; either version 2 of
28775 # the License, or (at your option) any later version.
28777 # As a special exception to the GNU General Public License,
28778 # if you distribute this file as part of a program or library that
28779 # is built using GNU Libtool, you may include this file under the
28780 # same distribution terms that you use for the rest of that program.
28782 # GNU Libtool is distributed in the hope that it will be useful,
28783 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28784 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28785 # GNU General Public License for more details.
28787 # You should have received a copy of the GNU General Public License
28788 # along with GNU Libtool; see the file COPYING. If not, a copy
28789 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28790 # obtained by writing to the Free Software Foundation, Inc.,
28791 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28794 # The names of the tagged configurations supported by this script.
28795 available_tags="FC "
28797 # ### BEGIN LIBTOOL CONFIG
28799 # A sed program that does not truncate output.
28802 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28803 Xsed="\$SED -e 1s/^X//"
28805 # A grep program that handles long lines.
28811 # A literal string matcher.
28814 # Shell to use when invoking shell scripts.
28817 # An echo program that protects backslashes.
28820 # Which release of libtool.m4 was used?
28821 macro_version=$macro_version
28822 macro_revision=$macro_revision
28824 # Whether or not to build shared libraries.
28825 build_libtool_libs=$enable_shared
28827 # Whether or not to build static libraries.
28828 build_old_libs=$enable_static
28830 # What type of objects to build.
28833 # Whether or not to optimize for fast installation.
28834 fast_install=$enable_fast_install
28837 host_alias=$host_alias
28841 # The build system.
28842 build_alias=$build_alias
28846 # A BSD- or MS-compatible name lister.
28849 # Whether we need soft or hard links.
28852 # What is the maximum length of a command?
28853 max_cmd_len=$max_cmd_len
28855 # Object file suffix (normally "o").
28858 # Executable file suffix (normally "").
28861 # whether the shell understands "unset".
28864 # turn spaces into newlines.
28867 # turn newlines into spaces.
28870 # An object symbol dumper.
28871 OBJDUMP=$lt_OBJDUMP
28873 # Method to check whether dependent libraries are shared objects.
28874 deplibs_check_method=$lt_deplibs_check_method
28876 # Command to use when deplibs_check_method == "file_magic".
28877 file_magic_cmd=$lt_file_magic_cmd
28881 AR_FLAGS=$lt_AR_FLAGS
28883 # A symbol stripping program.
28886 # Commands used to install an old-style archive.
28888 old_postinstall_cmds=$lt_old_postinstall_cmds
28889 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28891 # Whether to use a lock for old archive extraction.
28892 lock_old_archive_extraction=$lock_old_archive_extraction
28897 # LTCC compiler flags.
28898 LTCFLAGS=$lt_CFLAGS
28900 # Take the output of nm and produce a listing of raw symbols and C names.
28901 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28903 # Transform the output of nm in a proper C declaration.
28904 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28906 # Transform the output of nm in a C name address pair.
28907 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28909 # Transform the output of nm in a C name address pair when lib prefix is needed.
28910 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28912 # The name of the directory that contains temporary libtool files.
28915 # Used to examine libraries when file_magic_cmd begins with "file".
28916 MAGIC_CMD=$MAGIC_CMD
28918 # Must we lock files when doing compilation?
28919 need_locks=$lt_need_locks
28921 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28922 DSYMUTIL=$lt_DSYMUTIL
28924 # Tool to change global to local symbols on Mac OS X.
28927 # Tool to manipulate fat objects and archives on Mac OS X.
28930 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28933 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28934 OTOOL64=$lt_OTOOL64
28936 # Old archive suffix (normally "a").
28939 # Shared library suffix (normally ".so").
28940 shrext_cmds=$lt_shrext_cmds
28942 # The commands to extract the exported symbol list from a shared archive.
28943 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28945 # Variables whose values should be saved in libtool wrapper scripts and
28946 # restored at link time.
28947 variables_saved_for_relink=$lt_variables_saved_for_relink
28949 # Do we need the "lib" prefix for modules?
28950 need_lib_prefix=$need_lib_prefix
28952 # Do we need a version for libraries?
28953 need_version=$need_version
28955 # Library versioning type.
28956 version_type=$version_type
28958 # Shared library runtime path variable.
28959 runpath_var=$runpath_var
28961 # Shared library path variable.
28962 shlibpath_var=$shlibpath_var
28964 # Is shlibpath searched before the hard-coded library search path?
28965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28967 # Format of library name prefix.
28968 libname_spec=$lt_libname_spec
28970 # List of archive names. First name is the real one, the rest are links.
28971 # The last name is the one that the linker finds with -lNAME
28972 library_names_spec=$lt_library_names_spec
28974 # The coded name of the library, if different from the real name.
28975 soname_spec=$lt_soname_spec
28977 # Permission mode override for installation of shared libraries.
28978 install_override_mode=$lt_install_override_mode
28980 # Command to use after installation of a shared archive.
28981 postinstall_cmds=$lt_postinstall_cmds
28983 # Command to use after uninstallation of a shared archive.
28984 postuninstall_cmds=$lt_postuninstall_cmds
28986 # Commands used to finish a libtool library installation in a directory.
28987 finish_cmds=$lt_finish_cmds
28989 # As "finish_cmds", except a single script fragment to be evaled but
28991 finish_eval=$lt_finish_eval
28993 # Whether we should hardcode library paths into libraries.
28994 hardcode_into_libs=$hardcode_into_libs
28996 # Compile-time system search path for libraries.
28997 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28999 # Run-time system search path for libraries.
29000 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29002 # Whether dlopen is supported.
29003 dlopen_support=$enable_dlopen
29005 # Whether dlopen of programs is supported.
29006 dlopen_self=$enable_dlopen_self
29008 # Whether dlopen of statically linked programs is supported.
29009 dlopen_self_static=$enable_dlopen_self_static
29011 # Commands to strip libraries.
29012 old_striplib=$lt_old_striplib
29013 striplib=$lt_striplib
29016 # The linker used to build libraries.
29019 # How to create reloadable object files.
29020 reload_flag=$lt_reload_flag
29021 reload_cmds=$lt_reload_cmds
29023 # Commands used to build an old-style archive.
29024 old_archive_cmds=$lt_old_archive_cmds
29026 # A language specific compiler.
29029 # Is the compiler the GNU compiler?
29032 # Compiler flag to turn off builtin functions.
29033 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29035 # How to pass a linker flag through the compiler.
29036 wl=$lt_lt_prog_compiler_wl
29038 # Additional compiler flags for building library objects.
29039 pic_flag=$lt_lt_prog_compiler_pic
29041 # Compiler flag to prevent dynamic linking.
29042 link_static_flag=$lt_lt_prog_compiler_static
29044 # Does compiler simultaneously support -c and -o options?
29045 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29047 # Whether or not to add -lc for building shared libraries.
29048 build_libtool_need_lc=$archive_cmds_need_lc
29050 # Whether or not to disallow shared libs when runtime libs are static.
29051 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29053 # Compiler flag to allow reflexive dlopens.
29054 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29056 # Compiler flag to generate shared objects directly from archives.
29057 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29059 # Whether the compiler copes with passing no objects directly.
29060 compiler_needs_object=$lt_compiler_needs_object
29062 # Create an old-style archive from a shared archive.
29063 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29065 # Create a temporary old-style archive to link instead of a shared archive.
29066 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29068 # Commands used to build a shared archive.
29069 archive_cmds=$lt_archive_cmds
29070 archive_expsym_cmds=$lt_archive_expsym_cmds
29072 # Commands used to build a loadable module if different from building
29073 # a shared archive.
29074 module_cmds=$lt_module_cmds
29075 module_expsym_cmds=$lt_module_expsym_cmds
29077 # Whether we are building with GNU ld or not.
29078 with_gnu_ld=$lt_with_gnu_ld
29080 # Flag that allows shared libraries with undefined symbols to be built.
29081 allow_undefined_flag=$lt_allow_undefined_flag
29083 # Flag that enforces no undefined symbols.
29084 no_undefined_flag=$lt_no_undefined_flag
29086 # Flag to hardcode \$libdir into a binary during linking.
29087 # This must work even if \$libdir does not exist
29088 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29090 # If ld is used when linking, flag to hardcode \$libdir into a binary
29091 # during linking. This must work even if \$libdir does not exist.
29092 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29094 # Whether we need a single "-rpath" flag with a separated argument.
29095 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29097 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29098 # DIR into the resulting binary.
29099 hardcode_direct=$hardcode_direct
29101 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29102 # DIR into the resulting binary and the resulting library dependency is
29103 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29104 # library is relocated.
29105 hardcode_direct_absolute=$hardcode_direct_absolute
29107 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29108 # into the resulting binary.
29109 hardcode_minus_L=$hardcode_minus_L
29111 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29112 # into the resulting binary.
29113 hardcode_shlibpath_var=$hardcode_shlibpath_var
29115 # Set to "yes" if building a shared library automatically hardcodes DIR
29116 # into the library and all subsequent libraries and executables linked
29118 hardcode_automatic=$hardcode_automatic
29120 # Set to yes if linker adds runtime paths of dependent libraries
29121 # to runtime path list.
29122 inherit_rpath=$inherit_rpath
29124 # Whether libtool must link a program against all its dependency libraries.
29125 link_all_deplibs=$link_all_deplibs
29127 # Fix the shell variable \$srcfile for the compiler.
29128 fix_srcfile_path=$lt_fix_srcfile_path
29130 # Set to "yes" if exported symbols are required.
29131 always_export_symbols=$always_export_symbols
29133 # The commands to list exported symbols.
29134 export_symbols_cmds=$lt_export_symbols_cmds
29136 # Symbols that should not be listed in the preloaded symbols.
29137 exclude_expsyms=$lt_exclude_expsyms
29139 # Symbols that must always be exported.
29140 include_expsyms=$lt_include_expsyms
29142 # Commands necessary for linking programs (against libraries) with templates.
29143 prelink_cmds=$lt_prelink_cmds
29145 # Specify filename containing input files.
29146 file_list_spec=$lt_file_list_spec
29148 # How to hardcode a shared library path into an executable.
29149 hardcode_action=$hardcode_action
29151 # The directories searched by this compiler when creating a shared library.
29152 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29154 # Dependencies to place before and after the objects being linked to
29155 # create a shared library.
29156 predep_objects=$lt_predep_objects
29157 postdep_objects=$lt_postdep_objects
29158 predeps=$lt_predeps
29159 postdeps=$lt_postdeps
29161 # The library search path used internally by the compiler when linking
29162 # a shared library.
29163 compiler_lib_search_path=$lt_compiler_lib_search_path
29165 # ### END LIBTOOL CONFIG
29171 cat <<\_LT_EOF
>> "$cfgfile"
29172 # AIX sometimes has problems with the GCC collect2 program. For some
29173 # reason, if we set the COLLECT_NAMES environment variable, the problems
29174 # vanish in a puff of smoke.
29175 if test "X${COLLECT_NAMES+set}" != Xset
; then
29177 export COLLECT_NAMES
29184 ltmain
="$ac_aux_dir/ltmain.sh"
29187 # We use sed instead of cat because bash on DJGPP gets confused if
29188 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29189 # text mode, it properly converts lines to CR/LF. This bash problem
29190 # is reportedly fixed, but why not run on old versions too?
29191 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29192 ||
(rm -f "$cfgfile"; exit 1)
29196 cat << \_LT_EOF
>> "$cfgfile"
29198 # func_dirname file append nondir_replacement
29199 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29200 # otherwise set result to NONDIR_REPLACEMENT.
29204 */*) func_dirname_result
="${1%/*}${2}" ;;
29205 * ) func_dirname_result
="${3}" ;;
29209 # func_basename file
29212 func_basename_result
="${1##*/}"
29215 # func_dirname_and_basename file append nondir_replacement
29216 # perform func_basename and func_dirname in a single function
29218 # dirname: Compute the dirname of FILE. If nonempty,
29219 # add APPEND to the result, otherwise set result
29220 # to NONDIR_REPLACEMENT.
29221 # value returned in "$func_dirname_result"
29222 # basename: Compute filename of FILE.
29223 # value retuned in "$func_basename_result"
29224 # Implementation must be kept synchronized with func_dirname
29225 # and func_basename. For efficiency, we do not delegate to
29226 # those functions but instead duplicate the functionality here.
29227 func_dirname_and_basename
()
29230 */*) func_dirname_result
="${1%/*}${2}" ;;
29231 * ) func_dirname_result
="${3}" ;;
29233 func_basename_result
="${1##*/}"
29236 # func_stripname prefix suffix name
29237 # strip PREFIX and SUFFIX off of NAME.
29238 # PREFIX and SUFFIX must not contain globbing or regex special
29239 # characters, hashes, percent signs, but SUFFIX may contain a leading
29240 # dot (in which case that matches only a dot).
29243 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29244 # positional parameters, so assign one to ordinary parameter first.
29245 func_stripname_result
=${3}
29246 func_stripname_result
=${func_stripname_result#"${1}"}
29247 func_stripname_result
=${func_stripname_result%"${2}"}
29253 func_opt_split_opt
=${1%%=*}
29254 func_opt_split_arg
=${1#*=}
29261 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29262 *) func_lo2o_result
=${1} ;;
29266 # func_xform libobj-or-source
29269 func_xform_result
=${1%.*}.lo
29272 # func_arith arithmetic-term...
29275 func_arith_result
=$
(( $
* ))
29279 # STRING may not start with a hyphen.
29282 func_len_result
=${#1}
29287 *) # Bourne compatible functions.
29288 cat << \_LT_EOF
>> "$cfgfile"
29290 # func_dirname file append nondir_replacement
29291 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29292 # otherwise set result to NONDIR_REPLACEMENT.
29295 # Extract subdirectory from the argument.
29296 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29297 if test "X$func_dirname_result" = "X${1}"; then
29298 func_dirname_result
="${3}"
29300 func_dirname_result
="$func_dirname_result${2}"
29304 # func_basename file
29307 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29311 # func_stripname prefix suffix name
29312 # strip PREFIX and SUFFIX off of NAME.
29313 # PREFIX and SUFFIX must not contain globbing or regex special
29314 # characters, hashes, percent signs, but SUFFIX may contain a leading
29315 # dot (in which case that matches only a dot).
29316 # func_strip_suffix prefix name
29320 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29321 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29326 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29327 my_sed_long_arg
='1s/^-[^=]*=//'
29332 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29333 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29339 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29342 # func_xform libobj-or-source
29345 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29348 # func_arith arithmetic-term...
29351 func_arith_result
=`expr "$@"`
29355 # STRING may not start with a hyphen.
29358 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29364 case $lt_shell_append in
29366 cat << \_LT_EOF
>> "$cfgfile"
29368 # func_append var value
29369 # Append VALUE to the end of shell variable VAR.
29377 cat << \_LT_EOF
>> "$cfgfile"
29379 # func_append var value
29380 # Append VALUE to the end of shell variable VAR.
29391 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29392 ||
(rm -f "$cfgfile"; exit 1)
29394 mv -f "$cfgfile" "$ofile" ||
29395 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29399 cat <<_LT_EOF >> "$ofile"
29401 # ### BEGIN LIBTOOL TAG CONFIG: FC
29403 # The linker used to build libraries.
29406 # How to create reloadable object files.
29407 reload_flag=$lt_reload_flag_FC
29408 reload_cmds=$lt_reload_cmds_FC
29410 # Commands used to build an old-style archive.
29411 old_archive_cmds=$lt_old_archive_cmds_FC
29413 # A language specific compiler.
29416 # Is the compiler the GNU compiler?
29419 # Compiler flag to turn off builtin functions.
29420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29422 # How to pass a linker flag through the compiler.
29423 wl=$lt_lt_prog_compiler_wl_FC
29425 # Additional compiler flags for building library objects.
29426 pic_flag=$lt_lt_prog_compiler_pic_FC
29428 # Compiler flag to prevent dynamic linking.
29429 link_static_flag=$lt_lt_prog_compiler_static_FC
29431 # Does compiler simultaneously support -c and -o options?
29432 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29434 # Whether or not to add -lc for building shared libraries.
29435 build_libtool_need_lc=$archive_cmds_need_lc_FC
29437 # Whether or not to disallow shared libs when runtime libs are static.
29438 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29440 # Compiler flag to allow reflexive dlopens.
29441 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29443 # Compiler flag to generate shared objects directly from archives.
29444 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29446 # Whether the compiler copes with passing no objects directly.
29447 compiler_needs_object=$lt_compiler_needs_object_FC
29449 # Create an old-style archive from a shared archive.
29450 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29452 # Create a temporary old-style archive to link instead of a shared archive.
29453 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29455 # Commands used to build a shared archive.
29456 archive_cmds=$lt_archive_cmds_FC
29457 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29459 # Commands used to build a loadable module if different from building
29460 # a shared archive.
29461 module_cmds=$lt_module_cmds_FC
29462 module_expsym_cmds=$lt_module_expsym_cmds_FC
29464 # Whether we are building with GNU ld or not.
29465 with_gnu_ld=$lt_with_gnu_ld_FC
29467 # Flag that allows shared libraries with undefined symbols to be built.
29468 allow_undefined_flag=$lt_allow_undefined_flag_FC
29470 # Flag that enforces no undefined symbols.
29471 no_undefined_flag=$lt_no_undefined_flag_FC
29473 # Flag to hardcode \$libdir into a binary during linking.
29474 # This must work even if \$libdir does not exist
29475 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29477 # If ld is used when linking, flag to hardcode \$libdir into a binary
29478 # during linking. This must work even if \$libdir does not exist.
29479 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29481 # Whether we need a single "-rpath" flag with a separated argument.
29482 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29484 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29485 # DIR into the resulting binary.
29486 hardcode_direct=$hardcode_direct_FC
29488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29489 # DIR into the resulting binary and the resulting library dependency is
29490 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29491 # library is relocated.
29492 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29494 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29495 # into the resulting binary.
29496 hardcode_minus_L=$hardcode_minus_L_FC
29498 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29499 # into the resulting binary.
29500 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29502 # Set to "yes" if building a shared library automatically hardcodes DIR
29503 # into the library and all subsequent libraries and executables linked
29505 hardcode_automatic=$hardcode_automatic_FC
29507 # Set to yes if linker adds runtime paths of dependent libraries
29508 # to runtime path list.
29509 inherit_rpath=$inherit_rpath_FC
29511 # Whether libtool must link a program against all its dependency libraries.
29512 link_all_deplibs=$link_all_deplibs_FC
29514 # Fix the shell variable \$srcfile for the compiler.
29515 fix_srcfile_path=$lt_fix_srcfile_path_FC
29517 # Set to "yes" if exported symbols are required.
29518 always_export_symbols=$always_export_symbols_FC
29520 # The commands to list exported symbols.
29521 export_symbols_cmds=$lt_export_symbols_cmds_FC
29523 # Symbols that should not be listed in the preloaded symbols.
29524 exclude_expsyms=$lt_exclude_expsyms_FC
29526 # Symbols that must always be exported.
29527 include_expsyms=$lt_include_expsyms_FC
29529 # Commands necessary for linking programs (against libraries) with templates.
29530 prelink_cmds=$lt_prelink_cmds_FC
29532 # Specify filename containing input files.
29533 file_list_spec=$lt_file_list_spec_FC
29535 # How to hardcode a shared library path into an executable.
29536 hardcode_action=$hardcode_action_FC
29538 # The directories searched by this compiler when creating a shared library.
29539 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29541 # Dependencies to place before and after the objects being linked to
29542 # create a shared library.
29543 predep_objects=$lt_predep_objects_FC
29544 postdep_objects=$lt_postdep_objects_FC
29545 predeps=$lt_predeps_FC
29546 postdeps=$lt_postdeps_FC
29548 # The library search path used internally by the compiler when linking
29549 # a shared library.
29550 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29552 # ### END LIBTOOL TAG CONFIG: FC
29557 if test "$GCC" = yes; then
29558 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29560 echo "/* generated for $CC */" > tmp-stdint.h
29563 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29565 #ifndef GCC_GENERATED_STDINT_H
29566 #define GCC_GENERATED_STDINT_H 1
29568 #include <sys/types.h>
29571 if test "$acx_cv_header_stdint" != stdint.h
; then
29572 echo "#include <stddef.h>" >> tmp-stdint.h
29574 if test "$acx_cv_header_stdint" != stddef.h
; then
29575 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29578 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29579 /* glibc uses these symbols as guards to prevent redefinitions. */
29580 #ifdef __int8_t_defined
29585 #ifdef __uint32_t_defined
29591 # ----------------- done header, emit basic int types -------------
29592 if test "$acx_cv_header_stdint" = stddef.h
; then
29593 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29597 #ifndef __uint8_t_defined
29598 #define __uint8_t_defined
29600 typedef unsigned $acx_cv_type_int8_t uint8_t;
29607 #ifndef __uint16_t_defined
29608 #define __uint16_t_defined
29610 typedef unsigned $acx_cv_type_int16_t uint16_t;
29617 #ifndef __uint32_t_defined
29618 #define __uint32_t_defined
29620 typedef unsigned $acx_cv_type_int32_t uint32_t;
29627 #ifndef __int8_t_defined
29628 #define __int8_t_defined
29630 typedef $acx_cv_type_int8_t int8_t;
29637 #ifndef __int16_t_defined
29638 #define __int16_t_defined
29640 typedef $acx_cv_type_int16_t int16_t;
29647 #ifndef __int32_t_defined
29648 #define __int32_t_defined
29650 typedef $acx_cv_type_int32_t int32_t;
29655 elif test "$ac_cv_type_u_int32_t" = yes; then
29656 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29658 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29671 #ifndef __uint8_t_defined
29672 #define __uint8_t_defined
29674 typedef u_int8_t uint8_t;
29681 #ifndef __uint16_t_defined
29682 #define __uint16_t_defined
29684 typedef u_int16_t uint16_t;
29691 #ifndef __uint32_t_defined
29692 #define __uint32_t_defined
29694 typedef u_int32_t uint32_t;
29700 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29702 /* Some systems have guard macros to prevent redefinitions, define them. */
29724 # ------------- done basic int types, emit int64_t types ------------
29725 if test "$ac_cv_type_uint64_t" = yes; then
29726 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29728 /* system headers have good uint64_t and int64_t */
29736 elif test "$ac_cv_type_u_int64_t" = yes; then
29737 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29739 /* system headers have an u_int64_t (and int64_t) */
29745 #ifndef __uint64_t_defined
29746 #define __uint64_t_defined
29748 typedef u_int64_t uint64_t;
29753 elif test -n "$acx_cv_type_int64_t"; then
29754 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29756 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29760 typedef $acx_cv_type_int64_t int64_t;
29765 #ifndef __uint64_t_defined
29766 #define __uint64_t_defined
29768 typedef unsigned $acx_cv_type_int64_t uint64_t;
29774 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29776 /* some common heuristics for int64_t, using compiler-specific tests */
29777 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29780 #ifndef __int64_t_defined
29782 typedef long long int64_t;
29789 typedef unsigned long long uint64_t;
29793 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29794 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29795 does not implement __extension__. But that compiler doesn't define
29797 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29798 # define __extension__
29804 __extension__ typedef long long int64_t;
29810 __extension__ typedef unsigned long long uint64_t;
29814 #elif !defined __STRICT_ANSI__
29815 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29820 typedef __int64 int64_t;
29826 typedef unsigned __int64 uint64_t;
29829 # endif /* compiler */
29831 #endif /* ANSI version */
29835 # ------------- done int64_t types, emit intptr types ------------
29836 if test "$ac_cv_type_uintptr_t" != yes; then
29837 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29839 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29840 #ifndef __uintptr_t_defined
29842 typedef u$acx_cv_type_intptr_t uintptr_t;
29845 #ifndef __intptr_t_defined
29847 typedef $acx_cv_type_intptr_t intptr_t;
29853 # ------------- done intptr types, emit int_least types ------------
29854 if test "$ac_cv_type_int_least32_t" != yes; then
29855 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29857 /* Define int_least types */
29858 typedef int8_t int_least8_t;
29859 typedef int16_t int_least16_t;
29860 typedef int32_t int_least32_t;
29862 typedef int64_t int_least64_t;
29865 typedef uint8_t uint_least8_t;
29866 typedef uint16_t uint_least16_t;
29867 typedef uint32_t uint_least32_t;
29869 typedef uint64_t uint_least64_t;
29874 # ------------- done intptr types, emit int_fast types ------------
29875 if test "$ac_cv_type_int_fast32_t" != yes; then
29876 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29878 /* Define int_fast types. short is often slow */
29879 typedef int8_t int_fast8_t;
29880 typedef int int_fast16_t;
29881 typedef int32_t int_fast32_t;
29883 typedef int64_t int_fast64_t;
29886 typedef uint8_t uint_fast8_t;
29887 typedef unsigned int uint_fast16_t;
29888 typedef uint32_t uint_fast32_t;
29890 typedef uint64_t uint_fast64_t;
29895 if test "$ac_cv_type_uintmax_t" != yes; then
29896 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29898 /* Define intmax based on what we found */
29901 typedef int64_t intmax_t;
29903 typedef long intmax_t;
29908 typedef uint64_t uintmax_t;
29910 typedef unsigned long uintmax_t;
29916 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29918 #endif /* GCC_GENERATED_STDINT_H */
29921 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29924 mv -f tmp-stdint.h gstdint.h
29935 ac_clean_files
=$ac_clean_files_save
29937 test $ac_write_fail = 0 ||
29938 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29941 # configure is writing to config.log, and then calls config.status.
29942 # config.status does its own redirection, appending to config.log.
29943 # Unfortunately, on DOS this fails, as config.log is still kept open
29944 # by configure, so config.status won't be able to write to it; its
29945 # output is simply discarded. So we exec the FD to /dev/null,
29946 # effectively closing config.log, so it can be properly (re)opened and
29947 # appended to by config.status. When coming back to configure, we
29948 # need to make the FD available again.
29949 if test "$no_create" != yes; then
29951 ac_config_status_args
=
29952 test "$silent" = yes &&
29953 ac_config_status_args
="$ac_config_status_args --quiet"
29955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29958 # would make configure fail if this is the last instruction.
29959 $ac_cs_success || as_fn_exit
1
29961 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29963 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}